:root {
  --coral: #ffa891;
  --coral-strong: var(--coral);
  --green: #2c4141;
  --green-dark: #173331;
  --ink: #102943;
  --muted: #536373;
  --grey: #f1f1f4;
  --line: #d9dfe1;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(24, 49, 49, 0.12);
  --heading: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-160%); padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--green); box-shadow: var(--shadow); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 50; }
.site-header.is-scrolled .nav-wrap { box-shadow: 0 10px 30px rgba(23,51,49,.10); }
.usp-bar { height: 36px; background: var(--green-dark); color: #fff; font-size: .76rem; }
.usp-inner { width: min(1180px, calc(100% - 48px)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.usp-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.usp-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.usp-separator { width: 1px; height: 16px; background: rgba(255,255,255,.55); }
.nav-wrap { position: sticky; top: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); transition: box-shadow .25s ease; }
.main-nav { width: min(1180px, calc(100% - 48px)); height: 62px; margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 46px; }
.brand {
  display: inline-block;
  flex: 0 0 auto;
  width: 135px;
  height: 25px;
  overflow: hidden;
  background: url("./assets/dreamitt-logo.svg") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  line-height: 1;
  text-indent: -9999px;
  white-space: nowrap;
}
.desktop-links { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 700; }
.desktop-links a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) {
  .main-nav { gap: 24px; }
  .desktop-links { gap: 18px; }
  .desktop-search input { width: 240px; }
}
.desktop-links a, .footer-links a { transition: color .2s ease; }
.desktop-links a:hover, .desktop-links a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--coral-strong); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.search-form { position: relative; }
.search-form svg { position: absolute; top: 50%; left: 14px; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.search-form input { width: 300px; height: 38px; padding: 0 16px 0 42px; border: 1px solid #c8cfd3; border-radius: 999px; outline: 0; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.search-form input:focus { border-color: var(--coral-strong); box-shadow: 0 0 0 3px rgba(255,168,145,.16); }
.search-form input::placeholder { color: #89939b; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.icon-button svg { width: 25px; height: 25px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle, .mobile-search-toggle, .mobile-menu, .mobile-search { display: none; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

.hero { overflow: hidden; background: #f8f7f5; }
.hero-video-link { --hero-tile: 56px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); width: 100%; height: calc(100svh - 98px); min-height: 430px; overflow: hidden; background: var(--green); }
.hero-responsive-video, .hero-video-link noscript img { position: relative; z-index: 2; grid-column: 2; display: block; width: auto; max-width: 100vw; height: 100%; object-fit: contain; object-position: center; background: #f8f7f5; }
.hero-bed-mosaic { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--hero-tile), 1fr)); grid-auto-rows: var(--hero-tile); width: 100%; height: 100%; overflow: hidden; background: var(--green); }
.hero-bed-mosaic > span { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; background: #287b91; }
.hero-bed-mosaic > span:nth-child(3n + 2) { background: #a7b83b; }
.hero-bed-mosaic > span:nth-child(3n) { background: var(--coral); }
.hero-bed-mosaic img { width: 90%; height: 90%; padding: 2px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(16,41,67,.16)); }
.hero-bed-mosaic-left { grid-column: 1; }
.hero-bed-mosaic-right { grid-column: 3; }
.hero-video-link:focus-visible { outline: 3px solid var(--coral-strong); outline-offset: -5px; }
.hero-cta-strip { display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 18px 20px; border-top: 1px solid #eef0f1; border-bottom: 1px solid var(--line); background: #fff; }
.hero-cta-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: min(360px, 100%); min-height: 48px; padding: 0 22px; border-radius: 999px; color: var(--green-dark); background: var(--coral); box-shadow: 0 10px 24px rgba(255,168,145,.22); font-weight: 850; line-height: 1; transition: transform .2s ease, box-shadow .2s ease; }
.hero-cta-action:hover, .hero-cta-action:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,168,145,.3); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 0 28px; border-radius: 999px; font-weight: 800; line-height: 1; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-coral { color: var(--green-dark); background: var(--coral); box-shadow: 0 12px 28px rgba(255,168,145,.25); }
.button-coral:hover, .button-coral:focus-visible { box-shadow: 0 16px 34px rgba(255,168,145,.32); }

.benefits { border-bottom: 1px solid #eef1f2; background: #fbfbfa; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.benefit { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; min-width: 0; padding: 0 24px; border-right: 1px solid var(--line); }
.benefit:first-child { padding-left: 0; }
.benefit:last-child { padding-right: 0; border-right: 0; }
.benefit svg { width: 42px; height: 42px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.benefit h2 { margin: 0 0 3px; font-family: var(--heading); font-size: .92rem; line-height: 1.2; }
.benefit p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.35; }

.story { padding-top: 54px; }
.section-heading { text-align: center; }
.section-heading h2 { margin: 0; color: var(--ink); font-family: var(--heading); font-size: clamp(1.8rem, 3.2vw, 2.55rem); line-height: 1.12; letter-spacing: -.035em; }
.section-heading p { margin: 12px 0 0; color: var(--muted); font-size: 1rem; }
.coral-line { display: block; width: 2px; height: 22px; margin: 10px auto 0; background: var(--coral-strong); }
.products { padding-top: 42px; }
.product-row { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(42px, 7vw, 105px); align-items: center; margin-bottom: 26px; }
.product-row-reverse { grid-template-columns: .82fr 1.18fr; }
.product-row-reverse .product-image-wrap { order: 2; }
.product-row-reverse .product-copy { order: 1; }
.product-image-wrap { overflow: hidden; border-radius: 9px; background: var(--grey); box-shadow: 0 16px 40px rgba(31,47,48,.06); }
.product-image-wrap img { min-height: 320px; object-fit: cover; transition: transform .5s ease; }
.product-row:hover .product-image-wrap img { transform: scale(1.018); }
.product-copy { padding: 20px 0; }
.eyebrow { margin: 0 0 3px !important; color: #667683 !important; font-size: .77rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-copy h2 { margin: 0 0 6px; font-family: var(--heading); font-size: clamp(1.65rem, 2.5vw, 2.15rem); line-height: 1.06; letter-spacing: -.035em; }
.product-copy > p { margin: 0 0 16px; color: var(--muted); font-size: 1rem; }
.check-list { display: grid; gap: 5px; margin: 0 0 21px; padding: 0; color: var(--muted); list-style: none; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--coral-strong); font-weight: 900; }
.button-outline { min-height: 43px; padding-inline: 25px; border: 2px solid var(--coral); color: var(--green-dark); background: #fff; }
.button-outline:hover, .button-outline:focus-visible { color: var(--green-dark); background: var(--coral-strong); }

.reviews { padding: 24px 0 56px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.review-card { margin: 0; padding: 25px 27px 24px; border: 1px solid #e3e6e7; border-radius: 8px; background: #fff; box-shadow: 0 14px 36px rgba(31,47,48,.04); }
.stars { margin-bottom: 9px; color: var(--coral-strong); font-size: 1.15rem; letter-spacing: .12em; }
.review-card blockquote { margin: 0 0 11px; color: #405366; font-size: .91rem; line-height: 1.5; }
.review-card figcaption { font-size: .82rem; font-weight: 900; }
.review-dots { display: none; }

.site-footer { color: #fff; background: var(--green-dark); }
.footer-inner { display: grid; grid-template-columns: 1.05fr 2.4fr 1.25fr; gap: 56px 65px; padding-top: 48px; }
.footer-brand .brand { width: 151px; height: 27px; margin-bottom: 10px; }
.footer-brand p, .newsletter p { margin: 0; color: rgba(255,255,255,.72); font-size: .82rem; }
.socials { display: flex; gap: 13px; margin-top: 25px; }
.socials a { display: grid; place-items: center; width: 23px; height: 23px; color: #fff; font-size: .8rem; font-weight: 900; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer-links h2, .newsletter h2 { margin: 0 0 10px; font-family: var(--heading); font-size: .86rem; }
.footer-links a { display: block; margin: 4px 0; color: rgba(255,255,255,.72); font-size: .79rem; }
.newsletter-form { display: grid; grid-template-columns: 1fr 43px; margin-top: 18px; padding: 4px; border-radius: 999px; background: #fff; }
.newsletter-form input { min-width: 0; padding: 0 12px; border: 0; outline: 0; color: var(--green); background: transparent; }
.newsletter-form button { width: 43px; height: 43px; border: 0; border-radius: 50%; color: var(--green-dark); background: var(--coral-strong); cursor: pointer; transition: transform .2s ease; }
.newsletter-form button:hover, .newsletter-form button:focus-visible { transform: rotate(-8deg) scale(1.04); }
.mobile-footer-links { display: none; }
.footer-bottom { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 21px 0 26px; border-top: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.58); font-size: .68rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom > p:last-child { justify-self: end; }
.footer-bottom strong { color: #fff; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: min(380px, calc(100% - 44px)); padding: 13px 18px; border-radius: 10px; color: #fff; background: var(--green-dark); box-shadow: var(--shadow); font-weight: 700; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.search-hit { animation: searchPulse 1.25s ease; }
@keyframes searchPulse { 0%,100% { box-shadow: none; } 35% { box-shadow: 0 0 0 8px rgba(255,168,145,.35); } }

/* MittPillow product page */
.bag-button { position: relative; }
.bag-count { position: absolute; top: 2px; right: 1px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; color: var(--green-dark); background: var(--coral-strong); font-size: .62rem; font-weight: 900; line-height: 1; }
.bag-count[hidden] { display: none; }
.product-page { background: #fff; }
.product-page .nav-wrap { border-bottom: 1px solid #edf0ef; }
.breadcrumb { display: flex; align-items: center; gap: 9px; min-height: 58px; color: #77838b; font-size: .76rem; font-weight: 700; }
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--coral-strong); }
.breadcrumb span[aria-current="page"] { color: var(--ink); }

.product-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); gap: clamp(48px, 7vw, 104px); align-items: center; padding-bottom: 72px; }
.product-gallery { min-width: 0; }
.product-visual { position: relative; display: grid; place-items: center; min-height: 570px; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg, #ede7df 0%, #d7cec2 100%); }
.product-visual::before { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; transform: translate(-46%, -39%); }
.product-visual::after { content: ""; position: absolute; right: -100px; bottom: -138px; width: 310px; height: 310px; border-radius: 50%; background: rgba(255,168,145,.72); }
.product-visual img { position: relative; z-index: 2; width: min(78%, 535px); aspect-ratio: 1.74 / 1; border-radius: 7px; object-fit: cover; box-shadow: 0 28px 55px rgba(47,43,38,.18); transform: rotate(-1.2deg); }
.product-visual img.is-zoomed { width: min(86%, 590px); aspect-ratio: 1.3 / 1; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumb { position: relative; overflow: hidden; aspect-ratio: 1.36 / 1; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #eee9e3; cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.gallery-thumb:hover, .gallery-thumb:focus-visible { transform: translateY(-2px); outline: 0; }
.gallery-thumb.is-active { border-color: var(--coral-strong); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:nth-child(2) img { object-position: 68% center; }
.gallery-thumb:nth-child(3) img { object-position: 22% center; transform: scale(1.55); }
.gallery-thumb:nth-child(4) img { object-position: 78% center; transform: scale(1.55); }
.product-visual-topline { position: absolute; top: 22px; left: 24px; right: 24px; z-index: 3; display: flex; justify-content: space-between; color: rgba(16,41,67,.66); font-size: .66rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.product-visual-caption { position: absolute; left: 27px; bottom: 24px; z-index: 3; margin: 0; color: var(--ink); font-family: var(--heading); font-size: clamp(1rem, 1.5vw, 1.35rem); font-weight: 900; line-height: 1.08; letter-spacing: -.025em; }
.product-summary { padding: 24px 0; }
.product-summary h1 { margin: 0; color: var(--ink); font-family: var(--heading); font-size: clamp(3.5rem, 6vw, 5.7rem); font-weight: 900; line-height: .88; letter-spacing: -.065em; }
.product-tagline { margin: 19px 0 12px; color: var(--coral-strong); font-family: var(--heading); font-size: clamp(1.3rem, 2.1vw, 1.75rem); font-weight: 900; line-height: 1.12; letter-spacing: -.035em; }
.product-intro { max-width: 510px; margin: 0 0 29px; color: var(--muted); font-size: 1.02rem; line-height: 1.68; }
.product-price-line { display: flex; align-items: baseline; gap: 12px; margin: -12px 0 23px; }
.selected-price { color: var(--ink); font-family: var(--heading); font-size: 1.55rem; letter-spacing: -.035em; }
.selected-unit-price { color: var(--muted); font-size: .78rem; font-weight: 700; }
.product-points { margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.product-points li { display: grid; grid-template-columns: 34px 1fr; gap: 7px 8px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.product-points li span { grid-row: 1; color: var(--coral-strong); font-size: .67rem; font-weight: 900; letter-spacing: .08em; }
.product-points li p { margin: 0; }
.product-points li strong { color: var(--ink); }
.bundle-picker { display: grid; gap: 9px; margin: 0 0 18px; padding: 0; border: 0; }
.bundle-picker legend { margin-bottom: 9px; color: var(--ink); font-family: var(--heading); font-size: .88rem; font-weight: 900; }
.bundle-option { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.bundle-option:hover { border-color: #aebbbc; }
.bundle-option.is-selected { border-color: var(--coral-strong); background: #fff8f5; box-shadow: 0 0 0 2px rgba(255,168,145,.12); }
.bundle-option input { width: 17px; height: 17px; margin: 0; accent-color: var(--coral-strong); }
.bundle-quantity { display: grid; }
.bundle-quantity strong { font-family: var(--heading); font-size: .9rem; }
.bundle-quantity small { color: var(--muted); font-size: .7rem; }
.bundle-total { display: grid; justify-items: end; color: var(--ink); font-weight: 900; }
.bundle-total em { color: var(--coral-strong); font-size: .67rem; font-style: normal; letter-spacing: .02em; }
.product-action { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 20px; }
.product-cta { min-width: 260px; border: 0; cursor: pointer; }
.product-action > p { margin: 0; color: #718087; font-size: .72rem; font-weight: 700; }

.product-promises { color: #fff; background: var(--green-dark); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.promise-grid article { min-height: 225px; padding: 38px 44px 34px; border-right: 1px solid rgba(255,255,255,.16); }
.promise-grid article:first-child { padding-left: 0; }
.promise-grid article:last-child { padding-right: 0; border-right: 0; }
.promise-number { display: inline-block; margin-bottom: 30px; color: var(--coral); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.promise-grid h2 { margin: 0 0 8px; font-family: var(--heading); font-size: 1.35rem; line-height: 1.1; letter-spacing: -.025em; }
.promise-grid p { max-width: 290px; margin: 0; color: rgba(255,255,255,.68); font-size: .88rem; line-height: 1.58; }

.comfort-story { display: grid; grid-template-columns: 1.35fr .65fr; min-height: 610px; margin-top: 92px; overflow: hidden; border-radius: 12px; background: #f1f1f4; }
.comfort-image { position: relative; min-height: 610px; overflow: hidden; }
.comfort-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, rgba(13,31,32,.14)); pointer-events: none; }
.comfort-image img { width: 100%; height: 100%; object-fit: cover; object-position: 67% center; }
.comfort-image > span { position: absolute; left: 25px; bottom: 24px; z-index: 2; padding: 8px 13px; border-radius: 999px; color: var(--green-dark); background: rgba(255,255,255,.9); backdrop-filter: blur(7px); font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.comfort-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px 48px; background: #f1f1f4; }
.comfort-copy h2 { margin: 0 0 22px; font-family: var(--heading); font-size: clamp(2.5rem, 4.4vw, 4.3rem); line-height: .96; letter-spacing: -.06em; }
.comfort-copy h2 em { color: var(--coral-strong); font-style: normal; }
.comfort-copy > p { margin: 0; color: var(--muted); line-height: 1.68; }
.comfort-quote { margin-top: 33px; padding-top: 24px; border-top: 1px solid #cfd4d5; }
.comfort-quote > span { display: block; height: 20px; color: var(--coral-strong); font-family: Georgia, serif; font-size: 3.2rem; line-height: .7; }
.comfort-quote p { margin: 10px 0 8px; color: var(--ink); font-family: var(--heading); font-size: 1rem; font-weight: 900; line-height: 1.45; }
.comfort-quote cite { color: #6c777b; font-size: .73rem; font-style: normal; font-weight: 800; }

.product-details { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); padding-top: 112px; padding-bottom: 110px; }
.details-heading { position: sticky; top: 40px; align-self: start; }
.details-heading h2 { margin: 6px 0 0; font-family: var(--heading); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; letter-spacing: -.055em; }
.detail-list { border-top: 1px solid var(--line); }
.detail-list article { display: grid; grid-template-columns: 56px 1fr; gap: 17px; padding: 31px 0 34px; border-bottom: 1px solid var(--line); }
.detail-list article > span { padding-top: 4px; color: var(--coral-strong); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.detail-list h3 { margin: 0 0 7px; font-family: var(--heading); font-size: 1.35rem; letter-spacing: -.025em; }
.detail-list p { max-width: 540px; margin: 0; color: var(--muted); line-height: 1.65; }

.product-faq { padding: 90px 0 96px; background: #f4f5f5; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 9vw, 130px); }
.faq-intro h2 { margin: 5px 0 16px; font-family: var(--heading); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; letter-spacing: -.055em; }
.faq-intro > p:last-child { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.65; }
.faq-list { border-top: 1px solid #cfd5d7; }
.faq-list details { border-bottom: 1px solid #cfd5d7; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; color: var(--ink); font-family: var(--heading); font-size: 1rem; font-weight: 900; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: 0 0 auto; color: var(--coral-strong); font-family: var(--body); font-size: 1.5rem; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; margin: -4px 45px 24px 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.faq-list details ul { max-width: 680px; margin: -12px 45px 24px 1.2rem; padding: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.faq-list details li + li { margin-top: 4px; }

.product-closing { position: relative; overflow: hidden; color: #fff; background: var(--green-dark); text-align: center; }
.product-closing::before, .product-closing::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.product-closing::before { top: -210px; left: -100px; width: 460px; height: 460px; }
.product-closing::after { right: -80px; bottom: -230px; width: 500px; height: 500px; }
.closing-inner { position: relative; z-index: 1; padding-top: 92px; padding-bottom: 96px; }
.product-closing .eyebrow { color: var(--coral) !important; }
.product-closing h2 { margin: 8px 0 28px; font-family: var(--heading); font-size: clamp(3rem, 6vw, 5.4rem); line-height: .94; letter-spacing: -.06em; }
.product-closing .button { border: 0; cursor: pointer; }
.product-closing .closing-inner > p:last-child { margin: 15px 0 0; color: rgba(255,255,255,.62); font-size: .74rem; font-weight: 700; }

@media (max-width: 900px) {
  .page-width, .main-nav, .usp-inner { width: min(100% - 30px, 760px); }
  .usp-inner { justify-content: center; }
  .usp-item:not(:first-child), .usp-separator { display: none; }
  .usp-bar { height: 32px; font-size: .73rem; }
  .main-nav { height: 64px; grid-template-columns: 42px 1fr auto; gap: 8px; }
  .brand { justify-self: center; width: 132px; height: 24px; }
  .desktop-links, .desktop-search { display: none; }
  .menu-toggle, .mobile-search-toggle { display: grid; }
  .menu-toggle { align-content: center; gap: 5px; justify-items: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-actions { gap: 2px; }
  .mobile-menu { position: absolute; top: 64px; left: 0; right: 0; display: grid; gap: 0; padding: 12px 15px 20px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 18px 30px rgba(23,51,49,.14); }
  .mobile-menu[hidden], .mobile-search[hidden] { display: none; }
  .mobile-menu a { padding: 14px 8px; border-bottom: 1px solid #eef0f1; font-family: var(--heading); }
  .mobile-search { position: absolute; top: 64px; left: 0; right: 0; display: block; padding: 12px 15px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 18px 30px rgba(23,51,49,.14); }
  .mobile-search .search-form input { width: 100%; }
  .hero-video-link { height: calc(100svh - 96px); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); padding-block: 0; }
  .benefit { padding: 20px 18px; border-bottom: 1px solid var(--line); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(3) { padding-left: 18px; border-bottom: 0; }
  .benefit:nth-child(4) { border-right: 0; border-bottom: 0; }
  .product-row, .product-row-reverse { grid-template-columns: 1fr 1fr; gap: 30px; }
  .product-image-wrap img { min-height: 285px; }
  .footer-inner { grid-template-columns: .8fr 2fr; }
  .newsletter { grid-column: 1 / -1; }
  .product-hero { grid-template-columns: 1fr 1fr; gap: 34px; padding-bottom: 52px; }
  .product-visual { min-height: 500px; }
  .product-visual img { width: 83%; }
  .product-summary h1 { font-size: clamp(3.2rem, 8vw, 4.7rem); }
  .product-cta { width: 100%; }
  .promise-grid article { padding-inline: 28px; }
  .comfort-story { grid-template-columns: 1.1fr .9fr; min-height: 540px; margin-top: 64px; }
  .comfort-image { min-height: 540px; }
  .comfort-copy { padding: 42px 32px; }
  .product-details, .faq-layout { gap: 55px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 78px; }
  body { font-size: 15px; }
  .page-width, .main-nav, .usp-inner { width: calc(100% - 28px); }
  .main-nav { width: 100%; padding-inline: 10px; }
  .brand { width: 126px; height: 23px; }
  .icon-button { width: 38px; height: 42px; }
  .nav-actions { gap: 0; }
  .hero-video-link { min-height: 360px; }
  .hero-cta-strip { min-height: 78px; padding: 14px; }
  .hero-cta-action { width: min(330px, 100%); min-height: 46px; padding-inline: 18px; font-size: .82rem; white-space: nowrap; }
  .button-coral { width: 100%; min-height: 46px; }
  .product-hero { display: block; padding-bottom: 42px; }
  .product-gallery { margin-bottom: 28px; }
  .product-visual { min-height: 390px; }
  .gallery-thumbnails { gap: 7px; }
  .product-summary { padding-top: 0; }
  .product-summary h1 { font-size: 3.3rem; }
  .bundle-option { min-height: 60px; padding-inline: 11px; }
  .benefit-grid { width: 100%; }
  .benefit { grid-template-columns: 42px 1fr; gap: 12px; padding: 18px 14px; }
  .benefit:nth-child(1), .benefit:nth-child(3) { padding-left: 14px; }
  .benefit svg { width: 38px; height: 38px; }
  .benefit h2 { font-size: .78rem; }
  .benefit p { font-size: .69rem; }
  .story { padding-top: 34px; }
  .section-heading h2 { font-size: 1.58rem; }
  .section-heading p { max-width: 330px; margin: 8px auto 0; font-size: .82rem; line-height: 1.42; }
  .coral-line { height: 16px; margin-top: 6px; }
  .products { padding-top: 18px; }
  .product-row, .product-row-reverse { grid-template-columns: 50% 1fr; gap: 14px; align-items: stretch; margin-bottom: 18px; }
  .product-row-reverse { grid-template-columns: 50% 1fr; }
  .product-row-reverse .product-image-wrap { order: 1; }
  .product-row-reverse .product-copy { order: 2; }
  .product-image-wrap { border-radius: 7px; }
  .product-image-wrap img { height: 100%; min-height: 236px; object-fit: cover; }
  .product-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 4px 0; }
  .eyebrow { margin-bottom: 1px !important; font-size: .62rem !important; }
  .product-copy h2 { margin-bottom: 4px; font-size: 1.18rem; }
  .product-copy > p { margin-bottom: 7px; font-size: .75rem; line-height: 1.35; }
  .check-list { gap: 2px; margin-bottom: 9px; font-size: .67rem; line-height: 1.35; }
  .check-list li { padding-left: 16px; }
  .button-outline { min-height: 34px; width: 100%; padding-inline: 10px; border-width: 1px; font-size: .74rem; }
  .reviews { padding: 12px 0 30px; }
  .review-grid { display: block; margin-top: 18px; }
  .review-card { display: none; max-width: 340px; margin-inline: auto; padding: 17px 20px; }
  .review-card.is-active { display: block; }
  .review-card blockquote { font-size: .79rem; }
  .review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
  .review-dots span { width: 9px; height: 9px; border-radius: 50%; background: #dce1e3; }
  .review-dots span.active { background: var(--coral-strong); }
  .footer-inner { display: flex; flex-direction: column; gap: 23px; width: calc(100% - 36px); padding-top: 26px; }
  .footer-brand .brand { justify-self: start; }
  .socials { margin-top: 16px; }
  .desktop-footer-links { display: none; }
  .newsletter { order: 2; }
  .newsletter-form { margin-top: 12px; }
  .mobile-footer-links { order: 3; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
  .mobile-footer-links details { padding: 10px 8px; border-right: 1px solid rgba(255,255,255,.22); }
  .mobile-footer-links details:last-child { border-right: 0; }
  .mobile-footer-links summary { position: relative; padding-right: 14px; font-family: var(--heading); font-size: .69rem; list-style: none; cursor: pointer; }
  .mobile-footer-links summary::-webkit-details-marker { display: none; }
  .mobile-footer-links summary::after { content: "⌄"; position: absolute; right: 0; }
  .mobile-footer-links a { display: block; margin-top: 7px; color: rgba(255,255,255,.74); font-size: .65rem; }
  .footer-bottom { order: 4; display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; width: 100%; padding: 2px 0 20px; border-top: 0; font-size: .56rem; }
  .footer-bottom nav { grid-column: 1 / -1; grid-row: 1; gap: 14px; }
  .footer-bottom > p:first-child { grid-row: 2; }
  .footer-bottom > p:last-child { grid-row: 2; }
  .toast { right: 14px; bottom: 14px; max-width: calc(100% - 28px); }
  .breadcrumb { min-height: 48px; font-size: .68rem; }
  .product-hero { display: block; padding-bottom: 40px; }
  .product-visual { min-height: 385px; border-radius: 8px; }
  .product-visual::before { width: 240px; height: 240px; }
  .product-visual::after { right: -75px; bottom: -110px; width: 230px; height: 230px; }
  .product-visual img { width: 81%; }
  .product-visual-topline { top: 16px; left: 17px; right: 17px; font-size: .56rem; }
  .product-visual-caption { left: 18px; bottom: 17px; font-size: 1rem; }
  .product-summary { padding: 32px 2px 0; }
  .product-summary h1 { font-size: 3.85rem; }
  .product-tagline { margin-top: 15px; font-size: 1.32rem; }
  .product-intro { margin-bottom: 22px; font-size: .94rem; }
  .product-points { margin-bottom: 24px; }
  .product-points li { font-size: .82rem; }
  .product-action { display: block; }
  .product-action > p { margin-top: 11px; text-align: center; }
  .promise-grid { display: block; width: calc(100% - 28px); }
  .promise-grid article, .promise-grid article:first-child, .promise-grid article:last-child { min-height: 0; padding: 27px 0 28px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .promise-grid article:last-child { border-bottom: 0; }
  .promise-number { margin-bottom: 13px; }
  .promise-grid p { max-width: 100%; }
  .comfort-story { display: block; width: calc(100% - 28px); min-height: 0; margin-top: 42px; border-radius: 8px; }
  .comfort-image { min-height: 300px; }
  .comfort-image img { min-height: 300px; object-position: 68% center; }
  .comfort-copy { padding: 34px 24px 38px; }
  .comfort-copy h2 { font-size: 2.75rem; }
  .product-details { display: block; padding-top: 58px; padding-bottom: 58px; }
  .details-heading { position: static; margin-bottom: 32px; }
  .details-heading h2 { font-size: 2.35rem; }
  .detail-list article { grid-template-columns: 37px 1fr; gap: 7px; padding: 24px 0 26px; }
  .detail-list h3 { font-size: 1.14rem; }
  .detail-list p { font-size: .86rem; }
  .product-faq { padding: 56px 0 62px; }
  .faq-layout { display: block; }
  .faq-intro { margin-bottom: 32px; }
  .faq-intro h2 { font-size: 2.35rem; }
  .faq-list summary { padding: 20px 0; font-size: .9rem; line-height: 1.35; }
  .faq-list details p { margin-right: 30px; font-size: .84rem; }
  .closing-inner { padding-top: 63px; padding-bottom: 66px; }
  .product-closing h2 { font-size: 3.15rem; }
  .product-closing .button { width: 100%; }
}

@media (max-width: 380px) {
  .product-row, .product-row-reverse { grid-template-columns: 46% 1fr; gap: 11px; }
  .product-image-wrap img { min-height: 250px; }
  .product-copy h2 { font-size: 1.02rem; }
  .check-list li:nth-child(4) { display: none; }
  .mobile-footer-links { grid-template-columns: 1fr; }
  .mobile-footer-links details { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* DreamBox configurator */
.dreambox-page { background: #fff; }
.dreambox-configurator { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(410px, .96fr); gap: clamp(42px, 6vw, 86px); align-items: start; padding-bottom: 84px; }
.dreambox-preview { position: sticky; top: 24px; min-width: 0; padding: 22px; border-radius: 14px; background: #f2f1ee; }
.preview-topline { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: #70807d; font-size: .72rem; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; }
.config-progress { color: var(--coral-strong); }
.dreambox-render-wrap { --configured-frame-color: #263332; position: relative; overflow: hidden; min-height: 510px; border-radius: 9px; background: linear-gradient(145deg, #f8f4ee 0%, #eee8df 72%, #e4ddd3 100%); touch-action: pan-y; }
.dreambox-render-wrap::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 16px; z-index: 3; height: 5px; border-radius: 99px; background: var(--configured-frame-color); box-shadow: 0 7px 18px rgba(16,41,67,.18); transition: background-color .25s ease; }
.dreambox-render-wrap.has-config-gallery::after { opacity: 0; }
.dreambox-render { width: 100%; height: 510px; object-fit: cover; object-position: center; transition: opacity .2s ease, transform .4s ease; }
.dreambox-render.is-product-render { box-sizing: border-box; padding: clamp(8px, 2vw, 20px); object-fit: contain; background: radial-gradient(circle at 50% 54%, rgba(255,255,255,.9), rgba(255,255,255,.28) 48%, transparent 72%); }
.dreambox-render.is-product-render.is-cutout-view { filter: drop-shadow(0 18px 18px rgba(47, 40, 33, .16)); }
.dreambox-render.is-product-render.is-detail-view,
.dreambox-render.is-product-render.is-lifestyle-view { padding: 0; object-fit: cover; }
.dreambox-render.is-switching { opacity: .35; transform: scale(.985); }
.render-color-label { position: absolute; right: 18px; bottom: 34px; z-index: 4; padding: 7px 12px; border-radius: 999px; color: var(--green-dark); background: rgba(255,255,255,.9); backdrop-filter: blur(7px); font-size: .73rem; font-weight: 900; }
.dreambox-gallery-controls { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 9px 0 0; }
.dreambox-gallery-controls[hidden] { display: none; }
.dreambox-gallery-arrow { position: static; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(44,65,65,.15); border-radius: 50%; color: var(--green-dark); background: rgba(255,255,255,.96); box-shadow: 0 5px 16px rgba(16,41,67,.1); font: 500 2rem/1 var(--body); cursor: pointer; transform: none; transition: background-color .2s ease, transform .2s ease; }
.dreambox-gallery-arrow:hover { background: #fff; transform: scale(1.05); }
.dreambox-gallery-arrow:focus-visible, .dreambox-gallery-thumb:focus-visible { outline: 3px solid rgba(255,168,145,.42); outline-offset: 2px; }
.dreambox-gallery-count { min-width: 56px; padding: 7px 11px; border-radius: 999px; color: var(--green-dark); background: rgba(255,255,255,.9); font-size: .82rem; font-weight: 800; text-align: center; }
.dreambox-gallery-nav[hidden] { display: none; }
.dreambox-gallery-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 6px; }
.dreambox-gallery-thumb { position: relative; display: grid; place-items: center; min-width: 0; height: 78px; padding: 4px; overflow: hidden; border: 1px solid #d1d6d3; border-radius: 8px; background: #f8f8f6; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.dreambox-gallery-thumb:hover { border-color: #98a4a1; transform: translateY(-1px); }
.dreambox-gallery-thumb.is-selected { border-color: var(--coral-strong); box-shadow: 0 0 0 2px rgba(255,168,145,.14); }
.dreambox-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.preview-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; border-top: 1px solid #d5d7d4; border-bottom: 1px solid #d5d7d4; }
.preview-summary div { display: grid; gap: 2px; min-width: 0; padding: 12px 10px 13px; border-right: 1px solid #d5d7d4; }
.preview-summary div:first-child { padding-left: 0; }
.preview-summary div:last-child { padding-right: 0; border-right: 0; }
.preview-summary span { color: #7b8886; font-size: .7rem; }
.preview-summary strong { overflow: hidden; color: var(--ink); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }

.config-panel { padding-top: 7px; }
.config-panel h1 { margin: 2px 0 12px; font-family: var(--heading); font-size: clamp(3.45rem, 5.6vw, 5.65rem); font-weight: 900; line-height: .88; letter-spacing: -.065em; }
.config-intro-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.config-intro-row > p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.config-rating { flex: 0 0 auto; color: var(--coral-strong); font-size: .9rem; letter-spacing: .05em; }
.config-rating small { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: normal; }
.config-preset-note { margin: 16px 0 0; padding: 11px 14px; border: 1px solid rgba(255,168,145,.75); border-radius: 8px; color: var(--ink); background: #fff5f1; font-size: .84rem; font-weight: 700; line-height: 1.4; }
.included-popover { border-bottom: 1px solid var(--line); }
.included-popover summary { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; color: var(--green); font-size: .85rem; font-weight: 900; list-style: none; cursor: pointer; }
.included-popover summary::-webkit-details-marker { display: none; }
.included-popover summary span { color: var(--coral-strong); font-size: 1.25rem; font-weight: 400; transition: transform .2s ease; }
.included-popover[open] summary span { transform: rotate(45deg); }
.included-popover p { margin: -2px 34px 17px 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.included-popover ul { margin: -8px 34px 18px 1.1rem; padding: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.included-popover li + li { margin-top: 3px; }
.dreambox-form { margin-top: 4px; }
.config-group { margin: 0; padding: 20px 0 21px; border: 0; border-bottom: 1px solid var(--line); }
.config-group legend { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 13px; color: var(--ink); font-family: var(--heading); font-size: .9rem; font-weight: 900; }
.config-group legend span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--coral-strong); background: #fff2ee; font-family: var(--body); font-size: .65rem; letter-spacing: .04em; }
.shape-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.shape-option { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 64px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.shape-option:hover { border-color: #aebbbc; }
.shape-option.is-selected { border-color: var(--coral-strong); background: #fff8f5; box-shadow: 0 0 0 2px rgba(255,168,145,.11); }
.shape-option input, .swatch-option input, .frame-color input, .size-options input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.shape-option:has(input:focus-visible), .swatch-option:has(input:focus-visible), .frame-color:has(input:focus-visible), .size-options label:has(input:focus-visible) { outline: 3px solid rgba(255,168,145,.35); outline-offset: 2px; }
.shape-option svg { width: 61px; height: 37px; fill: none; stroke: var(--green); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.leg-icon { display: block; width: 78px; height: 50px; fill: none; stroke: var(--green-dark); stroke-width: 3.5; stroke-linecap: square; stroke-linejoin: round; }
.leg-icon .leg-fill { fill: var(--green-dark); stroke: none; }
.shape-option > span { padding-right: 2px; color: var(--muted); font-size: .875rem; font-weight: 800; }
.swatch-options, .frame-color-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.swatch-option, .frame-color { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; min-height: 51px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.swatch-option.is-selected, .frame-color.is-selected { border-color: var(--coral-strong); background: #fff8f5; box-shadow: 0 0 0 2px rgba(255,168,145,.11); }
.swatch-option i, .frame-color i { width: 31px; height: 31px; border: 2px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(16,41,67,.18); }
.frame-color i { --swatch: var(--frame-color); border-radius: 8px; }
.swatch-option span, .frame-color span { display: grid; gap: 2px; color: var(--muted); font-size: .875rem; line-height: 1.18; font-weight: 800; }
.swatch-option small, .frame-color small { font-size: .75rem; font-weight: 650; }
.height-field { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; color: var(--muted); font-size: .875rem; font-weight: 750; }
.height-field input { width: 6rem; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
.height-field input:focus-visible { outline: 3px solid rgba(255,168,145,.35); outline-offset: 2px; }
.config-hint { margin: 8px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.size-options { display: grid; grid-template-columns: repeat(3, 1fr); }
.size-options label { position: relative; }
.size-options span { display: grid; place-items: center; min-height: 47px; border: 1px solid var(--line); border-right: 0; color: var(--muted); font-size: .75rem; font-weight: 800; cursor: pointer; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.size-options label:first-child span { border-radius: 9px 0 0 9px; }
.size-options label:last-child span { border-right: 1px solid var(--line); border-radius: 0 9px 9px 0; }
.size-options label.is-selected span { position: relative; z-index: 1; border-color: var(--coral-strong); color: var(--green-dark); background: #fff3ef; }
.size-options label.is-selected + label span { border-left-color: var(--coral-strong); }
.variant-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.variant-status:empty { display: none; }
.variant-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 6px 11px; border: 1px solid transparent; border-radius: 999px; font-size: .74rem; font-weight: 900; line-height: 1.2; }
.variant-badge--discount { border-color: var(--coral); color: var(--green-dark); background: #fff0eb; }
.variant-badge--last { border-color: #e4ca7a; color: #6f570c; background: #fff7d9; }
.variant-badge--delivery { border-color: #b9d7c4; color: #286343; background: #edf7f0; }
.variant-badge--sold-out { border-color: #e9aaa4; color: #8c2e26; background: #fdecea; }
.config-checkout { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; padding-top: 23px; }
.config-price { display: grid; }
.config-price > span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.config-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.config-price-row del { color: #899290; font-size: .88rem; font-weight: 800; }
.config-price-row del[hidden] { display: none; }
.config-price strong { color: var(--ink); font-family: var(--heading); font-size: 2rem; line-height: 1.1; letter-spacing: -.04em; }
.config-price small { color: #75817f; font-size: .67rem; }
.config-add { min-width: 240px; border: 0; cursor: pointer; }
.config-add:disabled { color: #fff; background: #9caaa7; box-shadow: none; cursor: not-allowed; opacity: 1; transform: none; }
.config-add:disabled:hover { background: #9caaa7; transform: none; }
.delivery-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #34764f; font-size: .76rem; font-weight: 900; }
.delivery-note span { width: 8px; height: 8px; border-radius: 50%; background: #35a968; box-shadow: 0 0 0 4px rgba(53,169,104,.13); }
.delivery-note.is-unavailable { color: #8c2e26; }
.delivery-note.is-unavailable span { background: #c5544a; box-shadow: 0 0 0 4px rgba(197,84,74,.12); }

.product-anchor-nav { position: sticky; top: 0; z-index: 30; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }
.product-anchor-nav .page-width { display: flex; justify-content: center; gap: clamp(22px, 5vw, 66px); overflow-x: auto; }
.product-anchor-nav a { flex: 0 0 auto; padding: 16px 0; color: var(--green); font-size: .8rem; font-weight: 900; }
.product-anchor-nav a:hover, .product-anchor-nav a:focus-visible { color: var(--coral-strong); }
.dreambox-promises { padding: 54px 0; background: #f3f4f4; }
.dreambox-promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.dreambox-promise-grid article { display: grid; grid-template-columns: 65px 1fr; gap: 16px; align-items: center; min-height: 128px; padding: 24px; background: #fff; }
.dreambox-promise-grid article > span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--coral-strong); background: #fff1ed; font-family: var(--heading); font-size: 1.22rem; }
.dreambox-promise-grid svg { width: 60px; height: 60px; padding: 13px; border-radius: 50%; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: #e7eceb; }
.dreambox-promise-grid h2 { margin: 0 0 4px; font-family: var(--heading); font-size: .96rem; line-height: 1.15; }
.dreambox-promise-grid p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }

.dreambox-story { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 610px; margin-top: 92px; overflow: hidden; border-radius: 12px; background: var(--green-dark); }
.dreambox-story-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px 50px; color: #fff; }
.dreambox-story-copy .eyebrow { color: var(--coral); }
.dreambox-story-copy h2 { margin: 8px 0 23px; font-family: var(--heading); font-size: clamp(2.8rem, 4.8vw, 4.5rem); line-height: .96; letter-spacing: -.06em; }
.dreambox-story-copy > p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.72; }
.dreambox-story-copy ul { display: grid; gap: 10px; margin: 26px 0 0; padding: 23px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.dreambox-story-copy li { position: relative; padding-left: 25px; color: rgba(255,255,255,.88); font-size: .84rem; }
.dreambox-story-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 900; }
.dreambox-story-image { position: relative; min-height: 610px; }
.dreambox-story-image img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.dreambox-story-image > span { position: absolute; right: 24px; bottom: 24px; padding: 8px 13px; border-radius: 99px; color: var(--green-dark); background: rgba(255,255,255,.9); font-size: .69rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.material-section { margin-top: 92px; padding: 92px 0; background: #f3f4f4; }
.material-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(55px, 8vw, 120px); align-items: center; }
.material-visual { position: relative; min-height: 475px; padding-top: 20px; }
.layer { position: relative; display: flex; align-items: center; justify-content: space-between; width: 88%; height: 78px; margin: 0 auto 24px; padding: 0 26px; border: 1px solid rgba(16,41,67,.16); border-radius: 18px; color: var(--green-dark); background: #fff; box-shadow: 0 17px 28px rgba(24,49,49,.08); transform: perspective(600px) rotateX(57deg); }
.layer:nth-child(2) { width: 92%; background: #ffe1d9; }
.layer:nth-child(3) { width: 96%; background: #dbe8e6; }
.layer:nth-child(4) { width: 100%; color: #fff; background: var(--green); }
.layer span { font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.layer strong { font-family: var(--heading); font-size: 1rem; }
.material-copy h2 { margin: 8px 0 23px; font-family: var(--heading); font-size: clamp(3rem, 5.2vw, 4.75rem); line-height: .94; letter-spacing: -.06em; }
.material-copy > p { margin: 0; color: var(--muted); line-height: 1.72; }
.material-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.material-facts span { color: var(--muted); font-size: .7rem; line-height: 1.35; }
.material-facts strong { display: block; margin-bottom: 4px; color: var(--coral-strong); font-family: var(--heading); font-size: 1rem; }

.possibilities { padding-top: 118px; padding-bottom: 118px; }
.possibilities > header { max-width: 840px; margin: 0 auto 58px; text-align: center; }
.possibilities h2 { margin: 8px 0 22px; font-family: var(--heading); font-size: clamp(3rem, 5vw, 4.9rem); line-height: .94; letter-spacing: -.06em; }
.possibilities header > p:last-child { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: 1.04rem; line-height: 1.72; }
.possibility-grid { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1120px; margin-inline: auto; gap: clamp(54px, 7vw, 88px); }
.possibility-grid article { overflow: hidden; padding: clamp(12px, 1.5vw, 18px); border: 1px solid rgba(16,41,67,.08); border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: 0 24px 68px rgba(31,47,48,.11); }
.possibility-swatch { position: relative; height: clamp(520px, 58vw, 720px); margin-bottom: 0; overflow: hidden; border-radius: 18px; background: #c8b9aa url("assets/dreambox-greige-v2.webp") center / cover no-repeat; box-shadow: 0 14px 34px rgba(31,47,48,.1); }
.possibility-swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,41,67,.18)); }
.possibility-carousel::after { pointer-events: none; }
.possibility-carousel-track { display: flex; height: 100%; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; touch-action: pan-y; }
.possibility-carousel-track:active { cursor: grabbing; }
.possibility-carousel-track::-webkit-scrollbar { display: none; }
.possibility-carousel-slide { position: relative; z-index: 0; flex: 0 0 100%; min-width: 100%; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.possibility-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.possibility-carousel-slide.is-portrait { background: #edf0eb; }
.possibility-carousel-slide.is-portrait img { object-fit: contain; }
.possibility-carousel-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 1px solid rgba(16,41,67,.13); border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(31,47,48,.16); cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(8px); transition: transform .2s ease, background-color .2s ease; }
.possibility-carousel-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.possibility-carousel-arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.possibility-carousel-prev { left: 18px; }
.possibility-carousel-next { right: 18px; }
.possibility-carousel-dots { position: absolute; left: 50%; bottom: 18px; z-index: 3; display: flex; max-width: calc(100% - 150px); gap: 2px; padding: 5px 8px; overflow-x: auto; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 5px 18px rgba(31,47,48,.14); scrollbar-width: none; transform: translateX(-50%); backdrop-filter: blur(8px); }
.possibility-carousel-dots::-webkit-scrollbar { display: none; }
.possibility-carousel-dots button { position: relative; flex: 0 0 22px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.possibility-carousel-dots button::before { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #aeb7b9; transform: translate(-50%, -50%); transition: background-color .2s ease, transform .2s ease; }
.possibility-carousel-dots button.is-active::before { background: var(--coral-strong); transform: translate(-50%, -50%) scale(1.35); }
.possibility-carousel-arrow:focus-visible,
.possibility-carousel-dots button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.possibility-swatch.coral { background-image: url("assets/dreambox-coral-v2.webp"); }
.possibility-swatch.lime { background-image: url("assets/dreambox-lime-v1.png"); }
.possibility-swatch.ocean { background-image: url("assets/dreambox-ocean-v2.webp"); }
.possibility-copy { padding: clamp(26px, 3vw, 38px) 24px clamp(20px, 2.4vw, 30px); text-align: center; }
.possibility-copy > span { display: block; color: var(--coral-strong); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.possibility-grid h3 { margin: 8px 0 8px; font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1; }
.possibility-grid p { margin: 0; color: var(--muted); font-size: .96rem; }
.possibility-order-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; margin-top: 22px; padding: 12px 24px; border: 1px solid var(--coral-strong); border-radius: 999px; color: var(--coral-strong); font-size: .86rem; font-weight: 850; text-decoration: none; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.possibility-order-link:hover, .possibility-order-link:focus-visible { color: var(--green-dark); background: var(--coral-strong); transform: translateY(-1px); }
.dreambox-details { padding-top: 95px; padding-bottom: 102px; border-top: 1px solid var(--line); }
.specs-list { align-self: start; }
.dreambox-closing { background: var(--green-dark); }

@media (max-width: 1040px) {
  .dreambox-configurator { grid-template-columns: 1fr 1fr; gap: 30px; }
  .dreambox-preview { padding: 16px; }
  .dreambox-render-wrap, .dreambox-render { min-height: 440px; height: 440px; }
  .config-panel h1 { font-size: 4.35rem; }
  .shape-option { grid-template-columns: 1fr; justify-items: center; min-height: 74px; padding: 6px; }
  .shape-option > span { padding: 0; }
  .config-checkout { grid-template-columns: 1fr; align-items: stretch; }
  .config-add { width: 100%; }
  .dreambox-promise-grid article { grid-template-columns: 52px 1fr; padding: 18px; }
  .dreambox-promise-grid article > span, .dreambox-promise-grid svg { width: 50px; height: 50px; }
  .possibility-swatch { height: clamp(480px, 62vw, 620px); }
}

@media (max-width: 780px) {
  .dreambox-configurator { display: block; }
  .dreambox-preview { position: relative; top: auto; margin-bottom: 34px; }
  .dreambox-render-wrap, .dreambox-render { min-height: 480px; height: 480px; }
  .config-panel { max-width: 620px; margin-inline: auto; }
  .dreambox-promise-grid { grid-template-columns: 1fr; }
  .dreambox-story { grid-template-columns: 1fr; min-height: 0; }
  .dreambox-story-copy { padding: 48px 36px; }
  .dreambox-story-image { min-height: 420px; }
  .material-layout { grid-template-columns: 1fr; }
  .material-copy { max-width: 650px; }
  .possibilities > header { margin-bottom: 46px; }
  .possibility-swatch { height: clamp(420px, 68vw, 540px); }
}

@media (max-width: 620px) {
  .dreambox-configurator { padding-bottom: 54px; }
  .dreambox-preview { width: calc(100% + 28px); margin-left: -14px; padding: 14px; border-radius: 0; }
  .preview-topline { font-size: .62rem; }
  .dreambox-render-wrap, .dreambox-render { min-height: 350px; height: 350px; }
  .dreambox-gallery-thumb { height: 62px; }
  .dreambox-gallery-arrow { width: 38px; height: 38px; }
  .preview-summary { grid-template-columns: repeat(2, 1fr); }
  .preview-summary div:nth-child(2) { border-right: 0; }
  .preview-summary div:nth-child(-n+2) { border-bottom: 1px solid #d5d7d4; }
  .preview-summary div:nth-child(3) { padding-left: 0; }
  .config-panel h1 { font-size: 3.85rem; }
  .config-intro-row { align-items: flex-start; }
  .config-intro-row > p { font-size: .95rem; }
  .config-group { padding-block: 18px; }
  .shape-options, .swatch-options, .frame-color-options { gap: 7px; }
  .shape-option { min-height: 70px; }
  .shape-option svg { width: 54px; }
  .swatch-option, .frame-color { grid-template-columns: 1fr; justify-items: center; gap: 4px; min-height: 66px; padding: 7px 3px; }
  .swatch-option i, .frame-color i { width: 29px; height: 29px; }
  .size-options span { min-height: 53px; padding: 4px; font-size: .67rem; text-align: center; }
  .config-checkout { gap: 14px; }
  .config-price strong { font-size: 1.8rem; }
  .product-anchor-nav .page-width { justify-content: flex-start; width: 100%; padding-inline: 14px; }
  .product-anchor-nav a { padding-block: 13px; }
  .dreambox-promises { padding: 28px 0; }
  .dreambox-promise-grid { gap: 9px; }
  .dreambox-promise-grid article { min-height: 105px; }
  .dreambox-story { width: calc(100% - 28px); margin-top: 50px; }
  .dreambox-story-copy { padding: 38px 25px 42px; }
  .dreambox-story-copy h2 { font-size: 3rem; }
  .dreambox-story-image { min-height: 300px; }
  .material-section { margin-top: 50px; padding: 58px 0; }
  .material-visual { min-height: 355px; }
  .layer { height: 62px; margin-bottom: 10px; padding-inline: 15px; }
  .layer strong { font-size: .78rem; }
  .material-copy h2 { font-size: 3.2rem; }
  .material-facts { grid-template-columns: 1fr; }
  .possibilities { padding-top: 62px; padding-bottom: 64px; }
  .possibilities h2 { font-size: 3.15rem; }
  .possibility-grid { gap: 42px; }
  .possibility-grid article { padding: 8px; border-radius: 18px; }
  .possibility-swatch { height: clamp(330px, 88vw, 430px); border-radius: 13px; }
  .possibility-carousel-arrow { width: 48px; height: 48px; }
  .possibility-carousel-prev { left: 10px; }
  .possibility-carousel-next { right: 10px; }
  .possibility-carousel-dots { bottom: 10px; max-width: calc(100% - 116px); }
  .possibility-copy { padding: 24px 14px 22px; }
  .possibility-grid h3 { font-size: 2rem; }
  .dreambox-details { padding-top: 58px; padding-bottom: 62px; }
}

/* Compact DreamBox configurator based on the original Dreamitt layout. */
.reference-configurator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 26px;
  margin-top: 30px;
}
.reference-configurator .config-tile { min-width: 0; padding: 0; border: 0; }
.reference-configurator .config-tile.size-group { grid-column: 1 / -1; }
.reference-configurator .config-tile legend {
  display: block;
  margin: 0 0 13px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: .98rem;
  font-weight: 900;
}
.reference-configurator .shape-options,
.reference-configurator .swatch-options,
.reference-configurator .frame-color-options { gap: 8px; }
.reference-configurator .shape-option {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-width: 0;
  min-height: 78px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid #d6d7d5;
  border-radius: 17px;
  background: #f8f8f6;
}
.reference-configurator .shape-option:hover,
.reference-configurator .swatch-option:hover,
.reference-configurator .frame-color:hover { border-color: #9b9f9d; }
.reference-configurator .shape-option.is-selected,
.reference-configurator .swatch-option.is-selected,
.reference-configurator .frame-color.is-selected {
  border-color: #6f7472;
  background: #f8f8f6;
  box-shadow: 0 0 0 4px #e5e7e5;
}
.reference-configurator .shape-option svg { width: min(76px, 100%); height: 47px; stroke-width: 2.4; }
.reference-configurator .frame-options .shape-option { min-height: 78px; }
.reference-configurator .leg-icon {
  width: min(78px, 100%);
  height: 50px;
  stroke-width: 3.5;
}
.reference-configurator .swatch-option,
.reference-configurator .frame-color {
  display: grid;
  grid-template-columns: 1fr;
  place-items: stretch;
  min-width: 0;
  min-height: 78px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 17px;
  background: transparent;
}
.reference-configurator .swatch-option i,
.reference-configurator .frame-color i {
  width: 100%;
  height: 62px;
  border: 0;
  border-radius: 14px;
  background-color: var(--swatch);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.32), transparent 44%, rgba(16,41,67,.18)),
    repeating-linear-gradient(24deg, rgba(255,255,255,.09) 0 1px, transparent 1px 4px);
  box-shadow: inset 0 0 0 1px rgba(16,41,67,.08);
}
.reference-configurator .frame-color i {
  background-color: var(--frame-color);
  background-image: none;
}
.reference-configurator .size-options span {
  min-height: 58px;
  border-color: #959a98;
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font-size: .88rem;
}
.reference-configurator .size-options label:first-child span,
.reference-configurator .size-options label:last-child span { border-radius: 0; }
.reference-configurator .size-options label.is-selected span {
  border-color: #6f7472;
  color: var(--ink);
  background: #f1f2ef;
  box-shadow: inset 0 0 0 2px #d9dcda;
}

@media (max-width: 620px) {
  .reference-configurator { grid-template-columns: 1fr; gap: 28px; }
  .reference-configurator .config-tile.size-group { grid-column: auto; }
  .reference-configurator .shape-option,
  .reference-configurator .frame-options .shape-option,
  .reference-configurator .swatch-option,
  .reference-configurator .frame-color { min-height: 74px; }
  .reference-configurator .swatch-option i,
  .reference-configurator .frame-color i { width: 100%; height: 58px; }
  .reference-configurator .size-options span { min-height: 54px; font-size: .76rem; }
}

/* Keep the DreamBox preview and its three views usable before the layout gets narrow. */
@media (max-width: 960px) {
  .dreambox-configurator { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dreambox-preview { position: relative; top: auto; }
  .config-panel { max-width: 720px; margin-inline: auto; }
}

@media (max-width: 620px) {
  .dreambox-preview { box-sizing: border-box; }
  .dreambox-gallery-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .dreambox-gallery-thumb { height: 84px; padding: 5px; }
  .dreambox-gallery-thumb img { object-fit: contain; }
  .dreambox-render-wrap, .dreambox-render { min-height: 0; height: clamp(300px, 88vw, 350px); }
}

@media (max-width: 620px) { .dreambox-gallery-arrow { width: 38px; height: 38px; } }

/* Product-first DreamBox configurator: calmer controls and a larger render. */
.dreambox-configurator.page-width {
  width: min(1380px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1.38fr) minmax(430px, .82fr);
  gap: clamp(34px, 4.4vw, 68px);
  padding-bottom: 76px;
}
.dreambox-preview {
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.preview-topline {
  margin-bottom: 12px;
  padding-inline: 2px;
  font-size: .68rem;
  letter-spacing: .065em;
}
.dreambox-render-wrap {
  min-height: 650px;
  border-radius: 12px;
  background: linear-gradient(145deg, #faf8f4 0%, #f2eee7 74%, #ebe5dc 100%);
}
.dreambox-render {
  height: 650px;
}
.dreambox-render.is-product-render {
  padding: clamp(2px, .8vw, 10px);
  background: radial-gradient(circle at 50% 53%, rgba(255,255,255,.82), rgba(255,255,255,.18) 55%, transparent 76%);
}
.render-color-label {
  right: 16px;
  bottom: 18px;
  box-shadow: 0 2px 10px rgba(16,41,67,.06);
}
.dreambox-gallery-controls {
  min-height: 38px;
  margin-top: 8px;
}
.dreambox-gallery-arrow {
  width: 38px;
  height: 38px;
  border-color: #d8dcda;
  box-shadow: none;
  font-size: 1.7rem;
}
.dreambox-gallery-count {
  padding: 5px 10px;
  background: #f7f7f5;
  font-size: .76rem;
}
.dreambox-gallery-nav {
  gap: 14px;
  margin-top: 5px;
}
.dreambox-gallery-thumb {
  height: 104px;
  padding: 3px;
  border-color: transparent;
  border-radius: 10px;
  background: #f7f6f3;
  box-shadow: inset 0 0 0 1px rgba(44,65,65,.08);
}
.dreambox-gallery-thumb img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.dreambox-gallery-thumb.is-selected {
  border-color: var(--coral-strong);
  box-shadow: 0 0 0 1px rgba(255,168,145,.12);
}
.preview-summary {
  margin-top: 14px;
  background: #fff;
}
.preview-summary div {
  padding-top: 13px;
  padding-bottom: 14px;
}
.config-panel {
  padding-top: 28px;
}
.config-panel h1 {
  max-width: 520px;
  margin: 4px 0 10px;
  font-size: clamp(3.2rem, 4.2vw, 4.5rem);
  line-height: .91;
}
.config-intro-row {
  padding-bottom: 16px;
}
.config-intro-row > p {
  font-size: .96rem;
}
.included-popover summary {
  padding: 13px 0;
}
.reference-configurator {
  gap: 24px 20px;
  margin-top: 24px;
}
.reference-configurator .config-tile legend {
  margin-bottom: 9px;
  font-family: var(--body);
  font-size: .78rem;
  letter-spacing: .01em;
}
.reference-configurator .shape-options,
.reference-configurator .swatch-options,
.reference-configurator .frame-color-options {
  gap: 7px;
}
.reference-configurator .shape-option,
.reference-configurator .frame-options .shape-option {
  min-height: 66px;
  border-radius: 12px;
  background: #fbfbfa;
}
.reference-configurator .shape-option.is-selected,
.reference-configurator .swatch-option.is-selected,
.reference-configurator .frame-color.is-selected {
  border-color: #78817f;
  background: #fafaf8;
  box-shadow: 0 0 0 2px #e8eae8;
}
.reference-configurator .shape-option svg {
  height: 40px;
}
.reference-configurator .leg-icon {
  height: 43px;
}
.reference-configurator .swatch-option,
.reference-configurator .frame-color {
  min-height: 66px;
  padding: 5px;
  border-radius: 12px;
}
.reference-configurator .swatch-option i,
.reference-configurator .frame-color i {
  height: 52px;
  border-radius: 10px;
}
.reference-configurator .size-options span {
  min-height: 50px;
  border-color: #c6cbc9;
  font-size: .78rem;
}
.config-checkout {
  gap: 14px;
  padding-top: 20px;
}
.config-add {
  min-width: 205px;
}

@media (max-width: 1180px) {
  .dreambox-configurator.page-width {
    grid-template-columns: minmax(0, 1.18fr) minmax(400px, .82fr);
    gap: 32px;
  }
  .dreambox-render-wrap,
  .dreambox-render {
    min-height: 560px;
    height: 560px;
  }
  .dreambox-gallery-thumb { height: 90px; }
  .config-panel { padding-top: 12px; }
}

@media (max-width: 960px) {
  .dreambox-configurator.page-width {
    width: min(820px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .dreambox-render-wrap,
  .dreambox-render {
    min-height: 620px;
    height: 620px;
  }
  .dreambox-gallery-thumb { height: 110px; }
  .config-panel { max-width: 720px; padding-top: 0; }
}

@media (max-width: 620px) {
  .dreambox-configurator.page-width {
    width: calc(100% - 28px);
    gap: 30px;
    padding-bottom: 50px;
  }
  .dreambox-preview {
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
    padding: 0;
  }
  .preview-topline { padding-inline: 0; }
  .dreambox-render-wrap,
  .dreambox-render {
    min-height: 0;
    height: clamp(360px, 104vw, 430px);
  }
  .dreambox-render-wrap { border-radius: 10px; }
  .dreambox-render.is-product-render { padding: 0; }
  .dreambox-gallery-nav { gap: 8px; }
  .dreambox-gallery-thumb { height: clamp(76px, 24vw, 96px); }
  .preview-summary { margin-top: 12px; }
  .config-panel h1 { font-size: 3.25rem; }
  .reference-configurator { gap: 24px; margin-top: 24px; }
  .reference-configurator .shape-option,
  .reference-configurator .frame-options .shape-option,
  .reference-configurator .swatch-option,
  .reference-configurator .frame-color { min-height: 70px; }
  .reference-configurator .swatch-option i,
  .reference-configurator .frame-color i { height: 56px; }
}

/* Mobile navigation: center the logo against the viewport. */
@media (max-width: 900px) {
  .site-header .main-nav { position: relative; }
  .site-header .main-nav .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
  .site-header .nav-actions { grid-column: 3; justify-self: end; }
  .site-header .nav-reviews-link { display: none; }
  .site-header .bag-button { width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: var(--ink); box-shadow: none; }
}

/* Dreamitt shopping drawer */
body.cart-open { overflow: hidden; }
dialog.dreamitt-cart { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(540px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; color: var(--green-dark); background: #faf9f7; font-family: var(--body); box-shadow: -15px 0 70px #17333126; }
.dreamitt-cart[open] { display: flex; flex-direction: column; animation: dc-enter .25s ease-out; }
.dreamitt-cart::backdrop { background: #102b2b66; }
.dc-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 25px 26px 20px; border-bottom: 1px solid #17333112; }
.dc-eyebrow { font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.dc-header h2 { margin: 5px 0 0; font-family: var(--heading); font-size: 25px; line-height: 1.2; }
.dc-close { flex-shrink: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; font-size: 29px; cursor: pointer; }
.dc-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 26px 24px; }
.dc-notice { font-size: 13px; color: #395d51; min-height: 20px; margin: 15px 0; }
.dc-item { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 14px 18px; padding: 0 0 23px; margin-bottom: 23px; border-bottom: 1px solid #17333114; }
.dc-photo { width: 104px; height: 104px; border-radius: 14px; object-fit: cover; }
.dc-info { align-self: center; }
.dc-info h3 { font-size: 18px; margin: 0 0 5px; }
.dc-info p { font-size: 12px; color: var(--muted); margin: 0 0 6px; overflow-wrap: anywhere; }
.dc-info strong { font-size: 17px; }
.dc-quantity { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.dc-quantity button { border: 1px solid #17333125; background: transparent; width: 34px; height: 34px; border-radius: 50%; font-size: 21px; cursor: pointer; }
.dc-quantity span { font-size: 14px; font-weight: 600; }
.dc-remove { justify-self: start; align-self: center; border: 0; padding: 8px 0; background: none; text-decoration: underline; color: var(--muted); font-size: 12px; cursor: pointer; }
.dc-recommendations h3 { margin: 24px 0 16px; font-size: 19px; font-family: var(--heading); }
.dc-products { display: grid; grid-auto-flow: column; grid-auto-columns: 65%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.dc-products a { scroll-snap-align: start; background: #f4f0ed; border-radius: 14px; overflow: hidden; padding-bottom: 15px; }
.dc-products img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.dc-products strong, .dc-products span { display: block; margin: 10px 15px 0; }
.dc-products span { font-size: 12px; color: var(--muted); }
.dc-footer { flex-shrink: 0; padding: 19px 26px max(14px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #17333118; }
.dc-footer[hidden], .dc-recommendations[hidden] { display: none; }
.dc-total { display: flex; justify-content: space-between; font-size: 20px; }
.dc-footer p { color: var(--muted); font-size: 11px; margin: 6px 0 15px; }
.dc-checkout { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; background: var(--coral); color: var(--green-dark); border-radius: 999px; font-size: 15px; font-weight: 650; }
.dc-checkout:hover { filter: brightness(.97); }
.dc-continue { display: block; border: 0; margin: 8px auto 0; padding: 6px 15px; background: none; font-size: 12px; cursor: pointer; }
.dc-empty { padding: 20px 0 30px; }
.dreamitt-cart :focus-visible { outline: 2px solid var(--green-dark); outline-offset: 3px; }
@keyframes dc-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media(max-width: 400px) { .dc-header { padding: 20px; } .dc-body { padding-inline: 20px; } .dc-footer { padding-inline: 20px; } .dc-header h2 { font-size: 23px; } }
@media(prefers-reduced-motion: reduce) { .dreamitt-cart[open] { animation: none; } }

.dc-item-shipping { grid-column: 1 / -1; margin: 0; color: var(--green); font-size: 12px; }
.dc-item-shipping:empty { display: none; }
.dc-item-trial { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; margin: 0; color: #777875; font-size: 12px; line-height: 1.5; }
.dc-item-trial svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dc-footer .dc-shipping { color: var(--green); font-size: 13px; font-weight: 600; margin: 10px 0 0; }

.dc-recommendations > summary { display: flex; justify-content: space-between; gap: 15px; padding: 16px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.dc-recommendations > summary::-webkit-details-marker { display: none; }
.dc-recommendations[open] > summary span { transform: rotate(45deg); }
.dc-quantity button { width: 36px; height: 44px; border-radius: 20px; }
