/* ═══════════════════════════════════════════════
   Chair-set landing + request page.
   Uses the palette tokens from main.css (:root).
   ═══════════════════════════════════════════════ */

/* Header request link: icon + label + count */
.request-link { width: auto; padding: 0 12px; gap: 6px; border: 1px solid var(--border); border-radius: 100px; height: 38px; }
.request-link .cart-icon { font-size: 16px; }
.request-link-label { font-size: 14px; font-weight: 600; color: var(--forest); }
.request-link .cart-badge { position: static; }
.request-link .cart-badge[hidden] { display: none; }
.main-nav .nav-link { white-space: nowrap; }
@media (max-width: 700px) { .request-link-label { display: none; } .request-link { padding: 0 10px; } }

/* Buttons */
.ch-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 100px; border: 2px solid var(--forest);
  background: var(--forest); color: #fff; font: 600 15px/1.2 var(--font-body);
  cursor: pointer; text-decoration: none; transition: background .2s, color .2s, transform .2s;
}
.ch-btn:hover { background: var(--forest-mid); border-color: var(--forest-mid); color: #fff; transform: translateY(-1px); }
.ch-btn:disabled { opacity: .6; cursor: default; transform: none; }
.ch-btn-ghost { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.ch-btn-ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }
.ch-btn-ghost-dark { background: transparent; color: var(--forest); }
.ch-btn-ghost-dark:hover { background: var(--forest); color: #fff; }
.ch-btn-sm { padding: 10px 20px; font-size: 14px; }
.ch-btn-block { width: 100%; }

.ch-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.ch h2, .req-page h2 { font-family: var(--font-display); color: var(--forest); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; font-weight: 600; }
.ch-price { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--forest); white-space: nowrap; }

/* Sections */
.ch-section { padding: 88px 0; }
.ch-alt { background: var(--cream); }
.ch-head { max-width: 720px; margin-bottom: 40px; }
.ch-sub { margin-top: 12px; color: var(--text-muted); font-size: 16px; }

/* Hero */
.ch-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; overflow: hidden; background: var(--cream-dark); }
.ch-hero picture, .ch-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ch-hero-img { object-fit: cover; object-position: 65% 60%; }
.ch-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,18,.82) 0%, rgba(20,30,18,.62) 34%, rgba(20,30,18,.15) 58%, rgba(20,30,18,0) 70%); }
.ch-hero-inner { position: relative; width: 100%; color: #fff; padding-top: 64px; padding-bottom: 64px; }
.ch-hero-inner > * { max-width: 520px; }
.ch-hero .ch-kicker { color: var(--gold-light); }
.ch-hero h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 58px); line-height: 1.06; font-weight: 700; margin-bottom: 18px; }
.ch-hero-lead { font-size: 17px; line-height: 1.6; opacity: .95; margin-bottom: 28px; }
.ch-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ch-hero-price { margin-top: 22px; font-size: 15px; opacity: .92; }
.ch-hero-price b { font-family: var(--font-display); font-size: 22px; }

/* Sets */
.ch-sets { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ch-set { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.ch-set img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ch-set-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.ch-set h3 { font-family: var(--font-display); font-size: 24px; color: var(--forest); margin-bottom: 8px; }
.ch-set p { color: var(--text-muted); margin-bottom: 20px; }
.ch-set-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Configurator */
.ch-cfg { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow-md); }
.ch-cfg-media { position: sticky; top: 96px; border-radius: 16px; overflow: hidden; background: #ececec; }
.ch-cfg-media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ch-field { border: 0; margin-bottom: 22px; }
.ch-field legend { font-weight: 600; color: var(--forest); margin-bottom: 10px; font-size: 15px; }
.ch-options { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-opt { position: relative; cursor: pointer; }
.ch-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ch-opt span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 100px; font-size: 14px; font-weight: 500; background: #fff; transition: border-color .15s, background .15s; }
.ch-opt:hover span { border-color: var(--forest-mid); }
.ch-opt input:checked + span { border-color: var(--forest); background: var(--forest); color: #fff; }
.ch-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.ch-swatch i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.ch-custom { margin-top: 14px; }
.ch-custom label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text-muted); }
.ch-custom textarea, .req-form input, .req-form select, .req-form textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; background: #fff; color: var(--text);
}
.ch-custom textarea:focus, .req-form input:focus, .req-form select:focus, .req-form textarea:focus { outline: none; border-color: var(--forest); }
.ch-custom textarea[aria-invalid="true"] { border-color: #c62828; }
.ch-cfg-total { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-top: 1px solid var(--border); margin-bottom: 16px; }
.ch-cfg-total span { color: var(--text-muted); font-size: 14px; }
.ch-cfg-total small { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.ch-added { margin-top: 12px; color: var(--green-dark); font-weight: 600; }
.ch-cfg-hint { margin-top: 12px; color: var(--text-muted); font-size: 13px; }

/* Gallery */
.ch-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ch-gallery figure { margin: 0; }
.ch-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.ch-gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--text-muted); }

/* Split blocks */
.ch-split, .ch-game { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ch-split img, .ch-game img { width: 100%; height: auto; border-radius: 18px; }
.ch-split p:not(.ch-kicker), .ch-game p:not(.ch-kicker) { margin-top: 14px; font-size: 16px; color: var(--text-muted); }
.ch-game img { max-width: 440px; justify-self: center; }
.ch-game .ch-btn { margin-top: 22px; }

/* Steps */
.ch-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ch-steps li { counter-increment: s; background: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.ch-steps li::before { content: counter(s); font-family: var(--font-display); font-size: 30px; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.ch-steps b { color: var(--forest); font-size: 17px; }
.ch-steps span { color: var(--text-muted); }
.ch-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Request page */
.req-page { padding-bottom: 80px; }
.req-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.req-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.req-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: start; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.req-item img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; }
.req-item-body { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text-muted); min-width: 0; }
.req-item-body b { color: var(--forest); font-size: 16px; }
.req-item-note { overflow-wrap: anywhere; }
.req-dimensions { margin: 8px 0; }
.req-dimensions summary { cursor: pointer; color: var(--forest); font-weight: 600; }
.req-dim-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
.req-dim-table caption { text-align: left; font-weight: 700; color: var(--forest); padding: 5px 0; }
.req-dim-table th, .req-dim-table td { border-bottom: 1px solid var(--border); padding: 5px 6px; text-align: left; vertical-align: top; }
.req-dim-table th { font-weight: 400; }
.req-dim-table td { white-space: nowrap; color: var(--text); }
.req-item-price { color: var(--text); font-weight: 600; }
.req-item-remove { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: var(--text-muted); padding: 4px 8px; }
.req-item-remove:hover { color: #c62828; }
.req-total { margin-top: 16px; font-size: 16px; }
.req-total b { font-family: var(--font-display); font-size: 22px; color: var(--forest); }
.req-form { background: var(--cream); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.req-form h2 { font-size: 26px; }
.req-form-lead { color: var(--text-muted); font-size: 14px; }
.req-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.req-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.req-captcha span { width: 100%; }
.req-captcha canvas { border-radius: 8px; border: 1px dashed var(--forest); background: #f0f4ef; cursor: pointer; }
.req-captcha input { width: 120px !important; }
.req-captcha-refresh { border: 0; background: transparent; color: var(--forest); text-decoration: underline; cursor: pointer; padding: 6px; }
.req-err { color: #c62828; font-size: 14px; min-height: 0; }
.req-err:empty { display: none; }
.req-alt { font-size: 13px; color: var(--text-muted); text-align: center; }
.req-empty, .req-ok { background: var(--cream); border-radius: 18px; padding: 40px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 24px; }
.req-empty[hidden], .req-ok[hidden], .req-form[hidden], .req-total[hidden], .req-list[hidden] { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .ch-gallery { grid-template-columns: repeat(2, 1fr); }
  .ch-cfg { grid-template-columns: 1fr; }
  .ch-cfg-media { position: static; }
  .req-layout { grid-template-columns: 1fr; }
  .req-form { position: static; }
}
@media (max-width: 700px) {
  .ch-section { padding: 56px 0; }
  .ch-hero { min-height: 0; align-items: flex-start; }
  .ch-hero picture, .ch-hero-img { position: absolute; }
  .ch-hero-img { object-position: 50% 100%; }
  .ch-hero-shade { background: linear-gradient(180deg, rgba(20,30,18,.78) 0%, rgba(20,30,18,.6) 45%, rgba(20,30,18,.2) 62%, rgba(20,30,18,0) 74%); }
  .ch-hero-actions { flex-wrap: nowrap; gap: 8px; }
  .ch-hero-actions .ch-btn { flex: 1 1 0; padding: 12px 10px; font-size: 14px; }
  .ch-hero-price { margin-top: 16px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
  .ch-hero-inner { padding-top: 36px; padding-bottom: 72vw; }
  .ch-hero-lead { font-size: 15px; margin-bottom: 20px; }
  .ch-sets, .ch-split, .ch-game, .ch-steps { grid-template-columns: 1fr; gap: 20px; }
  .ch-split, .ch-game { gap: 24px; }
  .ch-cfg { padding: 16px; gap: 20px; border-radius: 16px; }
  .ch-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; gap: 12px; margin: 0 -24px; padding: 0 24px 6px; }
  .ch-gallery figure { flex: 0 0 78%; scroll-snap-align: start; }
  .ch-set-foot { flex-wrap: wrap; }
  .req-item { grid-template-columns: 76px 1fr auto; gap: 12px; }
  .req-item img { width: 76px; height: 76px; }
  .req-form { padding: 18px; }
}

/* ═══════════════════════════════════════════════
   Responsive polish (public pages only; admin has its own CSS).
   ═══════════════════════════════════════════════ */

/* Header: the full menu needs ~1240px. Tighten spacing on laptops and switch
   to the hamburger below 1280px, so "Войти" is never pushed off-screen. */
@media (max-width: 1400px) {
  .header-inner { gap: 20px; }
  .main-nav .nav-link { padding: 6px 10px; }
}
@media (max-width: 1279px) {
  .main-nav { display: none; }
  .cart-link { margin-left: auto; }
  .hamburger { display: flex; margin-left: 8px; }
}
/* Comfortable tap area for the menu button (was 30×24). */
.hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

@media (max-width: 700px) {
  /* iOS zooms the page when a field under 16px gets focus. */
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
  /* Country picker + number: leave room for the number on phones. */
  .phone-cc { flex-basis: 112px; width: 112px; max-width: 112px; }
  /* Footer bottom line: stack instead of two cramped columns. */
  .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 480px) {
  /* Home hero: full-width stacked buttons instead of two squeezed ones. */
  .ch-hero-actions { flex-direction: column; align-items: stretch; }
  .ch-hero-actions .ch-btn { width: 100%; }
}

.ch-dim-group { border: 0; padding: 0; margin: 12px 0; }
.ch-dim-group legend { font-weight: 600; margin-bottom: 8px; }
.ch-dim-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.ch-dim-grid input { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 8px; }
.ch-custom [hidden], .ch-field [hidden] { display: none !important; }
.ch-dim-summary { margin: 8px 0; font-size: 14px; }

.ch-cfg-media [hidden] { display: none !important; }
.ch-cfg-scene { position: relative; width: 100%; aspect-ratio: 1; background-size: cover; background-position: center; }
.ch-scene-layer { position: absolute; inset: 0; background-size: 100% 100%; background-position: center; mask-size: 100% 100%; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; }
.ch-scene-mirror { transform: scaleX(-1); }

.ch-cfg-image-note { margin: 0; padding: 8px 12px; font-size: 12px; color: #555; background: #fff; }

/* Dimensional preview is an illustration, not a manufacturing drawing. */
.ch-model { background: #f6f4ef; padding: 18px; }
.ch-model-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-model-tabs button { cursor: pointer; border: 1px solid #b8b6ae; border-radius: 999px; background: #fff; padding: 7px 12px; font: inherit; font-size: 13px; }
.ch-model-tabs button[aria-pressed="true"] { color: #fff; background: #315a43; border-color: #315a43; }
.ch-model-stage { position: relative; height: 320px; overflow: hidden; perspective: 900px; background: radial-gradient(ellipse at center, #fff 0%, #f1eee6 85%); border-radius: 10px; }
.ch-model-orbit { position: absolute; left: 50%; top: 52%; width: 0; height: 0; transform-style: preserve-3d; transform: scale(1) rotateX(-18deg) rotateY(-28deg); transition: transform .7s ease; }
.ch-model-stage.is-focused .ch-model-orbit { transform: scale(1.38) rotateX(-18deg) rotateY(-20deg); }
.ch-model-stage.is-focused[data-axis="depth"] .ch-model-orbit { transform: scale(1.38) rotateX(-18deg) rotateY(-48deg); }
.ch-model-stage.is-focused[data-axis="height"] .ch-model-orbit { transform: scale(1.38) rotateX(-8deg) rotateY(-22deg); }
.ch-model-object { position: absolute; width: 0; height: 0; transform-style: preserve-3d; transform: scale(var(--model-fit, 1)); transition: transform .55s ease; }
.ch-model-box { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transition: width .55s ease, height .55s ease, transform .55s ease; }
.ch-model-face { position: absolute; left: 50%; top: 50%; display: block; backface-visibility: hidden; border: 1px solid rgba(67, 53, 35, .25); box-sizing: border-box; transition: width .55s ease, height .55s ease, transform .55s ease; }
.ch-model-weave .ch-model-face { background-color: #aa9474; background-image: repeating-linear-gradient(0deg, transparent 0 4px, rgba(70,52,33,.25) 5px 6px), repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 5px, transparent 6px 10px); }
.ch-model-cushion .ch-model-face { background: var(--model-cushion, #5c5b5c); }
.ch-model-glass .ch-model-face { background: rgba(184, 203, 192, .8); border-color: #79958b; }
.ch-face-left, .ch-face-bottom { filter: brightness(.74); }
.ch-face-right { filter: brightness(.86); }
.ch-face-top { filter: brightness(1.12); }
.ch-model-measure { position: absolute; left: 14%; right: 14%; bottom: 24px; color: #145b9e; text-align: center; font-weight: 700; font-size: 14px; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.ch-model-stage.is-focused .ch-model-measure { opacity: 1; }
.ch-model-measure::after { content: '↔'; display: block; font-size: 32px; line-height: .8; }
.ch-model-stage[data-axis="height"] .ch-model-measure::after { content: '↕'; }
.ch-model-stage[data-axis="depth"] .ch-model-measure::after { content: '⤢'; }
.ch-model-caption { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.ch-model-disclaimer { margin: 5px 0 0; font-size: 12px; color: #625e58; }
.ch-model-stage.reduced-motion *, .ch-model-stage.reduced-motion .ch-model-orbit { transition-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) { .ch-model-stage *, .ch-model-stage .ch-model-orbit { transition-duration: .01ms !important; } }

@media (max-width: 760px) {
  .ch-cfg.is-sizing .ch-cfg-media { position: sticky; top: 0; z-index: 5; box-shadow: 0 5px 18px rgba(0,0,0,.12); }
  .ch-cfg.is-sizing .ch-model { padding: 8px 10px; }
  .ch-cfg.is-sizing .ch-model-stage { height: 170px; }
  .ch-cfg.is-sizing .ch-model-orbit { transform: scale(.68) rotateX(-18deg) rotateY(-28deg); }
  .ch-cfg.is-sizing .ch-model-stage.is-focused .ch-model-orbit { transform: scale(.9) rotateX(-18deg) rotateY(-20deg); }
  .ch-cfg.is-sizing .ch-model-stage.is-focused[data-axis="depth"] .ch-model-orbit { transform: scale(.9) rotateX(-18deg) rotateY(-48deg); }
  .ch-cfg.is-sizing .ch-model-stage.is-focused[data-axis="height"] .ch-model-orbit { transform: scale(.9) rotateX(-8deg) rotateY(-22deg); }
  .ch-cfg.is-sizing .ch-model-caption { margin-top: 4px; }
  .ch-cfg.is-sizing .ch-model-disclaimer { margin-top: 2px; }
}

/* Keep the set photo above the item-by-item sizing workspace. */
.ch-cfg-media { position: static; }
.ch-cfg > [data-cfg-custom], .ch-cfg-actions { grid-column: 1 / -1; }
.ch-cfg > [data-cfg-custom] { margin: 0; border-top: 1px solid var(--border); padding-top: 22px; }
.ch-size-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin: 18px 0; }
.ch-model { position: sticky; top: 88px; border-radius: 16px; border: 1px solid #e6e1d6; }
.ch-model-tabs { display: grid; grid-template-columns: 42px 1fr 42px; gap: 12px; align-items: center; text-align: center; }
.ch-model-tabs button { border-radius: 50%; width: 42px; height: 42px; padding: 0; font-size: 20px; }
.ch-model-tabs button:disabled { opacity: .35; cursor: default; }
.ch-model-stage { margin-top: 10px; background: radial-gradient(ellipse at 50% 75%, rgba(98,79,53,.15), transparent 42%), linear-gradient(160deg,#fff 0%,#f0ebe0 100%); }
.ch-model-weave .ch-model-face { background-color: #b49e7e; background-image: repeating-linear-gradient(0deg, rgba(87,65,41,.25) 0 2px, transparent 2px 6px), repeating-linear-gradient(110deg, rgba(255,239,205,.4) 0 3px, rgba(86,63,38,.12) 4px 6px, transparent 6px 11px); }
.ch-model-cushion .ch-model-face { border-radius: 7px; border: 1px solid rgba(33,30,28,.28); background-image: linear-gradient(135deg,rgba(255,255,255,.15),transparent 45%,rgba(0,0,0,.16)); box-shadow: inset 0 2px 5px rgba(255,255,255,.1); }
.ch-model-wood .ch-model-face { background: #75563c; }
.ch-sloped-arm .ch-face-left { clip-path: polygon(0 0,100% 24%,100% 100%,0 100%); }
.ch-sloped-arm .ch-face-right { clip-path: polygon(0 24%,100% 0,100% 100%,0 100%); }
.ch-sloped-arm .ch-face-front { clip-path: polygon(0 24%,100% 24%,100% 100%,0 100%); }
.ch-dim-group legend { font-size: 18px; }
.ch-dim-grid label { line-height: 1.35; }
.ch-dim-grid input:invalid { border-color: #b3362d; }
.ch-cfg-actions { max-width: 640px; }
@media (max-width: 760px) {
  .ch-cfg.is-sizing .ch-cfg-media { position: static; box-shadow: none; }
  .ch-size-layout { display: block; }
  .ch-size-layout .ch-model { position: sticky; top: 0; z-index: 5; box-shadow: 0 5px 18px rgba(0,0,0,.12); }
  .ch-size-layout [data-dimension-fields] { padding-top: 12px; }
}

.ch-extra-dimensions { margin-top: 18px; border-top: 1px solid #e5e1da; padding-top: 12px; }
.ch-extra-dimensions summary { cursor: pointer; color: #315a43; font-weight: 600; padding: 5px 0 12px; }
.ch-extra-dimensions .ch-dim-grid { padding-top: 4px; }

/* The standard request button belongs directly after the size choice. */
.ch-cfg > [data-actions-custom] { grid-column: 1 / -1; }
.ch-cfg-form .ch-cfg-actions { margin-top: 8px; }
.ch-games-section { background: #f4f2eb; }
.ch-games-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.ch-games-heading h2 { font-family: Georgia, serif; font-size: clamp(30px,4vw,48px); line-height: 1.1; max-width: 650px; color: #213d2d; margin: 8px 0 12px; }
.ch-games-heading p:not(.ch-kicker) { max-width: 560px; color: #627063; line-height: 1.6; margin: 0; }
.ch-games-more { color: #315a43; font-weight: 600; white-space: nowrap; padding: 10px 0; }
.ch-games-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.ch-game-tile { display: flex; flex-direction: column; color: inherit; text-decoration: none; background: #fff; border: 1px solid #e5e7dd; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(35,57,41,.06); transition: transform .2s,box-shadow .2s; }
.ch-game-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(35,57,41,.13); }
.ch-game-tile:focus-visible { outline: 3px solid #b79658; outline-offset: 4px; }
.ch-game-tile-image { height: clamp(210px,24vw,300px); position: relative; background: #dadfd4; overflow: hidden; }
.ch-game-tile-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ch-game-tile-image span { position: absolute; left: 18px; top: 18px; border-radius: 99px; padding: 7px 11px; color: #fff; font-size: 11px; letter-spacing: .1em; font-weight: 700; background: rgba(29,53,37,.82); }
.ch-game-tile-body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 26px; }
.ch-game-tile-body p:first-child { color: #87917c; letter-spacing: .12em; font-size: 11px; font-weight: 700; margin: 0 0 8px; }
.ch-game-tile-body h3 { font-family: Georgia, serif; color: #263e2e; font-size: clamp(24px,2.5vw,30px); margin: 0 0 9px; }
.ch-game-tile-body p:nth-child(3) { color: #667365; line-height: 1.55; margin: 0 0 18px; }
.ch-game-tile-body strong { margin-top: auto; color: #315a43; }
@media (max-width: 700px) { .ch-games-heading { display: block; } .ch-games-more { display: inline-block; margin-top: 12px; } .ch-games-grid { grid-template-columns: 1fr; gap: 16px; } .ch-game-tile-image { height: 205px; } .ch-game-tile-body { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .ch-game-tile { transition: none; } }
.ch-cfg > [data-actions-custom]:empty, .ch-cfg-form [data-actions-standard]:empty { display: none; }

.ch-dim-grid label small { display: block; margin-top: 3px; color: #806c48; font-size: 12px; }
.ch-dim-grid label small[hidden] { display: none; }

.ch-product h1 {
  margin: 8px 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.14;
  color: #263e2e;
}
.ch-product-description {
  margin-bottom: 24px;
  line-height: 1.65;
  color: #627063;
}
.ch-product .ch-cfg-media img { object-fit: contain; }
.ch-product .ch-cfg-actions { max-width: none; }
.ch-product .ch-cfg-actions > button + button { margin-top: 10px; }
.ch-card-price-note { display: block; margin-top: 6px; font: 400 13px/1.4 var(--font-body); color: var(--text-muted); }
.ch-product { padding: 32px 0 56px; }
.ch-product h1 { font-size: clamp(26px, 2.5vw, 34px); }
.ch-product .ch-cfg-media { overflow: visible; background: transparent; }
.ch-product .ch-cfg-media > img { border-radius: 14px; }
.ch-product .ch-cfg-total { display: block; }
.ch-product [data-cfg-set-name] { display: none; }
.ch-product .ch-cfg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ch-product .ch-cfg-actions > * { grid-column: 1 / -1; }
.ch-product .ch-cfg-actions > button { grid-column: auto; margin: 0; }
.ch-product .ch-cfg-actions > button + button { margin: 0; }
.ch-product .ch-btn-ghost { color: var(--forest); background: #fff; border: 1px solid var(--forest); }
.ch-product .ch-btn-ghost:hover { background: #f4f2eb; }
.ch-product-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ch-product-thumbs button { padding: 3px; border: 2px solid transparent; background: #fff; border-radius: 10px; cursor: pointer; }
.ch-product-thumbs button[aria-pressed="true"] { border-color: var(--forest); }
.ch-product-thumbs button:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.ch-product-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
@media (max-width: 700px) {
  .ch-product { padding: 20px 0 32px; }
  .ch-product .ch-cfg-actions { grid-template-columns: 1fr; }
}
/* Chair-set discounts (prices come from /api/chair-quote) */
.ch-price-old { color: var(--text-muted); font-size: 15px; margin-right: 4px; }
.ch-price-old:empty, .ch-price-discount:empty { display: none; }
.ch-cfg-total .ch-price-discount { color: var(--forest); font-weight: 600; }
.req-item-price s { color: var(--text-muted); font-weight: 400; }
.req-item-price small { color: var(--forest); font-weight: 600; }

/* ── Woven mirror configurator (_mirror_configurator.html) ─────────────── */
.mr-cfg .ch-cfg-media { position: relative; top: 0; }
.mr-cfg .ch-cfg-media img { aspect-ratio: 4 / 5; }
.mr-swatch-brown { background: #6b4226; }
.mr-swatch-natural { background: #cdb48f; }
.mr-scheme { position: absolute; right: 14px; bottom: 14px; width: 116px; padding: 10px 10px 8px; border-radius: 14px; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.mr-scheme-box { position: relative; aspect-ratio: 1; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid rgba(0,0,0,.25); }
.mr-scheme-frame { box-sizing: border-box; border: 5px solid #6b4226; border-radius: 2px; background: linear-gradient(135deg, #eef3f5, #c9d6dc); transition: width .35s ease, height .35s ease; }
.mr-frame-natural { border-color: #cdb48f; }
.mr-scheme-label { margin: 6px 0 0; font-size: 12px; text-align: center; color: var(--text); }
