/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--color-light-gray);
}

.hero__slider {
    position: relative;
    height: 500px;
}

.hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    padding: 2rem 5rem;
}

.hero__slide.active {
    opacity: 1;
    visibility: visible;
}

.hero__content {
    flex: 1;
    padding: 0 2rem;
    z-index: 2;
}

.hero__title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero__desc {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero__image img {
    max-height: 400px;
    object-fit: contain;
    border-radius: 1rem;
}

/* Slider Controls */
.hero__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--color-black);
}
.hero__control:hover {
    background: var(--color-gold);
    color: var(--color-white);
}
.hero__control--prev {
    right: 20px;
}
.hero__control--next {
    left: 20px;
}

.hero__indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition);
}
.hero__dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}
.hero__dot:hover {
    background: var(--color-gold-light);
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.featured {
    background: var(--color-white);
}

.featured__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: var(--color-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
    border: 1px solid #eee;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.product-card__image {
    position: relative;
    padding-top: 100%;
    background: var(--color-light-gray);
    overflow: hidden;
}
.product-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    z-index: 2;
}
.product-card__badge--new {
    background: var(--color-gold);
}

.product-card__body {
    padding: 1.2rem 1rem 1.5rem;
}

.product-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.price--current {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-black);
}
.price--old {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
    background: var(--color-light-gray);
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card {
    display: block;
    background: var(--color-white);
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.category-card__image {
    padding-top: 75%;
    position: relative;
    background: #f0f0f0;
}
.category-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-card__title {
    padding: 1rem 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo {
    background: var(--color-white);
}

.promo__banner {
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    padding: 3.5rem 2.5rem;
    border-radius: 1.5rem;
    color: var(--color-white);
    text-align: center;
}

.promo__tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.promo__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promo__desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.8rem;
}

.promo__form {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.promo__form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 2.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
}
.promo__form input[type="email"]:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}
.promo__form .btn {
    background: var(--color-white);
    color: var(--color-gold-dark);
    border-color: var(--color-white);
}
.promo__form .btn:hover {
    background: var(--color-light-gray);
    border-color: var(--color-light-gray);
}

/* ============================================
   RESPONSIVE (home specific)
   ============================================ */
@media (max-width: 992px) {
    .hero__slider {
        height: 400px;
    }
    .hero__title {
        font-size: 2.2rem;
    }
    .hero__image img {
        max-height: 280px;
    }
    .promo__title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero__slide {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }
    .hero__content {
        padding: 0 1rem;
    }
    .hero__title {
        font-size: 1.8rem;
    }
    .hero__desc {
        font-size: 1rem;
        max-width: 100%;
    }
    .hero__image {
        margin-top: 1rem;
    }
    .hero__image img {
        max-height: 200px;
    }
    .hero__control {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .hero__control--prev {
        right: 10px;
    }
    .hero__control--next {
        left: 10px;
    }

    .featured__grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }
    .categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .promo__banner {
        padding: 2rem 1.5rem;
    }
    .promo__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero__slider {
        height: 350px;
    }
    .hero__title {
        font-size: 1.4rem;
    }
    .hero__desc {
        font-size: 0.9rem;
    }
    .featured__grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-card__body {
        padding: 0.8rem;
    }
    .product-card__title {
        font-size: 0.9rem;
    }
    .price--current {
        font-size: 0.95rem;
    }
    .categories__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}