/* Storefront — warm gallery neutrals, espresso ink, brass accent (same palette
   as the Flutter store). Motion uses only transform/opacity so the browser can
   keep scrolling on its compositor thread. */

:root {
  --linen: #F6F1EA; --paper: #FFFDF9; --sand: #EDE4D7; --ink: #221C17; --ink-soft: #71675C;
  --line: #E3D9CB; --brass: #A27C46; --gold: #C9A877; --sale: #A4472F; --sale-bg: #F4E2DC;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --track: .2em;          /* letter spacing of overlines and buttons */
  --display-scale: 1;     /* Arabic headings are drawn smaller (El Messiri is larger) */
  --gutter: 20px; --max: 1280px; --header: 64px; --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wa: #1DA851; --wa-deep: #128C4A; /* WhatsApp green (a shade darker so white text reads) */
}
[dir=rtl] {
  --serif: 'El Messiri', 'IBM Plex Sans Arabic', Tahoma, serif;
  --sans: 'IBM Plex Sans Arabic', Tahoma, system-ui, sans-serif;
  --track: 0; --display-scale: .8;
}
@media (min-width: 600px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }
@media (min-width: 1240px) { :root { --header: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); overflow-x: clip; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
s { color: var(--ink-soft); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
/* No blue tap box on phones and no ring on mouse/touch focus — pressed things shrink a little instead. */
html { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
.ic { flex: none; }

/* Page changes: pages cross-fade (the new one rising slightly), the header stays
   put, and a tapped product photo grows into the product page's photo (and
   back on Back) — store.js names the two photos "photo" for that navigation. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation: .2s ease-out both vt-out; }
::view-transition-new(root) { animation: .45s var(--ease) both vt-in; }
::view-transition-old(photo), ::view-transition-new(photo) { animation-duration: .45s; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
[dir=rtl] .ic .flip { transform: scaleX(-1); transform-origin: center; }
/* Visually hidden until focused (an offset like left:-9999px would widen right-to-left pages). */
.skip { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 99; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; clip-path: none; background: var(--paper); padding: 8px 12px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.display { font: 500 calc(var(--size, 38px) * var(--display-scale))/1.08 var(--serif); letter-spacing: -.005em; }
[dir=rtl] .display { font-weight: 600; line-height: 1.35; }
.overline { font: 500 11.5px/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--brass); }
.overline.soft, .soft { color: var(--ink-soft); }
.overline.ink { color: var(--ink); }
.overline.light { color: #E2C79B; }
.overline.gold { color: var(--gold); margin-bottom: 18px; }
.small { font-size: 13px; }
.lead { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius);
  font: 500 13.5px/1 var(--sans); letter-spacing: calc(var(--track) * .7); text-transform: uppercase; transition: opacity .2s, transform .15s var(--ease); }
.btn:hover { opacity: .88; }
.btn:active:not(:disabled), .icon-btn:active, .round:active:not(:disabled), .pill:active { transform: scale(.96); }
.icon-btn, .round, .pill { transition: transform .15s var(--ease), background-color .2s; }
.tile { transition: transform .25s var(--ease); }
.tile:active { transform: scale(.98); }
.btn:disabled { background: var(--sand); border-color: var(--sand); color: var(--ink-soft); cursor: default; opacity: 1; }
.btn.outline { background: transparent; color: var(--ink); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.block { display: flex; width: 100%; }
.btn.small { min-height: 40px; padding: 0 16px; }
.btn .dot { opacity: .5; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.icon-btn:hover { background: rgba(34, 28, 23, .06); }
.round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 253, 249, .92);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .12); }
.round:disabled { opacity: .35; cursor: default; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid currentColor; white-space: nowrap; flex: none;
  font: 500 12.5px/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; }
.arrow-link .ic { transition: transform .25s var(--ease); }
.arrow-link:hover .ic { transform: translateX(4px); }
[dir=rtl] .arrow-link:hover .ic { transform: translateX(-4px); }
.arrow-link.light { color: var(--paper); }
.link-btn { font-size: 13px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font-size: 14px; white-space: nowrap; }
.pill.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: 8px; }
@media (min-width: 1240px) { .bar { padding-inline: var(--gutter); } }
.bar-start, .bar-end { display: flex; align-items: center; gap: 2px; z-index: 1; }
.logo { position: absolute; inset-inline: 100px; text-align: center; font: 500 21px/1.05 var(--serif); letter-spacing: .06em; }
[dir=rtl] .logo { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: 0; }
@media (min-width: 1240px) {
  /* Wide screens: links | name | icons in three columns, so they never overlap. */
  .bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .bar-end { justify-content: flex-end; }
  .logo { position: static; max-width: 460px; font-size: clamp(22px, 2.1vw, 30px); }
  [dir=rtl] .logo { font-size: clamp(20px, 1.8vw, 26px); }
  .nav { gap: 22px; }
  .nav a { white-space: nowrap; letter-spacing: calc(var(--track) * .7); font-size: 12px; }
}
@media (min-width: 1240px) and (max-width: 1439px) { .nav a:nth-child(4):not(.sale) { display: none; } }
.logo.small { position: static; font-size: 22px; text-align: start; }
.logo.light { position: static; color: var(--paper); font-size: 34px; text-align: start; }
.nav { display: flex; gap: 30px; }
.nav a { font: 500 12.5px/1 var(--sans); letter-spacing: var(--track); text-transform: uppercase; padding: 10px 0; background:
  linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
[dir=rtl] .nav a { background-position: 100% 100%; }
.nav a:hover { background-size: 100% 1px; }
.nav .sale, .drawer-links .sale { color: var(--sale); }
.lang-switch { padding: 10px 12px; font-size: 14px; font-weight: 500; }
.cart-btn .count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brass); color: var(--paper); font: 600 10.5px/18px var(--sans); text-align: center; }
.only-wide { display: none !important; }
@media (min-width: 1240px) { .only-wide { display: flex !important; } .only-narrow { display: none !important; } }
.product .only-wide { display: none !important; }
@media (min-width: 1000px) { .product .only-wide { display: grid !important; } .product .g-thumbs.only-wide { display: flex !important; } .product .only-narrow { display: none !important; } }

/* reveal on scroll (only once the script runs) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* hero */
.hero { position: relative; height: clamp(480px, 74svh, 660px); overflow: hidden; background: #2b241e; color: var(--paper); }
@media (min-width: 900px) { .hero { height: clamp(560px, 80svh, 860px); } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease-out; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.slide.on img { animation: zoom 10s ease-out forwards; }
.hero.paused .slide img { animation-play-state: paused; }
@keyframes zoom { to { transform: scale(1.08); } }
.hero-shade { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(18, 14, 11, .75), rgba(18, 14, 11, .25) 50%, transparent 85%),
              linear-gradient(to right, rgba(18, 14, 11, .55), transparent 65%); }
[dir=rtl] .hero-shade { background: linear-gradient(to top, rgba(18, 14, 11, .75), rgba(18, 14, 11, .25) 50%, transparent 85%),
              linear-gradient(to left, rgba(18, 14, 11, .55), transparent 65%); }
.hero-text { position: absolute; inset-inline: 0; bottom: 80px; z-index: 3; }
.hero-text h1 { --size: 50px; line-height: .98; margin: 16px 0 18px; }
.hero-sub { max-width: 470px; color: rgba(255, 253, 249, .85); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.hero-dots { position: absolute; inset-inline: 0; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.hero-count { font: 500 12px/1 var(--sans); letter-spacing: .2em; color: rgba(255, 253, 249, .85); margin-inline-end: 10px; }
.hero-dot { width: 28px; padding: 10px 0; }
.hero-dot i { display: block; height: 2px; background: rgba(255, 253, 249, .3); overflow: hidden; }
.hero-dot.on i::after { content: ''; display: block; height: 100%; background: var(--paper); transform-origin: left; animation: fill 7s linear forwards; }
[dir=rtl] .hero-dot.on i::after { transform-origin: right; }
.hero.paused .hero-dot.on i::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 900px) {
  .hero-text { bottom: 104px; } .hero-text h1 { --size: 92px; margin: 22px 0 24px; } .hero-sub { font-size: 18px; }
  .hero-dots { bottom: 40px; justify-content: flex-end; } .hero-dot { width: 44px; }
}

/* sections */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 64px 0 24px; }
.section-head h2 { --size: 38px; margin-top: 12px; }
@media (min-width: 700px) { .section-head { padding: 112px 0 40px; } .section-head h2 { --size: 54px; } }
.page-head { padding: 40px var(--gutter) 8px; }
.page-head h1 { --size: 44px; margin: 14px 0 10px; }
.prose { padding-block: 8px 72px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.prose > * { max-width: 720px; }
.prose h2 { font: 600 calc(26px * var(--display-scale))/1.3 var(--serif); color: var(--ink); margin: 32px 0 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) { .page-head { padding-top: 72px; } .page-head h1 { --size: 68px; } }
.empty { padding: 72px var(--gutter); text-align: center; display: grid; justify-items: center; gap: 18px; }
.empty .display { --size: 32px; }

/* category tiles: swipe on phones, a row on wide screens */
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tiles:has(> :only-child) { grid-auto-columns: 100%; }
.tile { position: relative; height: 400px; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--sand); }
.tile > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover > img { transform: scale(1.05); }
.tile-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 14, 11, .7), transparent 60%); }
.tile-text { position: absolute; inset-inline: 24px; bottom: 26px; color: var(--paper); display: grid; gap: 10px; }
.tile-name { font: 500 calc(38px * var(--display-scale))/1.1 var(--serif); }
.tile .overline { display: inline-flex; align-items: center; gap: 10px; }
@media (min-width: 800px) {
  .tiles { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .tile { height: 520px; } .tile-text { inset-inline: 36px; bottom: 36px; } .tile-name { font-size: calc(50px * var(--display-scale)); }
}

/* product grid & cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
@media (min-width: 880px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; }
.ph { width: 100%; height: 100%; }
.ph.fit { object-fit: contain; background: #fff; }
.ph.fill { object-fit: cover; background: #F1EBE2; }
.ph-empty { display: block; width: 100%; height: 100%; background: #F1EBE2; }
.card-photo .ph { transition: transform .9s var(--ease), opacity .45s; }
.card-photo { transition: transform .25s var(--ease); }
.card:active .card-photo { transform: scale(.97); }
.card-photo .room { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card:hover .card-photo .ph { transform: scale(1.04); }
  .card:hover .card-photo .room[src] { opacity: 1; }
}
.badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; padding: 4px 9px; border-radius: 2px; background: var(--sale);
  color: var(--paper); font: 600 11px/1.3 var(--sans); letter-spacing: .05em; }
.badge.big { top: 18px; inset-inline-start: 18px; }
.card .overline { font-size: 10px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-name { font: 600 calc(20px * var(--display-scale))/1.2 var(--serif); margin: 4px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[dir=rtl] .card-name { line-height: 1.5; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.chips { display: flex; gap: 5px; flex: none; }
@media (max-width: 879px) {
  .chips .chip { --d: 13px !important; }
  .chips .chip:nth-child(n + 4) { display: none; }  /* phones: three colours fit next to the price */
}
@media (min-width: 880px) { .card-photo { margin-bottom: 16px; } .card .overline { font-size: 11px; } .card-name { font-size: calc(25px * var(--display-scale)); } }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 14px; }
.price .now { font-weight: 500; }
.price .sale, .now.sale { color: var(--sale); }
.price s, .price .from { font-size: 12px; }
.price .from { color: var(--ink-soft); }
.chip { --d: 15px; display: inline-grid; width: var(--d); height: var(--d); border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.chip img, .chip i { width: 100%; height: 100%; object-fit: cover; display: block; }

/* listing */
.filters { padding-top: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 40px; display: grid; gap: 14px;
  view-transition-name: filters; /* glides to its new place when a filter changes the heading above it */ }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.pills::-webkit-scrollbar { display: none; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sort label { display: inline-flex; align-items: center; gap: 10px; }
.sort select { font: 500 14px var(--sans); color: var(--ink); background: transparent; border: 0; padding: 8px 2px; cursor: pointer; }
.banner { position: relative; height: 280px; overflow: hidden; color: var(--paper); }
.banner > img { width: 100%; height: 100%; object-fit: cover; }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 14, 11, .7), rgba(18, 14, 11, .15)); }
.banner-text { position: absolute; inset-inline: 0; bottom: 32px; }
.banner-text h1 { --size: 50px; margin: 14px 0 10px; }
@media (min-width: 800px) { .banner { height: 400px; } .banner-text { bottom: 52px; } .banner-text h1 { --size: 80px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.crumbs span { opacity: .6; }
.crumbs-row { padding-top: 18px; padding-bottom: 16px; }
.crumbs-row .crumbs a { color: var(--ink); }

/* editorial: pick a colour, the photo follows */
.editorial { margin-top: 72px; padding: 56px 0; background: var(--paper); }
.editorial-in { display: grid; gap: 36px; }
.editorial-pic { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #fff; }
.ed-photo { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.ed-photo.on { opacity: 1; }
.editorial-text h2 { --size: 44px; line-height: 1; margin: 16px 0 22px; }
.editorial-text .lead { max-width: 440px; }
.ed-chips { display: flex; flex-wrap: wrap; gap: 16px 20px; margin: 32px 0 36px; }
.ed-chip { width: 76px; display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); text-align: center; }
.ed-chip.on { color: var(--ink); font-weight: 500; }
.ed-chip .chip { padding: 4px; background: var(--paper); box-shadow: 0 0 0 1px transparent; transition: box-shadow .2s; }
.ed-chip .chip img, .ed-chip .chip i { border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.ed-chip.on .chip { box-shadow: 0 0 0 1.5px var(--ink); }
@media (min-width: 900px) {
  .editorial { margin-top: 128px; padding: 104px 0; }
  .editorial-in { grid-template-columns: 7fr 5fr; gap: 80px; align-items: center; }
  .editorial-text h2 { --size: 66px; }
}

/* product page */
.product { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 1000px) { .product { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; } }
.product-gallery { margin-inline: calc(-1 * var(--gutter)); min-width: 0; }
@media (min-width: 1000px) { .product-gallery { margin-inline: 0; position: sticky; top: calc(var(--header) + 24px); } }
.g-main { position: relative; background: #fff; }
@media (min-width: 1000px) { .g-main { border-radius: var(--radius); overflow: hidden; } }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; overscroll-behavior-x: contain; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; cursor: zoom-in; }
.note { position: absolute; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  border-radius: 999px; background: rgba(34, 28, 23, .62); color: var(--paper); font-size: 12px; }
.g-zoom { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; }
.g-prev, .g-next { position: absolute; top: 50%; margin-top: -22px; }
.g-prev { inset-inline-start: 16px; } .g-next { inset-inline-end: 16px; }
.g-dots { display: flex; justify-content: center; gap: 6px; padding-top: 14px; }
.g-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(34, 28, 23, .2); transition: width .25s, background .25s; }
.g-dots i.on { width: 22px; background: var(--ink); }
.g-thumbs { flex-wrap: wrap; gap: 12px; padding-top: 14px; }
.g-thumb { width: 104px; height: 78px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.g-thumb.on { border: 1.5px solid var(--ink); }
.g-thumb img { border-radius: 2px; }
.product-details h1 { --size: 42px; margin: 14px 0 18px; line-height: 1.02; }
@media (min-width: 1000px) { .product-details h1 { --size: 56px; } }
.p-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.p-price .now { font-size: 26px; font-weight: 500; }
.p-price s { font-size: 17px; }
.save { padding: 4px 9px; border-radius: 2px; background: var(--sale-bg); color: var(--sale); font-size: 12.5px; font-weight: 600; }
.p-cod { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink-soft); font-size: 13.5px; }
.p-cod .ic, .promises .ic, .summary .ic { color: var(--brass); }
.product-details .lead { margin-top: 22px; font-size: 15.5px; }
.opt { margin-bottom: 28px; border: 0; padding: 0; min-width: 0; }
.opt-label { display: flex; gap: 12px; align-items: baseline; margin-bottom: 14px; padding: 0; font-size: 14px; }
.opt-label.error .overline, .sizes.error .overline { color: var(--sale); }
.colors { display: flex; flex-wrap: wrap; gap: 8px; }
.color-btn { padding: 4px; border-radius: 50%; box-shadow: 0 0 0 1px transparent; transition: box-shadow .2s; }
.color-btn .chip { box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.color-btn.on { box-shadow: 0 0 0 1.5px var(--ink); }
.fabrics { margin-top: 22px; }
.fabric-list { display: flex; flex-wrap: wrap; gap: 10px; }
.fabric { width: 68px; height: 68px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); }
.fabric.on { border: 1.5px solid var(--ink); }
.fabric img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.size { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 10px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .18s; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size:has(input:checked) { border: 1.4px solid var(--ink); }
.size:has(input:focus-visible) { outline: 2px solid var(--brass); }
.size-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.2px solid rgba(113, 103, 92, .5); transition: border-width .18s; }
.size:has(input:checked) .size-dot, .size-dot.on { border: 5px solid var(--ink); }
.size-text { flex: 1; display: grid; }
.size-text b { font-weight: 500; }
.size-text small { color: var(--ink-soft); font-size: 13px; }
.size-price { font-weight: 500; }
.buy { display: flex; gap: 12px; margin-top: 4px; }
.btn.grow { flex: 1; min-width: 0; padding: 0 16px; white-space: nowrap; overflow: hidden; }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { min-width: 26px; text-align: center; font-weight: 500; }
.qty.small { height: 38px; } .qty.small button { width: 34px; }
.error { color: var(--sale); font-size: 14px; margin-top: 10px; }
.product-details .btn.outline.block { margin-top: 12px; }
.promises { list-style: none; padding: 0; margin: 28px 0 16px; display: grid; gap: 12px; font-size: 14px; }
.promises li { display: flex; align-items: center; gap: 12px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-weight: 500; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform .25s; }
.acc[open] summary .ic { transform: rotate(180deg); }
.acc p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; padding-bottom: 12px; }
.acc .dim { display: flex; justify-content: space-between; color: var(--ink); }
.acc .dim b { font-weight: 500; } .acc .dim span { color: var(--ink-soft); }
.related { padding-bottom: 24px; }
.buy-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 15; display: flex; align-items: center; gap: 14px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .35s var(--ease); }
.buy-bar.show { transform: none; }
@media (min-width: 1000px) { .buy-bar { display: none !important; } }
.buy-bar > div { flex: 1; min-width: 0; display: grid; }
.buy-bar b { font: 600 calc(19px * var(--display-scale))/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar .sale { color: var(--sale); }
.buy-bar .btn { padding: 0 22px; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0d0b09; }
.lightbox::backdrop { background: #0d0b09; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.lb-close { position: fixed; top: 16px; inset-inline-end: 16px; z-index: 1; }

/* cart & checkout */
.steps { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 13.5px; color: var(--ink-soft); }
.steps li { display: flex; align-items: center; gap: 10px; }
.steps li span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; }
.steps .on { color: var(--ink); font-weight: 500; } .steps .on span, .steps .done span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.notice { margin-top: 12px; padding-block: 12px; color: var(--sale); }
.cart-layout, .checkout { display: grid; gap: 32px; padding-top: 24px; padding-bottom: 40px; }
@media (min-width: 960px) { .cart-layout, .checkout { grid-template-columns: 3fr 2fr; gap: 64px; align-items: start; } }
.line { display: grid; grid-template-columns: 112px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line.compact { grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; }
.line-photo { aspect-ratio: 4 / 3; background: #fff; border-radius: var(--radius); overflow: hidden; display: block; }
.line-info { display: grid; gap: 4px; min-width: 0; }
.line-name { font: 600 calc(20px * var(--display-scale))/1.25 var(--serif); }
.line.compact .line-name { font: 500 14px/1.4 var(--sans); }
.line-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.line-total { font-weight: 500; white-space: nowrap; }
.totals { margin: 18px 0; display: grid; gap: 10px; }
.totals div { display: flex; justify-content: space-between; } .totals dt { color: var(--ink-soft); } .totals dd { margin: 0; }
.totals .grand { padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; } .totals .grand dt { color: var(--ink); }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
@media (min-width: 960px) { .summary { position: sticky; top: calc(var(--header) + 24px); } }
.summary-title { font: 500 calc(26px * var(--display-scale))/1.2 var(--serif); }
.summary p { display: flex; align-items: center; gap: 8px; }
.loading { height: 120px; background: linear-gradient(90deg, var(--sand), var(--paper), var(--sand)) 0 0 / 200% 100%; border-radius: var(--radius);
  animation: shimmer 1.2s linear infinite; opacity: .6; }
@keyframes shimmer { to { background-position: -200% 0; } }
.step-title { display: flex; align-items: center; gap: 14px; margin: 8px 0 20px; font: 500 calc(30px * var(--display-scale))/1.2 var(--serif); }
.step-title span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 600 13px var(--sans); }
.checkout-form { display: grid; gap: 14px; }
.checkout-form .step-title:not(:first-child) { margin-top: 26px; }
.two { display: grid; gap: 14px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.field input, .field textarea { font: 15px/1.5 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 16px; width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field.bad input, .field.bad textarea { border-color: var(--sale); }
.field em { font-style: normal; color: var(--sale); font-size: 12.5px; min-height: 0; }
.cod { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--paper); border: 1.4px solid var(--ink); border-radius: var(--radius); }
.cod div { flex: 1; display: grid; } .cod b { font-weight: 500; } .cod small { color: var(--ink-soft); font-size: 13px; }
.cod .ic { color: var(--brass); }
.thanks { max-width: 640px; text-align: center; display: grid; justify-items: center; gap: 12px; padding-top: 56px; padding-bottom: 40px; }
.thanks .steps { justify-content: center; }
.tick { width: 78px; height: 78px; border-radius: 50%; border: 1.5px solid var(--brass); color: var(--brass); display: grid; place-items: center; margin: 16px 0 8px; }
.thanks h1 { --size: 54px; }
.thanks .summary { width: 100%; text-align: start; margin-top: 24px; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }

/* footer */
.site-footer { margin-top: 120px; padding: 56px 0 28px; background: var(--ink); color: rgba(255, 253, 249, .68); font-size: 14px; }
.foot-grid { display: grid; gap: 40px 56px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 18px; } .foot-brand p { max-width: 340px; line-height: 1.7; font-size: 15px; }
.foot-grid > div:not(.foot-brand) { display: grid; gap: 12px; align-content: start; }
.foot-grid a:hover, .foot-grid a[aria-current] { color: var(--paper); }
.foot-grid a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.rights { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 253, 249, .12); font-size: 12px; color: rgba(255, 253, 249, .5); }
@media (min-width: 900px) { .site-footer { padding-top: 80px; } .foot-grid { grid-template-columns: 4fr 2fr 3fr 3fr 2fr; } .foot-brand { grid-column: auto; } }

/* overlays: menu drawer, search, added-to-cart panel */
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(18, 14, 11, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
body.overlay .scrim { opacity: 1; pointer-events: auto; }
body.overlay { overflow: hidden; }
.drawer, .side-panel { position: fixed; top: 0; bottom: 0; z-index: 31; width: min(400px, 90vw); background: var(--paper);
  display: flex; flex-direction: column; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); transition: transform .38s var(--ease); visibility: hidden; }
.drawer { inset-inline-start: 0; transform: translateX(-100%); }
.side-panel { inset-inline-end: 0; transform: translateX(100%); gap: 12px; padding-top: 20px; }
[dir=rtl] .drawer { transform: translateX(100%); } [dir=rtl] .side-panel { transform: translateX(-100%); }
.drawer.open, .side-panel.open { transform: none; visibility: visible; }
.drawer-top, .side-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-links { flex: 1; overflow-y: auto; padding: 28px 8px 12px; }
.drawer-links a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font: 500 calc(32px * var(--display-scale))/1.2 var(--serif); }
.drawer-links .ic { opacity: .45; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 8px 0; display: grid; gap: 18px; font-size: 13px; color: var(--ink-soft); }
.drawer-lang { display: flex; align-items: center; gap: 8px; } .drawer-lang .overline { flex: 1; }
.side-title { display: flex; align-items: center; gap: 10px; font: 500 calc(26px * var(--display-scale))/1.2 var(--serif); }
.side-title .ic { color: var(--brass); }
.added-item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 16px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.added-item img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: var(--radius); }
.added-item b { font: 600 calc(20px * var(--display-scale))/1.25 var(--serif); display: block; }
.added-item small { display: block; color: var(--ink-soft); font-size: 13px; margin: 4px 0; }
.search-panel { position: fixed; inset-inline: 0; top: 0; z-index: 31; background: var(--paper); padding: 12px 0 24px; max-height: 85dvh; overflow-y: auto;
  transform: translateY(-100%); visibility: hidden; transition: transform .35s var(--ease); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.search-panel.open { transform: none; visibility: visible; }
.search-form { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; font: 400 20px/1.4 var(--sans); padding: 12px 0; color: var(--ink); }
.search-form input:focus { outline: none; }
.search-results { padding-top: 18px; display: grid; gap: 14px; }
.search-list { display: grid; gap: 8px; }
@media (min-width: 700px) { .search-list { grid-template-columns: 1fr 1fr; } }
.search-item { display: flex; align-items: center; gap: 14px; padding: 6px; border-radius: var(--radius); }
.search-item:hover { background: var(--linen); }
.search-photo { width: 84px; aspect-ratio: 4 / 3; flex: none; background: #fff; border-radius: 2px; overflow: hidden; }
.search-item b { display: block; font: 600 calc(19px * var(--display-scale))/1.3 var(--serif); }
.search-item small { color: var(--ink-soft); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); opacity: 1; }

/* WhatsApp: a green pill on every page (lifted above the phone buy bar), and the
   number chooser — a bottom sheet on phones, a card above the pill on wide screens. */
.wa-fab { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 16px; z-index: 16;
  display: flex; align-items: center; gap: 8px; height: 54px; padding-inline: 14px 20px; border-radius: 999px;
  background: var(--wa); color: #fff; font: 600 16px/1 var(--sans); letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(18, 140, 74, .35), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .3s var(--ease), background-color .2s; }
.wa-fab:hover { background: var(--wa-deep); }
.wa-fab:active { transform: scale(.95); }
body.buybar-on .wa-fab { transform: translateY(calc(-1 * var(--buybar-h, 76px))); }
.wa-sheet { position: fixed; z-index: 31; inset-inline: 0; bottom: 0; display: grid; gap: 12px; background: var(--paper);
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .15);
  transform: translateY(105%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.wa-sheet.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.wa-sheet .side-title { font-size: calc(22px * var(--display-scale)); }
.wa-sheet .side-title .ic { color: var(--wa); }
.wa-number { display: flex; align-items: center; gap: 14px; min-height: 64px; padding-inline: 14px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; font: 600 18px/1 var(--sans); transition: border-color .2s, transform .15s var(--ease); }
.wa-number:hover { border-color: var(--wa); }
.wa-number:active { transform: scale(.98); }
.wa-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wa); color: #fff; flex: none; }
.wa-label { flex: 1; text-align: start; white-space: nowrap; }
[dir=rtl] .wa-label { text-align: end; }
.wa-number > .ic { color: var(--ink-soft); }
@media (min-width: 700px) {
  .wa-sheet { inset-inline: auto 16px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 380px; border-radius: 14px;
    transform: translateY(12px) scale(.98); opacity: 0; transition: transform .25s var(--ease), opacity .25s, visibility 0s .25s; }
  .wa-sheet.open { transform: none; opacity: 1; transition: transform .25s var(--ease), opacity .25s; }
}
.foot-wa { display: inline-flex; align-items: center; gap: 8px; }
.foot-wa .ic { color: var(--wa); }
.drawer-foot .btn.wa { min-height: 48px; text-transform: none; letter-spacing: 0; font-size: 15px; }
