/* Galileo Optical storefront.
   Layout: a navy "showroom" (header, hero, lens + store bands) framing cream "counter" sections where products sit.
   One committed look taken from the brand's posters: navy spotlight, gold hairlines, warm sand. */
:root {
  --navy: #0e1830;
  --navy-2: #17264a;
  --navy-3: #22355f;
  --gold: #c8a26a;
  --gold-2: #e3cfa6;
  --cream: #f7f2ea;
  --sand: #ece2d2;
  --paper: #fffdf9;
  --ink: #141a2c;
  --muted: #555a69;
  --gold-ink: #85602b;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --line: #e0d5c3;
  --sale: #a8322d;
  --ok: #2f7a4f;
  --on-navy: #eef0f6;
  --on-navy-muted: #c3c9da;
  --f-display: "El Messiri", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --f-brand: "Michroma", "Segoe UI", Arial, sans-serif;
  --r: 14px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.2; margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.eyebrow { font-family: var(--f-brand); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .eyebrow.ar-text { font-family: var(--f-body); letter-spacing: 0; font-size: 13px; font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding-inline: 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(200, 162, 106, .12); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon { width: 20px; height: 20px; flex: none; }

/* announcement */
.announce { background: var(--gold); color: var(--navy); font-size: 13.5px; font-weight: 600; text-align: center; padding-block: 8px; }
.announce .wrap { display: flex; justify-content: center; gap: 10px; align-items: center; flex-wrap: wrap; }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(14, 24, 48, .97); backdrop-filter: blur(8px); color: var(--on-navy); border-bottom: 1px solid rgba(200, 162, 106, .25); }
.header .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--on-navy-muted); }
.nav a:hover, .nav a.active { color: var(--on-navy); background: rgba(255, 255, 255, .06); }
.tools { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.tool { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: none; border: 0; color: var(--on-navy); }
.tool:hover { background: rgba(255, 255, 255, .08); }
.tool .badge { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 9px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.lang { font-family: var(--f-brand); font-size: 11px; letter-spacing: .1em; border: 1px solid rgba(200, 162, 106, .5); border-radius: 999px; padding: 6px 12px; background: none; color: var(--gold-2); }
html[lang="en"] .lang { font-family: var(--f-body); letter-spacing: 0; font-size: 14px; }
.burger { display: none; }
.search-bar { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 12px; }
.search-bar input { width: 100%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 12px 20px; color: var(--on-navy); }
.search-bar input::placeholder { color: var(--on-navy-muted); }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: flex; }
.drawer .scrim { flex: 1; background: rgba(5, 10, 22, .55); }
.drawer .panel { width: min(86vw, 340px); background: var(--navy); color: var(--on-navy); padding: calc(20px + env(safe-area-inset-top, 0px)) 22px calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer .panel a { padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 17px; }

/* hero */
.hero { position: relative; background: radial-gradient(ellipse 60% 70% at 70% 0%, #2c4277 0%, var(--navy-2) 40%, var(--navy) 80%); color: var(--on-navy); overflow: hidden; }
html[dir="rtl"] .hero { background: radial-gradient(ellipse 60% 70% at 30% 0%, #2c4277 0%, var(--navy-2) 40%, var(--navy) 80%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: 56px 64px; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero h1 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 700; color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 18px; color: var(--on-navy-muted); max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-art .arch { aspect-ratio: 4 / 5; border-radius: 220px 220px 18px 18px; overflow: hidden; border: 1px solid rgba(200, 162, 106, .45); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.hero-art .arch img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.hero-art .ring { position: absolute; inset: -14px; border-radius: 234px 234px 26px 26px; border: 1px solid rgba(200, 162, 106, .25); pointer-events: none; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 2px; border: 0; background: rgba(255, 255, 255, .2); padding: 0; }
.hero-dots button[aria-current="true"] { background: var(--gold); }
.trust { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 6px; color: var(--on-navy-muted); font-size: 14px; }
.trust b { color: var(--gold-2); font-weight: 600; }

/* sections */
.section { padding-block: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head .more { color: var(--navy-3); font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.navy { background: var(--navy); color: var(--on-navy); }
.navy .section-head .more { color: var(--gold-2); }
.sand { background: var(--sand); }

/* categories */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cat { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); color: #fff; isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 16, 34, .88) 0%, rgba(10, 16, 34, .1) 55%); z-index: -1; }
.cat:hover img { transform: scale(1.05); }
.cat span { position: absolute; inset-inline: 14px; bottom: 14px; font-family: var(--f-display); font-size: 20px; font-weight: 600; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card .ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .ph img { transform: scale(1.04); }
.tag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--paper); color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag.sale { background: var(--sale); color: #fff; }
.tag + .tag { top: 42px; }
.fav { position: absolute; top: 10px; inset-inline-end: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .92); display: grid; place-items: center; color: var(--navy); }
.fav[aria-pressed="true"] { color: var(--sale); }
.card .brand { font-family: var(--f-brand); font-size: 10px; letter-spacing: .22em; color: var(--muted); }
.card h3 { font-family: var(--f-body); font-size: 16px; font-weight: 600; line-height: 1.4; }
.price { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price .now { font-weight: 700; font-size: 17px; color: var(--navy); }
.price s { color: var(--muted); font-size: 14px; }
.navy .price .now { color: var(--gold-2); }
.navy .card .brand { color: var(--on-navy-muted); }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* promo banner */
.promo { position: relative; border-radius: 22px; overflow: hidden; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.promo img { width: 100%; height: 100%; object-fit: cover; }
.promo .copy { padding: 44px; display: grid; align-content: center; gap: 16px; }
.promo h2 { font-size: clamp(30px, 4vw, 52px); color: var(--gold-2); }

/* lenses */
.lens-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.lens-grid .pic { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; }
.lens-grid .pic img { width: 100%; height: 100%; object-fit: cover; }
.lens-list { display: grid; gap: 2px; margin-top: 24px; }
.lens-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(200, 162, 106, .2); }
.lens-row b { font-size: 17px; }
.lens-row small { display: block; color: var(--on-navy-muted); font-size: 14px; }
.lens-row .num { color: var(--gold-2); font-weight: 600; }

/* brands */
.brands { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-chip { font-family: var(--f-brand); font-size: 13px; letter-spacing: .24em; padding: 18px 26px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--navy); }
.brand-chip:hover { border-color: var(--gold); }

/* kids band */
.kids { background: linear-gradient(115deg, #bfe3f7 0 50%, #f6c9d3 50% 100%); border-radius: 22px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.kids .copy { padding: 44px; display: grid; align-content: center; gap: 14px; color: var(--navy); }
.kids h2 { font-size: clamp(28px, 3.4vw, 42px); }
.kids img { width: 100%; height: 100%; object-fit: cover; }

/* store */
.store { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.store .pics { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.store .pics img { border-radius: var(--r); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.store .pics img:first-child { aspect-ratio: auto; }
.info-list { display: grid; gap: 14px; margin-block: 22px; }
.info-list div { display: flex; gap: 12px; align-items: flex-start; }
.info-list .icon { color: var(--gold); margin-top: 3px; }
.info-list .num { direction: ltr; unicode-bidi: isolate; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: grid; gap: 12px; }
.post-card .ph { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-size: 21px; }
.post-card p { color: var(--muted); }
.date { font-size: 13px; color: var(--muted); }

/* page header */
.page-head { background: var(--navy); color: var(--on-navy); padding-block: 40px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); color: #fff; }
.crumbs { font-size: 14px; color: var(--on-navy-muted); margin-bottom: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold-2); }

/* shop */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 36px; padding-block: 40px 72px; }
.filters { display: grid; gap: 24px; align-content: start; position: sticky; top: 96px; }
.filters h4 { margin: 0 0 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar select, .field input, .field select, .field textarea { border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 11px 14px; min-height: 46px; width: 100%; }
.toolbar select { width: auto; }
.filter-toggle { display: none; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding-block: 40px 72px; }
.gallery { display: grid; gap: 12px; align-content: start; min-width: 0; }
.gallery .main { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--sand); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { width: 76px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.buy h1 { font-size: clamp(28px, 3vw, 38px); }
.buy .price .now { font-size: 26px; }
.specs { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); }
.specs li::before { content: "—"; color: var(--gold); margin-inline-end: 8px; }
.opt-title { font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; }
.lens-opts { display: grid; gap: 8px; }
.lens-opt { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--paper); cursor: pointer; }
.lens-opt:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.lens-opt input { accent-color: var(--navy); }
.lens-opt small { display: block; color: var(--muted); font-size: 13px; }
.lens-opt .num { font-weight: 600; color: var(--navy-3); }
.rx { border: 1px dashed var(--gold); border-radius: 14px; padding: 16px; display: grid; gap: 12px; background: var(--paper); }
.rx-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.rx-table { display: grid; grid-template-columns: 56px repeat(3, minmax(0, 1fr)); gap: 6px; align-items: center; direction: ltr; font-variant-numeric: tabular-nums; }
.rx-table span { font-size: 12px; font-family: var(--f-brand); letter-spacing: .08em; color: var(--muted); text-align: center; }
.rx-table input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 9px 6px; text-align: center; min-height: 42px; background: #fff; }
.rx .pd { display: flex; gap: 10px; align-items: center; direction: ltr; }
.rx .pd input { width: 90px; border: 1px solid var(--line); border-radius: 8px; padding: 9px; text-align: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty button { width: 42px; height: 42px; border: 0; background: none; font-size: 18px; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.buy-row .btn-navy { flex: 1; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 13px; color: var(--muted); }
.perks div { background: var(--paper); border-radius: 12px; padding: 12px; display: grid; gap: 4px; }
.perks b { color: var(--navy); font-size: 14px; }

/* cart & checkout */
.cart > *, .form > *, .two > *, .summary > * { min-width: 0; }
.btn-block { white-space: normal; text-align: center; }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; padding-block: 40px 72px; align-items: start; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.line img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.line .meta { color: var(--muted); font-size: 14px; }
.line .rm { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 13px; padding: 0; }
.summary { background: var(--paper); border-radius: 18px; padding: 24px; display: grid; gap: 14px; position: sticky; top: 96px; border: 1px solid var(--line); }
.summary .row { display: flex; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.summary .total { font-size: 20px; font-weight: 700; color: var(--navy); border-top: 1px solid var(--line); padding-top: 14px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.coupon button { border: 1px solid var(--navy); background: none; border-radius: 10px; padding-inline: 14px; }
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .err { color: var(--sale); font-size: 13px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--paper); cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.pay-opt small { display: block; color: var(--muted); font-size: 13px; }
.notice { background: #fff7e6; border: 1px solid #ecd7a8; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.notice.ok { background: #eaf6ee; border-color: #b9dcc6; }

/* article */
.article { max-width: 760px; margin-inline: auto; padding-block: 40px 72px; display: grid; gap: 22px; }
.article .cover { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article .body p { margin-bottom: 1.1em; font-size: 18px; max-width: 65ch; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* footer */
.footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.footer a { display: block; padding-block: 4px; }
.footer a:hover { color: var(--gold-2); }
.footer .logo img { height: 70px; margin-bottom: 14px; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 36px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-logos span { border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px; padding: 3px 8px; font-size: 12px; color: var(--on-navy); }

/* floating whatsapp + toast */
.wa-float { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); inset-inline-end: calc(18px + env(safe-area-inset-right, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); }
.toast { position: fixed; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 90; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); font-size: 15px; max-width: calc(100vw - 32px); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { display: none; }
  .burger { display: inline-grid; }
}
@media (max-width: 860px) {
  .hero .wrap, .lens-grid, .store, .pdp, .cart, .promo, .kids { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 32px 44px; gap: 28px; }
  .hero-art { width: min(78%, 360px); order: -1; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filter-toggle { display: inline-flex; }
  .posts { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .promo .copy, .kids .copy { padding: 28px; }
  .promo img, .kids img { max-height: 300px; }
  .summary { position: static; }
  .section { padding-block: 52px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .posts, .footer .cols, .form .two { grid-template-columns: 1fr; }
  .card h3 { font-size: 14px; }
  .price .now { font-size: 15px; }
  .logo img { height: 38px; }
  .header .wrap { gap: 8px; min-height: 64px; }
  .tool { width: 40px; height: 40px; }
  .perks { grid-template-columns: 1fr; }
  .line { grid-template-columns: 72px 1fr; }
  .line img { width: 72px; }
  .line > :last-child { grid-column: 2; }
  .hero p.lead { font-size: 16px; }
}

/* ===================== v2: contrast, consistency, motion ===================== */
/* gold text on light grounds uses the darker ink so it stays readable */
.section:not(.navy) .eyebrow, .page-head + .wrap .eyebrow, .buy .eyebrow, .kids .eyebrow, .store .eyebrow { color: var(--gold-ink); }
.navy .eyebrow, .hero .eyebrow, .promo .eyebrow, .marquee .eyebrow { color: var(--gold); }
.section-head > div { display: grid; gap: 8px; }
.section-head .more { display: inline-flex; gap: 6px; align-items: center; color: var(--navy); }
.section-head .more span { transition: transform .3s var(--ease); }
.section-head .more:hover span { transform: translateX(-4px); }
html[dir="ltr"] .section-head .more:hover span { transform: translateX(4px); }
.price s { color: #8b8e99; }
.card .brand { color: var(--muted); }
.lens-note { margin-top: 10px; font-size: 14px; color: var(--gold-ink); background: #fbf4e6; border-radius: 10px; padding: 10px 12px; }
.lens-row { grid-template-columns: 1fr; gap: 2px; }
.lens-row small { font-size: 14.5px; }

/* page entrance */
main { animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* header */
.header { transition: background .3s, box-shadow .3s; }
.header .wrap { transition: min-height .3s var(--ease); }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.header.scrolled .wrap { min-height: 62px; }
.nav a { position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a:hover, .nav a.active { background: none; }
.tool { transition: background .2s, transform .2s; }
.tool:hover { transform: translateY(-1px); }

/* buttons: soft lift + light sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(14, 24, 48, .6); }
.btn:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); }
.section .btn-ghost, .store .btn-ghost, .summary .btn-ghost { border-color: var(--navy); color: var(--navy); }

/* hero: spotlight, staggered copy, slow zoom */
.hero::before { content: ""; position: absolute; inset: -20% 0 auto; height: 120%; background: radial-gradient(ellipse 30% 55% at 72% 0%, rgba(227, 207, 166, .22), transparent 70%); pointer-events: none; animation: beam 6s ease-in-out infinite alternate; }
html[dir="rtl"] .hero::before { background: radial-gradient(ellipse 30% 55% at 28% 0%, rgba(227, 207, 166, .22), transparent 70%); }
@keyframes beam { from { opacity: .55; } to { opacity: 1; } }
.hero .wrap { position: relative; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-copy > :nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-art { animation: rise 1s var(--ease) both .1s; }
.hero-art .arch img { transform-origin: 65% 75%; animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.2); } to { transform: scale(1.08); } }
.hero-art .ring { animation: float 6s ease-in-out infinite; border-color: rgba(200, 162, 106, .4); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-dots button { transition: background .3s, width .3s; cursor: pointer; }
.hero-dots button[aria-current="true"] { width: 52px; }
.hero h1 { letter-spacing: -.01em; }

/* categories */
.cat::after { background: linear-gradient(to top, rgba(8, 13, 28, .92) 0%, rgba(8, 13, 28, .35) 45%, rgba(8, 13, 28, 0) 70%); }
.cat img { transition: transform .8s var(--ease); }
.cat span { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cat span i { font-style: normal; color: var(--gold-2); transition: transform .3s var(--ease); }
.cat:hover span i { transform: translateX(-6px); }
html[dir="ltr"] .cat:hover span i { transform: translateX(6px); }
.cat { transition: transform .4s var(--ease), box-shadow .4s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(14, 24, 48, .7); }

/* product cards */
.card .ph { transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.card:hover .ph { transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(14, 24, 48, .65); }
.card .ph img { transition: transform .8s var(--ease), opacity .5s; }
.card .ph .alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.card:hover .ph .alt { opacity: 1; }
.tags { position: absolute; top: 12px; inset-inline-start: 12px; display: grid; gap: 6px; justify-items: start; }
.tags .tag { position: static; }
.quick { position: absolute; inset-inline: 12px; bottom: 12px; background: rgba(255, 253, 249, .95); color: var(--navy); text-align: center; font-weight: 600; font-size: 14px; padding: 10px; border-radius: 999px; transform: translateY(140%); transition: transform .4s var(--ease); }
.card:hover .quick, .card .ph:focus-visible .quick { transform: none; }
.fav { transition: transform .2s, color .2s; z-index: 2; }
.fav:hover { transform: scale(1.1); }
.card h3 a { transition: color .2s; }
.card h3 a:hover { color: var(--gold-ink); }
@media (hover: none) { .quick { display: none; } }

/* promo + kids + store polish */
.promo img, .kids img { transition: transform 1.2s var(--ease); }
.promo:hover img, .kids:hover img { transform: scale(1.04); }
.promo, .kids { box-shadow: 0 30px 60px -40px rgba(14, 24, 48, .6); }
.store .pics img { transition: transform .8s var(--ease); }
.store .pics img:hover { transform: scale(1.02); }
.post-card .ph img { transition: transform .8s var(--ease); }
.post-card:hover .ph img { transform: scale(1.05); }
.post-card h3 { transition: color .2s; }
.post-card:hover h3 { color: var(--gold-ink); }

/* brand marquee */
.marquee { background: var(--navy); color: var(--on-navy); padding-block: 40px 44px; overflow: hidden; display: grid; gap: 20px; }
.marquee .eyebrow { text-align: center; }
.marquee-track { display: flex; width: max-content; direction: ltr; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: 44px; padding-inline-end: 44px; }
.marquee-row a { font-family: var(--f-brand); font-size: clamp(20px, 3vw, 34px); letter-spacing: .22em; color: var(--on-navy); opacity: .85; white-space: nowrap; transition: color .2s, opacity .2s; }
.marquee-row a:hover { color: var(--gold-2); opacity: 1; }
.marquee-row .dot { color: var(--gold); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* scroll reveal (only applied to items below the first screen) */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.rv-in { opacity: 1; transform: none; }

/* forms & choices */
.lens-opt, .pay-opt, .chip { transition: border-color .2s, box-shadow .2s, background .2s; }
.lens-opt:hover, .pay-opt:hover { border-color: var(--gold); }
.chip:hover { border-color: var(--navy); }
.field input:focus, .field select, .field textarea:focus, .coupon input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(200, 162, 106, .25); }
.wa-float { animation: pop .6s var(--ease) both 1s; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-row[aria-hidden="true"] { display: none; }
  .rv { opacity: 1; transform: none; }
}
