@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800&display=swap");

.uc-wrapper {
  --uc-primary: #6a3505;
  --uc-primary-dark: #3d1d07;
  --uc-secondary: #9a642f;
  --uc-banner-bg: #f8f6f2;
  --uc-header-image: none;
  --uc-text: #21170f;
  --uc-text-light: #6f665e;
  --uc-bg: #f7f4ef;
  --uc-bg-light: #fff;
  --uc-bg-highlight: #f6ede2;
  --uc-border: #e3ddd5;
  --uc-shadow: 0 7px 24px rgba(68, 43, 20, 0.09);
  --uc-radius: 14px;
  --uc-radius-sm: 10px;
  --uc-font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --uc-font-sans: "Montserrat", Arial, sans-serif;
  --uc-brown-dark: #3d1d07;
  --uc-cream: #f4eee6;
  --uc-cream-border: #eadfd2;
}

.uc-wrapper,
.uc-wrapper * {
  box-sizing: border-box;
}

.uc-wrapper {
  width: min(1380px, calc(100% - 32px));
  max-width: 1380px;
  margin: 28px auto 38px;
  color: var(--uc-text);
  font-family: var(--uc-font-sans);
  font-size: 15px;
  line-height: 1.45;
}

.uc-phase-stepper {
  display: flex;
  width: min(980px, calc(100% - 383px));
  min-height: 77px;
  align-items: flex-start;
  margin: 0 0 25px;
  padding: 0 42px;
}

.uc-phase-step {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 11px;
  min-width: 174px;
}

.uc-phase-circle {
  display: flex;
  width: 36px;
  height: 36px;
  min-width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--uc-primary) 25%, #d9d9d9);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(58, 30, 7, 0.12);
  transition: background-color 180ms ease, transform 180ms ease;
}

.uc-phase-step.active .uc-phase-circle,
.uc-phase-step.completed .uc-phase-circle {
  background: var(--uc-primary);
}

.uc-phase-step.active .uc-phase-circle {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(58, 30, 7, 0.28);
}

.uc-phase-labels {
  display: flex;
  flex-direction: column;
  padding-top: 43px;
  margin-left: -47px;
  line-height: 1.28;
  white-space: nowrap;
}

.uc-phase-title {
  color: #c3b9ae;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.uc-phase-sub {
  color: #31271f;
  font-size: 13px;
  font-weight: 500;
}

.uc-phase-step.active .uc-phase-title,
.uc-phase-step.completed .uc-phase-title {
  color: var(--uc-primary);
}

.uc-phase-step.active .uc-phase-sub {
  color: #21170f;
  font-weight: 700;
}

.uc-phase-line {
  flex: 1 1 96px;
  height: 2px;
  min-width: 48px;
  max-width: none;
  margin: 17px 17px 0 8px;
  background: color-mix(in srgb, var(--uc-primary) 25%, #e6e6e6);
}

.uc-layout {
  display: grid;
  grid-template-columns: minmax(0, 980px) minmax(330px, 365px);
  gap: 18px;
  align-items: start;
}

.uc-main {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e8e3dd;
  border-radius: var(--uc-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--uc-shadow);
}

.uc-sidebar {
  position: sticky;
  top: 20px;
}

.uc-project-banner {
  position: relative;
  display: flex;
  min-height: 186px;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 34px 34px;
  border: 0;
  border-bottom: 1px solid #e9e3dc;
  border-radius: 0;
  background: var(--uc-banner-bg);
}

.uc-banner-text {
  position: relative;
  z-index: 2;
  width: 53%;
}

.uc-banner-text h2 {
  margin: 0 0 8px;
  color: #25160d;
  font-family: var(--uc-font-display);
  font-size: clamp(38px, 3.35vw, 49px);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.98;
  text-transform: uppercase;
}

.uc-banner-text p {
  max-width: 430px;
  margin: 0;
  color: #241d18;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.uc-banner-image {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 50%;
}

.uc-banner-image::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, var(--uc-banner-bg) 0%, color-mix(in srgb, var(--uc-banner-bg) 93%, transparent) 8%, color-mix(in srgb, var(--uc-banner-bg) 25%, transparent) 34%, transparent 58%);
  content: "";
  pointer-events: none;
}

.uc-banner-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: 55% center;
}

.uc-form {
  margin: 0;
}

.uc-steps {
  min-width: 0;
}

.uc-step {
  display: none;
  min-width: 0;
  padding: 25px 32px 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: ucFadeIn 260ms ease both;
}

.uc-step:first-of-type {
  display: block;
}

@keyframes ucFadeIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.uc-step > h3 {
  margin: 0 0 4px;
  color: var(--uc-brown-dark);
  font-size: 22px;
  font-weight: 800;
}

.uc-step-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.uc-step-number {
  display: flex;
  width: 33px;
  height: 33px;
  min-width: 33px;
  align-items: center;
  justify-content: center;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--uc-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.uc-step-heading h3 {
  margin: 0 0 4px;
  color: #25190f;
  font-family: var(--uc-font-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-transform: uppercase;
}

.uc-step-desc {
  margin: 4px 0 0;
  color: #3d342d;
  font-size: 13px;
  font-weight: 500;
}

.uc-step-content {
  margin-top: 0;
}

.uc-step > .uc-step-desc + .uc-step-content {
  margin-top: 16px;
}

.uc-options-grid,
.uc-checkboxes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.uc-options-grid--image,
.uc-checkboxes-grid--image {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
}

.uc-option-card,
.uc-checkbox-item {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 12px 16px;
  border: 1.5px solid var(--uc-border);
  border-radius: var(--uc-radius-sm);
  background: #fff;
  color: #2a211a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.uc-option-card:hover,
.uc-checkbox-item:hover {
  border-color: color-mix(in srgb, var(--uc-primary) 45%, #fff);
  box-shadow: 0 5px 16px rgba(61, 29, 7, 0.09);
  transform: translateY(-2px);
}

.uc-option-card.selected,
.uc-checkbox-item.checked {
  border-color: var(--uc-primary);
  background: color-mix(in srgb, var(--uc-primary) 3%, #fff);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--uc-primary) 13%, transparent), 0 6px 18px rgba(61, 29, 7, 0.12);
}

.uc-option-card input,
.uc-checkbox-item input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.uc-option-check,
.uc-check-box {
  position: relative;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid #c7bbb0;
  border-radius: 50%;
  background: #fff;
}

.uc-check-box {
  border-radius: 5px;
}

.uc-option-card.selected .uc-option-check,
.uc-checkbox-item.checked .uc-check-box {
  border-color: var(--uc-primary);
  background: var(--uc-primary);
}

.uc-option-card.selected .uc-option-check::after,
.uc-checkbox-item.checked .uc-check-box::after {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  transform: translate(-50%, -51%);
}

.uc-option-card--image,
.uc-checkbox-item--image {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #e5dfd8;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(48, 33, 20, 0.09);
}

.uc-option-image-wrap {
  position: relative;
  display: block;
  height: 188px;
  overflow: visible;
  background: #eae4dc;
  line-height: 0;
}

.uc-option-image-wrap > img.uc-option-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}




.uc-option-card--image .uc-option-check--image,
.uc-checkbox-item--image .uc-check-box--image {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.95);
  transition: opacity 160ms ease;
}

.uc-option-card--image:hover .uc-option-check--image,
.uc-option-card--image.selected .uc-option-check--image,
.uc-checkbox-item--image:hover .uc-check-box--image,
.uc-checkbox-item--image.checked .uc-check-box--image {
  opacity: 1;
}

.uc-option-card--image .uc-option-card-body,
.uc-checkbox-item--image .uc-option-card-body {
  display: flex;
  min-height: 70px;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 15px 10px 10px;
  color: #2a1b12;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.23;
  text-align: center;
  text-transform: uppercase;
}

.uc-option-card--image .uc-option-price,
.uc-checkbox-item--image .uc-item-price {
  margin: 3px 0 0;
  color: var(--uc-secondary);
  font-size: 11px;
}

.uc-option-title {
  display: block;
  width: 100%;
  max-width: 145px;
  margin: 0 auto;
  overflow-wrap: break-word;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
}

.uc-option-price,
.uc-item-price {
  display: none;
  margin-left: auto;
  color: var(--uc-secondary);
  font-size: 12px;
  font-weight: 700;
}

.uc-tip-box {
  display: flex;
  width: min(580px, 100%);
  min-height: 75px;
  align-items: center;
  gap: 14px;
  margin-top: 31px;
  padding: 13px 18px;
  border: 0;
  border-radius: 11px;
  background: color-mix(in srgb, var(--uc-primary) 7%, #fff);
  color: #2d2118;
}

.uc-tip-icon {
  display: flex;
  width: 43px;
  height: 43px;
  min-width: 43px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--uc-primary);
}

.uc-tip-icon svg {
  width: 34px;
  height: 34px;
}

.uc-tip-box strong {
  display: block;
  margin-bottom: 2px;
  color: #2a1c13;
  font-size: 13px;
  font-weight: 800;
}

.uc-tip-box p {
  margin: 0;
  color: #3e342d;
  font-size: 12px;
  font-weight: 500;
}

.uc-nav {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--uc-border);
}

.uc-nav--first {
  display: none;
}

.uc-nav button {
  min-height: 43px;
  padding: 10px 27px;
  border: 0;
  border-radius: 24px;
  font-family: var(--uc-font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.uc-nav button:hover {
  transform: translateY(-1px);
}

.uc-prev {
  border: 1px solid #d9d0c7 !important;
  background: #fff !important;
  color: #675b52 !important;
}

.uc-next,
.uc-submit {
  margin-left: auto;
  background: var(--uc-primary) !important;
  color: #fff !important;
}

.uc-next:hover,
.uc-submit:hover {
  background: var(--uc-primary-dark) !important;
}

.uc-recap-box {
  display: flex;
  height: 922px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dfd8d0;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--uc-shadow);
}

.uc-recap-header {
  position: relative;
  display: flex;
  min-height: 127px;
  flex: 0 0 127px;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  padding: 22px 28px;
  background:
    linear-gradient(color-mix(in srgb, var(--uc-primary-dark) 78%, transparent), color-mix(in srgb, var(--uc-primary-dark) 84%, transparent)),
    var(--uc-header-image) 73% 54% / cover,
    var(--uc-primary-dark);
  color: #fff;
}

.uc-recap-header::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 11px, rgba(255, 255, 255, 0.025) 12px, transparent 13px);
  content: "";
  pointer-events: none;
}

.uc-recap-header-icon {
  position: relative;
  z-index: 1;
  display: flex;
  width: 76px;
  height: 76px;
  min-width: 76px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.uc-recap-header-icon svg {
  width: 43px;
  height: 43px;
  stroke-width: 1.15;
}

.uc-recap-header > div:last-child {
  position: relative;
  z-index: 1;
}

.uc-recap-header h3 {
  margin: 0;
  color: #fff;
  font-family: var(--uc-font-sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: uppercase;
}

.uc-recap-header p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.uc-recap-body {
  position: relative;
  z-index: 5;
  flex: 0 0 285px;
  height: 285px;
  min-height: 285px;
  padding: 48px 24px 22px;
  background: #fff;
  text-align: center;
}

.uc-recap-total-label {
  margin-bottom: 15px;
  color: #24180f;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.uc-recap-total-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: #25170d;
  font-family: var(--uc-font-sans);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.uc-recap-total-value--long {
  font-size: 34px;
}

.uc-recap-total-value--very-long {
  font-size: 29px;
}

.uc-recap-unit {
  margin-left: 11px;
  color: #24180f;
  font-family: var(--uc-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.uc-wrapper button.uc-recap-detail-toggle {
  display: block;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 22px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #a3988d !important;
  font-family: var(--uc-font-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  text-transform: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.uc-wrapper button.uc-recap-detail-toggle:hover,
.uc-wrapper button.uc-recap-detail-toggle:focus,
.uc-wrapper button.uc-recap-detail-toggle:active {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #776b61 !important;
}

.uc-recap-details {
  position: absolute;
  z-index: 10;
  top: 190px;
  right: 24px;
  left: 24px;
  max-height: 255px;
  overflow: auto;
  margin: 0;
  padding: 12px 10px 16px;
  border-top: 1px dashed #ddd4cb;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  box-shadow: 0 14px 24px rgba(61, 29, 7, 0.08);
  color: #4b4037;
  text-align: left;
}

.uc-recap-details::-webkit-scrollbar {
  width: 6px;
}

.uc-recap-details::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: color-mix(in srgb, var(--uc-primary) 35%, transparent);
}

.uc-detail-list {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--uc-border);
}

.uc-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  padding: 1px 0;
  font-size: 12px;
  line-height: 1.4;
}

.uc-detail-label {
  min-width: 0;
  flex: 1 1 auto;
}

.uc-detail-value {
  flex: 0 0 auto;
  color: #564a40;
  text-align: right;
  white-space: nowrap;
}

.uc-recap-image {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  margin-top: -66px;
  overflow: hidden;
  background: #fff;
  line-height: 0;
}

.uc-recap-image::before {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 205px;
  background: linear-gradient(
    180deg,
    #fff 0%,
    rgba(255, 255, 255, 0.98) 16%,
    rgba(255, 255, 255, 0.82) 43%,
    rgba(255, 255, 255, 0.38) 72%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  pointer-events: none;
}

.uc-recap-image > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: 52% 33%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 18%, #000 43%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 18%, #000 43%);
}

.uc-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.uc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.uc-form-full {
  grid-column: 1 / -1;
}

.uc-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.uc-form-group label {
  color: #51463d;
  font-size: 12px;
  font-weight: 700;
}

.uc-form-group input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px !important;
  border: 1.5px solid var(--uc-border) !important;
  border-radius: 8px !important;
  background: #fff;
  color: #21170f;
  font-family: var(--uc-font-sans) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

.uc-form-group input:focus,
.uc-form select:focus {
  border-color: var(--uc-primary) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--uc-primary) 10%, transparent) !important;
}

.uc-checkbox-label {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.uc-checkbox-label input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.uc-checkbox-label input:checked + .uc-check-box {
  border-color: var(--uc-primary);
  background: var(--uc-primary);
}

.uc-checkbox-label input:checked + .uc-check-box::after {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  content: "✓";
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transform: translate(-50%, -52%);
}

.uc-form select {
  width: 100%;
  min-height: 48px;
  appearance: none;
  padding: 11px 42px 11px 14px;
  border: 1.5px solid var(--uc-border);
  border-radius: 8px;
  outline: 0;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  color: #21170f;
  font-family: var(--uc-font-sans);
  font-size: 14px;
  cursor: pointer;
}

.uc-recap-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--uc-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 9px;
  font-size: 13px;
}

.uc-recap-table th {
  padding: 11px 14px;
  background: var(--uc-primary);
  color: #fff;
  text-align: left;
}

.uc-recap-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--uc-border);
}

.uc-total-row td {
  border-top: 2px solid var(--uc-primary);
  background: var(--uc-bg-highlight);
}

.uc-message {
  display: none;
  margin: 16px 32px 30px;
  border-radius: 8px;
}

.uc-message .success,
.uc-message .error {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid;
  border-radius: 8px;
  font-size: 13px;
}

.uc-message .success {
  border-color: #badbcc;
  background: #d1e7dd;
  color: #0f5132;
}

.uc-message .error {
  border-color: #f1b9bf;
  background: #f8d7da;
  color: #842029;
}

.uc-error {
  border-color: #bd2d39 !important;
  box-shadow: 0 0 0 2px rgba(189, 45, 57, 0.09) !important;
}

@media (max-width: 1220px) {
  .uc-phase-stepper {
    width: calc(100% - 348px);
    margin-left: 0;
    padding-right: 24px;
    padding-left: 24px;
  }

  .uc-phase-step {
    min-width: 144px;
  }

  .uc-phase-sub {
    font-size: 11px;
  }

  .uc-phase-line {
    margin-right: 10px;
    margin-left: 4px;
  }

  .uc-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .uc-option-card--image .uc-option-card-body,
  .uc-checkbox-item--image .uc-option-card-body {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .uc-wrapper {
    width: min(760px, calc(100% - 28px));
  }

  .uc-phase-stepper {
    width: 100%;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .uc-phase-step {
    min-width: 0;
  }

  .uc-phase-line {
    max-width: none;
  }

  .uc-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .uc-sidebar {
    position: static;
  }

  .uc-recap-box {
    height: 640px;
  }

  .uc-recap-image {
    min-height: 285px;
  }
}

@media (max-width: 720px) {
  .uc-wrapper {
    width: min(560px, calc(100% - 22px));
    margin-top: 18px;
  }

  .uc-phase-stepper {
    min-height: 48px;
    margin-bottom: 16px;
  }

  .uc-phase-step {
    flex: 0 0 36px;
  }

  .uc-phase-labels {
    display: none;
  }

  .uc-phase-line {
    margin: 17px 8px 0;
  }

  .uc-project-banner {
    min-height: 155px;
    padding: 25px 23px;
  }

  .uc-banner-text {
    width: 65%;
  }

  .uc-banner-text h2 {
    font-size: 36px;
  }

  .uc-banner-text p {
    font-size: 12px;
  }

  .uc-option-title {
    max-width: 120px;
  }

  .uc-banner-image {
    width: 55%;
  }

  .uc-step {
    padding: 22px 20px 24px;
  }

  .uc-options-grid--image,
  .uc-checkboxes-grid--image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .uc-option-image-wrap {
    height: 155px;
  }

  .uc-option-card--image .uc-option-card-body,
  .uc-checkbox-item--image .uc-option-card-body {
    min-height: 64px;
    padding: 14px 9px 9px;
    font-size: 12px;
  }



  .uc-options-grid,
  .uc-checkboxes-grid,
  .uc-form-grid {
    grid-template-columns: 1fr;
  }

  .uc-form-full {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .uc-project-banner {
    min-height: 170px;
  }

  .uc-banner-text {
    width: 82%;
  }

  .uc-banner-image {
    width: 62%;
    opacity: 0.56;
  }

  .uc-banner-image::before {
    background: linear-gradient(90deg, var(--uc-banner-bg) 0%, color-mix(in srgb, var(--uc-banner-bg) 89%, transparent) 37%, color-mix(in srgb, var(--uc-banner-bg) 22%, transparent) 100%);
  }

  .uc-options-grid--image,
  .uc-checkboxes-grid--image {
    grid-template-columns: 1fr;
  }

  .uc-option-image-wrap {
    height: 190px;
  }

  .uc-option-card--image .uc-option-card-body,
  .uc-checkbox-item--image .uc-option-card-body {
    font-size: 14px;
  }

  .uc-option-title {
    max-width: 145px;
  }

  .uc-recap-header {
    padding: 20px;
  }

  .uc-recap-header-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }

  .uc-recap-box {
    height: 610px;
  }
}

/* ------------------------------------------------------------------
   Configurateur universel : éléments génériques
   ------------------------------------------------------------------ */

/* Prix / impacts visibles sur les cartes et éléments tarifés */
.uc-wrapper .uc-option-price,
.uc-wrapper .uc-item-price {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Prestation sans photo : initiale sur fond teinté */
.uc-option-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0 0;
  background: color-mix(in srgb, var(--uc-primary) 12%, #fff);
  color: var(--uc-primary);
  font-family: var(--uc-font-display);
  font-size: 72px;
  line-height: 1;
}

.uc-option-desc {
  display: block;
  margin-top: 4px;
  color: var(--uc-text-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

/* Détails de prestation / options : case + nom + description + prix, puis question de quantité */
.uc-priced-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.uc-priced-item .uc-checkbox-item {
  align-items: flex-start;
}

.uc-item-text {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
}

.uc-item-desc {
  color: var(--uc-text-light);
  font-size: 12px;
  font-weight: 500;
}

.uc-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 14px;
  border-radius: var(--uc-radius-sm);
  background: color-mix(in srgb, var(--uc-primary) 6%, #fff);
}

.uc-qty[hidden] {
  display: none;
}

.uc-qty label {
  flex: 1 1 180px;
  color: var(--uc-text);
  font-size: 13px;
  font-weight: 700;
}

.uc-qty input {
  width: 110px;
  min-height: 40px;
  padding: 8px 12px !important;
  border: 1.5px solid var(--uc-border) !important;
  border-radius: 8px !important;
  background: #fff;
  font-family: var(--uc-font-sans) !important;
  font-size: 14px !important;
}

.uc-qty input:focus {
  border-color: var(--uc-primary) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--uc-primary) 10%, transparent) !important;
}

.uc-detail-group[hidden] {
  display: none;
}

/* Bloc estimation sans image : hauteur naturelle */
.uc-recap-box:not(:has(.uc-recap-image)) {
  height: auto;
}

.uc-recap-box:not(:has(.uc-recap-image)) .uc-recap-body {
  height: auto;
  min-height: 240px;
  flex-basis: auto;
}

.uc-recap-box:not(:has(.uc-recap-image)).uc-details-open .uc-recap-body {
  min-height: 480px;
}
