.exterior-studio {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 560px;
  align-items: start;
  gap: 16px;
  padding: 10px;
  background: #f4eee9;
  color: #171717;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.exterior-studio *,
.exterior-studio *::before,
.exterior-studio *::after {
  box-sizing: border-box;
}

.exterior-studio button,
.exterior-studio input {
  font: inherit;
}

.studio-preview {
  position: sticky;
  top: 10px;
  height: calc(100vh - 20px);
  min-height: 0;
  background: linear-gradient(180deg, #fffdfb 0%, #f7f1ed 100%);
  border: 1px solid #e3d9d2;
  border-radius: 12px;
  overflow: hidden;
  padding: 24px 30px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.mobile-menu-button,
.mobile-filter-button,
.mobile-step-title,
.mobile-step-prefix,
.mobile-apply-bar {
  display: none;
}

.preview-header h1 {
  margin: 0;
  color: #171717;
  font-size: clamp(30px, 2.35vw, 40px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
}

.preview-header p {
  max-width: 420px;
  margin: 8px 0 0;
  color: #69615c;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.preview-actions {
  display: flex;
  gap: 24px;
}

.preview-actions--mobile {
  display: none;
}

.preview-action {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 58px;
  min-height: 70px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #373330;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.preview-action.is-muted,
.preview-action:disabled {
  opacity: .38;
  cursor: default;
}

.preview-action.is-muted > span,
.preview-action:disabled > span {
  background: #f7f1ed;
}

.preview-action > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #ded4cd;
  border-radius: 10px;
  background: #fffaf7;
}

.preview-action svg,
.view-switcher svg,
.selected-swatch svg,
.color-search svg,
.panel-tip svg,
.section-title svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-action small {
  display: block;
  color: #38332f;
  font-size: 11px;
  line-height: 1.1;
}

.house-stage {
  position: absolute;
  inset: 108px 0 76px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.house-colorizer__view {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.house-colorizer__view.active {
  opacity: 1;
  pointer-events: auto;
}

.house-colorizer__base {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.house-colorizer__layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: multiply;
  background: var(--hc-color);
  -webkit-mask-image: var(--hc-mask);
  mask-image: var(--hc-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  transition: opacity .18s ease;
}

.house-colorizer__layer::before,
.house-colorizer__layer::after {
  content: "";
  display: none;
}

.house-colorizer__layer--boost {
  z-index: 3;
  opacity: var(--hc-boost-opacity, .42);
  mix-blend-mode: color-dodge;
  background: var(--hc-color);
}

.house-colorizer__layer--texture {
  opacity: .78;
  background-color: transparent;
  background-image: var(--hc-texture);
  background-blend-mode: normal;
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  mix-blend-mode: multiply;
  filter: brightness(1.16) saturate(1.02);
}

.house-colorizer__layer--texture.house-colorizer__layer--boost {
  opacity: .16;
  background-color: var(--hc-color);
  background-image: none;
  background-blend-mode: normal;
  mix-blend-mode: multiply;
  filter: none;
}

.house-colorizer__night-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 48% 42%, rgba(35, 48, 68, .14), rgba(5, 11, 22, .62) 82%);
  mix-blend-mode: multiply;
  -webkit-mask-image: var(--hc-base-mask);
  mask-image: var(--hc-base-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: opacity .22s ease;
}

.house-colorizer__night-overlay--asset {
  background: transparent;
  background-image: var(--hc-night-overlay);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-mask-image: none;
  mask-image: none;
}

.exterior-studio[data-mode="night"] .house-colorizer__night-overlay {
  opacity: 1;
}

.view-switcher {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 64px);
  background: rgba(255, 255, 255, .9);
  border: 1px solid #e4d9d2;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(54, 36, 24, .08);
  z-index: 12;
}

.view-switcher button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  color: #3b3632;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.view-switcher button.active {
  background: #fff;
  border-color: #e2d8d1;
  box-shadow: 0 4px 14px rgba(54, 36, 24, .08);
}

.view-switcher > span {
  width: 1px;
  height: 32px;
  background: #e2d8d1;
  margin: 0 8px;
}

.view-switcher svg {
  width: 17px;
  height: 17px;
}

.mobile-lighting-switcher {
  display: none;
}

.desktop-lighting-switcher {
  display: flex;
}

.studio-panel {
  min-height: 0;
  max-height: none;
  background: #fffdfb;
  border: 1px solid #e3d9d2;
  border-radius: 12px;
  overflow: visible;
}

.panel-scroll {
  height: auto;
  overflow: visible;
  padding: 22px;
}

.current-editing {
  margin-bottom: 16px;
}

.current-editing label {
  display: block;
  margin-bottom: 7px;
  color: #181818;
  font-size: 12px;
  font-weight: 800;
}

.current-editing-button {
  width: 100%;
  height: 48px;
  border: 1px solid #ded4cd;
  border-radius: 8px;
  background: #fffaf7;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: #151515;
  cursor: default;
}

.current-editing-button strong {
  font-size: 18px;
  font-weight: 900;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--dot);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}

.chevron {
  display: grid;
  place-items: center;
  margin-left: auto;
}

.chevron svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.material-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid #e7ded8;
  border-radius: 10px;
  background: #fffaf7;
  margin-bottom: 18px;
}

.material-tab {
  min-height: 68px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "icon label"
    "icon dot";
  align-items: center;
  justify-content: center;
  gap: 5px 8px;
  padding: 8px 7px;
  color: #151515;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.material-tab.active {
  background: #fff;
  border-color: #171717;
  box-shadow: 0 8px 20px rgba(54, 36, 24, .08);
}

.material-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.material-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.material-label {
  grid-area: label;
  align-self: end;
  text-align: left;
  word-break: normal;
  overflow-wrap: anywhere;
}

.material-tab i {
  grid-area: dot;
  justify-self: center;
  align-self: start;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dot);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.selected-color-card {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 18px;
  align-items: center;
  border: 1px solid #e2d8d1;
  border-radius: 10px;
  background: #fffaf7;
  padding: 16px;
  margin-bottom: 18px;
}

.selected-color-card h3 {
  margin: 0 0 10px;
  color: #171717;
  font-size: 14px;
  font-weight: 900;
}

.selected-color-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.selected-swatch {
  width: 96px;
  height: 82px;
  border-radius: 8px;
  background: var(--swatch);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.selected-swatch span {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  display: grid;
  place-items: center;
}

.selected-swatch svg {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.selected-color-content h4 {
  margin: 0 0 8px;
  color: #070707;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.selected-color-content p,
.selected-color-content small {
  display: block;
  margin: 0 0 6px;
  color: #6d625d;
  font-size: 13px;
  font-weight: 700;
}

.selected-color-content small {
  color: #3c3734;
  font-family: inherit;
  letter-spacing: 0;
}

.selected-actions {
  display: grid;
  gap: 10px;
}

.selected-actions button {
  height: 40px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.selected-actions .primary {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.selected-actions .secondary {
  background: #fffaf7;
  color: #171717;
  border: 1px solid #d8cec7;
}

.color-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  align-items: start;
  margin-bottom: 14px;
}

.color-search {
  position: relative;
  display: block;
  min-width: 0;
}

.color-search input {
  width: 100%;
  height: 42px;
  border: 1px solid #ded4cd;
  border-radius: 9px;
  background: #fffaf7;
  padding: 0 42px 0 16px;
  color: #171717;
  outline: none;
  font-size: 14px;
  font-weight: 600;
}

.color-search i {
  position: absolute;
  right: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  color: #6d625d;
  transform: translateY(-50%);
}

.color-search svg {
  width: 18px;
  height: 18px;
}

.filter-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
}

.filter-chips button {
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #f0e9e4;
  color: #3c3632;
  padding: 0 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.filter-chips button.active {
  background: #111;
  color: #fff;
}

.panel-section {
  border: 1px solid #e2d8d1;
  border-radius: 10px;
  background: #fffaf7;
  padding: 12px;
  margin-bottom: 12px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #171717;
  cursor: pointer;
  text-align: left;
}

.section-title-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #171717;
  font-size: 14px;
  font-weight: 900;
}

.section-title::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .16s ease;
}

.panel-section.collapsed .section-title::after {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.panel-section.collapsed .house-colorizer__section-body {
  display: none;
}

.section-title > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-title > span:not(.section-title-heading) {
  margin-left: auto;
  margin-right: 14px;
}

.color-count {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f0e9e4;
  color: #6d625d;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.designer-picks {
  position: relative;
  overflow: hidden;
  padding: 12px 0 12px;
}

.designer-picks__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 12px 14px;
}

.designer-picks .section-title {
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin: 0;
  gap: 10px;
}

.designer-picks .section-title > span:not(.section-title-heading) {
  margin: 0;
}

.designer-picks .section-title::after {
  flex: 0 0 auto;
}

.preset-slider-wrap {
  position: relative;
  max-width: 100%;
  overflow: visible;
}

.has-preset-slider .preset-slider-wrap {
  position: relative;
  padding: 0;
}

.preset-grid.is-slider:not(.slick-initialized) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 100%;
  overflow: hidden;
}

.preset-grid.is-slider.slick-initialized {
  display: block;
}

.preset-grid.is-slider .slick-list {
  overflow: hidden;
  margin: 0;
  padding: 2px 0 4px !important;
}

.preset-grid.is-slider .slick-track {
  display: flex;
  gap: 16px;
}

.preset-grid.is-slider .slick-slide {
  height: auto;
  padding: 0;
}

.preset-grid.is-slider .slick-slide > div,
.preset-grid.is-slider .slick-slide .preset-card {
  height: 100%;
}

.preset-slider-arrow {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9e1620;
  cursor: pointer;
  line-height: 1;
  transform: none !important;
}

.preset-slider-arrow::before {
  content: none !important;
  display: none !important;
}

.preset-slider-arrow svg {
  display: block;
  width: 26px;
  height: 26px;
}

.preset-slider-arrow.slick-disabled {
  opacity: .32;
  cursor: default;
}

.preset-slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.preset-card {
  min-height: 35px;
  border: 1px solid #e5dcd5;
  border-radius: 10px;
  background: #fff;
  padding: 18px 14px 14px !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 0px;
  color: #171717;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(54, 36, 24, .08);
}

.preset-card.active {
  border-color: #9e1620;
  box-shadow: 0 8px 18px rgba(54, 36, 24, .08);
}

.preset-dots {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 0 8px 8px;
}

.preset-dots span {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: var(--dot);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.preset-card strong {
  display: grid;
  place-items: center;
  min-height: 32px;
  width: 100%;
  margin-top: 0 !important;
  padding: 0 10px;
  border: 1px solid #eadfd7;
  border-radius: 7px;
  background: #fff;
  color: #171717;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.preset-card.active strong {
  display: none;
}

.preset-apply {
  display: none;
  place-items: center;
  height: 34px;
  width: 100%;
  margin-top: auto;
  border-radius: 7px;
  background: #9e1620;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.preset-card.active .preset-apply {
  display: grid;
}

.favorite-picks__empty {
  margin: 0;
  padding: 14px 12px;
  border: 1px dashed #ded4cd;
  border-radius: 8px;
  background: #fff;
  color: #6d625d;
  font-size: 13px;
  font-weight: 700;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 18px 14px;
  align-items: start;
}

.grey-grid {
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
}

.color-swatch {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 78px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: center;
}

.color-swatch > span {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 5px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.color-swatch.selected > span,
.color-swatch.active > span {
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px #171717;
}

.color-swatch i {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  display: none;
  place-items: center;
  font-style: normal;
}

.color-swatch.active i,
.color-swatch.selected i {
  display: grid;
}

.color-swatch i svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.color-swatch em {
  display: block;
  min-height: 24px;
  color: #4c4440;
  font-size: 10px;
  font-style: normal;
  line-height: 1.15;
}

.panel-tip {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  background: #f5ede7;
  border: 1px solid #e2d8d1;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 16px;
}

.panel-tip > span {
  display: grid;
  place-items: center;
  color: #6d625d;
}

.panel-tip p {
  margin: 0;
  color: #6d625d;
  font-size: 12px;
  font-weight: 700;
}

.panel-tip button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  border: 1px solid #cfc4bc;
  background: #fffaf7;
  border-radius: 7px;
  color: #171717;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.panel-tip button svg {
  width: 14px;
  height: 14px;
}

.favorite-dialog[hidden] {
  display: none;
}

.favorite-dialog {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 17, 17, .38);
  backdrop-filter: blur(6px);
}

.favorite-dialog__panel {
  width: min(100%, 380px);
  border: 1px solid #e2d8d1;
  border-radius: 12px;
  background: #fffaf7;
  padding: 20px;
  box-shadow: 0 24px 70px rgba(34, 24, 18, .22);
}

.favorite-dialog__panel h3 {
  margin: 0 0 14px;
  color: #171717;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.favorite-dialog__panel label {
  display: grid;
  gap: 7px;
  color: #3c3632;
  font-size: 13px;
  font-weight: 800;
}

.favorite-dialog__panel input {
  width: 100%;
  height: 44px;
  border: 1px solid #ded4cd;
  border-radius: 8px;
  background: #fff;
  padding: 0 13px;
  color: #171717;
  outline: none;
  font-size: 15px;
  font-weight: 700;
}

.favorite-dialog__panel input:focus {
  border-color: #171717;
}

.favorite-dialog__panel small {
  display: block;
  margin-top: 8px;
  color: #6d625d;
  font-size: 12px;
  font-weight: 700;
}

.favorite-dialog__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.favorite-dialog__actions button {
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.favorite-dialog__actions .primary {
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

.favorite-dialog__actions .secondary {
  border: 1px solid #ded4cd;
  background: #fff;
  color: #171717;
}

.home-siding-house {
  width: 100%;
}

.home-siding-house__stage {
  position: relative;
  display: block;
  width: min(100%, 940px);
  min-height: 0;
  isolation: isolate;
  transform: none;
}

.home-siding-house__stage .house-colorizer__base {
  display: block;
  width: 100%;
  height: auto;
}

.home-siding-house__stage .house-colorizer__layer {
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.home-siding-house__stage .house-colorizer__night-overlay {
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.home-siding-house__roof::before {
  opacity: .3;
}

.home-siding-house__roof::after {
  opacity: .42;
}

.home-siding-swatches {
  display: grid;
  grid-template-columns: repeat(8, 48px);
  gap: 14px 16px;
  align-items: start;
  margin: 18px 0 26px;
}

.home-siding-swatches__item {
  display: block;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  cursor: pointer;
}

.home-siding-swatches__sample {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-color: var(--swatch-color);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .16s ease, transform .16s ease;
}

.home-siding-swatches__item.active .home-siding-swatches__sample {
  outline-color: #111;
}

.home-siding-swatches__item:hover .home-siding-swatches__sample {
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .exterior-studio {
    grid-template-columns: 1fr;
  }

  .studio-preview {
    position: relative;
    top: auto;
    height: min(720px, calc(100vh - 20px));
    min-height: 560px;
  }

  .studio-panel {
    min-height: auto;
    max-height: none;
  }

  .material-tabs {
    display: flex;
    overflow-x: auto;
  }

  .material-tab {
    min-width: 110px;
  }

  .selected-color-card {
    grid-template-columns: 1fr;
  }

  .color-tools {
    grid-template-columns: 1fr;
  }

  .swatch-grid,
  .grey-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .preset-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .exterior-studio {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    gap: 0;
    background: #fffaf6;
    overflow-x: clip;
    overflow-y: visible;
  }

  .studio-preview,
  .studio-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 0;
    min-height: auto;
  }

  .studio-preview {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 70px);
    z-index: 120;
    height: min(500px, 55vh);
    min-height: 390px;
    padding: 22px 28px 0;
    border: 0;
    background: #fffaf6;
    box-shadow: 0 12px 32px rgba(54, 36, 24, .10);
  }

  .preview-header {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }

  .preview-header > div:first-of-type {
    min-width: 0;
  }

  .preview-header h1 {
    font-size: 22px;
    line-height: 1.05;
    font-weight: 900;
  }

  .preview-header p {
    margin-top: 5px;
    color: #6a625e;
    font-size: 16px;
    line-height: 1.2;
  }

  .preview-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
  }

  .preview-action {
    width: 58px;
    min-height: 66px;
    gap: 5px;
    font-size: 11px;
  }

  .preview-action[data-action="redo"] {
    display: none;
  }

  .preview-action > span {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 22px rgba(54, 36, 24, .10);
  }

  .desktop-action-extra {
    display: none;
  }

  .house-stage {
    inset: 98px 0 66px;
    z-index: 1;
    overflow: hidden;
  }

  .house-colorizer__view {
    overflow: hidden;
  }

  .house-colorizer__base {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
  }

  .view-switcher {
    left: 28px;
    right: 28px;
    bottom: 0;
    transform: none;
    width: auto;
    max-width: none;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px 16px 0 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 24px rgba(54, 36, 24, .08);
  }

  .view-switcher button {
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(54, 36, 24, .08);
    font-size: 14px;
  }

  .view-switcher button.active {
    background: #171717;
    border-color: #171717;
    color: #fff;
    box-shadow: none;
  }

  .studio-panel {
    border: 0;
    background: #fffaf6;
    margin-top: 72px;
  }

  .panel-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 18px 20px 104px;
    overflow-x: clip;
    overflow-y: visible;
  }

  .current-editing {
    display: none;
  }

  .mobile-step-title {
    display: block;
    grid-column: 1 / -1;
    margin: 0 0 12px;
    color: #171717;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 900;
  }

  .mobile-step-prefix {
    display: inline;
  }

  .material-tabs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    margin-bottom: 16px;
  }

  .material-tab {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 96px;
    grid-template-columns: 1fr;
    grid-template-rows: 28px minmax(22px, auto) 17px;
    grid-template-areas:
      "icon"
      "label"
      "dot";
    gap: 5px;
    padding: 8px 3px;
    border: 1px solid #eee4dd;
    border-radius: 9px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 20px rgba(54, 36, 24, .07);
    font-size: 10px;
    line-height: 1.08;
  }

  .material-tab.active {
    border-color: #171717;
    box-shadow: 0 10px 24px rgba(54, 36, 24, .10);
  }

  .material-icon,
  .material-icon img {
    width: 28px;
    height: 28px;
  }

  .material-label {
    align-self: center;
    text-align: center;
    font-size: 10px;
    line-height: 1.08;
    font-weight: 800;
    word-break: normal;
    overflow-wrap: normal;
  }

  .material-tab i {
    width: 17px;
    height: 17px;
    align-self: center;
  }

  .selected-color-card {
    display: block;
    position: relative;
    padding: 12px;
    margin-bottom: 18px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(54, 36, 24, .10);
  }

  .selected-color-card h3,
  .selected-actions {
    display: none;
  }

  .selected-color-card::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #171717;
    border-bottom: 2px solid #171717;
    transform: translateY(-50%) rotate(-45deg);
  }

  .selected-color-content {
    gap: 18px;
    padding-right: 34px;
  }

  .selected-swatch {
    width: 114px;
    height: 96px;
    border-radius: 8px;
  }

  .selected-swatch span {
    display: none;
  }

  .selected-color-content h4 {
    font-size: 21px;
    margin-bottom: 8px;
  }

  .selected-color-content p,
  .selected-color-content small {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
  }

  .color-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  .color-search input {
    height: 52px;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
  }

  .filter-chips {
    gap: 10px;
  }

  .filter-chips button {
    height: 36px;
    padding: 0 16px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(54, 36, 24, .08);
    font-size: 12px;
  }

  .filter-chips button.active {
    background: #171717;
    color: #fff;
  }

  .panel-section {
    padding: 0;
    border: 0;
    background: transparent;
    margin-bottom: 28px;
  }

  .panel-section .section-title {
    margin-bottom: 14px;
  }

  .section-title-heading {
    font-size: 18px;
  }

  .designer-picks {
    overflow: visible;
  }

  .designer-picks__header {
    margin: 0 0 16px;
  }

  .preset-slider-controls {
    display: none;
  }

  .preset-grid:not(.slick-initialized) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .preset-grid.is-slider .slick-list {
    margin: 0;
    padding: 0;
  }

  .preset-grid.is-slider .slick-slide {
    padding: 0 7px;
  }

  .preset-card {
    min-height: 96px;
    padding: 15px 14px 14px;
    border-radius: 8px;
    gap: 12px;
  }

  .preset-dots {
    gap: 8px;
    padding: 0;
  }

  .preset-dots span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
  }

  .preset-card strong {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
  }

  .preset-card.active strong {
    display: grid;
  }

  .preset-apply {
    display: none !important;
  }

  .swatch-grid,
  .grey-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 22px;
  }

  .color-swatch {
    min-height: 0;
    gap: 10px;
  }

  .color-swatch > span {
    aspect-ratio: 1.25 / 1;
    border-radius: 6px;
  }

  .color-swatch.selected > span,
  .color-swatch.active > span {
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px #171717;
  }

  .color-swatch i {
    right: 5px;
    top: 5px;
    bottom: auto;
    width: 26px;
    height: 26px;
  }

  .color-swatch em {
    min-height: 34px;
    color: #171717;
    font-size: 13px;
    line-height: 1.1;
  }

  .panel-tip {
    display: none;
  }

  .mobile-apply-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) minmax(142px, 1.1fr);
    gap: 10px;
    align-items: center;
    padding: 8px 20px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #e6ded8;
    background: rgba(255, 250, 246, .96);
    box-shadow: 0 -12px 30px rgba(54, 36, 24, .08);
  }

  .mobile-apply-bar__swatch {
    width: 52px;
    height: 52px;
    border-radius: 7px;
    background: var(--swatch);
  }

  .mobile-apply-bar__copy {
    min-width: 0;
  }

  .mobile-apply-bar__copy strong,
  .mobile-apply-bar__copy small {
    display: block;
  }

  .mobile-apply-bar__copy strong {
    color: #171717;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 900;
  }

  .mobile-apply-bar__copy small {
    color: #8a817b;
    font-size: 12px;
    line-height: 1.2;
  }

  .mobile-apply-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    border: 0;
    border-radius: 8px;
    background: #171717;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
  }

  .mobile-apply-bar svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
  }

  .home-siding-swatches {
    grid-template-columns: repeat(6, 48px);
  }
}

@media (max-width: 768px) {
  .exterior-studio {
    --mobile-page-padding: 18px;
    --mobile-section-gap: 24px;
    --mobile-card-radius: 14px;
    --mobile-pill-radius: 999px;
    --studio-bg: #f4eee9;
    --sheet-bg: #fffdfb;
    --card-bg: #fffaf7;
    --card-bg-strong: #ffffff;
    --border-soft: #ebe2dc;
    --border-medium: #ded4cd;
    --border-strong: #171717;
    --text-main: #171717;
    --text-muted: #6f6a66;
    --text-soft: #9d9691;
    --black: #171717;
    --white: #ffffff;
    --selected-red: #9e1620;
    --shadow-card: 0 8px 20px rgba(49, 37, 29, .055);
    --shadow-card-strong: 0 10px 24px rgba(49, 37, 29, .08);
    --shadow-sheet: 0 -16px 36px rgba(49, 37, 29, .10);
    --shadow-bottom-bar: 0 -14px 34px rgba(49, 37, 29, .13);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
    padding: 0;
    background: var(--studio-bg);
    color: var(--text-main);
    overflow-x: clip;
    overflow-y: visible;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  .et_pb_section:has(.exterior-studio),
  .et_pb_row:has(.exterior-studio),
  .et_pb_column:has(.exterior-studio),
  .et_pb_code:has(.exterior-studio) {
    position: relative;
    z-index: 99990;
  }

  .studio-preview {
    display: contents;
    position: static;
    top: auto;
    z-index: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .preview-header {
    position: relative;
    z-index: 5;
    height: auto;
    padding: 22px 18px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 14px;
  }

  .mobile-menu-button {
    display: none;
  }

  .mobile-menu-button span {
    width: 24px;
    height: 2.5px;
    display: block;
    border-radius: 999px;
    background: var(--black);
  }

  .preview-header > div:first-of-type {
    min-width: 0;
    max-width: none;
    padding-top: 4px;
  }

  .preview-header h1 {
    margin: 0;
    color: #151515;
    font-size: 25px;
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -.045em;
  }

  .preview-header p {
    max-width: none;
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 500;
  }

  .preview-header > .preview-actions {
    display: none;
  }

  .house-stage > .preview-actions--mobile {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    gap: 8px;
    margin-left: 0;
    pointer-events: auto;
  }

  .house-stage > .preview-actions--mobile {
    z-index: 160;
  }

  .preview-action {
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .88);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(49, 37, 29, .08);
    display: grid;
    place-items: center;
    color: var(--text-main);
    cursor: pointer;
  }

  .preview-action[data-action="redo"] {
    display: none;
  }

  .preview-action > span {
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .preview-action svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.9;
  }

  .preview-action small {
    display: none;
  }

  .preview-action.is-muted,
  .preview-action:disabled {
    opacity: .4;
  }

  .desktop-action-extra {
    display: none;
  }

  .house-stage {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 70px);
    bottom: auto;
    z-index: 120;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(255, 255, 255, .82) 0%, rgba(246, 240, 235, .78) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 26px rgba(49, 37, 29, .08);
  }

  .house-colorizer__view {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    max-width: none;
    flex: 0 0 auto;
    overflow: hidden;
  }

  .house-colorizer__base {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 292px;
    object-fit: contain;
    display: block;
  }

  .view-switcher {
    position: relative;
    z-index: 1;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    height: 68px;
    max-width: none;
    width: auto;
    margin: 0 -18px 24px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    background: rgba(255, 253, 251, .96);
    border: 0;
    border-bottom: 1px solid #e6ddd7;
    border-radius: 0;
    box-shadow: none;
    scrollbar-width: none;
  }

  .desktop-lighting-switcher {
    display: none;
  }

  .mobile-lighting-switcher {
    display: flex;
  }

  .view-switcher::-webkit-scrollbar {
    display: none;
  }

  .view-switcher button {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--mobile-pill-radius);
    background: #fff;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(226, 216, 209, .72), 0 5px 16px rgba(49, 37, 29, .06);
  }

  .view-switcher button.active {
    background: var(--black);
    color: #fff;
    box-shadow: 0 8px 18px rgba(23, 23, 23, .18);
  }

  .studio-panel {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    border: 0;
    border-radius: 24px 24px 0 0;
    background: var(--sheet-bg);
    box-shadow: var(--shadow-sheet);
    border-top: 1px solid rgba(226, 216, 209, .95);
    overflow: visible;
  }

  .panel-scroll {
    width: 100%;
    max-width: 100%;
    padding: 0 18px 28px;
    overflow: visible;
  }

  .current-editing,
  .selected-color-card h3,
  .selected-actions,
  .panel-tip {
    display: none;
  }

  .mobile-step-title {
    display: block;
    grid-column: 1 / -1;
    margin: 0 0 14px;
    color: #151515;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -.025em;
  }

  .mobile-step-prefix {
    display: inline;
  }

  .material-tabs {
    display: flex;
    width: auto;
    max-width: none;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    margin: 0 -2px;
    border: 0;
    background: transparent;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .material-tabs::-webkit-scrollbar {
    display: none;
  }

  .material-tab {
    flex: 0 0 132px;
    width: 132px;
    height: 148px;
    min-height: 148px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 52px auto 20px;
    grid-template-areas:
      "icon"
      "label"
      "dot";
    align-items: center;
    justify-items: center;
    gap: 0;
    padding: 18px 10px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 13px;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
  }

  .material-tab.active {
    background: var(--sheet-bg);
    border-color: var(--black);
    box-shadow: var(--shadow-card-strong), inset 0 0 0 1px var(--black);
  }

  .material-icon,
  .material-icon img {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
  }

  .material-label {
    color: var(--text-main);
    font-size: 17px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.02em;
    text-align: center;
  }

  .material-tab i {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--dot);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 4px 8px rgba(49, 37, 29, .08);
  }

  .selected-color-card {
    width: 100%;
    min-height: 108px;
    margin: 18px 0 28px;
    border: 1px solid var(--border-soft);
    background: var(--card-bg);
    border-radius: 14px;
    padding: 12px;
    display: block;
    box-shadow: 0 10px 24px rgba(49, 37, 29, .06);
  }

  .selected-color-card::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    transform: translateY(-50%) rotate(-45deg);
  }

  .selected-color-content {
    display: grid;
    grid-template-columns: 96px 1fr 24px;
    align-items: center;
    gap: 14px;
    padding-right: 24px;
  }

  .selected-swatch {
    width: 96px;
    height: 80px;
    border-radius: 9px;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 -18px 40px rgba(0, 0, 0, .08);
  }

  .selected-swatch span {
    display: none;
  }

  .selected-color-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
  }

  .selected-color-content h4 {
    margin: 0;
    color: var(--text-main);
    font-size: 22px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.04em;
  }

  .selected-color-content p,
  .selected-color-content small {
    margin: 0;
    color: #7a736f;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 500;
  }

  .selected-color-content small {
    color: #5d5652;
    font-size: 14px;
  }

  .color-tools {
    display: grid;
    grid-template-columns: 1fr 126px;
    gap: 12px;
    align-items: start;
    margin: 24px 0 0;
  }

  .color-search {
    position: relative;
    height: 56px;
    display: block;
  }

  .color-search input {
    width: 100%;
    height: 56px;
    border: 1px solid var(--border-medium);
    border-radius: 14px;
    background: var(--sheet-bg);
    padding: 0 16px 0 50px;
    color: var(--text-main);
    font-size: 17px;
    outline: none;
    box-shadow: 0 5px 14px rgba(49, 37, 29, .035);
  }

  .color-search input::placeholder {
    color: var(--text-soft);
  }

  .color-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    display: block;
    transform: translateY(-50%);
    color: var(--text-main);
  }

  .color-search i svg {
    width: 23px;
    height: 23px;
  }

  .mobile-filter-button {
    height: 56px;
    border: 1px solid var(--border-medium);
    background: var(--sheet-bg);
    border-radius: var(--mobile-pill-radius);
    color: var(--text-main);
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(49, 37, 29, .035);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .mobile-filter-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  .filter-chips {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chips button {
    flex: 0 0 auto;
    height: 42px;
    border: 1px solid var(--border-soft);
    background: var(--sheet-bg);
    border-radius: var(--mobile-pill-radius);
    padding: 0 18px;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(49, 37, 29, .045);
  }

  .filter-chips button.active {
    background: var(--black);
    color: #fff;
    border-color: var(--black);
    box-shadow: 0 8px 18px rgba(23, 23, 23, .18);
  }

  .panel-section {
    padding: 24px 0 0;
    margin: 0;
    border: 0;
    background: transparent;
  }

  .designer-picks__header,
  .panel-section .section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
  }

  .preset-slider-controls {
    display: none;
  }

  .section-title {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .designer-picks__header {
    margin: 0 0 14px;
  }

  .designer-picks .section-title {
    width: 100% !important;
    height: auto !important;
    justify-content: space-between;
  }

  .designer-picks .section-title-heading {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    visibility: visible !important;
  }

  .section-title-heading {
    color: #151515;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -.025em;
  }

  .section-title > span:last-child {
    display: none;
  }

  .designer-picks .section-title::after {
    content: "View all \203A";
    width: auto;
    height: auto;
    border: 0;
    transform: none;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: underline;
    white-space: nowrap;
  }

  .color-group .section-title::after {
    content: none;
    display: none;
  }

  .color-group .section-title > span:last-child {
    display: block;
  }

  .color-group .section-title > span:last-child::after {
    content: "\2303";
    color: var(--text-main);
    font-size: 28px;
    line-height: 1;
  }

  .color-count {
    display: none;
  }

  .designer-picks {
    overflow: hidden;
  }

  .designer-picks .preset-slider-wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .preset-grid,
  .preset-grid:not(.slick-initialized),
  .preset-grid.is-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    margin: 0 -2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .preset-grid::-webkit-scrollbar {
    display: none;
  }

  .preset-grid.is-slider.slick-initialized {
    display: block;
    overflow: hidden;
    width: 100%;
    margin: 0;
  }

  .preset-grid.is-slider .slick-list {
    overflow: hidden;
    margin: 0;
    padding: 2px 0 8px 0 !important;
  }

  .preset-grid.is-slider .slick-slide {
    height: auto;
    padding: 0;
  }

  .preset-grid.is-slider .slick-track {
    display: flex;
    align-items: stretch;
    gap: 14px;
  }

  .preset-grid.is-slider .slick-slide > div {
    height: 100%;
  }

  .preset-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 102px;
    height: 102px;
    border: 1px solid var(--border-soft);
    background: var(--sheet-bg);
    border-radius: 12px;
    padding: 14px 16px !important;
    display: grid;
    align-content: center;
    gap: 14px;
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
  }

  .preset-card.active {
    border-color: #9e1620;
    box-shadow: var(--shadow-card-strong), inset 0 0 0 1px #9e1620;
  }

  .preset-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: auto;
    padding: 0;
  }

  .preset-dots span {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
  }

  .preset-card strong,
  .preset-card.active strong {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-main);
    text-align: center;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 850;
  }

  .preset-apply {
    display: none !important;
  }

  .swatch-grid,
  .grey-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px 14px;
    align-items: start;
  }

  .color-swatch {
    min-width: 0;
    min-height: 0;
    display: block;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: center;
  }

  .color-swatch > span {
    position: relative;
    display: block;
    width: 100%;
    min-height: 62px;
    aspect-ratio: 1.35 / 1;
    margin-bottom: 8px;
    border-radius: 7px;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 0 -18px 34px rgba(0, 0, 0, .06);
  }

  .color-swatch.selected > span,
  .color-swatch.active > span {
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px var(--black), 0 8px 18px rgba(49, 37, 29, .12);
  }

  .color-swatch i {
    display: none;
  }

  .color-swatch.selected > span i,
  .color-swatch.active > span i {
    position: absolute;
    right: 7px;
    top: 7px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    color: var(--text-main);
    display: grid;
    place-items: center;
    font-style: normal;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  }

  .color-swatch i svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
  }

  .color-swatch em {
    display: block;
    min-height: 32px;
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.02em;
  }

  .mobile-apply-bar {
    display: none !important;
  }

  .mobile-apply-bar__swatch {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 5px 14px rgba(49, 37, 29, .14);
  }

  .mobile-apply-bar__copy {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .mobile-apply-bar__copy strong {
    color: var(--text-main);
    font-size: 26px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.045em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-apply-bar__copy small {
    color: #7a736f;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 500;
  }

  .mobile-apply-bar button {
    height: 58px;
    border: 0;
    border-radius: 12px;
    background: var(--black);
    color: #fff;
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -.025em;
    box-shadow: 0 10px 24px rgba(23, 23, 23, .22);
    white-space: nowrap;
  }

  .mobile-apply-bar svg {
    width: 18px;
    height: 18px;
  }

  .material-tab,
  .view-switcher button,
  .filter-chips button,
  .preset-card,
  .color-swatch > span,
  .mobile-apply-bar button {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
  }

  .material-tab:active,
  .preset-card:active,
  .color-swatch:active > span,
  .mobile-apply-bar button:active {
    transform: scale(.98);
  }
}

@media (max-width: 430px) {
  .studio-preview {
    height: auto;
    min-height: 0;
  }

  .house-stage {
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 70px);
    bottom: auto;
    height: 300px;
    padding-bottom: 0;
  }

  .house-colorizer__view {
    width: 100%;
  }

  .house-colorizer__base {
    max-height: 300px;
  }

  .swatch-grid,
  .grey-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px 12px;
  }
}

@media (max-width: 390px) {
  .studio-preview {
    height: auto;
    min-height: 0;
  }

  .preview-header h1 {
    font-size: 22px;
  }

  .preview-header p {
    font-size: 15px;
  }

  .preview-action {
    width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 11px;
  }

  .preview-action svg {
    width: 21px;
    height: 21px;
  }

  .house-colorizer__view {
    width: 100%;
  }

  .house-stage {
    height: 286px;
  }

  .house-colorizer__base {
    max-height: 286px;
  }

  .mobile-step-title,
  .section-title-heading {
    font-size: 17px;
  }

  .material-tab {
    flex-basis: 116px;
    width: 116px;
    height: 134px;
    min-height: 134px;
    grid-template-rows: 46px auto 20px;
  }

  .material-label {
    font-size: 15px;
  }

  .material-tab i {
    width: 23px;
    height: 23px;
  }

  .selected-color-content {
    grid-template-columns: 88px 1fr 22px;
    gap: 12px;
  }

  .selected-color-card {
    min-height: 100px;
    margin-bottom: 28px;
  }

  .selected-swatch {
    width: 88px;
    height: 72px;
  }

  .selected-color-content h4 {
    font-size: 20px;
  }

  .selected-color-content p,
  .selected-color-content small {
    font-size: 13px;
  }

  .color-tools {
    grid-template-columns: 1fr 104px;
  }

  .color-search,
  .color-search input,
  .mobile-filter-button {
    height: 50px;
    font-size: 15px;
  }

  .preset-card {
    flex-basis: 196px;
    width: 196px;
    height: 94px;
    min-height: 94px;
  }

  .preset-grid.is-slider.slick-initialized .preset-card {
    flex-basis: auto !important;
    width: 100%;
    margin-right: 0;
    clip-path: none;
  }

  .preset-dots span {
    width: 30px;
    height: 30px;
  }

  .preset-card strong,
  .preset-card.active strong {
    font-size: 14px;
  }

  .swatch-grid,
  .grey-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 10px;
  }

  .color-swatch > span {
    min-height: 54px;
  }

  .color-swatch em {
    font-size: 13px;
  }

  .color-swatch.selected > span i,
  .color-swatch.active > span i {
    width: 24px;
    height: 24px;
  }

  .color-swatch i svg {
    width: 14px;
    height: 14px;
  }

  .mobile-apply-bar {
    grid-template-columns: 50px minmax(0, 1fr) 1.2fr;
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .mobile-apply-bar__swatch {
    width: 50px;
    height: 50px;
  }

  .mobile-apply-bar__copy strong {
    font-size: 21px;
  }

  .mobile-apply-bar__copy small {
    font-size: 14px;
  }

  .mobile-apply-bar button {
    height: 52px;
    font-size: 16px;
  }
}

@media (max-width: 340px) {
  .swatch-grid,
  .grey-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.color-swatch.has-texture > span,
.selected-swatch.has-texture,
.mobile-apply-bar__swatch.has-texture {
  background-color: var(--swatch);
  background-image: var(--swatch-image);
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}
