@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: only light;
  /* Previous warm taupe: #e8e1dc; preserved in design/background-history.json. */
  --bg: #e6e0dd;
  --paper: #f8f5f1;
  --ink: #382820;
  --muted: #847b74;
  --line: #d3cac2;
  --cocoa: #513c32;
  --radius: 28px;
  --small: 16px;
  --max: 1440px;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
button {
  border: 0;
  background: none;
}
a,
button {
  touch-action: manipulation;
}
input,
textarea,
select {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  max-width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
}
select {
  cursor: pointer;
}
select:not([multiple]):not([size]),
select:not([multiple])[size="1"] {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23513c32' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}
@media (forced-colors: active) {
  select:not([multiple]):not([size]),
  select:not([multiple])[size="1"] {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--cocoa);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cocoa);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.09;
}
p {
  line-height: 1.6;
}
h2 {
  font-size: clamp(26px, 3vw, 45px);
}
h3 {
  font-size: 23px;
}
button .icon,
a .icon {
  flex-shrink: 0;
}
.icon {
  width: 22px;
  height: 22px;
  display: block;
}
.header,
main,
.footer,
.search-form,
.mobile-menu {
  width: calc(100% - 96px);
  max-width: var(--max);
  margin-inline: auto;
}
.header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 800;
  font-size: 31px;
  letter-spacing: -2px;
  line-height: 1;
}
.brand span {
  color: #876d5a;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  margin: auto;
  font-size: 14px;
}
.desktop-nav a {
  padding: 10px 0;
  position: relative;
}
.desktop-nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.header-actions > .icon-button {
  width: 42px;
  height: 42px;
}
.icon-button {
  height: 46px;
  width: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ddd4cd;
  flex-shrink: 0;
  position: relative;
}
.icon-button:hover {
  background: #d0c2b7;
}
.dark {
  background: var(--cocoa);
  color: #fffaf4;
}
.dark:hover {
  background: #3e2c23;
}
.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  border-radius: 100px;
  background: #fff8ed;
  color: var(--cocoa);
  min-width: 19px;
  height: 19px;
  font-size: 11px;
  padding: 2px;
}
.mobile-toggle {
  display: none;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 100px;
  padding: 14px 25px;
  font-size: 14px;
  font-weight: 600;
  background: var(--paper);
  text-align: center;
}
.button.dark {
  background: var(--cocoa);
  color: var(--paper);
}
.button.dark:hover {
  background: #37261f;
}
.button.outline-light {
  background: none;
  border: 1px solid #b4a298;
  color: var(--paper);
}
.text-link {
  font-size: 14px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #ad9d91;
  padding-bottom: 5px;
  white-space: nowrap;
}
.text-link .icon {
  width: 18px;
  height: 18px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.6;
  margin-bottom: 17px;
}
.small-label {
  font-size: 10px;
  letter-spacing: 0.16em;
}
.intro {
  padding: 26px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.intro h1 {
  font-size: clamp(48px, 4.8vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.065em;
  font-weight: 500;
}
.intro .eyebrow {
  margin-bottom: 12px;
}
.intro-sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 14px;
}
.intro-aside {
  padding-bottom: 8px;
  max-width: 270px;
}
.intro-aside p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.hero {
  height: clamp(280px, 36svh, 360px);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #cbbcac;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-position: center 61%;
}
.hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hotspot-table {
  left: 33%;
  top: 62%;
}
.hotspot-tv {
  left: 64%;
  top: 60%;
}
.hotspot-dresser {
  left: 83%;
  top: 48%;
}
.hotspot-plus {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  background: #f7f3ec;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px #32201624;
}
.hotspot-label {
  background: #f6f2ecd9;
  backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: 15px;
  font-size: 12px;
  position: absolute;
  bottom: 48px;
  left: -30px;
  min-width: 205px;
}
.hotspot-label small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.scene-caption {
  position: absolute;
  bottom: 20px;
  left: 22px;
  background: #4a382fb3;
  color: #fff9f3;
  backdrop-filter: blur(8px);
  border-radius: 40px;
  padding: 10px 15px;
  font-size: 11px;
}
.hero-link {
  position: absolute;
  bottom: 20px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f3e9e6;
  border-radius: 99px;
  padding: 10px 17px;
  font-size: 11px;
}
.hero-link .icon {
  width: 17px;
  height: 17px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-end;
  margin: 37px 0 24px;
}
.section-heading h2 {
  font-size: clamp(27px, 2.8vw, 43px);
  letter-spacing: -0.055em;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 260px 250px 420px;
  gap: 18px;
}
.product-card {
  position: relative;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d8cabe;
  isolation: isolate;
}
.card-image {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  object-position: center;
}
.product-card:hover .card-image img {
  transform: scale(1.025);
}
.favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: #faf5edcc;
  z-index: 2;
}
.favorite .icon {
  width: 19px;
  height: 19px;
}
.favorite[aria-pressed="true"] {
  color: #713d2d;
  background: #fff5e9;
}
.favorite[aria-pressed="true"] svg {
  fill: currentColor;
}
.card-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  background: #faf5eeed;
  backdrop-filter: blur(12px);
  padding: 15px;
  border-radius: 18px;
  z-index: 1;
}
.card-title {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  display: block;
}
.card-collection {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.swatches {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 11px;
  flex-wrap: wrap;
}
.swatch {
  width: 27px;
  height: 27px;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #967048;
  background-image:
    repeating-linear-gradient(
      23deg,
      transparent 0 3px,
      #20130826 4px 5px,
      transparent 6px 10px
    ),
    linear-gradient(110deg, #ffffff22, transparent);
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px #47250c14;
}
.swatch--casella-brown {
  background-color: #70513c;
}
.swatch--casella-natural {
  background-color: #c5a275;
}
.swatch--carini-walnut {
  background-color: #a57950;
}
.swatch.selected {
  outline: 1px solid var(--cocoa);
  outline-offset: 3px;
}
.swatch:hover {
  transform: scale(1.08);
}
.card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.card-action .icon-button {
  width: 38px;
  height: 38px;
}
.price {
  font-size: 13px;
  white-space: nowrap;
}
.tile-table {
  grid-column: 1/7;
  grid-row: 1/3;
}
.tile-bedside {
  grid-column: 7/10;
  grid-row: 1;
}
.tile-tv {
  grid-column: 7/13;
  grid-row: 2;
}
.tile-desk {
  grid-column: 1/8;
  grid-row: 3;
}
.tile-dresser {
  grid-column: 8/13;
  grid-row: 3;
}
.tile-bedside .card-title {
  font-size: 14px;
}
.tile-bedside .card-info {
  padding: 10px;
  bottom: 9px;
  left: 9px;
  right: 9px;
}
.tile-bedside .card-collection,
.tile-bedside .price {
  display: none;
}
.tile-bedside .swatch {
  width: 21px;
  height: 21px;
}
.tile-bedside .card-action .icon-button {
  width: 30px;
  height: 30px;
}
.material-tile {
  grid-column: 10/13;
  grid-row: 1;
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.material-tile img {
  height: 53%;
  width: 100%;
}
.material-tile div {
  padding: 15px;
}
.material-tile h3 {
  font-size: 18px;
}
.material-tile p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 12px;
}
.material-tile .text-link {
  font-size: 10px;
  gap: 6px;
}
.collection-preview {
  margin-top: 60px;
}
.collection-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.collection-strip > a {
  display: flex;
  align-items: center;
  gap: 17px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 15px;
}
.collection-strip .swatch {
  width: 56px;
  height: 56px;
}
.collection-strip small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}
.collection-strip .icon {
  margin-left: auto;
  width: 18px;
}
.story-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--radius);
  background: var(--cocoa);
  color: var(--paper);
  padding: 32px 40px;
  margin: 54px 0 65px;
}
.story-banner h2 {
  font-size: 33px;
  min-width: 250px;
}
.story-banner img {
  width: 25%;
  height: 130px;
  border-radius: 80px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 25px;
  margin-top: 70px;
}
.footer-top {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.footer-top p {
  font-size: 13px;
  color: var(--muted);
}
.footer-top nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  font-size: 10px;
  color: var(--muted);
}
.page-heading {
  padding: 56px 0 40px;
}
.page-heading h1 {
  font-size: clamp(36px, 4.7vw, 68px);
}
.page-heading > p:last-child {
  margin-top: 17px;
  color: var(--muted);
  font-size: 17px;
}
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
  white-space: nowrap;
  background: transparent;
  min-height: 41px;
}
.chip.active,
.chip:hover {
  background: var(--cocoa);
  color: var(--paper);
  border-color: var(--cocoa);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 22px;
  padding: 17px 0;
}
.filter-row select {
  font-size: 12px;
  max-width: 280px;
  min-height: 45px;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  min-height: 45px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.catalog-search:hover {
  border-color: #b7a99f;
}
.catalog-search:focus-within {
  border-color: var(--cocoa);
  box-shadow: 0 0 0 2px #513c3229;
}
.catalog-search input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 13px;
  min-width: 0;
  min-height: 43px;
  padding: 11px 0;
}
.catalog-search input:focus {
  outline: none;
}
.catalog-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.catalog-search .icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--muted);
}
.filter-submit {
  font-size: 12px;
  padding: 10px 18px;
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0 18px;
  font-size: 11px;
  color: var(--muted);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}
.catalog-grid .product-card {
  background: none;
  overflow: visible;
}
.catalog-grid .card-image {
  height: auto;
  aspect-ratio: 1.04;
  border-radius: var(--radius);
}
.catalog-grid .card-info {
  position: static;
  background: none;
  backdrop-filter: none;
  padding: 15px 3px 0;
  align-items: flex-start;
}
.catalog-grid .card-action .icon-button {
  background: #d8cec5;
  color: var(--ink);
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
}
.empty-state p {
  margin: 15px 0 25px;
  color: var(--muted);
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px 0;
  font-size: 11px;
  color: var(--muted);
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
.product-gallery {
  position: sticky;
  top: 24px;
  min-width: 0;
}
.main-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.main-image > img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.95;
  object-fit: cover;
}
.thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.thumbnail {
  flex-shrink: 0;
  padding: 0;
  width: 85px;
  height: 85px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
}
.thumbnail img {
  width: 100%;
  height: 100%;
}
.thumbnail.selected {
  border-color: var(--cocoa);
}
.product-summary {
  --product-option-size: 43px;
  padding-top: 12px;
  min-width: 0;
}
.product-summary h1 {
  font-size: clamp(32px, 3.7vw, 53px);
  line-height: 1.1;
}
.product-lead {
  font-size: 14px;
  color: var(--muted);
  margin-top: 22px;
  max-width: 520px;
}
.finish-picker {
  padding: 27px 0;
}
.finish-picker p {
  font-size: 14px;
  margin: 10px 0;
}
.finish-picker .swatches {
  gap: 18px;
}
.finish-picker .swatch {
  width: var(--product-option-size);
  height: var(--product-option-size);
}
.buy-block {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-bottom: 24px;
}
.product-price {
  font-size: 32px;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.stock {
  font-size: 11px;
  color: #546149;
  letter-spacing: 0;
}
.stock:before {
  content: "●";
  margin-right: 6px;
}
.stock.unavailable {
  color: var(--muted);
}
.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0 16px;
}
.buy-actions > .button {
  flex: 1 1 120px;
}
.quantity {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  height: 49px;
}
.quantity button {
  width: 39px;
  height: 45px;
  font-size: 18px;
}
.quantity input {
  border: 0;
  background: none;
  border-radius: 0;
  width: 38px;
  padding: 0;
  text-align: center;
  font-size: 14px;
  appearance: textfield;
  -moz-appearance: textfield;
}
.quantity input::-webkit-inner-spin-button {
  appearance: none;
}
.small-copy {
  font-size: 11px;
  color: var(--muted);
}
.demo-note {
  font-size: 11px;
  color: #81634a;
  background: #eee4d6;
  border-radius: 10px;
  padding: 10px 13px;
  margin-top: 15px;
  line-height: 1.6;
}
.specs {
  font-size: 12px;
  margin: 10px 0;
}
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 11px 0;
  border-bottom: 1px solid #d8d0c766;
}
.specs dt {
  color: var(--muted);
  min-width: 85px;
}
.specs dd {
  margin: 0;
  text-align: right;
  max-width: 310px;
}
.product-summary details,
.faq details {
  border-top: 1px solid var(--line);
  padding: 17px 0;
  font-size: 13px;
  line-height: 1.6;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-weight: 600;
}
summary:after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
}
details[open] > summary:after {
  content: "−";
}
summary::-webkit-details-marker {
  display: none;
}
details > p {
  color: var(--muted);
  margin: 15px 0;
}
.product-bottom {
  margin: 70px 0 20px;
  border-radius: var(--radius);
  background: #d9ccc1;
  padding: 42px;
}
.product-bottom .button {
  margin-top: 25px;
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.collections-grid article {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
.collection-photo {
  display: block;
  aspect-ratio: 0.95;
}
.collection-photo img {
  width: 100%;
  height: 100%;
}
.collection-description {
  padding: 26px;
}
.collection-description h2 {
  font-size: 29px;
}
.collection-description p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 13px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 54px;
  align-items: center;
}
.about-layout > img {
  width: 100%;
  height: 480px;
  border-radius: var(--radius);
}
.about-layout p {
  margin: 23px 0;
  color: var(--muted);
  font-size: 15px;
}
.values,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 55px;
}
.values article,
.steps > div {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.values span,
.steps span {
  color: var(--muted);
  font-size: 12px;
}
.values h3,
.steps h3 {
  margin: 20px 0 12px;
}
.values p,
.steps p {
  font-size: 13px;
  color: var(--muted);
}
.paper {
  border-radius: var(--radius);
  background: var(--paper);
  padding: 35px;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.info-grid p {
  margin-top: 20px;
  color: var(--muted);
}
.info-grid .button {
  margin-top: 25px;
}
.info-photo {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
}
.contact-link {
  display: block;
  font-size: 22px;
  margin-top: 25px;
}
.faq {
  max-width: 820px;
  margin-top: 65px;
}
.faq h2 {
  margin-bottom: 25px;
}
.prose {
  max-width: 900px;
}
.prose h2 {
  font-size: 27px;
  margin-top: 25px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 14px;
}
.search-form {
  display: flex;
  gap: 15px;
  padding: 18px 0;
}
.search-form input {
  flex: 1;
}
.search-form[hidden],
.mobile-menu[hidden],
[hidden] {
  display: none !important;
}
.cart-dialog {
  width: min(1100px, calc(100% - 48px));
  max-height: 90dvh;
  border: 0;
  border-radius: 32px;
  background: var(--paper);
  color: var(--ink);
  padding: 30px;
  overflow: auto;
  box-shadow: 0 30px 100px #27171038;
}
.cart-dialog::backdrop {
  background: #2c251d77;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.dialog-head h2 {
  font-size: 36px;
}
.dialog-head .eyebrow {
  margin-bottom: 8px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 17px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  align-items: center;
}
.cart-item > img {
  width: 90px;
  height: 105px;
  border-radius: 15px;
}
.cart-item-title {
  font-size: 14px;
}
.cart-item small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0 10px;
}
.cart-item .quantity {
  height: 35px;
  width: max-content;
}
.cart-item .quantity button {
  width: 30px;
  height: 33px;
}
.cart-item .quantity span {
  min-width: 22px;
  text-align: center;
  font-size: 12px;
}
.cart-item-price {
  text-align: right;
  font-size: 12px;
}
.cart-item-price button {
  display: block;
  margin: 15px 0 0 auto;
}
.checkout {
  background: #eae3dc;
  border-radius: 23px;
  padding: 24px;
}
.checkout h3 {
  font-size: 24px;
}
.checkout label {
  display: block;
  font-size: 12px;
  margin-top: 16px;
}
.checkout input:not([type="checkbox"]),
.checkout textarea {
  width: 100%;
  display: block;
  margin-top: 7px;
  border-color: transparent;
  background: var(--paper);
  font-size: 14px;
}
.checkout textarea {
  min-height: 74px;
}
.checkout .consent {
  display: flex;
  gap: 10px;
  font-size: 10px;
  line-height: 1.6;
  align-items: flex-start;
}
.consent input {
  margin: 3px 0;
  flex-shrink: 0;
  accent-color: var(--cocoa);
  width: 16px;
  height: 16px;
}
.consent a {
  text-decoration: underline;
}
.checkout .button {
  width: 100%;
  margin-top: 18px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 20px;
  font-size: 17px;
}
.form-error {
  color: #a13428;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
}
.order-success {
  text-align: center;
  padding: 50px 15px;
}
.order-success .icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 25px;
}
.order-success p {
  margin: 20px 0;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  background: var(--cocoa);
  color: var(--paper);
  border-radius: 18px;
  padding: 15px 22px;
  font-size: 13px;
  box-shadow: 0 5px 30px #34201622;
  transition: 0.2s;
  max-width: calc(100% - 32px);
  width: max-content;
}
.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  background: white;
  padding: 12px;
}
.error-page {
  padding: 100px 0;
  max-width: 850px;
}
.error-page .brand {
  display: block;
  margin-bottom: 50px;
}
.error-page h1 {
  font-size: 48px;
  margin: 20px 0;
}
.error-page .button {
  margin-top: 30px;
}
@media (min-width: 1600px) {
  .mosaic {
    grid-template-rows: 290px 280px 460px;
  }
}
@media (max-width: 1100px) {
  .header,
  main,
  .footer,
  .search-form,
  .mobile-menu {
    width: calc(100% - 48px);
  }
  .header {
    gap: 24px;
  }
  .desktop-nav {
    gap: 24px;
  }
  .intro h1 {
    font-size: 56px;
  }
  .mosaic {
    grid-template-rows: 220px 220px 350px;
    gap: 14px;
  }
  .tile-bedside .card-title {
    font-size: 12px;
  }
  .tile-bedside .swatch {
    width: 17px;
    height: 17px;
  }
  .card-title {
    font-size: 15px;
  }
  .card-info {
    padding: 12px;
  }
  .price {
    font-size: 12px;
  }
  .material-tile div {
    padding: 12px;
  }
  .material-tile h3 {
    font-size: 16px;
  }
  .story-banner {
    padding: 30px;
  }
  .story-banner h2 {
    font-size: 28px;
  }
  .product-detail {
    gap: 30px;
  }
  .product-price {
    font-size: 28px;
  }
  .stock {
    font-size: 10px;
  }
  .catalog-grid {
    gap: 22px 15px;
  }
  .catalog-grid .card-info {
    flex-wrap: wrap;
  }
  .catalog-grid .card-action {
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  .collection-strip > a {
    gap: 12px;
    font-size: 12px;
  }
  .collection-strip .swatch {
    width: 42px;
    height: 42px;
  }
  .footer-top {
    gap: 28px;
  }
  .footer-top nav {
    gap: 18px;
  }
}
@media (max-width: 760px) {
  .header,
  main,
  .footer,
  .search-form,
  .mobile-menu {
    width: calc(100% - 36px);
  }
  .header {
    height: 68px;
    gap: 15px;
  }
  .brand {
    font-size: 27px;
  }
  .desktop-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
    gap: 7px;
  }
  .header-actions > .icon-button {
    width: 38px;
    height: 38px;
  }
  .header-actions > .icon-button:nth-child(2) {
    display: none;
  }
  .icon {
    width: 20px;
    height: 20px;
  }
  .mobile-toggle {
    display: flex;
  }
  .mobile-menu {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a {
    padding: 10px 0;
    font-size: 16px;
    min-height: 44px;
  }
  .mobile-menu a[aria-current] {
    font-weight: 700;
  }
  .intro {
    padding: 22px 0 18px;
  }
  .intro h1 {
    font-size: clamp(42px, 9vw, 54px);
  }
  .intro .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .intro-sub {
    font-size: 13px;
    max-width: 280px;
    margin-top: 12px;
  }
  .intro-aside {
    display: none;
  }
  .hero {
    height: clamp(260px, 34svh, 300px);
    border-radius: 23px;
  }
  .hero-photo {
    object-position: 54% center;
  }
  .hotspot-table {
    left: 29%;
    top: 65%;
  }
  .hotspot-tv {
    left: 66%;
    top: 60%;
  }
  .hotspot-dresser {
    display: none;
  }
  .hotspot-label {
    left: -26px;
    min-width: 170px;
    font-size: 10px;
    padding: 10px;
  }
  .hotspot-label small {
    font-size: 9px;
  }
  .hotspot-plus {
    height: 30px;
    width: 30px;
  }
  .scene-caption {
    font-size: 9px;
    left: 12px;
    bottom: 14px;
    padding: 8px 11px;
  }
  .hero-link {
    font-size: 0;
    bottom: 12px;
    right: 12px;
    padding: 10px;
  }
  .hero-link .icon {
    width: 19px;
    height: 19px;
  }
  .section-heading {
    align-items: flex-start;
    margin: 30px 0 18px;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 29px;
    max-width: 75%;
    line-height: 1.12;
  }
  .section-heading > .text-link {
    font-size: 0;
    border: 0;
    padding-top: 4px;
  }
  .section-heading > .text-link .icon {
    width: 25px;
    height: 25px;
  }
  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 400px 245px 280px 320px;
    gap: 12px;
  }
  .tile-table {
    grid-column: 1/3;
    grid-row: 1;
  }
  .tile-bedside {
    grid-column: 1;
    grid-row: 2;
  }
  .material-tile {
    grid-column: 2;
    grid-row: 2;
  }
  .tile-tv {
    grid-column: 1/3;
    grid-row: 3;
  }
  .tile-desk {
    grid-column: 1;
    grid-row: 4;
  }
  .tile-dresser {
    grid-column: 2;
    grid-row: 4;
  }
  .tile-desk .card-info,
  .tile-dresser .card-info {
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px;
  }
  .tile-desk .card-title,
  .tile-dresser .card-title {
    font-size: 13px;
  }
  .tile-desk .card-collection,
  .tile-dresser .card-collection {
    font-size: 9px;
  }
  .tile-desk .card-action,
  .tile-dresser .card-action {
    flex-direction: row-reverse;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .tile-desk .card-action .icon-button,
  .tile-dresser .card-action .icon-button {
    width: 28px;
    height: 28px;
  }
  .tile-desk .swatch,
  .tile-dresser .swatch {
    width: 20px;
    height: 20px;
  }
  .tile-desk .card-image img {
    object-position: 55% center;
  }
  .product-card {
    border-radius: 23px;
  }
  .tile-bedside .card-title {
    font-size: 13px;
  }
  .tile-bedside .swatch {
    width: 20px;
    height: 20px;
  }
  .material-tile {
    border-radius: 23px;
  }
  .material-tile h3 {
    font-size: 18px;
  }
  .material-tile p {
    font-size: 10px;
  }
  .card-info {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  .collection-preview {
    margin-top: 35px;
  }
  .collection-strip {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .collection-strip > a {
    font-size: 14px;
    padding: 18px 0;
    gap: 18px;
  }
  .collection-strip small {
    font-size: 12px;
  }
  .collection-strip .swatch {
    width: 48px;
    height: 48px;
  }
  .story-banner {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 22px;
    padding: 25px;
    margin: 35px 0 40px;
    border-radius: 23px;
  }
  .story-banner h2 {
    min-width: 0;
    font-size: 26px;
  }
  .story-banner img {
    width: 80px;
    height: 80px;
  }
  .story-banner > .button {
    grid-column: 1/3;
    width: 100%;
    font-size: 12px;
  }
  .footer {
    margin-top: 45px;
    padding-top: 25px;
  }
  .footer-top {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
  }
  .footer-top p {
    font-size: 11px;
  }
  .footer-top nav {
    margin: 0;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
    font-size: 11px;
  }
  .footer-bottom {
    font-size: 9px;
    margin-top: 28px;
    align-items: flex-end;
  }
  .footer-bottom span:last-child {
    text-align: right;
    max-width: 180px;
  }
  .page-heading {
    padding: 35px 0 28px;
  }
  .page-heading h1 {
    font-size: 39px;
  }
  .page-heading > p:last-child {
    font-size: 14px;
  }
  .category-tabs {
    gap: 7px;
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .category-tabs .chip {
    font-size: 11px;
    padding: 10px 14px;
    min-height: 40px;
  }
  .filter-row {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding: 13px 0;
  }
  .filter-row > label:first-child {
    width: calc(58% - 5px);
  }
  .filter-row > label:nth-child(3) {
    width: calc(42% - 5px);
  }
  .filter-row select {
    width: 100%;
    max-width: none;
    font-size: 11px;
    padding: 11px 10px;
  }
  .catalog-search {
    order: 3;
    min-width: 60%;
    flex: 1;
  }
  .catalog-search input {
    font-size: 16px;
  }
  .filter-submit {
    order: 4;
    font-size: 11px;
    min-height: 42px;
  }
  .catalog-meta {
    font-size: 10px;
    margin: 16px 0;
  }
  .catalog-meta > span:last-child {
    display: none;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 12px;
  }
  .catalog-grid .card-image {
    aspect-ratio: 0.78;
    border-radius: 20px;
  }
  .catalog-grid .card-info {
    padding: 12px 0 0;
    gap: 9px;
  }
  .catalog-grid .card-title {
    font-size: 13px;
    min-height: 34px;
  }
  .catalog-grid .card-collection {
    font-size: 9px;
    line-height: 1.4;
    min-height: 25px;
  }
  .catalog-grid .swatches {
    gap: 7px;
    margin-top: 8px;
  }
  .catalog-grid .swatch {
    width: 21px;
    height: 21px;
  }
  .catalog-grid .card-action .icon-button {
    height: 30px;
    width: 30px;
  }
  .catalog-grid .price {
    font-size: 12px;
  }
  .favorite {
    height: 32px;
    width: 32px;
    top: 10px;
    right: 10px;
  }
  .breadcrumbs {
    font-size: 10px;
    padding: 23px 0;
    gap: 8px;
  }
  .product-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .product-gallery {
    position: static;
  }
  .main-image > img {
    aspect-ratio: 1;
  }
  .product-summary h1 {
    font-size: 37px;
  }
  .product-summary {
    padding-top: 0;
  }
  .product-lead {
    font-size: 13px;
    margin-top: 17px;
  }
  .finish-picker {
    padding: 23px 0;
  }
  .product-price {
    font-size: 30px;
  }
  .stock {
    font-size: 11px;
  }
  .buy-actions {
    gap: 10px;
  }
  .buy-actions .button {
    font-size: 14px;
    padding: 13px 19px;
  }
  .thumbnail {
    height: 67px;
    width: 67px;
  }
  .product-bottom {
    padding: 27px;
    margin-top: 35px;
  }
  .product-bottom h2 {
    font-size: 31px;
  }
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .collection-photo {
    aspect-ratio: 1.3;
  }
  .collection-description {
    padding: 24px;
  }
  .collection-description h2 {
    font-size: 30px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .about-layout > img {
    height: 320px;
  }
  .about-layout h2 {
    font-size: 33px;
  }
  .about-layout p {
    font-size: 14px;
  }
  .values,
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 35px;
  }
  .values h3,
  .steps h3 {
    margin: 13px 0 10px;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .paper {
    padding: 25px;
    border-radius: 23px;
  }
  .paper h2 {
    font-size: 29px;
  }
  .info-photo {
    height: 300px;
  }
  .faq {
    margin-top: 38px;
  }
  .prose h2 {
    font-size: 24px;
  }
  .cart-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 24px);
    padding: 20px;
    border-radius: 24px;
  }
  .dialog-head {
    margin-bottom: 12px;
  }
  .dialog-head h2 {
    font-size: 29px;
  }
  .dialog-head .eyebrow {
    font-size: 9px;
  }
  .dialog-head .icon-button {
    height: 37px;
    width: 37px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cart-item {
    grid-template-columns: 68px 1fr auto;
    gap: 11px;
  }
  .cart-item > img {
    width: 68px;
    height: 88px;
  }
  .cart-item-title {
    font-size: 12px;
  }
  .cart-item small {
    font-size: 9px;
    max-width: 160px;
  }
  .cart-item-price {
    font-size: 11px;
  }
  .cart-item-price .icon-button {
    width: 30px;
    height: 30px;
  }
  .checkout {
    padding: 20px;
  }
  .checkout input:not([type="checkbox"]),
  .checkout textarea,
  .search-form input {
    font-size: 16px;
  }
  .toast {
    bottom: 16px;
    font-size: 12px;
  }
  .search-form {
    gap: 10px;
  }
  .search-form .button {
    padding: 12px 17px;
  }
  .search-form .button .icon {
    display: none;
  }
  .error-page {
    padding-top: 65px;
  }
  .error-page h1 {
    font-size: 34px;
  }
}
@media (max-width: 380px) {
  .header,
  main,
  .footer,
  .search-form,
  .mobile-menu {
    width: calc(100% - 28px);
  }
  .intro h1 {
    font-size: 42px;
  }
  .brand {
    font-size: 25px;
  }
  .header-actions {
    gap: 5px;
  }
  .mosaic {
    grid-template-rows: 360px 235px 260px 310px;
  }
  .card-info {
    padding: 10px;
  }
  .tile-bedside .card-info {
    gap: 4px;
  }
  .tile-bedside .card-title {
    font-size: 11px;
  }
  .tile-bedside .card-action .icon-button {
    width: 25px;
    height: 25px;
  }
  .material-tile h3 {
    font-size: 16px;
  }
  .product-price {
    font-size: 26px;
  }
  .stock {
    font-size: 10px;
  }
  .cart-item {
    grid-template-columns: 56px 1fr auto;
  }
  .cart-item > img {
    width: 56px;
    height: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

body.dialog-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .mosaic {
    grid-template-rows: 400px 245px 280px 330px 390px;
  }
  .tile-desk {
    grid-column: 1/3;
    grid-row: 4;
  }
  .tile-dresser {
    grid-column: 1/3;
    grid-row: 5;
  }
  .tile-desk .card-info,
  .tile-dresser .card-info {
    flex-wrap: nowrap;
    padding: 14px;
  }
  .tile-desk .card-action,
  .tile-dresser .card-action {
    flex-direction: column;
    width: auto;
    align-items: flex-end;
  }
  .tile-desk .card-title,
  .tile-dresser .card-title {
    font-size: 16px;
  }
  .tile-desk .card-collection,
  .tile-dresser .card-collection {
    font-size: 11px;
  }
  .tile-desk .card-action .icon-button,
  .tile-dresser .card-action .icon-button {
    width: 36px;
    height: 36px;
  }
  .tile-desk .swatch,
  .tile-dresser .swatch {
    width: 25px;
    height: 25px;
  }
  .tile-desk .card-image img {
    object-position: center;
  }
}
@media (max-width: 380px) {
  .mosaic {
    grid-template-rows: 360px 235px 260px 300px 360px;
  }
}

/* Compact product overlays share the page's opaque taupe background. */
.mosaic .card-info {
  left: 10px;
  bottom: 10px;
  right: auto;
  width: calc(100% - 20px);
  max-width: 420px;
  padding: 10px 12px;
  gap: 12px;
  background: var(--bg);
  backdrop-filter: none;
  border-radius: 16px;
}
.mosaic .card-info > div:first-child {
  min-width: 0;
}
.mosaic .card-title {
  font-size: 15px;
}
.mosaic .card-collection {
  margin-top: 2px;
}
.mosaic .swatches {
  margin-top: 7px;
}
.mosaic .swatch {
  width: 24px;
  height: 24px;
}
.mosaic .card-action {
  gap: 6px;
}
.mosaic .tile-bedside .card-info {
  left: 8px;
  bottom: 8px;
  width: calc(100% - 16px);
  padding: 8px 10px;
  gap: 8px;
}
.mosaic .tile-bedside .card-title {
  font-size: 13px;
}
.mosaic .tile-bedside .swatch {
  width: 21px;
  height: 21px;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .mosaic .tile-bedside .card-title {
    font-size: 12px;
  }
  .mosaic .tile-bedside .swatch {
    width: 17px;
    height: 17px;
  }
}
@media (max-width: 380px) {
  .mosaic .card-info {
    padding: 10px;
    gap: 8px;
  }
  .mosaic .card-title {
    font-size: 14px;
  }
  .mosaic .tile-bedside .card-info {
    padding: 8px;
    gap: 4px;
  }
  .mosaic .tile-bedside .card-title {
    font-size: 11px;
  }
  .mosaic .tile-bedside .swatch {
    width: 20px;
    height: 20px;
  }
}

.policy-text {white-space:pre-wrap;line-height:1.8;font-size:14px;}

/* The catalogue hero contains one real TV cabinet product. */
.hero.hero--catalog { height: clamp(340px, 49vw, 620px); }
.hotspot-primary { left: 51%; top: 74%; }
.hotspot-primary .hotspot-label { opacity:0; transform:translateY(5px); transition:opacity .18s,transform .18s; pointer-events:none; }
.hotspot-primary:hover .hotspot-label,
.hotspot-primary:focus-visible .hotspot-label { opacity:1; transform:translateY(0); }
.swatch--casella-brown { background-color:#916d4e; background-image:url('/assets/constructor/egger/H1386_40-srgb-web-20261115.webp'); background-size:cover; }
.swatch--casella-natural { background-color:#b78f68; background-image:url('/assets/constructor/egger/H1385_40-srgb-web-20261115.webp'); background-size:cover; }
.swatch--carini-walnut { background-color:#7a6049; background-image:url('/assets/constructor/egger/H3710_12-srgb-web-20261115.webp'); background-size:cover; }
.mosaic.mosaic--tv { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:none; gap:24px 20px; }
.mosaic.mosaic--tv > * { grid-area:auto; min-width:0; }
.mosaic.mosaic--tv .product-card { display:flex; flex-direction:column; background:transparent; overflow:visible; }
.mosaic.mosaic--tv .card-image { height:auto; aspect-ratio:1.04; border-radius:var(--radius); }
.mosaic.mosaic--tv .product-card .card-info { position:static; width:auto; max-width:none; margin:0; padding:15px 3px 0; background:none; border-radius:0; gap:12px; align-items:flex-start; flex:1; }
.mosaic.mosaic--tv .product-card .card-title { font-size:16px; }
.mosaic.mosaic--tv .product-card .swatch { width:24px; height:24px; }
.mosaic.mosaic--tv .material-tile { min-height:330px; height:100%; }
@media(max-width:960px) { .mosaic.mosaic--tv { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .hero.hero--catalog { height:clamp(280px,78vw,360px); }
 .hotspot-primary { left:48%; top:74%; }
 .mosaic.mosaic--tv { gap:24px 12px; }
 .mosaic.mosaic--tv .product-card .card-info { gap:7px; padding-top:12px; }
 .mosaic.mosaic--tv .product-card .card-title { font-size:13px; }
 .mosaic.mosaic--tv .product-card .card-action { gap:7px; }
 .mosaic.mosaic--tv .product-card .price { font-size:13px; }
 .mosaic.mosaic--tv .material-tile { min-height:280px; }
}
@media(max-width:420px) { .mosaic.mosaic--tv { grid-template-columns:1fr; } }

/* Product previews focus on the actual cabinet; the gallery retains the full interior. */
.catalog-grid .product-card--tv .card-image,
.mosaic.mosaic--tv .product-card--tv .card-image { aspect-ratio:2/1; height:auto; }
.mosaic.mosaic--tv .material-tile { min-height:260px; }
.catalog-grid .product-card:not(.product-card--tv) .card-image { aspect-ratio:4/3; height:auto; }
.main-image--full-frame > img { aspect-ratio:4/3; object-fit:contain; }
@media(max-width:600px) { .catalog-grid.catalog-grid--tv { grid-template-columns:1fr; } }

/* A native wide camera keeps the complete cabinet inside the desktop header. */
@media(min-width:601px) { .hero.hero--catalog { height:auto; aspect-ratio:2880/894; } }

/* The wider room retains all three actual products at desktop and mobile widths. */
.hero.hero--catalog.hero--collection {height:auto;aspect-ratio:2880/894;}
.hero--collection .hero-photo {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom;}
.hero--collection .hotspot-product {left:var(--hotspot-x);top:var(--hotspot-cropped-y);transform:translate(-50%,-50%);z-index:1;}
.hero--collection .hotspot-label {opacity:0;transform:translateY(5px);transition:opacity .18s,transform .18s;pointer-events:none;}
.hero--collection .hotspot-product:hover .hotspot-label,
.hero--collection .hotspot-product:focus-visible .hotspot-label {opacity:1;transform:translateY(0);}
.hero--collection .hotspot-product--desks .hotspot-label {left:auto;right:-16px;}
@media(max-width:600px) {
 .hero.hero--catalog.hero--collection {height:auto;aspect-ratio:2/1;}
 .hero--collection .hotspot-product {left:var(--hotspot-mobile-x);top:var(--hotspot-y);}
 .hero--collection .hotspot-plus {width:28px;height:28px;}
 .hero--collection .hotspot-label {font-size:11px;min-width:180px;bottom:39px;}
 .hero--collection .hotspot-product--dressers .hotspot-label {left:-14px;}
 .hero--collection .hotspot-product--tv .hotspot-label {left:-90px;}
 .hero--collection .scene-caption {bottom:9px;left:10px;padding:7px 10px;font-size:10px;}
 .hero--collection .hero-link {bottom:9px;right:10px;padding:7px 10px;font-size:10px;}
}

/* Image anchors are served in CSS so the site needs no inline style permission. */
.hero--collection .hotspot-product--tv {--hotspot-x:48.526%;--hotspot-y:76.871%;--hotspot-mobile-x:47.984%;--hotspot-cropped-y:72.757453%;}
.hero--collection .hotspot-product--dressers {--hotspot-x:25.717%;--hotspot-y:70.775%;--hotspot-mobile-x:16.793%;--hotspot-cropped-y:65.577265%;}
.hero--collection .hotspot-product--desks {--hotspot-x:76.099%;--hotspot-y:64.889%;--hotspot-mobile-x:85.69%;--hotspot-cropped-y:58.644426%;}

/* Keep scene labels in the empty upper corners, clear of furniture legs. */
.hero--collection .scene-caption,.hero--collection .hero-link {bottom:auto;top:20px;}
@media(max-width:600px) {.hero--collection .scene-caption,.hero--collection .hero-link {bottom:auto;top:9px;}}

/* Homepage-only framing leaves actual photographed floor above the floating labels. */
.home-catalog .home-card-photo { display:block; width:100%; height:100%; }
.home-catalog .home-card-photo img { object-position:center bottom; }
/* Keep the same full-product framing on wider phones and tablets. */
@media (min-width:431px) and (max-width:760px) {
  .home-catalog .mosaic:not(.mosaic--tv) {
    grid-template-rows:400px max(245px,calc((100vw - 48px)/2.2)) 280px max(330px,calc((100vw - 36px)/1.55)) max(390px,calc((100vw - 36px)/1.55));
  }
}

/* Legal documents and separate, explicit choices. */
.legal-heading h1{font-size:clamp(30px,4.2vw,65px);max-width:1100px;overflow-wrap:anywhere}
.legal-document{max-width:960px;margin:32px auto 90px;line-height:1.85;font-size:16px}
.legal-document section{margin-bottom:32px}.legal-document h2{font-size:24px;line-height:1.35;margin:0 0 15px;letter-spacing:-.02em}.legal-document p{margin:0 0 14px}.legal-document a,.info-grid a[href^="mailto:"]{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.legal-related{display:flex;gap:16px 24px;flex-wrap:wrap;padding-top:25px;border-top:1px solid var(--line)}
.business-requisites{margin:0}.business-requisites>div{display:grid;grid-template-columns:minmax(150px,1fr) 2fr;gap:20px;border-bottom:1px solid var(--line);padding:15px 0}.business-requisites dt{color:var(--muted)}.business-requisites dd{margin:0;overflow-wrap:anywhere}
.requests-notice{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:16px 20px;line-height:1.65;font-size:13px;max-width:960px}.requests-notice[hidden]{display:none}
.personal-data-consents{display:grid;gap:14px;margin:20px 0}.personal-data-consents .consent{display:flex!important;flex-direction:row!important;gap:12px;align-items:flex-start;font-size:12px!important;line-height:1.65;margin:0!important}.personal-data-consents input[type="checkbox"]{width:18px!important;height:18px!important;flex:0 0 18px;margin:2px 0!important;padding:0!important;appearance:auto;border-radius:3px}.personal-data-consents a{text-decoration:underline;text-underline-offset:2px}.personal-data-consents input:focus-visible{outline:2px solid var(--cocoa);outline-offset:3px}
input:disabled,textarea:disabled{opacity:.55;cursor:not-allowed}.footer-operator{display:flex;flex-wrap:wrap;gap:12px 30px;margin:30px 0 22px;font-size:12px;line-height:1.6}.footer-operator strong{font-weight:600}.footer-operator span{color:var(--muted)}
@media(max-width:600px){.legal-document{font-size:14px;margin:25px 0 50px}.legal-document h2{font-size:21px}.business-requisites>div{grid-template-columns:1fr;gap:4px}.requests-notice{padding:14px}.footer-operator{flex-direction:column;gap:6px}.legal-related{flex-direction:column}}
.info-grid .paper h3{margin:24px 0 12px}.info-grid .paper p{overflow-wrap:anywhere}
/* Search landing pages keep their copy visible and separate from the product grid. */
.page-heading--seo{margin-bottom:32px}.page-heading--seo h1{font-size:clamp(30px,4vw,58px);max-width:1100px;text-wrap:balance;line-height:1.12}.page-heading--seo .seo-lead{font-size:16px;line-height:1.8;max-width:1100px;margin-top:24px;color:var(--muted)}
.seo-copy{max-width:1080px;margin:72px auto 90px}.seo-section{border-top:1px solid var(--line);padding:28px 0 18px}.seo-section h2{font-size:clamp(23px,2.4vw,32px);line-height:1.35;letter-spacing:-.035em;margin:0 0 16px}.seo-section h3{font-size:19px;line-height:1.4;letter-spacing:-.02em;margin:26px 0 12px}.seo-section p{font-size:15px;line-height:1.85;margin:0 0 15px;color:var(--muted)}
.seo-links{display:flex;flex-wrap:wrap;gap:10px 22px;margin:16px 0 22px}.seo-links a{font-size:13px;line-height:1.6;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#b9a99b;max-width:480px}.seo-links a:hover{text-decoration-color:var(--ink)}
.home-category-links{display:flex;flex-wrap:wrap;gap:14px 30px;margin:32px 0 65px}.home-category-links a{font-size:14px;border-bottom:1px solid var(--line);padding-bottom:6px}
.contact-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:90px}.contact-detail{display:flex;flex-direction:column;gap:18px;background:var(--paper);border-radius:24px;padding:30px}.contact-detail span{font-size:13px;color:var(--muted)}.contact-detail strong{font-size:clamp(18px,2.1vw,28px);font-weight:500;letter-spacing:-.04em;overflow-wrap:anywhere}.contact-detail:hover{background:#f7f3ed}
@media(max-width:760px){.contact-details{grid-template-columns:1fr;gap:12px;margin-bottom:50px}.contact-detail{padding:24px}.contact-detail strong{font-size:25px}.seo-copy{margin:40px 0 55px}.seo-section{padding:24px 0 12px}.seo-section p,.page-heading--seo .seo-lead{font-size:14px}.seo-links{flex-direction:column;gap:12px}.home-category-links{gap:12px 20px;margin-bottom:40px}.page-heading--seo h1{font-size:32px}}

.metrika-noscript{position:absolute;left:-9999px}

.finish-picker:has(+ .width-picker) {
  padding-bottom: 0;
}
.width-picker {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0 24px;
}
.width-picker > .small-label {
  flex-shrink: 0;
}
.width-tabs {
  display: inline-flex;
  height: var(--product-option-size);
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line, #d4cac1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .28);
}
.width-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 94px;
  padding: 0 18px;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  border-radius: 11px;
  color: inherit;
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
}
.width-tab span { font-size: .8em; }
.width-tab.selected {
  background: #574235;
  color: #fff;
  box-shadow: 0 2px 6px #38281918;
}
.width-tab:not(.selected):not(.unavailable):hover { background: #fff8; }
.width-tab:focus-visible {
  outline: 2px solid #574235;
  outline-offset: 3px;
}
.width-tab.unavailable { opacity: .35; cursor: not-allowed; }
@media (max-width: 600px) {
  .width-picker {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0 20px;
  }
  .width-tabs { display: flex; }
  .width-tab { flex: 1; min-width: 0; padding: 0 12px; }
}
