/* ===================================================================
   NABILHUT — Storefront Stylesheet
   =================================================================== */

/* ---------------------------------------------------------------
   Top Announcement Bar
--------------------------------------------------------------- */
.announcement-bar {
    background-color: var(--color-premium-black);
    color: var(--color-champagne-gold);
    border-bottom: 1px solid rgba(217, 154, 32, 0.2);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.45rem 0;
    text-align: center;
}

.announcement-bar a {
    color: var(--color-warm-cream);
    text-decoration: underline;
    margin-left: 0.5rem;
}

.announcement-bar a:hover {
    color: var(--color-pure-white);
}

/* ---------------------------------------------------------------
   Storefront Header (dark background)
--------------------------------------------------------------- */
.store-header {
    background-color: var(--color-premium-black);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.header-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* ---------------------------------------------------------------
   Header Search Form (on dark header background)
--------------------------------------------------------------- */
.header-search {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.header-search input {
    background-color: #1A1A22;
    border: 1px solid #2B2B38;
    color: #FFFFFF;
    border-radius: var(--radius-pill);
    padding: 0.65rem 3rem 0.65rem 1.4rem;
    font-size: 0.88rem;
    width: 100%;
    transition: var(--transition-smooth);
}

/* Placeholder on dark input */
.header-search input::placeholder {
    color: #8888A0 !important;
    opacity: 1;
}

.header-search input:focus {
    outline: none;
    border-color: var(--color-luxury-gold);
    background-color: #20202A;
    box-shadow: 0 0 0 3px rgba(217, 154, 32, 0.2);
}

.header-search .search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-luxury-gold);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ---------------------------------------------------------------
   Search Suggestions Autocomplete Dropdown (on dark bg)
--------------------------------------------------------------- */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #181820;
    border: 1px solid #2F2F40;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dark);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #22222E;
    color: #E0E0E6;          /* light text on dark dropdown bg */
    transition: var(--transition-smooth);
}

.suggestion-item:hover {
    background: #222230;
    color: var(--color-luxury-gold);
}

.suggestion-item img {
    width: 40px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

/* ---------------------------------------------------------------
   Header Action Icons (on dark header)
--------------------------------------------------------------- */
.header-action-btn {
    position: relative;
    color: #FFFFFF;
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.header-action-btn:hover {
    color: var(--color-luxury-gold);
    transform: translateY(-1px);
}

/* Cart / Wishlist count badge — gold bg, dark text: ~7:1 contrast */
.header-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: var(--color-luxury-gold);
    color: var(--color-premium-black);
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------------------------------------------------------
   Main Navigation Bar (dark background)
--------------------------------------------------------------- */
.main-nav {
    background-color: #16161D;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Nav links: light text on dark nav — contrast ~9:1 */
.nav-link-custom {
    color: #E2E2E8 !important;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.85rem 1.1rem !important;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--color-champagne-gold) !important;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-luxury-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 60%;
}

/* ---------------------------------------------------------------
   Category Dropdown Menu (dark surface)
--------------------------------------------------------------- */
.dropdown-menu-dark-luxury {
    background-color: #181822;
    border: 1px solid #2B2B38;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dark);
    padding: 0.5rem 0;
    min-width: 220px;
}

/* Dropdown items: light text on dark dropdown — contrast ~7:1 */
.dropdown-item-luxury {
    color: #D6D6E0 !important;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 0.65rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.dropdown-item-luxury:hover {
    background-color: #242432;
    color: var(--color-luxury-gold) !important;
    padding-left: 1.4rem;
}

/* ---------------------------------------------------------------
   Hero Carousel — Premium Edition
--------------------------------------------------------------- */
.hero-slider-section {
    background: #0A0A0F;
    position: relative;
    overflow: hidden;
}

/* Subtle animated grain texture overlay */
.hero-slider-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 3;
    opacity: 0.4;
}

.hero-slide-item {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed removed — causes severe scroll jitter
       with sticky header + overflow:hidden parent in Chrome/Safari */
    background-attachment: scroll;
}

/* Multi-layer gradient overlay for cinematic depth */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10,10,15,0.90) 0%, rgba(10,10,15,0.60) 55%, rgba(10,10,15,0.15) 100%),
        linear-gradient(0deg, rgba(10,10,15,0.40) 0%, transparent 40%);
}

/* Center-align variant */
.hero-slide-item.align-center .hero-overlay {
    background: linear-gradient(0deg, rgba(10,10,15,0.75) 0%, rgba(10,10,15,0.50) 50%, rgba(10,10,15,0.30) 100%);
}
.hero-slide-item.align-center .hero-content {
    text-align: center;
    margin: 0 auto;
}
.hero-slide-item.align-center .hero-content .d-flex {
    justify-content: center;
}

/* Right-align variant */
.hero-slide-item.align-right .hero-overlay {
    background: linear-gradient(270deg, rgba(10,10,15,0.90) 0%, rgba(10,10,15,0.60) 55%, rgba(10,10,15,0.15) 100%);
}
.hero-slide-item.align-right .hero-content {
    text-align: right;
    margin-left: auto;
}
.hero-slide-item.align-right .hero-content .d-flex {
    justify-content: flex-end;
}

/* Gold accent line at bottom of slides */
.hero-slide-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-luxury-gold) 40%, var(--color-champagne-gold) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 4;
}
.hero-slide-item .carousel-item.active .hero-slide-item::after,
.carousel-item.active .hero-slide-item::after {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 4rem 0;
    /* No direct animation — storefront.css handles slide content via
       .carousel-item.active .hero-tagline / .hero-title / .hero-subtitle selectors */
}

@keyframes heroContentReveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Tagline pill — glassmorphism style */
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 154, 32, 0.12);
    border: 1px solid rgba(217, 154, 32, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-champagne-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.hero-tagline::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-luxury-gold);
    box-shadow: 0 0 8px var(--color-luxury-gold);
    display: inline-block;
}

/* Title — large, bold, editorial */
.hero-title {
    color: #FFFFFF;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--color-champagne-gold), var(--color-luxury-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.hero-subtitle {
    color: rgba(220,220,235,0.88);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 2.2rem;
    max-width: 520px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* CTA Buttons row */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-champagne-gold) 0%, var(--color-luxury-gold) 100%);
    color: var(--color-premium-black);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-md);
    border: none;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(217,154,32,0.4), 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}
.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-hero-primary:hover {
    color: var(--color-premium-black);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(217,154,32,0.55), 0 4px 12px rgba(0,0,0,0.35);
}
.btn-hero-primary:hover::before { opacity: 1; }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

/* Slide progress indicator bar */
.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-luxury-gold), var(--color-champagne-gold));
    z-index: 10;
    width: 0%;
    transition: width 0.1s linear;
}
.hero-progress-bar.animating {
    animation: heroProgressAnim 5s linear forwards;
}
@keyframes heroProgressAnim {
    from { width: 0%; }
    to   { width: 100%; }
}

/* Carousel indicators — premium dots */
#heroCarousel .carousel-indicators {
    bottom: 24px;
    gap: 8px;
    margin: 0;
    justify-content: flex-start;
    padding-left: calc(max(1rem, (100% - 1320px) / 2) + 1.5rem);
}
#heroCarousel .carousel-indicators button {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    border: none;
    transition: all 0.4s ease;
    opacity: 1;
}
#heroCarousel .carousel-indicators button.active {
    width: 52px;
    background: var(--color-luxury-gold);
    box-shadow: 0 0 10px rgba(217,154,32,0.6);
}

/* Carousel prev/next controls */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
}
.hero-slider-section:hover #heroCarousel .carousel-control-prev,
.hero-slider-section:hover #heroCarousel .carousel-control-next {
    opacity: 1;
}
#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background: rgba(217,154,32,0.2);
    border-color: rgba(217,154,32,0.5);
}
#heroCarousel .carousel-control-prev { right: auto; left: 0; }
#heroCarousel .carousel-control-next { left: auto; right: 0; }

/* Slide counter badge */
.hero-slide-counter {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    z-index: 10;
}
.hero-slide-counter .current {
    color: var(--color-champagne-gold);
    font-size: 1.1rem;
    font-weight: 800;
}

/* ---------------------------------------------------------------
   Service Highlights Strip (white/light background)
--------------------------------------------------------------- */
.service-highlights-bar {
    background-color: var(--color-pure-white);
    border-bottom: 1px solid #ECECF0;
    padding: 1.8rem 0;
}

.service-highlight-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0.5rem;
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(217, 154, 32, 0.12);
    color: var(--color-luxury-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* h6 inherits body color (#222) on white — ~13:1 */
.service-highlight-box h6 {
    margin-bottom: 2px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

/* Muted text on white — #666 on white ~5.7:1, passes AA */
.service-highlight-box p {
    margin-bottom: 0;
    color: var(--color-text-secondary);
    font-size: 0.82rem;
}

/* ---------------------------------------------------------------
   Category Grid Cards (dark-surface overlay on image)
--------------------------------------------------------------- */
.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #111116;
    display: block;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.category-card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-card-img {
    transform: scale(1.08);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(17,17,22,0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

/* White text on dark overlay — ~18:1 */
.category-card-overlay h5 {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

/* Champagne gold on dark overlay — ~6:1 */
.category-card-overlay span {
    color: var(--color-champagne-gold);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------
   Product Card Component (white card background)
--------------------------------------------------------------- */
.product-card {
    background: var(--color-pure-white);
    border: 1px solid #EEEEF4;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 16px 40px rgba(17,17,22,0.1), 0 4px 12px rgba(17,17,22,0.06);
    border-color: rgba(217,154,32,0.25);
}

.product-thumb-container {
    position: relative;
    overflow: hidden;
    background-color: #F8F8FA;
    padding-top: 125%;
    order: 1;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.product-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-thumb-img {
    transform: scale(1.06);
}

/* Product Badges */
.product-badge-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
}

/* ---------------------------------------------------------------
   Card Hover Quick Actions
   — Lives OUTSIDE product-thumb-container, directly inside .product-card
--------------------------------------------------------------- */
.product-quick-actions {
    display: flex;
    gap: 0;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transition: clip-path 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.28s ease;
    order: 2; /* between thumb(1) and card-body(3) */
    min-height: 46px;
}

.product-card:hover .product-quick-actions {
    clip-path: inset(0 0 0% 0);
    opacity: 1;
}

/* Base quick action button */
.quick-action-btn {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0.6rem 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease, gap 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}

/* Button label — hidden on very small cards, shown on hover/larger screens */
.quick-action-btn .btn-label {
    display: inline;
    overflow: hidden;
    max-width: 60px;
    transition: max-width 0.25s ease, opacity 0.2s ease;
    opacity: 1;
}

/* View — dark glass */
.quick-action-view {
    background: rgba(17, 17, 22, 0.88);
    color: #FFFFFF;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.quick-action-view:hover {
    background: rgba(17, 17, 22, 0.98);
    color: var(--color-champagne-gold);
}

/* Add — same dark style as View */
.quick-action-add {
    background: rgba(17, 17, 22, 0.88);
    color: #FFFFFF;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.quick-action-add:hover {
    background: rgba(17, 17, 22, 0.98);
    color: var(--color-champagne-gold);
}

/* Order — dark with gold text */
.quick-action-order {
    background: var(--color-premium-black);
    color: var(--color-champagne-gold);
}

.quick-action-order:hover {
    background: #1A1A24;
    color: #FFD970;
}

/* Mobile (≤991px) — always visible */
@media (max-width: 991.98px) {
    .product-quick-actions {
        clip-path: none !important;
        opacity: 1 !important;
        min-height: 44px;
    }
    /* On tablet cards shrink label slightly */
    .quick-action-btn {
        padding: 0.5rem 0.3rem;
        font-size: 0.7rem;
        gap: 4px;
    }
}

/* Small mobile (≤575px) — show label always */
@media (max-width: 575.98px) {
    .quick-action-btn {
        padding: 0.55rem 0.25rem;
        font-size: 0.7rem;
        gap: 3px;
    }
    .quick-action-btn .btn-label {
        max-width: 50px;
        opacity: 1;
    }
    .quick-action-btn i {
        font-size: 0.8rem;
    }
}

/* Wishlist button — dark icon on semi-white pill */
.btn-wishlist-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #4A4A55;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition-smooth);
}

.btn-wishlist-corner:hover,
.btn-wishlist-corner.active {
    background: var(--color-premium-black);
    color: #FF4757;
}

/* ---------------------------------------------------------------
   Product Info (white card surface)
--------------------------------------------------------------- */
.product-card-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    order: 3;
}

/* Gold on white — #D99A20 on white ~3.2:1 (large/bold text, passes WCAG AA for UI components) */
.product-brand-tag {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--color-luxury-gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

/* Near-black text on white — ~14:1 */
.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: var(--color-text-primary);
}

.product-title a:hover {
    color: var(--color-luxury-gold);
}

.product-rating {
    font-size: 0.8rem;
    color: #FFA502;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Review count — mid-gray on white ~5:1 */
.product-rating span {
    color: #7A7A88;
    font-size: 0.75rem;
    margin-left: 2px;
}

.product-price-box {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    row-gap: 2px;
}

/* Dark price on white card — ~14:1 */
.price-current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-primary);
    white-space: nowrap;
}

/* Strikethrough price — muted ~5:1 */
.price-regular {
    font-size: 0.9rem;
    color: #9C9CA8;
    text-decoration: line-through;
    white-space: nowrap;
}

/* Discount pill — dark orange text on light orange bg — ~4.6:1 */
.discount-pill {
    background: #FFF1E6;
    color: #C04A00;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ---------------------------------------------------------------
   Promo Banner Strips (dark background)
--------------------------------------------------------------- */
.promo-strip-banner {
    background: linear-gradient(135deg, #181822 0%, #111116 100%);
    border-top: 2px solid var(--color-luxury-gold);
    border-bottom: 2px solid var(--color-luxury-gold);
    color: #FFFFFF;
    padding: 2.5rem 0;
}

/* ---------------------------------------------------------------
   Footer (dark surface: --color-premium-black)
--------------------------------------------------------------- */
.store-footer {
    background-color: var(--color-premium-black);
    color: var(--color-text-on-dark);      /* #E2E2EA — ~10:1 on #111116 */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 4rem;
}

/* White headings on dark footer — ~18:1 */
.store-footer h5 {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.store-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--color-luxury-gold);
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

/* Footer links — #B8B8C8 on #111116 — ~6.5:1 */
.footer-links a {
    color: #B8B8C8;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-links a:hover {
    color: var(--color-champagne-gold);
    padding-left: 4px;
}

/* Footer tagline / description paragraph */
.store-footer .footer-brand-desc {
    color: #B0B0C0;         /* ~5.5:1 on #111116 */
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 340px;
}

/* Footer contact details: address, phone, email */
.footer-contact-info {
    font-size: 0.85rem;
    color: #A8A8B8;         /* ~5:1 on #111116 */
}

/* Override Bootstrap text-muted inside the footer — text-muted (#6c757d) on #111116 is only ~3.7:1 */
.store-footer .text-muted {
    color: #A8A8B8 !important;
}

/* Footer newsletter input (dark bg) */
.store-footer .form-control {
    background: #1A1A22;
    border: 1px solid #2B2B38;
    color: #FFFFFF;
    font-size: 0.85rem;
}

.store-footer .form-control::placeholder {
    color: #8888A0 !important;
    opacity: 1;
}

.store-footer .form-control:focus {
    background: #20202A;
    border-color: var(--color-luxury-gold);
    color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(217, 154, 32, 0.2);
}

/* Footer social icons — white on dark bg */
.store-footer .footer-social a {
    color: #CCCCDA;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.store-footer .footer-social a:hover {
    color: var(--color-champagne-gold);
}

/* ---------------------------------------------------------------
   Footer Bottom Bar (near-black surface)
--------------------------------------------------------------- */
.footer-bottom {
    background-color: #0B0B0E;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.4rem 0;
    font-size: 0.84rem;
    color: #9A9AAA;         /* ~4.5:1 on #0B0B0E — meets AA */
}

/* Payment badges in footer bottom bar */
.footer-bottom .badge.bg-secondary {
    background-color: #444455 !important;
    color: #FFFFFF !important;
}

/* ---------------------------------------------------------------
   Offcanvas Cart
--------------------------------------------------------------- */
.offcanvas-cart {
    background: #FFFFFF;
    width: 420px !important;
}

/* ---------------------------------------------------------------
   Order Tracking Timeline
--------------------------------------------------------------- */
.tracking-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 2rem;
}

.timeline-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: #E0E0E8;
}

.timeline-step.completed:not(:last-child)::before {
    background: var(--color-luxury-gold);
}

/* Default (pending) icon — medium-gray on light gray circle */
.timeline-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #E8E8EE;
    color: #5A5A68;         /* ~4.5:1 on #E8E8EE */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 18px;
    flex-shrink: 0;
    z-index: 2;
}

/* Completed icon — dark text on gold ~7:1 */
.timeline-step.completed .timeline-icon {
    background: var(--color-luxury-gold);
    color: var(--color-premium-black);
}

.timeline-content h6 {
    margin-bottom: 2px;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* Timeline body text — mid-gray on white ~5:1 */
.timeline-content p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------------
   Mobile Sticky Bottom Navigation Bar (< 992px)
   — Flat bar with floating cart center button
--------------------------------------------------------------- */
.mobile-bottom-nav {
    display: none; /* hidden by default, shown on mobile via media query */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--color-premium-black);
    border-top: 1px solid rgba(217, 154, 32, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

/* The nav row — overflow visible so cart can float above */
.mobile-bottom-nav-pill {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0.4rem 0.5rem 0.5rem;
    overflow: visible;
    position: relative;
    min-height: 56px;
}

/* Regular nav tabs */
.mobile-nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: var(--color-text-on-dark-muted);
    text-decoration: none;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.2rem 0;
    padding-bottom: 0.3rem;
    transition: color 0.2s ease;
    line-height: 1;
    min-width: 0;
}

.mobile-nav-tab i {
    font-size: 1.15rem;
    margin-bottom: 4px;
    display: block;
    transition: color 0.2s ease;
}

.mobile-nav-tab span {
    display: block;
}

.mobile-nav-tab:hover,
.mobile-nav-tab.active {
    color: var(--color-champagne-gold);
    text-decoration: none;
}

.mobile-nav-tab:hover i,
.mobile-nav-tab.active i {
    color: var(--color-luxury-gold);
}

/* Cart center slot — same flex:1 width, but content floats above */
.mobile-nav-cart-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    padding-bottom: 0.3rem;
    height: 56px; /* match other tabs height so row stays aligned */
}

/* The circular floating cart button — sits above the bar */
.mobile-nav-cart-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-champagne-gold) 0%, var(--color-luxury-gold) 100%);
    color: var(--color-premium-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(217, 154, 32, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: absolute;
    bottom: 18px; /* lifts the button above the label */
}

.mobile-nav-cart-btn:hover,
.mobile-nav-cart-btn.active {
    color: var(--color-premium-black);
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(217, 154, 32, 0.7);
}

/* Badge on cart button */
.mobile-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--color-premium-black);
    color: var(--color-champagne-gold);
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--color-luxury-gold);
    line-height: 1;
}

/* CART label — sits at the bottom of the wrap, button floats above */
.mobile-nav-cart-label {
    color: var(--color-text-on-dark-muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    display: block;
    position: absolute;
    bottom: 0.3rem;
}

/* ---------------------------------------------------------------
   Product Details Sticky Mobile Buy Bar
--------------------------------------------------------------- */
.sticky-bottom-buy-bar {
    display: none;
    position: fixed;
    bottom: 78px; /* sits above the pill nav */
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid #E6E6EE;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.12);
    padding: 0.65rem 1rem;
    z-index: 1025;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Product name in mobile bar — dark on white */
.sticky-bottom-buy-bar .product-bar-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* Price in mobile bar — gold on white (bold/large text passes AA) */
.sticky-bottom-buy-bar .product-bar-price {
    color: var(--color-luxury-gold);
    font-weight: 700;
    font-size: 0.88rem;
}

/* ---------------------------------------------------------------
   Mobile Cart Item Cards
--------------------------------------------------------------- */
.mobile-cart-item {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid #ECECF2;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-subtle);
}

.mobile-cart-thumb {
    width: 76px;
    height: 96px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    flex-shrink: 0;
}

.mobile-cart-info {
    flex: 1;
    min-width: 0; /* critical: prevents text overflow in flex child */
    overflow: hidden;
}

.mobile-cart-name {
    font-size: 0.88rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.mobile-cart-stepper {
    width: 100px;
    flex-shrink: 0;
}

/* On very small phones (< 380px), tighten the stepper */
@media (max-width: 380px) {
    .mobile-cart-stepper {
        width: 88px;
    }
    .mobile-cart-thumb {
        width: 64px;
        height: 82px;
    }
}

/* ---------------------------------------------------------------
   Checkout: Payment option cards
--------------------------------------------------------------- */
.payment-option-card {
    transition: var(--transition-smooth);
    cursor: pointer;
}

.payment-option-card:has(input:checked),
.payment-option-card.selected {
    border-color: var(--color-luxury-gold) !important;
    background: #FFFBF2;
}

/* ---------------------------------------------------------------
   Catalog: Filter bar on white surface
--------------------------------------------------------------- */
.catalog-filter-header {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
}

/* ---------------------------------------------------------------
   Pagination — consistent gold active state
--------------------------------------------------------------- */
.pagination .page-link {
    color: var(--color-text-primary);
    border-color: var(--color-border-light);
}

.pagination .page-item.active .page-link {
    background-color: var(--color-premium-black);
    border-color: var(--color-premium-black);
    color: var(--color-champagne-gold);
}

.pagination .page-link:hover {
    color: var(--color-luxury-gold);
    border-color: var(--color-luxury-gold);
    background-color: rgba(217, 154, 32, 0.08);
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 3px rgba(217, 154, 32, 0.2);
}

/* ---------------------------------------------------------------
   Customer Account: Sidebar nav (white card surface)
--------------------------------------------------------------- */
.list-group-item-action.active {
    background-color: var(--color-premium-black) !important;
    border-color: var(--color-premium-black) !important;
    color: var(--color-champagne-gold) !important;
}

.list-group-item-action:hover:not(.active) {
    background-color: rgba(217, 154, 32, 0.08);
    color: var(--color-text-primary);
}

/* Customer dashboard welcome card — dark surface */
.customer-welcome-banner {
    background: linear-gradient(135deg, #181822 0%, #111116 100%);
    border-left: 5px solid var(--color-luxury-gold) !important;
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
}

.customer-welcome-banner h2 {
    color: #FFFFFF;
}

/* Muted text on welcome card's dark surface — override Bootstrap */
.customer-welcome-banner .text-muted,
.customer-welcome-banner p {
    color: #A8A8B8 !important;
}

/* ---------------------------------------------------------------
   Responsive Mobile Media Queries (< 992px & < 576px)
--------------------------------------------------------------- */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 90px; /* space for nav bar + floating cart button */
    }

    .mobile-bottom-nav {
        display: flex !important;
        flex-direction: column;
    }

    .hero-slide-item {
        min-height: 420px;
        background-attachment: scroll; /* disable parallax on mobile */
    }

    .hero-content {
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5.5vw, 2.5rem);
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 1.4rem;
    }

    #heroCarousel .carousel-indicators {
        justify-content: center;
        padding-left: 0;
    }

    .hero-slide-counter { display: none; }
    .btn-hero-primary, .btn-hero-secondary { padding: 0.7rem 1.3rem; font-size: 0.85rem; }
    .hero-cta-group { gap: 0.65rem; }

    .category-card-img {
        height: 190px;
    }

    .category-card-overlay {
        padding: 1rem;
    }

    .category-card-overlay h5 {
        font-size: 1.05rem;
    }

    .header-logo img {
        height: 38px;
    }
}

@media (max-width: 767.98px) {
    .product-quick-actions {
        clip-path: none !important;
        opacity: 1 !important;
        min-height: 46px;
    }

    .product-rating {
        font-size: 0.65rem;
        gap: 2px;
        margin-bottom: 0.4rem;
    }

    .product-rating span {
        font-size: 0.62rem;
    }

    .product-card-body {
        padding: 0.85rem;
    }

    .product-title {
        font-size: 0.88rem;
        margin-bottom: 0.35rem;
    }

    .price-current {
        font-size: 0.98rem;
    }

    .price-regular {
        font-size: 0.78rem;
    }

    .service-highlight-box {
        gap: 10px;
        padding: 0.25rem;
    }

    .service-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }

    .service-highlight-box h6 {
        font-size: 0.84rem;
    }

    .service-highlight-box p {
        font-size: 0.74rem;
    }

    .offcanvas-cart {
        width: 100% !important;
    }
}

@media (max-width: 575.98px) {
    .header-logo img {
        height: 32px;
    }

    .announcement-bar {
        font-size: 0.74rem;
        padding: 0.35rem 0.5rem;
        line-height: 1.4;
    }

    .announcement-bar a {
        display: inline-block;
        margin-top: 2px;
    }

    .btn-gold,
    .btn-outline-gold {
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
    }

    .hero-slide-item {
        min-height: 340px;
    }

    .hero-content {
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .category-card-img {
        height: 155px;
    }

    .category-card-overlay h5 {
        font-size: 0.95rem;
    }
}

/* ===================================================================
   Storefront Nav Tabs (product detail, etc.)
   Active tab: dark underline, inactive: muted
   =================================================================== */
.nav-tabs .nav-link {
    color: var(--color-text-secondary);
    font-weight: 600;
    border-color: transparent;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--color-luxury-gold);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--color-premium-black);
    border-bottom: 2px solid var(--color-luxury-gold);
    background: transparent;
}

/* ===================================================================
   Breadcrumb — light surface context
   =================================================================== */
.breadcrumb-item a {
    color: var(--color-text-muted);
}

.breadcrumb-item a:hover {
    color: var(--color-luxury-gold);
}

.breadcrumb-item.active {
    color: var(--color-luxury-gold);
}

/* ===================================================================
   Order Success / Track Order: .bg-light card content
   bg-light (#f8f9fa) with default body text (#222) — fine.
   But make the labels consistently styled.
   =================================================================== */
.card.bg-light .text-muted {
    color: var(--color-text-muted) !important;
}

/* ===================================================================
   Checkout: disabled form fields (phone on profile, saved address select)
   =================================================================== */
.form-control:disabled,
.form-control[readonly] {
    background-color: #F4F4F6;
    color: var(--color-text-secondary);
    border-color: #DDDDE6;
}

/* ===================================================================
   Form validation states — explicit colors
   =================================================================== */
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: var(--color-danger);
    background-image: none;
}

.invalid-feedback {
    color: var(--color-danger);
    font-size: 0.82rem;
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: var(--color-success);
    background-image: none;
}

/* ===================================================================
   404 / Empty State page
   =================================================================== */
.empty-state-icon {
    color: #C8C8D4;
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ===================================================================
   Invoice page — print-friendly white background
   =================================================================== */
.invoice-wrapper {
    background: #FFFFFF;
    color: var(--color-text-primary);
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem;
}

.invoice-header {
    border-bottom: 2px solid var(--color-luxury-gold);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Hide bottom nav on desktop */
@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

@media print {
    .store-header,
    .main-nav,
    .announcement-bar,
    .store-footer,
    .mobile-bottom-nav {
        display: none !important;
    }

    body {
        background: #FFFFFF;
        padding-bottom: 0;
    }
}

/* ===================================================================
   Accessible Star Rating Color
   Bootstrap text-warning (#ffc107) on white = ~1.3:1 — fails WCAG.
   Dark amber (#B8860B) on white = ~4.6:1 — passes AA.
   Applied to all star ratings on light card surfaces.
   =================================================================== */
.product-rating i,
.product-rating .fa-star,
.star-rating i {
    color: #B8860B;
}

/* Accessible gold for decorative icons on light/cream surfaces */
.icon-brand-gold {
    color: var(--color-luxury-gold);
}

/* ===================================================================
   Accessible link styles — visible gold on light surface
   #D99A20 on white = ~3.1:1 (large/bold UI text passes AA)
   =================================================================== */
a.link-gold {
    color: var(--color-luxury-gold);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

a.link-gold:hover {
    color: var(--color-dark-bronze);
    text-decoration: underline;
}

/* ===================================================================
   Address type badge on cream card
   =================================================================== */
.address-type-label {
    color: var(--color-luxury-gold);
    font-weight: 700;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ===================================================================
   Storefront Form Checkboxes & Radio Buttons
   Consistent brand focus ring on light surfaces
   =================================================================== */
.form-check-input:checked {
    background-color: var(--color-premium-black);
    border-color: var(--color-premium-black);
}

.form-check-input:focus {
    border-color: var(--color-luxury-gold);
    box-shadow: 0 0 0 3px rgba(217, 154, 32, 0.2);
    outline: none;
}

/* btn-check label: variant/size selectors on product page */
.btn-check:checked + .btn-outline-dark {
    background-color: var(--color-premium-black);
    border-color: var(--color-premium-black);
    color: #FFFFFF !important;
}

.btn-check:focus + .btn-outline-dark {
    box-shadow: 0 0 0 3px rgba(217, 154, 32, 0.2);
}

/* ===================================================================
   Storefront alert overrides — consistent on white page bg
   =================================================================== */
.alert-success {
    background: #EBFBEE;
    color: #1E5B38;
    border-color: #A3DDB7;
}

.alert-danger {
    background: #FFF5F5;
    color: #7A1E1E;
    border-color: #F5C0C0;
}

.alert-info {
    background: #EBF5FB;
    color: #1A5276;
    border-color: #A9CCE3;
}

.alert-warning {
    background: #FFFBEB;
    color: #7A5200;
    border-color: #F5DFA0;
}

/* ===================================================================
   Mobile offcanvas nav dark background — explicit text colors
   The mobile nav uses bg-dark + text-white which is correct,
   but ensure the category links inside also have visible color.
   =================================================================== */
#mobileNavMenu .d-block.p-3 {
    color: #FFFFFF;
}

#mobileNavMenu .d-block.p-3:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--color-champagne-gold);
}


/* ===================================================================
   ANIMATION SYSTEM — NabilHUT v2
   Scroll Reveal, Skeleton Loaders, Keyframes, Micro-interactions
   =================================================================== */

/* ---------------------------------------------------------------
   1. Global Keyframe Definitions
--------------------------------------------------------------- */

/* Fade up — cards, sections appearing on scroll */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Fade in — subtle opacity-only reveal */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Slide in from left — hero text, sidebar */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Slide in from right */
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Scale up — modal, quick view, badges */
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

/* Toast slide up from bottom */
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Skeleton shimmer sweep */
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

/* Cart icon bounce on add */
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    30%       { transform: scale(1.35); }
    60%       { transform: scale(0.9); }
    80%       { transform: scale(1.12); }
}

/* Heart pulse for wishlist */
@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    40%       { transform: scale(1.4); }
    70%       { transform: scale(0.9); }
}

/* Ripple expand */
@keyframes rippleExpand {
    from { transform: scale(0); opacity: 0.5; }
    to   { transform: scale(4); opacity: 0; }
}

/* Section heading underline grow */
@keyframes underlineGrow {
    from { width: 0; }
    to   { width: 100%; }
}

/* Spin loader */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------------------------------------------------------------
   2. Scroll Reveal — .ao (animate-on-scroll)
      JS adds .ao--visible when element enters viewport
--------------------------------------------------------------- */
.ao {
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

/* Variants */
.ao--fade-up   { transform: translateY(28px); }
.ao--fade-in   { transform: none; }
.ao--slide-left  { transform: translateX(-36px); }
.ao--slide-right { transform: translateX(36px); }
.ao--scale     { transform: scale(0.92); }

/* Triggered state */
.ao.ao--visible {
    opacity: 1;
    transform: none !important;
}

/* Stagger delays — applied to child elements */
.ao--delay-1 { transition-delay: 0.05s; }
.ao--delay-2 { transition-delay: 0.10s; }
.ao--delay-3 { transition-delay: 0.15s; }
.ao--delay-4 { transition-delay: 0.20s; }
.ao--delay-5 { transition-delay: 0.25s; }
.ao--delay-6 { transition-delay: 0.30s; }
.ao--delay-7 { transition-delay: 0.35s; }
.ao--delay-8 { transition-delay: 0.40s; }

/* ---------------------------------------------------------------
   3. Skeleton Loader Cards
--------------------------------------------------------------- */
.skeleton {
    background: #E8E8EE;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 100%
    );
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
}

.skeleton-card {
    background: #FFFFFF;
    border: 1px solid #EEEEF4;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.skeleton-thumb {
    width: 100%;
    padding-top: 125%;
    background: #E2E2EA;
    position: relative;
    overflow: hidden;
}

.skeleton-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: #E2E2EA;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.skeleton-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
}

.skeleton-line.short { width: 55%; }
.skeleton-line.medium { width: 75%; }
.skeleton-line.price { height: 18px; width: 40%; margin-top: 12px; border-radius: 4px; }

.skeleton-body {
    padding: 1rem;
}

/* ---------------------------------------------------------------
   4. Page Load Progress Bar (top of page)
--------------------------------------------------------------- */
#nhut-page-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--color-champagne-gold), var(--color-luxury-gold));
    z-index: 9999;
    transition: width 0.25s ease, opacity 0.4s ease;
    box-shadow: 0 0 8px rgba(217, 154, 32, 0.6);
    pointer-events: none;
}

/* ---------------------------------------------------------------
   5. Button Ripple Effect
--------------------------------------------------------------- */
.btn-gold,
.btn-outline-gold {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: rippleExpand 0.55s ease-out forwards;
    pointer-events: none;
}

/* ---------------------------------------------------------------
   6. Cart Badge Bounce
--------------------------------------------------------------- */
.cart-badge-bounce {
    animation: cartBounce 0.5s ease;
}

/* ---------------------------------------------------------------
   7. Wishlist Heart Pulse
--------------------------------------------------------------- */
.btn-wishlist-corner.heart-pulse i,
.btn-wishlist-toggle.heart-pulse i {
    animation: heartPulse 0.45s ease;
}

/* ---------------------------------------------------------------
   8. Hero Carousel — slide content entrance
--------------------------------------------------------------- */
.carousel-item.active .hero-tagline {
    animation: slideInLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.carousel-item.active .hero-title {
    animation: slideInLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.22s both;
}

.carousel-item.active .hero-subtitle {
    animation: slideInLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.34s both;
}

.carousel-item.active .hero-content .d-flex {
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.46s both;
}

/* ---------------------------------------------------------------
   9. Section Heading Accent Line Animation
--------------------------------------------------------------- */
.section-heading-animated {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-heading-animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--color-champagne-gold), var(--color-luxury-gold));
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-heading-animated.ao--visible::after {
    width: 100%;
}

/* ---------------------------------------------------------------
   10. Product Card — GPU-accelerated hover improvements
--------------------------------------------------------------- */
.product-card {
    /* translate3d promotes card to its own compositor layer for smoother hover */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.product-thumb-img {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ---------------------------------------------------------------
   11. Quick View Modal Entrance
--------------------------------------------------------------- */
#quickViewModal .modal-content {
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------
   13. Service Highlights — icon bounce on scroll reveal
--------------------------------------------------------------- */
.service-icon-wrap {
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-highlight-box:hover .service-icon-wrap {
    transform: scale(1.15) rotate(-6deg);
    background: rgba(217, 154, 32, 0.2);
}

/* ---------------------------------------------------------------
   14. Footer social icons — smoother hover
--------------------------------------------------------------- */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    line-height: 1;
    text-decoration: none;
}

.footer-social a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    line-height: 1;
}

.footer-social a:hover {
    background: var(--color-luxury-gold);
    color: var(--color-premium-black) !important;
    border-color: var(--color-luxury-gold);
    transform: translateY(-3px);
}

/* ---------------------------------------------------------------
   15. Category card — parallax-style image on hover
--------------------------------------------------------------- */
.category-card {
    transform: translateZ(0);
}

.category-card-img {
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------
   16. Smooth scroll globally
--------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

/* ---------------------------------------------------------------
   17. Mobile nav tab active indicator slide
--------------------------------------------------------------- */
.mobile-nav-tab {
    position: relative;
}

.mobile-nav-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--color-luxury-gold);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.mobile-nav-tab.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* ---------------------------------------------------------------
   18. Input focus smooth transition
--------------------------------------------------------------- */
.form-control,
.form-select {
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

/* ---------------------------------------------------------------
   19. Card hover shadow enhancement (consistent)
--------------------------------------------------------------- */
.product-card,
.category-card,
.card {
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.28s ease;
}

/* ---------------------------------------------------------------
   20. Promo strip text entrance (when in viewport)
--------------------------------------------------------------- */
.promo-strip-banner .container > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.promo-strip-banner.ao--visible .container > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.0s; }
.promo-strip-banner.ao--visible .container > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.1s; }
.promo-strip-banner.ao--visible .container > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.2s; }
.promo-strip-banner.ao--visible .container > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.3s; }

/* ---------------------------------------------------------------
   21. Reduce motion accessibility
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .ao,
    .ao--fade-up,
    .ao--fade-in,
    .ao--slide-left,
    .ao--slide-right,
    .ao--scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .skeleton::after,
    .skeleton-thumb::after,
    .skeleton-line::after {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------------------------------------------------------------
   Product Gallery — active thumbnail highlight
--------------------------------------------------------------- */
.thumb-wrap {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border-color: #E0E0EA !important;
}

.thumb-wrap:hover {
    border-color: var(--color-luxury-gold) !important;
}

.thumb-wrap.active-thumb {
    border-color: var(--color-luxury-gold) !important;
    box-shadow: 0 0 0 2px rgba(217, 154, 32, 0.3);
}


/* ---------------------------------------------------------------
   Catalog — Premium Edition
--------------------------------------------------------------- */

/* Hero bar */
.catalog-hero-bar {
    background: linear-gradient(135deg, var(--color-premium-black) 0%, #161620 100%);
    border-bottom: 1px solid rgba(217,154,32,0.15);
    padding: 1.8rem 0 1.4rem;
}

.catalog-breadcrumb {
    --bs-breadcrumb-divider: '›';
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.catalog-breadcrumb .breadcrumb-item a,
.catalog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

.catalog-breadcrumb .breadcrumb-item.active {
    color: var(--color-champagne-gold);
}

.catalog-hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.3px;
}

.catalog-hero-title em {
    font-style: normal;
    color: var(--color-champagne-gold);
}

/* Collection tabs */
.catalog-collection-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.catalog-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.catalog-tab-pill:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.catalog-tab-pill.active {
    background: linear-gradient(135deg, var(--color-champagne-gold), var(--color-luxury-gold));
    color: var(--color-premium-black);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(217,154,32,0.35);
}

/* Active filter chips bar */
.catalog-active-filters-bar {
    background: #FAFAF8;
    border-bottom: 1px solid var(--color-border-light);
    padding: 0.65rem 0;
}

.filter-chips-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.3rem 0.75rem;
    background: #fff;
    border: 1px solid #D9D9E5;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.filter-chip:hover {
    background: #FFF8EE;
    border-color: var(--color-luxury-gold);
    color: var(--color-luxury-gold);
}

.filter-chip--reset {
    color: #C04A00;
    border-color: #F5D5C8;
    background: #FFF5F0;
}

.filter-chip--reset:hover {
    background: #FFE8E0;
    border-color: #C04A00;
    color: #C04A00;
}

/* Catalog layout spacing */
.catalog-layout {
    padding: 2rem 0 4rem;
    background: #F8F8FB;
    min-height: 60vh;
}

/* ---------------------------------------------------------------
   Sidebar
--------------------------------------------------------------- */
.catalog-sidebar {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #D0D0DC transparent;
    padding-right: 4px;
}

.catalog-sidebar::-webkit-scrollbar { width: 4px; }
.catalog-sidebar::-webkit-scrollbar-thumb { background: #D0D0DC; border-radius: 2px; }

.sidebar-section {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    margin-bottom: 10px;
    overflow: hidden;
}

.sidebar-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-primary);
    cursor: pointer;
    text-align: left;
    letter-spacing: 0.2px;
}

.sidebar-section-toggle i { color: var(--color-luxury-gold); }

.toggle-arrow {
    font-size: 0.75rem;
    color: #AAA !important;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.sidebar-section-body {
    display: none;
    padding: 0 0.75rem 0.75rem;
}

.sidebar-section-body.is-open {
    display: block;
}

.sidebar-radio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.42rem 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 1px;
}

.sidebar-radio-item input[type=radio] { display: none; }

.sidebar-radio-item:hover { background: rgba(217,154,32,0.06); }

.sidebar-radio-item.is-active {
    background: rgba(217,154,32,0.1);
}

.sidebar-radio-item.is-active .sidebar-radio-label {
    color: var(--color-luxury-gold);
    font-weight: 700;
}

.sidebar-radio-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    flex: 1;
}

.sidebar-radio-item--sub { padding-left: 1.4rem; }
.sidebar-radio-item--sub .sidebar-radio-label { font-size: 0.8rem; color: var(--color-text-muted); }

.sidebar-count {
    font-size: 0.72rem;
    background: #F0F0F5;
    color: var(--color-text-muted);
    border-radius: 20px;
    padding: 1px 7px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Price inputs */
.sidebar-price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-input-wrap {
    position: relative;
    flex: 1;
}

.price-input-symbol {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    pointer-events: none;
}

.price-input {
    width: 100%;
    padding: 0.45rem 0.5rem 0.45rem 1.6rem;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--color-text-primary);
    background: #FAFAFA;
    transition: border-color 0.2s;
}

.price-input:focus {
    border-color: var(--color-luxury-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(217,154,32,0.12);
}

.price-input-sep { color: #CCC; font-size: 0.9rem; flex-shrink: 0; }

.price-apply-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-luxury-gold);
    border: none;
    color: var(--color-premium-black);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.price-apply-btn:hover { background: var(--color-champagne-gold); transform: scale(1.1); }

/* Price preset chips */
.price-preset-chip {
    display: inline-block;
    padding: 0.28rem 0.65rem;
    border: 1px solid #E0E0EA;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    background: #F8F8FA;
}

.price-preset-chip:hover, .price-preset-chip.active {
    background: var(--color-luxury-gold);
    border-color: var(--color-luxury-gold);
    color: var(--color-premium-black);
}

/* Size swatches */
.size-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.size-swatch {
    min-width: 38px;
    padding: 0.3rem 0.5rem;
    border: 1px solid #E0E0EA;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    color: var(--color-text-secondary);
    background: #F8F8FA;
    transition: all 0.2s;
    user-select: none;
}

.btn-check:checked + .size-swatch,
.size-swatch.is-active {
    background: var(--color-premium-black);
    border-color: var(--color-premium-black);
    color: var(--color-champagne-gold);
}

.size-swatch:hover { border-color: var(--color-luxury-gold); color: var(--color-luxury-gold); }

/* Dark variant for mobile offcanvas */
.size-swatch--dark {
    background: #1A1A24;
    border-color: #2D2D3B;
    color: #C8C8D8;
}

.btn-check:checked + .size-swatch--dark,
.size-swatch--dark.is-active {
    background: var(--color-luxury-gold);
    border-color: var(--color-luxury-gold);
    color: var(--color-premium-black);
}

.sidebar-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem;
    background: #FFF0EE;
    border: 1px solid #F5CFC9;
    border-radius: var(--radius-md);
    color: #C04A00;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    margin-top: 4px;
}

.sidebar-reset-btn:hover {
    background: #FFE0DA;
    color: #A03800;
}

/* ---------------------------------------------------------------
   Catalog Toolbar
--------------------------------------------------------------- */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.1rem;
    margin-bottom: 1.25rem;
    gap: 12px;
    box-shadow: var(--shadow-subtle);
    flex-wrap: wrap;
}

.toolbar-count {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
}

.toolbar-total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.toolbar-search-term { color: var(--color-luxury-gold); font-weight: 600; }

.toolbar-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-sort {
    display: flex;
    align-items: center;
    gap: 6px;
}

.toolbar-sort-icon { color: var(--color-text-muted); font-size: 0.8rem; }

.toolbar-sort-select {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    padding: 0.38rem 2rem 0.38rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-primary);
    background: #FAFAFA;
    cursor: pointer;
    appearance: auto;
    min-width: 150px;
}

.toolbar-sort-select:focus {
    border-color: var(--color-luxury-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(217,154,32,0.12);
}

/* Mobile filter trigger */
.mobile-filter-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 1rem;
    background: var(--color-premium-black);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.mobile-filter-trigger:hover { background: #222; }

.mobile-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-luxury-gold);
    color: var(--color-premium-black);
    font-size: 0.65rem;
    font-weight: 800;
}

/* View toggle */
.view-toggle-group {
    display: flex;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.view-toggle-btn {
    width: 34px;
    height: 34px;
    background: #FAFAFA;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle-btn + .view-toggle-btn { border-left: 1px solid var(--color-border-light); }

.view-toggle-btn:hover { background: #F0F0F5; color: var(--color-text-primary); }

.view-toggle-btn.active {
    background: var(--color-premium-black);
    color: var(--color-champagne-gold);
}

/* ---------------------------------------------------------------
   Products Grid & List
--------------------------------------------------------------- */
.catalog-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 2rem;
}

@media (max-width: 1199px) { .catalog-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .catalog-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* List view */
.catalog-products-grid.catalog-list-view {
    grid-template-columns: 1fr;
    gap: 12px;
}

.catalog-list-view .product-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto;
}

.catalog-list-view .product-thumb-container {
    padding-top: 0;
    height: 180px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    overflow: hidden;
}

.catalog-list-view .product-thumb-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-list-view .product-card-body {
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1.2rem;
}

.catalog-list-view .product-list-extra { display: block !important; }

/* Hide list extra in grid mode */
.product-list-extra { display: none; }

.list-short-desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 0.8rem;
    flex: 1;
}

.list-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Sale badge variant */
.badge-sale {
    background: linear-gradient(135deg, #FF6B35, #E74C3C);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.55rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

/* ---------------------------------------------------------------
   Empty State
--------------------------------------------------------------- */
.catalog-empty-state {
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.catalog-empty-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #F5F5FA;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1.2rem;
}

.catalog-empty-state h3 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.catalog-empty-state p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    max-width: 380px;
    margin: 0 auto;
}

/* ---------------------------------------------------------------
   Premium Pagination
--------------------------------------------------------------- */
.catalog-pagination {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
}

.pagination-info {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------------
   Mobile filter drawer radio items
--------------------------------------------------------------- */
.mobile-filter-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    color: #C8C8D8;
    transition: background 0.2s;
}

.mobile-filter-radio input { width: 14px; height: 14px; accent-color: var(--color-luxury-gold); }
.mobile-filter-radio:hover { background: rgba(255,255,255,0.06); }
.mobile-filter-radio.is-active { color: var(--color-champagne-gold); font-weight: 600; }

/* ---------------------------------------------------------------
   Catalog: mobile responsive tweaks
--------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .catalog-hero-bar { padding: 1.2rem 0 1rem; }
    .catalog-hero-title { font-size: 1.4rem; }
    .catalog-layout { padding: 1.2rem 0 3rem; }
    .catalog-toolbar { padding: 0.6rem 0.9rem; }
}
