/* ============================================================
   QUENTEX — additions on top of main.css (Warm Premium v2,
   approved 22.08.2026). Same tokens, radii, cards and shadows;
   only components the v2 site did not have yet.
   ============================================================ */

/* ---------- header action ---------- */
.nav .btn-nav { padding: 10px 20px; font-size: .88rem; color: var(--paper); background: var(--clay); border: 1px solid var(--clay); border-radius: 999px; }
.nav .btn-nav:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: var(--paper); }
.hero-visual .ph img { object-position: center; }

/* ---------- product cards: extras ---------- */
.prod .ph { aspect-ratio: 4/4.4; }
.prod .fit { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.prod .buy .btn { padding: 13px 22px; font-size: .92rem; }
.prod .more { font-size: .88rem; font-weight: 650; color: var(--clay); margin-top: 14px; display: inline-block; }
.prod .more:hover { color: var(--clay-deep); }
.prod a.ph { display: block; }
.note { font-size: .88rem; color: var(--taupe); margin-top: 26px; }

/* ---------- steps with photos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.step .ph { aspect-ratio: 4/4.2; overflow: hidden; }
.step .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.step:hover .ph img { transform: scale(1.04); }
.step .body { padding: 24px 28px 28px; }
.step .n { font-family: var(--font-display); font-style: italic; color: var(--clay); font-size: 1.1rem; margin-bottom: 6px; }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- rooms gallery ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.room { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.room:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.room .ph { aspect-ratio: 4/3.4; overflow: hidden; }
.room .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.room:hover .ph img { transform: scale(1.04); }
.room .body { padding: 22px 26px 26px; }
.room h3 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 6px; }
.room p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- planner (calc card) ---------- */
.calc select { appearance: auto; }
.plan-svg { background: var(--cream); border-radius: 16px; padding: 18px; margin: 4px 0 22px; }
.plan-svg svg { width: 100%; height: auto; max-height: 300px; display: block; }
.calc-out .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.calc-out .row3 b { display: block; font-family: var(--font-display); font-weight: 460; font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.calc-out .row3 span { font-size: .8rem; color: var(--taupe); }
.calc .hint { font-size: .85rem; color: var(--taupe); margin-top: 18px; }

/* ---------- compare table ---------- */
.cmp-wrap { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; min-width: 640px; }
.ctable th, .ctable td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); font-size: .95rem; vertical-align: top; }
.ctable thead th { font-family: var(--font-display); font-weight: 460; font-size: 1.3rem; background: var(--cream); }
.ctable tbody th { color: var(--taupe); font-weight: 550; width: 26%; }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: none; }
.ctable .btn { padding: 11px 20px; font-size: .88rem; }

/* ---------- order form (inside sec-ink) ---------- */
.order-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.order-grid h2 { color: var(--paper); margin-bottom: 18px; }
.order-points { list-style: none; display: grid; gap: 14px; margin-top: 34px; }
.order-points li { display: flex; gap: 12px; color: #D8CBBB; font-size: .98rem; }
.order-points li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--amber); }
.order-card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lift); }
.order-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-card label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); margin: 16px 0 8px; }
.order-card input, .order-card select, .order-card textarea {
  width: 100%; padding: 14px 16px; font-family: var(--font-body); font-size: 1rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink);
}
.order-card textarea { min-height: 92px; resize: vertical; }
.order-card input:focus, .order-card select:focus, .order-card textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: var(--clay); }
.order-card .btn { width: 100%; justify-content: center; margin-top: 22px; }
.order-card .err { color: var(--clay-deep); font-weight: 600; font-size: .92rem; min-height: 1.3em; margin-top: 12px; }
.order-card .alt { font-size: .88rem; color: var(--ink-soft); margin-top: 14px; }
.order-card .alt a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- product page ---------- */
.crumbs { font-size: .85rem; color: var(--taupe); padding-top: 28px; }
.crumbs a:hover { color: var(--clay); }
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; padding: 28px 0 96px; }
.pdp-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4/4.6; background: var(--sand); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.pdp-thumbs button { border: 2px solid transparent; border-radius: 14px; overflow: hidden; padding: 0; cursor: pointer; aspect-ratio: 1; background: var(--sand); transition: border-color .2s, transform .2s; }
.pdp-thumbs button:hover { transform: translateY(-2px); }
.pdp-thumbs button[aria-current="true"] { border-color: var(--clay); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-card { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 36px 36px 32px; }
.buy-card h1 { font-size: clamp(2rem, 3vw, 2.7rem); margin-bottom: 10px; }
.buy-card .price { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.buy-card .price small { font-family: var(--font-body); font-size: .82rem; color: var(--taupe); margin-left: 10px; }
.buy-card .lede { font-size: 1rem; margin: 18px 0 20px; }
.size-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.size-pills a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 650; color: var(--ink-soft); transition: border-color .2s, color .2s; }
.size-pills a:hover { border-color: var(--clay); color: var(--clay); }
.size-pills a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.spec-list { display: grid; gap: 9px; margin-bottom: 22px; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.spec-list div span:first-child { color: var(--taupe); }
.spec-list div span:last-child { font-weight: 650; text-align: right; }
.ship-box { background: var(--cream); border-radius: 14px; padding: 16px 20px; font-size: .9rem; color: var(--ink-soft); display: grid; gap: 4px; margin-bottom: 22px; }
.ship-box b { color: var(--ink); }
.buy-card .row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-card .row .btn { flex: 1; justify-content: center; }
.full-specs { max-width: 860px; }
.full-specs .spec-list div { font-size: 1rem; padding-bottom: 12px; }

/* ---------- inner page hero with picture ---------- */
.page-hero .lede { margin-top: 4px; }
.page-hero .row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.wide-ph { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 16/7; background: var(--sand); }
.wide-ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- certificates / small cards ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- legal prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.7rem; margin: 46px 0 14px; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.prose b { color: var(--ink); }
.prose .meta { font-size: .85rem; color: var(--taupe); }

/* ---------- cookie consent ---------- */
.cc { position: fixed; z-index: 200; left: 20px; right: 20px; bottom: 20px; max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-soft); border-radius: 18px; box-shadow: var(--shadow-lift); padding: 20px 24px; display: none; gap: 20px; align-items: center; }
.cc.show { display: flex; }
.cc p { font-size: .9rem; color: var(--ink-soft); flex: 1; }
.cc p a { color: var(--clay); text-decoration: underline; }
.cc .btns { display: flex; gap: 10px; flex: none; }
.cc .btn { padding: 11px 22px; font-size: .9rem; }

/* ---------- footer extras ---------- */
.foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; }
.site-foot a[data-qx-cookies] { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1020px) {
  .steps, .rooms { grid-template-columns: 1fr 1fr; }
  .order-grid, .pdp { grid-template-columns: 1fr; gap: 40px; }
  .buy-card { position: static; }
  .certs { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .steps, .rooms, .certs { grid-template-columns: 1fr; }
  .order-card { padding: 26px 22px; }
  .order-card .row { grid-template-columns: 1fr; gap: 0; }
  .calc-out .row3 b { font-size: 1.3rem; }
  .wide-ph { aspect-ratio: 4/3; border-radius: 20px; }
  .buy-card { padding: 26px 22px; }
  .nav .btn-nav { align-self: flex-start; }
  .cc { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; }
  .cc .btns .btn { flex: 1; justify-content: center; }
  .pdp-thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
}

/* grid children may shrink below their content (long <select> options) */
.calc > *, .order-grid > *, .pdp > *, .tech-grid > *, .hero-grid > * { min-width: 0; }
.calc select { max-width: 100%; text-overflow: ellipsis; }

/* tablet: the v2 menu does not fit with the order button, switch to the burger earlier */
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: block; background: none; border: none; font-size: 1.6rem; color: var(--ink); cursor: pointer; }
  .nav.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; background: var(--paper); padding: 28px 32px 34px;
    border-bottom: 1px solid var(--line); gap: 22px; box-shadow: var(--shadow-card);
  }
}
@media (max-width: 680px) {
  .full-specs .spec-list div { flex-direction: column; gap: 2px; }
  .full-specs .spec-list div span:last-child { text-align: left; }
  .buy-card .row .btn { flex-basis: 100%; }
  .line-card .cta-row { flex-wrap: wrap; gap: 14px; }
}
