/* Malachite store (Respark Rawaq) — Respark Foundry base styles, "Hanssen" layout (split screen: sticky media stage + scrolling card column).
   Mirrored for Arabic (RTL): the stage sits on the right, the header notch at the top-right.
   Design edits made in Respark Canvas go to css/custom.css (loaded after this file). */
:root {
  --bg: #fff;
  --text: #0e1011;
  --muted: rgba(14, 16, 17, .6);
  --card: #f6f6f6;
  --row: #ececec;
  --primary: #23483f;
  --primary-grad: linear-gradient(135deg, #2f5d51 0%, #23483f 48%, #16302a 100%);
  --primary-grad-2: linear-gradient(135deg, #376b5e 0%, #264e44 48%, #1a3831 100%);
  --on-primary: #fff;
  --primary-2: #1f4139;
  --gold: #c9a24a;
  --gold-grad: linear-gradient(135deg, #f0dba6 0%, #d4ad57 50%, #b88a2e 100%);
  --line: #e8eded;
  --glass: rgba(14, 16, 17, .2);
  --ok: #1f7a4d;
  --warn: #a8641a;
  --danger: #b3261e;
  --r: 12px;
  --r-sm: 6px;
  --notch: 18px;
  --pad: 12px;
  --f: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.44, 0, .56, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0e1011;
  --text: #fff;
  --muted: rgba(255, 255, 255, .6);
  --card: rgba(255, 255, 255, .07);
  --row: rgba(255, 255, 255, .11);
  --primary: #13503b;
  --primary-grad: linear-gradient(135deg, #1b6a4e 0%, #13503b 48%, #0b2f23 100%);
  --primary-grad-2: linear-gradient(135deg, #227a5a 0%, #175c44 48%, #0e3a2b 100%);
  --on-primary: #fff;
  --primary-2: #175c44;
  --line: #262829;
  --ok: #6fd3a0;
  --warn: #f0b46a;
  --danger: #ff8a80;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html:lang(en) { --f: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f); font-size: 15px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; min-height: 100vh; min-height: 100dvh;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
svg { flex: none; }

/* =========================================================================================
   NOTCH — the page-coloured tab "cut" into a photo, with two inverted (concave) corners.
   .n-ts  top-start corner   (header, card name label)   rounded at block-end / inline-end
   .n-te  top-end corner     (mobile menu tab)            rounded at block-end / inline-start
   .n-be  bottom-end corner  (stage label, card price)    rounded at block-start / inline-start
   In RTL "start" is the right edge.
   ========================================================================================= */
.notch { position: absolute; z-index: 3; background: var(--bg); color: var(--text); transition: background-color .3s var(--ease), color .3s var(--ease); }
.notch::before, .notch::after { content: ''; position: absolute; width: var(--notch); height: var(--notch); pointer-events: none; }
.n-ts { top: 0; inset-inline-start: 0; border-end-end-radius: var(--notch); }
.n-ts::before { top: 0; inset-inline-start: 100%; }
.n-ts::after { top: 100%; inset-inline-start: 0; }
.n-te { top: 0; inset-inline-end: 0; border-end-start-radius: var(--notch); }
.n-te::before { top: 0; inset-inline-end: 100%; }
.n-te::after { top: 100%; inset-inline-end: 0; }
.n-be { bottom: 0; inset-inline-end: 0; border-start-start-radius: var(--notch); }
.n-be::before { bottom: 100%; inset-inline-end: 0; }
.n-be::after { bottom: 0; inset-inline-end: 100%; }
[dir="rtl"] .n-ts::before, [dir="rtl"] .n-ts::after { background: radial-gradient(circle at 0 100%, transparent calc(var(--notch) - .5px), var(--bg) var(--notch)); }
[dir="rtl"] .n-te::before, [dir="rtl"] .n-te::after { background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch) - .5px), var(--bg) var(--notch)); }
[dir="rtl"] .n-be::before, [dir="rtl"] .n-be::after { background: radial-gradient(circle at 100% 0, transparent calc(var(--notch) - .5px), var(--bg) var(--notch)); }
[dir="ltr"] .n-ts::before, [dir="ltr"] .n-ts::after { background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch) - .5px), var(--bg) var(--notch)); }
[dir="ltr"] .n-te::before, [dir="ltr"] .n-te::after { background: radial-gradient(circle at 0 100%, transparent calc(var(--notch) - .5px), var(--bg) var(--notch)); }
[dir="ltr"] .n-be::before, [dir="ltr"] .n-be::after { background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--bg) var(--notch)); }

/* ======================= SHELL ======================= */
.shell { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); padding: 0 var(--pad); min-height: 100vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: var(--pad) 0; }
.stage__box { position: relative; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--card); isolation: isolate; }
.stage__box > img, .slide img { width: 100%; height: 100%; object-fit: cover; }
.stage__lbl { padding: 12px 16px 8px; font-size: 14px; line-height: 1.3; white-space: nowrap; }
.flow { display: flex; flex-direction: column; gap: var(--pad); padding: var(--pad) 0; min-width: 0; }
.flow > main { display: flex; flex-direction: column; gap: var(--pad); min-width: 0; }

/* slideshow (stage + product) */
.slides { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.ss-btn { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border-radius: 4px; display: grid; place-items: center; color: #fff; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s var(--ease); }
.ss-btn:hover { background: rgba(14, 16, 17, .35); }
.ss-btn svg { width: 18px; height: 18px; }
.ss-prev { inset-inline-start: 30px; }
.ss-next { inset-inline-end: 30px; }
.ss-dots { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.ss-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background-color .3s var(--ease); }
.ss-dots i.on { background: #fff; }
.ss-pill { position: absolute; z-index: 2; bottom: 18px; inset-inline-start: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px 10px 12px; border-radius: var(--r-sm); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 14px; font-weight: 500; line-height: 1; transition: background-color .2s var(--ease); }
.ss-pill:hover { background: rgba(14, 16, 17, .35); }
.ss-pill svg { width: 14px; height: 14px; }

/* ======================= HEADER ======================= */
.hdr { position: fixed; z-index: 60; top: 0; inset-inline-start: 0; display: flex; align-items: center; gap: 8px; padding: 16px 28px 12px 16px; padding-inline-start: 28px; padding-inline-end: 16px; border-end-end-radius: 20px; view-transition-name: site-header; }
.hdr.n-ts::before { top: var(--pad); }
.hdr.n-ts::after { inset-inline-start: var(--pad); }
.hdr__logo { display: flex; align-items: center; gap: 8px; margin-inline-end: 10px; }
.hdr__logo img { height: 22px; width: auto; }
.logo-d { display: block; } .logo-l { display: none; }
:root[data-theme="dark"] .logo-d { display: none; } :root[data-theme="dark"] .logo-l { display: block; }
.hdr__nav { display: flex; align-items: center; gap: 4px; }
.hdr__nav a { font-size: 14px; padding: 2px 6px; border-radius: 4px; transition: opacity .2s var(--ease); white-space: nowrap; }
.hdr__nav a:hover { opacity: .6; }
.hdr__nav a[aria-current="page"] { color: var(--muted); }
.cart-ico { position: relative; display: inline-grid; place-items: center; width: 34px; height: 30px; border-radius: 8px; color: var(--text); transition: background-color .2s; }
.cart-ico:hover { background: var(--row); }
.cart-ico svg { width: 21px; height: 21px; }
.cnt { position: absolute; top: -3px; inset-inline-end: -4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold-grad); color: #2a1d05; font-size: 11px; font-weight: 600; line-height: 1; box-shadow: 0 0 0 2px var(--bg); transition: transform .35s var(--ease-out); }
.cnt.bump { transform: scale(1.3); }
.cnt[data-n="0"] { display: none; }
.tgl { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--row); margin-inline-start: 6px; transition: background-color .3s var(--ease); }
.tgl i { position: absolute; top: 5px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--text); transition: right .35s var(--ease-out), background-color .3s; }
:root[data-theme="dark"] .tgl i { right: 18px; }
.mtab { display: none; }

/* full-screen mobile menu */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--card); display: flex; flex-direction: column; gap: var(--pad); padding: 60px var(--pad) max(var(--pad), env(safe-area-inset-bottom)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s .45s; }
:root[data-theme="dark"] .mnav { background: #151718; }
.mnav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s; }
.mnav__close { position: fixed; top: 0; inset-inline-end: 0; padding: 14px 16px 12px; font-size: 14px; }
.mnav .prof { background: var(--bg); gap: 28px; padding: 24px; }
.mnav__links { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mnav__links .lnk { background: var(--row); flex: none; }
:root[data-theme="dark"] .mnav .prof { background: rgba(255, 255, 255, .06); }

/* ======================= CARDS & BLOCKS ======================= */
.box { background: var(--card); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.box--lg { padding: 40px; }
.box h2 { font-size: 18px; }
.box > p { font-size: 15px; line-height: 24px; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); }
.prof { background: var(--card); border-radius: var(--r); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 96px; }
.prof__who { display: flex; align-items: center; gap: 14px; }
.prof__av { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; overflow: hidden; flex: none; }
.prof__av img { width: 100%; height: 100%; object-fit: cover; }
.prof__name { font-size: 18px; font-weight: 500; line-height: 1.3; }
.prof__role { font-size: 14px; color: var(--muted); }
.prof p { font-size: 15px; line-height: 24px; }
.links { display: flex; flex-direction: column; gap: var(--pad); }
.lnk { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1; min-height: 57px; padding: 16px 20px; border-radius: var(--r); background: var(--card); font-size: 15px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.lnk:hover { background: var(--row); }
.lnk svg { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease-out), color .25s; }
.lnk:hover svg { transform: translate(-2px, -2px); color: var(--text); }
.lnk--dark { background: var(--primary) var(--primary-grad); color: var(--on-primary); }
.lnk--dark svg { color: var(--on-primary); opacity: .7; }
.lnk--dark:hover { background: var(--primary-2) var(--primary-grad-2); }
.lnk--dark:hover svg { color: var(--on-primary); }
.lnk small { color: var(--muted); font-size: 13px; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--card); }
.bar h2, .bar h1 { font-size: 18px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.bar h2 svg { width: 18px; height: 18px; }
.bar a { font-size: 15px; color: var(--muted); transition: color .2s; }
.bar a:hover { color: var(--text); }
.bar--muted { display: flex; justify-content: center; padding: 10px 14px; border-radius: var(--r-sm); background: var(--card); font-size: 14px; color: var(--muted); transition: background-color .25s, color .25s; }
.bar--muted:hover { background: var(--row); color: var(--text); }

/* product grid — 2 columns of 3:4 cards (the Hanssen "Latest Work" grid) */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pad); }
.card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--card); isolation: isolate; }
.card__img { position: absolute; inset: 0; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: filter .5s var(--ease), transform .7s var(--ease-out); }
.card__lbl { padding: 8px 16px 12px; font-size: 14px; line-height: 1.35; max-width: calc(100% - 40px); display: flex; gap: 6px; align-items: flex-start; }
.card__lbl b { font-weight: 400; display: block; }
.card__lbl small { display: block; color: var(--muted); font-size: 12.5px; }
.card__lbl i { font-style: normal; display: inline-block; width: 0; opacity: 0; overflow: hidden; transform: translateX(6px); transition: width .35s var(--ease-out), opacity .3s var(--ease), transform .35s var(--ease-out); }
.card__price { padding: 10px 14px 6px; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.card__price small { font-size: 11.5px; color: var(--muted); }
.card__price s { color: var(--muted); font-size: 12px; margin-inline-start: 6px; }
.card .badge { position: absolute; z-index: 2; bottom: 12px; inset-inline-start: 12px; }
/* studio photos: the whole pen stays visible, clear of the name tab (photo shrinks into its own studio colour) */
.card--studio, .stage--pd .stage__box { background-color: #f1eee9; }
.card--studio .card__img img { transform: translateY(4%) scale(.88); }
.card__lbl b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.is-out .card__img img { filter: grayscale(.6); opacity: .75; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__img img { filter: blur(8px); transform: scale(1.06); }
  .card--studio:hover .card__img img { transform: translateY(4%) scale(.93); }
  .card:hover .card__lbl i { width: 1em; opacity: 1; transform: none; }
}
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--r-sm); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 12.5px; font-weight: 500; line-height: 1; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7ee2a8; }
.badge--low::before { background: #ffc46b; }
.badge--out::before { background: #ff8a80; }

/* detail rows (Year / Client / Service …) */
.rows { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--row); font-size: 14px; }
.row > span:first-child { color: var(--muted); flex: none; }
.row > span:last-child { text-align: end; }
.row a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--muted); }
.list { display: flex; flex-direction: column; }
.list .row { background: transparent; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.list .row:last-child { border-bottom: 0; }
.list .row > span:first-child { color: var(--text); flex: 1; }
.list .row > span:last-child { color: var(--muted); }

.socials { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); }

/* reviews */
.revs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); }
.rev { background: var(--card); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.rev p { font-size: 15px; line-height: 24px; }
.rev footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.rev footer span { color: var(--muted); font-size: 13px; }
.stars { letter-spacing: 1px; font-size: 13px; color: var(--gold); }
.rating .stars { color: var(--gold); }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.rating b { color: var(--text); font-weight: 500; }

/* black footer card */
.ftr { background: var(--primary) var(--primary-grad); color: var(--on-primary); border-radius: var(--r); padding: 40px; display: flex; flex-direction: column; gap: 48px; }
.ftr__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.ftr__brand { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.ftr__brand img { height: 26px; width: auto; align-self: flex-start; }
.ftr__brand p { opacity: .6; font-size: 14px; line-height: 22px; }
.ftr__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); font-size: 14px; white-space: nowrap; transition: background-color .2s; }
.ftr__btn:hover { background: rgba(255, 255, 255, .2); }
.ftr__btn svg { width: 14px; height: 14px; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ftr__cols h4 { font-size: 14px; font-weight: 400; opacity: .5; margin-bottom: 10px; }
.ftr__cols a { display: block; font-size: 14px; padding: 4px 0; transition: opacity .2s; }
.ftr__cols a:hover { opacity: .55; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: 13px; opacity: .55; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ftr__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ======================= TITLES ======================= */
.pt { background: var(--card); border-radius: var(--r); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.pt h1 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -.02em; }
.pt .sub { color: var(--muted); font-size: 15px; line-height: 24px; }
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.price s { font-size: 16px; color: var(--muted); font-weight: 400; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.stock.is-low::before { background: var(--warn); }
.stock.is-out::before { background: var(--danger); }
.stock.is-out { color: var(--muted); }

/* ======================= FORMS / BUTTONS ======================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 57px; padding: 14px 22px; border-radius: var(--r); background: var(--primary) var(--primary-grad); color: var(--on-primary); font-size: 15px; font-weight: 500; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: box-shadow .25s var(--ease), opacity .2s, transform .2s var(--ease-out); }
.btn:hover { background: var(--primary-2) var(--primary-grad-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 24px -14px rgba(13, 51, 38, .8); }
.btn:active { transform: scale(.99); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn--soft { background: var(--row); color: var(--text); box-shadow: none; }
.btn--soft:hover { background: var(--line); box-shadow: none; }
:root[data-theme="dark"] .btn--soft:hover { background: rgba(255, 255, 255, .16); }
.btn--wide { width: 100%; }
.btn svg { width: 16px; height: 16px; }
.linkbtn { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); font-size: 14px; }
.linkbtn:hover { color: var(--text); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .opt__lbl { font-size: 14px; }
.field label span, .opt__lbl span { color: var(--muted); }
.inp { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid transparent; border-radius: var(--r-sm); background-color: var(--row); color: var(--text); font-size: 15px; outline: none; transition: border-color .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
textarea.inp { min-height: 120px; resize: vertical; line-height: 1.6; }
select.inp, .sel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-inline-end: 36px; }
.inp:focus { border-color: var(--text); background-color: var(--bg); }
.inp::placeholder { color: var(--muted); }
.err { color: var(--danger); font-size: 14px; }
.note { color: var(--muted); font-size: 13px; line-height: 1.7; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.form .full { grid-column: 1 / -1; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--row); font-size: 14px; cursor: pointer; transition: background-color .2s; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); margin: 0; flex: none; }
.check span { flex: 1; }
.check em { font-style: normal; color: var(--muted); font-size: 13px; white-space: nowrap; }
.check:has(input:checked) { background: var(--line); }
:root[data-theme="dark"] .check:has(input:checked) { background: rgba(255, 255, 255, .18); }
.opt { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; padding-inline-start: 6px; padding-inline-end: 12px; border-radius: var(--r-sm); background: var(--row); font-size: 13.5px; border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.sw img { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; }
.sw[aria-current="true"] { border-color: var(--text); background: var(--bg); }
.sw.is-out { opacity: .45; }
.sw:hover { border-color: var(--muted); }
.qty { display: inline-flex; align-items: center; border-radius: var(--r); background: var(--row); height: 57px; flex: none; }
.qty button { width: 44px; height: 100%; font-size: 20px; color: var(--text); }
.qty input { width: 36px; text-align: center; border: 0; background: none; font-size: 16px; -moz-appearance: textfield; outline: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy { display: flex; gap: 8px; }
.buy .btn { flex: 1; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { padding: 5px 9px; border-radius: 4px; background: var(--row); font-size: 12px; color: var(--muted); }

/* ======================= SHOP ======================= */
.filters { display: flex; flex-direction: column; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { padding: 8px 12px; border-radius: var(--r-sm); background: var(--row); font-size: 14px; line-height: 1.2; transition: background-color .2s, color .2s; }
.pill:hover { background: var(--line); }
.pill[aria-pressed="true"] { background: var(--primary) var(--primary-grad); color: var(--on-primary); }
.sels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.4fr; gap: 8px; }
.sel { width: 100%; min-height: 40px; padding: 8px 12px; padding-inline-end: 34px; border: 0; border-radius: var(--r-sm); background-color: var(--row); color: var(--text); font-size: 14px; -webkit-appearance: none; appearance: none; outline: none; }
.search { position: relative; }
.search .sel { padding-inline-start: 36px; padding-inline-end: 12px; background-image: none; }
.search svg { position: absolute; inset-inline-start: 12px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.count { font-size: 14px; color: var(--muted); }
.empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--r); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.empty h1, .empty h2 { color: var(--text); font-size: 22px; }

/* ======================= PRODUCT ======================= */
.pd-media { display: flex; flex-direction: column; gap: var(--pad); }
.pd-media img { width: 100%; border-radius: var(--r); background: #f1eee9; aspect-ratio: 4 / 5; object-fit: cover; }
.stage--pd .slide img { object-fit: contain; }
.next--studio { background: #f1eee9; }
.next--studio img { object-fit: contain; padding: 4% 0; }
.desc { font-size: 15px; line-height: 1.85; display: flex; flex-direction: column; gap: 10px; }
.desc h2, .desc h3, .desc h4 { font-size: 16px; margin-top: 8px; }
.desc ul, .desc ol { margin: 0; padding-inline-start: 20px; }
.desc img { border-radius: var(--r-sm); margin: 6px 0; }
.next { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--card); isolation: isolate; }
.next img { width: 100%; height: 100%; object-fit: cover; transition: filter .5s var(--ease), transform .7s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .next:hover img { filter: blur(8px); transform: scale(1.04); } .next:hover .card__lbl i { width: 1em; opacity: 1; transform: none; } }
.sticky-buy { position: fixed; z-index: 55; left: var(--pad); right: var(--pad); bottom: max(var(--pad), env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px; padding-inline-start: 18px; border-radius: var(--r); background: var(--bg); box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .28), 0 0 0 1px var(--line); transform: translateY(140%); transition: transform .45s var(--ease-out); }
.sticky-buy.on { transform: none; }
.sticky-buy .price { font-size: 17px; }
.sticky-buy .btn { min-height: 46px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:last-child { border-bottom: 0; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-size: 15px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .3s var(--ease-out); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.85; display: flex; flex-direction: column; gap: 10px; }
.acc .body b, .acc .body strong { color: var(--text); font-weight: 500; }
.acc .body ul { margin: 0; padding-inline-start: 18px; }

.stage__badge { position: absolute; z-index: 2; bottom: 18px; inset-inline-start: 30px; }
.stage__badge:empty { display: none; }
a.row { transition: background-color .2s, color .2s; }
.rows a.row:hover { background: var(--line); }
.list a.row:hover > span:first-child { opacity: .6; }
.rating { text-decoration: none; }

/* ======================= CART / CHECKOUT ======================= */
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: start; padding: 12px; border-radius: var(--r); background: var(--card); }
.line__img img { width: 88px; height: 110px; object-fit: cover; border-radius: 8px; background: var(--row); }
.line__t { font-size: 15px; font-weight: 500; }
.line__s, .line__x { font-size: 13px; color: var(--muted); }
.line__ctl { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.line .qty { height: 38px; border-radius: var(--r-sm); }
.line .qty button { width: 34px; font-size: 17px; }
.line .qty input { width: 28px; font-size: 14px; }
.line__p { font-size: 15px; white-space: nowrap; }
.lines { display: flex; flex-direction: column; gap: 8px; }
.sum__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; }
.sum__row span:first-child { color: var(--muted); }
.sum__row.total { font-size: 18px; font-weight: 500; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.sum__row.total span:first-child { color: var(--text); }
.okbox { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.okbox h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.15; }
.tick { width: 56px; height: 56px; border-radius: 50%; background: var(--primary) var(--primary-grad); color: var(--on-primary); display: grid; place-items: center; }

/* toast */
.toast { position: fixed; z-index: 95; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--primary); color: var(--on-primary); padding: 10px; padding-inline-start: 18px; border-radius: var(--r); background-image: var(--primary-grad); display: flex; gap: 14px; align-items: center; font-size: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45); transition: opacity .3s var(--ease), transform .45s var(--ease-out); max-width: calc(100vw - 24px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { background: rgba(255, 255, 255, .14); padding: 8px 12px; border-radius: var(--r-sm); white-space: nowrap; }


/* ======================= CART DRAWER (bottom sheet) ======================= */
.drawer { position: fixed; inset: 0; z-index: 92; }
.drawer__bg { position: absolute; inset: 0; background: rgba(7, 20, 15, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .4s var(--ease); }
.drawer__sheet { position: absolute; left: 50%; bottom: 0; width: min(560px, 100%); max-height: min(86vh, 760px); max-height: min(86dvh, 760px); display: flex; flex-direction: column; background: var(--bg); border-radius: 20px 20px 0 0; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .35); transform: translate(-50%, 104%); transition: transform .55s cubic-bezier(.22, 1, .36, 1); outline: none; padding-bottom: env(safe-area-inset-bottom); }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__sheet { transform: translate(-50%, 0); }
.drawer__grip { display: grid; place-items: center; height: 22px; cursor: grab; touch-action: none; }
.drawer__grip i { width: 42px; height: 5px; border-radius: 3px; background: var(--row); }
.drawer__body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 20px 12px; touch-action: none; }
.drawer__head h2 { font-size: 18px; }
.drawer__head h2 span { color: var(--muted); font-weight: 400; }
.drawer__x { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--row); }
.drawer__x svg { width: 18px; height: 18px; }
.drawer__lines { overflow-y: auto; overscroll-behavior: contain; padding: 0 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.dl { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 10px; border-radius: var(--r); background: var(--card); }
.dl.is-new { animation: dl-in .7s var(--ease-out) both; }
@keyframes dl-in { from { background: color-mix(in srgb, var(--gold) 22%, var(--card)); } }
.dl__img img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; background: var(--row); }
.dl__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl__t { font-size: 14px; font-weight: 500; }
.dl__s { font-size: 12.5px; color: var(--muted); }
.dl__ctl { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.dl .qty { height: 32px; border-radius: var(--r-sm); }
.dl .qty button { width: 30px; font-size: 16px; }
.dl .qty input { width: 24px; font-size: 13px; }
.dl__p { font-size: 14px; white-space: nowrap; }
.drawer__foot { padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); margin-top: 10px; }
.drawer__btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 6px; }
.drawer__btns .btn { min-height: 52px; }
.drawer__empty { padding: 24px 20px 32px; display: flex; flex-direction: column; gap: 14px; align-items: center; color: var(--muted); }
html.drawer-open { overflow: hidden; }
@media (min-width: 810px) { .drawer__sheet { border-radius: 20px; bottom: 16px; } }

/* language switch */
.lang { font-size: 13px; padding: 4px 8px; border-radius: 6px; background: var(--row); line-height: 1.2; transition: background-color .2s; }
.lang:hover { background: var(--line); }
/* LTR (English): flip the direction-bearing icons */
[dir="ltr"] .lnk svg, [dir="ltr"] .ss-pill svg, [dir="ltr"] .btn svg, [dir="ltr"] .ftr__btn svg, [dir="ltr"] .ss-btn svg { transform: scaleX(-1); }
[dir="ltr"] .lnk:hover svg { transform: scaleX(-1) translate(-2px, -2px); }

/* ======================= APPEAR (Framer "appear": y 10 → 0 + opacity, 0.4s, ease .44/0/.56/1; cards de-blur) ======================= */
.rv { opacity: .001; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), filter .4s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.card.rv, .rev.rv { filter: blur(6px); }
.rv.in { opacity: 1; transform: none; filter: none; }
html.no-js .rv, html.is-editing .rv { opacity: 1; transform: none; filter: none; }
/* first screen: pure CSS, never waits for scripts */
.ld { animation: ld .4s var(--ease) both; animation-delay: calc(.06s + var(--i, 0) * 90ms); }
@keyframes ld { from { opacity: .001; transform: translateY(10px); } }
.stage__box.ld { animation-name: ld-fade; animation-duration: .6s; animation-delay: 0s; }
@keyframes ld-fade { from { opacity: .001; } }

/* ======================= PAGE TRANSITION — "Soft Wipe-Up" (Framer "Wipe", direction up, soft edge) =======================
   The old page holds still while the new page is revealed from the bottom up through a soft gradient mask (0.4s). */
@view-transition { navigation: auto; }
@property --wipe { syntax: '<number>'; initial-value: 0; inherits: false; }
::view-transition-old(root) { animation: vt-hold .4s linear both; }
::view-transition-new(root) {
  animation: vt-wipe .4s cubic-bezier(.27, 0, .51, 1) both;
  -webkit-mask-image: linear-gradient(0deg, #000 calc(-100% + 200% * var(--wipe)), transparent calc(200% * var(--wipe)));
  mask-image: linear-gradient(0deg, #000 calc(-100% + 200% * var(--wipe)), transparent calc(200% * var(--wipe)));
}
@keyframes vt-hold { to { opacity: 1; } }
@keyframes vt-wipe { from { --wipe: 0; } to { --wipe: 1; } }
::view-transition-group(site-header), ::view-transition-group(site-mtab) { animation-duration: 0s; }
::view-transition-group(hero-img) { animation-duration: .5s; animation-timing-function: cubic-bezier(.27, 0, .51, 1); }
::view-transition-old(hero-img), ::view-transition-new(hero-img) { height: 100%; object-fit: cover; }
/* browsers without cross-document view transitions */
html.vt-fallback body { transition: opacity .2s var(--ease); }
html.vt-fallback.is-leaving body { opacity: 0; }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1199px) {
  .prof, .box--lg, .pt, .ftr { padding: 28px; }
  .prof { gap: 56px; }
  .sels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sels .search { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .bento { grid-template-columns: 1fr; }
  .links { display: grid; grid-template-columns: 1fr 1fr; }
  .links .lnk--dark { grid-column: 1 / -1; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .ftr__top { flex-direction: column; }
  .hdr__nav .opt-nav { display: none; }
}
@media (max-width: 809px) {
  .shell { grid-template-columns: 1fr; }
  /* mobile: one solid top bar (logo + theme on the start side, cart + menu on the end side)
     with two concave corners under it, so the content scrolls inside a rounded "window" */
  .stage { position: relative; height: auto; padding: 56px 0 0; }
  .stage__box { height: min(74svh, 620px); }
  .stage--short .stage__box { height: 42svh; min-height: 270px; }
  .stage--pd .stage__box { height: auto; aspect-ratio: 4 / 5; }
  .flow { padding-top: 0; }
  .hdr { inset-inline: 0; height: 56px; padding: 0 16px; gap: 10px; border-radius: 0; }
  .hdr.n-ts::after { top: 100%; inset-inline-start: var(--pad); }
  .hdr.n-ts::before { top: 100%; inset-inline-start: auto; inset-inline-end: var(--pad); }
  [dir="rtl"] .hdr.n-ts::before { background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch) - .5px), var(--bg) var(--notch)); }
  [dir="ltr"] .hdr.n-ts::before { background: radial-gradient(circle at 0 100%, transparent calc(var(--notch) - .5px), var(--bg) var(--notch)); }
  .hdr__nav { display: none; }
  .hdr__logo { margin-inline-end: 0; }
  .hdr__logo img { height: 20px; }
  .tgl { margin-inline-start: 0; }
  .mtab { display: flex; z-index: 61; position: fixed; top: 0; inset-inline-end: 0; height: 56px; align-items: center; gap: 4px; padding: 0 12px; font-size: 14px; background: transparent; view-transition-name: site-mtab; }
  .mtab.n-te::before, .mtab.n-te::after { display: none; }
  .mtab .menu-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 8px; background: var(--row); font-size: 14px; }
  .ss-prev { inset-inline-start: 16px; } .ss-next { inset-inline-end: 16px; }
  .ss-pill { inset-inline-start: 16px; bottom: 16px; }
  .ss-btn { width: 36px; height: 36px; margin-top: -18px; }
  .prof, .pt, .box--lg, .ftr { padding: 24px; }
  .prof { gap: 40px; }
  .bar { padding: 20px; }
  .sels { grid-template-columns: 1fr 1fr; }
  .sticky-buy { display: flex; }
  .pd-media { display: none; }
  .stage__badge { display: none; }
  .ss-dots { left: auto; right: auto; transform: none; inset-inline-start: 18px; bottom: 62px; }
  .stage--pd .ss-dots, .stage--short .ss-dots { bottom: 18px; inset-inline-start: 50%; transform: translateX(50%); }
  .filters .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; }
  .filters .pills::-webkit-scrollbar { display: none; }
  .pill { white-space: nowrap; }
  .form { grid-template-columns: 1fr; }
  .grid { gap: 8px; }
  .card__lbl { padding: 6px 12px 10px; font-size: 13px; max-width: calc(100% - 28px); }
  .card__lbl small { font-size: 11.5px; }
  .card__price { padding: 8px 10px 5px; font-size: 13px; }
  .card__lbl { max-width: calc(100% - 36px); }
  .card__lbl > span { min-width: 0; }
  .card__lbl b { -webkit-line-clamp: 1; }
  .card__lbl small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card--studio .card__img img { transform: translateY(5%) scale(.8); }
  .card .badge { bottom: auto; top: 8px; inset-inline-start: auto; inset-inline-end: 8px; width: 22px; height: 22px; padding: 0; justify-content: center; font-size: 0; }
  .revs { grid-template-columns: 1fr; }
  .line { grid-template-columns: 72px 1fr; }
  .line__img img { width: 72px; height: 90px; }
  .line__p { grid-column: 2; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .card__price s { display: none; }
  .links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .rv { opacity: 1; transform: none; filter: none; }
}
@media print { .hdr, .mtab, .mnav, .sticky-buy, .stage { display: none !important; } .shell { display: block; } }

/* Malachite: world cards (cover photos are landscape — keep the bead strand centred) */
.card--world .card__img img { object-position: center; }
.card--world .card__price { font-size: 13px; }
.field .note { display: block; margin-top: 6px; }
.sum__row small { font-size: 12px; font-weight: 400; }

/* smooth scrolling for anchors / scrollTo (Respark standing rule); Lenis animates the wheel itself */
html { scroll-behavior: smooth; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- card step: the card form inside the page (js/paybox.js, Paymob Pixel) ---------- */
.paystep h2:focus { outline: none; }
.paystep__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--row); }
.paystep__meta > span { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.6; min-width: 0; }
.paystep__meta small { color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.paystep__amount { font-size: 20px; font-weight: 600; white-space: nowrap; }
.paybox { min-height: 150px; }
.paybox__wait { color: var(--muted); font-size: 14px; line-height: 1.7; padding: 14px 0; }
.paybox__form { direction: ltr; }
.paybox__err { margin-top: 10px; line-height: 1.7; }
.paystep__alt { display: flex; flex-direction: column; gap: 10px; }
.paystep__safe { line-height: 1.8; }
.pt .paystep { padding: 0; background: none; }

/* ---------- checkout and order page (full-journey review, 15-10-2026) ---------- */
/* Arabic letters carry marks above and below the line: headings never under 1.45 */
h1, h2, h3, h4 { line-height: 1.45; }
.pt h1, .okbox h1 { line-height: 1.45; }
.bar--muted { min-height: 44px; align-items: center; }
.nowrap { white-space: nowrap; }
.ulink { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ulink:hover { color: var(--text); }
/* one error under each field */
.field__err { color: var(--danger); font-size: 13px; line-height: 1.7; }
.inp[aria-invalid="true"] { border-color: var(--danger); background-color: var(--bg); }
/* phones: the total stays in sight at the top of the checkout */
.summini { display: none; }
@media (max-width: 809px) {
  .summini { display: flex; align-items: center; gap: 10px; margin-bottom: var(--pad); padding: 12px 16px; border-radius: var(--r); background: var(--card); font-size: 14px; line-height: 1.6; min-height: 52px; }
  .summini > span { flex: 1; min-width: 0; }
  .summini > b { font-size: 16px; white-space: nowrap; }
  .summini small { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
  /* the checkout and the order page start with the form / the status, not with a picture */
  body[data-page="checkout"] .stage__box, body[data-page="thanks"] .stage__box { display: none; }
}
/* card step: Apple Pay first on Apple devices, then «or pay by card» */
.applepay { background: #000; color: #fff; min-height: 50px; }
@supports (-webkit-appearance: -apple-pay-button) {
  .applepay { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: pay; -apple-pay-button-style: black; background: none; padding: 0; height: 50px; min-height: 50px; font-size: 0; }
  .applepay > span { display: none; }
}
.paystep__or { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.paystep__or::before, .paystep__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.paystep__meta { flex-wrap: wrap; }
.paystep__meta .num { white-space: nowrap; font-size: 15px; }
.paybox:has(.paybox__err:not([hidden])), .paybox:empty { min-height: 0; }
.paystep__safe { display: flex; gap: 8px; align-items: flex-start; }
.paystep__safe svg { width: 16px; height: 16px; flex: none; margin-top: 4px; }
.paystep__help { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 420px) { .paystep__help { grid-template-columns: 1fr; } }
/* an unpaid order saved in this tab, shown in the cart */
.pend h2 { color: var(--text); }
.pend .num { white-space: nowrap; }
.pend--bar { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--card); line-height: 1.7; }
.pend--bar p { color: var(--muted); font-size: 14px; }
/* order page */
.okbox__wide { align-self: stretch; }
/* headings focused by script on a state change: no ring (keyboard focus on controls keeps its own) */
.okbox h1[tabindex="-1"]:focus, .paystep h2[tabindex="-1"]:focus { outline: none; }
.okbox__pay { display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.okbox > p { line-height: 1.85; }
.oklines { list-style: none; margin: 0; padding: 0; align-self: stretch; display: flex; flex-direction: column; gap: 6px; }
.oklines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--row); font-size: 14px; line-height: 1.6; }
.okline { list-style: none; margin: 4px 0; padding: 0; align-self: stretch; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.okline li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--row); line-height: 1.6; }
.okline li b { font-size: 14px; font-weight: 500; }
.okline li small { color: var(--muted); font-size: 12.5px; }
.okline li.is-done { background: var(--primary) var(--primary-grad); color: var(--on-primary); }
.okline li.is-done small { color: rgba(255, 255, 255, .75); }
@media (max-width: 520px) { .okline { grid-template-columns: 1fr; } }
/* checkout (the Respark checkout standard, 2026-10-17): a gift sent to someone else, and the quiet legal line in place of the footer */
.giftto { gap: 12px; }
.giftto__q span { display: grid; gap: 2px; line-height: 1.6; }
.giftto__q b { font-weight: 500; }
.giftto__q small { color: var(--muted); font-size: 13px; line-height: 1.7; }
.giftto__f { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px; border: 1px dashed var(--line); border-radius: var(--r-sm); }
.giftto__f[hidden] { display: none; }
.giftto__note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 640px) { .giftto__f { grid-template-columns: 1fr; } }
.colegal { padding: 18px 8px 28px; text-align: center; font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.giftto[hidden] { display: none; }
