/* =====================================================================
   Melora — storefront
   Palette: fern ink, blush petal, peony, sage, pollen on petal-white paper
   Motif:   the arch — florist window + Gulf architecture
   ===================================================================== */

:root {
    --ink: #17302A;
    --fern: #1F3A32;
    --fern-2: #2B4C42;
    --petal: #F2C6C2;
    --petal-2: #F9E3E0;
    --peony: #C2457A;
    --peony-dk: #A2335F;
    --sage: #A9BFA5;
    --pollen: #E9B949;
    --paper: #FFF8F6;
    --white: #FFFFFF;
    --muted: #5C6E67;
    --line: rgba(23, 48, 42, .13);
    --line-2: rgba(23, 48, 42, .22);
    --ok: #3E7B5A;
    --err: #B3324B;

    --f-display: 'Lora', Georgia, 'Times New Roman', serif;
    --f-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --r-sm: 10px;
    --r-md: 18px;
    --arch: 999px 999px 0 0;
    --shadow: 0 18px 40px -22px rgba(23, 48, 42, .35);
    --ease: cubic-bezier(.22, .8, .24, 1);
    --wrap: 1240px;
    --notice-h: 0px;
}

html[lang="ar"] {
    --f-display: 'Almarai', 'Segoe UI', Tahoma, sans-serif;
    --f-body: 'Almarai', 'Segoe UI', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.9; font-size: 15.5px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--petal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--peony); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Wholesale-only (v1.7) ---------- */
.card-sub { color: var(--muted); font-size: .86rem; margin: -2px 0 6px; }
.price-ask { color: var(--peony); font-weight: 700; }
.pdp-sub { color: var(--muted); font-size: 1.1rem; margin: -6px 0 10px; }
.block-help { margin: -4px 0 16px; font-size: .9rem; }
.block-help:empty { display: none; }
.bh-title { color: var(--muted); margin: 6px 0 8px; }
.bh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bh-chip { border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 5px 13px; font: inherit; font-size: .88rem; cursor: pointer; direction: ltr; transition: background .15s, color .15s; }
.bh-chip:hover, .bh-chip.is-on { background: var(--fern); border-color: var(--fern); color: var(--paper); }
.bh-note { margin: 4px 0 6px; color: var(--muted); }
.bh-note.ok { color: var(--ok); font-weight: 600; }
.bh-note.warn { color: var(--peony-dk); }
.bh-switch { border: 0; background: var(--petal); color: var(--peony-dk); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: .85rem; cursor: pointer; margin-inline-start: 6px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.4; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 46ch; }
.link-more { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-more .icon { width: 1em; }
html[dir="rtl"] .link-more .icon, html[dir="rtl"] .btn .icon-flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--fern); --fg: var(--paper);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 26px;
    border: 1px solid var(--bg); border-radius: 999px;
    background: var(--bg); color: var(--fg);
    font-weight: 600; font-size: .98rem; white-space: nowrap;
    transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(23,48,42,.55); }
.btn:active { transform: translateY(0); }
.btn-peony { --bg: var(--peony); }
.btn-peony:hover { --bg: var(--peony-dk); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { --bg: var(--white); }
.btn-light { --bg: var(--paper); --fg: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.icon-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; border: 1px solid transparent; background: transparent; position: relative;
    transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--white); border-color: var(--line); }

/* ---------- Notice bar (delivery only) ---------- */
.notice {
    background: var(--fern); color: var(--paper);
    font-size: .88rem; position: relative; z-index: 60;
}
.notice .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 9px; text-align: center; }
.notice .icon { color: var(--petal); }
.notice strong { color: var(--petal); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 248, 246, .86);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand { flex: none; }
.brand-name { font-family: 'Lora', Georgia, serif; font-size: 1.55rem; font-style: italic; font-weight: 500; }
html[lang="ar"] .brand-name { font-family: 'Almarai', sans-serif; font-style: normal; font-weight: 800; font-size: 1.45rem; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .96rem; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); background: var(--petal-2); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.lang-switch { font-weight: 600; font-size: .9rem; padding: 8px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.lang-switch:hover { background: var(--white); }
.cart-count {
    position: absolute; top: 2px; inset-inline-end: 0;
    min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
    background: var(--peony); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center;
    transform: scale(0); transition: transform .35s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-toggle { display: none; }

/* Mobile nav */
.mobile-nav {
    position: fixed; inset: 0; z-index: 80; background: var(--fern); color: var(--paper);
    display: flex; flex-direction: column; padding: 28px;
    clip-path: circle(0 at calc(100% - 44px) 40px);
    transition: clip-path .6s var(--ease); visibility: hidden;
}
html[dir="rtl"] .mobile-nav { clip-path: circle(0 at 44px 40px); }
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
html[dir="rtl"] .mobile-nav.is-open { clip-path: circle(150% at 44px 40px); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; }
.mobile-nav nav a { font-family: var(--f-display); font-size: 2.1rem; padding: 4px 0; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s var(--ease); }
.mobile-nav.is-open nav a { opacity: 1; transform: none; }
.mobile-nav.is-open nav a:nth-child(2) { transition-delay: .05s; } .mobile-nav.is-open nav a:nth-child(3) { transition-delay: .1s; }
.mobile-nav.is-open nav a:nth-child(4) { transition-delay: .15s; } .mobile-nav.is-open nav a:nth-child(5) { transition-delay: .2s; }
.mobile-nav.is-open nav a:nth-child(6) { transition-delay: .25s; }
.mobile-nav .icon-btn { color: var(--paper); }
.mobile-nav .icon-btn:hover { background: rgba(255,255,255,.08); border-color: transparent; }
.mobile-nav-foot { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; font-size: .95rem; opacity: .85; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-word {
    font-family: 'Lora', Georgia, serif; font-style: italic; font-weight: 500;
    font-size: clamp(4.2rem, 12vw, 9.5rem); line-height: .95; margin: 0 0 .2em;
    letter-spacing: -.02em; color: var(--fern);
}
html[lang="ar"] .hero-word { font-family: 'Almarai', sans-serif; font-style: normal; font-weight: 800; letter-spacing: 0; line-height: 1.15; font-size: clamp(3.8rem, 11vw, 8.5rem); }
.hero-word .ch { display: inline-block; opacity: 0; transform: translateY(.4em) rotate(4deg); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 150ms); }
html[lang="ar"] .hero-word .ch { display: inline; animation-name: fadein; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
.hero-sub { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 30ch; margin-bottom: 30px; color: var(--ink); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-chip {
    display: inline-flex; gap: 10px; align-items: center; margin-top: 34px;
    padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
    font-size: .92rem;
}
.hero-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pollen); box-shadow: 0 0 0 0 rgba(233,185,73,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(233,185,73,0); } 100% { box-shadow: 0 0 0 0 rgba(233,185,73,0); } }

.hero-art { position: relative; justify-self: center; width: min(100%, 470px); }
.hero-arch {
    position: relative; aspect-ratio: 4 / 5.2; border-radius: var(--arch); overflow: hidden;
    background: radial-gradient(120% 80% at 50% 100%, #F6D6D2 0%, var(--petal-2) 55%, #FDF0EE 100%);
}
.hero-arch::after { content: ""; position: absolute; inset: 14px 14px 0; border-radius: var(--arch); border: 1px solid rgba(31,58,50,.16); border-bottom: 0; pointer-events: none; }
.hero-bouquet { position: absolute; inset: 6% 4% -2%; width: 92%; height: 96%; }
#petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-tag {
    position: absolute; inset-inline-start: -18px; bottom: 16%; z-index: 2;
    background: var(--fern); color: var(--paper); padding: 14px 18px; border-radius: 14px;
    font-size: .88rem; line-height: 1.4; box-shadow: var(--shadow);
    transform: rotate(-4deg); opacity: 0; animation: tag-in .8s var(--ease) 2s forwards;
}
.hero-tag strong { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; color: var(--petal); }
@keyframes tag-in { from { opacity: 0; transform: rotate(-4deg) translateY(16px); } to { opacity: 1; transform: rotate(-4deg); } }

/* Bloom sequence */
.hero-bouquet .hb-stems path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) .15s forwards; }
.hero-bouquet .hb-leaf { opacity: 0; animation: fadein .6s ease forwards; animation-delay: var(--d); }
.hero-bouquet .hb-gyp { opacity: 0; animation: fadein 1s ease 1.6s forwards; }
.hero-bouquet .hb-flower { transform: scale(0) rotate(-40deg); transform-box: view-box; animation: bloom .9s cubic-bezier(.3,1.5,.5,1) forwards; animation-delay: var(--d); }
.hero-bouquet .hb-wrap { transform: translateY(40px); opacity: 0; animation: wrapup .9s var(--ease) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes bloom { to { transform: scale(1) rotate(0); } }
@keyframes wrapup { to { transform: none; opacity: 1; } }
.hero-bouquet .hb-flower:hover { animation: none; transform: scale(1.08); transition: transform .4s var(--ease); }

/* ---------- Two ways to buy ---------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.way {
    position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end;
    padding: 34px; min-height: 280px; border-radius: 28px; overflow: hidden; isolation: isolate;
    transition: transform .4s var(--ease);
}
.way:hover { transform: translateY(-4px); }
.way-retail { background: var(--petal-2); }
.way-wholesale { background: var(--fern); color: var(--paper); }
.way h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 8px; }
.way p { margin: 0 0 18px; max-width: 34ch; opacity: .85; }
.way-art { width: 150px; aspect-ratio: 3/4; border-radius: var(--arch); overflow: hidden; align-self: stretch; max-height: 210px; }
.way-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.way:hover .way-art img { transform: scale(1.08); }
.way-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.7); color: var(--ink); }
.way-wholesale .pill { background: rgba(255,255,255,.1); color: var(--paper); }

/* ---------- Category rail ---------- */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat { scroll-snap-align: start; text-align: center; }
.cat-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 12px; border: 1px solid var(--line); background: var(--white); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.1) rotate(-3deg); }
.cat-name { font-weight: 600; }
.cat-count { display: block; font-size: .85rem; color: var(--muted); }

/* ---------- Product grid & card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--petal-2); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform 1s var(--ease); }
.card-media .img-2 { opacity: 0; transform: scale(1.06); }
.card:hover .card-media .img-1 { transform: scale(1.04); }
.card:hover .card-media .img-2 { opacity: 1; transform: scale(1); }
.badges { position: absolute; top: 18%; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--white); color: var(--ink); box-shadow: 0 4px 10px -6px rgba(0,0,0,.3); }
.badge-sale { background: var(--peony); color: #fff; }
.badge-ws { background: var(--fern); color: var(--paper); }
.card-quick {
    position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 2;
    width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink);
    display: grid; place-items: center; box-shadow: 0 8px 20px -10px rgba(0,0,0,.45);
    transform: translateY(8px) scale(.9); opacity: 0; transition: all .35s var(--ease);
}
.card:hover .card-quick, .card-quick:focus-visible { opacity: 1; transform: none; }
.card-quick:hover { background: var(--peony); color: #fff; }
.card-body { padding: 14px 4px 0; }
.card-cat { font-size: .82rem; color: var(--muted); }
.card-title { font-family: var(--f-display); font-size: 1.28rem; margin: 2px 0 6px; line-height: 1.25; }
.card-title a:hover { color: var(--peony); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.price del { color: var(--muted); font-weight: 500; font-size: .88rem; }
.price .now-sale { color: var(--peony); }
.ws-line { font-size: .84rem; color: var(--muted); margin-top: 2px; }
.ws-line b { color: var(--fern); font-weight: 700; }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: 1.4fr 1fr; grid-auto-rows: 1fr; gap: 20px; }
.offer {
    position: relative; overflow: hidden; border-radius: 28px; min-height: 250px; color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; isolation: isolate;
}
.offer:first-child { grid-row: span 2; min-height: 520px; }
.offer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); object-position: 85% center; }
html[dir="rtl"] .offer img { transform: scaleX(-1); }
.offer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(23,48,42,.82), rgba(23,48,42,.15) 70%); }
.offer:hover img { transform: scale(1.05); }
html[dir="rtl"] .offer:hover img { transform: scaleX(-1) scale(1.05); }
.offer h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 6px; }
.offer p { max-width: 40ch; margin-bottom: 16px; opacity: .92; }
.offer .countdown { font-size: .85rem; opacity: .85; margin-bottom: 12px; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 28px 24px 8px 0; position: relative; counter-increment: step; }
html[dir="rtl"] .step { padding: 28px 0 8px 24px; }
.step::before { content: counter(step); font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--petal); display: block; margin-bottom: 14px; }
.step::after { content: ""; position: absolute; top: -5px; inset-inline-start: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--peony); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Wholesale band ---------- */
.band { background: var(--fern); color: var(--paper); border-radius: 36px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.band-text { padding: clamp(36px, 6vw, 72px); }
.band-text .lead { color: rgba(255,248,246,.75); }
.band-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.band-list li { display: flex; gap: 12px; align-items: flex-start; }
.band-list .icon { color: var(--petal); margin-top: 4px; }
.band-art { position: relative; min-height: 320px; }
.band-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; background: var(--white); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.3rem); white-space: nowrap; color: var(--fern); }
.marquee span .icon { color: var(--peony); width: 1.1em; height: 1.1em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Page header ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) 32px; }
.page-head h1 { margin-bottom: 10px; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--peony); }

/* ---------- Shop ---------- */
.filters { display: grid; gap: 16px; margin-bottom: 36px; }
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; font-weight: 500; background: transparent; transition: all .2s; }
.chip:hover { border-color: var(--fern); }
.chip.is-active { background: var(--fern); border-color: var(--fern); color: var(--paper); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); position: relative; }
.seg a, .seg button { position: relative; z-index: 1; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; border: 0; background: transparent; color: var(--muted); transition: color .25s; }
.seg .is-active { color: var(--paper); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; border-radius: 999px; background: var(--fern); transition: all .4s var(--ease); z-index: 0; }
.search-box { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 16px; background: var(--white); min-width: 240px; }
.search-box input { border: 0; outline: 0; background: transparent; height: 42px; width: 100%; }
.select-sm { height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); padding: 0 16px; }
.result-count { color: var(--muted); font-size: .92rem; }

.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: 28px; }
.empty .icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--peony); stroke-width: 1.1; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 44ch; margin-inline: auto; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: 100px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.thumb { padding: 0; border: 1.5px solid transparent; border-radius: 999px 999px 8px 8px; overflow: hidden; aspect-ratio: 4/5; background: var(--petal-2); opacity: .6; transition: all .25s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: var(--fern); }
.stage { position: relative; aspect-ratio: 4/5; border-radius: var(--arch); overflow: hidden; background: var(--petal-2); cursor: zoom-in; touch-action: pan-y; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s ease, transform .4s ease; }
.stage img.is-active { opacity: 1; }
.stage.is-zoom img.is-active { transform: scale(1.9); }
.stage-nav { position: absolute; bottom: 16px; inset-inline: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 2; pointer-events: none; }
.stage-nav button { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 6px 18px -10px rgba(0,0,0,.4); }
.stage-nav .prev .icon { transform: scaleX(-1); }
html[dir="rtl"] .stage-nav .prev .icon { transform: none; }
html[dir="rtl"] .stage-nav .next .icon { transform: scaleX(-1); }
.stage-count { pointer-events: none; background: rgba(23,48,42,.75); color: #fff; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }

.pdp-info h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 8px; }
.pdp-short { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; font-size: 1.7rem; font-weight: 700; font-family: var(--f-body); }
.pdp-price del { font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.pdp-price .save { font-size: .82rem; background: var(--peony); color: #fff; padding: 3px 10px; border-radius: 999px; align-self: center; }
.pdp-unit { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.pdp-block { padding-block: 22px; border-top: 1px solid var(--line); }
.pdp-label { font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; }
.pdp-label small { font-weight: 500; color: var(--muted); }
.mode-note { margin-top: 12px; font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.mode-note .icon { color: var(--fern); margin-top: 3px; }
.buy-row { display: flex; gap: 12px; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { color: var(--peony); }
.qty input { width: 52px; border: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; outline: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 38px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 40px; }
.delivery-card { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--petal-2); font-size: .94rem; }
.delivery-card .icon { color: var(--peony); width: 26px; height: 26px; margin-top: 2px; }
.delivery-card strong { display: block; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .3s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .acc-body { padding-bottom: 20px; color: var(--muted); white-space: pre-line; }

/* ---------- Fly-to-cart ---------- */
.fly { position: fixed; z-index: 120; width: 70px; height: 88px; border-radius: 999px 999px 10px 10px; overflow: hidden; pointer-events: none; box-shadow: var(--shadow); transition: transform .8s cubic-bezier(.5,-.3,.6,1), opacity .8s; }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(23,48,42,.4); z-index: 90; opacity: 0; visibility: hidden; transition: all .35s; }
.drawer {
    position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 95;
    width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .5s var(--ease), visibility .5s; visibility: hidden;
}
html[dir="rtl"] .drawer { transform: translateX(-100%); }
body.drawer-open .drawer { transform: none; visibility: visible; box-shadow: -20px 0 50px -30px rgba(0,0,0,.4); }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-lines { padding: 8px 24px; flex: 1; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--white); }
.free-bar { margin-bottom: 14px; font-size: .88rem; }
.free-bar .track { height: 6px; border-radius: 6px; background: var(--petal-2); overflow: hidden; margin-top: 8px; }
.free-bar .fill { height: 100%; background: var(--peony); border-radius: 6px; transition: width .6s var(--ease); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: center; }
.line:last-child { border-bottom: 0; }
.line-img { width: 72px; aspect-ratio: 4/5; border-radius: 999px 999px 8px 8px; overflow: hidden; background: var(--petal-2); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-weight: 600; line-height: 1.35; display: block; }
.line-meta { font-size: .84rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 3px 0 8px; }
.mode-tag { font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--petal-2); color: var(--peony-dk); }
.mode-tag.ws { background: #E3ECE6; color: var(--fern); }
.line-end { text-align: end; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line-total { font-weight: 700; }
.line-remove { border: 0; background: transparent; color: var(--muted); padding: 4px; border-radius: 6px; }
.line-remove:hover { color: var(--err); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 5px; }
.sum-row.total { font-size: 1.2rem; font-weight: 700; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
.sum-row .disc { color: var(--peony); }
.drawer-empty { margin: auto; text-align: center; padding: 40px; }
.drawer-empty .icon { width: 54px; height: 54px; margin: 0 auto 16px; color: var(--petal); stroke-width: 1.2; }

/* ---------- Cart page ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.panel h2, .panel h3 { font-size: 1.35rem; }
.sticky { position: sticky; top: 100px; }
.promo-form { display: flex; gap: 8px; margin-block: 16px; }
.promo-form input { flex: 1; text-transform: uppercase; }
.promo-applied { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--petal-2); font-size: .9rem; margin-block: 14px; }
.promo-applied button { border: 0; background: transparent; color: var(--peony-dk); font-weight: 600; text-decoration: underline; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 600; font-size: .92rem; }
.field label small { font-weight: 400; color: var(--muted); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
    border: 1px solid var(--line-2); background: var(--white); outline: 0;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fern); box-shadow: 0 0 0 4px rgba(31,58,50,.08); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--err) !important; }
.field-error { color: var(--err); font-size: .84rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; accent-color: var(--fern); margin-top: 4px; flex: none; }
.check a { text-decoration: underline; }
.form-section { padding-block: 26px; border-top: 1px solid var(--line); }
.form-section:first-of-type { border-top: 0; padding-top: 0; }
.form-section > h2 { font-size: 1.4rem; display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.form-section > h2 .num { width: 32px; height: 32px; border-radius: 50%; background: var(--fern); color: var(--paper); display: grid; place-items: center; font-family: var(--f-body); font-size: .9rem; font-weight: 700; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card > span { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--white); cursor: pointer; transition: all .2s; font-weight: 500; height: 100%; }
.radio-card > span small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.radio-card > input:checked + span { border-color: var(--fern); box-shadow: inset 0 0 0 1px var(--fern); background: #F4F8F5; }
.radio-card > input:focus-visible + span { outline: 2px solid var(--peony); outline-offset: 2px; }
.radio-card .icon { color: var(--fern); }
.benefit-box { margin-top: 14px; padding: 18px; border-radius: 16px; background: var(--petal-2); display: none; }
.benefit-box.is-open { display: block; animation: fadein .4s; }
.benefit-number { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--white); border-radius: 12px; margin-block: 10px 14px; font-weight: 700; font-size: 1.1rem; direction: ltr; }
.copy-btn { border: 0; background: var(--fern); color: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; }
.drop { display: grid; place-items: center; gap: 6px; text-align: center; padding: 24px; border: 1.5px dashed var(--line-2); border-radius: 14px; background: var(--white); cursor: pointer; transition: border-color .2s; }
.drop:hover, .drop.is-over { border-color: var(--peony); }
.drop .icon { width: 30px; height: 30px; color: var(--peony); }
.drop input { position: absolute; opacity: 0; width: 1px; }
.drop-preview { max-height: 160px; border-radius: 10px; margin-top: 8px; }
.gift-fields { display: none; }
.gift-fields.is-open { display: block; animation: fadein .4s; }
.counter { font-size: .8rem; color: var(--muted); text-align: end; }

/* ---------- Alerts / toast ---------- */
.alert { display: flex; gap: 12px; padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: #E5F0E9; color: var(--ok); }
.alert-error { background: #F8E4E8; color: var(--err); }
.alert-info { background: var(--petal-2); color: var(--ink); }
.toast {
    visibility: hidden;
    position: fixed; bottom: 24px; inset-inline-start: 50%; z-index: 130;
    background: var(--fern); color: var(--paper); padding: 14px 20px; border-radius: 999px;
    display: flex; gap: 10px; align-items: center; font-weight: 500; box-shadow: var(--shadow);
    transform: translate(-50%, 140%); transition: transform .5s var(--ease);
}
html[dir="rtl"] .toast { transform: translate(50%, 140%); }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }
html[dir="rtl"] .toast.is-show { transform: translate(50%, 0); visibility: visible; }
.toast.is-error { background: var(--err); }
.toast .icon { color: var(--petal); }

/* ---------- Success & tracking ---------- */
.success { max-width: 760px; margin-inline: auto; text-align: center; }
.success-mark { width: 92px; height: 92px; margin: 0 auto 24px; }
.success-mark circle { fill: none; stroke: var(--petal); stroke-width: 3; stroke-dasharray: 290; stroke-dashoffset: 290; animation: ring 1s var(--ease) forwards; }
.success-mark path { fill: none; stroke: var(--peony); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: ring .6s var(--ease) .7s forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.order-no { display: inline-block; font-weight: 700; font-size: 1.3rem; padding: 8px 18px; border-radius: 12px; background: var(--petal-2); letter-spacing: .04em; direction: ltr; margin-block: 6px 20px; }
.receipt { text-align: start; margin-top: 32px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.timeline { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: tl; }
.timeline li { position: relative; text-align: center; font-size: .86rem; color: var(--muted); padding-top: 44px; counter-increment: tl; }
.timeline li::before { content: counter(tl); position: absolute; top: 0; inset-inline-start: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--line-2); font-weight: 700; color: var(--muted); z-index: 1; }
html[dir="rtl"] .timeline li::before { transform: translateX(50%); }
.timeline li::after { content: ""; position: absolute; top: 16px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); font-weight: 600; }
.timeline li.done::before { content: "✓"; background: var(--fern); border-color: var(--fern); color: #fff; }
.timeline li.done::after { background: var(--fern); }
.timeline li.current::before { background: var(--peony); border-color: var(--peony); color: #fff; content: counter(tl); box-shadow: 0 0 0 6px rgba(194,69,122,.15); }
.status-cancelled { padding: 14px; border-radius: 12px; background: #F8E4E8; color: var(--err); font-weight: 600; }

/* ---------- Content pages ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.about-art { border-radius: var(--arch); overflow: hidden; aspect-ratio: 9/11; }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.value .icon { width: 34px; height: 34px; color: var(--peony); margin-bottom: 14px; stroke-width: 1.3; }
.value h3 { font-size: 1.25rem; }
.value p { color: var(--muted); margin: 0; }
.prose { max-width: 68ch; }
.prose p { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-items { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
a.contact-item:hover { border-color: var(--fern); transform: translateY(-2px); }
.contact-item .ci-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--petal-2); display: grid; place-items: center; color: var(--peony); flex: none; }
.contact-item small { display: block; color: var(--muted); font-size: .84rem; }
.contact-item strong { font-weight: 600; }
.contact-item .ltr { direction: ltr; unicode-bidi: embed; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.legal-nav { position: sticky; top: 100px; display: grid; gap: 4px; }
.legal-nav a { padding: 10px 16px; border-radius: 12px; color: var(--muted); font-weight: 500; }
.legal-nav a:hover { color: var(--ink); background: var(--white); }
.legal-nav a.is-active { background: var(--fern); color: var(--paper); }
.legal-body h2 { font-size: 1.45rem; margin-top: 36px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #33463F; }
.legal-body ul { padding-inline-start: 22px; }
.legal-updated { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.ws-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.ws-hero-art { border-radius: 32px; overflow: hidden; aspect-ratio: 3/2; }
.ws-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.ws-terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ws-term { padding: 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.ws-term strong { display: block; font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; color: var(--peony); line-height: 1.2; margin-bottom: 4px; }
.ws-term span { color: var(--muted); font-size: .93rem; }
.ws-form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-block: 90px; }
.nf .big { font-family: var(--f-display); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--petal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,248,246,.78); margin-top: clamp(60px, 8vw, 110px); padding-top: 72px; overflow: hidden; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: var(--paper); font-family: var(--f-body); font-weight: 700; font-size: .98rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--petal); }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,248,246,.2); display: grid; place-items: center; transition: all .2s; }
.footer-social a:hover { background: var(--petal); color: var(--ink); border-color: var(--petal); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--petal); }
.footer-giant { font-family: 'Lora', Georgia, serif; font-style: italic; font-size: clamp(5rem, 22vw, 19rem); line-height: .78; color: rgba(255,248,246,.06); text-align: center; letter-spacing: -.04em; user-select: none; margin-bottom: -.12em; }
.footer-bottom { border-top: 1px solid rgba(255,248,246,.1); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.pay-icons { display: flex; gap: 10px; align-items: center; }
.pay-icons span { padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(255,248,246,.2); font-size: .78rem; font-weight: 600; }

/* ---------- Loader (home, first visit) ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: grid; place-items: center; transition: opacity .6s, visibility .6s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader img { width: 74px; animation: loader-bloom 1.2s var(--ease) infinite alternate; }
@keyframes loader-bloom { from { transform: scale(.85) rotate(-6deg); } to { transform: scale(1.05) rotate(6deg); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; } .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; } .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; } .reveal-stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .56s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .ws-terms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nav { display: none; }
    .menu-toggle { display: inline-grid; }
    .header-actions { margin-inline-start: auto; }
    .hero-grid, .about-hero, .ws-hero, .contact-grid, .ws-form-wrap, .cart-grid, .pdp, .legal-grid, .band { grid-template-columns: 1fr; }
    .hero-art { order: -1; width: min(82%, 380px); }
    .hero-tag { inset-inline-start: -8px; }
    .ways, .offers { grid-template-columns: 1fr; }
    .offer:first-child { grid-row: auto; min-height: 340px; }
    .steps { grid-template-columns: 1fr 1fr; }
    .values { grid-template-columns: 1fr; }
    .gallery { position: static; grid-template-columns: 1fr; }
    .thumbs { flex-direction: row; order: 2; overflow-x: auto; max-height: none; }
    .thumb { width: 70px; flex: none; }
    .sticky, .legal-nav { position: static; }
    .legal-nav { grid-auto-flow: column; overflow-x: auto; }
    .legal-nav a { white-space: nowrap; }
    .band-art { min-height: 260px; order: -1; }
    .timeline { grid-template-columns: 1fr; text-align: start; gap: 0; }
    .timeline li { text-align: start; padding: 6px 0 22px; padding-inline-start: 50px; }
    .timeline li::before { inset-inline-start: 0; transform: none !important; }
    .timeline li::after { width: 2px; height: 100%; top: 34px; inset-inline-start: 16px; }
}
@media (max-width: 640px) {
    .wrap { width: min(100% - 32px, var(--wrap)); }
    .header-row { height: 66px; gap: 12px; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
    .card-title { font-size: 1.08rem; }
    .card-quick { opacity: 1; transform: none; width: 40px; height: 40px; }
    .way { grid-template-columns: 1fr; padding: 26px; }
    .way-art { display: none; }
    .steps { grid-template-columns: 1fr; }
    .row-2, .row-4 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .ws-terms { grid-template-columns: 1fr 1fr; }
    .filter-row { flex-direction: column; align-items: stretch; }
    .search-box { min-width: 0; }
    .buy-row { flex-wrap: wrap; }
    .notice { font-size: .8rem; }
    .lang-switch span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}

/* =====================================================================
   Separate retail / wholesale sections
   ===================================================================== */
.page-head-ws { background: var(--fern); color: var(--paper); margin-bottom: 40px; padding-bottom: 40px; }
.page-head-ws .crumbs { color: rgba(255,248,246,.6); }
.page-head-ws .crumbs a:hover { color: var(--petal); }
.page-head-ws .lead { color: rgba(255,248,246,.78); }
.ws-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; margin-top: 22px; font-size: .94rem; }
.ws-strip span { display: inline-flex; gap: 8px; align-items: center; }
.ws-strip .icon { color: var(--petal); }
.ws-strip .link-more { color: var(--petal); margin-inline-start: auto; }
.card-ws .card-media { background: #E3ECE6; }
.price .per-unit { font-weight: 500; color: var(--muted); font-size: .84rem; }
.switch-section {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: clamp(48px, 7vw, 80px); padding: 26px 30px; border-radius: 24px;
    border: 1px solid var(--line-2); transition: border-color .25s, background .25s;
}
.switch-section:hover { border-color: var(--fern); background: var(--white); }
.switch-section span { font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.switch-section small { display: block; font-family: var(--f-body); font-size: .9rem; color: var(--muted); }
.switch-section .icon { width: 28px; height: 28px; color: var(--peony); }
html[dir="rtl"] .switch-section .icon, html[dir="rtl"] .other-section .icon { transform: scaleX(-1); }
.section-tag { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--fern); color: var(--paper); font-size: .84rem; font-weight: 600; margin-bottom: 14px; }
.section-tag .icon { color: var(--petal); width: 1.1em; }
.other-section { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 18px; border-radius: var(--r-md); border: 1px dashed var(--line-2); font-size: .94rem; transition: border-color .2s; }
.other-section:hover { border-color: var(--fern); }
.other-section span { flex: 1; color: var(--muted); }
.other-section .icon { color: var(--fern); }
.line-group { display: flex; align-items: center; gap: 8px; padding: 14px 0 4px; font-size: .82rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); }
.line-group .icon { width: 1.1em; color: var(--peony); }
@media (max-width: 640px) { .ws-strip .link-more { margin-inline-start: 0; } .switch-section { padding: 20px; } }
/* keep "-15%" readable inside Arabic text */
.badge-sale, .pdp-price .save, .a-chip.sale { direction: ltr; unicode-bidi: isolate; }

/* Cash on delivery — the only payment method */
.pay-cod { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1.5px solid var(--fern); background: #F4F8F5; }
.pay-cod > .icon { width: 30px; height: 30px; color: var(--fern); }
.pay-cod div { flex: 1; }
.pay-cod strong { display: block; }
.pay-cod div span { color: var(--muted); font-size: .9rem; }
.pay-amount { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }

/* Categories menu in the header */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-chev { width: .85em; height: .85em; transform: rotate(90deg); transition: transform .25s var(--ease); }
.nav-drop:hover .nav-chev, .nav-drop:focus-within .nav-chev { transform: rotate(-90deg); }
.nav-panel {
    position: absolute; top: calc(100% + 14px); inset-inline-start: 50%; translate: -50% 0; z-index: 60;
    width: min(560px, 90vw); padding: 18px; border-radius: 22px; background: var(--white);
    border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
html[dir="rtl"] .nav-panel { translate: 50% 0; }
.nav-panel::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }   /* hover bridge */
.nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel { opacity: 1; visibility: visible; transform: none; }
.nav-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.nav-panel-modes { display: flex; gap: 4px; }
.nav .nav-panel-modes a { padding: 5px 12px; font-size: .86rem; border: 1px solid var(--line-2); }
.nav .nav-panel-modes a:hover { border-color: var(--fern); }
.nav-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nav .nav-cat { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; color: var(--ink); }
.nav .nav-cat:hover { background: var(--petal-2); }
.nav-cat img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex: none; }
.nav-cat span { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.nav-cat small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.mobile-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; opacity: 0; transition: opacity .4s .15s; }
.mobile-nav.is-open .mobile-cats { opacity: 1; }
.mobile-cats a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,248,246,.25); font-size: .9rem; }
.mobile-nav nav .mobile-cats a { font-family: var(--f-body); font-size: .9rem; padding: 6px 12px; opacity: 1; transform: none; }

/* Logo image */
.brand-logo { height: 48px; width: auto; max-width: none; display: block; }
.mobile-nav .brand-logo { height: 40px; }
.footer-brand .brand-logo { height: 52px; }
.loader img { width: 96px; }
@media (max-width: 640px) { .brand-logo { height: 40px; } }

/* ---------- My orders ---------- */
.orders-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.orders-list { display: grid; gap: 14px; }
.order-card { display: grid; gap: 12px; padding: 20px 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.order-card:hover { border-color: var(--fern); transform: translateY(-2px); }
.order-card-top, .order-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-card-top strong { font-size: 1.1rem; letter-spacing: .02em; }
.order-card-meta { display: flex; gap: 8px 20px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.order-card-meta > span { display: inline-flex; gap: 6px; align-items: center; }
.order-card-meta .icon { color: var(--peony); width: 1.05em; }
.order-card-foot .link-more { margin-inline-start: auto; font-size: .9rem; }
.status-pill { padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.status-pill.s-pending { background: #FBF1E2; color: #9A6A0E; }
.status-pill.s-confirmed { background: #E6EEF7; color: #2F5C8A; }
.status-pill.s-preparing { background: #F4E6F7; color: #7A3E8A; }
.status-pill.s-out_for_delivery { background: #E3F1F1; color: #2C6F6F; }
.status-pill.s-delivered { background: #E5F0E9; color: var(--ok); }
.status-pill.s-cancelled { background: #F8E4E8; color: var(--err); }
.cancel-hint { display: inline-flex; gap: 6px; align-items: center; color: #9A6A0E; background: #FBF1E2; padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin: 0; }
.cancel-hint .icon { width: 1.05em; }
.cancel-box h3 { margin-bottom: 10px; }
.cancel-box .cancel-hint { margin-bottom: 14px; }
.danger-btn { --fg: var(--err); border-color: rgba(179,50,75,.35); }
.danger-btn:hover { --bg: #F8E4E8; }

/* ---------- Delivery location ---------- */
.map-box { margin-top: 6px; padding: 18px; border-radius: 18px; border: 1.5px dashed var(--line-2); background: var(--paper); }
.map-box.has-point { border-style: solid; border-color: var(--fern); }
.map-head .label { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.map-head .label small { font-weight: 400; color: var(--muted); }
.map-head .icon { color: var(--peony); }
.map-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.map-status { font-size: .88rem; color: var(--muted); }
.map-status.ok { color: var(--ok); font-weight: 600; }
.map-clear { border: 0; background: none; color: var(--err); text-decoration: underline; font-size: .86rem; padding: 0; }
.map-search { margin-top: 12px; }
.map-canvas { height: 320px; border-radius: 14px; margin-top: 10px; background: var(--petal-2); }
.map-failed .map-canvas, .map-failed .map-search, .map-failed .map-tip { display: none; }
.map-tip { font-size: .84rem; margin: 8px 0 0; }
.map-preview { width: 100%; height: 220px; border: 0; border-radius: 14px; margin-top: 12px; }
@media (max-width: 900px) { .orders-wrap { grid-template-columns: 1fr; } }
.driver-note { display: flex; gap: 10px; align-items: center; margin: 4px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--petal-2); font-size: .92rem; }
.driver-note .icon { color: var(--peony); }

/* Wholesale lead time (checkout) */
.ws-lead { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #E3ECE6; color: var(--fern); margin-bottom: 18px; }
.ws-lead .icon { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.ws-lead strong { display: block; font-size: 1.02rem; }
.ws-lead span { color: var(--ink); font-size: .93rem; }
/* Store not taking orders */
.notice.is-closed { background: var(--err); }
.notice.is-closed .icon, .notice.is-closed strong { color: #fff; }

/* Phone layouts: readable forms, comfortable controls, and room for the flowers. */
@media (max-width: 900px) {
    .hero-grid, .cart-grid, .pdp, .orders-wrap { min-width: 0; }
    .cart-grid > *, .pdp > *, .orders-wrap > *, .field { min-width: 0; }
    .mobile-nav { height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
    .mobile-nav nav { margin-top: 24px; }
    .mobile-nav-foot { padding-top: 24px; }
    .mobile-nav-foot a { min-height: 44px; display: inline-flex; align-items: center; }
    .drawer-foot { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
    .header-row { gap: 6px; height: 68px; }
    .header-row .brand { min-width: 0; flex: 1; }
    .header-row .brand-logo { width: min(100%, 154px); height: auto; max-width: 100%; }
    .header-actions { flex: none; gap: 0; }
    .header-actions .icon-btn, .header-actions .lang-switch { width: 40px; height: 44px; min-width: 40px; padding: 0; justify-content: center; }
    .notice { padding-inline: 16px; line-height: 1.6; }
    .hero { padding-block: 24px 40px; }
    .hero-grid { gap: 26px; }
    .hero-art { width: min(70%, 290px); }
    .hero-sub { font-size: 1.05rem; margin-bottom: 20px; max-width: 100%; }
    .hero-ctas { gap: 10px; }
    .hero-ctas .btn { flex: 1 1 140px; padding-inline: 14px; }
    .section { padding-block: 40px; }
    .section-head { gap: 12px; flex-wrap: wrap; align-items: flex-start; }
    .section-head h2 { font-size: 1.75rem; }
    .page-head { padding-block: 28px 22px; }
    .page-head h1 { font-size: 2rem; overflow-wrap: anywhere; }
    .page-head .lead { font-size: 1rem; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .card { min-width: 0; padding-bottom: 52px; }
    .card-body { padding-inline: 2px; }
    .card-title { font-size: 1.02rem; line-height: 1.5; overflow-wrap: anywhere; }
    .card-sub, .ws-line { font-size: .78rem; line-height: 1.6; overflow-wrap: anywhere; }
    .price { gap: 4px 6px; font-size: .92rem; }
    .card-quick { width: 44px; height: 44px; bottom: 0; inset-inline-end: 2px; background: var(--fern); color: #fff; box-shadow: none; }
    .badges { inset-inline-start: 6px; max-width: calc(100% - 12px); }
    .badge { font-size: .68rem; padding: 4px 8px; }
    .filters { gap: 12px; margin-bottom: 24px; }
    .filter-row, .filter-row form { width: 100%; min-width: 0; }
    .filters .chips { flex-wrap: nowrap; overflow-x: auto; padding-block: 2px 8px; overscroll-behavior-x: contain; }
    .filters .chip { white-space: nowrap; flex: none; min-height: 44px; }
    .search-box input { min-width: 0; height: 48px; }
    .select-sm { width: 100%; height: 48px; }
    .seg a, .seg button { flex: 1; text-align: center; padding-inline: 12px; }
    .gallery { gap: 10px; }
    .stage { max-height: 480px; }
    .thumbs { padding-bottom: 4px; }
    .thumb { width: 64px; }
    .pdp-info h1 { font-size: 1.8rem; line-height: 1.5; overflow-wrap: anywhere; }
    .pdp-short { font-size: 1rem; }
    .pdp-label { flex-wrap: wrap; gap: 4px 12px; }
    .buy-row { display: grid; grid-template-columns: minmax(0, 1fr); }
    .buy-row .qty { justify-self: start; }
    .buy-row > .btn { width: 100%; min-height: 52px; }
    .panel { padding: 18px; border-radius: 20px; }
    .cart-grid { gap: 20px; }
    .row-2 { grid-template-columns: minmax(0, 1fr); }
    .row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
    .field input, .field select, .field textarea, .input, .search-box input, .select-sm, .qty input { font-size: 16px; min-width: 0; }
    .line { grid-template-columns: 76px minmax(0, 1fr); gap: 10px 14px; align-items: start; }
    .line-img { width: 76px; grid-row: span 2; border-radius: 16px; }
    .line-name { overflow-wrap: anywhere; }
    .line-end { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; text-align: start; }
    .line-total { overflow-wrap: anywhere; }
    .line-remove { width: 44px; height: 44px; display: grid; place-items: center; background: var(--paper); }
    .qty-sm { height: 44px; }
    .qty-sm button { width: 40px; }
    .drawer-head, .drawer-foot { padding-inline: 18px; }
    .drawer-lines { padding-inline: 18px; }
    .promo-form input { min-width: 0; }
    .promo-form .btn { padding-inline: 14px; }
    .pay-cod { flex-wrap: wrap; padding: 16px; }
    .pay-cod div { min-width: 150px; }
    .pay-amount { width: 100%; padding-top: 8px; border-top: 1px solid var(--line); }
    .map-box { padding: 12px; }
    .map-canvas { height: 260px; }
    .order-card { padding: 18px; }
    .order-card-top strong { overflow-wrap: anywhere; }
    .footer-grid { gap: 28px; }
    .footer-bottom { gap: 12px; flex-wrap: wrap; }
    .mobile-nav { padding-inline: 22px; }
    .mobile-nav nav > a { font-size: 1.6rem; min-height: 44px; }
    .mobile-nav nav .mobile-cats a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (hover: none) {
    .card:hover .card-media .img-2 { opacity: 0; }
}
