/* <bredatag-designer> BredaBeds Murphy Bed Designer (/designer): the page's only stylesheet (the theme's Tailwind file is
   not loaded there). It began as the mockup's (configurator-3d, apps/designer); what the shop's page adds is at the
   end ("the shop's side").
   The look is the Color Explorer's (apps/observatory), which this page grew out of: the same type and brand colors
   as bredabeds.com (Manrope, the Swaying Elizabeth headline face, ink #1f1d1a, orange), the same gray surrounds, light
   and dark, switched together with the scene's backdrop (data-surround), the same floating panels over a picture that
   fills the window. Everything around a picture is kept gray: a colored interface would shift how the colors in the
   picture read. What is new here is at the end: the build panel, the price, the cart. */

@font-face { font-family: "Manrope"; src: url("../../fonts/generated/manrope-latin-200-800-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope fallback"; src: local(Arial), local("Liberation Sans"), local(Arimo); size-adjust: 99.91%; ascent-override: 106.7%; descent-override: 30.03%; line-gap-override: 0%; }
/* The site's headline face and Manrope are the theme's own files (web/fonts). */
@font-face { font-family: "Swaying Elizabeth"; src: local("Swaying Elizabeth"), url("../../fonts/swaying-elizabeth/SwayingElizabeth-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; size-adjust: 115%; }
@font-face { font-family: "Swaying Elizabeth"; src: local("Swaying Elizabeth Bold"), url("../../fonts/swaying-elizabeth/SwayingElizabeth-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; size-adjust: 115%; }
@font-face { font-family: "Swaying Elizabeth fallback"; src: local(Georgia), local(Gelasio); size-adjust: 114.218%; ascent-override: 94.64%; descent-override: 24.16%; line-gap-override: 0%; }

:root {
  --ink: #1f1d1a;
  --paper: #fbfaf7;
  --brand: #ea690a;
  --brand-deep: #c2410c;
  --font-ui: "Manrope", "Manrope fallback", Arial, sans-serif;
  --font-display: "Swaying Elizabeth", "Swaying Elizabeth fallback", Georgia, serif;
  --bar-h: 64px;
  --edge: 20px;
  --choices-w: 336px;
  --views-w: 184px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }      /* a phone held sideways leaves the type the size it is set in */
body { background: #d6d6d6; font-family: var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }      /* two quick taps on a control are two taps, not the browser's zoom */
h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }

.obs {
  --layout: wide;         /* wide: panels float over a picture that fills the window. compact: see "compact" below */
  --buy: panel;           /* where the price stands: at the foot of the options' panel, or as a bar of the page itself */
  --page: var(--surround);
  position: fixed; inset: 0; overflow: hidden;
  background: var(--page); color: var(--text);
  font-size: 14px; line-height: 1.45;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.obs[data-surround="light"] {
  --surround: #d4d4d4; --text: #1f1d1a; --muted: #57524a; --line: rgba(31, 29, 26, .13);
  --panel: rgba(250, 249, 246, .90); --panel-solid: #f7f5f1; --panel-shadow: 0 14px 34px -18px rgba(0, 0, 0, .38);
  --control: rgba(31, 29, 26, .075); --control-hover: rgba(31, 29, 26, .13); --on: #1f1d1a; --on-text: #fbfaf7; --ring: #1f1d1a;
  --chip-line: rgba(0, 0, 0, .16);
  --focus: #c2410c; --rim: #7d786f;
}
.obs[data-surround="dark"] {
  --surround: #2b2b2b; --text: #f3f0ea; --muted: #b9b2a7; --line: rgba(243, 240, 234, .15);
  --panel: rgba(34, 32, 30, .90); --panel-solid: #232120; --panel-shadow: 0 14px 34px -18px rgba(0, 0, 0, .8);
  --control: rgba(243, 240, 234, .10); --control-hover: rgba(243, 240, 234, .17); --on: #f3f0ea; --on-text: #1f1d1a; --ring: #f3f0ea;
  --chip-line: rgba(255, 255, 255, .17);
  --focus: #f7a35c; --rim: #8f8a81;
}
/* Two colors for what a hand or an eye must find (WCAG 1.4.11: 3 to 1 against what lies beside it).
   --focus  the ring round what the keyboard is on. The brand's orange is 2.96 to 1 on the light panels: its deeper
            shade is 4.8 to 1 there and 3.5 on the surround; on the dark backdrop a lighter one, 5.9 to 1 and more.
   --rim    the edge of a control that would not stand out from its panel by itself: a white color chip on a near-white
            panel, a switch that is off, the part of the slider the bed has not come to. 3.3 to 1 and more. */
.about, .menu { --focus: #c2410c; }      /* the dialogs and the menu are light whatever the backdrop */

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
/* What lies on the picture can lie on any color: its ring is dark beside light, so one of the two always shows. */
.canvas:focus-visible { outline: 2px solid #1f1d1a; outline-offset: -3px; }
.canvas:focus-visible::after { content: ""; position: absolute; z-index: 4; inset: 3px; border: 2px solid #fff; border-radius: 5px; pointer-events: none; }
.divider:focus-visible { outline: 2px solid #1f1d1a; outline-offset: -2px; box-shadow: inset 0 0 0 4px #fff; border-radius: 8px; }
.condbtn:focus-visible, .sharebtn:focus-visible, .dimsbtn:focus-visible, .opener:focus-visible, .divider-badge:focus-visible { outline-color: #1f1d1a; box-shadow: 0 0 0 2px #fff; }
.obs[data-surround="dark"] .condbtn:focus-visible, .obs[data-surround="dark"] .sharebtn:focus-visible, .obs[data-surround="dark"] .opener:focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px #1f1d1a; }

/* ------------------------------------------------------------------ panels (shared look) */
.modes, .choices, .views, .dock, .opener, .ruler, .note, .bar-start, .bar-end {
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.05); backdrop-filter: blur(18px) saturate(1.05);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}

/* ------------------------------------------------------------------ top bar */
.bar { position: absolute; z-index: 6; top: 0; left: 0; right: 0; height: var(--bar-h); padding: 0 var(--edge); display: flex; align-items: center; gap: 14px; pointer-events: none; }
.bar > * { pointer-events: auto; }
.bar-start { display: flex; align-items: center; gap: 8px; width: var(--choices-w); height: 44px; padding: 0 12px 0 5px; border-radius: 14px; flex: none; }
/* The three lines of the shop's menu, as bredabeds.com has them at the start of its bar on a phone: a soft square button. */
.menubtn { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--control); transition: background-color .2s; }
.menubtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
/* (What a control looks like under a pointer is said only where a pointer can hover: on a touch screen it would stay that way after a tap.) */
@media (hover: hover) { .menubtn:hover { background: var(--control-hover); } }
.brand { display: block; width: 80px; flex: none; line-height: 0; border-radius: 6px; }
.brand svg { width: 100%; height: auto; display: block; }
.logo-word { fill: #707173; transition: fill .35s var(--ease); }
.obs[data-surround="dark"] .logo-word { fill: #d8d3ca; }
.title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 28px; letter-spacing: .02em; white-space: nowrap; padding-left: 10px; border-left: 1px solid var(--line); }
.tab-short { display: none; }
.modes { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; padding: 4px; border-radius: 14px; gap: 2px; }
.modes button { padding: 8px 20px; border-radius: 10px; font-weight: 650; font-size: 14px; white-space: nowrap; transition: background-color .2s, color .2s; }
@media (hover: hover) { .modes button:hover { background: var(--control); } }
.modes button[aria-selected="true"] { background: var(--on); color: var(--on-text); }
.bar-end { display: flex; align-items: center; gap: 2px; height: 44px; padding: 4px; border-radius: 14px; flex: none; margin-left: auto; }
.quiet { padding: 8px 11px; border-radius: 10px; font-weight: 650; font-size: 13px; color: var(--muted); white-space: nowrap; }
@media (hover: hover) { .quiet:hover { color: var(--text); background: var(--control); } }
.cta { display: inline-block; margin-left: 2px; padding: 8px 15px; border-radius: 10px; background: var(--brand-deep); color: #fff; font-weight: 700; font-size: 14px; line-height: 20px; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .cta:hover { background: #a8370a; } }
.cta-short { display: none; }
.sheet-foot { display: none; }
.condbtn, .summary, .sharebtn { display: none; }      /* for a page without room for a toolbar, for the panel's foot or for a word in the bar: see "compact" */
/* Which view the picture shows now, said on it for a moment after a finger went to the next one. */
.seen { position: absolute; z-index: 5; left: 50%; top: calc(var(--bar-h) + 14px); transform: translate(-50%, -6px); padding: 6px 13px; border-radius: 999px; background: rgba(31, 29, 26, .86); color: #fff;
  font-size: 12.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.seen b { font-weight: 750; margin-right: 5px; }
.seen.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ the picture */
.stage { position: absolute; inset: 0; }
.canvas { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.canvas.is-dragging { cursor: grabbing; }
.pane { position: absolute; inset: 0; overflow: hidden; }
.obs[data-compare="split"] .pane[data-pane="b"] { clip-path: inset(0 0 0 var(--split, 50%)); }
.obs[data-compare="side"] .pane[data-pane="a"] { right: calc(100% - var(--mid, 50%)); }
.obs[data-compare="side"] .pane[data-pane="b"] { left: var(--mid, 50%); }
.frame { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.frame.is-box { border-radius: 8px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 26px 50px -30px rgba(0, 0, 0, .6); }
.frame.is-box::after { position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: #1f1d1a; color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 0 1.5px #fff; }
.pane[data-pane="a"] .frame.is-box::after { content: "A"; }
.pane[data-pane="b"] .frame.is-box::after { content: "B"; }
.scene { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 1; transition: opacity .32s var(--ease); }
.scene.is-entering, .scene.is-leaving { opacity: 0; }
.flip { position: absolute; inset: 0; isolation: isolate; }
.flip.is-entering { opacity: 0; }                     /* the same picture with other files: its new stack fades in, whole, over the one that stands */
.flip.is-fading { transition: opacity .26s linear; will-change: opacity; }
.scene.is-moving .flip { will-change: opacity; }      /* a bed on its way between two of its pictures: the second lies over the first, as far through as the bed has come */
.flip.is-mirrored { transform: scaleX(-1); }
.grp { position: absolute; inset: 0; isolation: isolate; }
.grp.is-added { mix-blend-mode: plus-lighter; }
.tint { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none; }
.layer { position: absolute; overflow: hidden; }
.layer img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; -webkit-user-drag: none; }
.layer img.is-cut { inset: auto; }

.divider { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--split, 50%); width: 44px; margin-left: -22px; cursor: ew-resize; touch-action: none; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.divider::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.divider-grip { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 6px 14px -4px rgba(0, 0, 0, .5); }
.divider-grip::before, .divider-grip::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid #1f1d1a; border-width: 0 0 2px 2px; }
.divider-grip::before { left: 9px; transform: translateY(-50%) rotate(45deg); }
.divider-grip::after { right: 9px; transform: translateY(-50%) rotate(-135deg); }
.divider-badge { position: absolute; z-index: 3; top: calc(var(--bar-h) + 18px); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.divider-badge span { width: 26px; height: 26px; border-radius: 50%; background: #1f1d1a; color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 0 1.5px #fff; }
.divider-badge[data-side="a"] { left: calc(var(--split, 50%) - 36px); }
.divider-badge[data-side="b"] { left: calc(var(--split, 50%) + 10px); }

.busy { position: absolute; z-index: 7; top: 0; left: 0; right: 0; height: 3px; overflow: hidden; opacity: 0; transition: opacity .2s; pointer-events: none; }
.busy.is-on { opacity: 1; }
.busy::before { content: ""; position: absolute; top: 0; bottom: 0; width: 34%; background: var(--brand); animation: busy 1.1s linear infinite; }
@keyframes busy { from { left: -34%; } to { left: 100%; } }

.ruler { position: absolute; z-index: 4; padding: 7px 10px 0; border-radius: 9px; line-height: 0; pointer-events: none; }
.ruler svg { display: block; overflow: visible; }
.ruler path { fill: none; stroke: currentColor; stroke-width: 1.25; }
.ruler text { fill: currentColor; font: 600 11px var(--font-ui); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ the bottom toolbar: backdrop, light, zoom */
.sheet { display: contents; }
.dock { position: absolute; z-index: 5; left: 50%; bottom: var(--edge); display: flex; align-items: stretch; border-radius: 16px; padding: 8px 6px; }
.conditions { display: flex; align-items: stretch; }
.field { padding: 0 10px; display: flex; flex-direction: column; gap: 5px; }
.field + .field { border-left: 1px solid var(--line); }
.field-label { font-size: 12px; font-weight: 650; color: var(--muted); padding-left: 2px; }
.seg { display: flex; padding: 3px; border-radius: 10px; background: var(--control); gap: 2px; }
.seg button { position: relative; padding: 6px 12px; border-radius: 8px; font-weight: 650; font-size: 13px; line-height: 1.2; white-space: nowrap; display: flex; align-items: center; gap: 7px; transition: background-color .18s, color .18s; }
@media (hover: hover) { .seg button:hover { background: var(--control-hover); } }
.seg button[aria-checked="true"] { background: var(--on); color: var(--on-text); }
.seg button:disabled { opacity: .38; cursor: default; background: none; }
.seg-sub { font-weight: 550; font-size: 11.5px; opacity: .72; font-variant-numeric: tabular-nums; }
.seg-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .28); }
.seg-two { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
/* The bed's size, on the picture: the closed cabinet's width, height and depth; a button that opens the Dimensions
   box. Wide: under the bar, at the upper left of the open picture, beside the options' panel (designer.js, placeDims:
   clear of the Views panel on the right, of Compare's A and B in the middle and of the slider below). Compact: see there. */
.dimsbtn { position: absolute; z-index: 5; top: calc(var(--bar-h) + 12px); left: 380px; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px 0 10px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--panel-shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); font-weight: 650; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease); }
.dimsbtn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dimsbtn b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--on); color: var(--on-text); font-size: 10.5px; font-weight: 800; }
@media (hover: hover) { .dimsbtn:hover { background: var(--panel-solid); } }
.zoom { display: flex; align-items: center; gap: 2px; }
.dock .zoom { margin: 0 4px 0 0; padding-left: 12px; border-left: 1px solid var(--line); align-self: stretch; }
.zoom button { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; }
@media (hover: hover) { .zoom button:hover:not(:disabled) { background: var(--control-hover); } }
.zoom button:disabled { opacity: .35; cursor: default; }
.zoom svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.zoom output { min-width: 40px; text-align: center; font-weight: 650; font-size: 13px; font-variant-numeric: tabular-nums; }
.zoom .zoom-fit { width: auto; padding: 0 12px; font-weight: 650; font-size: 13px; }

/* ------------------------------------------------------------------ the slider under the picture: how far the bed is open
   Closed at its left end, open at its right; a mark wherever the bed can be left, a taller one for each of the three
   views in the list. Where it stands is --at (0 to 1), which the script sets. */
.opener { position: absolute; z-index: 5; left: 50%; bottom: 104px; transform: translateX(-50%); width: 460px; height: 44px; padding: 0 16px; border-radius: 14px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.opener:focus-visible { border-radius: 14px; }
.opener.is-held { cursor: grabbing; }
.opener-end { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.opener-track { position: relative; height: 100%; }
.opener-rail { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: linear-gradient(to right, var(--on) calc(var(--at, 0) * 100%), var(--rim) 0); }
.opener-tick { position: absolute; top: 50%; width: 2px; height: 8px; margin: -4px 0 0 -1px; border-radius: 1px; background: var(--rim); }
.opener-tick.is-view { height: 14px; margin-top: -7px; background: var(--muted); }
.opener-thumb { position: absolute; top: 50%; left: calc(var(--at, 0) * 100%); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--on); box-shadow: 0 0 0 2px var(--panel-solid), 0 3px 8px -2px rgba(0, 0, 0, .5); transition: transform .15s var(--ease); }
.opener.is-held .opener-thumb { transform: scale(1.1); }
@media (hover: hover) { .opener:hover .opener-thumb { transform: scale(1.1); } }
@media (min-width: 1100px) and (min-height: 600px) { .obs[data-opener] .toast { bottom: 166px; } }      /* a message stands clear of the slider */

/* ------------------------------------------------------------------ colors (left) */
.choices { position: absolute; z-index: 5; left: var(--edge); top: calc(var(--bar-h) + 8px); width: var(--choices-w); max-height: calc(100% - var(--bar-h) - 8px - var(--edge)); overflow: hidden; border-radius: 18px; display: flex; flex-direction: column; }
.choices-scroll { overflow: auto; min-height: 0; flex: 1 1 auto; scrollbar-width: thin; overscroll-behavior: contain; }
.pick { padding: 13px 16px 15px; }
.pick + .pick { border-top: 1px solid var(--line); }
.bed-shown { padding-bottom: 12px; }
.bed-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: .012em; text-wrap: balance; }
.bed-note { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
/* a tab's note with its link to a page of the shop */
.tip { margin: 0; padding: 12px 16px 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.tip-in { padding: 0; margin-top: 7px; }
.tip a { color: var(--text); font-weight: 650; text-decoration: underline; text-decoration-color: var(--rim); text-underline-offset: 3px; border-radius: 3px; }
@media (hover: hover) { .tip a:hover { text-decoration-color: currentColor; } }
.pick-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pick-label { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.pick-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.15; letter-spacing: .012em; margin: 3px 0 1px; text-wrap: balance; }
.pick-about { font-size: 12.5px; color: var(--muted); }
.compare-note { margin-top: 12px; }
.swatch-group-name { font-size: 11.5px; font-weight: 600; color: var(--muted); margin: 9px 0 6px; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.swatch-group-name + .swatches { margin-top: 0; }
.swatch { position: relative; aspect-ratio: 1; border-radius: 9px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px var(--rim); transition: transform .15s var(--ease), opacity .2s; }
@media (hover: hover) { .swatch:hover { transform: scale(1.06); } }
.swatch[aria-checked="true"], .swatch.is-a, .swatch.is-b { outline: 2px solid var(--ring); outline-offset: 2px; }
.swatch:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.swatch-none { background: linear-gradient(to top right, transparent calc(50% - .8px), var(--muted) calc(50% - .8px), var(--muted) calc(50% + .8px), transparent calc(50% + .8px)), var(--control); }
.swatches.swatch-names { margin-top: 5px; }
.swatch-names span { font-size: 11.5px; font-weight: 600; line-height: 1.2; color: var(--muted); text-align: center; text-wrap: balance; }
.swatch-letter { position: absolute; left: -5px; top: -5px; width: 19px; height: 19px; border-radius: 50%; background: var(--on); color: var(--on-text); font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 1.5px var(--panel-solid); }

.group-switch { padding: 12px 12px 0; }
.group-switch .seg button { flex: 1; justify-content: center; padding: 7px 6px; }
.plain { margin-top: 14px; width: 100%; padding: 10px 14px; border-radius: 9px; font-weight: 700; font-size: 13.5px; text-align: center; background: var(--control); }
@media (hover: hover) { .plain:hover { background: var(--control-hover); } }
.slots { display: grid; gap: 6px; margin-bottom: 4px; }
.slot { display: grid; grid-template-columns: 26px 34px 1fr; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 11px; text-align: left; border: 1.5px solid transparent; background: var(--control); }
.slot[aria-pressed="true"] { border-color: var(--ring); background: transparent; }
.slot-letter { width: 24px; height: 24px; border-radius: 50%; background: var(--on); color: var(--on-text); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.slot-chip { width: 34px; height: 34px; border-radius: 7px; background-size: cover; box-shadow: inset 0 0 0 1px var(--chip-line); }
.slot-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.15; letter-spacing: .012em; }
.slot-hint { display: block; font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.row { display: flex; gap: 8px; align-items: flex-end; justify-content: space-between; }
.row .plain { margin-top: 0; width: auto; padding: 8px 12px; }

/* ------------------------------------------------------------------ views (right) */
.views { position: absolute; z-index: 5; right: var(--edge); top: calc(var(--bar-h) + 8px); width: var(--views-w); max-height: calc(100% - var(--bar-h) - 8px - var(--edge)); border-radius: 18px; padding: 6px 8px 8px; display: flex; flex-direction: column; }
.views-scroll { overflow: auto; min-height: 0; scrollbar-width: thin; }
.views-title { font-size: 11.5px; font-weight: 650; color: var(--muted); padding: 8px 6px 4px; }
.views-list { display: grid; gap: 1px; }
.view { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 9px; padding: 3px; border-radius: 9px; text-align: left; width: 100%; }
@media (hover: hover) { .view:hover { background: var(--control); } }
.view[aria-checked="true"] { background: var(--on); color: var(--on-text); }
.view-thumb { position: relative; overflow: hidden; width: 52px; height: 39px; border-radius: 6px; background: var(--control) center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--chip-line); }
.view-thumb .mini { position: absolute; }
.view-thumb .mini.is-mirrored { transform: scaleX(-1); }
.view-thumb img { position: absolute; display: block; pointer-events: none; }
.view-thumb .mini-cut { position: absolute; overflow: hidden; }      /* a part cut from a sheet (the pulls): its box shows that part and no more */
.view:disabled { opacity: .5; cursor: default; }
@media (hover: hover) { .view:disabled:hover { background: none; } }
.view-soon { display: block; font-size: 11px; font-weight: 600; opacity: .8; }
.view-name { font-weight: 650; font-size: 12.5px; line-height: 1.2; }
.views-caption { flex: none; margin: 8px 2px 2px; padding: 9px 6px 2px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.views-caption b { color: var(--text); font-weight: 700; }

/* ------------------------------------------------------------------ dialog, toast */
.about { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: #fbfaf7; color: #1f1d1a; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.about::backdrop { background: rgba(20, 18, 16, .55); }
.about-body { padding: 28px 30px 26px; }
.about h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: .015em; margin-bottom: 6px; }
.about h3 { font-size: 14px; font-weight: 750; margin: 18px 0 4px; }
.about p { font-size: 14.5px; line-height: 1.55; color: #3d3934; max-width: 62ch; }
.about .about-draft { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(31, 29, 26, .14); font-size: 13.5px; color: #57524a; }
.about-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.about-actions .cta { margin: 0; }
.about-actions .plain { margin: 0; width: auto; background: rgba(31, 29, 26, .08); color: #1f1d1a; }
/* The Dimensions box: a bed's name, then its measurements as a list of two columns. */
.about .dims-bed { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; }
.dims-list { margin: 8px 0 0; border-top: 1px solid rgba(31, 29, 26, .14); }
.dims-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(31, 29, 26, .14); font-size: 14.5px; }
.dims-list dt { color: #3d3934; }
.dims-list dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.about .dims-more { margin-top: 10px; }
.about .link { color: #1f1d1a; font-size: 13.5px; text-decoration-color: #7d786f; display: inline-flex; align-items: center; min-height: 24px; }
/* The Save box: the button, what it did, the designs kept in this browser, and the mail. */
.about-actions.saved-top { margin-top: 16px; flex-wrap: wrap; }
.saved-list { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid rgba(31, 29, 26, .14); }
.saved-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(31, 29, 26, .14); }
.saved-name { min-width: 0; font-size: 14px; line-height: 1.4; color: #1f1d1a; }
.saved-acts { display: flex; gap: 8px; flex: none; }
.saved-acts .plain { margin: 0; width: auto; padding: 7px 12px; background: rgba(31, 29, 26, .08); color: #1f1d1a; }
.saved-mail { margin-top: 6px; padding-top: 2px; }
.saved-mail .share-link { margin-top: 10px; }
.saved-mail input[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.saved-mail .about-actions { margin-top: 14px; }
/* the delivery estimate among the offers (the delivery module's line): its dates stay together */
.offers [data-dates] { white-space: nowrap; font-weight: 650; }
.toast { position: absolute; z-index: 9; left: 50%; bottom: 112px; transform: translate(-50%, 12px); padding: 10px 16px; border-radius: 10px; background: #1f1d1a; color: #fff; font-weight: 650; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); max-width: min(560px, calc(100vw - 32px)); text-align: center; text-wrap: balance; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ narrower and shorter desktop windows */
@media (max-width: 1480px) and (min-width: 1100px) {
  .dock .seg-more { display: none; }
  .modes button { padding: 8px 15px; }
}
/* a narrower toolbar, so that it still fits in the middle of the window beside the color panel */
@media (max-width: 1380px) and (min-width: 1100px) {
  .dock { padding: 7px 4px; }
  .dock .field { padding: 0 8px; }
  .dock .seg button { padding: 6px 9px; gap: 6px; }
  .dock .zoom { padding-left: 8px; margin-right: 2px; gap: 0; }
  .dock .zoom button { width: 32px; height: 34px; }
  .dock .zoom output { min-width: 34px; }
  .dock .zoom .zoom-fit { padding: 0 9px; }
}
@media (max-width: 1240px) and (min-width: 1100px) {
  :root { --choices-w: 312px; --views-w: 168px; }
  .tab-long { display: none; }
  .tab-short { display: inline; }
  .brand { width: 29px; overflow: hidden; --emblem: 7px; }           /* the emblem alone: the wordmark is cut off */
  .brand svg { width: 120px; flex: none; clip-path: inset(0 calc(100% - 31px) 0 0); }
  .title { padding-left: 0; border-left: 0; }
  .modes button { padding: 8px 12px; }
  .bar .js-about { display: none; }
}
/* a 13 inch laptop: the color panel drops its descriptions and sub-headings so all three kinds fit without scrolling */
@media (max-height: 900px) and (min-width: 1100px) {
  .pick { padding: 10px 16px 12px; }
  .pick-name { font-size: 18px; }
  .pick-about:not(.compare-note) { display: none; }
  .acc-head { padding: 9px 16px; }
  .buy { padding: 9px 16px 11px; }
  .views .view { padding: 2px; grid-template-columns: 44px 1fr; }
  .view-thumb { width: 44px; height: 33px; }
  .views-title { padding: 6px 6px 3px; }
}
@media (max-height: 800px) and (min-width: 1100px) {
  .acc-head { padding: 7px 16px; }
  .buy-sku { display: none; }
  .views-caption { padding-top: 7px; margin-top: 6px; font-size: 12px; line-height: 1.4; }
}
@media (max-height: 700px) and (min-width: 1100px) {
  .swatches { grid-template-columns: repeat(7, 1fr); gap: 7px; }
  .price-now { font-size: 20px; }
  .views .view { padding: 1px 2px; grid-template-columns: 40px 1fr; gap: 8px; }
  .view-thumb { width: 40px; height: 30px; border-radius: 5px; }
  .views-title { padding: 5px 6px 2px; }
  .views-caption { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .obs, .scene, .flip, .swatch, .toast, .logo-word, .modes button, .seg button, .acc-chev, .switch-track, .switch-track::after, .opener-thumb, .menu, .menu::backdrop, .menubtn, .condbtn, .sharebtn, .seen, .zoom, .buy, .bar { transition: none !important; }
  .menu-nav > * { animation: none !important; }
  .busy::before { animation: none; left: 0; width: 100%; opacity: .6; }
}

/* ================================================================== what the Designer adds to the Color Explorer's look */

/* ------------------------------------------------------------------ the cart button in the bar */
.cartbtn { position: relative; display: inline-flex; align-items: center; gap: 7px; margin-left: 2px; padding: 8px 13px 8px 11px; border-radius: 10px; background: var(--on); color: var(--on-text); font-weight: 700; font-size: 14px; line-height: 20px; white-space: nowrap; }
@media (hover: hover) { .cartbtn:hover { opacity: .88; } }
.cartbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cartbtn circle { fill: currentColor; stroke: none; }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand-deep); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ the build panel: one section open at a time */
.acc + .acc { border-top: 1px solid var(--line); }
.acc-title { font: inherit; }                          /* a section's head is a heading: a screen reader can go from one to the next */
.acc-head { display: grid; grid-template-columns: 58px 1fr 12px; align-items: baseline; gap: 10px; width: 100%; padding: 12px 16px; text-align: left; }
@media (hover: hover) { .acc-head:hover { background: var(--control); } }
.acc-label { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.acc-value { font-weight: 650; font-size: 13.5px; line-height: 1.3; text-wrap: balance; }
.acc-chev { width: 8px; height: 8px; border: solid var(--muted); border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); justify-self: end; }
.acc[data-open="true"] .acc-chev { transform: translateY(2px) rotate(225deg); }
.acc[data-open="true"] .acc-head { padding-bottom: 8px; }
.acc-body { padding: 2px 16px 16px; display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld-label { font-size: 12.5px; font-weight: 650; color: var(--muted); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fld-label small { font-size: 11.5px; font-weight: 550; }
.fld-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.15; letter-spacing: .012em; text-wrap: balance; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fld-name .step { font-family: var(--font-ui); font-size: 12.5px; font-weight: 650; color: var(--muted); white-space: nowrap; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.fld-about { font-size: 12.5px; color: var(--muted); line-height: 1.45; text-wrap: pretty; }
.fld .seg button { flex: 1; justify-content: center; padding: 8px 6px; }
.fld .swatches { margin-top: 2px; }
.link { font-size: 12.5px; font-weight: 650; color: var(--text); text-decoration: underline; text-decoration-color: var(--rim); text-underline-offset: 3px; justify-self: start; }
@media (hover: hover) { .link:hover { text-decoration-color: currentColor; } }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.card { display: grid; grid-template-columns: 1fr; align-content: start; gap: 1px; padding: 7px 10px 8px; border-radius: 11px; background: var(--control); text-align: left; border: 1.5px solid transparent; transition: background-color .18s, border-color .18s; }
@media (hover: hover) { .card:hover:not(:disabled) { background: var(--control-hover); } }
.card[aria-checked="true"] { border-color: var(--ring); background: transparent; }
.card:disabled { opacity: .45; cursor: default; }
.card-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: .012em; }
.card-note { font-size: 11.5px; color: var(--muted); line-height: 1.3; text-wrap: balance; }

.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.size { display: grid; gap: 1px; padding: 8px 6px 9px; border-radius: 11px; background: var(--control); border: 1.5px solid transparent; text-align: center; transition: background-color .18s, border-color .18s; }
@media (hover: hover) { .size:hover { background: var(--control-hover); } }
.size[aria-checked="true"] { border-color: var(--ring); background: transparent; }
.size-name { font-weight: 700; font-size: 13.5px; }
.size-dims { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.rows { display: grid; gap: 4px; }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 8px 11px; border-radius: 10px; background: var(--control); text-align: left; border: 1.5px solid transparent; font-size: 13px; font-weight: 600; line-height: 1.25; transition: background-color .18s, border-color .18s; }
@media (hover: hover) { .opt:hover { background: var(--control-hover); } }
.opt[aria-checked="true"] { border-color: var(--ring); background: transparent; }
.opt-dims { display: block; font-size: 11.5px; font-weight: 550; color: var(--muted); }
.step { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.optrow { display: grid; grid-template-columns: 1fr 30px 30px; gap: 4px; align-items: stretch; }
.optrow .opt { border-color: transparent; background: var(--control); }
.optrow[data-on="true"] .opt { background: transparent; border-color: var(--line); }
.pill { border-radius: 9px; background: var(--control); font-weight: 800; font-size: 12px; display: grid; place-items: center; border: 1.5px solid transparent; }
@media (hover: hover) { .pill:hover { background: var(--control-hover); } }
.pill[aria-checked="true"] { background: var(--on); color: var(--on-text); }

.switch { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; width: 100%; padding: 9px 12px; border-radius: 11px; background: var(--control); text-align: left; font-size: 13px; font-weight: 600; line-height: 1.25; }
@media (hover: hover) { .switch:hover:not(:disabled) { background: var(--control-hover); } }
.switch:disabled { opacity: .55; cursor: default; }
.switch-track { grid-row: 1 / span 2; grid-column: 2; position: relative; width: 38px; height: 22px; border-radius: 11px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--rim); transition: background-color .2s, box-shadow .2s; }
.switch-track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .2s var(--ease), background-color .2s; }
.switch[aria-checked="true"] .switch-track { background: var(--on); box-shadow: none; }
.switch[aria-checked="true"] .switch-track::after { transform: translateX(16px); background: var(--on-text); }

.notch { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.notch svg { width: 96px; height: 84px; display: block; }
.notch .wall { fill: var(--control-hover); }
.notch .floor { stroke: var(--muted); stroke-width: 1; }
.notch .base { fill: var(--muted); opacity: .55; }
.notch .side { fill: var(--panel-solid); stroke: var(--text); stroke-width: 1.2; stroke-linejoin: round; }
.notch text { fill: var(--muted); font: 600 9px var(--font-ui); }

/* ------------------------------------------------------------------ price and cart, at the foot of the build panel */
.buy { flex: none; border-top: 1px solid var(--line); padding: 12px 16px 14px; }
.buy:empty { display: none; }
.buy-name { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; line-height: 1.2; letter-spacing: .012em; text-wrap: balance; }
.buy-sku { font-size: 11.5px; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.price { margin-top: 9px; display: grid; gap: 0; }
.price-was { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.price-was s { text-decoration-thickness: 1.2px; }
.price-now { font-size: 25px; font-weight: 750; line-height: 1.15; letter-spacing: -.012em; font-variant-numeric: tabular-nums; }
.price-now small { font-size: 12.5px; font-weight: 650; letter-spacing: 0; color: var(--muted); margin-right: 6px; }
.price-after { font-size: 12.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.buy-sale { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.buy-what { font-size: 12.5px; font-weight: 650; line-height: 1.35; text-wrap: balance; }
.buy-sale b { color: var(--brand-deep); font-weight: 750; }
.obs[data-surround="dark"] .buy-sale b { color: #f4a566; }
.buy .cta { display: block; width: 100%; margin: 11px 0 0; padding: 11px 15px; font-size: 15px; text-align: center; border-radius: 11px; }
.buy-two { display: grid; gap: 3px; margin-top: 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.buy-two div { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; }
.buy-two .slot-letter { width: 20px; height: 20px; font-size: 11px; }
.buy-two b { font-weight: 750; }
button.cta { cursor: pointer; }

/* ------------------------------------------------------------------ compare: the two designs */
.slot { grid-template-columns: 26px 34px 1fr; }
.slot-chip { position: relative; overflow: hidden; }
.slot-price { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 650; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ a word on the picture when there is none to show */
.note { position: absolute; z-index: 4; transform: translate(-50%, -50%); width: max-content; max-width: min(400px, calc(100% - 48px)); padding: 16px 20px 17px; border-radius: 14px; text-align: center; font-size: 14px; line-height: 1.5; text-wrap: balance; }
.note b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .012em; margin-bottom: 3px; }
.note a { display: table; margin: 9px auto 0; color: var(--text); font-weight: 650; text-decoration: underline; text-decoration-color: var(--rim); text-underline-offset: 3px; border-radius: 3px; }      /* a way on, on a line of its own */
@media (hover: hover) { .note a:hover { text-decoration-color: currentColor; } }

/* ------------------------------------------------------------------ the share dialog (a device without a share sheet of its own) */
.share-link { display: grid; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 650; color: #57524a; }
.share-link input { font: inherit; font-weight: 500; font-size: 14px; color: #1f1d1a; width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #857f76; border-radius: 9px; background: #fff; }
.about .share-said { min-height: 21px; margin-top: 8px; font-size: 13.5px; font-weight: 650; color: #1f1d1a; }
.share-actions { flex-wrap: wrap; margin-top: 12px; }
.share-actions .plain { display: inline-flex; align-items: center; text-decoration: none; padding: 9px 14px; border-radius: 9px; font-weight: 700; font-size: 13.5px; }
.share-actions .cta { padding: 9px 15px; }
.share-sms { display: none !important; }

/* ------------------------------------------------------------------ the cart */
.cart-list { display: grid; gap: 10px; margin: 14px 0 4px; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 12px 14px; border-radius: 12px; background: rgba(31, 29, 26, .055); }
.cart-item h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .012em; }
.cart-item p { grid-column: 1; font-size: 13px; line-height: 1.45; color: #57524a; max-width: none; }
.cart-item .cart-sku { font-size: 11.5px; overflow-wrap: anywhere; }
.cart-item .cart-price { grid-column: 2; grid-row: 1; font-weight: 750; font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }
.cart-item .cart-remove { grid-column: 2; align-self: end; justify-self: end; font-size: 12.5px; font-weight: 650; color: #57524a; text-decoration: underline; text-underline-offset: 3px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(31, 29, 26, .14); font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.about .cart-mock { margin-top: 10px; font-size: 13px; color: #57524a; }
.about-actions .cta[aria-disabled="true"] { opacity: .5; cursor: default; }

.lights { position: absolute; width: 0; height: 0; overflow: hidden; }
.work { display: contents; }                           /* the main landmark and the tabs' panel: no box of their own */
.said { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }      /* read out, not shown */
/* For a browser that runs no script, or that the script did not reach: after three seconds, so that a page whose
   script is only on its way never flashes it. The script takes it away as it starts. (A noscript element would say
   the same, and nothing when the script fails to arrive.) */
.nojs { position: absolute; z-index: 8; left: 50%; top: 44%; transform: translate(-50%, -50%); width: min(430px, calc(100% - 40px)); margin: 0; padding: 18px 22px; border-radius: 14px; background: #fbfaf7; color: #1f1d1a;
  font-size: 15px; line-height: 1.5; text-align: center; box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .45); opacity: 0; animation: nojs 1ms linear 3s forwards; }
.nojs a { color: #1f1d1a; font-weight: 650; }
@keyframes nojs { to { opacity: 1; } }

/* ------------------------------------------------------------------ the shop's menu, behind the three lines
   What bredabeds.com shows a phone or a tablet behind its own three lines, and how it shows it there: a white sheet
   from the left edge with a strip of the page still in sight beside it, one entry to a row, a list of its own
   sliding in for an entry that has one. Here it is behind the three lines at every size (BredaBeds, November 30,
   2026), so the Designer can be judged as a page of the shop. Its colors are the shop's and do not follow the
   backdrop: it is a part of the shop, not of the picture. */
.menu { position: fixed; inset: 0 auto 0 0; margin: 0; padding: 0; border: 0; width: min(380px, calc(100vw - 32px)); max-width: none; height: 100vh; height: 100dvh; max-height: none; overflow: hidden;
  border-radius: 0 16px 16px 0; background: #fff; color: #020617; box-shadow: 0 0 70px -10px rgba(0, 0, 0, .55); transform: translateX(-102%); transition: transform .24s var(--ease); }
.menu.is-in { transform: none; }
.menu::backdrop { background: rgba(20, 18, 16, .5); opacity: 0; transition: opacity .24s; }
.menu.is-in::backdrop { opacity: 1; }
.menu-body { display: flex; flex-direction: column; height: 100%; }
.menu-top { flex: none; display: flex; justify-content: flex-end; padding: 16px 24px 15px; border-bottom: 1px solid #e2e8f0; }
.menu-close { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: #f3f4f6; box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); }
@media (hover: hover) { .menu-close:hover { background: #e5e7eb; } }
.menu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.menu-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 49px; padding: 12px 24px; border-bottom: 1px solid #e2e8f0; font-weight: 500; font-size: 16px; line-height: 24px; color: #020617; text-align: left; text-decoration: none; }
@media (hover: hover) { .menu-row:hover { background: #f8fafc; } }
.menu-row:focus-visible { outline-offset: -3px; }
.menu-more { min-height: 59px; }
.menu-chev { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); flex: none; }
.menu-back { justify-content: flex-start; gap: 12px; padding-left: 26px; font-weight: 700; background: #fff; }
.menu-sub .menu-row { padding-left: 52px; }
.menu-lead { font-weight: 700; }
.menu-nav.is-down > * { animation: menu-down .2s var(--ease); }      /* a list one level down comes in from the right, the way back from the left */
.menu-nav.is-up > * { animation: menu-up .2s var(--ease); }
@keyframes menu-down { from { opacity: 0; transform: translateX(18px); } }
@keyframes menu-up { from { opacity: 0; transform: translateX(-18px); } }

/* ------------------------------------------------------------------ compact: phones, tablets, small windows
   No panel floats here: the page is plain blocks, in one of three arrangements, chosen by the window.

     the page scrolls      a phone, or a tablet held upright. The page itself scrolls, as any page of the shop does:
                           the bar scrolls away, the picture stays at the top of the screen and the price at its
                           foot, and what lies between them is the options. A finger drawn over the picture scrolls
                           the page too, as long as the picture is not zoomed into.
     side by side, low     a phone held sideways (a window at least 16 to 10, or no higher than 415 px): the picture
                           on the left; everything else scrolls on the right, above the price.
     side by side, high    a tablet held sideways (wider than high, less than 16 to 10): the picture with its slider
                           and its views on the left, the options with the price at their foot on the right.

   Until November 30, 2026 there was one arrangement for all of them: a bar, a picture and a price bar that never
   moved, and a strip between them that scrolled. Measured that day at the sizes browsers really give a page, the
   strip was 187 px high on an iPhone 15 in Safari and 125 px on an iPhone SE; on a tablet held sideways the picture
   area was three and a half times as wide as high and cut the bed off; and the price bar lay over the page, so that
   whatever was painted later lay over it (BredaBeds: "some elements render over the bottom price bar ... such a the
   Backdrop / Light configuration"). Now the price is a part of the page's own flow in each arrangement: nothing
   scrolls under it, so nothing can lie over it.

   A picture area must be between 1.02 and 2.69 times as wide as high for the picture to cover it and still show every
   bed whole (the views' own "focus" boxes in the pictures' descriptions: the widest subject is 0.51 of the picture's
   width, the tallest 0.74 of its height), and between 1.14 and 2.4 for the room the page likes to leave round a
   bed. Each arrangement keeps to the first at the sizes devices have, and to the second wherever it can.

   Two things here are moved by the script (arrange), because they belong to different parts of the page in different
   arrangements: the price (--buy says where it stands) and the backdrop and light, which have no room as a toolbar
   and open from a button on the picture instead. */
@media (max-width: 1099px), (max-height: 599px) {
  .obs { --layout: compact; --page: var(--panel-solid); padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left); }
  .modes, .choices, .views, .bar-start, .bar-end { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 0; background: transparent; }
  .opener, .views, .choices { z-index: auto; }      /* nothing in the column is lifted over anything else */

  /* -- the bar: the three lines, the emblem, the page's name, the cart; the three things to do under them (a phone) or beside them */
  .bar { grid-area: bar; position: static; height: auto; padding: 8px 12px; flex-wrap: wrap; gap: 8px 10px; background: var(--panel-solid); pointer-events: auto; transition: background-color .35s var(--ease); }
  .bar-start { width: auto; height: auto; padding: 0; border-radius: 0; flex: 1 1 0; min-width: 0; gap: 10px; }
  .bar-end { height: auto; padding: 0; border-radius: 0; }
  .menubtn { width: 40px; height: 40px; }
  .brand { width: 29px; overflow: hidden; --emblem: 7px; }           /* the emblem alone: the wordmark is cut off */
  .brand svg { width: 120px; flex: none; clip-path: inset(0 calc(100% - 31px) 0 0); }
  .title { font-size: clamp(14.5px, 4.4vw, 19px); padding-left: 0; border-left: 0; flex: 1 1 0; min-width: 0; white-space: normal; line-height: 1.12; text-wrap: balance; }      /* too long for its place (a narrow phone, wider letter spacing), it takes a second line: it is never cut */
  .tab-long { display: none; }
  .tab-short { display: inline; }
  .bar .js-about, .bar .js-share, .bar .js-save { display: none; }
  .cartbtn { margin-left: 0; padding: 0 11px; min-height: 40px; }
  .cartbtn > span:not(.cart-count) { display: none; }
  .modes { position: static; transform: none; order: 5; width: 100%; padding: 3px; background: var(--control); border-radius: 11px; }
  .modes button { flex: 1; padding: 8px 6px; font-size: 13.5px; border-radius: 9px; }

  /* -- the picture, and what stands on it: zoom at one lower corner, backdrop and light at the other */
  .stage { grid-area: stage; position: relative; inset: auto; min-height: 0; }
  .divider-badge { top: 12px; }
  .ruler { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: none; }
  .note { max-width: calc(100% - 24px); font-size: 13px; padding: 10px 12px; }
  .zoom, .condbtn, .sharebtn { position: absolute; z-index: 5; bottom: 8px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .35s var(--ease), border-color .35s var(--ease); }
  .dimsbtn { top: 8px; left: 8px; min-height: 42px; box-shadow: none; }      /* the size: at the picture's other upper corner */
  .sharebtn { display: grid; place-items: center; bottom: auto; top: 8px; right: 8px; width: 42px; height: 42px; }      /* share: at the picture's upper corner, where the bar has no room for the word */
  .sharebtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .seen { top: 12px; }
  .zoom { right: 8px; padding: 3px; }
  .zoom button { width: 34px; height: 34px; }
  .zoom output, .zoom button:disabled { display: none; }       /* at rest only the plus shows: it stands on the picture */
  .condbtn { left: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 42px; height: 42px; padding: 0 11px; font-weight: 650; font-size: 13px; white-space: nowrap; }
  .condbtn svg { width: 20px; height: 20px; flex: none; }
  .condbtn circle { fill: none; stroke: currentColor; stroke-width: 1.6; }
  .condbtn path { fill: currentColor; }
  .condbtn[aria-expanded="true"] { background: var(--on); color: var(--on-text); border-color: transparent; }
  .condbtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }      /* on a phone the sign alone: its words are still read out */
  /* The backdrop and the light: a small card over the picture, above its button, there when asked for. */
  .dock { position: absolute; z-index: 6; left: 8px; right: auto; bottom: 58px; display: none; padding: 10px; border-radius: 14px; background: var(--panel-solid); max-width: calc(100% - 16px); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dock.is-open { display: block; }
  .dock .conditions { display: grid; gap: 8px; }
  .dock .field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 0; }
  .dock .field + .field { border-left: 0; }
  .dock .field-label { padding: 0; min-width: 56px; }
  .dock .seg-dot { display: none; }
  .seg button { padding: 6px 9px; flex: 1 1 auto; justify-content: center; }
  .seg-more { display: none; }

  /* -- the slider, the views */
  .opener { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin: 10px 12px 0; background: var(--control); border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .views { position: static; width: auto; max-height: none; padding: 8px 0 0; border-radius: 0; display: block; min-width: 0; }
  .views-scroll { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; padding: 0 12px 6px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 12px; overscroll-behavior-x: contain; }
  .views-scroll::-webkit-scrollbar { display: none; }
  .views-group { flex: none; }
  .views-title { padding: 2px 0 6px; }
  .views-list { display: flex; gap: 6px; }
  .view { grid-template-columns: 1fr; gap: 5px; width: 86px; flex: none; padding: 4px; text-align: center; scroll-snap-align: start; align-content: start; }
  .view-thumb { width: 78px; height: 58px; }
  .view-name { font-size: 12px; }
  .views-caption { margin: 0; padding: 4px 12px 6px; border-top: 0; font-size: 13.5px; }

  /* -- the options */
  .choices { position: static; width: auto; max-height: none; overflow: visible; border-radius: 0; border-top: 1px solid var(--line); margin-top: 6px; display: block; }
  .choices-scroll { overflow: visible; }
  .pick { padding: 12px 12px 14px; }
  .swatches { grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); }
  .group-switch { padding: 10px 12px 0; }
  .summary { display: block; padding: 14px 16px 16px; border-top: 1px solid var(--line); }      /* what the price bar has no room for: the bed's name, its code, the sale */
  .summary .buy-sale { margin-top: 5px; }
  .sheet-foot { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 8px 12px 10px; border-top: 1px solid var(--line); }

  /* -- the price: what there is to pay and the button, in two lines */
  .buy { background: var(--panel-solid); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; transition: background-color .35s var(--ease), border-color .35s var(--ease); }
  .buy:empty { display: none; }
  .buy .buy-name, .buy .buy-sku, .buy .buy-sale { display: none; }
  .buy .price { position: relative; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .buy .price-now { order: 1; font-size: 20px; }
  .buy .price-was { order: 2; }
  .buy .price-after { order: 3; flex-basis: 100%; }
  .buy .price-now small, .buy .price-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }      /* "Regular price", "Sale price": read out, not shown; a price struck through beside the price says it */
  .buy .cta { width: auto; margin: 0; grid-column: 2; grid-row: 1 / span 3; align-self: center; padding: 11px 16px; white-space: nowrap; }
  .buy-two { grid-column: 1; margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
  .buy-two div { grid-template-columns: 20px auto; gap: 6px; }
  .buy-two div > span:nth-child(2) { display: none; }
  .buy-what { grid-column: 1; }
  .toast { bottom: 24px; }
}

/* -- one row for the bar where it is wide enough: a tablet, a phone held sideways */
@media (min-width: 640px) and (max-width: 1099px), (min-width: 640px) and (max-height: 599px) {
  .bar { flex-wrap: nowrap; padding: 8px 14px; }
  .bar-start { flex: 1 1 auto; }
  .modes { order: 0; width: auto; flex: none; }
  .modes button { flex: none; padding: 8px 14px; }
  .condbtn { padding: 0 13px 0 10px; }
  .condbtn span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }      /* room for its words */
  .dock .seg-dot { display: block; }
}
@media (min-width: 700px) and (max-width: 1099px), (min-width: 700px) and (max-height: 599px) {
  .brand { width: 86px; overflow: visible; --emblem: 0px; }
  .brand svg { width: 100%; clip-path: none; }
  .title { padding-left: 12px; border-left: 1px solid var(--line); flex: 0 1 auto; }
}
@media (min-width: 900px) and (max-width: 1099px), (min-width: 900px) and (max-height: 599px) {
  .bar .js-about, .bar .js-share, .bar .js-save { display: inline-block; }
  .sharebtn { display: none; }                         /* the bar has room for the word */
  .cartbtn { padding: 0 13px 0 11px; }
  .cartbtn > span:not(.cart-count) { display: inline; }
  .sheet-foot { display: none; }
}

/* -- the page scrolls: a phone, a tablet held upright */
@media (max-width: 639px), (max-width: 1099px) and (orientation: portrait) {
  /* whatever the browser brings into view (the next control of a keyboard, a link's target) it brings clear of the picture and of the price */
  html { scroll-padding: clamp(100vw / 2.35, 42vh, 100vw / 1.16) 0 var(--buy-h, 64px); scroll-padding-top: clamp(100vw / 2.35, 42svh, 100vw / 1.16); }
  .obs { --buy: bar; position: relative; inset: auto; overflow: visible; overflow-x: clip; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
  .stage { position: sticky; top: 0; z-index: 4; flex: none; height: clamp(100vw / 2.35, 42vh, 100vw / 1.16); height: clamp(100vw / 2.35, 42svh, 100vw / 1.16); }      /* svh: the height does not change when the browser's own bars come and go */
  .canvas { touch-action: pan-y; }                    /* up and down belongs to the page ... */
  .canvas.is-zoomed { touch-action: none; }           /* ... until the picture is zoomed into: then every direction moves the picture */
  .sheet { display: block; flex: 1 0 auto; }
  .buy { position: sticky; bottom: 0; z-index: 8; box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, .5); }
  .toast { position: fixed; bottom: calc(var(--buy-h, 64px) + 12px); }      /* a message stands clear of the price */
}
@media (max-width: 639px) and (max-height: 419px) {
  html { scroll-padding-top: 0; }
  .stage { position: relative; }      /* a window too low to keep a picture in sight and still show an option: it scrolls away with the rest */
}
@media (max-width: 639px) and (max-height: 239px) {
  html { scroll-padding-bottom: 0; }
  .buy { position: static; }          /* lower still (a desktop window at 400 percent): the price too takes its place at the end of the page */
}
@media (min-width: 640px) and (max-width: 1099px) and (orientation: portrait) {
  html { scroll-padding-top: clamp(100vw / 2.35, 46vh, 100vw / 1.16); scroll-padding-top: clamp(100vw / 2.35, 46svh, 100vw / 1.16); }
  .stage { height: clamp(100vw / 2.35, 46vh, 100vw / 1.16); height: clamp(100vw / 2.35, 46svh, 100vw / 1.16); }
  /* a tablet's width is more than the options need: they keep to a column in its middle */
  .opener { margin-left: auto; margin-right: auto; width: min(736px, 100% - 24px); }
  .views, .choices, .sheet-foot { max-width: 760px; margin-left: auto; margin-right: auto; }
  .buy { padding-left: max(12px, (100% - 736px) / 2); padding-right: max(12px, (100% - 736px) / 2); }
}

/* -- side by side: the window is wider than high. Which of the two it is goes by the window's shape: about 16 to 10
   is where a picture as high as the window stops being wide enough for a bed, and where a picture with the slider
   and the views under it begins to have the height for one (under 416 px of height it never has). */
@media (min-width: 640px) and (max-height: 599px), (min-width: 640px) and (max-width: 1099px) and (orientation: landscape) {
  .obs { display: grid; }
  .stage { height: auto; }
  .toast { bottom: 62px; }
}
/* ... and low: a phone held sideways. The picture as high as the window lets it be; everything else scrolls beside it. */
@media (min-width: 640px) and (max-height: 415px), (min-width: 640px) and (max-height: 599px) and (min-aspect-ratio: 8/5), (min-width: 640px) and (max-width: 1099px) and (min-aspect-ratio: 8/5) {
  .obs { --buy: bar; grid-template: "bar bar" auto "stage sheet" minmax(0, 1fr) "stage buy" auto / minmax(0, min(55%, (100vh - 56px) * 2.3)) minmax(0, 1fr); }
  .bar { padding-top: 6px; padding-bottom: 6px; }
  .sheet { grid-area: sheet; display: block; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-left: 1px solid var(--line); }
  .buy { grid-area: buy; border-left: 1px solid var(--line); }
  .toast { left: 27.5%; max-width: calc(55% - 32px); }
}
/* ... and high: a tablet held sideways. Left: the picture, as high as what is under it leaves room for and never
   higher than its width allows, then the slider and the views. Right: the options, with the price at their foot. */
@media (min-width: 640px) and (min-height: 415.02px) and (max-height: 599px) and (max-aspect-ratio: 15999/10000), (min-width: 640px) and (max-width: 1099px) and (min-height: 415.02px) and (orientation: landscape) and (max-aspect-ratio: 15999/10000) {
  .obs { --buy: panel; padding-bottom: env(safe-area-inset-bottom);
    grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr); grid-template-rows: auto minmax(0, calc((100vw - max(340px, 40vw)) / 1.16)) auto auto minmax(0, 1fr);
    grid-template-areas: "bar bar" "stage choices" "opener choices" "views choices" "foot choices"; }
  .sheet { display: contents; }
  .opener { grid-area: opener; }
  .views { grid-area: views; }
  .sheet-foot { grid-area: foot; align-self: start; justify-content: flex-start; border-top: 0; }
  .choices { grid-area: choices; display: flex; flex-direction: column; min-height: 0; overflow: hidden; margin-top: 0; border-top: 0; border-left: 1px solid var(--line); }
  .choices-scroll { overflow: auto; flex: 1 1 auto; min-height: 0; scrollbar-width: thin; overscroll-behavior: contain; }
  .buy { flex: none; padding-bottom: 8px; }
  .toast { left: calc((100vw - max(340px, 40vw)) / 2); max-width: calc(100vw - max(340px, 40vw) - 32px); }
}

/* ------------------------------------------------------------------ a touch screen: every control as large as a fingertip
   44 px one way and the other, which is Apple's figure and the W3C's. Whatever the layout: a tablet held sideways
   gets the desktop's panels and is still touched. (Measured November 30, 2026: the L and R of a hutch option were
   30 px wide, the choices of a row of two or three 28 to 32 px high, a link 18 px.) */
@media (pointer: coarse) {
  .menubtn { width: 44px; height: 44px; }
  .bar-start { height: 52px; padding-left: 4px; }
  .bar-end { height: 52px; }
  .brand { display: flex; align-items: center; justify-content: flex-start; min-width: 44px; min-height: 44px; }
  .brand svg { margin-left: var(--emblem, 0px); }      /* the emblem alone stands in the middle of its fingertip of room */
  .modes button, .seg button, .quiet, .plain, .row .plain, .opt, .pill, .cta, .view, .switch, .menu-close { min-height: 44px; }
  .menu-close { min-width: 44px; }
  .cartbtn { min-width: 44px; min-height: 44px; justify-content: center; }
  .acc-head { min-height: 48px; align-items: center; }
  .acc[data-open="true"] .acc-head { padding-bottom: 12px; }
  .optrow { grid-template-columns: 1fr 44px 44px; }
  .zoom button { width: 44px; height: 44px; }
  .zoom .zoom-fit { min-width: 44px; }
  .dock .zoom button { width: 44px; height: 44px; }
  .divider-badge { width: 44px; height: 44px; margin: -9px 0 0 -9px; }      /* the same disc, in a fingertip of room */
  .condbtn { min-width: 44px; height: 44px; }
  .sharebtn { width: 44px; height: 44px; }
  .dimsbtn { min-height: 44px; }
  .share-sms { display: inline-flex !important; }       /* a text message: where there is a touch screen, there is most likely a phone */
  .dock { bottom: 60px; }
  .link, .cart-item .cart-remove { display: inline-flex; align-items: center; min-height: 44px; }
  .about-actions .cta { display: inline-flex; align-items: center; }
}
@media (pointer: coarse) and (max-width: 1099px), (pointer: coarse) and (max-height: 599px) {
  .bar-start { height: auto; padding-left: 0; gap: 4px; }
  .bar-end { height: auto; }
  .title { margin-left: 4px; }
}
/* A phone 360 px wide, the commonest Android size: the line under the price a touch smaller, so it stays one line. */
@media (max-width: 380px) {
  .buy .price-after { font-size: 12px; letter-spacing: -.01em; }
}
/* On a narrow phone the emblem gives its place to the page's name. (After the touch screen's rules, which give it room.) */
@media (max-width: 339px) {
  .brand { display: none; }
}

/* ------------------------------------------------------------------ the shop's side
   What the page has as a page of bredabeds.com: the cart's link, the shop's messages, the promotion and the
   financing under the price, the baseboard notch that is still to choose and its help, the accessibility tools'
   switch in the menu. */
a.cartbtn { text-decoration: none; }
.buy-part { display: contents; }                 /* the price and the button stay parts of the price area itself, whatever its arrangement */
.buy-note { margin-top: 9px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.cta[aria-disabled="true"] { opacity: .55; cursor: default; }

/* The promotion and the financing: the shop's own blocks, on a light surface on both backdrops, so the providers'
   dark words stay readable. */
.offers { margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: #fbfaf7; color: #1f1d1a; font-size: 12.5px; line-height: 1.45; display: grid; gap: 6px; }
.offers:not(:has(> :not([hidden]):not(script))) { display: none; }      /* nothing to say: no box (a hidden message and the scripts beside it are nothing) */
.offers a { color: #1f1d1a; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.offers p { margin: 0; }
.offers b, .offers strong { color: #c2410c; font-weight: 750; }
.choices-scroll > .offers { margin: 0 16px 16px; }                 /* after the summary, where the price is a bar */

/* A message of the shop's (a form that came back from the cart): over the picture, under the bar, until it is closed. */
.notice { position: absolute; z-index: 10; left: 50%; top: calc(var(--bar-h) + 12px); transform: translateX(-50%); width: min(520px, calc(100% - 24px)); padding: 12px 44px 12px 16px; border-radius: 12px;
  background: #1f1d1a; color: #fff; font-size: 14px; line-height: 1.45; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6); display: grid; gap: 6px; }
.notice-line { margin: 0; text-wrap: pretty; }
.notice-line.is-error::before { content: "Not saved. "; font-weight: 750; color: #f7a35c; }
.notice-close { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: #fff; }
.notice-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.notice-close:focus-visible { outline: 2px solid #f7a35c; outline-offset: 1px; }

/* The baseboard notch: its help beside its title, and the word that it is still to choose. */
.fld-label .fld-help { font-size: 12px; color: var(--text); }
.fld-need { margin: 2px 0 6px; padding: 7px 10px; border-radius: 8px; border-left: 3px solid var(--focus); background: var(--control); font-size: 12.5px; font-weight: 650; line-height: 1.4; }
.about.help h2 { margin-bottom: 12px; }
.about.help picture, .about.help img { display: block; width: 100%; height: auto; border-radius: 10px; }
.about.help picture { margin-bottom: 14px; }
.about.help p { margin-top: 10px; }

/* The accessibility tools' switch at the foot of the menu (the shop's footer has it on every other page). */
.menu-foot { flex: none; border-top: 1px solid #e2e8f0; padding-bottom: env(safe-area-inset-bottom); }
.menu-foot .menu-row { border-bottom: 0; }
.menu-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; }
.menu-state { flex: none; padding: 1px 8px; border-radius: 6px; background: rgba(31, 29, 26, .09); font-size: 12px; font-weight: 750; }
.menu-state::after { content: "Off"; }
.menu-tools[aria-pressed="true"] .menu-state::after { content: "On"; }

/* The bed's own page in the shop, under its name and code. */
.buy-page { display: inline-flex; align-items: center; min-height: 24px; margin-top: 2px; }      /* a target of its own: 24 px tall at least */
.buy-pages { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.buy-pages .buy-page { margin-top: 0; }

/* The baseboard notch's words take the row's whole width while there is no drawing beside them (no notch chosen yet). */
.notch:not(:has(svg)) { grid-template-columns: 1fr; }

/* The About box: a line that says what the page is, short answers under their own headings, and the one thing to do
   next (color samples) set apart with its button. */
.about-lead { margin-bottom: 16px; font-size: 16px; font-weight: 650; line-height: 1.4; color: #1f1d1a; }
.about-list { margin: 0; }
.about-list > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 2px 18px; padding: 12px 0; border-top: 1px solid rgba(31, 29, 26, .12); }
.about-list dt { font-size: 13.5px; font-weight: 750; line-height: 1.5; color: #1f1d1a; }
.about-list dd { margin: 0; font-size: 14px; line-height: 1.5; color: #3d3934; text-wrap: pretty; }
.about-note { margin-top: 6px; padding: 16px 18px; border-radius: 14px; background: #f1ece3; }
.about .about-note h3 { margin: 0 0 4px; font-size: 15px; }
.about-note .cta { margin: 12px 0 0; }
.about-end { justify-content: space-between; margin-top: 18px; }
.about-call { font-size: 14px; }
.about-call a { color: #1f1d1a; font-weight: 750; white-space: nowrap; text-underline-offset: 3px; }
@media (max-width: 520px) { .about-list > div { grid-template-columns: 1fr; } }

@media (max-width: 1099px), (max-height: 599px) {
  .buy .buy-page, .buy .buy-pages { display: none; }      /* the bar has room for the price and the button: the links are in the summary */
  .summary .buy-page { margin-top: 6px; }
  .buy .buy-note { display: none; }               /* the bar has room for the price and the button: the word about the cart is in the summary */
  .summary .buy-note { margin-top: 6px; }
  .notice { position: fixed; top: 64px; }
}
