/* ==========================================================================
   ZARGHOON JEWELLERS - "Luxe" theme (Phase 15)
   Light luxury, modern look: ivory + champagne gold, glass surfaces,
   soft gold glows and smooth motion.

   Loaded from includes/header.php AFTER style.css and responsive.css, so
   it only restyles - it never removes a feature, and deleting this one
   <link> line restores the previous design exactly.
   ========================================================================== */

:root {
    --lx-ivory: #FAF7F2;
    --lx-ivory-2: #F4EEE4;
    --lx-champagne: #EADBC0;
    --lx-gold: #B8924F;
    --lx-gold-deep: #8C6A33;
    --lx-gold-grad: linear-gradient(135deg, #D8B97A 0%, #B8924F 42%, #8C6A33 100%);
    --lx-gold-text: linear-gradient(120deg, #9b7638 0%, #c9a35e 35%, #8c6a33 70%, #b8924f 100%);
    --lx-ink: #1B1712;
    --lx-espresso: #1E1912;
    --lx-glass: rgba(255, 255, 255, 0.72);
    --lx-glass-border: rgba(184, 146, 79, 0.22);
    --lx-line: rgba(184, 146, 79, 0.2);
    --lx-shadow: 0 12px 34px rgba(60, 44, 18, 0.08);
    --lx-shadow-lg: 0 24px 60px rgba(60, 44, 18, 0.14);
    --lx-glow: 0 10px 28px rgba(184, 146, 79, 0.32);
    --lx-radius: 20px;
    --lx-radius-sm: 12px;

    /* Re-point the existing brand variables so every older rule that uses
       them picks up the refined palette too. */
    --ivory: var(--lx-ivory);
    --gold: var(--lx-gold);
    --gold-dark: var(--lx-gold-deep);
    --black: var(--lx-ink);
    --card: var(--lx-ivory-2);
    --light-gold: var(--lx-champagne);
    --radius-md: 16px;
    --shadow-soft: var(--lx-shadow);
}

/* ---------------------------------------------------------------------
   Page canvas
   --------------------------------------------------------------------- */
body {
    background-color: var(--lx-ivory);
    background-image:
        radial-gradient(1200px 600px at 100% -10%, rgba(216, 185, 122, 0.16), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(216, 185, 122, 0.10), transparent 60%);
    background-attachment: fixed;
}

::selection {
    background-color: var(--lx-champagne);
    color: var(--lx-ink);
}

html {
    scrollbar-color: var(--lx-gold) var(--lx-ivory-2);
}

h1, h2 {
    letter-spacing: -0.01em;
}

/* Eyebrow: small caps label flanked by fine gold lines. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--lx-gold-deep);
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--lx-gold-grad);
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    margin-bottom: 8px;
}

.section-heading .text-muted {
    max-width: 520px;
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.bg-card {
    background: linear-gradient(180deg, rgba(234, 219, 192, 0.32) 0%, rgba(244, 238, 228, 0.6) 100%);
}

.gold-rule {
    background: var(--lx-gold-grad);
}

/* ---------------------------------------------------------------------
   Buttons: pill shape, gold gradient, light sweep on hover
   --------------------------------------------------------------------- */
.btn {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    letter-spacing: 0.14em;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease,
        box-shadow 0.3s ease, transform 0.3s ease;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 130%;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-gold,
.btn-primary {
    background: var(--lx-gold-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--lx-glow);
}

.btn-gold:hover,
.btn-primary:hover {
    background: var(--lx-ink);
    border-color: var(--lx-ink);
    color: #fff;
    box-shadow: 0 12px 28px rgba(27, 23, 18, 0.25);
}

.btn-outline {
    border-color: rgba(140, 106, 51, 0.55);
    color: var(--lx-ink);
    background-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--lx-gold-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--lx-glow);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--lx-ink);
}

.btn:disabled:hover,
.btn[disabled]:hover {
    transform: none;
}

/* ---------------------------------------------------------------------
   Forms & alerts
   --------------------------------------------------------------------- */
.form-control,
.shop-search-input,
.shop-sort-select {
    border-radius: var(--lx-radius-sm);
    border: 1px solid rgba(184, 146, 79, 0.28);
    background-color: rgba(255, 255, 255, 0.85);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.shop-search-input:focus,
.shop-sort-select:focus {
    border-color: var(--lx-gold);
    box-shadow: 0 0 0 4px rgba(184, 146, 79, 0.15);
    outline: none;
}

.form-group label {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.alert {
    border-radius: var(--lx-radius-sm);
    box-shadow: var(--lx-shadow);
}

/* ---------------------------------------------------------------------
   Gold rate ticker: champagne bar with a slow shine
   --------------------------------------------------------------------- */
.site-gold-ticker {
    position: relative;
    overflow: hidden;
    background: var(--lx-gold-grad);
    color: #fff;
}

.site-gold-ticker::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: lxShine 6s ease-in-out infinite;
    pointer-events: none;
}

.site-gold-ticker-inner {
    font-weight: 500;
    letter-spacing: 0.08em;
}

.site-gold-ticker-inner span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: #fff;
    vertical-align: middle;
    animation: lxPulse 2s ease-in-out infinite;
}

@keyframes lxShine {
    0%, 60% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes lxPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ---------------------------------------------------------------------
   Header: frosted glass with a gold hairline
   --------------------------------------------------------------------- */
/* The frosted glass lives on a ::before layer, NOT on .site-header itself:
   backdrop-filter on an element makes it the containing block for its
   position:fixed children, which would trap the slide-out menu and its
   overlay (both inside the header) instead of covering the screen. */
.site-header {
    background-color: transparent;
    border-bottom: none;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: rgba(250, 247, 242, 0.78);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    transition: background-color var(--ease-normal);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 146, 79, 0.55), transparent);
    pointer-events: none;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(60, 44, 18, 0.08);
}

.site-header.is-scrolled::before {
    background-color: rgba(255, 255, 255, 0.88);
}

.site-logo-image {
    height: 46px;
    transition: height var(--ease-normal);
}

.site-header.is-scrolled .site-logo-image {
    height: 38px;
}

.site-logo-name {
    background: var(--lx-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav {
    gap: 26px;
}

.site-nav-link {
    position: relative;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 0;
}

.site-nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 1.5px;
    background: var(--lx-gold-grad);
    transition: left 0.3s ease, right 0.3s ease;
}

.site-nav-link:hover::after {
    left: 0;
    right: 0;
}

.site-nav-link:hover {
    color: var(--lx-gold-deep);
}

.site-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.site-icon-btn:hover {
    background-color: rgba(184, 146, 79, 0.12);
    color: var(--lx-gold-deep);
}

.site-icon-badge {
    background: var(--lx-gold-grad);
    color: #fff;
    box-shadow: 0 3px 8px rgba(140, 106, 51, 0.35);
}

.site-search-panel {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-search-panel input {
    border-radius: 999px;
}

.site-account-menu {
    background-color: rgba(250, 247, 242, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid var(--lx-line);
}

.site-account-menu a {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    border-bottom-color: var(--lx-line);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-account-menu a:hover {
    color: var(--lx-gold-deep);
    padding-left: 6px;
}

.site-account-menu-overlay {
    background-color: rgba(27, 23, 18, 0.35);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* ---------------------------------------------------------------------
   Hero slider: framed, rounded, warm overlay, glass controls
   --------------------------------------------------------------------- */
.hero-slider {
    height: 640px;
    margin: 18px auto 0;
    width: calc(100% - 36px);
    max-width: 1440px;
    border-radius: 28px;
    box-shadow: var(--lx-shadow-lg);
    background-color: var(--lx-espresso);
    isolation: isolate;
}

.hero-slide-overlay {
    background:
        radial-gradient(ellipse at 50% 55%, rgba(27, 23, 18, 0.15) 0%, rgba(27, 23, 18, 0.55) 100%),
        linear-gradient(180deg, rgba(27, 23, 18, 0.15) 0%, rgba(27, 23, 18, 0.45) 100%);
}

.hero-slide-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    letter-spacing: -0.015em;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.hero-slide-content .eyebrow {
    color: var(--lx-champagne) !important;
}

.hero-slide-content .eyebrow::before,
.hero-slide-content .eyebrow::after {
    background: var(--lx-champagne);
}

.hero-slide-content p {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.hero-nav {
    width: 52px;
    height: 52px;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.hero-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.06);
}

.hero-nav-prev { left: 24px; }
.hero-nav-next { right: 24px; }

.hero-dots {
    bottom: 26px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-dot {
    transition: width 0.35s ease, background-color 0.35s ease;
}

.hero-dot.active {
    width: 28px;
    background: var(--lx-gold-grad);
}

/* ---------------------------------------------------------------------
   Shop by Category: tall image tiles with a glass caption
   --------------------------------------------------------------------- */
.homepage-category-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.homepage-category-card {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--lx-radius);
    border: 1px solid var(--lx-glass-border);
    background: radial-gradient(circle at 50% 35%, #fff 0%, var(--lx-ivory-2) 100%);
    box-shadow: 0 2px 10px rgba(60, 44, 18, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.homepage-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 146, 79, 0.5);
    box-shadow: var(--lx-shadow-lg);
}

.homepage-category-card img,
.homepage-category-card .collection-card-placeholder {
    position: absolute;
    inset: 0;
    height: 100%;
}

.homepage-category-card .collection-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lx-gold);
}

.homepage-category-card-body {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background-color: var(--lx-glass);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: left;
}

.homepage-category-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.homepage-category-link {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

/* ---------------------------------------------------------------------
   Product grid spacing (cards are styled in price-details.css)
   --------------------------------------------------------------------- */
.product-grid {
    gap: 26px;
}

/* ---------------------------------------------------------------------
   Collection banner: rounded, inset, glass content panel
   --------------------------------------------------------------------- */
.collection-banner {
    min-height: 480px;
    width: calc(100% - 36px);
    max-width: 1440px;
    margin: 0 auto;
    border-radius: 28px;
    box-shadow: var(--lx-shadow-lg);
}

.collection-banner-overlay {
    background: linear-gradient(120deg, rgba(27, 23, 18, 0.7) 0%, rgba(27, 23, 18, 0.25) 100%);
}

.collection-banner-content .container {
    max-width: 620px;
    padding: 40px 32px;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.collection-banner-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.collection-banner-content .eyebrow::before,
.collection-banner-content .eyebrow::after {
    background: var(--lx-champagne);
}

/* ---------------------------------------------------------------------
   The Zarghoon Promise: glass feature cards
   --------------------------------------------------------------------- */
.features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px 24px;
    border-radius: var(--lx-radius);
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--lx-glass-border);
    box-shadow: 0 2px 10px rgba(60, 44, 18, 0.03);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lx-shadow);
}

.feature-icon {
    width: 68px;
    height: 68px;
    background: var(--lx-gold-grad);
    color: #fff;
    box-shadow: var(--lx-glow);
}

.feature-card h3 {
    font-size: 1.12rem;
}

.feature-card .text-muted {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ---------------------------------------------------------------------
   Today's gold rate: "live" cards
   --------------------------------------------------------------------- */
.gold-rate-section > .container > .eyebrow::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3aa55d;
    box-shadow: 0 0 0 0 rgba(58, 165, 93, 0.5);
    animation: lxLive 2s ease-out infinite;
}

.gold-rate-section > .container > .eyebrow::after {
    display: none;
}

@keyframes lxLive {
    0% { box-shadow: 0 0 0 0 rgba(58, 165, 93, 0.5); }
    100% { box-shadow: 0 0 0 12px rgba(58, 165, 93, 0); }
}

.gold-rate-public-grid {
    gap: 18px;
    margin-top: 32px;
}

.gold-rate-public-card {
    position: relative;
    min-width: 200px;
    padding: 28px 34px 26px;
    border-radius: var(--lx-radius);
    border: 1px solid var(--lx-glass-border);
    background-color: rgba(255, 255, 255, 0.82);
    box-shadow: var(--lx-shadow);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gold-rate-public-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--lx-gold-grad);
}

.gold-rate-public-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lx-shadow-lg);
}

.gold-rate-public-card .karat {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    background: var(--lx-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gold-rate-public-card .rate {
    font-size: 1.2rem;
    color: var(--lx-ink);
}

/* ---------------------------------------------------------------------
   About: image with an offset gold frame
   --------------------------------------------------------------------- */
.about-layout {
    gap: 64px;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1.5px solid rgba(184, 146, 79, 0.55);
    border-radius: 24px;
    z-index: -1;
}

.about-image img {
    border-radius: 24px;
    box-shadow: var(--lx-shadow-lg);
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* ---------------------------------------------------------------------
   Instagram gallery
   --------------------------------------------------------------------- */
.instagram-grid {
    gap: 16px;
}

.instagram-tile {
    position: relative;
    border-radius: 18px;
}

.instagram-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(140, 106, 51, 0.35));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-tile:hover::after {
    opacity: 1;
}

/* ---------------------------------------------------------------------
   Newsletter: rounded espresso panel with gold glows
   --------------------------------------------------------------------- */
.newsletter-section {
    position: relative;
    overflow: hidden;
    width: calc(100% - 36px);
    max-width: 1280px;
    margin: 40px auto 0;
    padding: 64px 0;
    border-radius: 28px;
    background:
        radial-gradient(500px 260px at 15% 0%, rgba(216, 185, 122, 0.35), transparent 70%),
        radial-gradient(500px 260px at 85% 100%, rgba(216, 185, 122, 0.25), transparent 70%),
        var(--lx-espresso);
    box-shadow: var(--lx-shadow-lg);
}

.newsletter-section .eyebrow::before,
.newsletter-section .eyebrow::after {
    background: var(--lx-champagne);
}

.newsletter-form {
    max-width: 520px;
    padding: 6px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-wrap: nowrap;
}

.newsletter-form input[type="email"] {
    border: none;
    border-radius: 999px;
    background-color: transparent;
    padding: 12px 20px;
    min-width: 0;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
}

/* ---------------------------------------------------------------------
   Footer: deep espresso with a gold top line
   --------------------------------------------------------------------- */
.site-footer {
    position: relative;
    margin-top: 80px;
    background:
        radial-gradient(700px 300px at 0% 0%, rgba(216, 185, 122, 0.12), transparent 70%),
        var(--lx-espresso);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--lx-gold-grad);
}

.site-footer-grid {
    grid-template-columns: minmax(220px, 1.6fr) repeat(auto-fit, minmax(130px, 1fr));
}

.footer-col .site-logo-name {
    font-size: 1.5rem;
}

.footer-col h4 {
    color: var(--lx-champagne);
    letter-spacing: 0.2em;
}

.footer-col a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
    color: var(--lx-champagne);
    transform: translateX(3px);
}

.site-footer-bottom {
    border-top-color: rgba(234, 219, 192, 0.12);
}

/* ---------------------------------------------------------------------
   Inner pages: breadcrumbs, category heroes, collections, shop, account,
   auth, cart and checkout get the same rounded glass surfaces.
   --------------------------------------------------------------------- */
.breadcrumbs {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.breadcrumbs a:hover {
    color: var(--lx-gold-deep);
}

.category-hero-image,
.collection-card,
.auth-card,
.account-card,
.account-panel,
.account-nav,
.shop-filters,
.cart-row,
.cart-summary,
.checkout-summary,
.empty-state {
    border-radius: var(--lx-radius);
    border-color: var(--lx-glass-border);
}

.collection-card,
.auth-card,
.account-card,
.account-panel,
.cart-row,
.cart-summary,
.checkout-summary {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--lx-shadow);
}

.collection-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lx-shadow-lg);
}

.account-nav-link.active {
    color: var(--lx-gold-deep);
}

.modal-panel {
    border-radius: 24px;
    border: 1px solid var(--lx-glass-border);
    box-shadow: var(--lx-shadow-lg);
}

.quickview-image {
    background: radial-gradient(circle at 50% 40%, #fff 0%, var(--lx-ivory-2) 100%);
}

.product-card-quickview {
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(60, 44, 18, 0.12);
}

.product-card-quickview:hover {
    background: var(--lx-gold-grad);
    color: #fff;
}

/* ---------------------------------------------------------------------
   Motion: softer scroll reveal + staggered cards
   --------------------------------------------------------------------- */
.reveal {
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s ease;
}

.reveal.is-visible {
    filter: none;
}

.reveal.is-visible .product-card,
.reveal.is-visible .homepage-category-card,
.reveal.is-visible .feature-card,
.reveal.is-visible .gold-rate-public-card {
    animation: lxRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal.is-visible :is(.product-card, .homepage-category-card, .feature-card, .gold-rate-public-card):nth-child(2) { animation-delay: 0.06s; }
.reveal.is-visible :is(.product-card, .homepage-category-card, .feature-card, .gold-rate-public-card):nth-child(3) { animation-delay: 0.12s; }
.reveal.is-visible :is(.product-card, .homepage-category-card, .feature-card, .gold-rate-public-card):nth-child(4) { animation-delay: 0.18s; }
.reveal.is-visible :is(.product-card, .homepage-category-card, .feature-card, .gold-rate-public-card):nth-child(5) { animation-delay: 0.24s; }
.reveal.is-visible :is(.product-card, .homepage-category-card, .feature-card, .gold-rate-public-card):nth-child(6) { animation-delay: 0.30s; }
.reveal.is-visible :is(.product-card, .homepage-category-card, .feature-card, .gold-rate-public-card):nth-child(n+7) { animation-delay: 0.36s; }

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

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .site-nav {
        gap: 18px;
    }

    .site-nav-link {
        font-size: 0.74rem;
        letter-spacing: 0.08em;
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .hero-slider,
    .collection-banner,
    .newsletter-section {
        width: calc(100% - 24px);
        border-radius: 22px;
    }

    .hero-slider {
        margin-top: 12px;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .hero-nav-prev { left: 12px; }
    .hero-nav-next { right: 12px; }

    .collection-banner-content .container {
        width: calc(100% - 32px);
        padding: 28px 20px;
    }

    .homepage-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .homepage-category-card-body {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 9px 11px;
    }

    .homepage-category-card-body h3 {
        font-size: 0.92rem;
    }

    .homepage-category-link {
        font-size: 0.58rem;
        letter-spacing: 0.08em;
    }

    .about-layout {
        gap: 40px;
    }

    .about-image::before {
        inset: 12px -10px -12px 10px;
    }

    .newsletter-section {
        padding: 48px 0;
    }

    .newsletter-form {
        flex-wrap: wrap;
        border-radius: 22px;
        padding: 8px;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    .product-grid {
        gap: 14px;
    }

    .eyebrow {
        letter-spacing: 0.2em;
        font-size: 0.68rem;
    }

    .eyebrow::before,
    .eyebrow::after {
        width: 18px;
    }

    .site-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* Slider arrows would sit on top of the banner text on a phone;
       swiping isn't available, so the dots remain the controls. */
    .hero-nav {
        display: none;
    }

    .homepage-category-link {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gold-rate-public-grid {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .gold-rate-public-card {
        flex: 1 1 0;
        min-width: 0;
        padding: 20px 8px 18px;
    }

    .gold-rate-public-card .karat {
        font-size: 1.5rem;
    }

    .gold-rate-public-card .rate {
        font-size: 0.86rem;
        white-space: nowrap;
    }
}

@media (max-width: 560px) {
    .site-gold-ticker-inner {
        gap: 14px;
        font-size: 0.66rem;
        letter-spacing: 0.02em;
    }

    .site-gold-ticker-inner span {
        white-space: nowrap;
    }

    .site-gold-ticker-inner span::before {
        width: 5px;
        height: 5px;
        margin-right: 5px;
    }

    .features-grid {
        gap: 12px;
    }

    .feature-card {
        padding: 22px 14px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 12px;
    }

    .feature-card h3 {
        font-size: 0.98rem;
    }

    .feature-card .text-muted {
        font-size: 0.8rem;
        line-height: 1.55;
    }
}
