/* Studio Edit — storefront. Cream + brown, serif display, quiet luxury. */
:root {
  --cream: #F6F0E7;
  --ivory: #FBF8F3;
  --sand: #EDE3D5;
  --linen: #E4D7C5;
  --taupe: #B8A48C;
  --mute: #8C7765;
  --caramel: #9C7653;
  --brown: #4A3426;
  --espresso: #2B1E16;
  --line: #E2D6C5;
  --ok: #4F6B4A;
  --danger: #9B3B2E;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ar: "IBM Plex Sans Arabic", "Jost", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--espresso);
  font: 400 15px/1.65 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--ar); letter-spacing: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 1.5px solid var(--brown); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: .01em; }
html[lang="ar"] .display { font-family: var(--ar); font-weight: 300; line-height: 1.25; }
.eyebrow { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 13px; }
.h-section { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.muted { color: var(--mute); }
.small { font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 34px; border: 1px solid var(--brown);
  background: var(--brown); color: var(--ivory);
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 14px; }
.btn:hover { background: var(--espresso); border-color: var(--espresso); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: var(--ivory); }
.btn-light { background: transparent; color: var(--ivory); border-color: rgba(251,248,243,.75); }
.btn-light:hover { background: var(--ivory); color: var(--brown); border-color: var(--ivory); }
.btn-block { width: 100%; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
html[lang="ar"] .link { letter-spacing: 0; font-size: 14px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--espresso); color: var(--sand); text-align: center; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; padding: 10px 16px; }
html[lang="ar"] .announce { letter-spacing: 0; font-size: 13px; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(246,240,231,.94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav { display: flex; gap: 30px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
html[lang="ar"] .nav { letter-spacing: 0; font-size: 14px; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.logo img { height: 26px; width: auto; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; position: relative; }
.icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.lang-btn { font-size: 13px; padding: 0 10px; height: 42px; display: inline-flex; align-items: center; }
html[lang="en"] .lang-btn { font-family: var(--ar); }
.bag-count { position: absolute; top: 5px; inset-inline-end: 3px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--brown); color: var(--ivory); font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .logo img { height: 19px; }
  .tools .hide-sm { display: none; }
  .header-in { grid-template-columns: 1fr auto 1fr; }
}

/* ---------- Drawers (menu, bag, search) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(43,30,22,.35); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 60; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(440px, 100vw); background: var(--ivory); z-index: 70; display: flex; flex-direction: column; transition: transform .45s var(--ease); }
.drawer.end { inset-inline-end: 0; transform: translateX(100%); }
.drawer.start { inset-inline-start: 0; transform: translateX(-100%); }
html[dir="rtl"] .drawer.end { transform: translateX(-100%); }
html[dir="rtl"] .drawer.start { transform: translateX(100%); }
.drawer.on { transform: none !important; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 26px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--ivory); }
.menu-links a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; }
html[lang="ar"] .menu-links a { font-family: var(--ar); font-size: 20px; }
.menu-sub { padding-top: 20px; display: grid; gap: 12px; font-size: 13px; color: var(--mute); }
.search-panel { position: fixed; inset-inline: 0; top: 0; background: var(--ivory); z-index: 70; transform: translateY(-100%); transition: transform .45s var(--ease); border-bottom: 1px solid var(--line); }
.search-panel.on { transform: none; }
.search-panel form { display: flex; align-items: center; gap: 12px; height: 96px; }
.search-panel input { flex: 1; border: 0; border-bottom: 1px solid var(--brown); background: transparent; font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); padding: 8px 0; outline: none; }
html[lang="ar"] .search-panel input { font-family: var(--ar); font-weight: 300; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: var(--ivory); overflow: hidden; background: var(--brown); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroIn 2.4s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,30,22,0) 35%, rgba(43,30,22,.55) 100%); }
.hero-plain { background:
  radial-gradient(120% 90% at 80% 10%, #6B4E3A 0%, rgba(107,78,58,0) 60%),
  radial-gradient(90% 80% at 10% 100%, #3A281D 0%, rgba(58,40,29,0) 70%), var(--brown); }
.hero-plain::after { display: none; }
.hero-mark { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); opacity: .95; }
.hero-mark img { width: min(760px, 86vw); }
.hero-copy { position: relative; z-index: 2; padding-block: 0 clamp(40px, 8vh, 88px); }
.hero-copy .eyebrow { color: rgba(246,238,226,.85); }
.hero-copy h1 { font-size: clamp(46px, 8vw, 110px); margin: 14px 0 14px; }
.hero-copy p { max-width: 460px; margin: 0 0 30px; font-size: 16px; color: rgba(251,248,243,.88); }
.hero-plain .hero-copy { text-align: center; }
.hero-plain .hero-copy p { margin-inline: auto; }
.hero-plain .hero-copy h1 { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 22px); }
.cat { position: relative; display: block; overflow: hidden; background: var(--sand); aspect-ratio: 3/4; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat:hover img { transform: scale(1.04); }
.cat-label { position: absolute; inset-inline: 0; bottom: 0; padding: 22px; display: flex; justify-content: space-between; align-items: end; color: var(--ivory); background: linear-gradient(180deg, transparent, rgba(43,30,22,.45)); }
.cat-label .display { font-size: clamp(24px, 2.6vw, 34px); }
.cat.noimg .cat-label { color: var(--brown); background: none; }
.cat.noimg { display: grid; place-items: center; }
.cat.noimg::before { content: "SE"; font-family: var(--serif); font-size: 72px; color: var(--linen); letter-spacing: .1em; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Product grid + card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(10px, 1.6vw, 22px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { display: block; }
.card-media { position: relative; aspect-ratio: 3/4; background: var(--sand); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card-media .alt { opacity: 0; }
.card:hover .card-media .alt { opacity: 1; }
.card:hover .card-media img:first-child { transform: scale(1.03); }
.card-media .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 40px; color: var(--linen); letter-spacing: .12em; }
.tag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--ivory); color: var(--brown); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 9px; }
html[lang="ar"] .tag { letter-spacing: 0; font-size: 12px; }
.tag.dark { background: var(--brown); color: var(--ivory); }
.card-body { padding-top: 14px; display: grid; gap: 4px; }
.card-name { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .card-name { letter-spacing: 0; font-size: 15px; }
.price { font-size: 14px; color: var(--brown); }
.price s { color: var(--taupe); margin-inline-start: 8px; }
.swatches { display: flex; gap: 6px; margin-top: 4px; }
.swatches i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(43,30,22,.18); }

/* ---------- Story band ---------- */
.story { background: var(--brown); color: var(--sand); }
.story-in { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.story-media { background: #3E2C20 center/cover no-repeat; min-height: 360px; }
.story-copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(40px, 7vw, 110px); }
.story-copy .eyebrow { color: var(--taupe); }
.story-copy h2 { font-size: clamp(36px, 4.4vw, 60px); margin: 0; color: var(--ivory); }
.story-copy p { margin: 0; max-width: 460px; color: rgba(237,227,213,.86); }
@media (max-width: 900px) { .story-in { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--linen); padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { margin: 0 0 18px; font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); }
html[lang="ar"] .footer h4 { letter-spacing: 0; font-size: 13px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer a:hover { color: var(--ivory); }
.footer-logo img { width: 220px; opacity: .95; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(228,215,197,.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--taupe); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1/-1; } }

/* ---------- Listing ---------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 36px); text-align: center; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); margin: 10px 0 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 36px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 34px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: transparent; transition: border-color .25s, background .25s, color .25s; }
html[lang="ar"] .chip { letter-spacing: 0; font-size: 13px; }
.chip:hover { border-color: var(--brown); }
.chip.on { background: var(--brown); border-color: var(--brown); color: var(--ivory); }
.select-plain { border: 0; background: transparent; font-size: 13px; padding: 6px 4px; cursor: pointer; }
.empty { text-align: center; padding: 80px 0; color: var(--mute); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(16px, 3vw, 40px) 0 80px; }
.buybox { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; display: grid; gap: 22px; }
.buybox h1 { font-size: clamp(34px, 3.6vw, 50px); margin: 0; }
.buybox .price { font-size: 18px; }
.opt-label { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
html[lang="ar"] .opt-label { letter-spacing: 0; font-size: 14px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 56px; height: 46px; padding: 0 14px; border: 1px solid var(--line); background: transparent; font-size: 13px; letter-spacing: .08em; transition: all .2s; }
.size:hover { border-color: var(--brown); }
.size.on { background: var(--brown); color: var(--ivory); border-color: var(--brown); }
.size.out { color: var(--taupe); text-decoration: line-through; }
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.color { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(43,30,22,.2); position: relative; }
.color.on::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--brown); }
.color.text { width: auto; border-radius: 0; padding: 0 14px; height: 40px; font-size: 13px; background: transparent; }
.color.text.on { background: var(--brown); color: var(--ivory); }
.color.text.on::after { display: none; }
.stock-note { font-size: 13px; color: var(--caramel); min-height: 20px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 18px 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
html[lang="ar"] .acc summary { letter-spacing: 0; font-size: 14px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { padding: 0 0 20px; color: var(--mute); white-space: pre-line; font-size: 14px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .buybox { position: static; }
}
/* ---------- Bag lines ---------- */
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-img { aspect-ratio: 3/4; background: var(--sand); overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .line-name { letter-spacing: 0; font-size: 14px; }
.line-opt { font-size: 13px; color: var(--mute); }
.line-warn { font-size: 12px; color: var(--danger); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 34px; margin-top: 10px; }
.qty button { width: 32px; height: 100%; font-size: 16px; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.line-end { text-align: end; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.line-end .remove { font-size: 11px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.sum-row.total { font-size: 16px; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--line); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); opacity: 0; background: var(--espresso); color: var(--ivory); padding: 14px 22px; font-size: 13px; z-index: 100; transition: all .4s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .field label { letter-spacing: 0; font-size: 13px; }
.input, .field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line); background: var(--ivory);
  border-radius: 0; outline: none; transition: border-color .2s; font-size: 15px; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A3426' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }
html[dir="rtl"] .field select { background-position: left 16px center; }
.field textarea { height: auto; min-height: 90px; padding: 12px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brown); }
.field .err, .err { color: var(--danger); font-size: 12px; }
.row { display: grid; gap: 14px; }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 560px) { .row-3 { grid-template-columns: 1fr 1fr; } .row-2 { grid-template-columns: 1fr; } .row-3 .row-2 { grid-template-columns: 1fr 1fr; } .row-3 > [style*='span 2'] { grid-column: span 1 !important; } }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brown); }
.alert { padding: 14px 18px; border: 1px solid var(--line); background: var(--ivory); font-size: 14px; }
.alert.bad { border-color: #E4C3BC; background: #FBF1EE; color: var(--danger); }
.alert.good { border-color: #CFDCC9; background: #F2F6EF; color: var(--ok); }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: 40px 0 90px; }
.co-block { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 16px; }
.co-block h2 { margin: 0; font-size: 28px; }
.co-summary { background: var(--ivory); border: 1px solid var(--line); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.co-summary .line { grid-template-columns: 64px 1fr auto; padding: 12px 0; }
.addr-opt { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; background: var(--ivory); align-items: flex-start; }
.addr-opt:has(input:checked) { border-color: var(--brown); }
.pay-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border: 1px solid var(--brown); background: var(--ivory); }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .co-summary { position: static; order: -1; } }

/* ---------- Narrow pages (auth, account, prose) ---------- */
.narrow { max-width: 460px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 0; }
.narrow h1 { font-size: clamp(36px, 5vw, 52px); text-align: center; margin: 0 0 30px; }
.stack { display: grid; gap: 16px; }
.center { text-align: center; }
.prose { max-width: 720px; margin: 0 auto; padding: 0 0 100px; white-space: pre-line; font-size: 16px; color: #4a3a2f; }
.account { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 48px 0 100px; }
.account nav { display: grid; gap: 4px; align-content: start; }
.account nav a, .account nav button { text-align: start; padding: 10px 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .account nav a, html[lang="ar"] .account nav button { letter-spacing: 0; font-size: 15px; }
.account nav a.on { color: var(--espresso); }
@media (max-width: 760px) { .account { grid-template-columns: 1fr; gap: 20px; } .account nav { grid-auto-flow: column; overflow-x: auto; gap: 18px; } }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: start; font-weight: 400; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 16px 8px; border-bottom: 1px solid var(--line); }
.pill { display: inline-block; font-size: 11px; padding: 4px 10px; border: 1px solid var(--line); background: var(--ivory); white-space: nowrap; }
.confirm { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) 0 90px; }
.confirm h1 { font-size: clamp(40px, 6vw, 68px); margin: 14px 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-media img { animation: none; transform: none; } }

/* ---------- Instagram ---------- */
.ig-link { display: inline-flex; align-items: center; gap: 8px; }
.ig-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.ig-band { background: var(--sand); }
.ig-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--brown); color: var(--brown); margin: 0 auto 18px; transition: background .3s var(--ease), color .3s var(--ease); }
.ig-badge svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.ig-badge:hover { background: var(--brown); color: var(--ivory); }
/* IG_BADGE_MOBILE_1121 — own line above «Follow us», smaller on phones */
.ig-band .eyebrow { display: block; }
@media (max-width: 760px) { .ig-badge { width: 48px; height: 48px; margin-bottom: 14px; } .ig-badge svg { width: 22px; height: 22px; } }

/* ---------- Product gallery: swipe + full screen ---------- */
.gallery { position: relative; min-width: 0; }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: var(--sand); }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4/5; overflow: hidden; cursor: zoom-in; padding: 0; border: 0; background: var(--sand); display: block; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.g-empty { display: grid; place-items: center; cursor: default; }
.g-empty .display { font-size: 64px; color: var(--linen); }
.g-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(251,248,243,.88); display: grid; place-items: center; box-shadow: 0 2px 12px rgba(43,30,22,.12); opacity: 0; transition: opacity .25s, background .2s; z-index: 2; }
.g-arrow svg { width: 20px; height: 20px; stroke: var(--brown); fill: none; stroke-width: 1.4; }
.g-arrow.prev { inset-inline-start: 14px; } .g-arrow.next { inset-inline-end: 14px; }
html[dir="rtl"] .g-arrow svg { transform: scaleX(-1); }
.gallery:hover .g-arrow { opacity: 1; }
.g-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
.g-count { position: absolute; top: 14px; inset-inline-end: 14px; background: rgba(251,248,243,.88); color: var(--brown); font-size: 12px; letter-spacing: .1em; padding: 4px 10px; z-index: 2; }
.g-dots { display: none; justify-content: center; gap: 6px; padding: 12px 0 0; }
.g-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--linen); transition: background .2s, transform .2s; }
.g-dots i.on { background: var(--brown); transform: scale(1.25); }
.g-thumbs { display: flex; gap: 8px; padding-top: 10px; overflow-x: auto; scrollbar-width: none; }
.g-thumbs::-webkit-scrollbar { display: none; }
.g-thumbs button { flex: 0 0 72px; aspect-ratio: 3/4; padding: 0; border: 1px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; background: var(--sand); }
.g-thumbs button.on { opacity: 1; border-color: var(--brown); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .gallery { margin-inline: calc(var(--gutter) * -1); }
  .g-slide { aspect-ratio: 3/4; }
  .g-arrow, .g-thumbs { display: none; }
  .g-dots { display: flex; }
}
.lightbox { position: fixed; inset: 0; z-index: 95; background: #F7F2EA; display: none; }
.lightbox.on { display: block; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; overflow: auto; touch-action: pan-x pan-y pinch-zoom; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-close { position: absolute; top: max(14px, env(safe-area-inset-top)); inset-inline-end: 14px; width: 46px; height: 46px; border-radius: 50%; background: rgba(251,248,243,.92); display: grid; place-items: center; box-shadow: 0 2px 12px rgba(43,30,22,.14); z-index: 3; }
.lb-close svg { width: 22px; height: 22px; stroke: var(--brown); fill: none; stroke-width: 1.4; }
.lightbox .g-arrow { opacity: 1; }
.lb-count { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .14em; color: var(--brown); background: rgba(251,248,243,.92); padding: 5px 12px; }
@media (max-width: 900px) { .lightbox .g-arrow { display: none; } }

/* ---------- Checkout: discount code ---------- */
.coupon-box { padding: 16px 0 4px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line); background: var(--cream); padding: 0 14px; text-transform: uppercase; letter-spacing: .08em; outline: none; font-size: 15px; }
.coupon-row input:focus { border-color: var(--brown); }
.coupon-row .btn { height: 46px; padding: 0 18px; }
.ok-text { color: var(--ok); }

/* ---------- Home banner slider ---------- */
.slider { position: relative; background: var(--brown); }
.sl-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.sl-track::-webkit-scrollbar { display: none; }
.sl-slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; height: min(82vh, 760px); min-height: 420px; display: block; color: var(--ivory); overflow: hidden; }
.sl-slide picture, .sl-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.sl-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,30,22,0) 40%, rgba(43,30,22,.5) 100%); }
.sl-slide.on-light { color: var(--espresso); }
.sl-slide.on-light::after { background: linear-gradient(180deg, rgba(251,248,243,0) 45%, rgba(251,248,243,.55) 100%); }
.sl-copy { position: absolute; inset-inline: 0; bottom: clamp(56px, 9vh, 96px); z-index: 2; display: grid; gap: 14px; justify-items: start; }
.sl-copy h2 { font-size: clamp(40px, 6.5vw, 92px); margin: 0; max-width: 14ch; }
.sl-copy p { margin: 0; max-width: 460px; font-size: 16px; opacity: .92; }
.slider .g-arrow { opacity: 0; }
.slider:hover .g-arrow { opacity: 1; }
.sl-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.sl-dots button { width: 26px; height: 3px; background: rgba(251,248,243,.45); padding: 0; transition: background .3s, width .3s; }
.sl-dots button.on { background: var(--ivory); width: 40px; }
@media (max-width: 760px) {
  .sl-slide { height: 78vh; min-height: 460px; }
  .slider .g-arrow { display: none; }
  .sl-copy { justify-items: center; text-align: center; }
  .sl-copy h2 { max-width: none; }
}

/* ---------- Swipeable product rows ---------- */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * clamp(10px, 1.6vw, 22px)) / 4); gap: clamp(10px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; min-width: 0; }
.rail .g-arrow { top: 38%; }
.rail .g-arrow.prev { inset-inline-start: -18px; } .rail .g-arrow.next { inset-inline-end: -18px; }
.rail:hover .g-arrow { opacity: 1; }
@media (max-width: 1100px) { .rail-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 760px) {
  .rail { margin-inline: calc(var(--gutter) * -1); }
  .rail-track { grid-auto-columns: 62%; gap: 10px; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .rail .g-arrow { display: none; }
}

/* ---------- Wishlist + notify me ---------- */
.card-wrap { position: relative; }
.wish { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(251,248,243,.9); display: grid; place-items: center; transition: transform .2s; }
.wish svg, .wish-lg svg { width: 18px; height: 18px; fill: none; stroke: var(--brown); stroke-width: 1.4; transition: fill .2s; }
.wish.on svg, .wish-lg.on svg { fill: var(--brown); }
.wish:active { transform: scale(.9); }
.card-wrap .tag { inset-inline-start: 12px; }
.buy-row { display: flex; gap: 8px; }
.buy-row .btn { flex: 1; }
.wish-lg { flex: none; width: 52px; height: 52px; border: 1px solid var(--line); display: grid; place-items: center; background: transparent; }
.wish-lg:hover { border-color: var(--brown); }
.wish-lg svg { width: 22px; height: 22px; }
.notify-box { margin-top: 14px; padding: 14px; border: 1px solid var(--line); background: var(--ivory); }

/* ---------- Filters ---------- */
.filter-btn { cursor: pointer; }
.filters-panel { display: grid; gap: 14px; padding: 4px 0 28px; margin-top: -20px; }
.fp-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; }
.fp-l { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .fp-l { letter-spacing: 0; font-size: 13px; }
.chip .sw { width: 12px; height: 12px; border-radius: 50%; margin-inline-end: 7px; border: 1px solid rgba(43,30,22,.2); }
@media (max-width: 760px) { .fp-row { grid-template-columns: 1fr; gap: 8px; } .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; } .chip { flex: none; } }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); inset-inline-end: 20px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 22px rgba(0,0,0,.18); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 760px) { .wa-float { width: 50px; height: 50px; bottom: max(16px, env(safe-area-inset-bottom)); inset-inline-end: 14px; } }

/* Header: menu links need room — below 1200px they move into the ☰ menu */
.nav a { white-space: nowrap; }
@media (max-width: 1200px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}

/* DELIVERY_OPTIONS_1116 — delivery promise + pre-order */
.delivery-note { font-size: 13px; color: var(--brown); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; overflow-wrap: anywhere; }
.pre-pill { display: inline-block; border: 1px solid var(--brown); color: var(--brown); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; padding: 3px 8px; }
html[lang="ar"] .pre-pill { letter-spacing: 0; font-size: 12px; }
.line-dl { color: var(--caramel); overflow-wrap: anywhere; }


/* SIZE_GUIDE_PER_PRODUCT_1116 */
.sg-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* SIZE_GUIDES_NAMED_1123 — size guide panel: per-piece tables, inches / cm switch */
.sg-dialog { width: min(620px, calc(100vw - 24px)); max-height: min(88vh, 900px); border: 0; padding: 28px 28px 24px; background: var(--ivory); color: var(--brown); overflow-y: auto; }
.sg-dialog::backdrop { background: rgba(30, 22, 16, .45); }
.sg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sg-head h2 { margin: 0; font-size: 28px; font-weight: 400; }
.sg-close { background: none; border: 0; padding: 6px; margin-inline-end: -6px; cursor: pointer; color: var(--brown); }
.sg-close svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.sg-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 8px; flex-wrap: wrap; }
.sg-name { margin: 0; color: var(--mute); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; overflow-wrap: anywhere; min-width: 0; }
html[lang="ar"] .sg-name { letter-spacing: 0; }
.sg-units { display: inline-flex; border: 1px solid rgba(74, 52, 38, .35); border-radius: 999px; padding: 2px; flex: none; }
.sg-units button { border: 0; background: none; color: var(--brown); font: inherit; font-size: 11px; letter-spacing: .14em; padding: 6px 14px; border-radius: 999px; cursor: pointer; min-width: 52px; }
html[lang="ar"] .sg-units button { letter-spacing: 0; font-size: 12px; }
.sg-units button[aria-pressed="true"] { background: var(--brown); color: var(--ivory); }
.sg-part { margin-top: 22px; }
.sg-part-t { margin: 0 0 6px; font-family: var(--serif); font-size: 22px; font-weight: 400; }
html[lang="ar"] .sg-part-t { font-family: var(--ar); font-size: 18px; }
.sg-scroll { overflow-x: auto; max-width: 100%; }
.sg-tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; table-layout: fixed; }
.sg-tbl th, .sg-tbl td { padding: 12px 6px; border-bottom: 1px solid rgba(74, 52, 38, .14); text-align: center; overflow-wrap: anywhere; }
.sg-tbl thead th { font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border-bottom-color: rgba(74, 52, 38, .4); padding-top: 8px; }
html[lang="ar"] .sg-tbl thead th { letter-spacing: 0; font-size: 12px; }
.sg-tbl tbody th { text-align: start; font-weight: 500; width: 34%; }
.sg-tbl thead th:first-child { width: 34%; }
.sg-tbl tbody tr:last-child th, .sg-tbl tbody tr:last-child td { border-bottom-color: rgba(74, 52, 38, .3); }
.sg-dialog[data-unit="in"] [data-u="cm"], .sg-dialog[data-unit="cm"] [data-u="in"] { display: none; }
.sg-note { margin: 10px 0 0; font-size: 13px; color: var(--mute); overflow-wrap: anywhere; }
.sg-unit { margin: 20px 0 0; font-size: 12px; color: var(--mute); }
@media (max-width: 520px) { .sg-dialog { padding: 22px 16px 20px; } .sg-head h2 { font-size: 24px; } .sg-tbl th, .sg-tbl td { padding: 11px 4px; font-size: 13px; } .sg-tbl tbody th { width: 38%; } .sg-tbl thead th:first-child { width: 38%; } }


/* UPAYMENTS_1118 */
.pay-list { display: grid; gap: 10px; }
.pay-list .pay-opt { border-color: var(--line); cursor: pointer; }
.pay-list .pay-opt:has(input:checked) { border-color: var(--brown); }
.pay-opt[hidden] { display: none; }
.pay-again { display: grid; gap: 14px; max-width: 420px; margin: 18px auto 0; text-align: start; }
