.alx3d-finisher-product-preview {
  --finisher-preview-accent: #f15a24;
  --finisher-preview-ink: #20242a;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-bottom: 30px;
  color: var(--finisher-preview-ink);
}

.alx3d-finisher-preview-intro { max-width: 760px; margin: 0 0 15px 8px; text-align: left; }
.alx3d-finisher-preview-intro h2 {
  margin: 0 0 8px;
  color: #202d49;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: clamp(1.375rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}
.alx3d-finisher-preview-intro p { margin: 0; color: #646b74; }
.alx3d-finisher-product-preview-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(26px, 5vw, 72px); align-items: start; }
.alx3d-finisher-product-preview-column,
.alx3d-finisher-product-preview-choices { min-width: 0; }
.alx3d-finisher-product-face-wrap { display: grid; place-items: center; min-height: 360px; margin: 0; padding: clamp(14px, 3vw, 30px); overflow: hidden; border-radius: 12px; background: #f5f4f1; }
.alx3d-finisher-product-face-wrap img { display: block; width: 100%; max-height: min(72vh, 720px); object-fit: contain; }
.alx3d-finisher-product-variant-name { margin: 12px 0 0; text-align: center; font-style: italic; font-weight: 650; }
.alx3d-finisher-product-preview-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin-top: 20px; }
.alx3d-finisher-product-preview-actions-separator { flex: 0 0 100%; width: 100%; height: 0; margin: 0 0 30px; padding: 0; border: 0; border-top: 1px solid #c8a15a; }
.alx3d-finisher-product-preview-actions button { min-height: 46px; padding: 10px 18px; border: 1px solid #1e2a44; border-radius: 5px; background: #1e2a44; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.alx3d-finisher-product-preview-actions .alx3d-finisher-product-preview-viewer { background: #fff; color: var(--finisher-preview-ink); }
.alx3d-finisher-product-preview-choices { display: grid; gap: 20px; }
.alx3d-finisher-preview-choice-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.alx3d-finisher-preview-choice-group[hidden] { display: none !important; }
.alx3d-finisher-preview-choice-group legend { margin-bottom: 11px; padding: 0; color: var(--finisher-preview-ink); font-size: 1.08rem; font-weight: 700; }
.alx3d-finisher-preview-options { display: flex; flex-wrap: wrap; gap: 10px; }
.alx3d-finisher-preview-current-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding-bottom: 12px; border-bottom: 1px solid #c8a15a; color: var(--finisher-preview-ink); font-size: 1.08rem; font-weight: 600; line-height: 1.2; }
.alx3d-finisher-preview-current-price > strong,
.alx3d-finisher-preview-current-price .price,
.alx3d-finisher-preview-current-price .woocommerce-Price-amount,
.alx3d-finisher-preview-current-price .woocommerce-price-suffix { font-weight: 600; }
.alx3d-finisher-preview-current-price .price,
.alx3d-finisher-preview-current-price .woocommerce-Price-amount,
.alx3d-finisher-preview-current-price .woocommerce-price-suffix,
.alx3d-finisher-preview-current-price ins { color: #e53935; }
.alx3d-finisher-preview-current-price .price { margin: 0; }
.alx3d-finisher-preview-current-price del { color: #737982; font-weight: 400; }
.alx3d-finisher-preview-current-price ins { text-decoration: none; }
.alx3d-finisher-preview-options[data-finisher-preview-options="style"] { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); }
.alx3d-finisher-preview-choice { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 48px; padding: 9px 16px; border: 1px solid #c8c9cc; border-radius: 8px; background: #fff; color: var(--finisher-preview-ink); font: inherit; font-weight: 550; cursor: pointer; }
.alx3d-finisher-preview-choice[aria-pressed="true"] { border-color: var(--finisher-preview-accent); }
.alx3d-finisher-preview-choice:focus-visible,
.alx3d-finisher-product-preview-actions button:focus-visible { outline: 2px solid var(--finisher-preview-accent); outline-offset: 2px; }

.alx3d-finisher-configurator {
  --finisher-accent: #f15a24;
  clear: both;
  margin: 50px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid #d5aa5a;
  color: #20242a;
  font-family: inherit;
}

.ar-product-shell--finisher form.variations_form table.variations {
  display: none !important;
}

.ar-product-shell--finisher form.variations_form .ar-variation-price-preview {
  display: none !important;
}

.ar-product-shell--finisher form.variations_form .single_variation_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin-top: 40px !important;
}

.ar-product-shell--finisher form.variations_form .single_variation {
  flex: 0 1 auto;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
}

.ar-product-shell--finisher form.variations_form .alx3d-finisher-selected-format {
  display: block;
  margin-top: 2px;
  color: #646b74;
  font-size: calc(1em - 1px);
  font-weight: 400;
  line-height: 1.3;
}

.ar-product-shell--finisher form.variations_form .single_variation .price {
  margin: 0;
  font-weight: 700;
}

.ar-product-shell--finisher form.variations_form .single_variation .price .woocommerce-Price-amount {
  font-weight: 700;
}

.ar-product-shell--finisher form.variations_form.alx3d-finisher-managed-price .single_variation .woocommerce-variation-price {
  display: none !important;
}

.ar-product-shell--finisher form.variations_form .alx3d-finisher-cart-price .price {
  margin: 0;
  font-weight: 700;
}

.ar-product-shell--finisher form.variations_form .alx3d-finisher-cart-price .woocommerce-Price-amount {
  font-weight: 700;
}

.ar-product-shell--finisher form.variations_form .woocommerce-variation-add-to-cart {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
}

.alx3d-finisher-simple-purchase-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.ar-product-shell--finisher .wc-stripe-payment-request-wrapper,
.ar-product-shell--finisher .wc-stripe-payment-request-button-separator,
.ar-product-shell--finisher #wc-stripe-express-checkout-element,
.ar-product-shell--finisher .wcpay-payment-request-wrapper,
.ar-product-shell--finisher .wcpay-payment-request-button-separator,
.ar-product-shell--finisher .wcpay-express-checkout-wrapper,
.ar-product-shell--finisher #wcpay-express-checkout-element {
  display: none !important;
}

.ar-finisher-customization-card .single_add_to_cart_button {
  margin-top: 0 !important;
}

@media (max-width: 420px) {
  .ar-product-shell--finisher form.variations_form .single_add_to_cart_button {
    min-width: 0;
    padding-inline: 12px !important;
    font-size: .9rem;
    white-space: nowrap;
  }
}

.alx3d-finisher-product-intro {
  max-width: 760px;
  margin: 0 0 15px 8px;
  text-align: left;
}

.alx3d-finisher-product-intro h2 {
  margin: 0 0 8px;
  color: #202d49;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

.alx3d-finisher-product-intro p {
  margin: 0;
  color: #646b74;
  font-size: .9rem;
}

.alx3d-finisher-product-intro .alx3d-finisher-modify-choices-note {
  margin: 0 0 8px;
}

.alx3d-finisher-modify-choices-note a {
  color: #202d49;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.alx3d-finisher-product-intro [data-finisher-format-summary] strong,
.alx3d-finisher-product-intro [data-finisher-current-format] {
  font-weight: 600;
}

.alx3d-finisher-configurator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(22px, 3vw, 40px);
}

.alx3d-finisher-fields-column,
.alx3d-finisher-preview-column {
  min-width: 0;
}

.alx3d-finisher-face-wrap {
  margin: 0;
}

.alx3d-finisher-canvas-wrap {
  position: relative;
  width: 100%;
  box-shadow: 0 10px 30px rgb(20 22 28 / 14%);
}

.alx3d-finisher-canvas-wrap img,
.alx3d-finisher-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.alx3d-finisher-canvas-wrap img {
  object-fit: fill;
}

.alx3d-finisher-canvas-wrap canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.alx3d-finisher-preview-title { margin: 0 0 9px; font-size: 14px; font-weight: 700; }
.alx3d-finisher-preview-note { margin: 10px 0 0; color: #6c737a; font-size: 12px; line-height: 1.5; }
.alx3d-finisher-debug-panel {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #d5aa5a;
  border-radius: 6px;
  background: #fffdf8;
  color: #20242a;
}
.alx3d-finisher-debug-panel h3 { margin: 0 0 10px; font-size: 14px; }
.alx3d-finisher-debug-panel pre {
  max-height: 520px;
  margin: 0;
  overflow: auto;
  white-space: pre;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.alx3d-finisher-model-modal[hidden] { display: none; }
.alx3d-finisher-model-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(15 20 30 / 88%);
}

.alx3d-finisher-model-modal model-viewer {
  display: block;
  width: min(100%, 90vw, 65vh);
  height: auto;
  max-height: 92vh;
  aspect-ratio: 2480 / 3508;
  border-radius: 12px;
  background: #202328;
}

.alx3d-finisher-model-modal [data-finisher-close-model] {
  position: absolute;
  top: 14px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

html.alx3d-finisher-model-open { overflow: hidden; }
.alx3d-finisher-controls {
  display: grid;
  gap: 14px;
}

/* Keep the controls in the markup for the existing sync logic and quick rollback. */
.alx3d-finisher-configurator .alx3d-finisher-controls {
  display: none !important;
}

.alx3d-finisher-choice-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.alx3d-finisher-choice-group[hidden] {
  display: none !important;
}

.alx3d-finisher-choice-group legend {
  margin-bottom: 8px;
  padding: 0;
  color: #20242a;
  font-size: .9rem;
  font-weight: 700;
}

.alx3d-finisher-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.alx3d-finisher-configurator .alx3d-finisher-choice-card {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 76px;
  padding: 9px 16px;
  border: 1px solid #c8c9cc;
  border-radius: 8px;
  background: #fff;
  color: #20242a;
  font: inherit;
  font-weight: 550;
  cursor: pointer;
  transition: border-color .15s;
}

.alx3d-finisher-choice-group[data-finisher-choice-group="format"] .alx3d-finisher-choice-card {
  min-width: 92px;
  padding: 8px 14px;
}

.alx3d-finisher-choice-group[data-finisher-choice-group="style"] .alx3d-finisher-choice-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
}

.alx3d-finisher-choice-group[data-finisher-choice-group="style"] .alx3d-finisher-choice-card {
  width: 100%;
}

.alx3d-finisher-configurator .alx3d-finisher-choice-card:hover,
.alx3d-finisher-configurator .alx3d-finisher-choice-card[aria-pressed="true"] {
  border-color: #f15a24;
  box-shadow: none;
}

.alx3d-finisher-configurator .alx3d-finisher-choice-card:focus-visible {
  outline: 2px solid #f15a24;
  outline-offset: 2px;
}

.alx3d-finisher-personalization {
  margin-top: 18px;
}

.alx3d-finisher-personalization h4 {
  margin: 0 0 10px;
  color: #20242a;
  font-size: .9rem;
  font-weight: 700;
}

.alx3d-finisher-primary-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: none;
}

.alx3d-finisher-primary-fields label {
  display: grid;
  gap: 6px;
  padding: 10px 0 12px;
  border-bottom: 1px solid #dedfe2;
  color: #20242a;
  font-size: .9rem;
  font-weight: 650;
}

.alx3d-finisher-primary-fields .alx3d-finisher-field-label {
  color: #20242a;
}

.alx3d-finisher-primary-fields .alx3d-finisher-required {
  color: #e64b3f;
}

.alx3d-finisher-primary-fields input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #cfd3dc;
  border-radius: 8px;
  background: #fff;
  color: #20242a;
  font: inherit;
  font-weight: 400;
}

.alx3d-finisher-primary-fields input:focus {
  border-color: var(--finisher-accent);
  outline: 2px solid rgb(241 90 36 / 18%);
  outline-offset: 1px;
}

.alx3d-finisher-french-flag-option,
.alx3d-finisher-route-markers-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0 4px;
  color: #20242a;
  font-size: .88rem;
  line-height: 1.4;
}

.alx3d-finisher-french-flag-option input,
.alx3d-finisher-route-markers-option input {
  flex: none;
  margin: 3px 0 0;
}

.alx3d-finisher-french-flag-option span,
.alx3d-finisher-route-markers-option span {
  display: grid;
  gap: 3px;
}

.alx3d-finisher-french-flag-option small,
.alx3d-finisher-route-markers-option small {
  color: #646b74;
  font-size: .8rem;
  font-weight: 400;
}

.alx3d-finisher-validation-message {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #e3aaa5;
  border-radius: 6px;
  background: #fff5f4;
  color: #9f2921;
  font-size: .9rem;
  line-height: 1.45;
}

.alx3d-finisher-validation-message[hidden] {
  display: none !important;
}

.alx3d-finisher-stats {
  margin-top: 16px;
}

.alx3d-finisher-stats h4 {
  margin: 0 0 4px;
  color: #20242a;
  font-size: .9rem;
  font-weight: 700;
}

.alx3d-finisher-stats-help {
  box-sizing: border-box;
  width: min(100%, 320px);
  margin: 0 0 10px;
  padding: 8px 9px;
  border: 1px solid #e1e7f0;
  border-radius: 9px;
  background: #fff;
  color: #647087;
  font-size: .75rem;
  line-height: 1.5;
}

.alx3d-finisher-stats-help summary {
  color: #343f4f;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.alx3d-finisher-stats-help-content p {
  margin: 7px 0 0;
}

.alx3d-finisher-stats-help-content ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.alx3d-finisher-stats-help-content li::before {
  content: "• ";
}

.alx3d-finisher-stat-row {
  padding: 12px 0 14px;
  border-bottom: 1px solid #dedfe2;
}

.alx3d-finisher-stat-row--compact {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}

.alx3d-finisher-stat-row--compact .alx3d-finisher-stat-label {
  grid-column: 1 / -1;
}

.alx3d-finisher-stat-row--compact .alx3d-finisher-stat-input-wrap {
  grid-column: 1;
  grid-row: 2;
}

.alx3d-finisher-stat-row--compact .alx3d-finisher-stat-placement {
  grid-column: 2;
  grid-row: 2;
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin-top: 0;
}

.alx3d-finisher-stat-row--compact .alx3d-finisher-stat-placement-label {
  display: none;
}

.alx3d-finisher-stat-row--compact .alx3d-finisher-stat-position-options {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.alx3d-finisher-stats .alx3d-finisher-stat-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.alx3d-finisher-stat-label {
  display: block;
  margin: 0 0 7px;
  color: #596475;
  font-size: .83rem;
  font-weight: 650;
}

.alx3d-finisher-stat-input-wrap {
  position: relative;
}

.alx3d-finisher-configurator .alx3d-finisher-stat-input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px 40px 8px 12px;
  border: 1px solid #cfd3dc;
  border-radius: 8px;
  background: #fff;
  color: #20242a;
  font: inherit;
  font-weight: 400;
}

.alx3d-finisher-stat-input::placeholder {
  color: #a3a7ad;
  opacity: 1;
}

.alx3d-finisher-stat-input:focus {
  border-color: var(--finisher-accent);
  outline: 2px solid rgb(241 90 36 / 18%);
  outline-offset: 1px;
}

.alx3d-finisher-stat-help {
  appearance: none;
  position: absolute;
  top: 50%;
  right: 9px;
  display: inline-flex;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid #9ca8ba;
  border-radius: 50%;
  padding: 0;
  background: #fff;
  box-shadow: none;
  color: #66758e;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
}

.alx3d-finisher-stat-help:focus-visible {
  outline: 2px solid var(--finisher-accent);
  outline-offset: 2px;
}

.alx3d-finisher-stat-help-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  box-sizing: border-box;
  width: 280px;
  max-width: min(280px, calc(100vw - 40px));
  padding: 9px 11px;
  border: 1px solid #17223a;
  border-radius: 7px;
  background: #202d49;
  box-shadow: 0 5px 16px rgb(20 30 48 / 18%);
  color: #fff;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
  visibility: hidden;
}

.alx3d-finisher-stat-help:hover + .alx3d-finisher-stat-help-tooltip,
.alx3d-finisher-stat-help:focus-visible + .alx3d-finisher-stat-help-tooltip,
.alx3d-finisher-stat-help.is-open + .alx3d-finisher-stat-help-tooltip {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.alx3d-finisher-stat-placement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  margin-top: 7px;
}

.alx3d-finisher-stat-placement-label {
  color: #66758e;
  font-size: .78rem;
  font-weight: 600;
}

.alx3d-finisher-stat-position-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.alx3d-finisher-configurator .alx3d-finisher-stat-position {
  appearance: none;
  min-height: 27px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f4f7fa;
  color: #566b8a;
  font: inherit;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}

.alx3d-finisher-configurator .alx3d-finisher-stat-position:disabled {
  color: #a8b7cc;
  cursor: not-allowed;
}

.alx3d-finisher-configurator .alx3d-finisher-stat-position:not(:disabled):hover,
.alx3d-finisher-configurator .alx3d-finisher-stat-position.is-selected {
  border-color: #f15a24;
  background: #fff;
  color: #202d49;
}

.alx3d-finisher-configurator .alx3d-finisher-stat-position:focus-visible {
  outline: 2px solid #f15a24;
  outline-offset: 2px;
}

.alx3d-finisher-unavailable {
  color: #5c6472;
}

.alx3d-finisher-cart .single_add_to_cart_button {
  min-width: 220px;
  min-height: 52px;
  padding: 12px 22px !important;
  border: 1px solid #1e2a44 !important;
  border-radius: 5px !important;
  background: #1e2a44 !important;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.alx3d-finisher-cart .single_add_to_cart_button:not(:disabled) {
  opacity: 1 !important;
  cursor: pointer !important;
}

.alx3d-finisher-cart .single_add_to_cart_button:hover,
.alx3d-finisher-cart .single_add_to_cart_button:focus-visible {
  border-color: #17223a !important;
  background: #17223a !important;
  color: #fff !important;
}

.alx3d-finisher-cart .quantity {
  display: none !important;
}

.alx3d-finisher-validation-open {
  overflow: hidden;
}

.alx3d-finisher-validation-modal[hidden] {
  display: none !important;
}

.alx3d-finisher-validation-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 12px;
}

.alx3d-finisher-validation-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 19, 25, .72);
}

.alx3d-finisher-validation-dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 70vw;
  width: max(50vw, min(70vw, 1200px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 20px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.alx3d-finisher-validation-dialog h4 {
  margin: 0 0 8px;
  color: #202d49;
  font-size: 20px;
}

.alx3d-finisher-validation-dialog > p {
  font-size: 13px;
  line-height: 1.45;
}

.alx3d-finisher-validation-dialog > img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  max-height: min(78dvh, 900px);
  margin: 12px auto;
  object-fit: contain;
  background: #eee;
}

.alx3d-finisher-validation-email-label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
}

.alx3d-finisher-validation-flag,
.alx3d-finisher-validation-route-markers {
  margin: 8px 0 12px;
  color: #4c5564;
  font-size: 13px;
  line-height: 1.45;
}

.alx3d-finisher-validation-email-label input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #bcc5cc;
  border-radius: 6px;
}

.alx3d-finisher-validation-confirm {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.45;
}

.alx3d-finisher-validation-confirm input {
  flex: none;
  margin-top: 3px;
}

.alx3d-finisher-validation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.alx3d-finisher-validation-actions button {
  padding: 9px 14px;
  border: 1px solid #c4c4c4;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.alx3d-finisher-validation-actions [data-finisher-validation-send] {
  border-color: #202d49;
  background: #202d49;
  color: #fff;
  font-weight: 700;
}

.alx3d-finisher-validation-actions [data-finisher-validation-send]:disabled {
  opacity: .55;
  cursor: wait;
}

.alx3d-finisher-validation-dialog [data-finisher-validation-status] {
  min-height: 1em;
  margin: 10px 0 0;
  color: #42684c;
}

.alx3d-finisher-validation-dialog [data-finisher-validation-status].is-error {
  color: #a32424;
}

@media (max-width: 760px) {
  .alx3d-finisher-product-preview { width: 100%; margin: 0 auto; }
  .alx3d-finisher-product-preview-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .alx3d-finisher-product-face-wrap { min-height: 240px; }
  .alx3d-finisher-product-face-wrap img { max-height: 56vh; }
  .alx3d-finisher-product-preview-choices { gap: 18px; }

  .alx3d-finisher-configurator-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ar-product-shell--finisher form.variations_form .single_variation_wrap {
    margin-top: 20px !important;
  }

  .alx3d-finisher-simple-purchase-actions {
    margin-top: 20px;
  }

  .alx3d-finisher-canvas-wrap img {
    max-height: 56vh;
  }

  .alx3d-finisher-controls {
    gap: 18px;
  }

}

@media (max-width: 1200px), (hover: none) and (pointer: coarse) {
  .alx3d-finisher-validation-dialog {
    width: 95vw;
  }

  .alx3d-finisher-validation-dialog > img {
    max-height: 68vh;
    max-height: min(68dvh, 760px);
  }
}

@media (max-width: 440px) {
  .alx3d-finisher-stat-row--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .alx3d-finisher-stat-row--compact .alx3d-finisher-stat-label,
  .alx3d-finisher-stat-row--compact .alx3d-finisher-stat-input-wrap,
  .alx3d-finisher-stat-row--compact .alx3d-finisher-stat-placement {
    grid-column: 1;
  }

  .alx3d-finisher-stat-row--compact .alx3d-finisher-stat-input-wrap {
    grid-row: 2;
    max-width: 240px;
  }

  .alx3d-finisher-stat-row--compact .alx3d-finisher-stat-placement {
    grid-row: 3;
    margin-top: 7px;
  }

  .alx3d-finisher-validation-dialog {
    padding: 15px;
  }
}
