.customizer-section { padding: 48px 0 72px; }
.customizer-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.customizer-heading h1 { font-size: clamp(40px, 4.2vw, 62px); line-height: 1.04; text-transform: uppercase; margin: 0 0 14px; }
.customizer-heading p { margin: 0; max-width: 53ch; color: var(--muted, #595950); }
.customizer-heading .customizer-heading__note { font-size: 14px; text-align: right; line-height: 1.6; }
.customizer-heading__note strong { color: var(--ink); font-weight: 400; }
.customizer-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.customizer-preview-panel { position: sticky; top: 24px; background: #e9e3d9; min-width: 0; }
.customizer-preview-top, .customizer-preview-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; font-size: 13px; }
.customizer-preview-top > span { font-weight: 700; }
.customizer-preview-bottom { border-top: 1px solid #d2ccbf; }
.customizer-preview-bottom small { color: #5f5b54; font-size: 12px; }
.customizer-live-preview { max-width: 460px; margin: -16px auto -28px; }
.customizer-view-tabs { display: flex; }
.customizer-view-tabs .customizer-option { min-height: 36px; padding: 6px 12px; border-color: #b9b4a8; font-size: 12px; }
.customizer-controls { min-width: 0; }
.customizer-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 30px; padding: 0; list-style: none; }
.customizer-progress button { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; border-bottom: 2px solid #c9c4b8; padding: 12px 4px 14px; background: transparent; color: #595950; text-align: left; cursor: pointer; }
.customizer-progress button span { display: grid; place-items: center; font-size: 12px; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; flex-shrink: 0; }
.customizer-progress button strong { font-size: 12px; line-height: 1.2; font-weight: 400; }
.customizer-progress button[aria-current] { border-bottom-color: var(--ink); color: var(--ink); }
.customizer-progress button[aria-current] strong { font-weight: 700; }
.customizer-progress button[aria-current] span { background: var(--ink); color: var(--cream); }
.customizer-progress button:disabled { cursor: default; color: #69665e; }
.customizer-step-title { margin-bottom: 24px; }
.customizer-step-title > span { font-size: 12px; color: #595950; }
.customizer-step-title h2 { margin: 5px 0 0; font-size: 32px; }
.customizer-field { padding: 0; margin: 0 0 26px; border: 0; min-width: 0; }
.customizer-field legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.customizer-field legend span { font-weight: 400; margin-left: 12px; color: #595950; }
.customizer-choice-row { display: flex; gap: 10px; }
.customizer-choice-row > .customizer-option { flex: 1; }
.customizer-option { border: 1px solid #b8b3a8; color: var(--ink); background: transparent; border-radius: 0; padding: 12px 16px; min-height: 46px; font: inherit; cursor: pointer; transition: background-color 160ms ease-out, border-color 160ms ease-out; }
.customizer-option:hover:not(:disabled) { background: #e1ddcf; border-color: var(--ink); }
.customizer-option.is-selected { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.customizer-option.is-selected:hover { background: #34352e; }
.customizer-option:disabled { cursor: not-allowed; }
.customizer-fabrics { display: grid; gap: 0; border-top: 1px solid #b8b3a8; }
.customizer-fabrics .customizer-option { display: flex; justify-content: space-between; text-align: left; align-items: center; gap: 20px; border: 0; border-bottom: 1px solid #b8b3a8; padding: 17px 16px; }
.customizer-fabrics .customizer-option strong, .customizer-style-options .customizer-option strong { display: block; font-size: 17px; font-weight: 700; }
.customizer-fabrics .customizer-option small, .customizer-style-options .customizer-option small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; }
.customizer-fabrics b { font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.customizer-help { margin: 10px 0 24px; color: #595950; font-size: 13px; line-height: 1.5; }
.customizer-notice { padding: 12px 16px; margin: 0 0 20px; background: #e0e3d7; font-size: 14px; line-height: 1.45; }
.customizer-swatches { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 9px; }
.customizer-swatches .customizer-option { padding: 7px; aspect-ratio: 1; min-height: 44px; display: grid; place-items: center; border-color: transparent; }
.customizer-swatches .customizer-option > span:first-child { display: block; width: 100%; height: 100%; min-height: 28px; border-radius: 50%; background: var(--swatch); border: 1px solid #9a968e; }
.customizer-swatches .customizer-option.is-selected { background: transparent; border-color: var(--ink); }
.customizer-swatches .customizer-option:disabled > span:first-child { opacity: .35; }
.customizer-sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.customizer-sizes .customizer-option { min-width: 52px; }
.customizer-sizes .customizer-option:disabled { color: #6b685f; text-decoration: line-through; background: #e5dfd4; border-style: dashed; }
.customizer-measures { border-top: 1px solid #c9c4b8; border-bottom: 1px solid #c9c4b8; font-size: 14px; padding: 16px 0; margin: 8px 0 32px; }
.customizer-measures summary { cursor: pointer; }
.customizer-measures p { color: #595950; line-height: 1.5; margin: 14px 0 2px; }
.customizer-style-options { display: grid; gap: 12px; }
.customizer-style-options .customizer-option { display: flex; text-align: left; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 18px; }
.customizer-radio { width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; flex-shrink: 0; }
.is-selected .customizer-radio { background: var(--cream); box-shadow: inset 0 0 0 4px var(--ink); }
.customizer-art-heading, .customizer-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.customizer-art-heading h3 { font-size: 21px; margin: 0; }
.customizer-art-heading > span { font-size: 12px; color: #595950; }
.customizer-art-heading { margin-bottom: 18px; }
.customizer-art-empty { padding: 24px; margin: 0 0 26px; border: 1px solid #b8b3a8; background: #e9e3d9; }
.customizer-art-empty h3 { margin: 0 0 12px; font-size: 25px; }
.customizer-art-empty p { margin: 0 0 20px; color: #595950; font-size: 14px; line-height: 1.5; }
.customizer-art-empty .button { min-height: 46px; white-space: normal; font-size: 14px; }
.customizer-search { display: block; font-size: 13px; margin-bottom: 18px; }
.customizer-search input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; background: transparent; border: 1px solid #b8b3a8; border-radius: 0; font: inherit; font-size: 16px; }
.customizer-carousel { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 12px; margin: -4px -4px 0; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #7e876d #e9e3d9; }
.customizer-art { flex: 0 0 calc(33.333% - 8px); min-width: 126px; max-width: 180px; padding: 0 0 8px; text-align: left; background: transparent; color: var(--ink); border: 0; border-bottom: 2px solid transparent; cursor: pointer; scroll-snap-align: start; font: inherit; }
.customizer-art.is-selected { border-bottom-color: var(--ink); }
.customizer-art__image { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; background: #e2dbd0; border: 1px solid transparent; padding: 8px; }
.customizer-art.is-selected .customizer-art__image { border-color: var(--ink); background: #d6d8c9; }
.customizer-art .customizer-art__image[data-surface="dark"] { background: #292b28; }
.customizer-art .customizer-art__image[data-surface="light"] { background: #f4eee5; }
.customizer-art__image img { width: 100%; height: 100%; object-fit: contain; }
.customizer-art strong, .customizer-art small { display: block; font-size: 12px; margin-top: 8px; }
.customizer-art small { margin-top: 3px; color: #595950; font-size: 11px; }
.customizer-art:disabled { opacity: .65; cursor: not-allowed; }
.customizer-carousel-controls { margin: 2px 0 24px; }
.customizer-carousel-controls > span { font-size: 12px; }
.customizer-carousel-controls > div { display: flex; }
.customizer-carousel-controls [data-action="previous-art"] svg { transform: rotate(180deg); }
.customizer-logo-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.customizer-logo-colors .customizer-option { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.customizer-logo-colors i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #999; }
.customizer-logo-note { font-size: 14px; margin: 20px 0 24px; }
.customizer-discreet { padding: 0 0 18px; margin-bottom: 22px; border-bottom: 1px solid #c9c4b8; }
.customizer-discreet h3 { font-size: 25px; margin: 0 0 12px; }
.customizer-discreet p { font-size: 15px; line-height: 1.5; max-width: 40ch; }
.customizer-order-summary { border-top: 1px solid #c9c4b8; padding-top: 22px; margin-top: 28px; }
.customizer-order-summary h3 { margin: 0 0 18px; font-size: 24px; }
.customizer-order-summary dl, .customizer-success-summary { margin: 0; font-size: 13px; line-height: 1.4; }
.customizer-order-summary dl > div, .customizer-success-summary > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; margin-bottom: 12px; }
.customizer-order-summary dt, .customizer-success-summary dt { color: #595950; }
.customizer-order-summary dd, .customizer-success-summary dd { margin: 0; }
.customizer-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #c9c4b8; margin-top: 28px; padding-top: 22px; }
.customizer-price { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.customizer-price small { font-size: 12px; }
.customizer-price strong { font-size: 28px; line-height: 1.35; }
.customizer-price > span { font-size: 11px; color: #595950; }
.customizer-action-buttons { display: flex; gap: 20px; align-items: center; }
.customizer-action-buttons .text-link { background: transparent; border: 0; cursor: pointer; font: inherit; font-size: 14px; padding: 12px 0; }
.customizer-action-buttons .button { gap: 12px; font-size: 14px; padding: 14px 18px; }
.customizer-success { padding: 32px 0; }
.customizer-success h2 { text-transform: uppercase; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.1; margin: 0 0 20px; }
.customizer-success > p { margin-bottom: 30px; }
.customizer-success-actions { display: grid; gap: 12px; margin-top: 32px; }
.customizer-success-actions .text-link { border: 0; cursor: pointer; background: transparent; font: inherit; padding: 16px 0; justify-self: start; }
.customizer-page-error { padding: 18px; border: 1px solid #8b2b24; color: #712019; margin-top: 24px; }
.customizer-section :focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.customizer-empty { padding: 32px 0 64px; }
.customizer-empty h2 { font-size: 32px; }
@media (max-width: 1150px) {
 .customizer-workspace { gap: 30px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
 .customizer-heading .customizer-heading__note { display: none; }
 .customizer-progress button { flex-direction: column; align-items: start; gap: 6px; }
 .customizer-actions { align-items: start; }
 .customizer-action-buttons { gap: 12px; flex-direction: column-reverse; align-items: end; }
 .customizer-swatches { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
}
@media (max-width: 800px) {
 .customizer-section { padding: 28px 0 52px; }
 .customizer-heading { margin-bottom: 24px; }
 .customizer-heading h1 { font-size: 40px; }
 .customizer-heading p { font-size: 14px; max-width: 36ch; }
 .customizer-workspace { display: block; }
 .customizer-preview-panel { position: relative; top: auto; margin-bottom: 24px; }
 .customizer-preview-top { padding: 12px 14px; }
 .customizer-live-preview { max-width: 220px; margin: -24px auto -32px; }
 .customizer-preview-bottom { padding: 11px 14px; }
 .customizer-preview-bottom small { font-size: 10px; }
 .customizer-progress { margin-bottom: 24px; }
 .customizer-progress button { flex-direction: row; align-items: center; gap: 6px; padding: 10px 2px 13px; min-height: 52px; }
 .customizer-progress button strong { font-size: 11px; }
 .customizer-step-title h2 { font-size: 29px; }
 .customizer-actions { position: sticky; bottom: 0; z-index: 3; background: var(--cream); padding: 14px 0 max(14px, env(safe-area-inset-bottom)); align-items: center; gap: 12px; }
 .customizer-action-buttons { flex-direction: row; gap: 12px; align-items: center; }
 .customizer-action-buttons .button { font-size: 13px; padding: 13px 14px; }
 .customizer-action-buttons .button svg { display: none; }
 .customizer-price strong { font-size: 25px; }
 .customizer-price > span { font-size: 10px; }
 .customizer-swatches { grid-template-columns: repeat(7, minmax(0, 1fr)); }
 .customizer-swatches .customizer-option { min-height: 44px; }
 .customizer-fabrics .customizer-option { padding: 17px 12px; }
 .customizer-fabrics .customizer-option strong { font-size: 16px; }
 .customizer-fabrics .customizer-option small { font-size: 12px; }
 .customizer-order-summary dl > div { grid-template-columns: 100px 1fr; }
 .customizer-section button { touch-action: manipulation; }
 .customizer-live-preview .personalization-preview__art span { font-size: 10px; }
}
@media (max-width: 390px) {
 .customizer-swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
 .customizer-action-buttons { gap: 8px; }
 .customizer-action-buttons .text-link { font-size: 12px; }
 .customizer-choice-row { gap: 8px; }
 .customizer-choice-row .customizer-option { padding: 11px 9px; font-size: 14px; }
 .customizer-progress button strong { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
 .customizer-section *, .customizer-section *::before, .customizer-section *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.customizer-preview-price { display: block; font-size: 16px; font-variant-numeric: tabular-nums; margin-top: 4px; }
@media (max-width: 800px) {
 .customizer-preview-panel { position: sticky; top: 0; z-index: 4; }
 .customizer-preview-top { padding: 9px 14px; }
 .customizer-preview-top > span { font-size: 11px; }
 .customizer-preview-price { font-size: 14px; }
 .customizer-live-preview { max-width: 144px; margin: -16px auto -22px; }
 .customizer-preview-bottom { padding: 7px 14px; font-size: 11px; }
 .customizer-step-title h2 { scroll-margin-top: 270px; }
 .customizer-controls :is(button, input, select, textarea, summary, a[href], [tabindex]) { scroll-margin-block: 270px 110px; }
 .customizer-success { scroll-margin-top: 265px; }
 body:has([data-customizer]) .preview-notice { position: static; width: auto; max-width: none; margin: 12px 20px; }
}

/* Art discovery stays bounded and can be searched without changing the selection. */
.customizer-art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; overflow: visible; scroll-snap-type: none; }
.customizer-art-grid .customizer-art { min-width: 0; max-width: none; width: 100%; }
.customizer-art-grid .customizer-art strong { line-height: 1.35; font-size: 13px; }
.customizer-art-grid .customizer-art__image { aspect-ratio: 4 / 5; }
.customizer-art-grid .customizer-help { grid-column: 1 / -1; }
.customizer-art-result { font-size: 13px; color: var(--muted); margin: 14px 0; }
.customizer-art-pagination { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.customizer-art-pagination button { border: 0; border-bottom: 1px solid currentColor; padding: 12px 0; min-height: 44px; background: transparent; font: inherit; cursor: pointer; }
.customizer-art-pagination button:disabled { opacity: .4; cursor: default; }
@media (max-width: 560px) { .customizer-art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
