/* ============================================
   SHOP PAGE SPECIFIC STYLES
   ============================================ */

/* --- Shop Hero --- */
.shop-hero {
    background: linear-gradient(135deg, var(--color-light-gray) 0%, #f8f4ee 100%);
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.shop-hero__inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.shop-hero__content {
    flex: 1;
}

.shop-hero__tag {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-white);
    padding: 0.3rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.shop-hero__title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.shop-hero__desc {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 500px;
    margin-bottom: 1.8rem;
}

.shop-hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.shop-hero__image img {
    max-height: 350px;
    border-radius: 1.5rem;
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* --- Flash Sale --- */
.flash-sale {
    background: #fdfaf7;
}

.flash-sale__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.flash-sale__badge {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 0.2rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.flash-sale__timer {
    display: flex;
    gap: 0.8rem;
    font-weight: 600;
}

.timer-block {
    background: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.timer-block span {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    line-height: 1.2;
}

/* ============================================
   SHOP PAGE - FLASH & BEST CARDS (using new card)
   ============================================ */

.flash-sale__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.flash-card .product-card__badge {
    background: #e74c3c !important;
    animation: pulse-badge 1.8s infinite;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.flash-card .btn--primary {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
}

.flash-card .btn--primary:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.best-sellers__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.best-card .product-card__badge {
    background: #f39c12;
    font-weight: 700;
}

.flash-card .product-card__image {
    position: relative;
}

.flash-badge {
    background: #e74c3c !important;
    font-weight: 700;
}

.flash-card .btn--primary {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
}

.flash-card .btn--primary:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

/* --- Category Rows (horizontal scroll) --- */
.category-rows {
    background: var(--color-white);
}

.category-rows__scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0.2rem 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.category-rows__scroller::-webkit-scrollbar {
    height: 6px;
}

.category-rows__scroller::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 10px;
}

.category-rows__item {
    flex: 0 0 150px;
    scroll-snap-align: start;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition);
}

.category-rows__item:hover {
    transform: translateY(-6px);
}

.category-rows__item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1.2rem;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}

.category-rows__item:hover img {
    border-color: var(--color-gold);
}

.category-rows__item span {
    display: block;
    margin-top: 0.6rem;
    font-weight: 500;
    font-size: 0.95rem;
}

/* --- Best Sellers (horizontal row) --- */
.best-sellers {
    background: var(--color-light-gray);
}

.best-sellers__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.best-card .product-card__badge {
    background: #f39c12;
    font-weight: 600;
}

/* --- Festival Banner --- */
.festival-banner {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    color: var(--color-white);
}

.festival-banner__inner {
    text-align: center;
    padding: 1.5rem;
}

.festival-banner__tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.festival-banner__title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.festival-banner__desc {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.8rem;
}

.festival-banner__desc strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.festival-banner .btn {
    background: var(--color-white);
    color: var(--color-gold-dark);
    border-color: var(--color-white);
}

.festival-banner .btn:hover {
    background: var(--color-light-gray);
    border-color: var(--color-light-gray);
}

/* --- New Arrivals (different card style) --- */
.new-arrivals {
    background: var(--color-white);
}

.new-arrivals__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.new-arrival-card {
    background: var(--color-white);
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all var(--transition);
}

.new-arrival-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.new-arrival-card__image {
    position: relative;
    padding-top: 100%;
    background: var(--color-light-gray);
}

.new-arrival-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-arrival-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-gold);
    color: #fff;
    padding: 0.2rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.new-arrival-card__body {
    padding: 1.2rem 1rem;
    text-align: center;
}

.new-arrival-card__body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.new-arrival-card__body p {
    font-weight: 700;
    color: var(--color-gold-dark);
    margin-bottom: 0.8rem;
}

.new-arrival-card__body .btn--outline {
    padding: 0.4rem 1.5rem;
    font-size: 0.9rem;
}

/* --- Shop Features (brand row) --- */
.shop-features {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0;
}

.shop-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.shop-features__item i {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.shop-features__item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.shop-features__item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE (shop specific)
   ============================================ */
@media (max-width: 992px) {
    .shop-hero__inner {
        flex-direction: column;
        text-align: center;
    }

    .shop-hero__desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .shop-hero__image img {
        max-height: 250px;
    }

    .shop-hero__title {
        font-size: 2.2rem;
    }

    .flash-sale__header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .flash-sale__timer {
        justify-content: center;
    }

    .festival-banner__title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .shop-hero__title {
        font-size: 1.8rem;
    }

    .shop-hero__desc {
        font-size: 1rem;
    }

    .flash-sale__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .best-sellers__row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .new-arrivals__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .category-rows__item {
        flex: 0 0 110px;
    }

    .timer-block {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .timer-block span {
        font-size: 1.2rem;
    }

    .shop-features__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .festival-banner__title {
        font-size: 1.6rem;
    }

    .flash-sale__header .section-title {
        font-size: 1.3rem;
    }
}