.uc3d-seo-intro {
  color: #40505c;
  margin: 0 auto 14px;
  max-width: none;
  width: min(1180px, calc(100vw - 40px));
}

.uc3d-seo-intro p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  max-width: 860px;
}

.uc3d-render-note {
  background: #f7faf9;
  border: 1px solid #cfd8df;
  border-left: 4px solid #0f766e;
  border-radius: 6px;
  color: #40505c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 auto 14px;
  max-width: none;
  padding: 10px 12px;
  width: min(1180px, calc(100vw - 40px));
}

.uc3d-simulator {
  color: #1f2933;
  margin: 0 auto;
  max-width: none;
  overflow: visible;
  position: relative;
  width: min(1180px, calc(100vw - 40px));
  z-index: 20;
}

body#module-uc3dsimulator-simulator #hero_section {
  background: #ffffff;
}

body#module-uc3dsimulator-simulator #hero_section .page-title-wrapper {
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0 auto;
  min-height: 0;
  padding: 34px 0 22px;
  text-align: left;
  width: min(1180px, calc(100vw - 40px));
}

body#module-uc3dsimulator-simulator #hero_section .page-header {
  width: 100%;
}

body#module-uc3dsimulator-simulator #hero_section .page-header h1 {
  color: #24211f;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 620;
  line-height: 1.13;
  letter-spacing: 0;
  margin: 0;
  text-align: left;
}

.uc3d-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  min-height: 680px;
  overflow: visible;
}

.uc3d-panel {
  align-self: start;
  background: #ffffff;
  border: 1px solid #d7dde2;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
  display: grid;
  gap: 18px;
  overflow: visible;
  padding: 18px;
  position: relative;
  z-index: 30;
}

.uc3d-product {
  border-bottom: 1px solid #e5e9ed;
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
}

.uc3d-kicker {
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.uc3d-product h1 {
  color: #17212b;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.uc3d-ref {
  color: #697783;
  font-size: 13px;
}

.uc3d-price {
  color: #8a4b12;
  font-size: 18px;
}

.uc3d-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.uc3d-meta span {
  background: #eef3f2;
  border: 1px solid #d4dddb;
  border-radius: 4px;
  color: #40505c;
  font-size: 12px;
  padding: 5px 7px;
}

.uc3d-projects {
  gap: 8px;
}

.uc3d-project-toggle {
  background: transparent;
  border: 0;
  color: #0f766e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0;
  text-align: left;
  text-decoration: underline;
}

.uc3d-project-toggle:hover {
  color: #0b4d48;
}

.uc3d-project-panel {
  display: grid;
  gap: 8px;
}

.uc3d-project-panel[hidden] {
  display: none;
}

.uc3d-project-panel > label {
  color: #52616c;
  font-size: 12px;
  font-weight: 700;
}

.uc3d-project-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.uc3d-project-row-load {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.uc3d-project-row input,
.uc3d-project-row select {
  appearance: none;
  background-color: #ffffff;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  font-size: 13px;
  font-weight: 700;
  min-height: 38px;
  min-width: 0;
  padding: 8px 9px;
  width: 100%;
}

.uc3d-project-row button {
  align-items: center;
  background: #f7f9fa;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
}

.uc3d-project-row button:hover {
  background: #edf2f4;
  border-color: #99a8b3;
}

.uc3d-material-list {
  display: grid;
  gap: 8px;
}

.uc3d-material-row {
  display: grid;
  gap: 5px;
  margin: 0;
  position: relative;
}

.uc3d-material-row > span {
  color: #52616c;
  font-size: 12px;
  font-weight: 700;
}

.uc3d-material-trigger {
  align-items: center;
  background: #ffffff;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  display: grid;
  gap: 10px;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  min-height: 62px;
  padding: 7px 10px 7px 7px;
  text-align: left;
  width: 100%;
}

.uc3d-material-trigger::after {
  border-color: #52616c transparent transparent transparent;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  content: "";
  height: 0;
  width: 0;
}

.uc3d-material-trigger img {
  aspect-ratio: 1;
  background: #edf2f4;
  border: 1px solid #d7dde2;
  border-radius: 5px;
  object-fit: cover;
  width: 54px;
}

.uc3d-material-trigger.is-empty {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 8px 10px 8px 12px;
}

.uc3d-material-trigger.is-empty img {
  display: none;
}

.uc3d-material-trigger strong,
.uc3d-material-trigger small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc3d-material-trigger strong {
  font-size: 13px;
}

.uc3d-material-trigger small {
  color: #697783;
  font-size: 12px;
  margin-top: 2px;
}

.uc3d-material-menu {
  background: #ffffff;
  border: 1px solid #c7d2da;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(31, 41, 51, 0.16);
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow: hidden;
  padding: 8px;
  z-index: 6;
}

.uc3d-material-menu[hidden] {
  display: none;
}

.uc3d-material-menu input {
  background: #ffffff;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  font-size: 13px;
  min-height: 36px;
  padding: 8px 10px;
  width: 100%;
}

.uc3d-material-options {
  display: grid;
  gap: 6px;
  max-height: 270px;
  overflow: auto;
}

.uc3d-material-option {
  align-items: center;
  background: #f8fafb;
  border: 1px solid #d7dde2;
  border-radius: 6px;
  color: #283640;
  display: grid;
  gap: 8px;
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 58px;
  padding: 6px;
  text-align: left;
  width: 100%;
}

.uc3d-material-option:hover,
.uc3d-material-option.is-active {
  background: #eef7f5;
  border-color: #0f766e;
}

.uc3d-material-option img {
  aspect-ratio: 1;
  background: #edf2f4;
  border-radius: 4px;
  object-fit: cover;
  width: 46px;
}

.uc3d-material-option strong,
.uc3d-material-option small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc3d-material-option strong {
  font-size: 12px;
}

.uc3d-material-option small {
  color: #697783;
  font-size: 11px;
  margin-top: 2px;
}

.uc3d-material-size {
  display: grid;
  gap: 5px;
  margin: 0;
}

.uc3d-material-size select {
  appearance: none;
  background-color: #ffffff;
  background-image: linear-gradient(45deg, transparent 50%, #52616c 50%);
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  font-size: 13px;
  font-weight: 700;
  min-height: 38px;
  overflow: hidden;
  padding: 8px 30px 8px 10px;
  text-overflow: ellipsis;
  width: 100%;
}

.uc3d-surface-rotate {
  background: none;
  border: 0;
  color: #0f766e;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  justify-self: end;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.uc3d-surface-rotate.is-active {
  color: #8a4b12;
}

.uc3d-material-trigger:focus,
.uc3d-material-menu input:focus,
.uc3d-material-size select:focus,
.uc3d-project-row input:focus,
.uc3d-project-row select:focus,
.uc3d-furniture-trigger:focus,
.uc3d-color-select select:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.16);
  outline: 0;
}

.uc3d-color-select {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 32px minmax(0, 1fr) 42px;
}

.uc3d-wall-color-list {
  display: grid;
  gap: 8px;
}

.uc3d-wall-color-row {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.uc3d-wall-color-row[hidden] {
  display: none;
}

.uc3d-wall-color-row > span {
  color: #52616c;
  font-size: 12px;
  font-weight: 700;
}

.uc3d-color-chip {
  background: var(--swatch, #f5f7f7);
  border: 1px solid rgba(23, 33, 43, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
  display: inline-block;
  height: 28px;
  width: 28px;
}

.uc3d-color-select select {
  appearance: none;
  background-color: #ffffff;
  background-image: linear-gradient(45deg, transparent 50%, #52616c 50%);
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  font-size: 13px;
  font-weight: 700;
  min-height: 38px;
  min-width: 0;
  overflow: hidden;
  padding: 8px 30px 8px 10px;
  text-overflow: ellipsis;
  width: 100%;
}

.uc3d-color-select input[type="color"] {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 38px;
  padding: 0;
  width: 42px;
}

.uc3d-color-select input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.uc3d-color-select input[type="color"]::-webkit-color-swatch {
  border: 1px solid #ccd5dc;
  border-radius: 6px;
}

.uc3d-cabochon-row {
  background: #f8fafb;
  border: 1px solid #e0e6ea;
  border-radius: 6px;
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 8px;
}

.uc3d-cabochon-row[hidden] {
  display: none;
}

.uc3d-cabochon-row > span {
  color: #52616c;
  font-size: 12px;
  font-weight: 700;
}

.uc3d-cabochon-row .uc3d-color-select {
  grid-template-columns: 32px minmax(0, 1fr);
}

.uc3d-selected-products {
  border-top: 1px solid #e5e9ed;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
}

.uc3d-selected-products[hidden] {
  display: none;
}

.uc3d-selected-products span {
  color: #52616c;
  flex: 0 0 100%;
  font-size: 12px;
  font-weight: 700;
}

.uc3d-selected-products a {
  background: #eef7f5;
  border: 1px solid #b7d8d3;
  border-radius: 5px;
  color: #0f5f59;
  font-size: 12px;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  padding: 5px 7px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc3d-selected-products a:hover {
  background: #dff0ed;
  color: #0b4d48;
  text-decoration: none;
}

.uc3d-selection-bar {
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #cfd8df;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.14);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  margin-top: 12px;
  padding: 10px 12px;
  position: sticky;
  bottom: 10px;
  z-index: 35;
}

.uc3d-selection-heading {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.uc3d-selection-heading strong {
  color: #17212b;
  font-size: 13px;
}

.uc3d-selection-heading small {
  color: #697783;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc3d-selection-items {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 0;
}

.uc3d-selection-card {
  align-items: center;
  background: #f8fafb;
  border: 1px solid #d7dde2;
  border-radius: 7px;
  color: #283640;
  display: grid;
  flex: 0 0 220px;
  gap: 8px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 56px;
  padding: 6px;
  text-decoration: none;
}

.uc3d-selection-card:hover {
  background: #eef7f5;
  border-color: #9fcfc8;
  color: #17212b;
  text-decoration: none;
}

.uc3d-selection-card img,
.uc3d-selection-card .uc3d-selection-color {
  aspect-ratio: 1;
  background: #edf2f4;
  border: 1px solid #d7dde2;
  border-radius: 5px;
  object-fit: cover;
  width: 44px;
}

.uc3d-selection-card .uc3d-selection-color {
  background: var(--swatch, #f5f7f7);
}

.uc3d-selection-card span,
.uc3d-selection-card strong,
.uc3d-selection-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc3d-selection-card span {
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.uc3d-selection-card strong {
  font-size: 12px;
}

.uc3d-selection-card small {
  color: #697783;
  font-size: 11px;
}

.uc3d-selection-card em {
  color: #0f766e;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.uc3d-selection-empty {
  align-items: center;
  color: #697783;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  min-height: 56px;
}

.uc3d-stepper-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uc3d-stepper-grid label {
  display: grid;
  gap: 5px;
  margin: 0;
}

.uc3d-stepper-grid span,
.uc3d-furniture-status {
  color: #52616c;
  font-size: 12px;
  font-weight: 700;
}

.uc3d-stepper-grid input {
  background: #ffffff;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  font-size: 13px;
  font-weight: 700;
  min-height: 38px;
  padding: 8px 9px;
  width: 100%;
}

.uc3d-room-size.is-locked {
  opacity: 0.72;
}

.uc3d-room-size.is-locked input {
  background: #edf2f4;
  color: #697783;
  cursor: not-allowed;
}

.uc3d-stepper-grid input:focus,
.uc3d-furniture-add select:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.16);
  outline: 0;
}

.uc3d-room-meter {
  background: #eef3f2;
  border: 1px solid #d4dddb;
  border-radius: 6px;
  color: #40505c;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
}

.uc3d-furniture-add {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  position: relative;
}

.uc3d-furniture-edit {
  align-items: center;
  background: #f7f9fa;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  width: 100%;
}

.uc3d-furniture-edit.is-active {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.uc3d-furniture.is-locked .uc3d-furniture-add,
.uc3d-furniture.is-locked .uc3d-furniture-colors {
  opacity: 0.55;
}

.uc3d-furniture.is-locked .uc3d-furniture-add button,
.uc3d-furniture.is-locked .uc3d-furniture-trigger,
.uc3d-furniture.is-locked .uc3d-furniture-colors button {
  cursor: not-allowed;
}

.uc3d-furniture.is-locked .uc3d-furniture-add button:disabled,
.uc3d-furniture.is-locked .uc3d-furniture-trigger:disabled,
.uc3d-furniture.is-locked .uc3d-furniture-colors button:disabled {
  background: #edf2f4;
  border-color: #ccd5dc;
  color: #697783;
}

.uc3d-furniture-add > button {
  align-items: center;
  background: #0f766e;
  border: 1px solid #0f766e;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
}

.uc3d-furniture-add > button:hover {
  background: #115e59;
  border-color: #115e59;
}

.uc3d-furniture-picker {
  min-width: 0;
  position: relative;
  z-index: 40;
}

.uc3d-furniture-picker:focus-within {
  z-index: 10020;
}

.uc3d-furniture-trigger {
  align-items: center;
  background: #ffffff;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  display: grid;
  gap: 10px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 7px 10px 7px 7px;
  text-align: left;
  width: 100%;
}

.uc3d-furniture-trigger::after {
  border-color: #52616c transparent transparent transparent;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  content: "";
  height: 0;
  width: 0;
}

.uc3d-furniture-preview {
  align-items: center;
  background: #edf2f4;
  border: 1px solid #d7dde2;
  border-radius: 5px;
  box-sizing: border-box;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  width: 44px;
}

.uc3d-furniture-preview::before {
  background: var(--swatch, #4b6572);
  border: 1px solid rgba(23, 33, 43, 0.2);
  border-radius: 4px;
  box-shadow: 8px 8px 0 rgba(23, 33, 43, 0.12);
  content: "";
  height: 22px;
  transform: skew(-8deg);
  width: 28px;
}

.uc3d-furniture-preview.has-preview::before {
  display: none;
}

.uc3d-furniture-preview svg {
  display: block;
  height: 100%;
  width: 100%;
}

.uc3d-furniture-trigger strong,
.uc3d-furniture-trigger small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc3d-furniture-trigger strong {
  font-size: 13px;
}

.uc3d-furniture-trigger small {
  color: #697783;
  font-size: 12px;
  margin-top: 2px;
}

.uc3d-furniture-menu {
  background: #ffffff;
  border: 1px solid #c7d2da;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(31, 41, 51, 0.16);
  bottom: calc(100% + 6px);
  left: 0;
  max-height: min(360px, calc(100vh - 190px));
  overflow: auto;
  padding: 8px;
  position: absolute;
  right: 0;
  top: auto;
  z-index: 10020;
}

.uc3d-furniture-menu[hidden] {
  display: none;
}

.uc3d-furniture-options {
  display: grid;
  gap: 6px;
}

.uc3d-furniture-option {
  align-items: center;
  background: #f8fafb;
  border: 1px solid #d7dde2;
  border-radius: 6px;
  color: #283640;
  display: grid;
  gap: 8px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 54px;
  padding: 6px;
  text-align: left;
  width: 100%;
}

.uc3d-furniture-option:hover,
.uc3d-furniture-option.is-active {
  background: #eef7f5;
  border-color: #0f766e;
}

.uc3d-furniture-option strong,
.uc3d-furniture-option small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc3d-furniture-option strong {
  font-size: 12px;
}

.uc3d-furniture-option small {
  color: #697783;
  font-size: 11px;
  margin-top: 2px;
}

.uc3d-furniture-colors {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uc3d-furniture-colors button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  display: grid;
  font-size: 11px;
  font-weight: 700;
  gap: 5px;
  justify-items: center;
  min-height: 48px;
  padding: 7px 5px;
}

.uc3d-furniture-colors button::before {
  background: var(--swatch);
  border: 1px solid rgba(23, 33, 43, 0.22);
  border-radius: 50%;
  content: "";
  height: 18px;
  width: 18px;
}

.uc3d-furniture-colors button.is-active {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.uc3d-control {
  display: grid;
  gap: 8px;
}

.uc3d-control > label {
  color: #33434f;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.uc3d-segmented,
.uc3d-grid-controls {
  display: grid;
  gap: 6px;
}

.uc3d-segmented {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uc3d-room-models {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uc3d-grid-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uc3d-segmented button,
.uc3d-grid-controls button,
.uc3d-action,
.uc3d-toolbar button,
.uc3d-product-link {
  align-items: center;
  background: #f7f9fa;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.uc3d-segmented button:hover,
.uc3d-grid-controls button:hover,
.uc3d-action:hover,
.uc3d-toolbar button:hover,
.uc3d-product-link:hover {
  background: #edf2f4;
  border-color: #99a8b3;
  color: #17212b;
  text-decoration: none;
}

.uc3d-segmented button.is-active,
.uc3d-grid-controls button.is-active,
.uc3d-swatches button.is-active {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.uc3d-swatches {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uc3d-wall-swatches {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uc3d-swatches button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #ccd5dc;
  border-radius: 6px;
  color: #283640;
  display: grid;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  justify-items: center;
  min-height: 58px;
  padding: 8px 6px;
}

.uc3d-swatches button::before {
  background: var(--swatch);
  border: 1px solid rgba(23, 33, 43, 0.22);
  border-radius: 50%;
  content: "";
  height: 22px;
  width: 22px;
}

.uc3d-range label {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.uc3d-range output {
  color: #0f766e;
  font-size: 12px;
}

.uc3d-range input {
  accent-color: #0f766e;
  width: 100%;
}

.uc3d-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.uc3d-product-link {
  background: #fff7ed;
  border-color: #f2c38b;
  color: #7c3f08;
  width: 100%;
}

.uc3d-stage {
  align-self: start;
  background: #e8edf0;
  border: 1px solid #d0d9df;
  border-radius: 8px;
  display: grid;
  grid-template-rows: auto minmax(520px, 1fr);
  height: clamp(620px, calc(100vh - 150px), 820px);
  min-width: 0;
  overflow: hidden;
  position: sticky;
  top: 16px;
}

.uc3d-toolbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #d7dde2;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 54px;
  padding: 10px 14px;
  position: relative;
  z-index: 2;
}

.uc3d-toolbar span {
  color: #52616c;
  font-size: 13px;
  min-width: 0;
}

.uc3d-toolbar button {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
  flex: 0 0 auto;
}

.uc3d-toolbar button:hover {
  background: #2b3945;
  border-color: #2b3945;
  color: #ffffff;
}

.uc3d-canvas {
  cursor: grab;
  min-height: 520px;
  position: relative;
  touch-action: none;
  width: 100%;
}

.uc3d-canvas canvas {
  cursor: grab;
  display: block;
  height: 100%;
  width: 100%;
}

.uc3d-canvas canvas.is-dragging {
  cursor: grabbing;
}

.uc3d-loader {
  align-items: center;
  background: rgba(232, 237, 240, 0.78);
  display: none;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.uc3d-simulator.is-loading .uc3d-loader {
  display: flex;
}

.uc3d-loader span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #c7d2da;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.16);
  color: #283640;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  padding: 10px 14px;
}

.uc3d-loader span::before {
  animation: uc3d-spin 800ms linear infinite;
  border: 2px solid #c7d2da;
  border-top-color: #0f766e;
  border-radius: 50%;
  content: "";
  height: 16px;
  width: 16px;
}

.uc3d-object-toolbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #c7d2da;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.18);
  display: inline-flex;
  gap: 6px;
  left: 0;
  padding: 6px;
  pointer-events: auto;
  position: absolute;
  top: 0;
  transform: translate(-9999px, -9999px);
  white-space: nowrap;
  z-index: 5;
}

@keyframes uc3d-spin {
  to {
    transform: rotate(360deg);
  }
}

.uc3d-object-toolbar[hidden] {
  display: none;
}

.uc3d-object-toolbar span {
  color: #283640;
  font-size: 12px;
  font-weight: 700;
  max-width: 130px;
  overflow: hidden;
  padding: 0 4px;
  text-overflow: ellipsis;
}

.uc3d-object-toolbar button {
  align-items: center;
  background: #0f766e;
  border: 1px solid #0f766e;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 34px;
}

.uc3d-object-toolbar button:hover {
  background: #115e59;
  border-color: #115e59;
}

.uc3d-object-toolbar button[data-object-delete] {
  background: #7c2d12;
  border-color: #7c2d12;
}

.uc3d-object-toolbar button[data-object-delete]:hover {
  background: #9a3412;
  border-color: #9a3412;
}

@media (max-width: 991px) {
  .uc3d-seo-intro,
  .uc3d-render-note,
  .uc3d-simulator,
  body#module-uc3dsimulator-simulator #hero_section .page-title-wrapper {
    width: min(100% - 28px, 1180px);
  }

  body#module-uc3dsimulator-simulator #hero_section .page-title-wrapper {
    padding: 30px 0 20px;
  }

  body#module-uc3dsimulator-simulator #hero_section .page-header h1 {
    font-size: 22px;
    line-height: 1.16;
    overflow-wrap: break-word;
  }

  .uc3d-layout {
    grid-template-columns: 1fr;
  }

  .uc3d-selection-bar {
    grid-template-columns: 1fr;
    position: relative;
    bottom: auto;
  }

  .uc3d-stage {
    grid-template-rows: auto minmax(420px, 60vh);
    height: auto;
    position: relative;
    top: auto;
  }

  .uc3d-canvas {
    min-height: 420px;
  }
}

@media (max-width: 575px) {
  .uc3d-panel {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
  }

  .uc3d-segmented,
  .uc3d-grid-controls,
  .uc3d-stepper-grid,
  .uc3d-project-row,
  .uc3d-project-row-load,
  .uc3d-color-select,
  .uc3d-furniture-add,
  .uc3d-actions {
    grid-template-columns: 1fr;
  }

  .uc3d-color-chip {
    display: none;
  }

  .uc3d-selection-card {
    flex-basis: 200px;
  }

  .uc3d-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .uc3d-toolbar button {
    width: 100%;
  }
}
