/* =============================================================================
   a'moda | أمودة: tokens, base and shared components.
   Loaded on every page. Page stylesheets (home, catalogue, product, shop) build on it.

   - Mobile first: base styles are the phone; min-width 600px (tablet) and 1024px
     (desktop) add to them.
   - Logical properties only, so Arabic (dir="rtl") mirrors without overrides.
   - Corners are square everywhere; hairlines instead of shadows; burgundy is a drop,
     never a fill.
   Contents: 1 Fonts · 2 Tokens · 3 Base · 4 Type · 5 Layout · 6 Accessibility ·
   7 Announcement and header · 8 Desktop menu panels · 9 Tab bar · 10 Buttons and links ·
   11 Chips · 12 Fields and forms · 13 Notices · 14 Media · 15 Product card and grid ·
   16 Rails · 17 Sheets · 18 Menu sheet · 19 Search sheet · 20 Row link · 21 Accordions ·
   22 Breadcrumbs · 23 Section head · 24 Service bar, newsletter, footer · 25 Toast ·
   26 Pagination · 27 Pages, empty states, 404 · 28 Motion preferences · 29 Utilities
   ============================================================================= */

/* 1 Fonts ------------------------------------------------------------------- */
@font-face { font-family: "Jost"; src: url(../fonts/jost.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(../fonts/cormorant-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(../fonts/cormorant-italic-400.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/plex-arabic-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/plex-arabic-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Naskh"; src: url(../fonts/naskh-500.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

/* 2 Tokens ------------------------------------------------------------------ */
:root {
  /* Colour (SPEC §4.3) */
  --c-ink: #1C1C1C;
  --c-ink-2: #6B6B6B;          /* secondary text: passes AA on white and ivory */
  --c-ink-3: #9A9A9A;          /* disabled and placeholders only */
  --c-burgundy: #591C2B;
  --c-burgundy-deep: #42131F;
  --c-ivory: #F7F5F0;
  --c-ivory-line: #E3DED6;
  --c-white: #FFFFFF;
  --c-image: #FBFBFB;          /* ground of every photograph and placeholder */
  --c-line: #E8E5E1;
  --c-line-strong: #CFCAC3;
  --c-success: #3E5A47;
  --c-error: #8E2B2B;
  --c-scrim: rgb(28 28 28 / .32);

  /* Families: Latin and Arabic; --f-ui / --f-display follow the page language. */
  --f-latin: "Jost", "Helvetica Neue", Arial, sans-serif;
  --f-latin-display: "Cormorant", "Cormorant Garamond", "Times New Roman", serif;
  --f-arabic: "Plex Arabic", "IBM Plex Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
  --f-arabic-display: "Naskh", "Noto Naskh Arabic", "Geeza Pro", "Times New Roman", serif;
  --f-ui: var(--f-latin);
  --f-display: var(--f-latin-display);

  /* Type scale (phone; tablet and desktop step up below) */
  --t-label: 11px;
  --t-small: 13px;
  --t-body: 15px;
  --t-lead: 17px;
  --t-h3: 22px;
  --t-h2: 28px;
  --t-h1: 34px;
  --t-hero: 40px;
  --lh-text: 1.55;
  --lh-display: 1.08;
  --track-label: .14em;

  /* Space: 4px base */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --gutter: 16px;
  --grid-gap: 8px;
  --grid-row-gap: 32px;

  /* Lines, motion, layers */
  --hairline: 1px solid var(--c-line);
  --ease: cubic-bezier(.2, .6, .2, 1);
  --d-fast: 160ms; --d-base: 240ms; --d-sheet: 320ms;
  --header-h: 56px;
  --tabbar-h: 60px;
  --max: 1440px;
  --sheet-w: 420px;
  --sheet-from: 100%;           /* sheets slide in from the inline end */
  --z-header: 20; --z-tabbar: 30; --z-sheet: 50; --z-toast: 60;
}
[dir="rtl"] { --sheet-from: -100%; }

/* Arabic: Plex for text, Naskh for display, never tracked or uppercased (SPEC §10.2). */
:root:lang(ar) {
  --f-ui: var(--f-arabic);
  --f-display: var(--f-arabic-display);
  --lh-text: 1.7;
  --lh-display: 1.45;
  --track-label: 0;
}

@media (min-width: 600px) {
  :root { --gutter: 32px; --grid-gap: 16px; --grid-row-gap: 48px; --t-h1: 40px; --t-hero: 52px; --header-h: 64px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --grid-gap: 24px; --t-h2: 34px; --t-h1: 48px; --t-hero: 64px; --header-h: 72px; }
}

/* 3 Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-block-start: calc(var(--header-h) + 16px); }
html.sheet-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font: 400 var(--t-body) / var(--lh-text) var(--f-ui);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
:root:lang(ar) body { letter-spacing: 0; }
/* Words in the other script keep their own family (house names, payment marks, language switch). */
:root:lang(ar) [lang="en"] { font-family: var(--f-latin); }
:root:lang(en) [lang="ar"] { font-family: var(--f-arabic); letter-spacing: 0; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; }
p { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
hr { border: 0; border-block-start: var(--hairline); margin: 0; }
strong, b { font-weight: 500; }
::selection { background: var(--c-burgundy); color: #fff; }

.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: square; flex: none; }
/* Directional icons mirror in Arabic; play, check, globe and the rest do not. */
[dir="rtl"] .icon-chev, [dir="rtl"] .icon-back { transform: scaleX(-1); }

/* 4 Type -------------------------------------------------------------------- */
.label { font-size: var(--t-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.4; }
:root:lang(ar) .label { font-size: 12px; text-transform: none; }
.display { font-family: var(--f-display); font-weight: 500; line-height: var(--lh-display); letter-spacing: -.005em; }
:root:lang(ar) .display { letter-spacing: 0; }
.hero-t { font-size: var(--t-hero); }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); }
.lead { font-size: var(--t-lead); }
.small { font-size: var(--t-small); line-height: 1.45; }
.muted { color: var(--c-ink-2); }
.italic, .display em { font-style: italic; font-weight: 400; }
/* House names: Latin capitals, tracked, in both languages (SPEC §4.4). */
.house, .brand-name { font-family: var(--f-latin); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.link, .prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.price, .amount { font-variant-numeric: lining-nums tabular-nums; }

/* 5 Layout ------------------------------------------------------------------ */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack > * + * { margin-block-start: var(--s-4); }
.section { padding-block: var(--s-7); }
@media (min-width: 1024px) { .section { padding-block: var(--s-8); } }
.site-main { display: block; min-block-size: 50vh; }
.site-main:focus { outline: 0; }
.rule { border: 0; border-block-start: var(--hairline); margin: 0; }
.desktop-only { display: none !important; }
@media (min-width: 1024px) {
  .desktop-only { display: flex !important; }
  .icon-btn.desktop-only { display: grid !important; }
  .mobile-only { display: none !important; }
}

/* 6 Accessibility ----------------------------------------------------------- */
:focus-visible { outline: 1px solid var(--c-ink); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: 0; }
.screen-reader-text, .sr-only {
  position: absolute !important; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; z-index: 100; inset-block-start: 8px; inset-inline-start: 8px;
  padding: 12px 16px; background: var(--c-ink); color: #fff; font-size: 14px;
  transform: translateY(-200%); transition: transform var(--d-fast) var(--ease);
}
.skip-link:focus { transform: none; outline-color: #fff; }

/* 7 Announcement and header (SPEC §8.1) ------------------------------------- */
.announce { background: var(--c-ivory); text-align: center; padding: 9px var(--gutter); font-size: 12px; letter-spacing: .04em; line-height: 1.4; }
:root:lang(ar) .announce { letter-spacing: 0; font-size: 13px; }

.site-header {
  position: sticky; inset-block-start: 0; z-index: var(--z-header);
  background: rgb(255 255 255 / .97);
  border-block-end: var(--hairline);
  transition: transform var(--d-base) var(--ease);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.2) blur(8px); } }
/* Phones and tablets: the header steps aside on scroll down and returns on scroll up. */
@media (max-width: 1023.98px) {
  .site-header.is-hidden { transform: translateY(-100%); }
}
.header-row { block-size: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.header-start, .header-end { display: flex; align-items: center; gap: 0; }
.header-end { justify-content: flex-end; }
.logo { display: block; padding-block: 8px; }
.logo img { block-size: 18px; inline-size: auto; }
@media (min-width: 600px) { .logo img { block-size: 22px; } }
@media (min-width: 1024px) { .logo img { block-size: 26px; } }
.icon-btn { inline-size: 44px; block-size: 44px; display: grid; place-items: center; position: relative; flex: none; }
.icon-btn .icon { inline-size: 22px; block-size: 22px; }
.icon-btn:hover { color: var(--c-ink); opacity: .72; }
.count {
  position: absolute; inset-block-start: 6px; inset-inline-end: 4px;
  min-inline-size: 16px; block-size: 16px; padding-inline: 4px; border-radius: 8px;
  background: var(--c-burgundy); color: #fff; font: 500 9.5px/16px var(--f-latin); text-align: center; letter-spacing: 0;
}
.count-quiet { background: var(--c-ink); }
.lang-switch { display: flex; align-items: center; block-size: 44px; padding-inline: 10px; font-size: 14px; }
.lang-switch:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.dept-tabs { gap: var(--s-5); block-size: 44px; align-items: stretch; }
.dept-tabs a { display: flex; align-items: center; border-block-end: 1px solid transparent; transition: border-color var(--d-fast) var(--ease); }
.dept-tabs a:hover, .dept-tabs a[aria-current] { border-color: var(--c-ink); }

.nav-row { border-block-start: var(--hairline); }
.nav-row > ul { display: flex; justify-content: center; flex-wrap: wrap; column-gap: var(--s-5); list-style: none; margin-block: 0; margin-inline: auto; }
.nav-row > ul > li { display: flex; }
.nav-row > ul > li > a {
  display: block; padding-block: 13px 12px; font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  border-block-end: 1px solid transparent; transition: border-color var(--d-fast) var(--ease);
}
:root:lang(ar) .nav-row > ul > li > a { font-size: 14px; letter-spacing: 0; text-transform: none; padding-block: 11px 10px; }
.nav-row > ul > li > a:hover, .nav-row > ul > li > a[aria-current], .nav-row .has-panel:hover > a, .nav-row .has-panel:focus-within > a { border-color: var(--c-ink); }
.nav-row a.sale { color: var(--c-burgundy); }
.nav-row a.sale:hover { border-color: var(--c-burgundy); }

/* 8 Desktop menu panels: open on hover (150ms intent) and keyboard focus ----- */
.nav-panel {
  position: absolute; inset-inline: 0; inset-block-start: 100%;
  background: var(--c-ivory); border-block: var(--hairline);
  visibility: hidden; opacity: 0;
  transition: opacity var(--d-fast) var(--ease) .3s, visibility 0s linear .46s;
}
.nav-row .has-panel:hover > .nav-panel,
.nav-row .has-panel:focus-within > .nav-panel {
  visibility: visible; opacity: 1;
  transition: opacity var(--d-fast) var(--ease) .15s, visibility 0s linear .15s;
}
.nav-row .has-panel:focus-within > .nav-panel { transition-delay: 0s; }
.nav-row .has-panel.is-closed > .nav-panel { visibility: hidden; opacity: 0; transition: none; }
.nav-panel-grid { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) 240px; gap: var(--s-7); padding-block: var(--s-6) var(--s-7); }
.nav-panel ul { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: 2px; }
.nav-panel ul a { display: inline-flex; align-items: baseline; gap: 6px; padding-block: 5px; font-size: 14px; }
.nav-panel ul a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nav-panel ul a .muted { font-size: 12px; }
.nav-panel .nav-houses a.house { font-size: 12px; }
.nav-panel .btn-text { margin-block-start: var(--s-2); }
.nav-panel-image { display: grid; gap: var(--s-3); align-self: start; }
.nav-panel-image .media { display: block; aspect-ratio: 3 / 4; background: var(--c-image); overflow: hidden; }
.nav-panel-image img { inline-size: 100%; block-size: 100%; object-fit: cover; }

/* 9 Tab bar (phone, SPEC §8.2) ---------------------------------------------- */
.tabbar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: var(--z-tabbar);
  block-size: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-block-end: env(safe-area-inset-bottom, 0px);
  background: rgb(255 255 255 / .98); border-block-start: var(--hairline);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.tabbar a { display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 10px; letter-spacing: .06em; color: var(--c-ink-2); position: relative; }
:root:lang(ar) .tabbar a { font-size: 11px; letter-spacing: 0; }
.tabbar a[aria-current] { color: var(--c-ink); }
.tabbar a[aria-current]::before { content: ""; position: absolute; inset-block-start: -1px; inline-size: 24px; block-size: 1px; background: var(--c-ink); }
.tabbar .icon { inline-size: 22px; block-size: 22px; }
.tabbar .count { inset-block-start: 6px; inset-inline-end: calc(50% - 22px); }
/* The ivory footer runs under the tab bar, so the page never ends in a white band. */
body.has-tabbar .site-footer { padding-block-end: calc(var(--s-6) + var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) {
  .tabbar { display: none; }
  body.has-tabbar .site-footer { padding-block-end: var(--s-6); }
}

/* 10 Buttons and links ------------------------------------------------------ */
.btn,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-block-size: 48px; padding-inline: var(--s-5);
  font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.2; text-align: center;
  border: 1px solid var(--c-ink); border-radius: 0; background: var(--c-ink); color: #fff; cursor: pointer;
  transition: background-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}
:root:lang(ar) :is(.btn, .button) { font-size: 14px; text-transform: none; }
.btn { background: transparent; color: var(--c-ink); }
.btn-primary, .button { background: var(--c-ink); color: #fff; }
.btn-primary:hover, .button:hover { background: #000; color: #fff; }
.btn-accent, .woocommerce #place_order, .checkout-button { background: var(--c-burgundy); border-color: var(--c-burgundy); color: #fff; }
.btn-accent:hover, .woocommerce #place_order:hover, .checkout-button:hover { background: var(--c-burgundy-deep); border-color: var(--c-burgundy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--c-ink); }
.btn-ghost:hover { background: var(--c-ink); color: #fff; }
.btn-light { border-color: #fff; color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--c-ink); }
.btn-block { inline-size: 100%; }
.btn[disabled], .btn[aria-disabled="true"], .button:disabled, .button.disabled {
  background: transparent; color: var(--c-ink-3); border-color: var(--c-line); cursor: not-allowed;
}
/* Loading: the label gives way to a thin progress line (SPEC §6). */
.btn.is-loading, .button.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after, .button.loading::after {
  content: ""; position: absolute; inset-inline: 24px; inset-block-end: 50%; block-size: 1px; background: currentColor;
  color: #fff; transform-origin: 0 50%; animation: amoda-progress 1.2s var(--ease) infinite;
}
.btn-ghost.is-loading::after { color: var(--c-ink); }
@keyframes amoda-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.btn-text {
  display: inline-flex; align-items: center; min-block-size: 44px;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
:root:lang(ar) .btn-text { font-size: 13px; letter-spacing: 0; text-transform: none; }
.btn-text:hover { text-decoration-thickness: 2px; }

/* 11 Chips ------------------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-block-size: 36px; padding-inline: 14px;
  border: 1px solid var(--c-line-strong); background: #fff; font-size: 13px; white-space: nowrap;
  transition: border-color var(--d-fast) var(--ease), background-color var(--d-fast) var(--ease);
}
.chip.house { font-size: 11px; }
.chip:hover { border-color: var(--c-ink); }
.chip[aria-pressed="true"], .chip[aria-current], .chip.is-selected { border-color: var(--c-ink); background: var(--c-ink); color: #fff; }
.chip .icon { inline-size: 14px; block-size: 14px; }
.chip .n { color: var(--c-ink-2); font-size: 12px; }
.chip[aria-pressed="true"] .n, .chip.is-selected .n { color: rgb(255 255 255 / .75); }

/* 12 Fields and forms (ours and WooCommerce's) ------------------------------- */
.field, .form-row { display: grid; gap: 6px; margin: 0 0 var(--s-5); }
.field > label, .form-row > label { font-size: var(--t-small); color: var(--c-ink-2); }
.form-row .required { color: var(--c-ink-2); text-decoration: none; border: 0; }
.form-row .optional { color: var(--c-ink-3); }
.field input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"]),
.field select, .field textarea,
.form-row .input-text, .form-row select, .form-row textarea,
.woocommerce form .input-text, .woocommerce-input-wrapper > .input-text,
input.input,
.search-form input[type="search"] {
  inline-size: 100%; min-block-size: 48px; padding: 10px 0; border: 0; border-block-end: 1px solid var(--c-line-strong);
  background: transparent; font-size: 16px; /* 16px stops iOS zooming */ color: var(--c-ink); border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color var(--d-fast) var(--ease);
}
textarea, .form-row textarea { min-block-size: 120px; resize: vertical; line-height: var(--lh-text); }
:is(.field, .form-row) :is(input, select, textarea):hover { border-color: var(--c-ink-2); }
:is(.field, .form-row) :is(input, select, textarea):focus,
input.input:focus, .search-form input:focus { outline: 0; border-color: var(--c-ink); box-shadow: 0 1px 0 0 var(--c-ink); }
::placeholder { color: var(--c-ink-3); opacity: 1; }
:is(.field, .form-row) select, select.input, .woocommerce select {
  padding-inline-end: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1C1C' stroke-width='1.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center / 16px;
}
[dir="rtl"] :is(.field, .form-row) select, [dir="rtl"] select.input, [dir="rtl"] .woocommerce select { background-position: left 0 center; }
:is(.field, .form-row).woocommerce-invalid :is(input, select), [aria-invalid="true"] { border-color: var(--c-error) !important; }
.field-help, .form-row .description { font-size: 12px; color: var(--c-ink-2); }
.field-error { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--c-error); }
.field-error .icon { inline-size: 16px; block-size: 16px; }
/* Checkboxes and radios: square, ink. */
input[type="checkbox"], input[type="radio"] {
  -webkit-appearance: none; appearance: none; inline-size: 18px; block-size: 18px; margin: 0; flex: none;
  border: 1px solid var(--c-line-strong); background: #fff; display: inline-grid; place-content: center; vertical-align: -3px; cursor: pointer;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:checked { background: var(--c-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--c-ink); }
input[type="radio"]:checked { border-color: var(--c-ink); box-shadow: inset 0 0 0 4px #fff; background: var(--c-ink); }
label:has(> input[type="checkbox"]), label:has(> input[type="radio"]), .woocommerce-form__label-for-checkbox { display: inline-flex; gap: 10px; align-items: flex-start; cursor: pointer; }
/* Quantity: a quiet box without spinners. */
.quantity { display: inline-flex; }
.quantity .qty, input.qty-input {
  inline-size: 64px; min-block-size: 48px; text-align: center; border: 1px solid var(--c-line-strong); background: #fff; font-size: 15px; -moz-appearance: textfield; appearance: textfield;
}
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { outline: 0; border-color: var(--c-ink); }
/* WooCommerce's country/state picker (selectWoo) on checkout and account. */
.select2-container .select2-selection--single { block-size: 48px; border: 0; border-block-end: 1px solid var(--c-line-strong); border-radius: 0; background: transparent; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-inline: 0; color: var(--c-ink); }
.select2-container .select2-selection--single .select2-selection__arrow { block-size: 46px; }
.select2-dropdown { border: 1px solid var(--c-line-strong); border-radius: 0; }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted[data-selected] { background: var(--c-ink) !important; }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
legend { padding: 0; }

/* 13 Notices (WooCommerce and ours): icon + text, never colour alone ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.notices { padding-block-start: var(--s-4); }
.notices:not(:has(.woocommerce-notices-wrapper:not(:empty), .woocommerce-message, .woocommerce-error, .woocommerce-info, .notice, [role="alert"], [role="status"])) { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-notice, .notice {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4);
  list-style: none; margin: 0 0 var(--s-4); padding: 14px var(--s-4); padding-inline-start: 48px;
  background: var(--c-ivory); border-inline-start: 2px solid var(--c-ink); font-size: 14px; line-height: 1.5;
}
.woocommerce-error { display: block; }
.woocommerce-error li { margin: 0; }
.woocommerce-error li + li { margin-block-start: 4px; }
.woocommerce-message::before, .woocommerce-error::before, .woocommerce-info::before, .woocommerce-notice::before, .notice::before {
  content: ""; position: absolute; inset-inline-start: 16px; inset-block-start: 15px; inline-size: 20px; block-size: 20px; background: currentColor;
  -webkit-mask: var(--notice-icon) center / contain no-repeat; mask: var(--notice-icon) center / contain no-repeat;
}
.woocommerce-message, .woocommerce-notice--success, .notice-success {
  border-color: var(--c-success);
  --notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.woocommerce-message::before, .woocommerce-notice--success::before, .notice-success::before { color: var(--c-success); }
.woocommerce-error, .woocommerce-notice--error, .notice-error {
  border-color: var(--c-error);
  --notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5v5.5M12 15.8v.7'/%3E%3C/svg%3E");
}
.woocommerce-error::before, .woocommerce-notice--error::before, .notice-error::before { color: var(--c-error); }
.woocommerce-info, .woocommerce-notice, .notice {
  --notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5.5M12 7.8v.7'/%3E%3C/svg%3E");
}
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
  order: 2; margin-inline-start: auto; min-block-size: 40px; padding-inline: var(--s-4); background: transparent; color: var(--c-ink);
}
.woocommerce-message .button:hover, .woocommerce-info .button:hover { background: var(--c-ink); color: #fff; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-store-notice, p.demo_store { display: none !important; }

/* 14 Media ------------------------------------------------------------------ */
.ph, .media { position: relative; background: var(--c-image); overflow: hidden; }
.ph-3x4 { aspect-ratio: 3 / 4; } .ph-4x5 { aspect-ratio: 4 / 5; } .ph-1x1 { aspect-ratio: 1; } .ph-16x9 { aspect-ratio: 16 / 9; } .ph-2x3 { aspect-ratio: 2 / 3; }
.ph > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
/* A soft shade under text set on a photograph. */
.shade::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgb(0 0 0 / .5), rgb(0 0 0 / .08) 45%, rgb(0 0 0 / 0) 70%); }
/* Skeletons: the final proportions in #FBFBFB, a slow fade, no shimmer. */
.skeleton { background: var(--c-image); animation: amoda-breathe 1.2s ease-in-out infinite alternate; }
.skeleton-text { block-size: .9em; max-inline-size: 12em; margin-block: 4px; }
@keyframes amoda-breathe { from { opacity: 1; } to { opacity: .55; } }

/* 15 Product card and grid (SPEC §9.5) -------------------------------------- */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--grid-row-gap); list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: grid; gap: var(--s-3); align-content: start; min-inline-size: 0; }
.card .media { aspect-ratio: 3 / 4; }
.card .media-link { display: block; block-size: 100%; }
.card .media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.card .media img.alt { opacity: 0; transition: opacity var(--d-base) var(--ease); }
@media (hover: hover) { .card:hover .media img.alt { opacity: 1; } }
.card.is-soldout .media img { opacity: .6; }
.card .badge {
  position: absolute; z-index: 2; inset-block-start: 8px; inset-inline-start: 8px;
  padding: 3px 6px; background: rgb(255 255 255 / .9);
  font-size: 9.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink); line-height: 1.2;
  pointer-events: none;
}
:root:lang(ar) .card .badge { font-size: 11px; letter-spacing: 0; }
.card .badge-exclusive { color: var(--c-burgundy); }
.card .badge-soldout { color: var(--c-ink-2); }
.card .wish { position: absolute; z-index: 2; inset-block-start: 0; inset-inline-end: 0; inline-size: 44px; block-size: 44px; display: grid; place-items: center; }
.card .wish::before { content: ""; position: absolute; inset: 8px; background: rgb(255 255 255 / .7); }
.card .wish .icon { position: relative; inline-size: 18px; block-size: 18px; transition: fill var(--d-fast) var(--ease), stroke var(--d-fast) var(--ease), transform var(--d-fast) var(--ease); }
.card .wish:hover .icon { transform: scale(1.08); }
.card .wish[aria-pressed="true"] .icon, .wish[aria-pressed="true"] .icon-heart { fill: var(--c-burgundy); stroke: var(--c-burgundy); }
.card .info { display: grid; gap: 2px; padding-inline-end: var(--s-2); }
.card .info:hover .name { color: var(--c-ink); }
.card .house { font-size: 11px; line-height: 1.5; }
.card .name {
  font-size: var(--t-small); color: var(--c-ink-2); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--d-fast) var(--ease);
}
.card .price { margin-block-start: 2px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; font-size: var(--t-small); }
.price s { color: var(--c-ink-2); order: 2; }
.price .now { color: var(--c-burgundy); }
.price .off { color: var(--c-burgundy); order: 3; }
.price .from { color: var(--c-ink-2); }
.price bdi { unicode-bidi: isolate; }

/* 16 Rails ------------------------------------------------------------------ */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 41.5%; gap: var(--grid-gap);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  margin: 0; margin-inline: calc(var(--gutter) * -1); padding: 0; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  list-style: none; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; min-inline-size: 0; }
@media (min-width: 600px) { .rail { grid-auto-columns: calc((100% - 2 * var(--gutter) - 3 * var(--grid-gap)) / 3.5); } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 2 * var(--gutter) - 4 * var(--grid-gap)) / 4.4); } }
@media (min-width: 1440px) { .rail { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; grid-auto-columns: calc((100% - 4 * var(--grid-gap)) / 4.4); } }
.rail-btn {
  position: absolute; z-index: 3; inset-block-start: calc(50% - 60px); inline-size: 44px; block-size: 44px;
  display: none; place-items: center; background: rgb(255 255 255 / .94); border: var(--hairline);
  opacity: 0; transition: opacity var(--d-fast) var(--ease);
}
.rail-btn .icon { inline-size: 18px; block-size: 18px; }
.rail-prev { inset-inline-start: 0; }
.rail-next { inset-inline-end: 0; }
.rail-btn:disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: hover) and (min-width: 1024px) {
  .rail-btn { display: grid; }
  .rail-wrap:hover .rail-btn, .rail-btn:focus-visible { opacity: 1; }
}

/* 17 Sheets: full screen on phones, a 420px side panel from 600px ------------- */
.sheet { position: fixed; inset: 0; z-index: var(--z-sheet); }
.sheet-scrim { position: absolute; inset: 0; background: var(--c-scrim); opacity: 0; transition: opacity var(--d-sheet) var(--ease); }
.sheet-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: 100%;
  display: flex; flex-direction: column; background: #fff; outline: 0;
  transform: translateX(var(--sheet-from)); transition: transform var(--d-sheet) var(--ease);
  padding-block-start: env(safe-area-inset-top, 0px);
}
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
@media (min-width: 600px) { .sheet-panel { inline-size: var(--sheet-w); border-inline-start: var(--hairline); } }
.sheet-head { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-block-size: 56px; padding-inline: 4px; border-block-end: var(--hairline); text-align: center; flex: none; }
.sheet-head .sheet-title { font-size: 15px; }
.sheet-logo { block-size: 16px; inline-size: auto; justify-self: center; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-foot {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-3); flex: none;
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); border-block-start: var(--hairline); background: #fff;
}
@media (min-width: 600px) { .sheet-foot { padding-inline: var(--s-5); } }

/* 18 Menu sheet (SPEC §8.3) ------------------------------------------------- */
.menu-tabs { display: grid; grid-template-columns: 1fr 1fr; border-block-end: var(--hairline); flex: none; }
.menu-tabs button { min-block-size: 48px; border-block-end: 1px solid transparent; margin-block-end: -1px; color: var(--c-ink-2); }
.menu-tabs button[aria-selected="true"] { border-color: var(--c-ink); color: var(--c-ink); }
.menu-body { padding-inline: var(--gutter); }
@media (min-width: 600px) { .menu-body { padding-inline: var(--s-5); } }
.menu-rows { list-style: none; margin: 0; padding: 0; }
.menu-rows .row-link { font-size: 16px; inline-size: 100%; text-align: start; }
.menu-rows .row-link strong { font-weight: 500; }
.menu-rows .row-link.is-sale { color: var(--c-burgundy); }
.menu-rows .house { font-size: 12px; }
.menu-level.is-entering { animation: amoda-slide-in var(--d-base) var(--ease); }
@keyframes amoda-slide-in { from { opacity: 0; transform: translateX(calc(var(--sheet-from) * .12)); } to { opacity: 1; transform: none; } }
.menu-back { display: flex; align-items: center; gap: var(--s-2); inline-size: 100%; min-block-size: 56px; border-block-end: var(--hairline); text-align: start; }
.menu-back .icon { inline-size: 20px; block-size: 20px; }
.menu-group { padding-block: var(--s-5) var(--s-2); color: var(--c-ink-2); }
.menu-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); list-style: none; margin: var(--s-5) 0; padding: 0; }
.menu-features a { display: grid; gap: var(--s-2); }
.menu-features .media { aspect-ratio: 4 / 5; }
.menu-features img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.menu-utility { list-style: none; margin: var(--s-3) calc(var(--gutter) * -1) 0; padding: var(--s-3) var(--gutter) var(--s-6); background: var(--c-ivory); }
@media (min-width: 600px) { .menu-utility { margin-inline: calc(var(--s-5) * -1); padding-inline: var(--s-5); } }
.sheet-menu.is-deep .menu-utility { display: none; }
.menu-utility .row-link { font-size: 14px; min-block-size: 52px; border-color: var(--c-ivory-line); }
.row-icon { display: inline-flex; align-items: center; gap: var(--s-3); }
.row-icon .icon { inline-size: 20px; block-size: 20px; }
.lang-glyph { inline-size: 20px; text-align: center; font-size: 13px; }

/* 19 Search sheet (SPEC §9.7) ----------------------------------------------- */
.search-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-3); padding: 4px var(--gutter); border-block-end: 1px solid var(--c-ink); flex: none; }
@media (min-width: 600px) { .search-head { padding-inline: var(--s-5); } }
.search-field { display: flex; align-items: center; gap: 10px; min-block-size: 52px; }
.search-field .icon { inline-size: 20px; block-size: 20px; }
.search-field input { flex: 1; min-inline-size: 0; border: 0; background: none; font-size: 17px; block-size: 48px; -webkit-appearance: none; appearance: none; }
.search-field input:focus { outline: 0; }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-body { padding-block-end: var(--s-6); }
.search-block { padding: var(--s-5) var(--gutter) 0; }
@media (min-width: 600px) { .search-block { padding-inline: var(--s-5); } }
.search-block > h2, .search-block-head h2 { margin-block-end: var(--s-3); }
.search-block-head { display: flex; justify-content: space-between; align-items: center; }
.search-block-head .btn-text { min-block-size: 32px; margin-block-start: -8px; }
.search-list { list-style: none; margin: 0; padding: 0; }
.search-list a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); min-block-size: 48px; border-block-end: var(--hairline); font-size: 15px; }
.search-list a:hover, .search-list a[aria-selected="true"] { background: var(--c-ivory); }
.search-list .k { color: var(--c-ink-2); font-size: 12px; }
.search-list mark, .search-pieces mark { background: none; color: inherit; font-weight: 500; }
.search-pieces { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.search-pieces a { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-3); align-items: center; }
.search-pieces a:hover .name, .search-pieces a[aria-selected="true"] .name { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.search-pieces .media { aspect-ratio: 3 / 4; }
.search-pieces .media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.search-pieces .text { display: grid; gap: 1px; min-inline-size: 0; }
.search-pieces .house { font-size: 11px; }
.search-pieces .name { font-size: var(--t-small); color: var(--c-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-all { display: flex; inline-size: auto; margin: var(--s-4) var(--gutter) 0; }
@media (min-width: 600px) { .search-all { margin-inline: var(--s-5); } }
.search-message { padding: var(--s-5) var(--gutter); color: var(--c-ink-2); font-size: 14px; }
@media (min-width: 600px) { .search-message { padding-inline: var(--s-5); } }

/* 20 Row link --------------------------------------------------------------- */
.row-link { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-block-size: 56px; border-block-end: var(--hairline); }
.row-link .sel { color: var(--c-ink-2); font-size: 13px; margin-inline-start: auto; text-align: end; }
.row-link .chev, .row-link .icon-chev { inline-size: 14px; block-size: 14px; color: var(--c-ink-2); }
a.row-link:hover, button.row-link:hover { color: var(--c-ink); }
a.row-link:hover > span:first-child, button.row-link:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* 21 Accordions ------------------------------------------------------------- */
details.acc { border-block-end: var(--hairline); }
details.acc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-block-size: 56px; cursor: pointer; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: ""; inline-size: 12px; block-size: 12px; flex: none; background:
  linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
  linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform var(--d-base) var(--ease); }
details.acc[open] > summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
details.acc .acc-body { padding-block-end: var(--s-5); font-size: 14px; }
details.acc[open] .acc-body { animation: amoda-fade var(--d-base) var(--ease); }
@keyframes amoda-fade { from { opacity: 0; } to { opacity: 1; } }

/* 22 Breadcrumbs (SPEC §8.4) ------------------------------------------------ */
.breadcrumbs { font-size: 12px; color: var(--c-ink-2); overflow-x: auto; scrollbar-width: none; }
.breadcrumbs::-webkit-scrollbar { display: none; }
.breadcrumbs ol { display: flex; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; padding-inline: 8px; color: var(--c-ink-3); }
.breadcrumbs a { display: inline-block; padding-block: 12px; }
.breadcrumbs a:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--c-ink); }

/* 23 Section head ----------------------------------------------------------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-block-end: var(--s-5); }
.section-head-text { display: grid; gap: 4px; }
.section-head .btn-text { flex: none; min-block-size: 0; }

/* 24 Service bar, newsletter, footer (SPEC §8.5) ----------------------------- */
.service-bar { border-block-start: var(--hairline); margin-block-start: var(--s-8); }
.service-bar ul { display: grid; gap: var(--s-5); padding-block: var(--s-6); list-style: none; }
.service-bar li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; }
.service-bar li > span { display: grid; gap: 2px; }
.service-bar .icon { inline-size: 24px; block-size: 24px; }
.service-bar a.label { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (min-width: 600px) { .service-bar ul { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .service-bar li { justify-content: center; grid-template-columns: 24px auto; } }

.newsletter { background: var(--c-ivory); text-align: center; padding-block: var(--s-7); }
.newsletter .wrap { display: grid; justify-items: center; gap: var(--s-2); }
.newsletter-form { display: grid; grid-template-columns: 1fr; gap: var(--s-3); inline-size: 100%; max-inline-size: 460px; margin-block-start: var(--s-4); text-align: start; }
.newsletter-form .field { margin: 0; }
.newsletter-form input[type="email"] { border-color: var(--c-ink); text-align: start; }
.newsletter-form input[type="email"]:not(:placeholder-shown) { direction: ltr; }
@media (min-width: 600px) { .newsletter-form { grid-template-columns: 1fr auto; align-items: end; } }
.newsletter-note { display: inline-flex; align-items: center; gap: var(--s-2); margin-block-start: var(--s-3); font-size: 14px; }
.newsletter-note .icon { inline-size: 18px; block-size: 18px; }
.newsletter-note.is-success { color: var(--c-success); }
.newsletter-note.is-error { color: var(--c-error); }
.hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }

.site-footer { background: var(--c-ivory); padding-block: var(--s-4) var(--s-6); border-block-start: 1px solid var(--c-ivory-line); }
.footer-cols { display: grid; }
.footer-brand { padding-block: var(--s-5); }
.footer-lockup img { block-size: 64px; inline-size: auto; }
.footer-acc { border-color: var(--c-ivory-line); }
.footer-acc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-acc a { display: inline-block; padding-block: 6px; font-size: 14px; }
.footer-acc a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (min-width: 1024px) {
  .site-footer { padding-block: var(--s-7) var(--s-6); }
  .footer-cols { grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-7); }
  .footer-brand { padding-block: 0; }
  .footer-acc { border: 0; }
  .footer-acc > summary { pointer-events: none; min-block-size: 0; margin-block-end: var(--s-3); }
  .footer-acc > summary::after { display: none; }
}
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-block-start: var(--s-6); font-size: 13px; color: var(--c-ink-2); }
.footer-locale { display: flex; align-items: center; gap: var(--s-2); }
.footer-locale .icon { inline-size: 16px; block-size: 16px; }
.footer-locale a { color: var(--c-ink); }
.pay-marks { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.pay-marks li { padding: 3px 8px; border: 1px solid var(--c-ivory-line); background: #fff; font: 500 10px/1.4 var(--f-latin); letter-spacing: .12em; color: var(--c-ink); }
@media (max-width: 1023.98px) { .footer-meta { flex-direction: column; align-items: flex-start; } }

/* 25 Toast ------------------------------------------------------------------ */
.toast-region { position: fixed; z-index: var(--z-toast); inset-inline: var(--s-3); inset-block-end: calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); display: grid; gap: var(--s-2); pointer-events: none; }
body.has-tabbar .toast-region { inset-block-end: calc(var(--tabbar-h) + var(--s-3) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) {
  .toast-region, body.has-tabbar .toast-region { inset-inline: auto var(--s-5); inset-block-end: var(--s-5); inline-size: 400px; }
}
.toast {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-block-size: 52px; padding: 10px var(--s-4); background: var(--c-ink); color: #fff; font-size: 14px;
  pointer-events: auto; animation: amoda-toast-in var(--d-base) var(--ease);
}
.toast.is-leaving { opacity: 0; transition: opacity var(--d-base) var(--ease); }
.toast a { flex: none; font-size: 12px; font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; padding-block: 8px; }
:root:lang(ar) .toast a { font-size: 13px; text-transform: none; }
.toast :focus-visible { outline-color: #fff; }
@keyframes amoda-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 26 Pagination ------------------------------------------------------------- */
.pagination, .woocommerce-pagination { margin-block: var(--s-7) 0; }
.pagination ul.page-numbers, .woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; border: 0; }
.page-numbers li { border: 0; }
a.page-numbers, span.page-numbers { display: grid; place-items: center; min-inline-size: 44px; block-size: 44px; padding-inline: 8px; font-size: 14px; font-variant-numeric: tabular-nums; border-block-end: 1px solid transparent; }
a.page-numbers:hover { border-color: var(--c-line-strong); }
span.page-numbers.current { border-color: var(--c-ink); }
span.page-numbers.dots { color: var(--c-ink-3); }
.page-numbers .icon { inline-size: 18px; block-size: 18px; }

/* 27 Pages, empty states, 404 ----------------------------------------------- */
.page-quiet { max-inline-size: calc(640px + 2 * var(--gutter)); padding-block: var(--s-7) var(--s-8); }
.page-header { margin-block-end: var(--s-6); }
.page-title { margin-block-end: var(--s-4); }
.shop-page { padding-block: var(--s-6) var(--s-8); }
.shop-page > .page-title { margin-block-end: var(--s-6); }
.prose { font-size: var(--t-body); line-height: var(--lh-text); }
.prose > * + * { margin-block-start: 1em; }
.prose h2 { font-family: var(--f-display); font-size: var(--t-h3); line-height: var(--lh-display); margin-block-start: 1.6em; }
.prose h3 { font-size: var(--t-body); font-weight: 500; margin-block-start: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.prose img { margin-block: var(--s-5); }
.prose blockquote { margin-inline: 0; padding-inline-start: var(--s-4); border-inline-start: 1px solid var(--c-ink); font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.3; }
.post-list { display: grid; gap: var(--s-6); }
.post-item { display: grid; gap: var(--s-2); padding-block-end: var(--s-6); border-block-end: var(--hairline); }
.empty-state { display: grid; justify-items: center; gap: var(--s-3); text-align: center; padding-block: var(--s-8); max-inline-size: 46ch; margin-inline: auto; }
.empty-state .btn { margin-block-start: var(--s-3); }
.page-404 .page-title { margin-block: var(--s-3) var(--s-3); }
.page-404 .search-form { margin-block: var(--s-6); }
.page-404-links { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.search-form-field { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: var(--s-3); border-block-end: 1px solid var(--c-ink); }
.search-form-field .icon { inline-size: 20px; block-size: 20px; }
.search-form-field input[type="search"] { border: 0 !important; box-shadow: none !important; }
.search-form-field .btn { min-block-size: 40px; padding-inline: var(--s-4); }

/* 28 Motion preferences: fade only ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .sheet-panel { transform: none !important; opacity: 0; transition: opacity var(--d-base) linear; }
  .sheet.is-open .sheet-panel { opacity: 1; }
  .site-header { transition: none; }
  .menu-level.is-entering { animation: none; }
  .btn.is-loading::after, .button.loading::after { animation: none; transform: scaleX(.5); }
}

/* 29 Utilities -------------------------------------------------------------- */
.center { text-align: center; }
.flex { display: flex; align-items: center; gap: var(--s-3); }
.between { justify-content: space-between; }
.ivory { background: var(--c-ivory); }
.accent { color: var(--c-burgundy); }
.nowrap { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }
