/* ===================================
   SIMPLIFIED HOMEPAGE STYLES
   Enhanced Hero + Clean Design
   =================================== */

/* =====================================
   ENHANCED HERO BANNER
   ===================================== */

.simple-hero {
    padding: 20px 0;
    background: linear-gradient(180deg, #f0f4ff 0%, #f8f9fa 100%);
}

.simple-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 35%, #f093fb 70%, #f5576c 100%);
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.simple-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-gradient {
    display: none;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    min-height: 320px;
}

.hero-text-side {
    flex: 0 0 45%;
    color: white;
    animation: slideInFromLeft 0.8s ease-out;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.hero-headline {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #667eea;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-image-side {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.hero-floating-product {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatProduct 4s ease-in-out infinite;
}

.hero-floating-product:hover {
    transform: scale(1.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-floating-product:nth-child(1) {
    animation-delay: 0s;
}

.hero-floating-product:nth-child(2) {
    animation-delay: 0.5s;
    width: 160px;
    height: 160px;
}

.hero-floating-product:nth-child(3) {
    animation-delay: 1s;
}

.hero-floating-product img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s, opacity 0.3s;
}

@keyframes floatProduct {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* =====================================
   TOP CATEGORIES SECTION
   ===================================== */

.top-categories-section {
    padding: 30px 0;
    background: white;
}

.section-header-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header-simple h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header-simple h2 i {
    color: var(--primary-600);
}

.product-count {
    color: #666;
    font-size: 0.9rem;
}

.categories-scroll-wrapper {
    overflow-x: auto;
    margin: 0 -15px;
    padding: 0 15px;
    -webkit-overflow-scrolling: touch;
}

.categories-scroll {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
}

.category-card-simple {
    flex-shrink: 0;
    width: 100px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.category-card-simple:hover {
    transform: translateY(-5px);
}

.category-card-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.category-card-simple:hover .category-card-image {
    border-color: var(--primary-400);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.category-card-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.category-card-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

/* =====================================
   ALL PRODUCTS SECTION
   ===================================== */

.all-products-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.products-grid-simple {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.product-card-simple {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.product-card-simple:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image-simple {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f5f5f5;
    overflow: hidden;
}

.product-image-simple img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.3s;
}

.product-card-simple:hover .product-image-simple img {
    transform: scale(1.08);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.product-info-simple {
    padding: 15px;
}

.product-name-simple {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    height: 2.4em;
    overflow: hidden;
}

.product-price-simple {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-600);
}

.old-price {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
}

.add-to-cart-simple {
    width: 100%;
    padding: 12px;
    background: var(--primary-600);
    color: white;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-simple:hover {
    background: var(--primary-700);
}

/* Order Now Button for Products Page */
.order-now-btn-simple {
    width: 100%;
    padding: 12px;
    background: #ff6f00;
    color: white;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.order-now-btn-simple:hover {
    background: #e65100;
    color: white;
}

/* =====================================
   PAGINATION
   ===================================== */

.pagination-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.page-btn {
    padding: 12px 28px;
    background: white;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.page-btn:hover {
    background: var(--primary-600);
    color: white;
}

.page-info {
    color: #666;
    font-weight: 500;
}

.no-products {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.no-products i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #ddd;
}

/* =====================================
   FEATURES BAR
   ===================================== */

.features-bar-simple {
    padding: 30px 0;
    background: white;
    border-top: 1px solid #eee;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 25px;
}

.feature-item-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #444;
    font-weight: 600;
}

.feature-item-simple i {
    color: var(--primary-600);
    font-size: 1.4rem;
}

/* =====================================
   RESPONSIVE
   ===================================== */

@media (max-width: 1199px) {
    .products-grid-simple {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .products-grid-simple {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content-wrapper {
        padding: 35px;
    }

    .hero-headline {
        font-size: 2.4rem;
    }

    .hero-floating-product {
        width: 110px;
        height: 110px;
    }

    .hero-floating-product:nth-child(2) {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 767px) {
    .simple-hero {
        padding: 12px 0;
    }

    .simple-hero-banner {
        min-height: 260px;
    }

    .hero-content-wrapper {
        padding: 25px;
        min-height: 260px;
    }

    .hero-text-side {
        flex: 0 0 55%;
    }

    .hero-headline {
        font-size: 1.8rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-image-side {
        flex: 0 0 40%;
        gap: 10px;
    }

    .hero-floating-product {
        width: 85px;
        height: 85px;
    }

    .hero-floating-product:nth-child(2) {
        width: 95px;
        height: 95px;
    }

    .hero-floating-product:nth-child(3) {
        display: none;
    }

    .products-grid-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card-simple {
        width: 85px;
    }

    .category-card-image {
        width: 85px;
        height: 85px;
    }

    .order-now-btn-simple {
        padding: 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .simple-hero-banner {
        min-height: 220px;
    }

    .hero-content-wrapper {
        padding: 20px;
        min-height: 220px;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-floating-product {
        width: 70px;
        height: 70px;
    }

    .hero-floating-product:nth-child(2) {
        display: none;
    }

    .product-info-simple {
        padding: 10px;
    }

    .product-name-simple {
        font-size: 0.8rem;
    }

    .current-price {
        font-size: 0.95rem;
    }

    .add-to-cart-simple,
    .order-now-btn-simple {
        padding: 10px;
        font-size: 0.8rem;
    }
}