/* Luniroo Sports — pilates reformer catalogue.
   Calm studio look: ivory paper, ink type, sand accents; Cairo for Arabic, Jost (the logo's font) for Latin labels and numerals.
   The brand mark (a rail with a moon resting on it) returns as hairline rules with a sand dot. */
:root {
  --ink: #17232B;
  --ink-2: #24343e;
  --muted: #5d676e;
  --bg: #F6F1EA;
  --paper: #FBF8F3;
  --white: #ffffff;
  --line: #E4DACD;
  --line-2: #d6c9b8;
  --sand: #B8936A;
  --sand-dk: #8a6743;
  --sand-lt: #EADCC8;
  --sand-xl: #F1E7DA;
  --ivory: #F4EEE6;
  --sand-on-ink: #CFB08A;
  --wa: #25D366;

  --font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --latin: "Jost", "Cairo", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 50px -28px rgba(23, 35, 43, .28);
  --shadow-sm: 0 10px 24px -16px rgba(23, 35, 43, .3);
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.85 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sand-dk); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
[lang="en"] { font-family: var(--latin); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 700; }
.title-xl { font-size: clamp(36px, 5.6vw, 66px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.title-xl span { display: block; font-weight: 400; color: var(--sand-dk); font-size: .74em; margin-top: .12em; }
bdi { font-family: var(--latin); }
.title-lg { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.005em; }
.title-md { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(16px, 1.45vw, 18px); color: var(--muted); margin: 16px 0 0; max-width: 60ch; }
.lead a, .compare__note a { color: var(--ink); text-decoration-color: var(--sand); text-underline-offset: 5px; }

/* Eyebrow: a short rail with the moon resting on it, then the label. */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--sand-dk); margin-bottom: 14px; letter-spacing: .02em; }
.eyebrow[lang="en"], .eyebrow [lang="en"] { letter-spacing: .14em; text-transform: uppercase; font-weight: 400; font-size: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 9px; flex: none;
  background: radial-gradient(circle at 70% 0, var(--sand) 4px, transparent 4.5px) 0 0 / 100% 100% no-repeat, linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1.5px no-repeat; }
.eyebrow--light { color: var(--sand-on-ink); }
.eyebrow--light::before { background: radial-gradient(circle at 70% 0, var(--sand-on-ink) 4px, transparent 4.5px) 0 0 / 100% 100% no-repeat, linear-gradient(var(--ivory), var(--ivory)) 0 100% / 100% 1.5px no-repeat; }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section__head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.section__head .lead { margin-top: 12px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.textlink { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid var(--sand); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.textlink:hover { color: var(--sand-dk); border-color: var(--ink); }

/* ---------- buttons (pill: the moon's curve) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--ink); color: var(--ivory); }
.btn--primary:hover { background: var(--ink-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--wa { background: var(--ink); color: var(--ivory); }
.btn--wa:hover { background: var(--ink-2); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { flex: 1; }
.wa-ico { width: 18px; height: 18px; fill: var(--wa); flex: none; }
.btn--light .wa-ico { fill: #1a9e4b; }

/* ---------- header ---------- */
.notice { background: var(--ink); color: var(--ivory); font-size: 13px; text-align: center; padding: 7px var(--gutter); letter-spacing: .01em; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(246, 241, 234, .9); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); }
.hdr__in { display: flex; align-items: center; gap: 32px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo__img { width: 172px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: 0; background: none; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink);
  transition: background .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--sand-xl); }
.nav__link.is-current { box-shadow: inset 0 -1.5px 0 var(--sand); border-radius: 0; }
.nav__link .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.hdr__end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; place-items: center; }

.mega { position: absolute; inset-inline: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-block: 20px 26px; }
.mega__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-sm); text-decoration: none; transition: background .2s; }
.mega__item:hover { background: var(--sand-xl); }
.mega__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--sand-xl); display: grid; place-items: center; flex: none; }
.mega__item b { display: block; font-size: 15px; }
.mega__item small { display: block; font-size: 12px; color: var(--muted); }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__bg { position: absolute; inset: 0; background: rgba(23, 35, 43, .5); }
.drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 350px); background: var(--paper); padding: 18px 20px; overflow-y: auto; box-shadow: var(--shadow); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__close { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 22px; line-height: 1; }
.drawer h3 { font-size: 12px; color: var(--sand-dk); font-weight: 600; margin: 20px 0 4px; letter-spacing: .04em; }
.drawer a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.drawer a:hover { background: var(--sand-xl); }
.drawer a .icon { width: 22px; height: 22px; color: var(--sand-dk); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.hero__text .lead { font-size: clamp(16px, 1.6vw, 19px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__art { position: relative; margin: 0; }
.reformer { width: 100%; height: auto; overflow: visible; }
.reformer__moon { fill: var(--sand-lt); }
.reformer__floor { stroke: var(--line-2); stroke-width: 1.5; fill: none; }
.reformer__line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reformer__pad { fill: var(--paper); stroke: var(--ink); stroke-width: 2.4; }
.reformer__spring { fill: none; stroke: var(--sand); stroke-width: 2.4; stroke-linecap: round; }
.reformer__rope { fill: none; stroke: var(--sand-dk); stroke-width: 1.5; stroke-linecap: round; }
.reformer__notes path { fill: none; stroke: var(--sand-dk); stroke-width: 1; stroke-dasharray: 3 4; }
.reformer__notes circle { fill: var(--sand-dk); }
.reformer__notes text { fill: var(--muted); font: 600 19px var(--font); direction: rtl; text-anchor: end; }

.facts { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.facts li { padding-inline: 0 24px; display: grid; }
.facts li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.facts b { font-size: 15px; }
.facts span { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- type cards (home) ---------- */
.types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.type:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.type__art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; margin: 10px 10px 0; border-radius: calc(var(--radius) - 6px); background: var(--sand-xl); overflow: hidden; }
/* the moon resting on the floor line, as in the logo */
.type__art::before { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--sand-lt); bottom: 16%; inset-inline-end: 16%; transition: transform .6s var(--ease); }
.type__art::after { content: ""; position: absolute; inset-inline: 10%; bottom: 16%; height: 1.5px; background: var(--ink); opacity: .14; }
.type:hover .type__art::before { transform: translateY(-6px); }
.type__ico { width: 50%; height: auto; max-height: 74%; stroke-width: .8; color: var(--ink); position: relative; z-index: 1; margin-top: 4%; transition: transform .5s var(--ease); }
.type:hover .type__ico { transform: translateY(-4px); }
.type__no { position: absolute; top: 12px; inset-inline-end: 16px; font-size: 13px; letter-spacing: .12em; color: var(--sand-dk); }
.type__art--photo { background: var(--ivory); }
.type__art--photo::before, .type__art--photo::after { display: none; }
.type__art--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.type:hover .type__art--photo img { transform: scale(1.04); }
.type__art--photo .type__no { z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: var(--ink); }
.type__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 20px; flex: 1; }
.type h3 { font-size: 20px; font-weight: 800; }
.type p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; flex: 1; }
.type__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.type__meta b { color: var(--ink); font-weight: 800; }
.type__go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: background .25s, color .25s; }
.type:hover .type__go { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.badge { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--sand-xl); color: var(--sand-dk); }

/* ---------- comparison ---------- */
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cmp { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.cmp__head { display: flex; align-items: center; gap: 12px; }
.cmp__head h3 { font-size: 18px; font-weight: 800; line-height: 1.35; }
.cmp__head small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.cmp__ico { width: 52px; height: 52px; border-radius: 50%; background: var(--sand-lt); display: grid; place-items: center; flex: none; }
.cmp__ico .icon { width: 28px; height: 28px; stroke-width: 1.3; }
.cmp__rows { margin: 0; display: grid; gap: 14px; align-content: start; }
.cmp__rows > div { padding-top: 12px; border-top: 1px solid var(--line); }
.cmp__rows dt { font-size: 12px; font-weight: 700; color: var(--sand-dk); letter-spacing: .03em; }
.cmp__rows dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.7; }
.cmp__from { display: block; font-weight: 700; margin-top: 2px; }
.cmp__links { display: flex; gap: 18px; }
/* budget meter: four moons, filled up to --n */
.meter { display: inline-block; width: 64px; height: 10px; margin-inline-end: 10px; vertical-align: middle;
  background: radial-gradient(circle, var(--ink) 4px, transparent 4.5px) 0 50% / 16px 10px repeat-x;
  -webkit-mask: linear-gradient(to left, #000 calc(var(--n) * 16px), rgba(0,0,0,.18) 0); mask: linear-gradient(to left, #000 calc(var(--n) * 16px), rgba(0,0,0,.18) 0); }
.compare__note { margin: 28px 0 0; color: var(--muted); }

/* ---------- about + specification guide (home) ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.parts { margin: 0; border-top: 1px solid var(--line-2); }
.parts > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.parts dt { font-weight: 800; }
.parts dd { margin: 0; color: var(--muted); font-size: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.spec-table th, .spec-table td { text-align: start; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-size: 13px; color: var(--sand-dk); font-weight: 700; background: var(--sand-xl); }
.spec-table tbody th { font-weight: 800; white-space: nowrap; }
.spec-table td { color: var(--ink-2); }
.spec-table tr:last-child > * { border-bottom: 0; }

/* ---------- product cards ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard { height: 100%; }
.pcard__btn {
  display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: start;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden;
  transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease);
}
.pcard__btn:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__img { position: relative; aspect-ratio: 1; background: var(--white); margin: 8px 8px 0; border-radius: calc(var(--radius) - 6px); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.pcard__btn:hover .pcard__img img { transform: scale(1.03); }
.pcard__img .badge { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(251, 248, 243, .94); color: var(--ink); }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pcard__tier { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--sand-dk); font-weight: 700; }
.pcard__tier span { color: var(--muted); font-weight: 400; letter-spacing: .06em; }
.pcard__name { font-size: 15px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__specs { font-size: 13px; color: var(--muted); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.pcard__price { font-size: 13px; color: var(--muted); }
.pcard__price b { font-size: 20px; color: var(--ink); font-weight: 800; }
.dots { display: flex; align-items: center; gap: 3px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.dots span { font-size: 12px; color: var(--muted); margin-inline-start: 3px; }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.steps li { counter-increment: s; position: relative; padding-top: 72px; }
.steps li::before { content: "0" counter(s); position: absolute; top: 0; inset-inline-start: 0; font-family: var(--latin); font-weight: 300; font-size: 44px; line-height: 1; color: var(--ink); }
/* the rail with the moon travelling along it */
.steps li::after { content: ""; position: absolute; top: 58px; inset-inline: 0; height: 1.5px; background: var(--line-2); }
.steps li:first-child::after { background: linear-gradient(to left, var(--ink) 0 40px, var(--line-2) 40px); }
.steps h3 { font-size: 18px; font-weight: 800; margin: 18px 0 6px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); max-width: 34ch; }
.steps li:first-child h3::before { content: ""; position: absolute; top: 47px; inset-inline-start: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--sand); }

/* ---------- studio ---------- */
.studio { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--ink); color: var(--ivory); border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 6vw, 72px); position: relative; overflow: hidden; }
.studio::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--sand); opacity: .12; inset-inline-start: -150px; bottom: -190px; }
.studio__text { position: relative; }
.studio p { color: rgba(244, 238, 230, .78); margin: 14px 0 28px; max-width: 52ch; }
.studio__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.studio__list li { display: grid; grid-template-columns: 7.5em 1fr; align-items: baseline; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(244, 238, 230, .16); }
.studio__list li:last-child { border-bottom: 1px solid rgba(244, 238, 230, .16); }
.studio__list b { font-size: 20px; font-weight: 800; color: var(--sand-on-ink); white-space: nowrap; }
.studio__list span { color: rgba(244, 238, 230, .85); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sand-xl); }
.faq details p { margin: -6px 0 20px; color: var(--muted); max-width: 64ch; }

/* ---------- section page ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 24px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.cat-hero { border-bottom: 1px solid var(--line); }
.cat-hero__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: 28px clamp(36px, 5vw, 56px); }
.cat-hero .lead { max-width: 64ch; }
.cat-hero__in--solo { grid-template-columns: 1fr; }  /* section without the «قبل الشراء» box */
.tipbox { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; }
.tipbox__ico { position: absolute; top: -22px; inset-inline-end: 22px; width: 56px; height: 56px; border-radius: 50%; background: var(--sand-lt); display: grid; place-items: center; }
.tipbox__ico .icon { width: 30px; height: 30px; stroke-width: 1.3; }
.tipbox h2 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.tips { list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.tips li { counter-increment: t; display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.tips li::before { content: counter(t); font-family: var(--latin); font-size: 13px; color: var(--sand-dk); padding-top: 2px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.toolbar:empty { display: none; }
.toolbar__group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.toolbar__label { font-size: 13px; color: var(--muted); margin-inline-end: 4px; }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.toolbar__sort { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.toolbar__sort select { min-height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); padding: 0 14px; color: var(--ink); }
.count { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
#listing { padding-bottom: clamp(56px, 8vw, 96px); }

.empty { text-align: center; padding: clamp(44px, 7vw, 84px) 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-block: 36px clamp(56px, 8vw, 96px); }
.empty__ico { margin: 0 auto 18px; width: 76px; height: 76px; border-radius: 50%; background: var(--sand-lt); display: grid; place-items: center; }
.empty__ico .icon { width: 38px; height: 38px; stroke-width: 1.2; }
.empty p { max-width: 54ch; margin: 10px auto 26px; color: var(--muted); }
.empty__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.minis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.mini:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mini__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--sand-xl); display: grid; place-items: center; flex: none; }
.mini b { display: block; font-size: 15px; }
.mini small { display: block; font-size: 12.5px; color: var(--muted); }
.mini__go { margin-inline-start: auto; color: var(--sand-dk); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(244, 238, 230, .74); font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-block: 56px 36px; }
.foot__logo { width: 150px; height: auto; margin-bottom: 18px; }
.foot__brand p { max-width: 46ch; margin: 0; }
.foot h3 { color: var(--ivory); font-size: 14px; margin-bottom: 12px; letter-spacing: .02em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ivory); }
.foot ul a[dir="ltr"] { unicode-bidi: isolate; }
.foot__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(244, 238, 230, .12); padding-block: 18px; font-size: 13px; color: rgba(244, 238, 230, .5); }
.foot__bottom [lang="en"] { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }

/* ---------- product sheet ---------- */
.sheet { width: min(1100px, 100% - 32px); max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: calc(var(--radius) + 4px); background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(23, 35, 43, .5); }
.sheet::backdrop { background: rgba(23, 35, 43, .55); backdrop-filter: blur(3px); }
.sheet__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sheet__in > * { min-width: 0; }
.sheet__bar { display: contents; }
.sheet__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-size: 22px; line-height: 1; }
.peek { display: none; }
.sheet__media { padding: 24px; background: var(--sand-xl); position: sticky; top: 0; align-self: start; }
.sheet__img { aspect-ratio: 1; max-width: 470px; margin-inline: auto; border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.sheet__img img { width: 100%; height: 100%; object-fit: scale-down; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 4px; }
.thumbs button { flex: none; width: 62px; height: 62px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.sheet__info { padding: 28px 30px 30px; overflow-y: auto; max-height: min(92vh, 900px); }
.sheet__info .kicker { display: block; font-size: 13px; font-weight: 700; color: var(--sand-dk); margin-bottom: 6px; }
.sheet__title { font-size: clamp(21px, 2.2vw, 27px); font-weight: 800; padding-inline-end: 46px; }
.sheet__en { margin: 2px 0 14px; color: var(--muted); font-size: 14px; text-align: right; font-family: var(--latin); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 16px 0; border-block: 1px solid var(--line); margin-bottom: 18px; }
.price__num { font-size: 34px; font-weight: 800; }
.price__note { font-size: 13px; color: var(--muted); }
.options { border: 0; padding: 0; margin: 0 0 18px; }
.options legend { font-weight: 700; margin-bottom: 10px; }
.options__search { width: 100%; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2); padding: 0 16px; margin-bottom: 8px; background: var(--bg); }
.options__list { display: grid; gap: 6px; max-height: 300px; overflow-y: auto; }
.opt { position: relative; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: pointer; background: var(--paper); transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--line-2); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--sand-xl); }
.opt:has(input:focus-visible) { outline: 2px solid var(--sand-dk); outline-offset: 2px; }
.opt__img { width: 48px; height: 48px; border-radius: 9px; overflow: hidden; background: #fff; }
.opt__img img { width: 100%; height: 100%; object-fit: cover; }
.opt__name { font-size: 14px; line-height: 1.55; }
.opt__price { font-weight: 800; white-space: nowrap; font-size: 15px; }
.order { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 20px; }
.qty output { min-width: 28px; text-align: center; font-weight: 800; }
.order__total { margin: 8px 0 18px; font-size: 14px; color: var(--muted); min-height: 1.5em; }
.sheet__desc p { margin: 0 0 8px; }
.sheet__desc ul { margin: 0 0 12px; padding-inline-start: 20px; }
.sheet__desc li::marker { color: var(--sand); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 16px; padding: 16px 18px; background: var(--bg); border-radius: var(--radius-sm); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 5px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .compare { grid-template-columns: repeat(2, 1fr); }
  .nav__link { padding: 0 9px; font-size: 14.5px; }
  .hdr__in { gap: 18px; }
}
@media (max-width: 960px) {
  .nav, .hdr__end .btn--wa { display: none; }
  .menu-btn { display: grid; }
  .hero__in { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__art { max-width: 560px; }
  .types { grid-template-columns: repeat(2, 1fr); }
  .studio, .faq, .cat-hero__in, .about { grid-template-columns: 1fr; }
  .cat-hero__in { gap: 40px; }
  .minis { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .sheet__in { grid-template-columns: minmax(0, 1fr); }
  .sheet__media { position: static; padding: 16px; }
  .sheet__img { max-width: 420px; }
  .sheet__info { max-height: none; padding: 22px; }
  .sheet { overflow-y: auto; }
  /* One column: the sheet itself scrolls, so pin the close button and the selected-option
     strip to its top edge. The bar takes no space; its children overlay the content. */
  .sheet__bar { display: block; position: sticky; top: 0; z-index: 4; height: 0; pointer-events: none; }
  .sheet__bar > * { pointer-events: auto; }
  .peek {
    position: absolute; top: 0; inset-inline: 0; display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 8px 64px 8px 12px; text-align: start; border: 0; border-bottom: 1px solid var(--line);
    background: rgba(241, 231, 218, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 36px -22px rgba(23, 35, 43, .45); color: var(--ink); font: inherit; cursor: pointer;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease), opacity .18s;
  }
  [dir="rtl"] .peek { padding: 8px 12px 8px 64px; }
  .peek.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .peek__img { position: relative; display: block; width: 92px; aspect-ratio: 1; flex: none; border-radius: 10px; overflow: hidden; background: #fff; }
  .peek__img img { display: block; width: 100%; height: 100%; object-fit: scale-down; }
  .peek__hint { position: absolute; inset-inline: 0; bottom: 0; padding: 1px 0; text-align: center; background: rgba(251, 248, 243, .92); font-size: 10.5px; font-weight: 700; color: var(--sand-dk); }
  .peek__txt { display: grid; gap: 2px; min-width: 0; }
  .peek__name { font-size: 13px; line-height: 1.45; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .peek__price { font-size: 16px; font-weight: 800; white-space: nowrap; }
}
@media (max-width: 640px) {
  :root { --hdr: 64px; }
  .logo__img { width: 140px; }
  .notice { font-size: 12px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; padding: 8px 0; }
  .facts li, .facts li + li { padding: 12px 0; border-inline-start: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .types { grid-template-columns: 1fr; gap: 14px; }
  .type { flex-direction: row; align-items: stretch; }
  .type__art { width: 38%; aspect-ratio: auto; margin: 8px 0 8px 0; margin-inline-start: 8px; }
  .type__no { top: 8px; inset-inline-end: 10px; font-size: 11px; }
  .type__body { padding: 14px 16px; }
  .type h3 { font-size: 18px; }
  .type p { font-size: 13.5px; }
  .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps li { padding-top: 0; padding-inline-start: 76px; padding-bottom: 22px; }
  .steps li::before { font-size: 34px; top: 2px; }
  .steps li::after { top: 6px; bottom: 0; inset-inline: 58px auto; width: 1.5px; height: auto; background: var(--line-2); }
  .steps li:first-child::after { background: var(--line-2); }
  .steps li:first-child h3::before { display: none; }
  .steps h3 { margin-top: 0; }
  .studio__list li { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .studio__list b { font-size: 17px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard__img { margin: 6px 6px 0; }
  .pcard__body { padding: 10px 12px 12px; }
  .pcard__name { font-size: 14px; }
  .pcard__specs { font-size: 12px; }
  .pcard__price b { font-size: 17px; }
  .pcard__foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .toolbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .toolbar::-webkit-scrollbar { display: none; }
  .toolbar__group { flex-wrap: nowrap; }
  .toolbar__group + .toolbar__group { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
  .chip { white-space: nowrap; }
  .toolbar__label { white-space: nowrap; }
  .toolbar__sort { margin-inline-start: 0; padding-inline-start: 14px; border-inline-start: 1px solid var(--line); white-space: nowrap; }
  .minis { grid-template-columns: 1fr; }
  .parts > div { grid-template-columns: 1fr; gap: 2px; }
  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
  .sheet { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; margin: 0; }
  .opt { grid-template-columns: 56px 1fr auto; gap: 10px; }
  .opt__img { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
