/* =====================================================================
   ZAÏA — زايا · Modest Luxury Swimwear
   Premium design system · RTL / Arabic-first
   Aesthetic: sun-warmed Mediterranean editorial — ivory, sand, ink & gold
   ===================================================================== */

/* ----------------------------- Tokens ------------------------------ */
:root {
    /* Surfaces */
    --paper: #F6F1E8;          /* warm ivory page background */
    --paper-2: #FFFFFF;        /* cards / panels */
    --sand: #ECE2D2;           /* soft sand sections */
    --sand-deep: #E0D2BC;      /* deeper sand */
    --ink: #211C16;            /* warm near-black — text & dark sections */
    --ink-2: #2C261E;
    --ink-soft: #4C453B;       /* secondary text */
    --muted: #908676;          /* muted text */

    /* Accents */
    --gold: #B08A52;           /* antique gold — fine accents, hovers */
    --gold-soft: #C8AD83;
    --gold-faint: rgba(176, 138, 82, 0.16);
    --olive: #6C6F52;          /* product-tied sage, used sparingly */
    --wa: #1FA855;             /* refined whatsapp green */
    --wa-2: #15823f;

    /* Lines & shadows */
    --line: rgba(33, 28, 22, 0.12);
    --line-strong: rgba(33, 28, 22, 0.24);
    --line-light: rgba(255, 255, 255, 0.16);
    --shadow-soft: 0 24px 60px -28px rgba(33, 28, 22, 0.30);
    --shadow-card: 0 14px 36px -18px rgba(33, 28, 22, 0.18);
    --shadow-rise: 0 30px 70px -30px rgba(33, 28, 22, 0.38);

    /* Type */
    --f-display: 'El Messiri', 'Cormorant Garamond', serif;
    --f-latin: 'Cormorant Garamond', 'El Messiri', serif;
    --f-body: 'Tajawal', 'Cairo', system-ui, sans-serif;

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --fast: 0.25s ease;
    --smooth: 0.6s var(--ease);

    /* Layout */
    --maxw: 1280px;
    --gutter: clamp(1.1rem, 4vw, 2.5rem);
    --radius: 6px;
    --radius-lg: 14px;

    /* Backward-compatible aliases (legacy inline styles / basket.html) */
    --bg-main: var(--paper);
    --bg-cards: var(--paper-2);
    --primary-dark: var(--ink);
    --teal-accent: #2C3A4F;
    --gold-accent: var(--gold);
    --sand-warm: var(--sand);
    --text-main: var(--ink);
    --text-secondary: var(--ink-soft);
    --text-muted: var(--muted);
    --whatsapp-green: var(--wa);
    --font-display: var(--f-display);
    --font-body: var(--f-body);
    --shadow-subtle: var(--shadow-card);
    --shadow-hover: var(--shadow-rise);
    --transition-fast: var(--fast);
    --transition-smooth: var(--smooth);
}

/* ------------------------------ Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
    font-family: var(--f-body);
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: clip;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* Subtle paper texture / atmosphere */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(1100px 700px at 100% -10%, rgba(200, 173, 131, 0.10), transparent 60%),
        radial-gradient(900px 600px at -10% 110%, rgba(108, 111, 82, 0.07), transparent 60%);
}

/* ---------------------------- Typography --------------------------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.18; color: var(--ink); }

.section-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 4.6vw, 3rem);
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-align: center;
    color: var(--ink);
}

.section-eyebrow {
    display: block;
    text-align: center;
    font-family: var(--f-latin);
    font-style: italic;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

/* ------------------------------ Layout ----------------------------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 1;
}

section { position: relative; z-index: 1; }
.text-center { text-align: center; }

/* ------------------------------ Buttons ---------------------------- */
.btn {
    --b-bg: var(--ink);
    --b-fg: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    background: var(--b-bg);
    color: var(--b-fg);
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.4px;
    border-radius: var(--radius);
    border: 1px solid var(--b-bg);
    position: relative;
    overflow: hidden;
    transition: transform var(--fast), box-shadow var(--fast),
                background var(--fast), color var(--fast), border-color var(--fast);
    -webkit-tap-highlight-color: transparent;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(1px) scale(0.995); }

.btn-primary {
    --b-bg: var(--ink);
    --b-fg: var(--paper);
    box-shadow: var(--shadow-card);
}
.btn-primary:hover {
    --b-bg: #100d09;
    transform: translateY(-2px);
    box-shadow: var(--shadow-rise);
}

.btn-secondary {
    --b-bg: transparent;
    --b-fg: var(--ink);
    border-color: var(--line-strong);
    box-shadow: none;
}
.btn-secondary:hover {
    border-color: var(--ink);
    background: rgba(33, 28, 22, 0.04);
    transform: translateY(-2px);
}

.btn-large { padding: 1.15rem 2.4rem; font-size: 1.04rem; }

.btn .z-icon { display: inline-flex; }

/* z-icon system (icons.js injects SVGs) */
.z-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.z-icon svg { width: 1.05em; height: 1.05em; }

/* =====================================================================
   ANNOUNCEMENT BAR
   ===================================================================== */
.announcement-bar {
    background: var(--ink);
    color: var(--paper);
    font-size: 0.8rem;
    letter-spacing: 0.6px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    z-index: 60;
}
.announcement-track {
    display: flex;
    width: max-content;
    animation: ann-marquee 45s linear infinite;
}
.announcement-set {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding-inline: 1.75rem;
    padding-block: 0.55rem;
    white-space: nowrap;
    flex: none;
}
.announcement-track span { display: inline-flex; align-items: center; gap: 0.5rem; opacity: 0.92; }
.announcement-track .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-soft); flex: none; opacity: 1; }
@keyframes ann-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(50%); }
}

/* =====================================================================
   NAVBAR
   ===================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 241, 232, 0.82);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid var(--line);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1rem;
}
.header-right, .header-left { display: flex; align-items: center; gap: 1rem; flex: 1; }
.header-left { justify-content: flex-end; }

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.logo img { height: 30px; width: auto; object-fit: contain; }
.logo a { display: block; }

/* Text wordmark logo (header) */
.logo-wordmark {
    display: inline-block;
    font-family: var(--f-latin);
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    /* offset trailing tracking so the wordmark reads optically centred */
    padding-inline-start: 0.24em;
    transition: color var(--fast);
}
.logo-wordmark:hover { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
    position: relative;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 0.3rem 0;
    transition: color var(--fast);
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    inset-inline: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--smooth);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.mobile-only-link { display: none; }

.cart-icon-btn {
    position: relative;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink);
    border-radius: 50%;
    transition: background var(--fast), transform var(--fast);
}
.cart-icon-btn:hover { background: rgba(33, 28, 22, 0.06); transform: translateY(-1px); }
.cart-icon-btn svg { width: 22px; height: 22px; }
.cart-badge {
    position: absolute;
    top: 4px; inset-inline-start: 4px;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    background: var(--gold);
    color: #fff;
    font-family: var(--f-body);
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px var(--paper);
}

/* Hamburger */
.mobile-menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.mobile-menu-toggle span {
    display: block; height: 1.5px; width: 22px; background: var(--ink);
    border-radius: 2px; transition: transform var(--fast), opacity var(--fast);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { background: var(--paper); overflow: hidden; }
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: min(86vh, 760px);
    gap: 0;
    padding-inline: 0;
    max-width: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem clamp(1.5rem, 6vw, 6rem);
    max-width: 760px;
    margin-inline-start: auto;
}
.unified-hero { gap: 0; }

.category-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.5rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--gold-faint);
    border-radius: 999px;
    background: var(--gold-faint);
}

.hero-content .mobile-title,
h1.mobile-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(2.3rem, 4.4vw, 3.7rem);
    line-height: 1.1;
    letter-spacing: 0.3px;
    margin-top: 1.4rem;
    color: var(--ink);
    overflow-wrap: break-word;
}
.hero-content .mobile-desc {
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.85;
    max-width: 46ch;
    margin-top: 1.4rem;
}

.hero-actions { margin-top: 2.2rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero-trustline {
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.86rem;
}
.hero-trustline span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trustline .z-icon { color: var(--gold); }

/* Hero image / slider */
.hero-image.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    background: var(--sand-deep);
}
.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s var(--ease), transform 6s ease;
    will-change: opacity, transform;
}
.hero-slider .slide.active { opacity: 1; transform: scale(1); }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slider::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(33,28,22,0) 60%, rgba(33,28,22,0.28));
    pointer-events: none;
}
.slider-dots {
    position: absolute;
    bottom: 1.4rem; inset-inline-start: 0; inset-inline-end: 0;
    display: flex; justify-content: center; gap: 0.6rem;
    z-index: 3;
}
.slider-dots .dot {
    width: 8px; height: 8px; border-radius: 999px;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: width var(--fast), background var(--fast);
}
.slider-dots .dot.active { width: 26px; background: #fff; }

/* =====================================================================
   TRUST BAR
   ===================================================================== */
.trust-bar {
    background: var(--ink);
    color: var(--paper);
    border-block: 1px solid rgba(255,255,255,0.06);
}
.trust-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(1.4rem, 5vw, 4rem);
    padding-block: 1.05rem;
}
.trust-container > span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    font-weight: 500;
    color: rgba(246,241,232,0.92);
}
.trust-container .z-icon { color: var(--gold-soft); font-size: 1.1rem; }

/* =====================================================================
   FEATURES / PROMISE
   ===================================================================== */
.features-section { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--paper); }
.promise-intro { max-width: 760px; margin: 0 auto clamp(3rem, 6vw, 4.5rem); text-align: center; }
.promise-intro p {
    color: var(--ink-soft);
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    line-height: 1.9;
    margin-top: 1.4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
}
.feature-card {
    position: relative;
    text-align: center;
    padding: 2.6rem 1.6rem;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform var(--smooth), box-shadow var(--smooth), border-color var(--smooth);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold-faint);
}
.feature-card .f-index {
    font-family: var(--f-latin);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.6rem;
}
.feature-card .f-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.4rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--gold-faint);
    color: var(--gold);
}
.feature-card .f-icon .z-icon { font-size: 1.7rem; }
.feature-card h3 {
    font-family: var(--f-display);
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    color: var(--ink);
}
.feature-card p { color: var(--muted); font-size: 0.96rem; line-height: 1.75; }

/* =====================================================================
   BRAND STORY
   ===================================================================== */
.story-section {
    background: var(--ink);
    color: var(--paper);
    padding-block: clamp(5rem, 10vw, 8rem);
    overflow: hidden;
}
.story-section::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(700px 500px at 12% 0%, rgba(176,138,82,0.16), transparent 60%),
        radial-gradient(700px 500px at 88% 100%, rgba(108,111,82,0.14), transparent 60%);
    pointer-events: none;
}
.story-layout {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}
.story-container { max-width: none; text-align: start; }
.story-container .section-eyebrow { text-align: start; }
.story-container h2 {
    font-family: var(--f-display);
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    color: var(--paper);
    margin-bottom: 1.8rem;
}
.story-container p {
    color: rgba(246,241,232,0.78);
    line-height: 1.95;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    margin-bottom: 1.4rem;
}
.story-tagline {
    font-family: var(--f-display) !important;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem) !important;
    color: var(--gold-soft) !important;
    font-style: normal !important;
    letter-spacing: 2px;
    margin-top: 1.2rem;
}
.story-figure {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-rise);
}
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-figure::after {
    content: "";
    position: absolute; inset: 0;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* =====================================================================
   PRODUCT SECTION
   ===================================================================== */
.product-section { padding-block: clamp(4rem, 8vw, 7rem); background: var(--sand); }
.product-container {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

/* Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 1rem;
    position: sticky;
    top: 96px;
}
.thumbnail-gallery { display: flex; flex-direction: column; gap: 0.8rem; }
.thumbnail {
    width: 84px; height: 104px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    border: 1px solid var(--line);
    opacity: 0.78;
    transition: opacity var(--fast), border-color var(--fast), transform var(--fast);
}
.thumbnail:hover { opacity: 1; transform: translateY(-2px); }
.thumbnail.active { opacity: 1; border-color: var(--ink); }
.main-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--sand-deep);
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-card);
    cursor: zoom-in;
}
#main-product-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}
.main-image-container:hover #main-product-image { transform: scale(1.05); }
.main-image-container::after {
    content: "";
    position: absolute; inset: 0;
    border: 1px solid rgba(33,28,22,0.06);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* Info column */
.product-info { padding-top: 0.4rem; }

.product-header { margin-bottom: 1.8rem; }
.product-header .category-tag { margin-bottom: 1rem; }
.product-title {
    font-family: var(--f-display);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    line-height: 1.18;
    color: var(--ink);
    margin-bottom: 0.8rem;
}
.rating-stars {
    display: flex; align-items: center; gap: 0.25rem;
    color: var(--gold);
}
.rating-stars .z-icon { font-size: 1rem; }
.review-count { color: var(--muted); font-size: 0.85rem; margin-inline-start: 0.5rem; font-family: var(--f-body); }

/* Selectors */
.product-selection-color,
.product-selection-size,
.product-selection-bundle { margin-bottom: 1.8rem; }

.selector-header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.selector-header h3 {
    font-family: var(--f-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
}
.selected-value { color: var(--muted); font-size: 0.92rem; font-weight: 500; }

.color-options { display: flex; gap: 0.8rem; }
.color-swatch {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    position: relative;
    transition: transform var(--fast);
    box-shadow: inset 0 0 0 2px var(--paper-2);
}
.color-swatch:hover { transform: scale(1.06); }
.color-swatch.active { box-shadow: inset 0 0 0 2px var(--paper-2), 0 0 0 2px var(--ink); }

.size-options { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.size-btn {
    min-width: 50px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: transparent;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink-soft);
    transition: all var(--fast);
}
.size-btn:hover { border-color: var(--ink); color: var(--ink); }
.size-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-btn.shake { animation: shake 0.4s; }
@keyframes shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Quantity */
.quantity-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    overflow: hidden;
}
.qty-btn {
    width: 40px; height: 40px;
    font-size: 1.2rem;
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--fast);
}
.qty-btn:hover { background: rgba(33,28,22,0.06); }
.qty-input {
    width: 46px; height: 40px;
    text-align: center;
    border: none;
    border-inline: 1px solid var(--line);
    background: transparent;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
}

/* Bundles */
.bundle-options { display: grid; gap: 0.7rem; }
.bundle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--paper-2);
    cursor: pointer;
    position: relative;
    transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast);
}
.bundle-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.bundle-card.active {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-card);
}
.bundle-card.active::before {
    content: "✓";
    position: absolute;
    inset-inline-end: 1.2rem; top: 50%;
    transform: translateY(-50%);
    display: none;
}
.bundle-info { display: flex; flex-direction: column; gap: 0.3rem; }
.bundle-title { font-weight: 700; font-size: 1rem; color: var(--ink); display: flex; align-items: center; gap: 0.4rem; }
.bundle-name-fr { font-family: var(--f-latin); font-style: italic; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.bundle-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--olive);
    background: rgba(108,111,82,0.12);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}
.bundle-price { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Price & stock */
.product-price-stock {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-block: 1.4rem;
    margin-bottom: 1.4rem;
    border-block: 1px solid var(--line);
}
.price-row { display: flex; align-items: baseline; gap: 0.8rem; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.product-price {
    font-family: var(--f-display);
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}
.price-note { color: var(--olive); font-size: 0.85rem; font-weight: 600; margin-top: 0.4rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.stock-status {
    display: inline-flex; align-items: center; gap: 0.45rem;
    color: #B0432F;
    font-size: 0.86rem;
    font-weight: 600;
    background: rgba(176,67,47,0.08);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
}
.stock-status .z-icon { color: #C9522E; }

/* CTA group */
.product-cta-container { display: grid; gap: 0.8rem; margin-bottom: 1.4rem; }
.product-cta-container .btn { width: 100%; }
.add-basket-btn { background: transparent !important; }

/* Guarantee cards */
.product-actions { margin-top: 2rem; }
.product-desc { color: var(--ink-soft); line-height: 1.85; margin-bottom: 1.8rem; }
.guarantee-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}
.g-card {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-soft);
}
.g-card .z-icon { color: var(--gold); font-size: 1.15rem; }

/* =====================================================================
   FAST ORDER FORM
   ===================================================================== */
.order-form-section {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-card);
    animation: form-in 0.5s var(--ease);
}
@keyframes form-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.order-form-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.step-indicator { display: flex; flex-direction: column; gap: 0.5rem; }
.step-badge {
    align-self: flex-start;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-faint);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}
.order-form-title { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); }
.order-form-close {
    width: 34px; height: 34px; border-radius: 50%;
    font-size: 1.5rem; color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--fast), color var(--fast);
}
.order-form-close:hover { background: rgba(33,28,22,0.06); color: var(--ink); }

.order-summary-mini {
    display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem;
    padding: 0.9rem 1rem;
    background: var(--sand);
    border-radius: var(--radius);
    margin-bottom: 1.3rem;
    font-size: 0.86rem;
    color: var(--ink-soft);
}
.order-summary-mini span { display: inline-flex; align-items: center; gap: 0.4rem; }
.order-summary-mini .z-icon { color: var(--gold); }

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--ink-soft);
    margin-bottom: 0.45rem;
}
.form-group input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--paper);
    font-size: 1rem;
    color: var(--ink);
    transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
}
.form-group input::placeholder { color: var(--muted); }
.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--paper-2);
    box-shadow: 0 0 0 3px var(--gold-faint);
}
.form-group input.error { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }

/* Phone field: editable country code (+212 default) + national number,
   styled as one cohesive brand input. dir=ltr so it reads "+212 612345678". */
.phone-field {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--paper);
    overflow: hidden;
    transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
}
.phone-field:focus-within {
    border-color: var(--gold);
    background: var(--paper-2);
    box-shadow: 0 0 0 3px var(--gold-faint);
}
.phone-field input {
    border: none;
    background: transparent;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    color: var(--ink);
    outline: none;
}
.phone-field input:focus { outline: none; box-shadow: none; background: transparent; }
.phone-field .phone-cc {
    flex: 0 0 auto;
    width: 4.4rem;
    text-align: center;
    font-weight: 600;
    color: var(--ink-soft);
    padding-inline: 0.4rem;
    border-inline-end: 1px solid var(--line-strong);
}
.phone-field .phone-national {
    flex: 1 1 auto;
    width: 100%;
    letter-spacing: 1px;
}
.phone-field.error { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }

.form-actions { display: grid; gap: 0.7rem; margin-top: 1.3rem; }
.order-submit-btn { width: 100%; }
.form-whatsapp-btn {
    width: 100%;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 1rem 1.6rem;
    background: var(--wa);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 700;
    transition: background var(--fast), transform var(--fast);
}
.form-whatsapp-btn:hover { background: var(--wa-2); transform: translateY(-2px); }
.form-whatsapp-btn .wa-icon { width: 1.2em; height: 1.2em; }

.submit-loader { display: inline-flex; align-items: center; gap: 0.5rem; }
.spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
    display: flex; align-items: center; gap: 0.5rem;
    margin-top: 1.1rem;
    color: var(--muted);
    font-size: 0.82rem;
}
.form-note .z-icon { color: var(--gold); }

/* Success */
.order-success { text-align: center; padding: 2rem 1rem; }
.success-icon { font-size: 2.6rem; color: var(--olive); margin-bottom: 0.8rem; }
.order-success h3 { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 0.6rem; }
.order-success p { color: var(--ink-soft); }

/* =====================================================================
   TESTIMONIALS (new)
   ===================================================================== */
.testimonials-section { padding-block: clamp(4rem, 8vw, 7rem); background: var(--paper); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.testimonial-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    transition: transform var(--smooth), box-shadow var(--smooth);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.testimonial-stars { color: var(--gold); display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.testimonial-stars .z-icon { font-size: 0.95rem; }
.testimonial-text { color: var(--ink-soft); line-height: 1.85; font-size: 1.02rem; margin-bottom: 1.4rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--gold-faint);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.1rem;
}
.testimonial-name { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.testimonial-meta { color: var(--muted); font-size: 0.8rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.testimonial-meta .z-icon { color: var(--olive); font-size: 0.85rem; }

/* =====================================================================
   INSTAGRAM STRIP (new)
   ===================================================================== */
/* ---- Lifestyle Gallery ---- */
.gallery-section { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--paper); }
.gallery-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery-sub { color: var(--ink-soft); margin-top: 0.5rem; font-size: 1.02rem; }

/* featured reel video card (portrait, centered, sensible size) */
.gallery-video-wrap { display: flex; justify-content: center; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.gallery-video {
    position: relative;
    display: block;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 9 / 16;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: var(--ink);
    box-shadow: var(--shadow-card);
}
.gallery-video img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.7s var(--ease); }
.gallery-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(33,28,22,0.05) 40%, rgba(33,28,22,0.55)); }
.gallery-video:hover img { transform: scale(1.04); }
.gallery-video-play {
    position: absolute; inset: 0; margin: auto;
    width: 72px; height: 72px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(246,241,232,0.94); color: var(--ink);
    border-radius: 50%; z-index: 2;
    box-shadow: 0 8px 28px -6px rgba(0,0,0,0.5);
    transition: transform 0.3s var(--ease);
}
.gallery-video:hover .gallery-video-play { transform: scale(1.09); }
.gallery-video-play svg { width: 32px; height: 32px; margin-inline-start: 4px; }
.gallery-video-label {
    position: absolute; bottom: 16px; inset-inline-start: 0; inset-inline-end: 0;
    text-align: center; color: #fff; z-index: 2;
    font-weight: 600; letter-spacing: 0.5px; font-size: 0.95rem;
}
.gallery-video-badge {
    position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: rgba(33,28,22,0.72); color: var(--gold-soft);
    padding: 5px 12px; border-radius: 30px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
}
.gallery-video-badge .z-icon svg { width: 14px; height: 14px; }

/* WhatsApp reviews under testimonials */
.wa-reviews { margin-top: clamp(2.5rem, 5vw, 4rem); }
.wa-reviews-head { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.3rem); }
.wa-reviews-title { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--ink); margin: 0.3rem 0; }
.wa-reviews-sub { color: var(--ink-soft); font-size: 0.98rem; }
.wa-reviews-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(0.6rem, 1.4vw, 1rem);
}
.wa-shot {
    margin: 0; border-radius: 12px; overflow: hidden;
    background: var(--sand-deep); box-shadow: var(--shadow-card);
    cursor: zoom-in; border: 1px solid var(--line);
}
.wa-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.6s var(--ease); }
.wa-shot:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .wa-reviews-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .wa-reviews-grid { grid-template-columns: repeat(2, 1fr); } }

/* reel video inside the lightbox (native player) */
.modal-video {
    border: none; border-radius: 14px; background: #000;
    max-width: min(440px, 94vw); max-height: 86vh;
    width: auto; height: auto; display: block;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.6rem, 1.5vw, 1.1rem);
}
.gallery-tile {
    margin: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px;
    background: var(--sand-deep);
    box-shadow: var(--shadow-card);
}
.gallery-tile img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    transition: transform 0.7s var(--ease);
    cursor: zoom-in;
}
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-cta { text-align: center; margin-top: clamp(2rem, 4vw, 2.8rem); }
.btn-ig {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.6rem;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--gold);
}
.btn-ig:hover { background: var(--ink-2); color: #fff; }
.btn-ig .social-icon { width: 20px; height: 20px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { gap: 0.5rem; } }

/* size hint under the size selector */
.size-hint {
    display: flex; align-items: center; gap: 0.45rem;
    margin-top: 0.8rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
}
.size-hint .z-icon { color: var(--gold); flex: 0 0 auto; }
.size-hint .z-icon svg { width: 16px; height: 16px; }

.insta-section { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--sand); }
.insta-head { text-align: center; margin-bottom: 2.5rem; }
.insta-handle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 0.8rem;
    font-weight: 600; color: var(--gold);
    transition: color var(--fast);
}
.insta-handle:hover { color: var(--ink); }
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.insta-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
}
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.insta-tile::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(33,28,22,0);
    transition: background var(--fast);
}
.insta-tile:hover img { transform: scale(1.08); }
.insta-tile:hover::after { background: rgba(33,28,22,0.18); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-section { padding-block: clamp(4rem, 8vw, 7rem); background: var(--paper); }
.faq-container { max-width: 820px; margin-inline: auto; }
.faq-section .section-title { margin-bottom: clamp(2rem, 4vw, 3rem); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    text-align: start;
    padding: 1.4rem 0.3rem;
    font-family: var(--f-display);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 500;
    color: var(--ink);
    transition: color var(--fast);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 300;
    color: var(--gold);
    transition: transform var(--smooth);
    font-family: var(--f-body);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
}
.faq-answer p {
    color: var(--ink-soft);
    line-height: 1.85;
    padding: 0 0.3rem 1.5rem;
    font-size: 1rem;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ink); color: rgba(246,241,232,0.7); padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: 3rem;
}
.footer-brand { max-width: 360px; }
.footer-logo { height: 30px; margin-bottom: 1.2rem; filter: brightness(0) invert(1); opacity: 0.95; }

/* Text wordmark logo (footer) */
.footer-wordmark {
    display: inline-block;
    font-family: var(--f-latin);
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--paper);
    padding-inline-start: 0.24em;
    margin-bottom: 1.2rem;
}
.brand-bio { line-height: 1.8; font-size: 0.94rem; margin-bottom: 1.4rem; }
.social-links { display: flex; gap: 0.8rem; }
.social-links a {
    width: 42px; height: 42px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(246,241,232,0.85);
    transition: background var(--fast), color var(--fast), border-color var(--fast), transform var(--fast);
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.social-icon { width: 18px; height: 18px; }

.footer-links-col h4 {
    font-family: var(--f-body);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 1.2rem;
    font-weight: 700;
}
.footer-links-col a {
    display: block;
    color: rgba(246,241,232,0.7);
    font-size: 0.94rem;
    padding: 0.4rem 0;
    transition: color var(--fast), padding-inline-start var(--fast);
}
.footer-links-col a:hover { color: var(--paper); padding-inline-start: 6px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.5rem; }
.footer-bottom-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.copyright { font-size: 0.84rem; color: rgba(246,241,232,0.6); }
.payment-icons { display: flex; gap: 0.8rem; color: var(--gold-soft); font-size: 1.2rem; }

/* =====================================================================
   STICKY CTA
   ===================================================================== */
.sticky-cta-bar {
    position: fixed;
    inset-inline: 0; bottom: 0;
    z-index: 40;
    background: rgba(246,241,232,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 0.8rem 0;
    transform: translateY(0);
    opacity: 1;
    transition: transform var(--smooth), opacity var(--smooth);
    box-shadow: 0 -10px 30px -18px rgba(33,28,22,0.3);
}
.sticky-cta-bar.hidden-cta { transform: translateY(120%); opacity: 0; pointer-events: none; }
.sticky-cta-btn { width: 100%; }
.sticky-cta-bar .container { padding-inline: var(--gutter); }

/* =====================================================================
   FLOATING WHATSAPP
   ===================================================================== */
.floating-whatsapp {
    position: fixed;
    inset-inline-start: 22px; bottom: 92px;
    z-index: 45;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px -8px rgba(31,168,85,0.6);
    transition: transform var(--fast), box-shadow var(--fast);
    animation: wa-pulse 2.6s var(--ease) infinite;
}
.floating-whatsapp svg { width: 28px; height: 28px; }
.floating-whatsapp:hover { transform: scale(1.08) translateY(-2px); }
@keyframes wa-pulse {
    0% { box-shadow: 0 12px 28px -8px rgba(31,168,85,0.6), 0 0 0 0 rgba(31,168,85,0.4); }
    70% { box-shadow: 0 12px 28px -8px rgba(31,168,85,0.6), 0 0 0 14px rgba(31,168,85,0); }
    100% { box-shadow: 0 12px 28px -8px rgba(31,168,85,0.6), 0 0 0 0 rgba(31,168,85,0); }
}
@media (prefers-reduced-motion: reduce) { .floating-whatsapp { animation: none; } }

/* =====================================================================
   IMAGE MODAL / LIGHTBOX
   ===================================================================== */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(20,16,12,0.92);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.image-modal.show { display: flex; animation: fade 0.3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
    max-width: 90vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius);
    cursor: zoom-in;
    transition: transform 0.4s var(--ease);
}
.modal-content.zoomed { transform: scale(1.8); cursor: zoom-out; }
.close-modal {
    position: absolute;
    top: 1.4rem; inset-inline-end: 1.6rem;
    font-size: 2.4rem;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    line-height: 1;
    transition: color var(--fast), transform var(--fast);
}
.close-modal:hover { color: #fff; transform: rotate(90deg); }

/* =====================================================================
   CART DRAWER
   ===================================================================== */
.cart-overlay {
    position: fixed; inset: 0;
    z-index: 90;
    background: rgba(20,16,12,0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--smooth), visibility var(--smooth);
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0; bottom: 0;
    left: 0; right: auto;
    z-index: 100;
    width: min(420px, 92vw);
    background: var(--paper);
    display: flex;
    flex-direction: column;
    transform: translateX(-110%);
    visibility: hidden;
    transition: transform var(--smooth), visibility var(--smooth);
    box-shadow: var(--shadow-rise);
}
.cart-drawer.active { transform: translateX(0); visibility: visible; }

.cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid var(--line);
}
.cart-header h2 { font-family: var(--f-display); font-size: 1.4rem; }
.close-cart-btn {
    width: 36px; height: 36px; border-radius: 50%;
    font-size: 1.6rem; color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--fast), color var(--fast);
}
.close-cart-btn:hover { background: rgba(33,28,22,0.06); color: var(--ink); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; }
.empty-cart-msg { text-align: center; color: var(--muted); padding: 3rem 1rem; }

.cart-item {
    display: flex; gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}
.cart-item-img {
    width: 78px; height: 96px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.cart-item-title { font-family: var(--f-display); font-size: 1.05rem; color: var(--ink); }
.cart-item-meta { font-size: 0.82rem; color: var(--muted); }
.cart-item-price { font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; }
.cart-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 0.4rem; }
.cart-item-actions .quantity-controls { transform: scale(0.9); transform-origin: inline-start; }
.remove-item-btn {
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--fast);
}
.remove-item-btn:hover { color: #B0432F; }

/* Savings bar */
.cart-savings-bar {
    padding: 1rem 1.6rem;
    background: var(--sand);
    border-top: 1px solid var(--line);
}
.savings-unlocked { font-size: 0.9rem; font-weight: 700; color: var(--olive); margin-bottom: 0.35rem; }
.savings-next { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.savings-amount { color: var(--gold); font-weight: 700; }
.savings-progress {
    height: 6px;
    background: var(--sand-deep);
    border-radius: 999px;
    overflow: hidden;
}
.savings-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-soft), var(--gold));
    border-radius: 999px;
    transition: width var(--smooth);
}

.cart-footer { padding: 1.4rem 1.6rem; border-top: 1px solid var(--line); background: var(--paper-2); }
.cart-total {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 700;
}
.cart-total span:first-child { color: var(--ink-soft); }
.cart-total #cart-total-price { font-family: var(--f-display); font-size: 1.4rem; color: var(--ink); }
.order-now-btn { width: 100%; }

/* =====================================================================
   TOAST
   ===================================================================== */
.toast-notification {
    position: fixed;
    bottom: 100px; inset-inline-end: 22px;
    z-index: 150;
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0.95rem 1.4rem;
    border-radius: var(--radius);
    font-weight: 500;
    box-shadow: var(--shadow-rise);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--smooth), opacity var(--smooth), visibility var(--smooth);
}
.toast-notification.show { transform: translateY(0); opacity: 1; visibility: visible; }
.toast-notification .z-icon { color: var(--gold-soft); }

/* =====================================================================
   BASKET PAGE (basket.html)
   ===================================================================== */
.basket-section { padding-block: clamp(3rem, 7vw, 5rem); min-height: 60vh; background: var(--paper); }
.basket-section .section-title { text-align: center; margin-bottom: 0.6rem; }
.title-underline {
    width: 64px; height: 2px;
    background: var(--gold);
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    border-radius: 2px;
}
#full-cart-items-container { max-width: 760px; margin-inline: auto; }

/* Basket: before / after price summary */
.full-cart-summary {
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    max-width: 420px;
    margin-inline: auto;
}
.full-cart-price-compare {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 1.2rem;
    background: var(--sand);
    border-radius: var(--radius);
}
.full-cart-price-compare .ft-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.full-cart-price-compare .ft-before {
    text-decoration: line-through;
    color: var(--muted);
}
.full-cart-price-compare .ft-savings .ft-key { color: var(--olive); font-weight: 600; }
.full-cart-price-compare .ft-save { color: var(--olive); font-weight: 700; }
.full-cart-total {
    text-align: center;
    font-family: var(--f-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.6rem;
}
.full-cart-total span { color: var(--ink); }
.full-cart-actions { display: flex; flex-direction: column; gap: 0.9rem; }

/* =====================================================================
   SCROLL REVEAL (driven by script.js: .fade-up + .visible)
   ===================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-up.visible { opacity: 1; transform: none; }
/* Never hide critical above-the-fold or purchase content, even before the JS reveal fires */
.hero-content.fade-up,
.hero-image.fade-up,
.product-gallery.fade-up,
.product-info.fade-up {
    opacity: 1 !important;
    transform: none !important;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
    .hero-container { min-height: auto; }
    .product-gallery { position: static; }
}

@media (max-width: 860px) {
    /* Solid navbar on mobile: backdrop-filter would trap the fixed off-canvas menu inside the navbar box */
    .navbar {
        background: var(--paper);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    /* Nav → mobile */
    .mobile-menu-toggle { display: flex; }
    .header-left { flex: 0; }
    .header-right { flex: 0; }
    .nav-links {
        position: fixed;
        top: 0; bottom: 0;
        left: 0; right: auto;
        width: min(320px, 86vw);
        background: var(--paper);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 6rem 2rem 2rem;
        transform: translateX(-110%);
        visibility: hidden;
        transition: transform var(--smooth), visibility var(--smooth);
        box-shadow: var(--shadow-rise);
        z-index: 80;
    }
    .nav-links.active { transform: translateX(0); visibility: visible; }
    .nav-links a { font-size: 1.2rem; font-family: var(--f-display); }
    .nav-links a::after { display: none; }
    .mobile-only-link { display: block; color: var(--gold) !important; }

    /* Hero stacks */
    .hero-container { grid-template-columns: 1fr; }
    .hero-content {
        order: 2;
        padding: 2.6rem var(--gutter) 3rem;
        max-width: none;
        margin-inline-start: 0;
        text-align: center;
        align-items: center;
    }
    .category-tag { align-self: center; }
    .hero-content .mobile-desc { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-trustline { justify-content: center; }
    .hero-image.hero-slider { order: 1; min-height: 64vh; aspect-ratio: 3/4; }

    /* Story stacks */
    .story-layout { grid-template-columns: 1fr; }
    .story-figure { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
    .story-container { text-align: center; }
    .story-container .section-eyebrow { text-align: center; }

    /* Product stacks */
    .product-container { grid-template-columns: 1fr; }
    .product-gallery { grid-template-columns: 1fr; }
    .thumbnail-gallery { flex-direction: row; order: 2; justify-content: center; flex-wrap: wrap; }
    .main-image-container { order: 1; }

    /* Grids → fewer columns */
    .features-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .insta-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { max-width: none; margin-inline: auto; }
    .social-links { justify-content: center; }
    .footer-bottom-content { justify-content: center; text-align: center; }

    .floating-whatsapp { bottom: 90px; inset-inline-start: 16px; width: 52px; height: 52px; }
    .floating-whatsapp svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
    .nav-container { min-height: 64px; }
    .logo img { height: 26px; }
    .logo-wordmark { font-size: 1.45rem; letter-spacing: 0.2em; padding-inline-start: 0.2em; }
    .product-price-stock { flex-direction: column; align-items: flex-start; }
    .guarantee-cards { grid-template-columns: 1fr; }
    .order-summary-mini { font-size: 0.8rem; }
    .toast-notification { inset-inline: 16px; bottom: 96px; justify-content: center; }
}

/* --- v1.9 — always-visible order form polish --- */
.order-form-section .opt { opacity: .55; font-size: .8em; font-weight: 400; }
.product-secondary-action { margin-top: 1rem; }
.product-secondary-action .add-basket-btn { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: .5rem; }

/* ---- Hero offer line (price + COD + delivery) ---- */
.hero-offer {
	font-family: 'Tajawal', sans-serif;
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--ink, #211C16);
	margin: 14px 0 6px;
	letter-spacing: .2px;
}
.hero-offer strong { color: var(--gold, #B08A52); }

/* ---- Delivery reassurance under the form note ---- */
.delivery-note {
	color: var(--olive, #6C6F52) !important;
	font-weight: 600;
}

/* ---- Add-to-basket demoted to a quiet text link ---- */
.basket-link-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	color: var(--muted, #908676);
	font-family: 'Tajawal', sans-serif;
	font-size: .92rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	padding: 8px 4px;
	margin: 4px auto 0;
}
.basket-link-btn:hover { color: var(--ink, #211C16); }

/* ---- "Made with love in Tanger" footer line ---- */
.made-with-love {
	font-family: 'Tajawal', sans-serif;
	font-size: .85rem;
	color: var(--muted, #908676);
	margin-top: 6px;
	letter-spacing: .3px;
}
.love-heart { color: #C0392B; }

/* ---- Footer phone link: keep right-aligned like the other support links ---- */
.footer-links-col a.footer-phone {
	direction: rtl;
	unicode-bidi: plaintext;
}
.footer-links-col a.footer-phone span[dir="ltr"] {
	unicode-bidi: embed;
}
