/* TrendUp — shared styles (RTL, Arabic) */
:root {
  --bg: #0b0a09; --bgrgb: 11,10,9; --fg: #efece8; --fg-strong: #ffffff;
  --muted: #a9a39d; --muted2: #8a847e; --card: #15120f; --surface: #100e0c; --surface2: #080706;
  --ink: 255,255,255; --blob1: #1a120c; --blob2: #140e0a; --sale-end: #1a110b; --note: #ffe3cc;
  --a1: oklch(0.72 0.18 50); --a2: oklch(0.72 0.18 20); --on-accent: #0b0a09;
  --ease: cubic-bezier(.16,1,.3,1);
  --violet: oklch(0.55 0.2 300);
  --grad-hot: linear-gradient(100deg, var(--a1), var(--a2));
  --grad-mesh: radial-gradient(60% 80% at 85% 20%, oklch(0.66 0.2 45) 0%, transparent 60%), radial-gradient(50% 70% at 10% 90%, oklch(0.5 0.2 320) 0%, transparent 60%), radial-gradient(40% 60% at 40% 40%, oklch(0.6 0.2 20) 0%, transparent 70%), #140c08;
  --scrim: linear-gradient(to top, rgba(8,6,5,.88) 0%, rgba(8,6,5,.45) 38%, transparent 68%);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f7f4f0; --bgrgb: 247,244,240; --fg: #1a1612; --fg-strong: #000000;
  --muted: #5f5850; --muted2: #736b62; --card: #ffffff; --surface: #efe9e2; --surface2: #ebe4dc;
  --ink: 30,22,14; --blob1: #ffd9b8; --blob2: #f6e6d6; --sale-end: oklch(0.56 0.17 42); --note: oklch(0.52 0.16 45);
  --a1: oklch(0.64 0.18 50); --a2: oklch(0.64 0.18 20);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: 'Cairo', system-ui, sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background .4s ease, color .4s ease;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--a1); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; }
input::placeholder { color: var(--muted2); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.container { max-width: 1360px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 56px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; right: 16px; top: -60px; z-index: 300; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

/* Ambient */
.glow {
  position: fixed; left: 0; top: 0; width: 52vw; height: 52vw; margin: -26vw 0 0 -26vw; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--a1) 16%, transparent) 0%, transparent 62%);
  pointer-events: none; z-index: 0; will-change: transform; transform: translate3d(50vw, 40vh, 0);
}
.cursor-ring {
  position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); pointer-events: none; z-index: 250; mix-blend-mode: difference; opacity: 0;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, opacity .3s;
}
.cursor-ring.is-big { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(255,255,255,.9); }
.curtain {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--bg);
  font-size: 22px; font-weight: 700; letter-spacing: .1em; transition: transform 1.1s var(--ease);
}
.curtain.is-gone { transform: translateY(-100%); }

main, footer, section { position: relative; z-index: 2; }
main { overflow-x: clip; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background .4s, border-color .4s;
}
.header.is-solid, .header.always-solid { background: rgba(var(--bgrgb), .74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(var(--ink), .06); }
.header.is-hidden { transform: translateY(-110%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; letter-spacing: .08em; }
/* Real logo: the orange one on both themes. */
.brand-logo { display: inline-flex; }
.brand-logo-img { display: block; width: auto; height: 42px; }
.brand-logo.is-footer .brand-logo-img { height: 52px; }
@media (max-width: 519px) { .brand-logo-img { height: 34px; } .brand-logo.is-footer .brand-logo-img { height: 40px; } }
.logo-dot { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffd9b8, var(--a1) 55%, color-mix(in oklch, var(--a1) 60%, black)); box-shadow: 0 0 24px color-mix(in oklch, var(--a1) 60%, transparent); }
.nav-links { display: flex; gap: 32px; font-size: 22px; font-weight: 600; }
.nav-links a { color: var(--muted); transition: color .3s; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--fg-strong); }
.nav-links a[aria-current="page"] { color: var(--fg-strong); border-color: var(--a1); }
.actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(var(--ink), .16); background: transparent; transition: background .3s, transform .6s var(--ease); }
.icon-btn:hover { background: rgba(var(--ink), .08); }
.theme-toggle:hover { transform: rotate(180deg); }
.theme-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(var(--ink), .16); background: transparent; font-size: 18px; transition: background .35s, border-color .35s; }
.pill:hover { background: rgba(var(--ink), .08); border-color: rgba(var(--ink), .32); }
.pill.ghost { border-color: transparent; color: var(--muted); }
.pill.ghost:hover { color: var(--fg-strong); border-color: rgba(var(--ink), .14); background: transparent; }
.bag { padding-inline: 18px 10px; }
.bag-count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--a1); color: var(--on-accent); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; }
.mobile-menu { display: none; padding: 4px 0 20px; background: rgba(var(--bgrgb), .97); border-bottom: 1px solid rgba(var(--ink), .08); }
.mobile-menu.is-open { display: block; }
.mobile-menu a { display: flex; align-items: center; min-height: 56px; font-size: 22px; font-weight: 600; border-bottom: 1px solid rgba(var(--ink), .06); }
.mobile-menu a:last-child { border: 0; color: var(--a1); }
@media (max-width: 1099px) {
  .nav-links, .search-btn { display: none; }
  .menu-btn { display: grid; order: 99; } /* last in RTL flow = far left */
}
.burger { display: grid; gap: 5px; width: 22px; }
.burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s, opacity .2s; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-size: 18px; font-weight: 400; transition: background .35s, border-color .35s, box-shadow .5s; }
.btn-primary { background: var(--a1); color: var(--on-accent); padding-inline: 26px 8px; }
.btn-primary:hover { box-shadow: 0 0 0 6px color-mix(in oklch, var(--a1) 18%, transparent), 0 12px 50px color-mix(in oklch, var(--a1) 55%, transparent); }
.btn-ghost { border-color: rgba(var(--ink), .16); }
.btn-ghost:hover { background: rgba(var(--ink), .06); border-color: rgba(var(--ink), .34); }
.btn-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--fg); font-size: 16px; }
.btn-light { background: #fff7f0; color: #1a110b; min-height: 52px; }
.btn-light:hover { box-shadow: 0 10px 40px rgba(0,0,0,.35); }
[data-magnetic-inner] { display: inline-flex; align-items: center; gap: inherit; }

/* Type */
.eyebrow { font-size: 16px; font-weight: 600; color: var(--a1); margin-bottom: 16px; }
.h2 { font-size: 28px; font-weight: 600; line-height: 1.4; }
.accent { color: var(--a1); }
.link { font-size: 22px; font-weight: 600; color: var(--a1); border-bottom: 1px solid transparent; transition: border-color .3s; }
.link:hover { border-color: var(--a1); }

/* Image placeholders: drop files into /images, or the striped label shows */
.ph {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(var(--ink), .04) 0 1px, transparent 1px 14px);
}
.ph::after {
  content: attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 6px 10px; border-radius: 6px; background: var(--bg); color: var(--muted2);
  font-size: 13px; white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* The stripes and the name label are only for products without a photo: never behind a photo (cut-out PNGs show through). */
.ph:has(img:not([hidden])) { background: none; }
.ph:has(img:not([hidden]))::after { display: none; }
.ph.contain img { object-fit: contain; }

/* Spotlight hover */
.spot { position: relative; }
.spot-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--o, 0); transition: opacity .5s; border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklch, var(--spot, var(--a1)) 22%, transparent), transparent 65%); }

/* Hero */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 580px); justify-content: start; align-items: center; min-height: 100svh; padding-block: clamp(110px, 12vw, 150px) clamp(60px, 8vw, 100px); }
/* The owner's photo as the whole hero's background (2026-09-28): full width, from the very top (under the fixed header).
   Fades keep the text (right, over the plain wall) and the menu readable in both themes; the people on the left stay clear. */
.hero-bg { position: absolute; z-index: -1; top: 0; bottom: 0; inset-inline: calc(50% - 50vw); overflow: hidden; background: var(--surface); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(var(--bgrgb), .75) 0, rgba(var(--bgrgb), 0) 160px),
    linear-gradient(to left, rgba(var(--bgrgb), .92) 0%, rgba(var(--bgrgb), .78) 32%, rgba(var(--bgrgb), 0) 62%),
    linear-gradient(to top, var(--bg) 0, rgba(var(--bgrgb), 0) 90px); }
.hero-copy { position: relative; }
@media (max-width: 759px) {
  /* Phones: the photo (crop to the people) on top, full width and under the header, fading into the page; text below it. */
  .hero { display: block; min-height: 0; padding-top: 0; padding-bottom: 56px; }
  .hero-bg { position: relative; z-index: 0; inset: auto; margin-inline: calc(50% - 50vw); aspect-ratio: 1180 / 942; margin-bottom: -40px; }
  .hero-bg img { object-position: 30% 50%; }
  .hero-bg::after { background:
    linear-gradient(to bottom, rgba(var(--bgrgb), .7) 0, rgba(var(--bgrgb), 0) 90px),
    linear-gradient(to top, var(--bg) 0, rgba(var(--bgrgb), 0) 45%); }
  .hero-copy { z-index: 1; }
}
.hero h1 { font-size: 64px; font-weight: 600; line-height: 1.25; }
.hero h1 .line { display: block; }
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; }
.word { display: inline-block; }
.hero-p { margin-top: 32px; max-width: 420px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.hero-where { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--fg); }
.hero-where svg { flex: none; color: var(--a1); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 400px) { .hero h1 { font-size: 52px; } }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section { padding-block: clamp(60px, 9vw, 130px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }

/* Categories */
.cat { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 16px 8px 20px; border-radius: 24px; border: 1px solid transparent; text-align: center; transition: border-color .4s, background .4s; }
.cat:hover { border-color: rgba(var(--ink), .1); background: rgba(var(--ink), .02); }
.cat-media { position: relative; width: min(100%, 200px); aspect-ratio: 1; }
.cat-blob { position: absolute; inset: 6%; border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%; background: radial-gradient(circle at 40% 35%, var(--spot), color-mix(in oklch, var(--spot) 30%, var(--bg)) 75%); box-shadow: 0 20px 60px -10px color-mix(in oklch, var(--spot) 50%, transparent); }
.cat-media .ph { border-radius: 50%; background: none; }
.cat h3 { font-size: 24px; font-weight: 600; }
.cat-link { font-size: 22px; font-weight: 600; color: var(--muted); }

/* Product card */
.product { display: flex; flex-direction: column; gap: 14px; }
.product-media { position: relative; overflow: hidden; aspect-ratio: 1 / 1.05; border-radius: 20px; background: var(--card); border: 1px solid rgba(var(--ink), .07); transition: border-color .4s; }
.product-media:hover { border-color: rgba(var(--ink), .18); }
.tag { position: absolute; right: 12px; top: 12px; z-index: 3; padding: 4px 12px; border-radius: 999px; background: oklch(0.64 0.18 50); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.wish { position: absolute; left: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(var(--ink), .14); background: rgba(var(--bgrgb), .6); backdrop-filter: blur(8px); font-size: 18px; transition: transform .3s var(--ease), border-color .3s, color .3s; }
.wish:hover { transform: scale(1.08); }
/* Store card photo arrows (several photos per colour, products.js): glass circles like ♡, centred on the photo's sides.
   Computers: shown on hover/focus. Phones: always shown, smaller. RTL: .is-prev sits on the right, .is-next on the left. */
.product-media { touch-action: pan-y; }
.card-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; padding: 0; border-radius: 50%; border: 1px solid rgba(var(--ink), .14); background: rgba(var(--bgrgb), .62); color: var(--fg-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; transition: opacity .25s, transform .3s var(--ease), background .2s; }
.card-arrow::before { content: ""; position: absolute; inset: -5px; } /* 46px tap area */
.card-arrow.is-prev { inset-inline-start: 10px; }
.card-arrow.is-next { inset-inline-end: 10px; }
.card-arrow:hover { background: rgba(var(--bgrgb), .9); }
.card-arrow:active { transform: scale(.9); }
.card-arrow[hidden] { display: none; }
.card-pips { position: absolute; left: 50%; bottom: 10px; z-index: 3; display: flex; gap: 4px; padding: 4px 6px; border-radius: 999px; background: rgba(var(--bgrgb), .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: translateX(-50%); pointer-events: none; transition: opacity .2s; }
.card-pips[hidden] { display: none; }
.card-pips i { width: 6px; height: 6px; border-radius: 999px; background: rgba(var(--ink), .35); transition: width .3s var(--ease), background .3s; }
.card-pips i.is-on { width: 16px; background: var(--a1); }
.card-pips i:nth-child(n+9) { display: none; } /* long sets: 8 pips are enough to show there is more */
.product-media .ph img { transition: opacity .2s; }
.product-media .ph img.is-fading { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .card-arrow { opacity: 0; }
  .card-arrow.is-prev { transform: translateX(6px); }  /* slide in from the photo's edge */
  .card-arrow.is-next { transform: translateX(-6px); }
  .product-media:hover .card-arrow, .card-arrow:focus-visible { opacity: 1; transform: none; }
  .card-arrow:active { transform: scale(.9); }
  .product-media:not(.is-done):has(.size-bar):hover .card-pips { opacity: 0; } /* the size bar takes the bottom on hover */
}
@media (hover: none) {
  .card-arrow { width: 30px; height: 30px; margin-top: -15px; background: rgba(var(--bgrgb), .5); }
  .card-arrow svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .card-arrow, .card-pips i, .product-media .ph img { transition: none; }
}
.wish:active { transform: scale(.9); }
.wish[aria-pressed="true"] { color: var(--a1); border-color: color-mix(in oklch, var(--a1) 60%, transparent); }
.add { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; min-height: 46px; border-radius: 999px; border: 0; background: var(--a1); color: var(--on-accent); font-size: 18px; transition: box-shadow .4s, transform .2s; }
.add:hover { box-shadow: 0 10px 30px color-mix(in oklch, var(--a1) 55%, transparent); }
.add:active { transform: scale(.97); }
/* Store card basket button: a bag icon beside the price, under the photo (products.blade / product-card) */
.add-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: oklch(0.64 0.18 50); color: #fff; cursor: pointer; transition: box-shadow .3s, transform .2s, background .3s; }
.add-icon:hover { box-shadow: 0 8px 22px color-mix(in oklch, var(--a1) 50%, transparent); }
.add-icon:active { transform: scale(.9); }
.add-icon:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; }
.add-icon:disabled { background: rgba(var(--ink), .1); color: var(--muted2); box-shadow: none; cursor: not-allowed; }
.product-meta:has(.add-icon) { flex-wrap: nowrap; }
.add-icon.is-added { background: oklch(0.62 0.15 150); }
/* «اختر المقاس» box above the basket icon: hover (mouse), .is-open (tap/keyboard). .is-done hides it right after an add or Esc. */
.add-wrap { position: relative; flex: none; margin-inline-start: auto; }
.add-wrap .add-icon { margin: 0; }
.size-pop { position: absolute; bottom: calc(100% + 10px); inset-inline-end: 0; z-index: 20; width: max-content; max-width: min(240px, 80vw); padding: 12px; border-radius: 16px; background: var(--bg); border: 1px solid rgba(var(--ink), .14); box-shadow: 0 16px 40px rgba(0, 0, 0, .28); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
.size-pop::after { content: ""; position: absolute; inset-inline: 0; top: 100%; height: 12px; } /* keeps the hover alive between icon and box */
.add-wrap.is-open .size-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .add-wrap[data-size-wrap]:not(.is-done):hover .size-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.size-pop-title { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.size-list { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip { min-width: 40px; min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(var(--ink), .2); background: transparent; color: inherit; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.size-chip:hover { border-color: oklch(0.64 0.18 50); color: oklch(0.64 0.18 50); }
.size-chip:focus-visible { outline: 2px solid var(--a1); outline-offset: 2px; }
.size-chip:disabled { color: var(--muted2); text-decoration: line-through; opacity: .6; cursor: not-allowed; border-style: dashed; }
.size-chip.is-added { background: oklch(0.62 0.15 150); border-color: oklch(0.62 0.15 150); color: #fff; }
.size-none { font-size: 13px; color: var(--muted2); }
/* Size bar on the photo (mouse only): slides up while the photo is hovered; .is-done hides it after an add until the mouse leaves. */
.size-bar { display: none; }
@media (hover: hover) and (pointer: fine) {
  /* No box behind the sizes (owner, 2026-09-28): only the size rectangles float on the photo. */
  .size-bar { display: block; position: absolute; inset-inline: 10px; bottom: 16px; z-index: 4; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
  .product-media:not(.is-done):hover .size-bar, .size-bar:focus-within { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .size-bar { pointer-events: none; } /* between the chips a click still opens the product */
  .size-bar .size-list { justify-content: center; }
  .size-bar .size-chip { pointer-events: auto; }
  .size-bar .size-chip { background: rgba(var(--bgrgb), .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-color: rgba(var(--ink), .18); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
  .size-bar .size-chip:disabled { background: rgba(var(--bgrgb), .7); }
}
.product-name { font-size: 24px; font-weight: 600; line-height: 1.35; }
.product-cat { font-size: 14px; color: var(--muted2); margin-top: 2px; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 6px; }
.price { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price s { font-size: 14px; font-weight: 400; color: var(--muted2); margin-inline-start: 6px; }
.rating { font-size: 14px; color: var(--muted); }
.rating b { color: var(--a1); font-weight: 400; }
.dots { display: flex; gap: 6px; margin-top: 10px; }
.dots span { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(var(--ink), .2); }

/* Sale banner */
.sale { position: relative; overflow: hidden; border-radius: 32px; min-height: clamp(320px, 34vw, 440px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: center; border: 1px solid color-mix(in oklch, var(--a1) 40%, transparent); background: radial-gradient(ellipse at 15% 50%, oklch(0.62 0.19 45) 0%, oklch(0.42 0.14 40) 40%, var(--sale-end) 80%); --spot: #ffdcbe; }
.sale-body { position: relative; z-index: 3; padding: clamp(36px, 5vw, 64px); color: #fff7f0; }
.sale-body h2 { font-size: 28px; font-weight: 600; color: #ffe3cc; margin-bottom: 8px; }
.sale-big { font-size: clamp(88px, 10vw, 136px); font-weight: 700; line-height: 1; }
.sale-body p { font-size: 16px; color: #ffe3cc; margin: 16px 0 32px; }
.sale-media { position: relative; align-self: stretch; min-height: 280px; }
.sale-ring { position: absolute; left: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,220,190,.2); pointer-events: none; }

/* Trust strip */
.trust { background: var(--surface); border-block: 1px solid rgba(var(--ink), .07); }
.trust ul { list-style: none; margin: 0 auto; padding-block: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 519px) { .trust ul { grid-template-columns: 1fr; } }
.trust li { display: flex; align-items: center; gap: 16px; }
.trust-num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in oklch, var(--a1) 50%, transparent); color: var(--a1); font-size: 13px; }
.trust strong { display: block; font-size: 16px; font-weight: 600; }
.trust span.sub { font-size: 16px; color: var(--muted); }

/* Footer */
.footer { background: var(--surface2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer h4 { margin: 0 0 16px; font-size: 16px; font-weight: 600; }
.footer-links { display: grid; gap: 12px; font-size: 22px; font-weight: 600; }
.footer-links a, .socials a { color: var(--muted); transition: color .3s; }
.footer-links a:hover, .socials a:hover { color: var(--fg-strong); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.social { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(var(--ink), .16); transition: color .3s, background .3s, border-color .3s, transform .3s var(--ease); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social:hover { background: var(--a1); border-color: var(--a1); color: var(--on-accent); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .social:hover { transform: none; } }
.newsletter { display: flex; border-radius: 999px; border: 1px solid rgba(var(--ink), .14); overflow: hidden; background: rgba(var(--ink), .03); }
.newsletter input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; background: transparent; outline: none; font-size: 16px; }
.newsletter button { width: 52px; border: 0; background: var(--a1); color: var(--on-accent); font-size: 18px; }
.copyright { padding-block: 24px 32px; border-top: 1px solid rgba(var(--ink), .07); font-size: 14px; color: var(--muted2); }

/* Motion (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s ease var(--d, 0s), transform 1.4s var(--ease) var(--d, 0s); }
.js [data-reveal="card"] { transform: translateY(70px) scale(.965); }
.js [data-reveal="img"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .intro .word { transform: translateY(110%); }
.js .intro [data-hero-fade] { opacity: 0; transform: translateY(20px); }
.word { transition: transform 1.2s var(--ease) calc(.7s + var(--i, 0) * .07s); }
[data-hero-fade] { transition: opacity 1s ease calc(1.1s + var(--i, 0) * .1s), transform 1.2s var(--ease) calc(1.1s + var(--i, 0) * .1s); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .intro .word, .js .intro [data-hero-fade] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .curtain { display: none; }
}

/* ===== Products page ===== */
.page-head { position: relative; padding-top: clamp(104px, 10vw, 132px); margin-bottom: clamp(32px, 4vw, 48px); }
.page-head h1 { font-size: 64px; font-weight: 600; line-height: 1.2; }
.crumbs { display: flex; gap: 10px; font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--fg-strong); }
.page-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.count { font-size: 16px; color: var(--muted); }
.count b { color: var(--fg); font-weight: 600; }

.shop { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: clamp(80px, 10vw, 120px); }
.filters { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; padding-left: 8px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.filters-close, .filters-apply { display: none; }
.clear-btn { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--a1); font-size: 18px; }
.clear-btn:hover { background: rgba(var(--ink), .05); }
.clear-btn[hidden] { display: none; }
.search { width: 100%; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(var(--ink), .14); background: rgba(var(--ink), .03); outline: none; font-size: 16px; transition: border-color .3s; }
.search:focus { border-color: var(--a1); }
.f-group { padding-block: 24px; border-bottom: 1px solid rgba(var(--ink), .08); }
.f-group:last-of-type { border-bottom: 0; }
.f-group h3 { font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.f-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.f-row h3 { margin: 0; }
.chip { min-height: 44px; border-radius: 12px; border: 1px solid rgba(var(--ink), .12); background: transparent; color: var(--muted); font-size: 16px; transition: background .3s, border-color .3s, color .3s; }
.chip:hover { border-color: rgba(var(--ink), .3); }
.chip[aria-pressed="true"] { border-color: var(--a1); background: color-mix(in oklch, var(--a1) 16%, transparent); color: var(--fg-strong); }
.cat-list { display: grid; gap: 6px; }
.cat-list .chip { display: flex; align-items: center; justify-content: space-between; padding: 0 14px; text-align: right; }
.cat-list .chip span:last-child { font-size: 13px; opacity: .7; }
.size-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.size-grid .chip { padding: 0; font-size: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px rgba(var(--ink), .18); transition: box-shadow .3s, transform .3s; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--a1); transform: scale(1.06); }
.range { width: 100%; height: 28px; accent-color: var(--a1); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted2); }
.switch { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0; border: 0; background: transparent; font-size: 18px; }
.switch-track { position: relative; flex: none; width: 48px; height: 28px; border-radius: 999px; background: rgba(var(--ink), .14); transition: background .3s; }
.switch-knob { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: right .35s var(--ease); }
.switch[aria-checked="true"] .switch-track { background: var(--a1); }
.switch[aria-checked="true"] .switch-knob { right: 23px; }
.backdrop { display: none; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.toolbar-start { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters-open { display: none; }
.active-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--a1) 45%, transparent); background: color-mix(in oklch, var(--a1) 12%, transparent); font-size: 14px; transition: background .3s; }
.active-chip:hover { background: color-mix(in oklch, var(--a1) 22%, transparent); }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--muted); }
.sort select { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(var(--ink), .16); background: var(--card); font-size: 16px; cursor: pointer; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.results .product-media { aspect-ratio: 1 / 1.1; }
.empty { display: grid; place-items: center; gap: 16px; text-align: center; padding: 96px 24px; border-radius: 24px; border: 1px dashed rgba(var(--ink), .14); }
.empty[hidden] { display: none; }
.empty p { color: var(--muted); }

@media (max-width: 1099px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters {
    position: fixed; top: 0; bottom: 0; right: 0; z-index: 80; width: min(92vw, 400px); max-height: none;
    padding: 24px 20px 20px; background: var(--surface); border-left: 1px solid rgba(var(--ink), .08);
    transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-close { display: grid; }
  .filters-apply { display: block; position: sticky; bottom: 0; width: 100%; min-height: 56px; border-radius: 999px; border: 0; background: var(--a1); color: var(--on-accent); font-size: 18px; box-shadow: 0 -20px 30px var(--surface); }
  .filters-open { display: inline-flex; }
  .backdrop.is-open { display: block; position: fixed; inset: 0; z-index: 79; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
}
@media (max-width: 759px) {
  /* Filters take the whole phone screen (owner) */
  .filters { width: 100vw; border-left: 0; padding-inline: 16px; }
  /* Phones (owner): one product per row, full width — photo on the right, name/price/basket/colours on the left, all in one
     framed card. RTL grid: the first column (the photo) sits on the right. */
  .results { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .results .product { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: stretch; gap: 14px; padding: 8px; border-radius: 18px; background: var(--card); border: 1px solid rgba(var(--ink), .1); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
  .results .product-media { aspect-ratio: 10 / 11; border-radius: 12px; border: 0; }
  .results .product > div:last-child { display: flex; flex-direction: column; padding-block: 6px; padding-inline-end: 6px; min-width: 0; }
  .results .product-name { font-size: 17px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .results .product-cat { font-size: 13px; }
  .results .product-meta { order: 3; margin-top: auto; padding-top: 10px; gap: 8px; }
  .results .dots { order: 2; margin-top: 10px; gap: 6px; }
  .results .price { font-size: 17px; }
  .results .price s { font-size: 13px; }
  .results .tag { right: 8px; top: 8px; padding: 3px 9px; font-size: 12px; }
  .results .wish { left: 8px; top: 8px; width: 36px; height: 36px; font-size: 16px; }
}

/* ===== Bands: force a section dark or light regardless of site theme ===== */
.band-dark, .band-light { background: var(--bg); color: var(--fg); }
.band-dark {
  --bg: #0b0a09; --bgrgb: 11,10,9; --fg: #efece8; --fg-strong: #ffffff; --muted: #a9a39d; --muted2: #8a847e;
  --card: #15120f; --surface: #100e0c; --ink: 255,255,255; --a1: oklch(0.72 0.18 50); --a2: oklch(0.72 0.18 20); --on-accent: #0b0a09;
  color-scheme: dark;
}
.band-light {
  --bg: #f7f1ea; --bgrgb: 247,241,234; --fg: #1a1612; --fg-strong: #000000; --muted: #5f5850; --muted2: #736b62;
  --card: #ffffff; --surface: #efe9e2; --ink: 30,22,14; --a1: oklch(0.62 0.18 45); --a2: oklch(0.6 0.18 20); --on-accent: #fff;
  color-scheme: light;
}
.band-glow { background: radial-gradient(60% 50% at 80% 0%, color-mix(in oklch, var(--a1) 18%, transparent), transparent 70%), radial-gradient(50% 50% at 0% 100%, color-mix(in oklch, var(--violet) 16%, transparent), transparent 70%), var(--bg); }
.cv { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Shared overlay tile: image + scrim + tint. Without an image the tinted gradient still looks finished. */
.tile { position: relative; display: block; overflow: hidden; border-radius: 28px; isolation: isolate; color: #fff;
  background: radial-gradient(circle at 70% 25%, color-mix(in oklch, var(--spot, var(--a1)) 75%, #fff 5%), color-mix(in oklch, var(--spot, var(--a1)) 35%, #0b0a09) 70%); }
.tile .ph { background: none; }
.tile .ph::after { display: none; }
.tile .ph img { transition: transform 1.2s var(--ease); }
.tile:hover .ph img { transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(200deg, color-mix(in oklch, var(--spot, var(--a1)) 38%, transparent), transparent 45%); mix-blend-mode: soft-light; pointer-events: none; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--scrim); pointer-events: none; }
.tile-body { position: absolute; inset: auto 0 0 0; z-index: 3; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; justify-items: start; }
.tile-kicker { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #ffe3cc; }
.tile-title { font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; line-height: 1.15; }
.tile-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 16px; font-weight: 600; transition: background .35s, color .35s; }
.tile:hover .tile-cta, .tile:focus-visible .tile-cta { background: #fff; color: #1a110b; }

/* ===== Home: marquee ===== */
.marquee { position: relative; z-index: 2; overflow: hidden; background: var(--grad-hot); color: var(--on-accent); transform: rotate(-1.2deg); width: 104%; margin: 8px -2% 0; box-shadow: 0 20px 60px -20px color-mix(in oklch, var(--a1) 70%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding: 16px 18px; font-size: clamp(18px, 2vw, 24px); font-weight: 700; white-space: nowrap; }
.marquee-group span[aria-hidden] { font-size: .7em; opacity: .7; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ===== Home: categories (5) ===== */
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
@media (max-width: 999px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-5 > :last-child { grid-column: 1 / -1; } }

/* ===== Home: shop by audience ===== */
.aud-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(12px, 1.8vw, 22px); }
.aud-grid .tile { aspect-ratio: 3 / 4; }
.aud-grid .tile:first-child { aspect-ratio: auto; }
.aud-count { position: absolute; top: 18px; right: 18px; z-index: 3; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; }
@media (max-width: 899px) {
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .aud-grid .tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 519px) { .aud-grid { grid-template-columns: 1fr; } .aud-grid .tile, .aud-grid .tile:first-child { aspect-ratio: 4 / 3.4; } }

/* ===== Home: lookbook bento ===== */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(200px, 22vw, 300px)); gap: clamp(12px, 1.6vw, 20px); }
.bento .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento .tile:nth-child(2) { grid-column: span 2; }
.bento .tile-title { font-size: clamp(22px, 2.2vw, 30px); }
.bento .tile:nth-child(1) .tile-title { font-size: clamp(32px, 4vw, 56px); }
@media (max-width: 759px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .bento .tile:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; }
  .bento .tile:nth-child(2) { grid-column: 1 / -1; }
}

/* ===== Home: reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 899px) { .reviews { grid-template-columns: 1fr; } }
.review { position: relative; display: grid; gap: 18px; align-content: start; padding: clamp(24px, 2.6vw, 34px); border-radius: 24px; border: 1px solid rgba(var(--ink), .1); background: linear-gradient(160deg, rgba(var(--ink), .07), rgba(var(--ink), .02)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.review::before { content: "”"; position: absolute; top: 4px; left: 22px; font-size: 90px; line-height: 1; color: color-mix(in oklch, var(--a1) 45%, transparent); }
.review .stars { color: var(--a1); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.8; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.review figcaption b { display: block; color: var(--fg); font-weight: 600; }
.avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-hot); color: var(--on-accent); font-weight: 700; }
.stats { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: clamp(32px, 4vw, 48px); }
.stats div { font-size: 15px; color: var(--muted); }
.stats b { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.1; color: var(--a1); }

/* ===== Home: closing CTA band ===== */
.cta-band { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px); background: var(--grad-mesh); color: #fff7f0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 16px); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; line-height: 1.15; }
.cta-band p { margin-top: 14px; color: #ffe3cc; font-size: 17px; }
.cta-band .newsletter { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cta-band .newsletter input { min-height: 60px; color: #fff; }
.cta-band .newsletter input::placeholder { color: rgba(255,240,230,.7); }
.cta-band .newsletter button { width: auto; padding: 0 26px; background: #fff7f0; color: #1a110b; font-weight: 700; }

/* ===== Collection page ===== */
.col-hero { position: relative; overflow: hidden; margin-top: clamp(84px, 8vw, 100px); border-radius: 0 0 40px 40px; min-height: clamp(460px, 62vh, 640px); display: grid; align-content: end; padding-block: 64px clamp(36px, 5vw, 60px); background: var(--grad-mesh); color: #fff; isolation: isolate; }
.col-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,6,5,.8), rgba(8,6,5,.1) 60%), repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 18px); }
.col-hero .orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); opacity: .7; pointer-events: none; }
.col-hero h1 { font-size: clamp(52px, 9vw, 120px); font-weight: 700; line-height: 1.02; }
.col-hero h1 span { color: #ffd9b8; }
.col-hero p { max-width: 520px; margin-top: 18px; font-size: 17px; line-height: 1.8; color: #ffe3cc; }
.col-hero .crumbs { color: rgba(255,240,230,.75); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: 17px; font-weight: 600; transition: background .35s, color .35s; }
.tab:hover { background: rgba(255,255,255,.12); }
.tab[aria-pressed="true"] { background: #fff7f0; color: #1a110b; }
.tab small { font-size: 12px; opacity: .65; font-variant-numeric: tabular-nums; }

.aud-section { padding-block: clamp(56px, 8vw, 110px); }
.aud-banner { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; min-height: clamp(200px, 22vw, 280px); padding: clamp(24px, 3vw, 40px); margin-bottom: clamp(24px, 3vw, 40px); border-radius: 28px; color: #fff; isolation: isolate;
  background: radial-gradient(70% 120% at 90% 0%, color-mix(in oklch, var(--spot) 90%, #fff 5%), transparent 60%), radial-gradient(60% 100% at 0% 100%, color-mix(in oklch, var(--spot) 50%, var(--violet)), transparent 65%), #120c09; }
.aud-banner .ph { z-index: -2; background: none; }
.aud-banner .ph::after { display: none; }
.aud-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(8,6,5,.75), rgba(8,6,5,.15) 70%); }
.aud-banner h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 700; line-height: 1.05; }
.aud-banner p { color: #ffe3cc; margin-top: 8px; }

.ogrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 22px); }
@media (max-width: 1099px) { .ogrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .ogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ocard { aspect-ratio: 3 / 4; border-radius: 22px; }
.ocard .tile-body { gap: 6px; padding: 16px; }
.ocard .product-name { font-size: clamp(16px, 1.6vw, 20px); color: #fff; }
.ocard .price { color: #fff; font-size: 17px; }
.ocard .price s { color: rgba(255,240,230,.65); }
.ocard .dots { margin-top: 2px; }
.ocard .dots span { width: 12px; height: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.5); }
.ocard .add { position: static; width: 100%; min-height: 42px; margin-top: 6px; font-size: 15px; }
.ocard .wish { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(0,0,0,.25); }
.ocard .spot-layer { z-index: 2; }
@media (hover: hover) and (pointer: fine) {
  .ocard .add { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .4s; }
  .ocard:hover .add, .ocard:focus-within .add { opacity: 1; transform: none; }
}

.drop { padding-block: clamp(56px, 7vw, 96px); overflow: hidden; }
.drop-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: color-mix(in oklch, var(--a1) 60%, transparent) transparent; }
.drop-row > * { scroll-snap-align: start; }
.drop-row .ocard { aspect-ratio: 4 / 5; }

.col-end { padding-block: clamp(60px, 8vw, 110px); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .tile .ph img, .tile:hover .ph img { transition: none; transform: none; }
}

/* ===== About / SEO panel (AMBR-style giant wordmark) =====
   Light theme: near-black panel on the light page. Dark theme: warm lifted panel with an orange glow. */
.seo {
  --seo-bg: #15120f; --seo-fg: #efe9e2; --seo-muted: #b5ada4; --seo-line: rgba(255,255,255,.1); --seo-word: rgba(255,255,255,.045);
  position: relative; overflow: hidden; isolation: isolate; background: var(--seo-bg); color: var(--seo-fg);
  padding-block: clamp(72px, 9vw, 130px) clamp(160px, 22vw, 320px);
}
:root:not([data-theme="light"]) .seo {
  --seo-bg: radial-gradient(70% 60% at 85% 0%, color-mix(in oklch, var(--a1) 16%, transparent), transparent 70%), radial-gradient(50% 50% at 0% 100%, color-mix(in oklch, var(--a2) 10%, transparent), transparent 70%), #16110d;
  --seo-word: rgba(255,200,150,.05);
  border-top: 1px solid color-mix(in oklch, var(--a1) 30%, transparent);
}
.seo-word {
  position: absolute; left: 50%; bottom: -.2em; z-index: -1; transform: translateX(-50%);
  font-size: clamp(130px, 27vw, 440px); font-weight: 700; line-height: 1; letter-spacing: -.05em;
  color: var(--seo-word); white-space: nowrap; pointer-events: none; user-select: none;
}
.seo-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: clamp(40px, 6vw, 96px); }
.seo-brand { flex: 1 1 340px; max-width: 540px; }
.seo-logo { display: flex; align-items: center; gap: 14px; font-size: clamp(52px, 7vw, 96px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #fff; direction: ltr; justify-content: flex-end; }
.seo-logo span { width: .42em; height: .42em; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffd9b8, var(--a1) 55%, color-mix(in oklch, var(--a1) 60%, black)); box-shadow: 0 0 40px color-mix(in oklch, var(--a1) 60%, transparent); }
.seo-brand h2 { margin-top: 24px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.5; color: #fff; }
.seo-brand p:not(.seo-logo) { margin-top: 14px; font-size: 16px; line-height: 1.9; color: var(--seo-muted); }
.seo-cols { flex: 2 1 480px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 599px) { .seo-cols { grid-template-columns: 1fr 1fr; } }
.seo-cols h3 { margin-bottom: 18px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--a1); }
.seo-cols a { display: block; padding-block: 7px; font-size: 17px; color: var(--seo-fg); transition: color .3s; }
.seo a:hover { color: var(--a1); }
.seo-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--seo-line); }
.seo-tags span { font-size: 14px; color: var(--seo-muted); margin-inline-end: 6px; }
.seo-tags a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--seo-line); font-size: 14px; color: var(--seo-fg); transition: border-color .3s, color .3s, background .3s; }
.seo-tags a:hover { border-color: var(--a1); background: color-mix(in oklch, var(--a1) 12%, transparent); }

/* ===== Benefits band (AMBR-style tilted marquee) =====
   Light theme: near-black band. Dark theme: inverted to a cream band so it still stands out. */
.benefits { position: relative; z-index: 2; padding-block: clamp(28px, 3.4vw, 48px); overflow: hidden; }
.benefits-band {
  --band-bg: #15120f; --band-fg: #ffffff;
  background: var(--band-bg); color: var(--band-fg); rotate: -2deg; margin-inline: -4%;
  padding-block: clamp(18px, 2.2vw, 30px); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
}
:root:not([data-theme="light"]) .benefits-band { --band-bg: #f3ece4; --band-fg: #15120f; box-shadow: 0 30px 70px -30px color-mix(in oklch, var(--a1) 45%, transparent); }
.benefits-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.benefits-band:hover .benefits-track { animation-play-state: paused; }
.benefits-group { display: flex; }
.benefits-item { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-inline-end: clamp(24px, 3vw, 48px); white-space: nowrap; font-size: clamp(32px, 4.4vw, 72px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.benefits-sep { flex: none; width: clamp(18px, 1.8vw, 28px); height: clamp(18px, 1.8vw, 28px); rotate: 45deg; border-radius: 4px; background: linear-gradient(135deg, oklch(0.62 0.22 30), oklch(0.8 0.17 70)); }
@media (prefers-reduced-motion: reduce) { .benefits-track { animation: none; } }
.seo-address { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--seo-line); background: rgba(255,255,255,.04); font-style: normal; font-size: 16px; font-weight: 600; color: #fff; }

/* ===== Sticky sub-bar: quick categories + advanced filter (shop & collection pages) =====
   Sits under the header; moves to the very top when the header hides on scroll. */
.subbar {
  position: fixed; inset-inline: 0; top: var(--hdr-h, 73px); z-index: 45;
  background: rgba(var(--bgrgb), .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(var(--ink), .08); box-shadow: 0 18px 40px -28px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: top .6s var(--ease), transform .5s var(--ease), opacity .3s ease, visibility .5s;
}
.subbar.is-shown { opacity: 1; visibility: visible; transform: none; }
.hdr-hidden .subbar { top: 0; }
.subbar-inner { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.subbar-chips {
  flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 36px); mask-image: linear-gradient(to right, transparent, #000 36px);
}
.subbar-chips::-webkit-scrollbar { display: none; }
.subchip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(var(--ink), .14); background: transparent; color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .3s, border-color .3s, color .3s;
}
.subchip small { font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
.subchip:hover { color: var(--fg-strong); border-color: rgba(var(--ink), .32); }
.subchip[aria-pressed="true"] { background: var(--a1); border-color: var(--a1); color: var(--on-accent); }
.subbar-adv {
  flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0;
  background: var(--fg); color: var(--bg); font-size: 15px; font-weight: 700; transition: box-shadow .4s, transform .2s;
}
.subbar-adv:hover { box-shadow: 0 10px 30px -8px color-mix(in oklch, var(--a1) 70%, transparent); }
.subbar-adv:active { transform: scale(.97); }
.subbar-adv svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.subbar-adv .bag-count { min-width: 22px; height: 22px; font-size: 12px; }
@media (max-width: 599px) { .subbar-adv-label { display: none; } .subbar-adv { padding: 0 14px; } }
/* Desktop filter sidebar: drop below header + sub-bar while the bar is showing */
.filters { transition: top .6s var(--ease); }
@media (min-width: 1100px) {
  .subbar-on .filters { top: calc(var(--hdr-h, 73px) + 80px); max-height: calc(100vh - var(--hdr-h, 73px) - 96px); }
  .subbar-on.hdr-hidden .filters { top: 88px; max-height: calc(100vh - 104px); }
}
.filters.is-flash { animation: filters-flash 1.2s var(--ease); }
@keyframes filters-flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 2px var(--a1), 0 0 40px -6px color-mix(in oklch, var(--a1) 60%, transparent); } }
@media (prefers-reduced-motion: reduce) { .subbar, .filters { transition: none; } .filters.is-flash { animation: none; } }
.filters.is-flash { border-radius: 16px; }
/* Filter drawer open: lift <main> (which holds the drawer) above the fixed header and sub-bar */
body.no-scroll main { z-index: 60; }

/* ===== Offers sign-up prompt (partials/offers-popup) =====
   Laptop: centred popup over a scrim, closable. Mobile (≤759px): fixed bottom sheet, no close button. */
.offers-scrim {
  position: fixed; inset: 0; z-index: 89; background: rgba(5,4,3,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
}
.offers-scrim.is-open { opacity: 1; visibility: visible; }
.offers {
  position: fixed; z-index: 90; left: 50%; top: 50%; width: min(480px, calc(100vw - 32px));
  border-radius: 28px; overflow: hidden; background: var(--card); color: var(--fg);
  border: 1px solid rgba(var(--ink), .1); box-shadow: 0 40px 120px -30px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translate(-50%, -46%) scale(.96);
  transition: opacity .4s ease, transform .6s var(--ease), visibility .6s;
}
.offers.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.offers-x {
  position: absolute; top: 14px; left: 14px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.18); color: #fff; transition: background .3s;
}
.offers-x:hover { background: rgba(0,0,0,.35); }
.offers-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.offers-head { position: relative; padding: 34px 30px 26px; background: var(--grad-mesh); color: #fff; }
.offers-min, .offers-short { display: none; }
.offers-badge {
  display: inline-flex; min-height: 28px; align-items: center; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); font-size: 13px; font-weight: 700;
}
.offers-head h2 { margin-top: 14px; font-size: 27px; line-height: 1.35; font-weight: 700; text-wrap: balance; }
.offers-sub { margin-top: 8px; color: rgba(255,240,230,.82); font-size: 15px; }
.offers-form, .offers-done { padding: 22px 30px 28px; }
.offers-choice { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offers-legend { float: right; grid-column: 1 / -1; width: 100%; margin-bottom: 12px; padding: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.offers-opt {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 14px; border-radius: 16px;
  border: 1px solid rgba(var(--ink), .16); font-size: 16px; font-weight: 700; cursor: pointer;
  transition: border-color .3s, background .3s, color .3s, box-shadow .3s;
}
.offers-opt:hover { border-color: rgba(var(--ink), .34); }
.offers-opt svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.offers-opt:has(input:checked) { border-color: var(--a1); background: color-mix(in oklch, var(--a1) 14%, transparent); color: var(--fg-strong); box-shadow: inset 0 0 0 1px var(--a1); }
.offers-opt:has(input:checked) svg { color: var(--a1); }
.offers-opt:has(input:focus-visible) { outline: 2px solid var(--a1); outline-offset: 3px; }
.offers-field { margin-top: 14px; animation: offers-in .45s var(--ease); }
.offers-input {
  display: flex; align-items: center; border-radius: 999px; border: 1px solid rgba(var(--ink), .18); background: rgba(var(--ink), .03);
  padding: 5px; transition: border-color .3s;
}
.offers-input:focus-within { border-color: var(--a1); }
/* RTL flex: input (right) · +963 · submit (left), so the number reads "+963 9…" left-to-right */
.offers-prefix { flex: none; order: 2; padding: 0 10px 0 12px; color: var(--muted); font-size: 16px; font-weight: 600; border-inline-start: 1px solid rgba(var(--ink), .14); }
.offers-input input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 0; background: transparent; outline: none; font-size: 16px; text-align: left; order: 1; }
.offers-submit {
  flex: none; order: 3; min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--a1); color: var(--on-accent);
  font-size: 16px; font-weight: 700; transition: box-shadow .4s, transform .2s;
}
.offers-submit:hover { box-shadow: 0 10px 30px -8px color-mix(in oklch, var(--a1) 70%, transparent); }
.offers-submit:active { transform: scale(.97); }
.offers-back { margin-top: 10px; padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.offers-back:hover { color: var(--fg-strong); }
/* Step 3: interests (multi-select tags) */
.offers-interests { padding: 22px 30px 28px; animation: offers-in .45s var(--ease); }
.offers-interests fieldset { margin: 0; padding: 0; border: 0; }
.offers-interests .offers-legend { float: none; color: var(--fg-strong); font-size: 17px; font-weight: 700; }
.offers-interests .offers-legend span { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }
.offers-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.offers-tag {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(var(--ink), .16); color: var(--muted); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: border-color .3s, background .3s, color .3s, padding .3s;
}
.offers-tag:hover { border-color: rgba(var(--ink), .34); color: var(--fg-strong); }
.offers-tag svg { width: 0; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: width .3s var(--ease); }
.offers-tag:has(input:checked) { border-color: var(--a1); background: color-mix(in oklch, var(--a1) 14%, transparent); color: var(--fg-strong); }
.offers-tag:has(input:checked) svg { width: 16px; color: var(--a1); }
.offers-tag:has(input:focus-visible) { outline: 2px solid var(--a1); outline-offset: 3px; }
.offers-actions { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.offers-actions .offers-submit { min-width: 120px; }
.offers-actions .offers-back { margin: 0; }
.offers-done { display: flex; align-items: center; gap: 14px; font-size: 16px; animation: offers-in .45s var(--ease); }
.offers-done[hidden] { display: none; }
.offers-done strong { color: var(--fg-strong); }
.offers-check { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--a1); color: var(--on-accent); }
.offers-check svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes offers-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 759px) {
  .offers-scrim { display: none; }
  /* Phones: ✕ (close) and ⌄ (minimise) side by side in the sheet's head */
  .offers-x { top: 10px; left: 14px; z-index: 2; }
  .offers {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; z-index: 70; border-radius: 24px 24px 0 0; border-bottom: 0;
    box-shadow: 0 -20px 60px -20px rgba(0,0,0,.6); transform: translateY(100%);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .offers.is-open { transform: none; }
  .offers-head { padding: 18px 20px 16px; }
  .offers-badge { display: none; }
  .offers-head h2 { margin-top: 0; font-size: 19px; }
  .offers-sub { display: none; }
  .offers-form, .offers-done, .offers-interests { padding: 14px 20px 18px; }
  .offers-tag { min-height: 38px; padding: 0 13px; font-size: 14px; }
  .offers-actions { margin-top: 14px; }
  .offers-legend { margin-bottom: 10px; font-size: 14px; }
  .offers-opt { min-height: 50px; font-size: 15px; }
  .offers-submit { padding: 0 18px; }
  /* Minimise toggle; minimised = one tappable line */
  .offers-head { padding-inline-end: 112px; }
  .offers-min {
    position: absolute; top: 10px; left: 62px; display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.18); color: #fff;
  }
  .offers-min svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
  .offers.is-min .offers-min svg { transform: rotate(180deg); }
  .offers.is-min .offers-head { padding-block: 10px; cursor: pointer; }
  .offers.is-min .offers-head h2, .offers.is-min .offers-body { display: none; }
  .offers.is-min .offers-short { display: block; min-height: 40px; line-height: 40px; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) {
  .offers, .offers-scrim { transition: opacity .2s; }
  .offers-field, .offers-done, .offers-interests { animation: none; }
  .offers-tag svg { transition: none; }
}

/* ---------- Store page from the database (/products): first row, loading states, price range, sold out ---------- */
.shop-aud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.shop-aud .subchip { min-height: 48px; padding: 0 20px; font-size: 17px; }
@media (max-width: 759px) {
  /* One swipeable line on phones */
  .shop-aud { flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .shop-aud::-webkit-scrollbar { display: none; }
  .shop-aud .subchip { flex: none; min-height: 44px; padding: 0 14px; font-size: 16px; }
}
.f-group[hidden] { display: none; }
/* «النوع» / «الماركة»: heading with a find box beside it (products.js findIn) */
.f-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.f-head h3 { margin: 0; flex: none; }
.f-find { flex: 1; min-width: 0; min-height: 40px; padding: 0 14px; font-size: 15px; }
.cat-list .chip[hidden] { display: none; }
.f-none { font-size: 14px; color: var(--muted2); padding: 6px 2px; }
.cat-list .chip .n { font-size: 13px; opacity: .7; font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.dots small { font-size: 12px; color: var(--muted); align-self: center; }
/* Colour dots on store cards are buttons (tap = that colour's photo) */
.dots .dot { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid var(--bg); box-shadow: 0 0 0 1px rgba(var(--ink), .25); cursor: pointer; transition: box-shadow .2s, transform .2s; }
.dots .dot:hover { transform: scale(1.1); }
.dots .dot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--a1); }
.dots .dot:focus-visible { outline: 2px solid var(--a1); outline-offset: 2px; }

/* Spinner (count while filtering, "more" row) */
.shop-spinner { display: inline-block; width: 16px; height: 16px; margin-inline-end: 8px; vertical-align: -2px; border-radius: 50%;
  border: 2px solid color-mix(in oklch, var(--a1) 30%, transparent); border-top-color: var(--a1); animation: shop-spin .8s linear infinite; }
.shop-spinner[hidden] { display: none; }
@keyframes shop-spin { to { transform: rotate(360deg); } }

/* While filters apply: the list dims and shimmers, so the tap clearly did something */
.results { position: relative; transition: opacity .2s; }
.results.is-loading { opacity: .45; pointer-events: none; }
.results.is-loading::after { content: ""; position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(100deg, transparent 30%, rgba(var(--ink), .06) 50%, transparent 70%) 0 0 / 200% 100%; animation: shop-shimmer 1.2s linear infinite; }
@keyframes shop-shimmer { to { background-position: -200% 0; } }

/* Endless loading row: only seen if the shopper reaches the end before the next 25 have arrived */
.shop-more { display: grid; justify-items: center; gap: 10px; padding: 36px 0 12px; color: var(--muted); font-size: 16px; }
.shop-more[hidden] { display: none; }
.shop-more-loading { display: flex; align-items: center; }
.shop-more-error { display: flex; align-items: center; gap: 12px; color: var(--fg); }
.shop-more-error[hidden], .shop-more-btn[hidden] { display: none; }
.shop-end { padding: 32px 0 8px; text-align: center; color: var(--muted2); font-size: 15px; }
.shop-end[hidden] { display: none; }

/* Two-handle price range: two sliders on one track */
.dual-range { position: relative; height: 28px; }
.dual-range .range { position: absolute; inset: 0; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.dual-range .range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: rgba(var(--ink), .14); }
.dual-range .range + .range::-webkit-slider-runnable-track { background: transparent; }
.dual-range .range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--a1); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--a1); pointer-events: auto; cursor: pointer; }
.dual-range .range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(var(--ink), .14); }
.dual-range .range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--a1); border: 3px solid var(--bg); pointer-events: auto; cursor: pointer; }

/* Sold out: shown last, marked «نفد» */
.tag.is-soldout { background: rgba(var(--ink), .78); color: var(--bg); }
.product.is-soldout .ph img { opacity: .55; filter: grayscale(.4); }

@media (prefers-reduced-motion: reduce) {
  .shop-spinner, .results.is-loading::after { animation: none; }
}

/* ---------- Store card link (partials/product-card): the name links; .card-link repeats it over the photo, under the controls ---------- */
.card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--fg-strong); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- Product page (pages/product.blade.php, public/js/product.js). Only filled fields are rendered. ---------- */
.pdp { padding-top: clamp(96px, 9vw, 120px); padding-bottom: clamp(60px, 8vw, 110px); }
.pdp-crumbs { flex-wrap: wrap; font-size: 15px; }
.pdp-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

.pdp-gallery { position: sticky; top: 96px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; }
.pdp-stage { grid-column: 2; grid-row: 1; aspect-ratio: 10 / 11; border-radius: 24px; }
.pdp-stage .card-arrow { width: 44px; height: 44px; margin-top: -22px; }
.pdp-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs[hidden] { display: none; }
.pdp-gallery:has(.pdp-thumbs[hidden]) { grid-template-columns: minmax(0, 1fr); }
.pdp-gallery:has(.pdp-thumbs[hidden]) .pdp-stage { grid-column: 1; }
.pdp-thumb { position: relative; flex: none; width: 100%; aspect-ratio: 10 / 11; padding: 0; overflow: hidden; border-radius: 12px; border: 1px solid rgba(var(--ink), .1); background: var(--card); cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s, box-shadow .2s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { opacity: 1; }
.pdp-thumb[aria-current="true"] { opacity: 1; border-color: transparent; box-shadow: 0 0 0 2px var(--a1); }
.pdp-thumb:focus-visible { outline: 2px solid var(--a1); outline-offset: 2px; }

.pdp-info { display: grid; gap: 18px; padding-top: 6px; }
.pdp-brand { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.pdp-brand img { height: 28px; width: auto; }
.pdp-name { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.3; color: var(--fg-strong); }
.pdp-ids { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: -8px; font-size: 14px; color: var(--muted2); }
.pdp-ids b { font-weight: 600; color: var(--muted); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 30px; }
.pdp-price s { margin: 0; }
.pdp-price s { font-size: 18px; }
.pdp-price s[hidden], .pdp-price small[hidden] { display: none; }
.pdp-lead { font-size: 17px; line-height: 1.8; color: var(--muted); }
.pdp-field { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(var(--ink), .08); }
.pdp-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pdp-label { font-size: 15px; color: var(--muted); }
.pdp-label b, .pdp-label span { color: var(--fg-strong); font-weight: 600; }
.pdp-link { padding: 0; border: 0; background: none; color: var(--a1); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pdp-swatches { margin-top: 0; gap: 10px; flex-wrap: wrap; }
.pdp-swatches .dot { width: 34px; height: 34px; border-width: 3px; }
.pdp-sizes { gap: 8px; }
.pdp-sizes .size-chip { min-width: 52px; min-height: 46px; border-radius: 12px; font-size: 16px; }
.pdp-sizes .size-chip[aria-pressed="true"] { background: var(--fg-strong); border-color: var(--fg-strong); color: var(--bg); }
.pdp-hint { font-size: 14px; color: var(--muted2); }
.pdp-hint[hidden] { display: none; }
.pdp-hint.is-flash { animation: pdp-flash .9s var(--ease); }
@keyframes pdp-flash { 30% { color: var(--a1); transform: translateX(-6px); } 60% { transform: translateX(4px); } }
.pdp-model { font-size: 15px; color: var(--muted); }
.pdp-actions { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.pdp-add { flex: 1; min-height: 58px; padding-inline: 26px; font-size: 19px; font-weight: 700; }
.pdp-add:disabled, .pdp-sticky .btn:disabled { background: rgba(var(--ink), .1); color: var(--muted2); box-shadow: none; cursor: not-allowed; }
.pdp-wish { position: static; flex: none; width: 58px; height: 58px; font-size: 22px; }

.pdp-details { display: grid; gap: 14px; max-width: 880px; margin-top: clamp(40px, 6vw, 80px); }
.pdp-block { border-radius: 18px; border: 1px solid rgba(var(--ink), .1); background: var(--card); }
.pdp-block > summary { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 22px; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.pdp-block > summary::-webkit-details-marker { display: none; }
.pdp-block > summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease); }
.pdp-block[open] > summary::after { transform: rotate(45deg); }
.pdp-text { padding: 0 22px 22px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.pdp-specs { margin: 0; padding: 0 22px 14px; }
.pdp-specs > div { display: grid; grid-template-columns: minmax(110px, 30%) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid rgba(var(--ink), .07); }
.pdp-specs dt { color: var(--muted2); font-size: 15px; }
.pdp-specs dd { margin: 0; font-size: 15px; font-weight: 600; }

.pdp-more { margin-top: clamp(56px, 8vw, 110px); }
.pdp-more-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.pdp-rail-nav { display: flex; gap: 8px; }
.pdp-rail-nav .icon-btn:disabled { opacity: .35; cursor: default; }
.pdp-rail-nav .icon-btn[hidden] { display: none; }
.pdp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.pdp-rail::-webkit-scrollbar { display: none; }
.pdp-rail > .product { scroll-snap-align: start; }
.pdp-rail .product-media { aspect-ratio: 1 / 1.1; }

.pdp-sticky { display: none; }

.pdp-dialog { width: min(560px, calc(100vw - 32px)); max-height: 80vh; padding: 22px; border-radius: 20px; border: 1px solid rgba(var(--ink), .14); background: var(--bg); color: var(--fg); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.pdp-dialog::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); }
.pdp-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pdp-chart-wrap { overflow-x: auto; }
.pdp-chart { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.pdp-chart th, .pdp-chart td { padding: 10px 12px; text-align: start; border-bottom: 1px solid rgba(var(--ink), .08); white-space: nowrap; }
.pdp-chart th { color: var(--muted); font-weight: 600; }
.pdp-note { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.7; }

@media (max-width: 1099px) {
  .pdp-rail { grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; }
}
@media (max-width: 899px) {
  .pdp-top { grid-template-columns: minmax(0, 1fr); }
  .pdp-gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .pdp-stage { grid-column: 1; }
  .pdp-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  .pdp-thumb { width: 64px; }
}
@media (max-width: 759px) {
  .pdp { padding-bottom: 110px; } /* room for the sticky bar */
  .pdp-stage { margin-inline: calc(-1 * clamp(20px, 4vw, 56px)); border-radius: 0; border-inline: 0; }
  .pdp-rail { grid-auto-columns: 68%; gap: 14px; }
  .pdp-rail-nav { display: none; }
  .pdp-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(var(--bgrgb), .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(var(--ink), .1); }
  .pdp-sticky[hidden] { display: none; }
  .pdp-sticky .btn { flex: 1; max-width: 260px; min-height: 50px; padding-inline: 20px; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  .pdp-hint.is-flash { animation: none; }
  .pdp-block > summary::after, .pdp-thumb { transition: none; }
}

/* ---------- Basket: «أكّد بريدك» dialog (partials/basket-verify, public/js/basket.js) ---------- */
.bv { width: min(440px, calc(100vw - 32px)); padding: 30px 26px 26px; border-radius: 24px; border: 1px solid rgba(var(--ink), .14); background: var(--bg); color: var(--fg); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.bv::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); }
.bv[open] { animation: bv-in .35s var(--ease); }
@keyframes bv-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.bv-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; font-size: 22px; }
.bv-step { display: grid; gap: 12px; }
.bv-step[hidden] { display: none; }
.bv-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: color-mix(in oklch, var(--a1) 16%, transparent); color: var(--a1); }
.bv-title { font-size: 24px; font-weight: 700; line-height: 1.35; color: var(--fg-strong); }
.bv-text { font-size: 15px; line-height: 1.8; color: var(--muted); }
.bv-text b { color: var(--fg-strong); font-weight: 600; word-break: break-all; }
.bv-label { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.bv-input { width: 100%; min-height: 54px; font-size: 17px; text-align: left; }
.bv-code { font-size: 28px; font-weight: 700; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.bv-code::placeholder { letter-spacing: .3em; }
.bv-error { font-size: 14px; font-weight: 600; color: oklch(0.62 0.2 25); }
.bv-error[hidden] { display: none; }
.bv-submit { width: 100%; min-height: 54px; margin-top: 4px; padding-inline: 20px; font-weight: 700; }
.bv-submit.is-busy { opacity: .7; cursor: progress; }
.bv-links { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 14px; color: var(--muted2); }
.bv-links .pdp-link { font-size: 14px; }
.bv-links .pdp-link:disabled { color: var(--muted2); text-decoration: none; cursor: default; }
.bv-toast { position: fixed; bottom: 22px; left: 50%; z-index: 90; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px; background: var(--fg-strong); color: var(--bg); font-size: 15px; font-weight: 600; box-shadow: 0 14px 40px rgba(0, 0, 0, .3); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.bv-toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.bv-toast a { color: var(--a1); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 759px) {
  .bv { width: 100vw; max-width: 100vw; margin: auto 0 0; padding-bottom: calc(26px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; border-inline: 0; border-bottom: 0; }
  .bv[open] { animation-name: bv-up; }
  @keyframes bv-up { from { transform: translateY(100%); } }
  .bv-toast { bottom: calc(88px + env(safe-area-inset-bottom)); } /* above the product page's sticky bar */
}

/* ---------- /basket page (pages/basket.blade.php) ---------- */
.basket { padding-bottom: clamp(60px, 8vw, 110px); }
.basket-head h1 { font-size: clamp(36px, 5vw, 56px); }
.basket-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; font-size: 15px; color: var(--muted); }
.basket-who b { color: var(--fg-strong); font-weight: 600; }
.basket-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.basket-lines { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.basket-line { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px; border-radius: 20px; border: 1px solid rgba(var(--ink), .1); background: var(--card); }
.basket-line.is-off { opacity: .6; }
.basket-photo { position: relative; display: block; aspect-ratio: 10 / 11; overflow: hidden; border-radius: 14px; }
.basket-photo.ph::after { font-size: 11px; padding: 4px 6px; }
.basket-info { display: grid; gap: 6px; min-width: 0; }
.basket-name { font-size: 19px; font-weight: 700; line-height: 1.4; }
.basket-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.basket-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.basket-meta span { display: inline-flex; align-items: center; gap: 6px; }
.basket-meta i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(var(--ink), .25); }
.basket-meta b { color: var(--fg-strong); font-weight: 600; }
.basket-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 16px; }
.basket-price s { margin: 0; }
.basket-off { font-size: 13px; font-weight: 600; color: oklch(0.62 0.2 25); }
.basket-side { display: grid; justify-items: end; gap: 10px; }
.basket-qty { display: flex; align-items: center; border-radius: 999px; border: 1px solid rgba(var(--ink), .16); }
.basket-qty button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 20px; cursor: pointer; }
.basket-qty button:hover:not(:disabled) { background: rgba(var(--ink), .08); }
.basket-qty button:disabled { color: var(--muted2); opacity: .5; cursor: not-allowed; }
.basket-qty span { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.basket-subtotal { font-size: 18px; font-variant-numeric: tabular-nums; }
.basket-remove { padding: 0; border: 0; background: none; color: var(--muted2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.basket-remove:hover { color: oklch(0.62 0.2 25); }
.basket-summary { position: sticky; top: 96px; display: grid; gap: 16px; padding: 24px; border-radius: 22px; border: 1px solid rgba(var(--ink), .1); background: var(--card); }
.basket-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 18px; color: var(--muted); }
.basket-total b { font-size: 30px; color: var(--fg-strong); font-variant-numeric: tabular-nums; }
.basket-note { font-size: 14px; line-height: 1.8; color: var(--muted); }
.basket-send { width: 100%; padding-inline: 20px; font-weight: 700; }
.basket-send:disabled { background: rgba(var(--ink), .1); color: var(--muted2); box-shadow: none; cursor: not-allowed; }
.basket-more { justify-self: center; font-size: 17px; }
.basket-alert { margin-bottom: 18px; padding: 14px 18px; border-radius: 16px; background: color-mix(in oklch, oklch(0.62 0.2 25) 14%, transparent); color: oklch(0.62 0.2 25); font-weight: 600; }
.basket-empty { display: grid; justify-items: center; gap: 14px; max-width: 460px; margin: 40px auto 0; padding: 40px 24px; border-radius: 24px; border: 1px dashed rgba(var(--ink), .18); text-align: center; color: var(--muted); }
@media (max-width: 899px) {
  .basket-grid { grid-template-columns: minmax(0, 1fr); }
  .basket-summary { position: static; }
}
@media (max-width: 559px) {
  .basket-line { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .basket-side { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; }
  .basket-subtotal { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bv[open] { animation: none; }
  .bv-toast { transition: none; }
}

/* ---------- Orders: the form on /basket, the order page and «طلباتي» (pages/order, pages/orders) ---------- */
.order-form > summary { list-style: none; cursor: pointer; }
.order-form > summary::-webkit-details-marker { display: none; }
.order-form[open] > summary { display: none; }
.order-form form { display: grid; gap: 10px; }
/* Everything saved: a short summary + one «إرسال الطلب»; «تعديل البيانات» swaps it for the full form. */
.order-quick { display: grid; gap: 14px; }
.order-note > summary { list-style: none; cursor: pointer; font-size: 14px; }
.order-note > summary::-webkit-details-marker { display: none; }
.order-note textarea { width: 100%; margin-top: 8px; padding-block: 12px; border-radius: 16px; font: inherit; font-size: 15px; resize: vertical; }
.order-form.is-edit { justify-self: center; }
.order-form.is-edit > summary { font-size: 14px; }
.basket-summary:has(.order-form.is-edit[open]) .order-quick { display: none; }
.basket-summary:has(.order-form.is-edit[open]) .order-form.is-edit { justify-self: stretch; }
.order-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.order-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.order-field small { font-weight: 400; color: var(--muted2); }
.order-field .search { width: 100%; min-height: 48px; font-size: 16px; }
.order-field textarea.search { min-height: 0; padding-block: 12px; border-radius: 16px; resize: vertical; font: inherit; }
.order-field [aria-invalid="true"] { border-color: oklch(0.62 0.2 25); }
.status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status-new { background: color-mix(in oklch, var(--a1) 18%, transparent); color: var(--a1); }
.status-confirmed { background: color-mix(in oklch, oklch(0.6 0.15 250) 20%, transparent); color: oklch(0.6 0.15 250); }
.status-shipped { background: color-mix(in oklch, oklch(0.6 0.15 300) 20%, transparent); color: oklch(0.62 0.15 300); }
.status-delivered { background: color-mix(in oklch, oklch(0.62 0.15 150) 20%, transparent); color: oklch(0.58 0.15 150); }
.status-cancelled { background: rgba(var(--ink), .08); color: var(--muted2); }
.order-thanks { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 8px 16px; border-radius: 999px; background: color-mix(in oklch, oklch(0.62 0.15 150) 18%, transparent); color: oklch(0.58 0.15 150); font-weight: 700; }
.order-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.order-line { grid-template-columns: 90px minmax(0, 1fr) auto; }
.order-to { display: grid; gap: 10px; margin: 0; font-size: 15px; }
.order-to > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
.order-to dt { color: var(--muted2); }
.order-to dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.order-wa { gap: 10px; background: oklch(0.62 0.15 150); color: #fff; }
.orders-list { gap: 10px; }
.orders-row { grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 16px 18px; }
.orders-row:hover { border-color: rgba(var(--ink), .22); }
.orders-code { font-size: 17px; letter-spacing: .04em; }
.orders-date { font-size: 14px; color: var(--muted); }
@media (max-width: 559px) {
  .order-row { grid-template-columns: 1fr; }
  .order-line { grid-template-columns: 72px minmax(0, 1fr); }
  .orders-row { grid-template-columns: 1fr auto; row-gap: 6px; }
}

/* ---------- 404 (errors/404.blade.php) ---------- */
.notfound { display: grid; justify-items: start; align-content: center; gap: 18px; min-height: 100svh; padding-block: 48px; }
.notfound .logo { margin-bottom: 12px; }
.notfound-code { font-size: clamp(90px, 18vw, 180px); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 2px color-mix(in oklch, var(--a1) 60%, transparent); }
.notfound h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 700; line-height: 1.2; }
.notfound-text { max-width: 520px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.notfound-search { display: flex; gap: 10px; width: min(520px, 100%); }
.notfound-search .search { flex: 1; min-height: 54px; }
.notfound-search .btn { padding-inline: 26px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; }
