/* N · Living — "Made for your home". A warm home-catalogue look: linen, light oak,
   soft charcoal and a dusty-blue accent, rounded corners, soft shadows, big clear prices. */

:root {
  --linen: #f5efe6;
  --linen-2: #eee5d7;
  --paper: #fbf8f3;
  --oak: #c9a27a;
  --oak-soft: #ecdcc6;
  --oak-ink: #85603d;
  --ink: #2f2c28;
  --ink-2: #4a453f;
  --muted: #6a6259;
  --line: #e4d9c9;
  --line-2: #d8c9b4;
  --blue: #5d7fa6;
  --blue-ink: #46668c;
  --blue-hover: #3b5778;
  --blue-deep: #2f4058;
  --blue-soft: #e2e9f2;
  --clay: #d29d87;
  --clay-soft: #f4e3da;
  --ok: #3c7a5c;
  --bad: #a8442b;

  --r-xl: 32px;
  --r-lg: 26px;
  --r: 20px;
  --r-sm: 14px;
  --sh-1: 0 1px 2px rgba(74, 52, 30, .06), 0 8px 22px -12px rgba(74, 52, 30, .22);
  --sh-2: 0 2px 6px rgba(74, 52, 30, .06), 0 28px 60px -28px rgba(74, 52, 30, .38);
  --sh-3: 0 4px 10px rgba(40, 30, 20, .1), 0 30px 70px -20px rgba(40, 30, 20, .35);

  --f-body: "Plus Jakarta Sans", "Mada", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Young Serif", Georgia, "Times New Roman", serif;
  --w-display: 400;
  --lh-display: 1.05;
  --hdr-h: 72px;

  /* "See it in your room" viewer theme (shared/room-view) */
  --rv-bg: #f5efe6;
  --rv-surface: #fbf8f3;
  --rv-text: #2f2c28;
  --rv-muted: #6a6259;
  --rv-line: #e1d5c3;
  --rv-accent: #46668c;
  --rv-accent-text: #ffffff;
  --rv-radius: 22px;
  --rv-font: var(--f-body);
  --rv-font-display: var(--f-display);
}
html[lang="ar"] {
  --f-body: "Mada", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-display: "Mada", system-ui, sans-serif;
  --w-display: 800;
  --lh-display: 1.3;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-size: 16.5px; line-height: 1.75; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--f-display); font-weight: var(--w-display); line-height: var(--lh-display); letter-spacing: normal; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.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; }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 2px; }
.ico { width: 20px; height: 20px; flex: none; }
html[dir="rtl"] [data-flip] { transform: scaleX(-1); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--blue-ink);
  background: var(--blue-ink); color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .15s, box-shadow .18s;
  box-shadow: 0 6px 16px -8px rgba(47, 64, 88, .7);
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--oak); }
.btn--outline { background: var(--paper); color: var(--blue-ink); border-color: var(--blue-ink); box-shadow: none; }
.btn--outline:hover { background: var(--blue-soft); color: var(--blue-hover); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: none; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; font-size: 16.5px; }
.btn .ico { width: 19px; height: 19px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
html[dir="rtl"] .chip { padding: 6px 10px 6px 14px; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--oak-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--oak); }

.mat { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; line-height: 1.4; }
.mat--petg { background: var(--blue-soft); color: var(--blue-ink); }
.mat--pla { background: var(--oak-soft); color: #74522f; }

.price { display: inline-flex; align-items: baseline; gap: 4px; margin: 0; font-weight: 800; color: var(--ink); line-height: 1; white-space: nowrap; }
html[lang="ar"] .price { flex-direction: row-reverse; justify-content: flex-end; }
.price__cur { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.price__num { font-size: 24px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; font-family: "Plus Jakarta Sans", var(--f-body); }
.price--lg .price__num { font-size: 30px; }
.price--xl .price__num { font-size: 44px; }
.price--xl .price__cur { font-size: 15px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(245, 239, 230, .88); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 24px -20px rgba(74, 52, 30, .4); }
.hdr__bar { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo . tools" "search search search"; align-items: center; gap: 10px 8px; padding-block: 10px; }
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: "Young Serif", Georgia, serif; font-size: 18px; line-height: 1; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 34px; height: 34px; }
.logo--light { color: var(--linen); }
.logo--light:hover { color: #fff; }
.nav { display: none; grid-area: nav; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.search { grid-area: search; display: flex; align-items: center; gap: 8px; height: 44px; padding-inline: 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.search:focus-within { outline: 3px solid var(--blue-ink); outline-offset: 1px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--ink); font-size: 15px; }
.search input::placeholder { color: #8a8177; }
.search input::-webkit-search-cancel-button { display: none; }
.hdr__tools { grid-area: tools; display: flex; align-items: center; gap: 6px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--linen-2); border: 1px solid var(--line); }
.lang button { border: 0; background: transparent; min-height: 34px; padding: 0 9px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.lang button[lang="ar"] { font-family: "Mada", sans-serif; font-size: 14px; }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(74, 52, 30, .18); }
.iconbtn, .cart { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; }
.iconbtn:hover, .cart:hover { border-color: var(--oak); color: var(--ink); }
.cart__count { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--blue-ink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--linen); line-height: 1; }
.cart__count.is-zero { background: var(--oak); }
.cart.is-bump { animation: bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (min-width: 400px) { .hdr__tools { gap: 8px; } .logo { font-size: 19px; } }
@media (min-width: 1100px) {
  .hdr__bar { grid-template-columns: auto auto 1fr auto; grid-template-areas: "logo nav search tools"; height: var(--hdr-h); padding-block: 0; gap: 18px; }
  .nav { display: block; }
  .search { justify-self: end; width: 100%; max-width: 300px; }
  .menu-btn { display: none; }
  .iconbtn, .cart { width: 44px; height: 44px; }
  .logo { font-size: 21px; }
  .logo__mark { width: 38px; height: 38px; }
}
@media (min-width: 1280px) { .search { max-width: 340px; } }

.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(47, 44, 40, .42); display: flex; justify-content: flex-end; }
.sheet[hidden] { display: none; }
.sheet__panel { width: min(88vw, 360px); height: 100%; background: var(--linen); padding: 16px 18px 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--sh-3); border-start-start-radius: var(--r-lg); border-end-start-radius: var(--r-lg); overflow-y: auto; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; }
.sheet nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--f-display); font-weight: var(--w-display); font-size: 22px; text-decoration: none; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--tint { background: var(--linen-2); }
.sec__head { display: grid; gap: 12px; margin-block-end: clamp(26px, 4vw, 44px); max-width: 720px; }
.sec__head h2 { font-size: clamp(32px, 4vw, 50px); }
.sec__head p { color: var(--muted); font-size: 17px; max-width: 58ch; }
.sec__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-block-end: clamp(26px, 4vw, 44px); }
.sec__row .sec__head { margin: 0; }

/* ---------- hero ---------- */
.hero { padding-block: 14px 40px; }
.hero__grid { display: grid; gap: 18px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 10px 4px; }
.hero h1 { font-size: clamp(46px, 13vw, 60px); color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--blue-ink); background: linear-gradient(transparent 78%, rgba(201, 162, 122, .45) 78%, rgba(201, 162, 122, .45) 93%, transparent 93%); padding-inline: 2px; }
html[lang="ar"] .hero h1 em { background: none; }
.hero__tag { font-weight: 700; font-size: 17px; color: var(--ink-2); }
.hero__lede { color: var(--muted); font-size: 17px; max-width: 40ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #e9dccb; box-shadow: var(--sh-2); height: clamp(430px, 122vw, 540px); isolation: isolate; }
.stage__canvas { position: absolute; inset: 0; }
.stage__canvas canvas { width: 100%; height: 100%; cursor: grab; }
.stage.is-dragging .stage__canvas canvas { cursor: grabbing; }
.stage__fallback { position: absolute; inset: 0; display: none; }
.stage__fallback svg { width: 100%; height: 100%; }
.stage.no-3d .stage__fallback { display: block; }
.stage.no-3d .spot, .stage.no-3d .stage__hint, .stage.no-3d .daynight { display: none; }
.stage__msg { position: absolute; inset-inline: 14px; bottom: 14px; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(251, 248, 243, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px -6px rgba(40, 30, 20, .35); }
.pill .ico { width: 17px; height: 17px; }
.stage__top { position: absolute; inset-block-start: 12px; inset-inline: 12px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; pointer-events: none; z-index: 3; }
.stage__top > * { pointer-events: auto; }
.daynight { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(251, 248, 243, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 4px 14px -6px rgba(40, 30, 20, .35); }
.daynight button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.daynight button .ico { width: 17px; height: 17px; }
.daynight button[aria-pressed="true"] { background: var(--blue-ink); color: #fff; }
.stage.is-eve .daynight button[aria-pressed="true"] { background: #d9894f; color: #2b1c10; }
.stage__hint { position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 3; transition: opacity .5s; pointer-events: none; }
.stage.is-touched .stage__hint { opacity: 0; }

.spot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; z-index: 2; transition: opacity .3s; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.spot::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .95); animation: pulse 2.6s ease-out infinite; }
.spot__dot { position: relative; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 10px rgba(30, 20, 10, .35), 0 0 0 1px rgba(0, 0, 0, .06); display: grid; place-items: center; transition: transform .2s, background-color .2s; }
.spot__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-ink); transition: background-color .2s; }
.spot:hover .spot__dot { transform: scale(1.12); }
.spot[aria-expanded="true"] .spot__dot { background: var(--blue-ink); transform: scale(1.12); }
.spot[aria-expanded="true"] .spot__dot::after { background: #fff; }
.spot[aria-expanded="true"]::before { animation: none; opacity: 0; }
.spot.is-off { opacity: 0; pointer-events: none; }
.spot:focus-visible { outline: none; }
.spot:focus-visible .spot__dot { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--blue-ink); }
@keyframes pulse { 0% { transform: scale(.9); opacity: .95; } 70% { transform: scale(1.9); opacity: 0; } 100% { transform: scale(1.9); opacity: 0; } }

.spotcard { position: absolute; left: 0; top: 0; z-index: 4; width: min(280px, calc(100% - 24px)); background: var(--paper); color: var(--ink); border-radius: 20px; box-shadow: var(--sh-3); padding: 14px 14px 14px 16px; display: grid; gap: 6px; transform-origin: 50% 100%; }
.spotcard[hidden] { display: none; }
.spotcard.is-in { animation: cardin .28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes cardin { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
.spotcard__x { position: absolute; top: 8px; inset-inline-end: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--linen); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.spotcard__x .ico { width: 16px; height: 16px; }
.spotcard__kicker { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; padding-inline-end: 36px; }
.spotcard h3 { font-family: var(--f-display); font-weight: var(--w-display); font-size: 20px; line-height: 1.2; padding-inline-end: 30px; }
html[lang="ar"] .spotcard h3 { font-family: "Plus Jakarta Sans", "Mada", sans-serif; font-weight: 700; }
.spotcard__desc { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.spotcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.spotcard__soon { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--clay-soft); color: #87452c; font-weight: 800; font-size: 13px; }

.inroom { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--sh-1); min-width: 0; }
.inroom__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-inline: 4px; margin-block-end: 8px; }
.inroom__head h2 { font-family: var(--f-body); font-size: 15px; font-weight: 800; line-height: 1.3; }
.inroom__head p { font-size: 12.5px; color: var(--muted); }
.inroom__list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 4px; scrollbar-width: thin; }
.inroom__item { flex: 0 0 auto; scroll-snap-align: start; }
.inroom__btn { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 228px; min-height: 52px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--linen); cursor: pointer; text-align: start; transition: background-color .18s, border-color .18s; }
html[dir="rtl"] .inroom__btn { padding: 8px 8px 8px 12px; }
.inroom__btn:hover { border-color: var(--oak); background: #fff; }
.inroom__btn[aria-pressed="true"] { border-color: var(--blue-ink); background: var(--blue-soft); }
.inroom__sw { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.inroom__sw svg { width: 22px; height: 22px; }
.inroom__name { font-size: 13.5px; font-weight: 700; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.inroom__price { font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.inroom__price.is-soon { font-size: 11.5px; color: #87452c; background: var(--clay-soft); padding: 3px 8px; border-radius: 999px; }

@media (min-width: 1024px) {
  .hero { padding-block: 22px 56px; }
  .hero__grid { grid-template-columns: minmax(330px, 400px) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px 40px; }
  .hero__copy { grid-column: 1; grid-row: 1; justify-content: center; padding-block: 16px 0; }
  .hero h1 { font-size: clamp(52px, 4.5vw, 68px); }
  .inroom { grid-column: 1; grid-row: 2; align-self: end; }
  .inroom__list { flex-direction: column; overflow: visible; gap: 6px; }
  .inroom__btn { width: 100%; }
  .stage { grid-column: 2; grid-row: 1 / span 2; height: min(calc(100svh - var(--hdr-h) - 36px), 800px); min-height: 600px; }
}

/* ---------- how it works ---------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 20px; box-shadow: var(--sh-1); display: grid; gap: 10px; align-content: start; }
.step__art { background: var(--linen-2); border-radius: 14px; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.step__art svg { width: 70%; height: auto; }
.step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--oak-soft); color: #6d4c2c; font-family: "Young Serif", Georgia, serif; font-size: 17px; margin-block-start: 4px; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 34%; inset-inline-end: -14px; width: 10px; height: 10px; border-top: 2.5px solid var(--oak); border-inline-end: 2.5px solid var(--oak); transform: rotate(45deg); z-index: 1; }
  html[dir="rtl"] .step:not(:last-child)::after { transform: rotate(-45deg); }
}

/* ---------- product cards ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--col { grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 640px) { .grid--col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1180px) { .grid, .grid--col { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.pcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; min-width: 0; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.pcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen-2); }
.pcard__media .vig { width: 100%; height: 100%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover .pcard__media .vig { transform: scale(1.035); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 14px; flex: 1; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pcard__name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.pcard__name a { color: var(--ink); text-decoration: none; }
.pcard__name a:hover { text-decoration: underline; color: var(--ink); }
.pcard__seller { font-size: 13px; color: var(--muted); line-height: 1.4; }
.pcard__desc { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.pcard__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.pcard__foot .mat { margin-inline-start: auto; }
.pcard__acts { display: flex; align-items: center; gap: 8px; }
.pcard--big .pcard__body { padding: 16px 18px 18px; gap: 8px; }
.pcard--big .pcard__name { font-family: var(--f-display); font-weight: var(--w-display); font-size: 22px; line-height: 1.2; }
html[lang="ar"] .pcard--big .pcard__name { font-family: "Plus Jakarta Sans", "Mada", sans-serif; font-weight: 700; font-size: 19px; }
.addbtn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue-ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .18s, transform .15s; }
.addbtn:hover { background: var(--blue-hover); }
.addbtn:active { transform: scale(.94); }
.addbtn.is-done { background: var(--ok); }
.addbtn--sm { width: 40px; height: 40px; }
.addbtn .ico { width: 20px; height: 20px; }
@media (max-width: 639px) {
  .grid .pcard__body { padding: 10px 10px 12px; }
  .grid .price__num { font-size: 21px; }
  .grid .pcard__foot .mat { display: none; }
}
@media (min-width: 640px) { .pcard__body { padding: 14px 16px 16px; } .pcard__name { font-size: 16px; } }

/* ---------- rooms (categories) ---------- */
.rooms { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.room { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; min-width: 0; }
.room:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.room__art { aspect-ratio: 5 / 3; overflow: hidden; }
.room__art .vig { width: 100%; height: 100%; }
.room__body { padding: 12px 12px 14px; display: grid; gap: 10px; }
.room h3 { font-family: var(--f-display); font-weight: var(--w-display); font-size: 21px; line-height: 1.15; }
html[lang="ar"] .room h3 { font-weight: 800; font-size: 19px; line-height: 1.35; }
.room h3 a { color: var(--ink); text-decoration: none; }
.room h3 a::after { content: ""; position: absolute; inset: 0; }
.room h3 a:focus-visible { outline: none; }
.room:has(h3 a:focus-visible) { outline: 3px solid var(--blue-ink); outline-offset: 2px; }
.room__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.room__cats li { padding: 4px 10px; border-radius: 999px; background: var(--linen-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
@media (min-width: 640px) { .room__body { padding: 16px 18px 18px; } .room h3 { font-size: 24px; } .room__cats li { font-size: 13.5px; } }

/* ---------- seller band ---------- */
.band__card { position: relative; overflow: hidden; background: var(--blue-deep); color: #eef1f5; border-radius: var(--r-xl); padding: clamp(26px, 5vw, 64px); display: grid; gap: 30px; align-items: center; isolation: isolate; }
.band__card::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; inset-inline-end: -180px; top: -260px; background: radial-gradient(closest-side, rgba(255, 196, 140, .32), rgba(255, 196, 140, 0)); z-index: -1; }
.band__card::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; inset-inline-start: -160px; bottom: -220px; background: radial-gradient(closest-side, rgba(146, 172, 206, .3), rgba(146, 172, 206, 0)); z-index: -1; }
.band .eyebrow { color: #e8c9a4; }
.band .eyebrow::before { background: #e8c9a4; }
.band h2 { font-size: clamp(36px, 5vw, 64px); color: #fff; margin-block: 12px 14px; }
.band__text { font-size: clamp(17px, 1.6vw, 20px); color: #d5dde8; max-width: 44ch; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-block-start: 24px; }
.band__link { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.band__link:hover { color: #ffe1bf; }
.band :focus-visible { outline-color: #fff; }
.receipt { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 20px 20px 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); max-width: 420px; width: 100%; justify-self: center; position: relative; }
.receipt::after { content: ""; position: absolute; inset-inline: 18px; bottom: -8px; height: 16px; background: radial-gradient(circle at 8px -2px, transparent 8px, var(--paper) 8.5px) 0 0 / 16px 16px repeat-x; }
.receipt__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--line-2); }
.receipt__top b { font-size: 15px; }
.receipt__tag { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--oak-soft); color: #6d4c2c; white-space: nowrap; }
.receipt dl { margin: 12px 0 0; display: grid; gap: 8px; }
.receipt dl div { display: flex; align-items: baseline; gap: 8px; }
.receipt dt { color: var(--muted); font-size: 14.5px; }
.receipt dd { margin: 0; margin-inline-start: auto; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt dl div::after { content: none; }
.receipt .is-earn { margin-top: 6px; padding-top: 12px; border-top: 1.5px dashed var(--line-2); }
.receipt .is-earn dt { color: var(--ink); font-weight: 700; }
.receipt .is-earn dd { font-size: 28px; color: var(--blue-ink); }
@media (min-width: 960px) {
  .band__card { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); }
  .receipt { transform: rotate(-2deg); }
  html[dir="rtl"] .receipt { transform: rotate(2deg); }
}

/* ---------- trust ---------- */
#trust { padding-block: clamp(20px, 3vw, 40px) clamp(48px, 6vw, 80px); }
.trust { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.trust li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.trust__ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 16px; background: var(--oak-soft); color: #6d4c2c; display: grid; place-items: center; }
.trust__ico .ico { width: 24px; height: 24px; }
.trust h3 { font-size: 16px; }
.trust p { font-size: 14.5px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: #2c2925; color: #e9e1d4; padding-block: 56px 28px; margin-block-start: clamp(8px, 2vw, 24px); }
.foot a { color: #e9e1d4; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; gap: 30px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 10px; align-content: start; justify-items: start; }
.foot .logo, .sheet .logo { grid-area: auto; }
.foot__brand p { color: #c8bfb1; max-width: 32ch; }
.foot__domain { font-weight: 700; color: #e8c9a4 !important; }
.foot h2 { font-family: var(--f-body); font-size: 14px; font-weight: 800; color: #e8c9a4; margin-block-end: 10px; line-height: 1.4; }
.foot nav li { margin-block: 4px; }
.foot nav a { display: inline-block; padding-block: 4px; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-block-start: 40px; padding-block-start: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #c8bfb1; }
.foot__lang { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.foot .lang { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.foot .lang button { color: #d9d0c2; }
.foot .lang button[aria-pressed="true"] { background: var(--linen); color: var(--ink); }
.foot :focus-visible { outline-color: #e8c9a4; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: auto; } }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 70; bottom: 20px; inset-inline: 16px; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--linen); font-weight: 600; font-size: 14.5px; box-shadow: var(--sh-3); transform: translateY(160%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.1); }
.toast.is-on { transform: none; }
.toast .ico { color: #a9d5bd; }

/* ---------- product page ---------- */
.crumbs { padding-block: 16px 10px; font-size: 13.5px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.pgrid { display: grid; gap: 22px; padding-block-end: 20px; }
@media (min-width: 1024px) { .pgrid { grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); gap: 48px; align-items: start; } }
.viewer { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #e9dccb; box-shadow: var(--sh-2); height: clamp(380px, 108vw, 480px); isolation: isolate; }
@media (min-width: 1024px) { .viewer { position: sticky; top: calc(var(--hdr-h) + 16px); height: min(calc(100svh - var(--hdr-h) - 40px), 700px); min-height: 560px; } }
.viewer__canvas { position: absolute; inset: 0; outline: none; }
.viewer__canvas canvas { width: 100%; height: 100%; cursor: grab; touch-action: none; }
.viewer__canvas:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: -3px; border-radius: var(--r-lg); }
.viewer__top { position: absolute; top: 12px; inset-inline: 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; pointer-events: none; z-index: 2; }
.viewer__top > * { pointer-events: auto; }
.viewer__tools { display: flex; flex-direction: column; gap: 8px; }
.viewer__tools button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(251, 248, 243, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px -6px rgba(40, 30, 20, .35); }
.viewer__tools button:hover { background: #fff; }
.viewer__tools button[aria-pressed="true"] { background: #d9894f; color: #2b1c10; }
.viewer__swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.viewer__hint { position: absolute; bottom: 12px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 24px); z-index: 2; pointer-events: none; transition: opacity .5s; }
.viewer.is-touched .viewer__hint { opacity: 0; }
.viewer__no3d { position: absolute; inset: 0; display: none; place-items: center; padding: 24px; text-align: center; color: var(--muted); }
.viewer.no-3d .viewer__no3d { display: grid; }
.viewer.no-3d .viewer__tools, .viewer.no-3d .viewer__hint { display: none; }

.buy { display: flex; flex-direction: column; gap: 18px; padding-block-start: 4px; }
.buy h1 { font-size: clamp(36px, 4vw, 52px); }
.buy__by { color: var(--muted); font-size: 15px; margin-block-start: -6px; }
.buy__by b { color: var(--ink); font-weight: 700; }
.buy__pricerow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pod { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); font-weight: 700; font-size: 13.5px; }
.pod .ico { width: 18px; height: 18px; }
.matbox { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.matbox__tag { grid-row: span 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-ink); font-weight: 800; font-size: 15px; }
.matbox__label { font-size: 13px; color: var(--muted); font-weight: 600; }
.matbox__label span { color: var(--ink-2); }
.matbox p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.matbox a { font-size: 14px; font-weight: 700; }
.field__label { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-block-end: 10px; }
.field__label b { font-weight: 600; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 48px; height: 48px; border-radius: 50%; border: 2px solid transparent; background: var(--paper); padding: 4px; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); transition: border-color .18s, transform .15s; }
.swatch span { width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), inset 0 -6px 10px rgba(0, 0, 0, .08); }
.swatch[aria-checked="true"] { border-color: var(--blue-ink); }
.swatch:hover { transform: translateY(-1px); }
.buy__actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); height: 54px; }
.qty button { width: 46px; height: 52px; border: 0; background: transparent; border-radius: 999px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--linen-2); }
.qty output { min-width: 26px; text-align: center; font-weight: 800; font-size: 17px; }
.buy__room { grid-column: 1 / -1; }
.buy__room .btn { width: 100%; }
.buy__note { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-block-start: -2px; }
.buy__note .ico { width: 16px; height: 16px; }
.details { display: grid; gap: 22px; padding-block: 18px 0; border-top: 1px solid var(--line); }
.details h2 { font-size: 24px; margin-block-end: 8px; }
.details p { color: var(--ink-2); margin-block-end: 10px; }
.specs { margin: 0; display: grid; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: end; }

/* ---------- sell page ---------- */
.shero { padding-block: 22px 20px; }
.shero__grid { display: grid; gap: 22px; align-items: center; }
.shero__copy { display: grid; gap: 16px; justify-items: start; }
.shero h1 { font-size: clamp(42px, 6vw, 72px); }
.shero__text { font-size: 18px; color: var(--muted); max-width: 46ch; }
.nos { display: flex; flex-wrap: wrap; gap: 8px; }
.nos li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
html[dir="rtl"] .nos li { padding: 8px 10px 8px 14px; }
.nos .ico { color: var(--ok); width: 18px; height: 18px; }
.shero__art { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(14px, 3vw, 30px); box-shadow: var(--sh-2); }
.shero__art svg { width: 100%; height: auto; }
@media (min-width: 960px) { .shero { padding-block: 40px 30px; } .shero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; } }

.steps6 { display: grid; gap: 12px; }
@media (min-width: 640px) { .steps6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.sstep { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.sstep__ico { grid-row: span 3; position: relative; width: 52px; height: 52px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; }
.sstep__ico .ico { width: 24px; height: 24px; }
.sstep__n { font-size: 12.5px; font-weight: 800; color: var(--oak-ink); }
.sstep h3 { font-size: 17px; }
.sstep p { color: var(--muted); font-size: 14.5px; }

.calc { display: grid; gap: 18px; align-items: start; }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 28px; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2.6vw, 28px); box-shadow: var(--sh-1); }
.calc__form { display: grid; gap: 26px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend, .calc__label { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16.5px; margin-block-end: 12px; padding: 0; }
.calc__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--oak-soft); color: #6d4c2c; font-family: "Young Serif", Georgia, serif; font-size: 14px; font-weight: 400; }
.drop { border: 2px dashed var(--line-2); border-radius: var(--r); padding: 14px; display: grid; gap: 12px; background: var(--linen); transition: border-color .2s, background-color .2s; }
.drop.is-over { border-color: var(--blue-ink); background: var(--blue-soft); }
.drop__hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.drop__hd .ico { width: 22px; height: 22px; color: var(--blue-ink); }
.drop__hd b { font-size: 15px; }
.drop__hd span { font-size: 13px; color: var(--muted); }
.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .samples { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sample { position: relative; }
.sample input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sample__card { display: grid; gap: 4px; padding: 6px 6px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; height: 100%; transition: border-color .18s, background-color .18s; }
.sample__card:hover { border-color: var(--oak); }
.sample input:checked + .sample__card { border-color: var(--blue-ink); background: var(--blue-soft); box-shadow: 0 0 0 1px var(--blue-ink); }
.sample input:focus-visible + .sample__card { outline: 3px solid var(--blue-ink); outline-offset: 2px; }
.sample__art { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.sample__art .vig { width: 100%; height: 100%; }
.sample__name { font-weight: 700; font-size: 13.5px; padding-inline: 4px; line-height: 1.3; }
.sample__file { font-size: 11.5px; color: var(--muted); padding-inline: 4px; direction: ltr; text-align: start; overflow-wrap: anywhere; }
html[dir="rtl"] .sample__file { text-align: end; }
.est { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.est .ico { color: var(--blue-ink); margin-top: 2px; }
.est.is-reading { color: var(--muted); }
.est.is-reading .ico { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.seg { display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; border-radius: 999px; background: var(--linen-2); border: 1px solid var(--line); width: min(100%, 320px); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 999px; font-weight: 800; cursor: pointer; color: var(--muted); transition: background-color .18s, color .18s; }
.seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(74, 52, 30, .2); }
.seg input:focus-visible + span { outline: 3px solid var(--blue-ink); outline-offset: 1px; }
.calc__help { margin-block-start: 10px; font-size: 14px; }
.calc__help a { font-weight: 700; }
.pricebox { display: flex; align-items: center; gap: 0; max-width: 320px; border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; overflow: hidden; }
.pricebox:focus-within { outline: 3px solid var(--blue-ink); outline-offset: 1px; }
.pricebox.is-bad { border-color: var(--bad); }
.pricebox__cur { padding-inline: 14px; align-self: stretch; display: grid; place-items: center; background: var(--linen-2); font-weight: 800; color: var(--ink-2); }
.pricebox input { flex: 1; min-width: 0; border: 0; outline: none; padding: 12px 14px; font-size: 24px; font-weight: 800; background: transparent; font-variant-numeric: tabular-nums; }
.suggest { margin-block-start: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--blue-ink); background: transparent; color: var(--blue-ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.suggest:hover { background: var(--blue-soft); }

.result { display: grid; gap: 16px; }
@media (min-width: 1024px) { .result { position: sticky; top: calc(var(--hdr-h) + 16px); } }
.result__card { background: var(--blue-deep); color: #eef1f5; border-radius: var(--r-lg); padding: clamp(18px, 2.6vw, 26px); box-shadow: var(--sh-2); display: grid; gap: 16px; }
.result__hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.result__hd h3 { font-size: 16px; color: #fff; }
.rates { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #f3dcc0; white-space: nowrap; }
.result__min { display: grid; gap: 2px; }
.result__min span { font-size: 14px; color: #c8d2df; }
.result__min b { font-size: clamp(38px, 5vw, 50px); line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.result__rows { margin: 0; display: grid; gap: 0; border-radius: 16px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.result__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 14px; }
.result__rows div + div { border-top: 1px solid rgba(255, 255, 255, .1); }
.result__rows dt { color: #d0d9e4; font-size: 14.5px; }
.result__rows dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.result__rows .is-earn { background: rgba(255, 255, 255, .08); }
.result__rows .is-earn dt { color: #fff; font-weight: 700; }
.result__rows .is-earn dd { font-size: 24px; color: #ffd6a8; }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.bar span { display: block; height: 100%; transition: flex-basis .4s cubic-bezier(.2, .8, .2, 1); }
.bar__min { background: #8ea6c4; }
.bar__you { background: #ffc98e; }
.bar__us { background: #e8e1d6; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: #c8d2df; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(160, 220, 190, .14); color: #d6f1e2; font-weight: 600; font-size: 14.5px; }
.msg.is-bad { background: #fbe4dc; color: #8a2f18; }
.msg .ico { margin-top: 1px; }
.breakdown summary { cursor: pointer; font-weight: 700; color: #fff; min-height: 32px; display: flex; align-items: center; gap: 6px; }
.breakdown summary::-webkit-details-marker { color: #c8d2df; }
.breakdown dl { margin: 8px 0 0; display: grid; gap: 4px; font-size: 13.5px; }
.breakdown dl div { display: flex; justify-content: space-between; gap: 10px; color: #d0d9e4; }
.breakdown dt small { display: block; color: #aab7c8; font-size: 12px; }
.breakdown dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.breakdown .total { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 6px; margin-top: 4px; color: #fff; font-weight: 800; }
.note { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; padding: 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.note__ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--oak-soft); color: #6d4c2c; display: grid; place-items: center; }
.note h3 { font-size: 15.5px; }
.note p { font-size: 14px; color: var(--muted); line-height: 1.55; }

.guide { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.guide th, .guide td { padding: 14px 16px; text-align: start; vertical-align: top; font-size: 15px; line-height: 1.5; }
.guide tbody tr + tr > * { border-top: 1px solid var(--line); }
.guide tbody th { color: var(--ink-2); font-weight: 700; width: 22%; background: var(--linen); }
.guide thead th { padding: 18px 16px; vertical-align: bottom; }
.guide thead .corner { background: var(--linen); }
.guide .col-pla { background: #fbf3e8; }
.guide .col-petg { background: #f0f4f9; }
.guide thead .col-pla { border-top: 6px solid var(--oak); }
.guide thead .col-petg { border-top: 6px solid var(--blue); }
.gh { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; }
.gh svg { grid-row: span 2; width: 48px; height: 48px; }
.gh b { font-size: 24px; font-family: "Young Serif", Georgia, serif; font-weight: 400; }
.gh span { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 759px) {
  .guide, .guide thead, .guide tbody { display: block; }
  .guide tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide thead .corner { display: none; }
  .guide tbody th { grid-column: 1 / -1; width: auto; padding: 10px 14px 8px; font-size: 13.5px; }
  .guide td { font-size: 14px; padding: 10px 12px 14px; }
  .guide tbody tr + tr > * { border-top: 0; }
  .guide tbody tr { border-top: 1px solid var(--line); }
  .gh { grid-template-columns: minmax(0, 1fr); }
  .gh svg { grid-row: auto; width: 36px; height: 36px; }
}
.tips { display: grid; gap: 12px; margin-block-start: 16px; }
@media (min-width: 760px) { .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); font-size: 15px; }
.tip .ico { margin-top: 3px; }
.tip--blue { background: var(--blue-soft); color: #253a55; }
.tip--oak { background: var(--oak-soft); color: #4d361f; }
.tip b { font-weight: 800; }

.rules { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .rules { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.rules__text p { color: var(--muted); font-size: 17px; margin-block-start: 14px; max-width: 48ch; }
.banned, .banned ul { display: grid; gap: 10px; }
.banned h3 { font-size: 15px; color: var(--bad); }
.banned li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 600; }
.banned .ico { color: var(--bad); }

.scta { text-align: center; display: grid; justify-items: center; gap: 14px; padding: clamp(32px, 6vw, 64px) clamp(18px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-1); }
.scta h2 { font-size: clamp(30px, 4vw, 48px); }
.scta p { color: var(--muted); font-size: 17px; }
.scta small { color: var(--muted); font-size: 13px; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .spot::before { animation: none; opacity: .9; transform: scale(1.25); }
}
html.rm .spot::before { animation: none; opacity: .9; transform: scale(1.25); }
html.rm .spotcard.is-in { animation: none; }
