/* ZR FEELINGS Uniform — site styles.
   Every colour, size and radius comes from site-design-pack/03-design-system/design-tokens.json.
   Layout uses logical properties so RTL (default) and LTR share one stylesheet. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1) ---------- */
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600 700; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-weight: 600; font-display: swap; src: url(../fonts/cairo-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-weight: 700; font-display: swap; src: url(../fonts/cairo-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url(../fonts/playfair-display-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(../fonts/playfair-display-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/playfair-display-latin-400-italic.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --ink-900: #121214; --ink-800: #1F1F23; --ink-700: #2E2E34; --ink-500: #5C5C66; --ink-400: #7A7A85;
  --ink-300: #B8B8C0; --ink-200: #DCDCE2; --ink-100: #F0F0F3;
  --gold-700: #8F6A0E; --gold-600: #B88A14; --gold-500: #D4A520; --gold-400: #E3BC4C; --gold-300: #EACB6B; --gold-100: #F8EFD3;
  --bone-50: #FBF9F4; --bone-100: #F5F1E8; --bone-200: #EBE4D4; --white: #FFFFFF;
  --success: #1F7A4D; --success-bg: #E6F4EC; --warning: #B35C00; --warning-bg: #FFF1E0;
  --error: #C62828; --error-bg: #FDECEC; --info: #1E5AA8; --info-bg: #E8F0FB; --focus: #1E5AA8;
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 20px; --r-pill: 999px;
  --e1: 0 1px 2px rgba(18,18,20,0.06), 0 1px 1px rgba(18,18,20,0.04);
  --e2: 0 4px 12px rgba(18,18,20,0.08);
  --e3: 0 12px 32px rgba(18,18,20,0.14);
  --gold-glow: 0 0 0 4px rgba(212,165,32,0.25);
  --t-fast: 120ms; --t-base: 200ms; --t-slow: 320ms; --t-preview: 260ms;
  --ease: cubic-bezier(0.2, 0, 0, 1); --ease-in: cubic-bezier(0, 0, 0.2, 1);
  --container: 1240px; --gutter: 24px; --section: 96px;
  --font-body: "IBM Plex Sans Arabic", "Inter", Tahoma, "Noto Sans Arabic", sans-serif;
  --font-head: "Cairo", "Inter", Tahoma, "Noto Kufi Arabic", sans-serif;
  --lh-body: 1.7; --lh-head: 1.25;
  --header-h: 76px;
  --display: 52px; --h1: 42px; --h2: 30px; --h3: 24px; /* Arabic headings 2px smaller (typography-and-fonts.md) */
}
html[lang="en"] { --display: 56px; --h1: 44px; --h2: 32px; --h3: 24px; }
html[lang="en"] {
  --font-body: "Inter", system-ui, "Segoe UI", Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --lh-body: 1.6; --lh-head: 1.15;
}
@media (max-width: 1279px) { :root { --container: 1180px; } }
@media (max-width: 1023px) { :root { --container: 960px; --section: 72px; } }
@media (max-width: 767px) {
  :root { --gutter: 16px; --section: 56px; --header-h: 60px; --display: 36px; --h1: 30px; --h2: 24px; --h3: 20px; }
  html[lang="en"] { --display: 36px; --h1: 32px; --h2: 26px; --h3: 20px; }
}
@media (max-width: 389px) { :root, html[lang="en"] { --display: 32px; --h1: 28px; --h2: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bone-50); color: var(--ink-900); font: 400 16px/var(--lh-body) var(--font-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-700); text-underline-offset: 3px; }
a:hover { color: var(--ink-900); }
button, input, select, textarea { font: inherit; color: inherit; }
select { max-width: 100%; min-width: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: var(--lh-head); margin: 0 0 12px; color: inherit; letter-spacing: 0; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { letter-spacing: -0.01em; }
h1 { font-size: var(--h1); font-weight: 700; }
h2 { font-size: var(--h2); font-weight: 600; }
h3 { font-size: var(--h3); font-weight: 600; }
h4, .h4 { font-family: var(--font-body); font-size: 18px; font-weight: 600; line-height: 1.4; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; }
[role="list"], .plain { list-style: none; }
address { font-style: normal; }
small, .small { font-size: 14px; }
.display { font-size: var(--display); font-weight: 700; line-height: 1.1; }
html[lang="ar"] .display { line-height: 1.25; }
.lead { font-size: 18px; line-height: 1.7; color: var(--ink-500); }
.dark .lead { color: var(--ink-300); }
.caption { font-size: 12px; font-weight: 500; color: var(--ink-500); line-height: 1.5; }
.muted { color: var(--ink-500); }
.eyebrow, .sec-num { font-size: 13px; font-weight: 600; color: var(--gold-700); margin: 0 0 8px; line-height: 1.2; }
html[lang="en"] .eyebrow { letter-spacing: 0.04em; text-transform: uppercase; }
.dark .eyebrow, .dark .sec-num { color: var(--gold-400); }
/* gold-700 on bone-100 is 4.39:1 (below AA for 13px), so tinted sections use ink text with a gold stitch mark */
.tint .sec-num, .tint .eyebrow, .tint .clients-title { color: var(--ink-900); }
.tint .sec-num::before { content: ""; display: inline-block; width: 16px; border-top: 2px solid var(--gold-500); vertical-align: middle; margin-inline-end: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ink-900); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dark :focus-visible, .footer :focus-visible, .topbar :focus-visible { outline-color: var(--gold-400); }
main:focus { outline: none; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .i-dir { transform: scaleX(-1); }
bdi, [dir="ltr"] { unicode-bidi: isolate; }
html[lang="ar"] :lang(en) { font-family: "Inter", system-ui, sans-serif; }
.num, .tabular { font-variant-numeric: tabular-nums; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-sm { padding-block: 48px; }
.tint { background: var(--bone-100); }
.dark { background: var(--ink-900); color: var(--white); }
.hide-sm { }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h);
  padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-md); font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background var(--t-fast) var(--ease), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
.btn .i { width: 18px; height: 18px; }
.btn-sm { --h: 36px; padding: 0 12px; font-size: 14px; }
.btn-lg { --h: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--gold-500); color: var(--ink-900); }
.btn-primary:hover { background: var(--gold-600); color: var(--ink-900); }
.btn-dark { background: var(--ink-900); color: var(--white); }
.btn-dark:hover { background: var(--ink-700); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink-900); border-color: var(--ink-200); }
.btn-outline:hover { border-color: var(--ink-900); color: var(--ink-900); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.06); }
.btn-light { background: var(--white); color: var(--ink-900); border-color: var(--white); }
.btn-light:hover { background: var(--bone-100); color: var(--ink-900); }
.btn-wa { background: var(--success); color: var(--white); }
.btn-wa:hover { background: var(--ink-900); color: var(--white); }
.btn-link { background: none; border: 0; padding: 0; min-height: 44px; color: var(--gold-700); text-decoration: underline; font-weight: 600; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--ink-100); color: var(--ink-400); border-color: var(--ink-100); cursor: not-allowed; box-shadow: none; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--ink-900); border-inline-end-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn-dark.is-loading::after { border-color: var(--white); border-inline-end-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid transparent;
  background: transparent; color: inherit; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--ink-100); color: var(--ink-900); }
.icon-btn.bordered { border-color: var(--ink-200); background: var(--white); }
.icon-btn:disabled { color: var(--ink-300); cursor: not-allowed; background: transparent; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-700); font-weight: 600; font-size: 14px; }
.link-more .i { width: 16px; height: 16px; }

/* ---------- Badges, chips, notices ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; line-height: 1.6; }
.badge-gold { background: var(--gold-100); color: var(--ink-900); }
.badge-warn { background: var(--warning-bg); color: var(--ink-900); box-shadow: inset 3px 0 0 var(--warning); }
html[dir="rtl"] .badge-warn { box-shadow: inset -3px 0 0 var(--warning); }
.badge-ok { background: var(--success-bg); color: var(--success); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-err { background: var(--error-bg); color: var(--error); }
.badge-dark { background: var(--ink-900); color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--ink-200); border-radius: var(--r-pill);
  background: var(--white); color: var(--ink-900); font-size: 14px; text-decoration: none; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.chip .i { width: 16px; height: 16px; color: var(--gold-700); }
.chip:hover { border-color: var(--ink-900); color: var(--ink-900); }
.chip[aria-pressed="true"], .chip.is-on, .chip[aria-checked="true"] { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.chip[aria-pressed="true"] .i, .chip.is-on .i { color: var(--gold-400); }
.chip:disabled, .chip[aria-disabled="true"] { color: var(--ink-300); border-color: var(--ink-100); cursor: not-allowed; background: var(--white); }
.chip-gold { background: var(--gold-100); border-color: var(--gold-300); color: var(--ink-900); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); font-size: 14px; line-height: 1.6; }
.notice .i { margin-top: 2px; width: 18px; height: 18px; }
.notice > div > :last-child { margin-bottom: 0; }
.notice-info { background: var(--info-bg); color: var(--info); }
.notice-warn { background: var(--warning-bg); color: var(--ink-900); }
.notice-warn .i { color: var(--warning); }
.notice-err { background: var(--error-bg); color: var(--error); }
.notice-ok { background: var(--success-bg); color: var(--success); }
.claim-mark { color: var(--gold-700); font-weight: 700; margin-inline-start: 2px; }
.dark .claim-mark { color: var(--gold-400); }
.review-banner { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 6px 16px; background: var(--info-bg); color: var(--info); font-size: 13px; text-align: center; }
.review-banner .i { width: 16px; height: 16px; }
.stitch { border: 0; border-top: 1px dashed var(--gold-500); margin: 16px 0; }

/* ---------- Topbar / header / nav ---------- */
.topbar { background: var(--ink-900); color: var(--ink-300); font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-contact { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.topbar a { color: var(--ink-300); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.sep { color: var(--ink-500); }
.lang-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; }
.lang-link .i { width: 16px; height: 16px; }
.header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--ink-200); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; }
.nav { flex: 1; min-width: 0; }
.nav ul { display: flex; list-style: none; gap: 4px 20px; flex-wrap: nowrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-900); text-decoration: none; font-size: 15px; white-space: nowrap; position: relative; }
.nav a:hover { color: var(--gold-700); }
.nav a.active { color: var(--gold-700); font-weight: 600; }
.nav a.active::after { content: ""; position: absolute; inset-inline: 0; bottom: 6px; height: 2px; background: var(--gold-500); }
.search { position: relative; flex: 0 1 220px; }
.search .i { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-400); pointer-events: none; }
.search input { width: 100%; height: 40px; border: 1px solid var(--ink-200); border-radius: var(--r-pill); background: var(--bone-50); padding-inline: 38px 14px; font-size: 14px; }
.search input::placeholder { color: var(--ink-400); }
.search input:focus { outline: 2px solid var(--focus); outline-offset: 1px; background: var(--white); }
.menu-btn, .search-btn { display: none; }
.search-mobile { border-top: 1px solid var(--ink-200); padding-block: 10px; background: var(--white); }
.search-mobile .container { display: flex; gap: 8px; }
.search-mobile input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--ink-200); border-radius: var(--r-md); padding-inline: 12px; }
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(18,18,20,0.5); }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(320px, 88vw); background: var(--white); display: flex; flex-direction: column; overflow-y: auto; box-shadow: var(--e3); animation: drawer-in var(--t-base) var(--ease-in); }
@keyframes drawer-in { from { transform: translateX(var(--drawer-from, 100%)); } }
html[dir="ltr"] .drawer-panel { --drawer-from: -100%; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--ink-200); }
.drawer-head img { height: 34px; width: auto; }
.drawer-nav { list-style: none; padding: 8px 0; }
.drawer-nav a { display: flex; align-items: center; min-height: 48px; padding-inline: 20px; color: var(--ink-900); text-decoration: none; font-size: 16px; }
.drawer-nav a[aria-current="page"] { color: var(--ink-900); font-weight: 700; background: var(--gold-100); box-shadow: inset -3px 0 0 var(--gold-500); }
.drawer-foot { margin-top: auto; padding: 16px; display: grid; gap: 10px; border-top: 1px solid var(--ink-200); }
.drawer-lang { justify-content: center; color: var(--ink-900); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: var(--ink-300); padding-block: 64px 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer address { line-height: 1.9; color: var(--ink-300); }
.footer a { color: var(--ink-300); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer h2 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 4px; }
.footer-col a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-cta { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.footer-cta .btn-light, .footer-cta .btn-light:hover { color: var(--ink-900); }
.footer-cta .btn-wa, .footer-cta .btn-wa:hover { color: var(--white); }
.footer-cta .btn-wa:hover { background: var(--ink-700); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; border-top: 1px solid var(--ink-700); margin-top: 40px; padding-top: 20px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-dev { flex-basis: 100%; color: var(--ink-300); }
.footer-dev a { color: var(--gold-400); font-weight: 600; text-decoration: none; }
.footer-dev a:hover, .footer-dev a:focus-visible { color: var(--white); text-decoration: underline; }
.footer-langs a[aria-current] { color: var(--gold-400); }

/* ---------- Shared section bits ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-head h2 { margin-bottom: 8px; }
.sec-lead { color: var(--ink-500); margin: 0; max-width: 720px; }
.dark .sec-lead { color: var(--ink-300); }
.crumbs { font-size: 13px; color: var(--ink-500); padding-block: 16px 8px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-inline-end: 6px; color: var(--ink-400); }
.crumbs a { color: var(--ink-500); text-decoration: none; }
.crumbs a:hover { color: var(--gold-700); text-decoration: underline; }
.dark .crumbs, .dark .crumbs a, .dark .caption, .dark .muted { color: var(--ink-300); }
.dark .crumbs a:hover { color: var(--gold-400); }
.page-head { padding-block: 8px 32px; }
.page-head h1 { margin-bottom: 8px; }
.page-head .lead { margin: 0; max-width: 780px; }
.page-head-media { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.head-photo { margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--bone-100); }
.head-photo img { width: 100%; height: 100%; object-fit: cover; }
.guide-banner { margin: 0 0 24px; aspect-ratio: 21 / 8; border-radius: var(--r-md); overflow: hidden; background: var(--bone-100); }
.guide-banner img { width: 100%; height: 100%; object-fit: cover; }
.card { background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 24px; }
.card-tight { padding: 16px; }
.card h2.card-title, .card .card-title { font-family: var(--font-body); font-size: 18px; font-weight: 600; margin-bottom: 16px; }

/* ---------- Hero ---------- */
.hero { padding-block: 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero-copy .lead { max-width: 560px; }
.hero .btn-row { margin-block: 28px 28px; }
.trust { list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; color: var(--ink-300); font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .i { width: 16px; height: 16px; color: var(--gold-400); }
.trust-note { font-size: 12px; color: var(--ink-300); margin-top: 14px; }
.btn-xl { --h: 58px; padding: 0 32px; font-size: 17px; font-weight: 700; box-shadow: 0 10px 28px rgba(212,165,32,0.28); }
.btn-xl:hover { box-shadow: 0 12px 32px rgba(212,165,32,0.38); }

/* Home hero: copy + photo slider */
.hx { position: relative; overflow: hidden; padding-block: 56px 72px;
  background: radial-gradient(1100px 520px at 85% 15%, rgba(212,165,32,0.12), transparent 60%), var(--ink-900); }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hx-copy .lead { max-width: 540px; margin-top: 16px; }
.hx-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 0; padding: 0; color: var(--ink-100); font-size: 14px; font-weight: 600; }
.hx-steps li { display: flex; align-items: center; gap: 10px; }
.hx-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold-500); color: var(--gold-400); font-size: 13px; font-weight: 700; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hx-cta .btn-ghost-light .i { width: 18px; height: 18px; }
.hx-wa { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 22px; color: var(--ink-300); font-size: 14px; text-decoration: none; min-height: 36px; }
.hx-wa .i { width: 18px; height: 18px; color: #25D366; }
.hx-wa:hover { color: var(--white); text-decoration: underline; }
.hx-media { position: relative; aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: var(--ink-800);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45); isolation: isolate; touch-action: pan-y; }
.hx-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(18,18,20,0.88) 0%, rgba(18,18,20,0.35) 30%, rgba(18,18,20,0) 52%); }
.hx-slides, .hx-slide { position: absolute; inset: 0; margin: 0; }
.hx-slide { opacity: 0; transition: opacity 0.9s ease; }
.hx-slide.is-active { opacity: 1; }
.hx-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hx-slide.is-active img { transform: scale(1); }
.hx-cap { position: absolute; z-index: 2; inset-inline: 24px; bottom: 84px; display: flex; flex-direction: column; gap: 4px; color: var(--white); }
.hx-cap strong { font-family: var(--font-head); font-size: 26px; line-height: 1.2; }
.hx-cap a { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-300); font-size: 14px; font-weight: 600; text-decoration: none; min-height: 32px; }
.hx-cap a:hover { color: var(--white); text-decoration: underline; }
.hx-cap a .i { width: 16px; height: 16px; }
.hx-controls { position: absolute; z-index: 3; inset-inline: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hx-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; color: var(--white);
  background: rgba(18,18,20,0.55); border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(6px); transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.hx-btn:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink-900); }
.hx-btn:focus-visible, .hx-dot:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.hx-btn .i { width: 20px; height: 20px; }
.hx-dots { flex: 1; display: flex; gap: 6px; padding-inline: 4px; }
.hx-dot { flex: 1; max-width: 64px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hx-dot span { position: relative; display: block; width: 100%; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.35); overflow: hidden; }
.hx-dot span::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--gold-400); }
.hx-dot[aria-current="true"] span::after { width: 100%; }
.hx-media.is-running .hx-dot[aria-current="true"] span::after { width: 0; animation: hx-progress var(--hx-duration, 6500ms) linear forwards; }
@keyframes hx-progress { to { width: 100%; } }
.hx-pause .hx-ico-pause, .hx-pause .hx-ico-play { display: block; }
.hx-ico-pause { width: 12px; height: 14px; border-inline: 4px solid currentColor; }
.hx-ico-play { width: 0; height: 0; border-block: 7px solid transparent; border-inline-start: 12px solid currentColor; margin-inline-start: 3px; }
.hx-pause[aria-pressed="false"] .hx-ico-play, .hx-pause[aria-pressed="true"] .hx-ico-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hx-slide, .hx-slide img { transition: none; transform: none; }
}

/* ---------- Sector cards ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sector-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; background: var(--ink-800); color: var(--white); text-decoration: none; isolation: isolate; }
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform var(--t-slow) var(--ease); z-index: -1; }
.sector-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,18,20,0.85), rgba(18,18,20,0) 55%); z-index: -1; }
.sector-card:hover img { transform: scale(1.04); }
.sector-card:hover { color: var(--white); }
.sector-name { position: absolute; inset-inline: 14px; bottom: 12px; display: grid; gap: 0; }
.sector-name strong { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.3; }
.sector-name small { font-size: 12px; color: var(--gold-400); font-weight: 500; }
.sector-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector-tile a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink-900); transition: box-shadow var(--t-base), border-color var(--t-base); }
.sector-tile a:hover { box-shadow: var(--e2); border-color: var(--ink-300); color: var(--ink-900); }
.sector-tile-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-800); }
.sector-tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.sector-tile-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.sector-tile-body .h4 { margin-bottom: 0; font-family: var(--font-head); font-size: 20px; }
.sector-tile-body p { margin-bottom: 8px; }
.sector-line { color: var(--ink-500); font-size: 14px; }
.sector-tile .link-more { margin-top: auto; }

/* ---------- Category cards / tiles ---------- */
.cat-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 32px; }
.cat-card { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 132px; padding: 20px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white); color: var(--ink-900); text-decoration: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.cat-card .i { width: 24px; height: 24px; color: var(--gold-700); margin-bottom: 8px; }
.cat-card strong { font-size: 16px; line-height: 1.35; }
.cat-card small { color: var(--ink-500); font-size: 12px; }
.cat-card:hover { border-color: var(--gold-500); box-shadow: var(--e1); color: var(--ink-900); }
.cat-card.has-photo { padding: 0; gap: 0; overflow: hidden; }
.cat-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone-100); }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.cat-card.has-photo:hover .cat-photo img { transform: scale(1.05); }
.cat-body { display: flex; flex-direction: column; gap: 4px; }
.cat-card.has-photo .cat-body { padding: 12px 14px 14px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile-grid-4 { grid-template-columns: repeat(4, 1fr); }
.tile { min-width: 0; }
.tile-link { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink-900); transition: box-shadow var(--t-base), border-color var(--t-base); }
.tile-link:hover { box-shadow: var(--e2); border-color: var(--ink-300); color: var(--ink-900); }
.tile-media { position: relative; aspect-ratio: 4 / 5; background: var(--bone-100); }
.tile-badge { position: absolute; inset-inline-end: 10px; top: 10px; z-index: 1; }
.tile-review { position: absolute; inset-inline-start: 10px; top: 10px; z-index: 1; }
.pv { position: absolute; inset: 0; display: grid; place-items: center; padding: 8% 10% 4%; }
.pv svg.garment { width: 100%; height: 100%; }
.gph { position: relative; display: block; width: 100%; height: 100%; }
.gph-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gph-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pv-tpl { padding: 4% 6% 2%; }
.pv-photo { padding: 0; background: var(--white); }
.pv-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pv-empty { align-content: center; gap: 6px; text-align: center; color: var(--ink-500); background: radial-gradient(circle at 50% 42%, var(--white) 0, var(--bone-100) 70%); }
.pv-empty .pv-icon { width: 40px; height: 40px; color: var(--ink-300); margin-inline: auto; }
.pv-empty span { font-size: 14px; font-weight: 600; color: var(--ink-700); }
.pv-empty small { font-size: 12px; color: var(--ink-400); letter-spacing: 0.04em; }
.tile-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tile-title { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0; }
.tile-cat { font-size: 12px; color: var(--ink-500); margin: 0 0 8px; }
.price { margin-top: auto; font-size: 13px; color: var(--ink-500); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.price-num { color: var(--ink-900); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-pending { margin-top: auto; }
.price-request { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.measure-steps { margin: 12px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; color: var(--ink-700); font-size: 15px; }
.photo-note { margin-top: 20px; }
.credits-list { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
.credits-list li { display: grid; gap: 2px; padding: 12px 16px; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-sm); }
.credits-list span { font-size: 14px; color: var(--ink-500); }
.price-note { font-size: 12px; color: var(--ink-500); margin: 6px 0 0; }
.price-foot { margin-top: 16px; }

/* ---------- Clothing collections ---------- */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.col-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink-900); transition: box-shadow var(--t-base), border-color var(--t-base); }
.col-card:hover { box-shadow: var(--e2); border-color: var(--ink-300); color: var(--ink-900); }
.col-card-media { display: block; aspect-ratio: 1; background: var(--bone-100); overflow: hidden; }
.col-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.col-card:hover .col-card-media img { transform: scale(1.03); }
.col-card-body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.col-card-body strong { font-family: var(--font-head); font-size: 22px; line-height: 1.25; }
.col-card-body small { color: var(--ink-500); font-size: 14px; }
.col-card .link-more { margin-top: 6px; }
.col-note { margin-top: 10px; max-width: 56ch; }
.col-hero-photo { aspect-ratio: auto; background: transparent; border-radius: var(--r-md); }
.col-hero-photo img { width: 100%; height: auto; object-fit: contain; border-radius: var(--r-md); }
.col-hero { padding-block: 8px 48px; }
.col-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.col-hero-copy .btn-row { margin-top: 20px; }
.col-hero-media { margin: 0; border-radius: var(--r-md); overflow: hidden; }
.col-hero-media img { width: 100%; height: auto; display: block; }
.col-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.editorial-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.editorial-grid figure { margin: 0; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md); overflow: hidden; }
.editorial-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; background: var(--white); }
.editorial-grid figcaption { padding: 10px 12px 12px; font-size: 13px; color: var(--ink-700); line-height: 1.4; }
.cat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cat-photo-sq { aspect-ratio: 1; }
.empty-editorial { text-align: center; }
.sizes-sum .size-pair { white-space: nowrap; font-variant-numeric: tabular-nums; }
.draft-note { margin-bottom: 14px; }
.colour-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0; margin: 0; }
.colour-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border: 1px solid var(--ink-200); border-radius: var(--r-pill); background: var(--white); font-size: 13px; }
.colour-chip .dot { width: 16px; height: 16px; }
.price-est .price-from { color: var(--ink-700); font-weight: 600; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
/* RSP-002: the illustration stays inside the stage (bounded tracks, 2:3 wrapper kept for the overlay). */
.how-stage { background: var(--ink-800); border-radius: var(--r-lg); height: 300px; display: grid; place-items: center; padding: 16px; margin-block: 16px 20px;
  grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); inline-size: 100%; max-inline-size: none; justify-self: stretch; overflow: hidden; }
.how-stage svg { height: 100%; width: auto; }
.how-stage .gph { block-size: 100%; inline-size: auto; aspect-ratio: 2 / 3; min-block-size: 0; min-inline-size: 0; max-block-size: 100%; max-inline-size: 100%; margin-inline: auto; }
.how-stage .gph-img { min-block-size: 0; min-inline-size: 0; }
.how-steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; padding-top: 56px; }
.how-steps li { display: grid; gap: 4px; }
.how-n { font-family: "Inter", sans-serif; font-size: 34px; font-weight: 700; color: var(--gold-400); line-height: 1; font-variant-numeric: tabular-nums; }
.how-steps h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin: 6px 0 4px; }
.how-steps p { color: var(--ink-300); font-size: 14px; margin: 0; }

/* ---------- Split / work / clients / band ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bone-100); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy .chips { margin-block: 20px 12px; }
.split-copy .btn { margin-top: 12px; }
.work-strip { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.work-strip figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--ink-800); }
.work-strip img { width: 100%; height: 100%; object-fit: cover; }
.work-strip figcaption { position: absolute; inset: auto 0 0; padding: 28px 12px 10px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--white);
  background: linear-gradient(to top, rgba(18,18,20,0.82), rgba(18,18,20,0)); }
.clients { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-block: 28px 8px; }
.clients-title { color: var(--gold-700); font-size: 13px; }
.clients ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.clients li { padding: 6px 14px; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-sm); font-size: 13px; font-weight: 600; }
.band { padding-block: 64px; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band h2 { margin-bottom: 8px; }
.band p { color: var(--ink-300); margin: 0; }

/* ---------- Sector page ---------- */
.sector-hero { padding-block: 56px; }
.sector-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.sector-hero-media { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-800); }
.sector-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.sector-hero .btn-row { margin-top: 24px; }
.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kit h3 { font-family: var(--font-body); font-size: 17px; margin-bottom: 4px; }
.kit p { color: var(--ink-500); font-size: 14px; }
.methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.methods-cards { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.methods-cards .card { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.methods-cards .i { width: 24px; height: 24px; color: var(--gold-700); }
.methods-cards h3 { font-size: 16px; margin: 0 0 4px; }
.methods-cards p { font-size: 14px; color: var(--ink-500); margin: 0; }
.filter-chips { margin-bottom: 20px; }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filters-panel { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-inline-end: 4px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.filters-head h2 { font-family: var(--font-body); font-size: 18px; margin: 0; }
.fgroup { border: 0; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--ink-200); }
.fgroup legend, .fgroup .flegend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 8px; }
.fgroup .caption { margin: 6px 0 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink-900); flex: none; margin: 0; }
.check .count { margin-inline-start: auto; color: var(--ink-500); font-size: 12px; font-variant-numeric: tabular-nums; }
.check.is-empty { color: var(--ink-500); }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.price-inputs label { font-size: 12px; color: var(--ink-500); display: grid; gap: 4px; }
.price-inputs input { height: 40px; border: 1px solid var(--ink-200); border-radius: var(--r-sm); padding-inline: 10px; background: var(--white); width: 100%; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar-start { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-count { font-size: 14px; color: var(--ink-500); margin: 0; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 6px 0 12px; border-radius: var(--r-pill); background: var(--gold-100); border: 1px solid var(--gold-300); color: var(--ink-900); font-size: 13px; text-decoration: none; }
html[dir="rtl"] .active-chip { padding: 0 12px 0 6px; }
.active-chip .i { width: 14px; height: 14px; }
.active-chip:hover { border-color: var(--gold-700); color: var(--ink-900); }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.select { height: 44px; border: 1px solid var(--ink-200); border-radius: var(--r-sm); background: var(--white); padding-inline: 12px 32px; min-width: 190px; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] .select { padding-inline: 32px 12px; background-position: 13px 50%, 18px 50%; }
.filters-btn { display: none; }
.results { position: relative; min-height: 400px; }
.results[aria-busy="true"] .tile-grid { opacity: 0.35; transition: opacity var(--t-base); }
.sector-hits { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 14px; }
.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--ink-300); border-radius: var(--r-md); background: var(--white); }
.empty-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bone-100); display: grid; place-items: center; margin: 0 auto 16px; color: var(--ink-500); }
.empty-icon .i { width: 26px; height: 26px; }
.empty h2 { font-family: var(--font-body); font-size: 20px; }
.empty p { color: var(--ink-500); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding-inline: 10px; border: 1px solid var(--ink-200); border-radius: var(--r-sm); background: var(--white); color: var(--ink-900); text-decoration: none; font-variant-numeric: tabular-nums; }
.pagination a:hover { border-color: var(--ink-900); }
.pagination [aria-current="page"] { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.pagination .i { width: 16px; height: 16px; }
.more-btn { display: none; }
.skeleton .tile-link { pointer-events: none; }
.sk { background: linear-gradient(90deg, var(--bone-200), var(--bone-100), var(--bone-200)); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: var(--r-sm); }
.sk-media { position: absolute; inset: 0; border-radius: 0; }
.sk-line { height: 14px; margin-bottom: 8px; }
.sk-line.w60 { width: 60%; } .sk-line.w40 { width: 40%; } .sk-line.w30 { width: 30%; height: 18px; margin-top: 8px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.list-error { text-align: center; padding: 48px 24px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; padding-bottom: 48px; }
.gallery-main { position: relative; aspect-ratio: 1 / 0.86; background: var(--bone-100); border: 1px solid var(--ink-200); border-radius: var(--r-md); display: grid; place-items: center; padding: 32px; overflow: hidden; }
/* RSP-001: the preview wrapper is bounded by the gallery frame; the image never grows past it. */
.gallery-main .pv { position: absolute; inset: 0; padding: 24px 14% 20px; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.gallery-main .gph { inline-size: 100%; block-size: 100%; min-inline-size: 0; min-block-size: 0; }
.gallery-main .pv-photo img, .gallery-main .gph-img { min-inline-size: 0; min-block-size: 0; max-inline-size: 100%; max-block-size: 100%; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.gallery-main .pv-photo { padding: 0; }
.gallery-main.gallery-photo { background: var(--white); padding: 0; }
.gallery-note { margin: 8px 0 0; }
.pdp-desc { color: var(--ink-700); margin: 4px 0 12px; }
.thumb .gph, .thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb-photo { background: var(--white); padding: 2px; }
.gallery-badge { position: absolute; inset-inline-end: 14px; top: 14px; z-index: 1; }
.gallery-foot { position: absolute; inset-inline-end: 14px; bottom: 10px; font-size: 12px; color: var(--ink-500); z-index: 1; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 72px; height: 72px; border-radius: var(--r-md); border: 1px solid var(--ink-200); background: var(--bone-100); padding: 6px; cursor: pointer; }
.thumb[aria-pressed="true"] { border: 2px solid var(--gold-600); box-shadow: var(--gold-glow); }
.thumb svg { width: 100%; height: 100%; }
.buybox .eyebrow a { color: var(--gold-700); text-decoration: none; }
.buybox h1 { font-size: 36px; margin-bottom: 8px; }
.buybox .price { margin-top: 0; font-size: 14px; }
.buybox .price-num { font-size: 22px; }
.bb-row { margin-top: 22px; }
.bb-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.bb-label a { font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.bb-label .i { width: 16px; height: 16px; }
.bb-value { font-size: 14px; color: var(--ink-500); margin: 0; }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chips .chip { min-width: 52px; justify-content: center; }
.method-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { position: relative; display: block; padding: 14px 16px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white); cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card strong { display: block; font-size: 15px; }
.radio-card small { color: var(--ink-500); font-size: 13px; }
.radio-card:has(input:checked) { border: 2px solid var(--gold-600); box-shadow: var(--gold-glow); padding: 13px 15px; }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.qty-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bone-100); border-radius: var(--r-md); padding: 16px; margin-top: 22px; }
.qty-box label { font-weight: 600; }
.qty-box p { font-size: 13px; color: var(--ink-500); margin: 6px 0 0; }
.qty-input { width: 88px; height: 44px; text-align: center; border: 1px solid var(--ink-200); border-radius: var(--r-sm); background: var(--white); font-variant-numeric: tabular-nums; }
.bb-actions { display: grid; gap: 10px; margin-top: 22px; }
.partner-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; color: var(--ink-900); font-size: 15px; }
.partner-link small { color: var(--ink-500); }
.partner-link .i { width: 18px; height: 18px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.spec-table, .data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: start; padding: 12px; border-bottom: 1px solid var(--ink-200); vertical-align: top; }
.spec-table th { background: var(--ink-100); width: 34%; font-weight: 600; color: var(--ink-700); }
.data-table th, .data-table td { padding: 12px 10px; border-bottom: 1px solid var(--ink-200); text-align: center; font-variant-numeric: tabular-nums; }
.data-table thead th { background: var(--ink-100); font-weight: 600; font-size: 13px; color: var(--ink-700); }
.data-table th[scope="row"], .data-table th:first-child, .data-table td:first-child { text-align: start; }
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabs-mobile { display: none; }
.sticky-cta { display: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field .label { font-weight: 600; font-size: 14px; }
.field .opt { color: var(--ink-500); font-weight: 400; font-size: 12px; }
.input, .textarea, .field select { width: 100%; min-height: 48px; border: 1px solid var(--ink-200); border-radius: var(--r-sm); background: var(--white); padding: 10px 12px; font-size: 15px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:hover, .textarea:hover { border-color: var(--ink-300); }
.input:focus, .textarea:focus, .field select:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field.has-error .input, .field.has-error .textarea, .field.has-error select { border-color: var(--error); background: var(--white); }
.field-error { color: var(--error); font-size: 13px; display: flex; gap: 6px; align-items: flex-start; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--error); color: var(--white); font-size: 11px; font-weight: 700; }
.field-hint { color: var(--ink-500); font-size: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink-900); flex: none; }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
input[type="date"].input { direction: ltr; text-align: start; }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }
.dropzone { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 24px 16px; border: 1.5px dashed var(--ink-300); border-radius: var(--r-md); background: var(--white); color: var(--ink-500); cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.dropzone strong { color: var(--ink-900); font-size: 15px; }
.dropzone .i { width: 24px; height: 24px; color: var(--ink-700); }
.dropzone small { font-size: 12px; }
.dropzone.is-over { background: var(--gold-100); border-color: var(--gold-600); color: var(--gold-700); }
.dropzone.is-error { background: var(--error-bg); border-color: var(--error); color: var(--error); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.file-list { display: grid; gap: 10px; }
.file-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white); }
.file-card.is-check { border-color: var(--warning); }
.file-card.is-bad { border-color: var(--error); background: var(--error-bg); }
.file-card .i { width: 20px; height: 20px; color: var(--ink-500); }
.file-meta { flex: 1; min-width: 0; }
.file-meta strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: start; }
html[dir="rtl"] .file-meta strong { text-align: right; }
.file-meta small { color: var(--ink-500); font-size: 12px; display: block; }
.success-card { text-align: center; padding: 32px 24px; }
.success-card .ok-icon { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--success); stroke-width: 2; }
.success-card h2 { font-size: 28px; margin-bottom: 8px; }
.success-card .ref { font-family: "Inter", sans-serif; font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.form-status { margin-top: 12px; }

/* ---------- Print ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white); color: var(--ink-900); text-decoration: none; transition: box-shadow var(--t-base), border-color var(--t-base); }
.service-card:hover { box-shadow: var(--e2); border-color: var(--ink-300); color: var(--ink-900); }
.service-card > .i { width: 24px; height: 24px; color: var(--gold-700); margin-bottom: 6px; }
.service-card h3 { font-family: var(--font-body); font-size: 17px; margin: 0; }
.service-card p { color: var(--ink-500); font-size: 14px; margin: 0 0 8px; }
.service-card .badge { align-self: flex-start; margin-top: auto; }
.service-card.has-photo { padding: 0; gap: 0; overflow: hidden; }
.service-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone-100); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.service-card.has-photo:hover .service-photo img { transform: scale(1.04); }
.service-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.service-body .link-more { margin-top: auto; }
.how4 { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how4 .how-n { color: var(--gold-700); }
.how4 h3 { font-family: var(--font-body); font-size: 17px; margin-top: 8px; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-bottom: 64px; }
.svc-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.svc-photo { margin: 0; aspect-ratio: 16 / 7; border-radius: var(--r-md); overflow: hidden; background: var(--bone-100); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-preview { position: relative; aspect-ratio: 1 / 0.92; background: var(--bone-100); border: 1px solid var(--ink-200); border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden; }
.svc-preview .caption { position: absolute; inset-inline-start: 14px; top: 12px; }
.svc-form .bb-row:first-child { margin-top: 16px; }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-box { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; background: var(--bone-100); border-radius: var(--r-md); padding: 16px; margin-top: 22px; }
.price-box strong { font-size: 18px; }
.price-box p { font-size: 12px; color: var(--ink-500); margin: 4px 0 0; }
.pq-grid { display: grid; grid-template-columns: 1fr 1.05fr 0.95fr; gap: 24px; align-items: start; padding-bottom: 64px; }
.pq-grid.pq-two { grid-template-columns: 1.1fr 0.9fr; }
.pq-grid > * { min-width: 0; }
.summary-rows { display: grid; gap: 0; }
.summary-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ink-100); font-size: 14px; }
.summary-rows dt { color: var(--ink-500); }
.summary-rows dd { margin: 0; font-weight: 600; text-align: end; min-width: 0; overflow-wrap: anywhere; }
.summary-rows dd .mini-select { width: 100%; }

/* ---------- Corporate ---------- */
.corp-table { min-width: 860px; background: var(--white); }
.corp-table td, .corp-table th { padding: 10px 8px; }
.corp-table .item-cell { text-align: start; min-width: 240px; position: sticky; inset-inline-start: 0; background: var(--white); z-index: 1; }
.corp-table thead .item-cell { background: var(--ink-100); }
.corp-table .item-cell strong { display: block; font-size: 14px; }
.corp-table .item-cell small { color: var(--ink-500); font-size: 12px; }
.qty-cell input { width: 52px; height: 40px; text-align: center; border: 1px solid var(--ink-200); border-radius: var(--r-sm); background: var(--white); font-variant-numeric: tabular-nums; }
.qty-cell input:focus { outline: 2px solid var(--focus); outline-offset: 0; }
.qty-cell input.is-zero { color: var(--ink-500); }
.qty-cell input[aria-invalid="true"] { border-color: var(--error); }
.corp-table tfoot td, .corp-table tfoot th { font-weight: 700; }
.corp-wrap { border: 1px solid var(--ink-200); border-radius: var(--r-md); overflow: hidden; }
.corp-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.corp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.corp-cards .card h3 { font-family: var(--font-body); font-size: 16px; margin-bottom: 4px; }
.corp-cards .card p { font-size: 13px; color: var(--ink-500); }
.add-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px; border-top: 1px solid var(--ink-200); background: var(--bone-50); }
.add-row select { flex: 1 1 280px; width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--ink-200); border-radius: var(--r-sm); background: var(--white); padding-inline: 10px; }

/* ---------- About / team / works / contact / guides ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-family: "Inter", sans-serif; font-size: 44px; font-weight: 700; color: var(--gold-700); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--ink-700); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--bone-200); display: grid; place-items: center; color: var(--ink-500); flex: none; }
.member strong { display: block; font-size: 16px; }
.member span { color: var(--ink-500); font-size: 14px; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-card { margin: 0; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md); overflow: hidden; }
.work-card .wimg { aspect-ratio: 1; overflow: hidden; background: var(--bone-100); }
.work-card img { width: 100%; height: 100%; object-fit: cover; }
.work-card figcaption { padding: 12px 16px 14px; }
.work-card strong { display: block; font-size: 15px; }
.work-card small { color: var(--ink-500); font-size: 12px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.direct-list { list-style: none; display: grid; gap: 4px; margin-bottom: 16px; }
.direct-list li { display: flex; gap: 10px; align-items: center; min-height: 36px; font-size: 15px; flex-wrap: wrap; }
.direct-list .i { width: 18px; height: 18px; color: var(--ink-700); }
.direct-list a { color: var(--ink-900); text-decoration: none; }
.direct-list a:hover { color: var(--gold-700); text-decoration: underline; }
.location-card { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 20px; text-decoration: none; color: var(--ink-900); }
.location-card:hover { border-color: var(--ink-900); color: var(--ink-900); }
.location-card .i { width: 28px; height: 28px; flex: none; color: var(--gold-700); }
.location-card strong { display: block; font-size: 15px; }
.location-card small { color: var(--ink-500); font-size: 13px; }
.accordion { display: grid; gap: 10px; }
.acc { background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md); }
.acc h3 { margin: 0; font-family: var(--font-body); font-size: 16px; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; background: none; border: 0; text-align: start; font-weight: 600; cursor: pointer; }
.acc-btn .i { transition: transform var(--t-base) var(--ease); }
.acc-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.acc-panel { padding: 0 18px 16px; color: var(--ink-500); font-size: 15px; }
.tabs { display: flex; border-bottom: 1px solid var(--ink-200); gap: 0; overflow-x: auto; }
.tab { flex: 1; min-height: 52px; padding: 0 16px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--ink-500); font-weight: 600; cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--ink-900); border-bottom-color: var(--gold-500); }
.tab-panel { padding-top: 24px; }
.unit-toggle { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--ink-200); border-radius: var(--r-pill); background: var(--white); }
.unit-toggle button { min-height: 34px; min-width: 52px; border: 0; border-radius: var(--r-pill); background: none; cursor: pointer; font-size: 14px; }
.unit-toggle button[aria-pressed="true"] { background: var(--ink-900); color: var(--white); }
.materials { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.materials .card { padding: 16px; }
.materials strong { display: block; font-size: 15px; }
.materials span { color: var(--ink-500); font-size: 13px; }
.methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.methods .card > .i { width: 24px; height: 24px; color: var(--gold-700); margin-bottom: 10px; }
.methods h3 { font-family: var(--font-body); font-size: 17px; margin-bottom: 6px; }
.methods p { color: var(--ink-500); font-size: 14px; margin: 0; }
.legal { max-width: 820px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: var(--ink-700); }
.legal ul { padding-inline-start: 20px; display: grid; gap: 6px; margin-bottom: 12px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 80; inset-inline: 16px; bottom: 16px; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: 520px; padding: 12px 16px; border-radius: var(--r-md); background: var(--ink-900); color: var(--white); box-shadow: var(--e3); font-size: 14px; animation: toast-in var(--t-base) var(--ease-in); }
.toast .i { width: 18px; height: 18px; color: var(--gold-400); }
.toast.toast-err .i { color: var(--error-bg); }
.toast button { background: none; border: 0; color: var(--gold-400); font-weight: 700; cursor: pointer; min-height: 32px; padding: 0 4px; text-decoration: underline; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .nav ul { gap: 4px 14px; }
  .nav a { font-size: 14px; }
  .search { flex-basis: 180px; }
}
@media (max-width: 1180px) {
  .search { display: none; }
  .search-btn { display: inline-grid; }
}
@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-in { gap: 8px; }
  .logo { margin-inline-end: auto; }
  .hero-grid, .split, .how-grid, .sector-hero-grid, .methods-grid { grid-template-columns: 1fr; gap: 40px; }
  .hx-grid { grid-template-columns: 1fr; gap: 32px; }
  .hx-media { order: -1; aspect-ratio: 16 / 10; }
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .col-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .col-hero-media { order: -1; }
  .editorial-grid { grid-template-columns: repeat(3, 1fr); }
  .tile-grid, .tile-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .how-steps { padding-top: 0; }
  .sector-index { grid-template-columns: repeat(3, 1fr); }
  .listing { grid-template-columns: 1fr; }
  .filters-panel { display: none; }
  .filters-btn { display: inline-flex; }
  .filters-panel.is-open { display: block; position: fixed; inset: 0; z-index: 70; max-height: none; top: 0; background: var(--white); padding: 16px 20px 96px; overflow-y: auto; }
  .filters-sheet-foot { position: fixed; inset-inline: 0; bottom: 0; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--ink-200); display: flex; gap: 10px; z-index: 71; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .svc { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .svc-preview { aspect-ratio: 16 / 10; }
  .page-head-media { grid-template-columns: 1fr; gap: 20px; }
  .page-head-media .head-photo { order: -1; aspect-ratio: 16 / 9; }
  .pq-grid { grid-template-columns: 1fr 1fr; }
  .pq-grid > :last-child { grid-column: 1 / -1; }
  .service-grid, .kits, .team, .corp-cards { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .materials { grid-template-columns: repeat(3, 1fr); }
  .methods { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .how4 { grid-template-columns: repeat(2, 1fr); }
  .work-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .hide-sm { display: none !important; }
  .display { line-height: 1.25; }
  .lead { font-size: 17px; }
  .topbar-in { justify-content: space-between; }
  .header-cta { display: none; }
  .logo img { height: 34px; }
  .hero { padding-block: 32px 40px; }
  .hero .btn-row .btn { width: 100%; }
  .hx { padding-block: 0 40px; }
  .hx .container.hx-grid { padding-inline: 0; gap: 24px; }
  .hx-copy { padding-inline: var(--gutter); }
  .hx-media { aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; }
  .hx-cap { inset-inline: 16px; bottom: 62px; gap: 0; }
  .hx-cap strong { font-size: 18px; }
  .hx-cap a { font-size: 13px; min-height: 28px; }
  .hx-controls { inset-inline: 12px; bottom: 12px; }
  .hx-cta .btn { width: 100%; }
  .hx-steps { gap: 10px 16px; font-size: 13px; }
  .trust { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .sec-head > .btn { order: 3; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section .sec-head + .sector-grid + * { }
  .col-grid { grid-template-columns: 1fr; gap: 14px; }
  .col-card-body strong { font-size: 20px; }
  .editorial-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .col-hero { padding-bottom: 32px; }
  .cat-grid { display: flex; overflow-x: auto; gap: 8px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; margin-bottom: 20px; }
  .cat-grid li { flex: none; }
  .cat-card { min-height: 0; flex-direction: row; align-items: center; padding: 0 16px; height: 44px; border-radius: var(--r-pill); gap: 8px; white-space: nowrap; }
  .cat-card .i { width: 18px; height: 18px; margin: 0; }
  .cat-card small { display: none; }
  .cat-card.has-photo { width: 150px; height: auto; flex-direction: column; align-items: stretch; padding: 0; border-radius: var(--r-md); white-space: normal; }
  .cat-card.has-photo .cat-body { padding: 10px 12px 12px; }
  .cat-card.has-photo strong { font-size: 14px; }
  .svc-photo { display: none; }
  .guide-banner { aspect-ratio: 16 / 9; }
  .cat-card strong { font-size: 14px; font-weight: 600; }
  .tile-grid, .tile-grid-4 { gap: 12px; }
  .tile-body { padding: 12px; }
  .tile-title { font-size: 14px; }
  .price-num { font-size: 15px; }
  .tile-badge { inset-inline-end: 6px; top: 6px; font-size: 11px; padding: 1px 6px; }
  .how-steps { grid-template-columns: 1fr; gap: 18px; }
  .how-steps li { grid-template-columns: 44px 1fr; align-items: start; gap: 12px; }
  .how-n { font-size: 28px; }
  .how-steps h3 { margin-top: 0; }
  .how-stage { height: 260px; }
  .how-visual { display: contents; }
  .how-grid { display: flex; flex-direction: column; gap: 20px; }
  .how-visual .sec-num { order: 1; margin-bottom: -12px; } .how-visual h2 { order: 2; } .how-stage { order: 3; margin: 0; }
  .how-steps { order: 4; } .how-visual > .btn { order: 5; width: 100%; }
  .split-media { order: 2; } .split-copy { order: 1; }
  .split-copy .btn { width: 100%; }
  .work-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .methods-cards { grid-template-columns: 1fr; }
  .band-in .btn-row, .band-in .btn-row .btn { width: 100%; }
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .sector-index { grid-template-columns: 1fr; }
  .sector-tile-media { aspect-ratio: 16 / 10; }
  .kits, .service-grid, .team, .corp-cards { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contact-grid, .form-grid, .spec-grid, .pq-grid, .pq-grid.pq-two { grid-template-columns: 1fr; }
  .pq-grid > :last-child { grid-column: auto; }
  .stats { gap: 20px 12px; }
  .stat strong { font-size: 34px; }
  .materials { grid-template-columns: 1fr 1fr; }
  .methods { grid-template-columns: 1fr; }
  .how4 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .card { padding: 18px; }
  .toolbar { gap: 8px; }
  .sort-select .select { min-width: 0; }
  .sort-select span { display: none; }
  .pagination { display: none; }
  .more-btn { display: flex; margin: 24px auto 0; }
  .buybox h1 { font-size: 28px; }
  .gallery-main { aspect-ratio: 1; border-radius: 0; margin-inline: calc(-1 * var(--gutter)); border-inline: 0; }
  .spec-grid.desktop-only { display: none; }
  .tabs-mobile { display: block; }
  .sticky-cta { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--ink-200); box-shadow: 0 -4px 12px rgba(18,18,20,0.06); }
  .sticky-cta .btn { flex: 1; max-width: 240px; }
  .sticky-cta .sc-info { font-size: 13px; color: var(--ink-500); line-height: 1.3; }
  .sticky-cta .sc-info strong { color: var(--ink-900); font-size: 16px; display: block; }
  body.has-sticky { padding-bottom: 76px; }
  .dims { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 389px) {
  .tile-cat { display: none; }
  .btn-row:not(.keep-row) { flex-direction: column; align-items: stretch; }
  .chips.scroll-sm { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-property: opacity, color, background-color, border-color, fill !important; scroll-behavior: auto !important; }
  .sector-card:hover img { transform: none; }
  .sk { animation: none; }
}

/* ---------- Radio chips (label.chip > input) ---------- */
label.chip { position: relative; }
label.chip:has(input:checked) { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
label.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.filters-close { margin-inline-start: auto; }
.mini-select { min-height: 36px; border: 1px solid var(--ink-200); border-radius: var(--r-sm); background: var(--white); padding-inline: 8px; font-size: 14px; max-width: 100%; }
.dot-label { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(18,18,20,0.2); display: inline-block; }
.ref { font-family: "Inter", sans-serif; font-weight: 700; unicode-bidi: isolate; }
.is-disabled, [aria-disabled="true"].btn { background: var(--ink-100) !important; color: var(--ink-400) !important; border-color: var(--ink-100) !important; cursor: not-allowed; }
.spin { animation: spin 1s linear infinite; }

/* ---------- Studio: shell + step 1 ---------- */
.studio-wrap { padding-top: 20px; }
.studio-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.studio-head h1 { margin: 0; font-size: 34px; }
html[lang="ar"] .studio-head h1 { font-size: 32px; }
.steps { list-style: none; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.step { display: flex; align-items: center; gap: 8px; color: var(--ink-500); }
.step + .step::before { content: ""; width: 32px; height: 1px; background: var(--ink-300); margin-inline-end: 4px; }
.step-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ink-300); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.step-dot .i { width: 14px; height: 14px; stroke-width: 2.5; }
.step-current { color: var(--ink-900); font-weight: 600; }
.step-current .step-dot { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.step-done { color: var(--success); font-weight: 600; }
.step-done .step-dot { background: var(--success); border-color: var(--success); color: var(--white); }
.studio-start .chips { margin-top: 8px; }
.garment-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 10px; }
.garment-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 12px 16px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white); cursor: pointer; text-align: center; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.garment-card:hover { border-color: var(--ink-400); }
.garment-card[aria-checked="true"] { border: 2px solid var(--gold-600); box-shadow: var(--gold-glow); padding: 13px 11px 15px; }
.gc-media { width: 100%; aspect-ratio: 2 / 3; display: block; }
.gc-media .gph, .gc-media img { width: 100%; height: 100%; object-fit: contain; }
.garment-card strong { font-size: 16px; margin-top: 6px; }
.garment-card small { color: var(--ink-500); font-size: 12px; }
.studio-start-cta { margin-top: 28px; }
.resume { margin-bottom: 20px; }
.resume p { margin-bottom: 8px; }
.studio-loading { display: grid; gap: 12px; }

/* ---------- Studio: editor ---------- */
.editor { position: relative; }
.mbar, .mcta { display: none; }
.ed-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.ed-side { display: grid; gap: 16px; }
.sp.card { padding: 18px; }
.sp h2 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.sp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gpick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gcard { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 8px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white); cursor: pointer; font-size: 13px; min-height: 44px; }
.gcard[aria-checked="true"] { border: 2px solid var(--gold-600); box-shadow: var(--gold-glow); padding: 5px 3px 7px; font-weight: 600; }
.gcard-media { width: 100%; aspect-ratio: 2 / 3; display: block; position: relative; overflow: hidden; }
.gcard-media img, .gcard-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.gcard-media canvas { opacity: 0; transition: opacity var(--t-preview) var(--ease); }
.gcard-media canvas.is-ready { opacity: 1; }
.chip-np small { display: block; font-size: 10px; font-weight: 500; color: var(--ink-500); line-height: 1; margin-top: 2px; }
.chip-np[aria-pressed="true"] small { color: var(--ink-300); }
.linked-product .caption { margin: 10px 0 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.swatch { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.swatch-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(18,18,20,0.18); }
.swatch[aria-checked="true"] .swatch-dot { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold-600); }
.swatch-check { position: absolute; width: 14px; height: 14px; color: var(--white); stroke-width: 3; filter: drop-shadow(0 0 1px rgba(0,0,0,0.6)); }
.swatch[aria-disabled="true"] { opacity: 0.35; cursor: not-allowed; }
.stage { position: relative; background: var(--bone-100); border: 1px solid var(--ink-200); border-radius: var(--r-md) var(--r-md) 0 0; height: min(68vh, 620px); min-height: 420px; overflow: hidden; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; }
.stage.is-over { outline: 2px dashed var(--gold-600); outline-offset: -8px; background: var(--gold-100); }
.stage-badge { position: absolute; inset-inline-end: 12px; top: 12px; z-index: 2; pointer-events: none; }
.stage-scroll { position: absolute; inset: 0; overflow: hidden; }
.stage.is-zoomed .stage-scroll { overflow: auto; }
.stage-inner { width: 100%; height: 100%; padding: 20px 20px 16px; margin-inline: auto; }
.stage.is-zoomed .stage-inner { height: auto; aspect-ratio: 1024 / 1536; }
.stage-frame { position: relative; width: 100%; height: 100%; }
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity var(--t-preview) var(--ease); }
.stage.is-painting .stage-photo { opacity: 0.55; }
.stage.is-failed .stage-photo { opacity: 0.2; }
.stage-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.stage-drop { position: absolute; inset: 12px; border: 2px dashed var(--gold-600); border-radius: var(--r-md); display: grid; place-items: center; pointer-events: none; z-index: 3; }
.stage-svg .fab { transition: fill var(--t-preview) var(--ease); }
.stage-svg .fab-s { transition: stroke var(--t-preview) var(--ease); }
.stage-svg .area { fill: rgba(212,165,32,0.06); stroke: var(--gold-700); stroke-width: 1; stroke-dasharray: 5 3; pointer-events: none; }
.stage-svg .area.is-active { stroke: var(--gold-500); stroke-width: 1.5; fill: rgba(212,165,32,0.1); }
.stage-svg .area.is-err { stroke: var(--error); fill: rgba(198,40,40,0.08); }
.stage-svg .area { stroke-width: 2; stroke-dasharray: 10 6; }
.stage-svg .area.is-active { stroke-width: 3; }
.stage-svg .area-np { stroke: var(--ink-400); fill: rgba(18,18,20,0.04); stroke-dasharray: 4 6; }
.stage-svg .area-np.is-active { stroke: var(--ink-700); }
.stage-svg .logo-np { cursor: default; }
.stage-svg .np-box { fill: rgba(255,255,255,0.55); stroke: var(--ink-700); stroke-width: 1.5; stroke-dasharray: 4 3; }
.stage-svg .np-text { fill: var(--ink-700); font-family: var(--font-body); font-weight: 600; }
.stage-svg .sel-box { stroke-width: 2; }
.stage-svg .logo { cursor: move; outline: none; }
.stage-svg .logo-hit { fill: transparent; pointer-events: all; }
.stage-svg .sel-box { fill: none; stroke: var(--info); stroke-width: 1.5; pointer-events: none; }
.stage-svg .sel-stem { stroke: var(--info); stroke-width: 1.2; pointer-events: none; }
.stage-svg .h-vis, .stage-svg .h-rot-vis { fill: var(--white); stroke: var(--info); stroke-width: 1.5; pointer-events: none; }
.stage-svg .h-hit { fill: transparent; cursor: nwse-resize; pointer-events: all; }
.stage-svg .h-hit[data-handle="rotate"] { cursor: grab; }
.stage-svg.is-tiny .h-hit { pointer-events: none; }
.stage-svg.is-out .sel-box, .stage-svg.is-out .sel-stem { stroke: var(--error); }
.stage-svg.is-out .h-vis, .stage-svg.is-out .h-rot-vis { stroke: var(--error); }
.stage-svg .guide { stroke: var(--info); stroke-width: 0.8; stroke-dasharray: 3 2; pointer-events: none; }
.stage:has(.logo:focus-visible) { box-shadow: inset 0 0 0 2px var(--focus); }
.stage-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px; background: var(--white); border: 1px solid var(--ink-200); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); }
.tool-group { display: flex; gap: 6px; align-items: center; }
.tool-group .icon-btn { width: 40px; height: 40px; }
.zoom-label { min-width: 64px; font-variant-numeric: tabular-nums; }
.view-chips { flex-wrap: nowrap; }
.areas-toggle { font-size: 13px; min-height: 40px; }
.stage-note { margin: 0; margin-inline-start: auto; display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-500); max-width: 220px; line-height: 1.4; }
.stage-note .i { width: 16px; height: 16px; }
.ed-tabs { display: none; }
.logo-drop { padding: 20px 14px; }
.logo-drop .btn { margin-block: 4px; }
.logo-card { padding: 10px; }
.logo-thumb { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--bone-100); border: 1px solid var(--ink-200); display: grid; place-items: center; overflow: hidden; flex: none; }
.logo-thumb img { max-width: 90%; max-height: 90%; object-fit: contain; }
.logo-card .icon-btn { width: 36px; height: 36px; }
.logo-processing .progress { display: block; height: 4px; background: var(--ink-100); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.logo-processing .progress span { display: block; height: 100%; width: 40%; background: var(--gold-500); animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
html[dir="rtl"] .logo-processing .progress span { animation-name: indet-rtl; }
@keyframes indet-rtl { from { transform: translateX(100%); } to { transform: translateX(-260%); } }
.placement { display: grid; gap: 14px; margin-top: 14px; }
.ctl-label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.ctl-row { display: flex; justify-content: space-between; align-items: baseline; }
.ctl .chips .chip { min-height: 34px; font-size: 13px; padding: 0 10px; }
.range { width: 100%; accent-color: var(--gold-600); height: 28px; }
.ctl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ctl-grid .field { gap: 2px; }
.ctl-grid .ctl-label { font-weight: 500; color: var(--ink-500); font-size: 12px; margin: 0; }
.num-input { min-height: 40px; padding: 6px 8px; font-variant-numeric: tabular-nums; direction: ltr; }
.tool-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tool-row .icon-btn { width: 40px; height: 40px; }
.tool-row .icon-btn[aria-pressed="true"] { background: var(--gold-100); border-color: var(--gold-600); }
.hint-keys, .hint-touch { display: inline-flex; gap: 4px; align-items: center; }
.hint-keys .i, .hint-touch .i { width: 14px; height: 14px; }
.hint-touch { display: none; }
@media (pointer: coarse) { .hint-touch { display: inline-flex; } .hint-keys { display: none; } }
.warns { display: grid; gap: 8px; margin-top: 12px; }
.warns .notice { font-size: 13px; padding: 10px 12px; }
.attachments { display: grid; gap: 8px; margin-top: 12px; }
.sum-price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 14px; font-size: 14px; }
.sum-links { display: flex; justify-content: center; gap: 20px; margin-top: 8px; }
.sum-links .btn-link { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--ink-700); font-size: 14px; }
.sum-links .btn-link .i { width: 16px; height: 16px; }
.dark .sum-links .btn-link { color: var(--ink-300); }

/* ---------- Studio: sizes ---------- */
.sz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.sz-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.sz-preview-card { padding: 12px; background: var(--bone-100); }
.sz-preview { display: grid; place-items: center; min-height: 240px; }
.sz-preview canvas { width: 100%; max-width: 300px; height: auto; }
.sizes-table td, .sizes-table th { padding: 8px 10px; }
.sizes-table .qty-input { width: 96px; }
.sum-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--ink-100); font-size: 14px; }
.sz-side .btn-primary { margin-top: 14px; }

/* ---------- Studio: review ---------- */
.rv-grid { display: grid; grid-template-columns: 1.05fr 1fr 0.8fr; gap: 20px; align-items: start; }
.rv-col { display: grid; gap: 16px; min-width: 0; }
.rv-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rv-previews figure { margin: 0; background: var(--bone-100); border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 8px; text-align: center; }
.rv-prev { aspect-ratio: 5 / 6; display: grid; place-items: center; }
.rv-prev canvas { width: 100%; height: auto; }
.rv-previews figcaption { font-size: 13px; color: var(--ink-500); }
.rv-next { border-radius: var(--r-md); padding: 22px; display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.rv-next h2 { font-family: var(--font-body); font-size: 18px; margin: 0; }
.rv-next p { color: var(--ink-300); margin: 0; font-size: 14px; }
.rv-next .caption { color: var(--ink-300); }
.rv-next .btn-light { color: var(--ink-900); }

/* ---------- Partner handoff ---------- */
.studio-partner .studio-head { max-width: 980px; margin-inline: auto; }
.partner-card { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding: 32px; }
.pc-design { background: var(--bone-100); border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 16px; display: grid; gap: 4px; align-content: start; text-align: center; }
.pc-media { aspect-ratio: 5 / 6; display: grid; place-items: center; }
.pc-media canvas, .pc-media svg { width: 100%; height: auto; max-height: 100%; }
.pc-design small { color: var(--ink-500); }
.pc-body { display: grid; gap: 12px; align-content: start; }
.pc-body h2 { margin: 0; font-size: 30px; }
.pc-body > .badge { justify-self: start; }
.carry { display: grid; gap: 10px; }
.carry li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.carry .i { width: 18px; height: 18px; color: var(--ink-700); }

@media (max-width: 1279px) {
  .ed-grid { grid-template-columns: 260px minmax(0, 1fr) 280px; }
  .rv-grid { grid-template-columns: 1fr 1fr; }
  .rv-grid > :last-child { grid-column: 1 / -1; }
  .rv-next { position: static; }
}
@media (max-width: 1023px) {
  .garment-grid { grid-template-columns: repeat(3, 1fr); }
  /* minmax(0, 1fr): a wide panel (logo controls) must shrink, never widen the column and the page (Android Chrome blew the layout viewport to 2x). */
  .is-tabbed .ed-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .is-tabbed .ed-grid > *, .is-tabbed .ed-center > * { min-width: 0; }
  .is-tabbed .ed-side { display: contents; }
  .is-tabbed .ed-center { order: 0; }
  .is-tabbed .sp { order: 2; margin-top: 12px; }
  .is-tabbed .sp:not(.is-active) { display: none; }
  .is-tabbed .stage { height: 52vh; min-height: 360px; }
  .is-tabbed .ed-tabs { display: flex; margin-top: 12px; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md); overflow-x: auto; }
  .is-tabbed .ed-tabs .tab { min-height: 48px; }
  .sz-grid { grid-template-columns: 1fr; }
  .sz-side { position: static; grid-template-columns: 200px 1fr; }
  .partner-card { grid-template-columns: 1fr; }
  .pc-design { max-width: 320px; }
}
@media (max-width: 767px) {
  .studio-head { margin-bottom: 12px; }
  .studio-head h1, html[lang="ar"] .studio-head h1 { font-size: 26px; }
  .steps { display: none; }
  .garment-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .studio-start-cta .btn { width: 100%; }
  .is-tabbed .mbar { display: flex; align-items: center; gap: 8px; margin: -4px 0 8px; }
  .mbar-title { flex: 1; font-size: 16px; }
  /* Preview stays visible while the bottom sheet scrolls with the page. */
  .is-tabbed .ed-center { display: contents; }
  .is-tabbed .stage { position: sticky; top: var(--header-h); z-index: 5; align-self: start; height: 46vh; min-height: 300px; }
  .is-tabbed .stage-tools, .is-tabbed .ed-tabs { order: 1; }
  .is-tabbed .stage-tools { gap: 6px 8px; padding: 8px; }
  .is-tabbed .stage-note { max-width: none; margin-inline-start: 0; width: 100%; }
  .is-tabbed .areas-toggle { display: none; }
  .is-tabbed .ed-tabs { position: relative; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: 14px; border-bottom: 0; box-shadow: 0 -6px 18px rgba(18,18,20,0.08); }
  .is-tabbed .ed-tabs::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--ink-200); }
  .is-tabbed .ed-tabs .tab { padding-top: 10px; }
  .is-tabbed .sp { margin-top: 0; border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); }
  .mcta { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--ink-200); box-shadow: 0 -4px 12px rgba(18,18,20,0.06); }
  .mcta .btn { flex: 1; max-width: 230px; }
  .page-studio main { padding-bottom: 84px; }
  .sz-side { grid-template-columns: 1fr; }
  .sz-side .btn { display: none; }
  .sz-preview { min-height: 180px; }
  .sz-preview canvas { max-width: 200px; }
  .rv-grid { grid-template-columns: 1fr; }
  .rv-grid > :last-child { grid-column: auto; }
  .partner-card { padding: 18px; gap: 18px; }
  .pc-body h2 { font-size: 24px; }
  .pc-design { max-width: none; grid-template-columns: 96px 1fr; text-align: start; align-items: center; }
  .pc-media { grid-row: span 2; }
}

/* ---------- Studio guided flow: one tap per step ---------- */
.garment-grid { list-style: none; padding: 0; }
.garment-grid > li { display: flex; }
.garment-card { width: 100%; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.garment-card:hover, .garment-card:focus-visible { border-color: var(--gold-600); box-shadow: var(--gold-glow); transform: translateY(-2px); }
.garment-card.is-current { border-color: var(--gold-400); }
.garment-card.is-chosen { border: 2px solid var(--gold-600); box-shadow: var(--gold-glow); padding: 13px 11px 15px; }
.gc-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--gold-100); color: var(--gold-700); font-size: 13px; font-weight: 700; }
.gc-go .i { width: 14px; height: 14px; }
.garment-card:hover .gc-go, .garment-card:focus-visible .gc-go, .garment-card.is-chosen .gc-go { background: var(--gold-500); color: var(--ink-900); }
[data-studio-start][aria-busy="true"] .garment-card:not(.is-chosen) { opacity: 0.55; }
.step-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.step-link:hover .step-name { text-decoration: underline; }

.sp.is-guide { border-color: var(--gold-600); box-shadow: var(--gold-glow); }
.guide-tag { display: inline-flex; margin-bottom: 8px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--gold-100); color: var(--gold-700); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
html[lang="ar"] .guide-tag { font-size: 12px; letter-spacing: 0; }
.ed-tabs .tab.is-guide::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-start: 6px; border-radius: 50%; background: var(--gold-500); vertical-align: middle; }
.btn.is-ready { animation: zr-ready 1.4s ease-out 3; }
@keyframes zr-ready { 0% { box-shadow: 0 0 0 0 rgba(212,165,32,0.6); } 100% { box-shadow: 0 0 0 14px rgba(212,165,32,0); } }
.logo-skip { display: block; margin: 10px auto 0; font-size: 14px; text-align: center; }
.mcta-text { display: grid; gap: 1px; min-width: 0; }
.mcta-text strong { font-size: 14px; line-height: 1.3; }

.sz-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.qty-step { display: inline-flex; align-items: center; gap: 6px; }
.qty-step .qty-input, .sizes-table .qty-step .qty-input { width: 72px; -moz-appearance: textfield; appearance: textfield; }
.qty-step .qty-input::-webkit-inner-spin-button, .qty-step .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rv-submit { margin-top: 16px; }

/* Editor: the next step is always one click away, on every screen size. */
@media (min-width: 768px) {
  .is-editor .mcta { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px max(var(--gutter), calc((100vw - var(--container)) / 2)) 12px; background: var(--white); border-top: 1px solid var(--ink-200); box-shadow: 0 -4px 12px rgba(18,18,20,0.06); }
  .is-editor .mcta .btn { min-width: 220px; }
  .is-editor .mcta-text { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; }
  .studio-wrap.is-editor { padding-bottom: 88px; }
}
@media (max-width: 767px) {
  /* Phones: the page title repeats the bar above the garment, so it is kept for screen readers only. */
  .studio-wrap.is-editor .studio-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; }
  .is-tabbed .stage { height: 42vh; min-height: 280px; }
  .is-tabbed .stage-tools .tool-group:first-child, .is-tabbed .zoom-label, .is-tabbed .view-chips .chip[disabled], .is-tabbed .stage-note { display: none; }
  .is-tabbed .stage-tools { padding: 6px 8px; }
  .is-tabbed .ed-tabs { margin-top: 8px; }
  .is-tabbed .ed-tabs .tab { flex: 1 1 auto; padding-inline: 8px; font-size: 15px; }
  /* On phones the gold dot on the tab and the bottom bar mark the next step. */
  .is-tabbed .sp.is-guide { border-color: var(--ink-200); box-shadow: none; }
  .is-tabbed .guide-tag { display: none; }
  .is-tabbed .sp { padding-top: 14px; }
  .studio-start .chip { white-space: nowrap; }
  .mcta-text strong { font-size: 13px; }
  .gc-go { font-size: 12px; padding: 3px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.is-ready { animation: none; box-shadow: var(--gold-glow); }
  .garment-card:hover, .garment-card:focus-visible { transform: none; }
}

/* ---------- 13 Oct 2026 multi-category upgrade ---------- */
/* Products menu (desktop) */
.nav-mega { position: static; }
.nav-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink-900); font: inherit; font-size: 15px; white-space: nowrap; cursor: pointer; position: relative; }
.nav-btn:hover, .nav-btn[aria-expanded="true"] { color: var(--gold-700); }
.nav-btn.active { color: var(--gold-700); font-weight: 600; }
.nav-btn.active::after { content: ""; position: absolute; inset-inline: 0; bottom: 6px; height: 2px; background: var(--gold-500); }
.nav-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.nav-caret { width: 16px; height: 16px; transition: transform var(--t-fast); }
.nav-btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.mega { position: absolute; inset-inline: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--ink-200); box-shadow: var(--e2); z-index: 45; }
.mega-in { max-width: var(--container); margin-inline: auto; padding: 24px var(--gutter) 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.mega-h { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500); }
html[lang="ar"] .mega-h { letter-spacing: 0; text-transform: none; font-size: 13px; }
.nav .mega ul { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; }
.nav .mega-groups ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.nav .mega a { min-height: 40px; font-size: 15px; }
.nav .mega a[aria-current="page"] { color: var(--gold-700); font-weight: 600; }
.nav .mega-more { color: var(--gold-700); font-weight: 600; gap: 4px; }
.mega-more .i { width: 14px; height: 14px; }

/* Drawer: product groups */
.drawer-group details { border-block: 1px solid var(--ink-100); }
.drawer-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding-inline: 20px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-caret { width: 18px; height: 18px; transition: transform var(--t-fast); }
.drawer-group details[open] .drawer-caret { transform: rotate(180deg); }
.drawer-group ul { list-style: none; padding: 0 0 8px; }
.drawer-group ul a { min-height: 44px; padding-inline: 32px 20px; font-size: 15px; color: var(--ink-700); }

/* Hero: links row (WhatsApp + customiser) */
.hx-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 14px 0 0; }
.hx-links .hx-wa { margin: 0; }
.hx-studio .i { color: var(--gold-400); }
.hx-steps { margin-top: 18px; }
.hx-copy .trust { margin-top: 18px; }

/* Main product groups */
#range:focus { outline: none; }
.grp-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grp-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--ink-200); border-radius: var(--r-md); overflow: hidden; background: var(--white); color: var(--ink-900); text-decoration: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.grp-card:hover { border-color: var(--gold-500); box-shadow: var(--e1); color: var(--ink-900); }
.grp-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.grp-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone-100); }
.grp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.grp-photo img.grp-contain { object-fit: contain; background: var(--white); padding: 8px; }
.grp-card:hover .grp-photo img { transform: scale(1.04); }
.grp-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.grp-body strong { font-size: 16px; line-height: 1.35; }
.grp-body small { color: var(--ink-500); font-size: 13px; }

/* Gifts showcase */
.gifts-split { margin-bottom: 36px; }
.gifts-split .chips { margin-block: 20px 24px; }
.gifts-split .split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Client rail: one accessible list + inert clone; transform-only loop, measured in JS */
.clients-sec { border-top: 1px solid var(--ink-200); }
.clients-head { text-align: center; margin-bottom: 24px; }
.clients-head h2 { margin-bottom: 6px; }
.clients-head .sec-lead { margin-inline: auto; }
.cl-rail { position: relative; display: flex; align-items: center; gap: 12px; }
.cl-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.cl-track { display: flex; width: max-content; will-change: transform; }
.cl-group { list-style: none; display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; padding-inline-end: 20px; }
.cl-item { flex: none; display: grid; place-items: center; width: 180px; height: 88px; padding: 10px 14px; background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--r-md); }
.cl-item img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.cl-toggle { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink-200); background: var(--white); color: var(--ink-900); cursor: pointer; }
.cl-toggle:hover { border-color: var(--gold-500); }
.cl-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cl-toggle .hx-ico-pause, .cl-toggle .hx-ico-play { display: block; }
.cl-toggle[aria-pressed="false"] .hx-ico-play, .cl-toggle[aria-pressed="true"] .hx-ico-pause { display: none; }
.cl-rail.is-static .cl-viewport { -webkit-mask-image: none; mask-image: none; }
.cl-rail.is-static .cl-track { width: auto; transform: none !important; }
.cl-rail.is-static .cl-group { flex-wrap: wrap; justify-content: center; padding: 0; }
.cl-rail.is-static [data-cl-clone] { display: none; }

/* Floating WhatsApp (one per page, layout.php) */
.wa-float { position: fixed; z-index: 35; inset-inline-end: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white); box-shadow: 0 6px 18px rgba(18,18,20,0.22); text-decoration: none; transition: transform var(--t-fast), box-shadow var(--t-fast); }
.wa-float:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(18,18,20,0.26); }
.wa-float:focus-visible { outline: 3px solid var(--ink-900); outline-offset: 3px; }
.wa-float-tip { position: absolute; inset-inline-end: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: var(--r-sm); background: var(--ink-900); color: var(--white); font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--t-fast); }
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip { opacity: 1; }
.footer { padding-bottom: 72px; }
@media print { .wa-float { display: none; } }

/* Header: full search only where it fits beside the six-entry bar */
@media (max-width: 1279px) {
  .search { display: none; }
  .search-btn { display: inline-grid; }
  .nav ul { gap: 4px 18px; }
}
@media (max-width: 1023px) {
  .hx-media { order: 0; }
  .grp-grid { grid-template-columns: repeat(3, 1fr); }
  .mega { display: none !important; }
}
@media (max-width: 767px) {
  .hx-copy { padding-top: 28px; }
  .hx-copy .lead { margin-top: 12px; }
  .hx-cta { margin-top: 20px; gap: 10px; }
  .hx-links { gap: 0 16px; margin-top: 8px; }
  .grp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grp-body { padding: 10px 12px 12px; }
  .grp-body strong { font-size: 14px; }
  .grp-body small { font-size: 12px; }
  .cl-item { width: 140px; height: 72px; padding: 8px 10px; }
  .cl-item img { max-height: 52px; }
  .cl-group { gap: 12px; padding-inline-end: 12px; }
  .wa-float { width: 52px; height: 52px; inset-inline-end: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
  .wa-float-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float:hover { transition: none; transform: none; }
}
/* Product sets: included pieces on the set page */
.set-box { margin-top: 18px; padding: 14px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--bone-50); }
.set-box .bb-label { margin-bottom: 8px; }
.set-parts { list-style: none; display: grid; gap: 8px; margin: 0 0 8px; padding: 0; }
.set-parts a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 6px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--ink-100); color: var(--ink-900); text-decoration: none; }
.set-parts a:hover { border-color: var(--gold-500); }
.set-parts .pv.set-thumb { position: relative; inset: auto; flex: none; width: 64px; height: 64px; padding: 4px; border-radius: var(--r-sm); overflow: hidden; }
.set-parts .pv.set-thumb img { width: 100%; height: 100%; object-fit: contain; }
.set-parts span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.set-parts strong { font-size: 15px; }
.set-parts small { color: var(--ink-500); font-size: 12px; }
.set-parts .price { font-size: 13px; }

/* Floating WhatsApp on every page: --wa-lift = height of a fixed bottom bar (app.js) */
.wa-float { bottom: max(calc(20px + env(safe-area-inset-bottom)), calc(var(--wa-lift, 0px) + 12px)); }
@media (max-width: 767px) { .wa-float { bottom: max(calc(16px + env(safe-area-inset-bottom)), calc(var(--wa-lift, 0px) + 12px)); } }
/* Keep the hero slider controls clear of the floating button */
.hx-controls { padding-inline-end: 64px; }
@media (max-width: 767px) { .hx-controls { padding-inline-end: 60px; } }

/* Set colour picker (studio swatches) */
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-opt { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.swatch-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch-dot { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(18,18,20,0.2); box-shadow: inset 0 0 0 2px var(--white); }
.swatch-opt:has(input:checked) { box-shadow: 0 0 0 2px var(--gold-500); }
.swatch-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.set-colours .bb-label strong { font-weight: 600; }

/* Front-only garments (suit): one centred review preview */
.rv-previews.rv-one { grid-template-columns: minmax(0, 62%); justify-content: center; }
/* Studio on phones: smaller floating WhatsApp, closer to the edge, so it covers less of the editor panels */
@media (max-width: 767px) { .page-studio .wa-float { width: 48px; height: 48px; inset-inline-end: max(8px, env(safe-area-inset-right)); } .page-studio .wa-float svg { width: 24px; height: 24px; } }
