.h141 .h141-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  container-type: size;
  background: #c8bda9;
}

.h141 .h141-media[data-plan="true"] { background: #f0e1c8; }
.h141 .h141-scene { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.h141 .h141-scene::before,
.h141 .h141-cabinet-frame::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: linear-gradient(#51433424, #45372a26), var(--h141-scene) center / cover;
  filter: blur(24px);
}
.h141 .h141-scene > img,
.h141 .h141-cabinet-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}
.h141 .h141-cabinet-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #c8bda9;
}
.h141 .h141-cabinet-frame[data-open="true"] {
  opacity: 0;
  transition: opacity 430ms cubic-bezier(.36, 0, .32, 1);
}
.h141 .h141-cabinet-frame[data-open="true"][data-active="true"] { opacity: 1; }
.h141 .h141-cabinet-door-target:disabled { cursor: default; }
.h141 .h141-finish-layer { pointer-events: none; }
.h141 .c190-view-thumbs .h141-thumb-art {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: none;
}
.h141 .c190-view-thumbs img.h141-thumb-finish {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
.h141 .c190-view-thumbs .h141-thumb-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.h141 .c190-view-thumbs .h141-door-tile img { object-fit: contain; }
.h141 .h141-scene[data-fill="true"]::before,
.h141 .h141-scene[data-cabinet-photos="true"]::before,
.h141 .h141-scene[data-fill="true"] .h141-cabinet-frame::before { display: none; }
.h141 .h141-scene[data-fill="true"] > img,
.h141 .h141-scene[data-fill="true"] .h141-cabinet-frame > img { object-fit: cover; }
.h141 .h141-viewer:not(:has(.c190-front-door))::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#1d17154d, transparent 16%, transparent 74%, #1a130f75);
  pointer-events: none;
}
.h141 .h141-viewer-actions .c190-tools > button { width: 34px; min-height: 32px; padding: 0; font-size: 19px; }
.h141 .h141-viewer-actions .c190-tools > button:disabled { opacity: .35; cursor: default; }
.h141 .h141-viewer .h141-fit-view { color: #322a20; white-space: nowrap; }
.h141 .h141-cabinet-angles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}
.h141 .h141-cabinet-angles button {
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--c190-surface);
  color: var(--c190-text);
  font-size: 12px;
}
.h141 .h141-cabinet-angles button[aria-pressed="true"] {
  background: #e9d7be;
  color: #34261b;
}
.c190 .c190-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c190 .c190-note.cabinet-brand-rule { margin: 0 0 10px; }
.c190 .c190-brands button:disabled { opacity: .52; }
.h141 [data-wardrobe="true"] .c190-product-heading { flex-wrap: wrap; }
.h141 [data-wardrobe="true"] .c190-product-title { flex: 1 1 100%; overflow-wrap: anywhere; }
.h141 .c190-modal-shade.is-drawer .h141-wardrobe-detail .c190-detail-image {
  height: clamp(168px, 30dvh, 330px);
  min-height: 0;
  padding: 0;
}
.h141 .h141-wardrobe-detail .c190-detail-image img {
  position: absolute;
  inset: 0;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.h141 .h141-wardrobe-detail .c190-detail-gallery {
  display: flex;
  gap: 8px;
  margin: 10px 28px 0;
}
.h141 .h141-wardrobe-detail .c190-detail-gallery button {
  flex: 0 1 116px;
  min-width: 0;
  padding: 5px;
  text-align: center;
}
.h141 .h141-wardrobe-detail .c190-detail-gallery button[aria-pressed="true"] {
  padding: 4px;
}
.h141 .h141-wardrobe-detail .c190-detail-gallery img { height: clamp(36px, 6.5dvh, 66px); }
.h141 .h141-wardrobe-detail .c190-detail-gallery span { font-size: 11px; }
.h141 .c190-modal-shade.is-drawer .h141-wardrobe-detail .c190-detail-copy { padding-block: 14px 16px; }
.h141 .h141-wardrobe-detail .c190-detail-copy h3 { margin: 6px 0 10px; line-height: 1.3; }
.h141 .h141-wardrobe-detail .c190-detail-copy p { margin: 6px 0 10px; line-height: 1.6; }
.h141 .h141-wardrobe-detail .c190-detail-section { margin-top: 14px; }
.h141 .h141-wardrobe-detail .c190-detail-section dl > div { padding-block: 8px; }
.h141 .h141-cabinet-door-target {
  z-index: 4;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.h141 .h141-cabinet-door-target:focus-visible {
  outline: 2px solid #ffe4bc;
  outline-offset: -3px;
}
.h141 .c190-viewer-top .c190-room-trigger { color: #fff8ef; }
.h141 .c190-plan-anchor { z-index: 6; }
.h141 .h141-mini-plan {
  position: relative;
  display: block;
  width: 85px;
  padding: 4px;
  border: 2px solid #fff3df;
  border-radius: 7px;
  background: #f1e0c8;
  box-shadow: 0 3px 18px #3327194d;
}
.h141 .h141-mini-plan img { display: block; width: 100%; }
.h141 .h141-plan {
  position: relative;
  width: min(100cqw, calc(100cqh * 1816 / 1904));
  aspect-ratio: 1816 / 1904;
}
.h141 .h141-plan img { display: block; width: 100%; height: 100%; object-fit: contain; }
.h141 .h141-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: transparent;
}
.h141 .h141-pin span {
  width: 13px;
  height: 13px;
  border: 2px solid #fff4db;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #674833;
  background: #a65c37;
}
.h141 .h141-pin:is(:hover, [aria-pressed="true"]) span { width: 17px; height: 17px; background: #ae6942; }

.h141 .c190-panel-header .c190-rooms {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
}
.h141 .c190-rooms > button { min-width: 0; min-height: 39px; padding: 6px 1px; white-space: nowrap; }
.h141 .c190-rooms > button[aria-current="page"] { background: #3b332a; }
.h141 .c190-category-tabs { margin-top: 10px; }
.h141 .c190-options { flex: 1; min-height: 0; overflow-y: auto; }
.h141 .h141-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.h141[data-layout="141"] .h141-choice-grid .c190-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.h141[data-layout="141"] .h141-choice-grid .c190-product-copy { display: flex; flex: 1; flex-direction: column; }
.h141[data-layout="141"] .h141-choice-grid .c190-product-copy > .lead-option-price { margin-top: auto; }
.h141[data-layout="141"] .h141-choice-grid .c190-material-image { background: var(--c190-media); }
.h141[data-layout="141"] .h141-choice-grid .c190-material-image img { mix-blend-mode: normal; }
.h141[data-layout="141"] :is([data-product="24"], [data-product="25"], [data-product="study-floor"]) .c190-material-image { padding: 0 !important; overflow: hidden; }
.h141[data-layout="141"] :is([data-product="24"], [data-product="25"], [data-product="study-floor"]) .c190-material-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}
.h141[data-layout="141"] [data-product="13"] .c190-product-heading { flex-wrap: wrap; }
.h141[data-layout="141"] [data-product="13"] .c190-product-title { flex: 1 1 176px; }
.h141[data-layout="141"] [data-product="13"] .c190-product-heading .c190-product-info { margin-inline-start: auto; }
.h141[data-layout="141"] :is([data-product="13"] .c190-product-title, .c190-detail-copy > h3,
  .lead-plan-lines dt > span > strong, .lead-plan-lines dt > span > small, .hardfit-inspect p) {
  white-space: pre-line;
}

.h141[data-layout="141"] .c190-front-door[data-single="true"] {
  /* The last six source rows include a white strip underneath the threshold. */
  --door-image-crop: calc(100% * 1417 / 1423);
  --door-image-scale: calc(1423 / 1417);
  --leaf-bottom: 100%;
}
.h141[data-layout="141"] .c190-front-door[data-single="true"] .c190-front-wall {
  --opening-bottom: var(--floor-line);
}
.h141[data-layout="141"] .c190-front-door[data-single="true"] .c190-front-frame {
  --image-leaf-top: calc(var(--leaf-top) / var(--door-image-scale));
  height: calc(100% * var(--door-image-scale));
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% var(--door-image-crop), 0 var(--door-image-crop), 0 0,
    var(--leaf-left) var(--image-leaf-top), var(--leaf-left) var(--door-image-crop),
    var(--leaf-right) var(--door-image-crop), var(--leaf-right) var(--image-leaf-top), var(--leaf-left) var(--image-leaf-top));
}
.h141[data-layout="141"] .c190-front-leaf-single img { height: calc(var(--door-height) * var(--door-image-scale)); }

.h141 .h141-door-card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 17px);
  width: 100%;
  height: 100%;
}
.h141 .h141-door-card-door { height: 100%; aspect-ratio: 624 / 1423; overflow: hidden; }
.h141 .c190-material-image .h141-door-card-door > img {
  display: block;
  width: calc(100% * 752 / 624);
  max-width: none;
  height: 100%;
  object-fit: fill;
}
.h141 .h141-door-card-plate { position: relative; width: clamp(22px, 23%, 37px); aspect-ratio: 100 / 276; overflow: hidden; }
.h141 .c190-material-image .h141-door-card-plate > img {
  position: absolute;
  width: 752%;
  max-width: none;
  height: auto;
  left: -650%;
  top: -174.28%;
}
.h141 .h141-config-note { margin: 0 0 12px; font-size: 12px; color: var(--c190-muted); }
.h141 .h141-package { margin-bottom: 18px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--c190-surface); }
.h141 .h141-package h3 { margin: 0; font-size: 14px; }
.h141 .h141-package p { margin: 5px 0 8px; font-size: 12px; color: var(--c190-muted); }
.h141 .h141-package button:disabled { opacity: .65; cursor: default; }
.h141 .c190-footer-actions .h141-summary { font-size: clamp(17px, 1.65vw, 25px); }

.h141 .h141-dialog {
  width: min(1080px, calc(100% - 28px));
  max-height: 92dvh;
  padding: 0;
  overflow: auto;
  border: 1px solid #685542;
  border-radius: 12px;
  background: var(--paper);
  color: var(--c190-text);
}
.h141 .h141-dialog[data-dialog="image"] { width: min(1500px, calc(100% - 28px)); }
.h141 .h141-dialog[data-full-image="true"] {
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
}
.h141 .h141-dialog[data-full-image="true"] > header {
  position: absolute;
  inset: 0 0 auto;
  border: 0;
  background: linear-gradient(#1d1715ed, #1d171548);
}
.h141 .h141-dialog[data-full-image="true"] > header h2 { color: #fff3e4; }
.h141 .h141-dialog[data-full-image="true"] > header p { color: #ead9c5; }
.h141 .h141-dialog[data-full-image="true"] .h141-dialog-media { height: 100%; }
.h141 .h141-dialog::backdrop { background: #180f0cbd; }
.h141 .h141-dialog > header {
  position: sticky;
  top: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.h141 .h141-dialog h2 { margin: 0; color: var(--c190-text); font-size: 20px; }
.h141 .h141-dialog header p { margin: 2px 0 0; color: var(--c190-muted); font-size: 12px; }
.h141 .h141-dialog header button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c190-raised); color: var(--c190-text); }
.h141 .h141-dialog header .h141-image-reset { width: auto; min-height: 36px; border-radius: 6px; padding-inline: 12px; white-space: nowrap; }
.h141 .h141-dialog-media { position: relative; display: grid; place-items: center; height: 73dvh; container-type: size; background: #201a15; }
.h141 .h141-dialog-media[data-plan="true"] { background: #f0e1c8; }
.h141 .h141-dialog-media > img { width: 100%; height: 100%; object-fit: contain; }
.h141 .h141-plan-dialog-body > .h141-dialog-button { display: block; margin: 9px auto; }
.h141 .h141-dialog-button { padding: 6px 12px; min-height: 34px; border: 1px solid #6d5644; border-radius: 5px; background: var(--c190-raised); color: var(--c190-text); }
.h141 .h141-list { padding: 16px; }
.h141 .h141-list ul { list-style: none; margin: 0; padding: 0; }
.h141 .h141-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.h141 .h141-list li p, .h141 .h141-list-footer p { margin: 3px 0 0; color: var(--c190-muted); }
.h141 .h141-list-footer { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding-top: 12px; }

@media (max-width: 760px) and (orientation: portrait) {
  .h141 .h141-viewer-actions .c190-tools > button { width: 23px; }
  .h141 .h141-viewer-actions .h141-fit-view { padding-inline: 5px; font-size: 11px; }
  .h141 .h141-mini-plan { width: 53px; }
  .h141 .c190-heading { display: flex; margin-bottom: 4px; }
  .h141 .c190-heading h1 { font-size: 18px; }
  .h141 .c190-heading h1 small { font-size: 11px; }
  .h141 .c190-rooms > button { min-height: 31px; font-size: 11px; }
  .h141 .c190-category-tabs { margin-top: 2px; }
  .h141 .c190-category-tabs > button { min-height: 32px; padding-block-end: 5px; }
  .h141 .c190-options { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .h141 .h141-scene > img,
  .h141 .h141-cabinet-frame > img,
  .h141 .h141-cabinet-frame[data-open="true"] { transition: none; }
}

.h141 .h141-bundle-review ul {list-style:none;margin:0;padding:0}
.h141 .h141-bundle-review li {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.h141 .h141-bundle-review {padding:16px}
.h141 .h141-bundle-review li {align-items:flex-start;flex-direction:column;gap:4px}
.h141 .h141-bundle-review li span {color:var(--c190-muted);font-size:13px}
.h141 .h141-bundle-actions {display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:14px}
.h141 .h141-bundle-actions .c190-save {min-height:40px;padding:8px 13px}
@media(max-width:600px) {
  .h141[data-layout="171"] .h141-choice-grid { grid-template-columns: minmax(0, 1fr); }
  .h141[data-layout="171"] .h141-choice-grid .c190-product-copy:only-child { grid-column: 1 / -1; }
  .h141[data-layout="141"] .h141-choice-grid .c190-material-image { height: 93px; min-height: 0; }
  .h141[data-layout="141"] .h141-choice-grid .c190-product-copy { padding: 8px; }
  .h141[data-layout="141"] .h141-choice-grid .c190-product-heading { flex-wrap: wrap; }
  .h141 .h141-choice-grid .c190-product-title {min-width:0;overflow-wrap:anywhere}
}

/* Side-by-side product comparisons in the 141 hardware view. */
.h141-product-comparison { padding: clamp(12px, 2vw, 28px); color: #302820; }
.h141-comparison-summary { margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.h141-product-comparison table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: clamp(11px, 1.1vw, 14px); line-height: 1.45; }
.h141-product-comparison th, .h141-product-comparison td { padding: 8px 7px; text-align: left; overflow-wrap: anywhere; vertical-align: top; border-bottom: 1px solid #ded4c8; }
.h141-product-comparison th:first-child { width: 22%; }
.h141-product-comparison thead th { font-weight: 600; vertical-align: bottom; }
.h141-product-comparison thead img { display: block; width: 100%; height: clamp(42px, 10vh, 90px); margin-bottom: 5px; object-fit: contain; }
.h141-product-comparison tbody tr[data-different="true"] td { background: #eee4d7; }
.h141-product-comparison .h141-comparison-source { margin: 12px 0 0; font-size: 12px; color: #746554; }
.h141-comparison-source p { margin: 0; }
.h141-comparison-source ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 5px 0 0; padding: 0; list-style: none; }
.h141-comparison-source a { color: #6b4b34; text-decoration: underline; text-underline-offset: 2px; }

.c190 .c190-cooking-package .c190-package-photos {
  background: #e7dfd3;
  gap: 1px;
}
.c190 .c190-cooking-package .c190-package-photos > div {
  grid-template-rows: clamp(76px, 7.6vw, 124px) auto;
  gap: 8px;
  padding: 12px 8px 10px;
  border: 0;
  background: linear-gradient(160deg, #f5f1eb, #ece4d8);
  color: #4b4034;
  text-align: center;
  line-height: 1.3;
}
.c190 .c190-cooking-package .c190-package-photos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.c190 .c190-cooking-package .c190-package-photos [data-installation-preview] img {
  border-radius: 4px;
  object-fit: cover;
}
@media (max-width: 620px) {
  .c190 .c190-cooking-package .c190-package-photos {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.h141-wardrobe-zones {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.h141-wardrobe-zones svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.h141-wardrobe-zones line { stroke: #f6ddba; stroke-width: 1.4; stroke-dasharray: 4 5; stroke-linecap: round; }
.h141-wardrobe-zones circle { fill: #ffdeb0; stroke: #583e2c; stroke-width: 1.5; }
.h141-wardrobe-zones line,
.h141-wardrobe-zones circle { filter: drop-shadow(0 1px 2px #352415d9); }
.h141-wardrobe-zone {
  position: absolute;
  display: grid;
  gap: 4px;
  transform: translateY(-50%);
  color: #fff6e9;
  font-size: 13px;
  line-height: 1.45;
  text-shadow: 0 1px 2px #261a12, 0 1px 5px #302219d9;
}
.h141-wardrobe-zone[data-side="left"] { text-align: right; }
.h141-wardrobe-zone strong { font-size: 15px; font-weight: 650; }
.h141-wardrobe-capacity { margin-top: 5px; }
.h141-wardrobe-capacity dl { margin: 4px 0 0; }
.h141-wardrobe-capacity dl > div {
  display: grid;
  grid-template-columns: 4em max-content;
  align-items: baseline;
  justify-content: start;
  column-gap: 8px;
}
.h141-wardrobe-zone[data-side="left"] .h141-wardrobe-capacity dl > div { justify-content: end; }
.h141-wardrobe-capacity dt { text-align: end; }
.h141-wardrobe-capacity dd { margin: 0; color: #ffdfb3; white-space: nowrap; }
.h141-wardrobe-capacity b { font-size: 20px; font-variant-numeric: tabular-nums; line-height: 1.15; }
@media (max-width: 600px) {
  .h141 .h141-viewer:has(.h141-wardrobe-zones) { min-height: 346px; }
  .h141 .h141-media:has(.h141-wardrobe-zones) { min-height: 289px; }
  .h141 .h141-viewer:has(.h141-wardrobe-zones) .c190-room-trigger { display: none; }
  .h141-wardrobe-zone { gap: 3px; font-size: 11px; }
  .h141-wardrobe-zone strong { font-size: 12px; }
  .h141-wardrobe-capacity b { font-size: 15px; }
  .h141-wardrobe-zones[data-capacity-reference="true"] .h141-wardrobe-zone { gap: 2px; line-height: 1.3; }
  .h141-wardrobe-zones[data-capacity-reference="true"] .h141-wardrobe-capacity { margin-top: 2px; }
  .h141-wardrobe-zones[data-capacity-reference="true"] .h141-wardrobe-capacity dl { margin-top: 1px; }
}
