/* assets/types/room.css: GENERATED by build.py assets. Verbatim copies of the page-type v3 design:
   page-types/room/shared/room.css, page-types/room/v3/page.css
   Do not edit here; the source stays in page-types/. */
/* ---- page-types/room/shared/room.css ---- */
/* Room page type: parts shared by v1-v4 (kitchen sample). d12 tokens only; every class starts with pt-. */

/* consultation line under the hero buttons */
.pt-note { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.pt-note .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ink-3); }

/* small labels (not buttons) */
.pt-kicker { display: block; font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.pt-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.pt-tag .i { width: 16px; height: 16px; color: var(--ink-2); }
.sec--white .pt-tag { background: var(--paper); }
.sec:not(.sec--white) .pt-tag { background: var(--white); }

/* icon tile */
.pt-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--deco-soft); color: var(--deco); }
.pt-ico .i, .pt-ico svg { width: 22px; height: 22px; }
.pt-ico svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* product card (photo on top) */
.pt-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; height: 100%; }
.pt-card__media { aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.pt-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pt-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pt-card__name { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.pt-card__line { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.pt-card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--iris); }
.pt-card__more .i { width: 18px; height: 18px; }
a.pt-card:hover { border-color: var(--line-strong); }
a.pt-card:hover .pt-card__more { text-decoration: underline; text-underline-offset: 4px; }

/* fabric / colour tiles (real fabric photos) */
.pt-fabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: start; }
.pt-fab { display: grid; gap: 4px; width: 72px; font-size: 15px; line-height: 1.25; color: var(--ink-2); }
.pt-fab img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-xs); border: 1px solid var(--line); background: var(--mist); }

/* hard-to-reach tip (motor, cord-free) */
.pt-reach { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pt-reach li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pt-reach strong { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.pt-reach span.pt-reach__t { display: block; font-size: 16px; line-height: 1.5; color: var(--ink-2); margin-top: 2px; }
.pt-somfy { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.pt-somfy .i { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--ink-3); }

/* other rooms links */
.pt-rooms-foot { margin-top: 28px; }

/* body links inside short copy */
.pt-inline { display: inline-block; padding: 11px 0; margin: -11px 0; color: var(--iris-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pt-inline:hover { color: var(--iris-h); }

/* the phone call/book bar must never cover the last button */
@media (max-width: 720px) {
  html:not(.is-signedin) .page-pt .footer, html:not(.is-signedin) body.page-pt .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* gentle motion only when wanted */
@media (prefers-reduced-motion: reduce) {
  .page-pt *, .page-pt *::before, .page-pt *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* the phone number in the questions heading: a full 44px tap target */
.page-pt .faq__head a[href^="tel:"] { padding: 12px 0; margin: -12px 0; }

/* ---------- after the QA review (27 Sep) ---------- */

/* WCAG 2.2 2.4.11: a focused item never ends up under the phone Call/Book bar (69px tall) */
@media (max-width: 720px) {
  html:not(.is-signedin) { scroll-padding-bottom: calc(69px + env(safe-area-inset-bottom) + 12px); }
}

/* easier reading: sentences at 16px or more, labels at 15px or more, no all-caps labels */
.page-pt main .eyebrow { font-size: 15px; letter-spacing: 0; text-transform: none; }
.page-pt main .faq__head .note { font-size: 16px; color: var(--ink-2); }
.page-pt main .cta__meta { font-size: 16px; }
.page-pt main .callbox__sub { font-size: 16px; line-height: 1.45; }
.page-pt main .callbox__help { font-size: 16px; line-height: 1.45; }

/* comfortable line length: about 65-70 characters (Geist averages about 0.45em a character) */
.page-pt :is(.pt-somfy, .pt-pair__foot, .pt-rate-foot, .local p) { max-width: 30em; }
.page-pt .acc__a { max-width: calc(30em + 52px); }
@media (max-width: 720px) { .page-pt .acc__a { max-width: 30em; } }

/* an arrow that points down: the link jumps down the page, nothing opens */
.pt-down { transform: rotate(90deg); }

/* the "All rooms" tile: a tinted tile with words, so it never looks like a missing photo */
.pt-all8 { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); text-align: center; }

/* no double gap when the local band follows a section of the same colour */
.sec:not(.sec--white) + .pt-local { padding-top: 0; }

/* big lede lines stay near 65 characters too */
.page-pt main .lede { max-width: 32em; }

/* ---- page-types/room/v3/page.css ---- */
/* Room v3 "Rated side by side": a rating chart with drawers under each row. d12 tokens only. */

/* hero: one wide photo, the words under it */
.pt-hero3 { padding: 32px 0 72px; }
.pt-hero3__media { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 6.4; background: var(--mist); }
.pt-hero3__media img { width: 100%; height: 100%; object-fit: cover; }
.pt-hero3__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-top: 40px; }
.pt-hero3__copy { display: grid; gap: 18px; }
.pt-hero3__copy .h1 { font-size: clamp(36px, 4.2vw, 56px); max-width: 16ch; }
.pt-hero3__side { display: grid; gap: 16px; justify-items: start; }
.pt-hero3__side .link { margin-top: -4px; }

/* legend */
.pt-rate-head { align-items: end; }
.pt-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); font-size: 15px; font-weight: 500; color: var(--ink); }
.pt-legend__i { display: inline-flex; align-items: center; gap: 8px; }

/* the chart */
.pt-rate { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pt-rate thead th { padding: 0 12px 14px; font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; vertical-align: bottom; line-height: 1.3; border-bottom: 1px solid var(--line-strong); }
.pt-rate thead th:first-child { width: 34%; padding-left: 0; }
.pt-rate thead th:last-child { width: 13%; }
.pt-rate__row > th, .pt-rate__row > td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; font-weight: 400; }
.pt-rate__row > th { padding-left: 0; }
.pt-rate__row { cursor: pointer; }
.pt-rate__row:hover > th, .pt-rate__row:hover > td { background: var(--paper); }
.pt-rate__row.is-open > th, .pt-rate__row.is-open > td { background: var(--iris-soft); border-bottom-color: transparent; }
.pt-rate__btn { display: grid; grid-template-columns: 72px minmax(0, 1fr) 32px; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 4px 0 4px 4px; background: none; border: 0; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.pt-rate__thumb { display: block; width: 72px; height: 54px; border-radius: var(--r-xs); overflow: hidden; background: var(--mist); }
.pt-rate__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pt-rate__name { font-size: 17px; font-weight: 600; line-height: 1.3; }
.pt-rate__chev { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); }
.pt-rate__chev .i { width: 18px; height: 18px; }
.pt-rate__btn[aria-expanded="true"] .pt-rate__chev { background: var(--white); transform: rotate(180deg); }
/* the rating word shows next to the bars at every size (it wraps under the bars when the column is narrow) */
.pt-rate .lvl { flex-wrap: wrap; gap: 4px 8px; white-space: normal; }
.pt-rate .pt-lvlw { font-size: 15px; font-weight: 500; line-height: 1.25; color: var(--ink-2); white-space: nowrap; }
.pt-rate .lvl i b { width: 20px; height: 8px; border-radius: 4px; }
.pt-motor { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); }
.pt-motor--yes { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.pt-motor--tilt { color: var(--ink); }

/* drawer under the row (without JS every drawer simply shows) */
html.pt-js .pt-rate__drawer:not(.is-open) { display: none; }
html:not(.pt-js) .pt-rate__chev { visibility: hidden; }
.pt-rate__drawer > td { padding: 0 0 20px; border-bottom: 1px solid var(--line); background: var(--iris-soft); }
.pt-dr { display: grid; grid-template-columns: 300px minmax(0, 1fr) minmax(0, 320px); gap: 28px; align-items: start; margin: 0 16px; padding: 20px; background: var(--white); border-radius: var(--r); border: 1px solid var(--iris-line); cursor: default; }
.pt-dr__media { aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; background: var(--mist); }
.pt-dr__media img { width: 100%; height: 100%; object-fit: cover; }
.pt-dr__text { display: grid; gap: 10px; }
.pt-dr__h { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.pt-dr__text p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.pt-dr__text strong { color: var(--ink); font-weight: 600; }
.pt-dr__lines { display: grid; gap: 8px; margin-top: 4px; }
.pt-dr__line { display: grid; gap: 1px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); text-decoration: none; }
.pt-dr__line strong { font-size: 15.5px; color: var(--iris-text); }
.pt-dr__line span { font-size: 15px; color: var(--ink-2); }
.pt-dr__line:hover { border-color: var(--line-strong); }
.pt-dr__side { display: grid; gap: 10px; align-content: start; }
.pt-dr__k { font-size: 15px; font-weight: 600; color: var(--ink); }
.pt-dr__links { display: grid; justify-items: start; gap: 0; margin-top: 4px; }

.pt-rate-foot { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.pt-rate-foot .i { flex: none; width: 22px; height: 22px; color: var(--ink-2); margin-top: 1px; }

/* two screens, same kitchen */
.pt-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pt-pair__fig { margin: 0; display: grid; gap: 14px; }
.pt-pair__fig img { width: 100%; height: auto; aspect-ratio: 1200 / 1037; object-fit: cover; border-radius: var(--r); background: var(--mist); }
.pt-pair__fig figcaption { display: grid; gap: 2px; }
.pt-pair__fig strong { font-size: 18px; font-weight: 600; }
.pt-pair__fig span { font-size: 16px; color: var(--ink-2); }
.pt-pair__foot { margin-top: 24px; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 30em; }

/* trade-offs as this-or-that cards */
.pt-vss { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pt-vs { display: grid; grid-template-rows: auto 1fr; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.pt-vs__h { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.pt-vs__two { display: grid; grid-template-rows: 1fr auto 1fr; gap: 10px; }
.pt-vs__two > div { padding: 14px 16px; border-radius: var(--r-s); background: var(--paper); }
.pt-vs__k { font-size: 15px; font-weight: 600; color: var(--ink); }
.pt-vs__two p + p { margin-top: 3px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.pt-vs__or { justify-self: center; font-family: var(--mono); font-size: 15px; color: var(--ink-2); }

/* hard to reach */
.pt-reach3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pt-reach3__head { display: grid; gap: 18px; }

/* other rooms as a plain list */
.pt-roomrows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.pt-roomrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 16px; align-items: center; min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pt-roomrow__t strong { display: block; font-size: 17px; font-weight: 600; }
.pt-roomrow__t span { display: block; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.pt-roomrow > .i { color: var(--iris); }
.pt-roomrow:hover strong { color: var(--iris-text); }

@media (prefers-reduced-motion: no-preference) {
  .pt-rate__chev { transition: transform .2s var(--ease); }
}

/* tablet */
@media (max-width: 1024px) {
  .pt-hero3__grid { gap: 24px 40px; margin-top: 28px; }
  .pt-rate thead th:first-child { width: 36%; }
  .pt-rate thead th { font-size: 15px; padding: 0 8px 12px; }
  .pt-rate__row > th, .pt-rate__row > td { padding: 10px 8px; }
  .pt-rate__btn { grid-template-columns: 56px minmax(0, 1fr) 32px; gap: 10px; }
  .pt-rate__thumb { width: 56px; height: 44px; }
  .pt-rate__name { font-size: 16px; }
  .pt-rate .lvl i b { width: 15px; }
  .pt-dr { grid-template-columns: 220px minmax(0, 1fr); }
  .pt-dr__side { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; column-gap: 20px; }
  .pt-dr__k { grid-column: 1 / -1; }
  .pt-vss { grid-template-columns: 1fr; }
  .pt-vs { grid-template-rows: auto; }
  .pt-vs__two { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: auto; align-items: stretch; }
  .pt-vs__or { align-self: center; }
  .pt-reach3 { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .pt-hero3__grid { grid-template-columns: 1fr; align-items: start; }
  .pt-hero3__media { aspect-ratio: 16 / 8; }
  .pt-rate .pt-motor { font-size: 15px; padding: 0 8px; }
  .pt-rate thead th:last-child { width: 14%; }
}

/* phone: every row becomes a card with labelled bars */
@media (max-width: 760px) {
  .pt-hero3 { padding: 16px 0 48px; }
  .pt-hero3__media { aspect-ratio: 4 / 3; border-radius: 18px; }
  .pt-hero3__grid { margin-top: 20px; gap: 16px; }
  .pt-hero3__copy { gap: 14px; }
  .pt-hero3__side .actions { width: 100%; }
  .pt-hero3__side .actions .btn { flex: 1 1 100%; }
  .pt-legend { width: 100%; gap: 6px 14px; font-size: 15px; }
  .pt-rate, .pt-rate tbody { display: block; }
  .pt-rate thead { display: none; }
  .pt-rate__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
  .pt-rate__row.is-open { border-color: var(--iris-line); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .pt-rate__row:hover > th, .pt-rate__row:hover > td { background: none; }
  .pt-rate__row > th { grid-column: 1 / -1; display: block; padding: 8px 12px 8px 8px; border-bottom: 1px solid var(--line); }
  .pt-rate__row.is-open > th { background: var(--iris-soft); border-bottom-color: var(--iris-line); }
  .pt-rate__row > td { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .pt-rate__row > td:nth-of-type(odd) { border-right: 1px solid var(--line); }
  .pt-rate__row > td:last-child { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; min-height: 44px; border-right: 0; border-bottom: 0; }
  .pt-rate__row > td::before { content: attr(data-l); font-size: 15px; line-height: 1.3; color: var(--ink-2); }
  .pt-rate__row.is-open > td { background: none; border-bottom-color: var(--line); }
  .pt-rate .pt-lvlw { font-weight: 600; color: var(--ink); }
  .pt-rate .lvl i b { width: 16px; height: 7px; }
  .pt-rate__btn { grid-template-columns: 64px minmax(0, 1fr) 32px; min-height: 60px; padding: 0; }
  .pt-rate__thumb { width: 64px; height: 48px; }
  .pt-rate__name { font-size: 16.5px; }
  .pt-rate__drawer { display: block; }
  .pt-rate__drawer > td { display: block; padding: 0; border: 1px solid var(--iris-line); border-top: 0; border-radius: 0 0 var(--r) var(--r); overflow: hidden; }
  .pt-dr { grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 16px; border: 0; border-radius: 0; }
  .pt-dr__media { aspect-ratio: 16 / 10; }
  .pt-dr__side { grid-template-columns: 1fr; }
  .pt-pair { grid-template-columns: 1fr; gap: 20px; }
  .pt-vs { padding: 18px; }
  .pt-vs__two { grid-template-columns: 1fr; grid-template-rows: auto; }
  .pt-roomrows { grid-template-columns: 1fr; }
}

/* ---- site additions (finisher fixes, 27 Sep 2026; sitegen/assets.py APPEND) ---- */
/* ratings at tablet widths: the word always sits under the bars, so every row looks the same */
@media (min-width: 761px) and (max-width: 1180px) {
  .pt-rate .lvl { flex-direction: column; align-items: flex-start; gap: 4px; }
}
/* phone rating cards: label at the top, bars at the bottom, so the two cells of a row line up */
@media (max-width: 760px) {
  .pt-rate__row > td:not(:last-child) { justify-content: space-between; }
}

