.theo-order { min-height: 100vh; background: var(--color-white); }
.theo-order-page .floating-contact { display: none; }
.theo-order-hero { padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-8); border-bottom: 1px solid var(--color-line); background: var(--color-warm); }
.theo-order-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: var(--space-8); align-items: end; }
.theo-order-hero h1 { max-width: 16ch; margin: var(--space-2) 0 0; font-size: var(--type-h1); line-height: 1.18; letter-spacing: -.04em; }
.theo-order-hero__inner > p { max-width: 58ch; margin: 0; color: var(--color-neutral); font-size: 17px; line-height: 1.8; }
.theo-order-layout { padding-top: var(--space-6); padding-bottom: var(--space-12); }
.theo-member-preset-note { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 22px; padding: 18px 22px; border-left: 3px solid var(--color-success); background: var(--color-success-bg); }
.theo-member-preset-note span,
.theo-member-preset-note strong { display: block; }
.theo-member-preset-note span { margin-bottom: 4px; color: var(--color-success); font-size: 14px; font-weight: 600; letter-spacing: .14em; }
.theo-member-preset-note strong { font-size: 16px; }
.theo-member-preset-note p { margin: 0; color: var(--color-neutral); font-size: 14px; line-height: 1.65; }
.theo-order-status { display: grid; grid-template-columns: repeat(2, minmax(160px, 220px)) 1fr; gap: var(--space-4); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-line); }
.theo-order-status div { display: grid; gap: 3px; }
.theo-order-status span { color: var(--color-neutral); font-size: var(--type-caption); }
.theo-order-status strong { font-size: var(--type-ui); }
.theo-order-status .text-link { justify-self: end; }
.theo-order-warning { margin-top: var(--space-4); }
.theo-order-warning > strong,
.theo-order-warning > span { min-width: 0; grid-column: 2; }
.theo-order-steps { margin: var(--space-6) 0 var(--space-7); }
.theo-order-steps ol { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.theo-order-steps li { min-width: 0; }
.theo-order-steps button { position: relative; display: grid; width: 100%; min-height: 112px; padding: var(--space-3); border: solid var(--color-line); border-width: 1px 1px 1px 0; color: var(--color-neutral); background: var(--color-white); cursor: pointer; text-align: left; transition: color var(--motion), border-color var(--motion), background var(--motion); }
.theo-order-steps li:first-child button { border-left-width: 1px; }
.theo-order-steps button:hover { color: var(--color-ink); background: var(--color-warm); }
.theo-order-steps button[aria-disabled="true"] { color: #6b6b6b; background: #f6f6f6; cursor: not-allowed; }
.theo-order-steps button[aria-disabled="true"]:hover { color: #6b6b6b; background: #f6f6f6; }
.theo-order-steps button[aria-disabled="true"]::after { position: absolute; top: 12px; right: 12px; content: "잠김"; color: #77736b; font-size: 14px; font-weight: 600; letter-spacing: .06em; }
html[lang^="en"] .theo-order-steps button[aria-disabled="true"]::after { content: "Locked"; }
.theo-order-steps button[aria-current="step"] { z-index: 1; border-color: var(--color-deep); color: var(--color-white); background: var(--color-deep); }
.theo-order-steps button.is-complete::after { position: absolute; top: 14px; right: 14px; content: "✓"; color: var(--color-success); font-weight: 600; }
.theo-order-steps button[aria-current="step"]::after { color: var(--color-white); }
.theo-order-steps button > span { color: inherit; font-size: 14px; font-weight: 600; letter-spacing: .1em; opacity: .75; }
.theo-order-steps button strong { align-self: end; font-size: 17px; }
.theo-order-steps button small { margin-top: 3px; color: inherit; font-size: 14px; opacity: .72; }
.theo-order-panel { outline: none; }
.theo-order-panel__heading { display: grid; max-width: 920px; margin-bottom: var(--space-5); grid-template-columns: 1fr; gap: 6px; }
.theo-order-panel__heading h2 { margin: 0; font-size: var(--type-h2); }
.theo-order-panel__heading > span { color: var(--color-neutral); line-height: 1.7; }
.theo-upload-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: var(--space-3); }
.theo-upload-primary { display: flex; min-width: 0; flex-direction: column; }
.theo-upload-primary > .theo-dropzone { flex: 1; }
.theo-dropzone { display: grid; min-height: 340px; padding: var(--space-6); border: 1px dashed #9c988e; place-items: center; align-content: center; background: var(--color-warm); text-align: center; transition: border-color var(--motion), background var(--motion), box-shadow var(--motion); }
.theo-dropzone.is-dragover { border-color: var(--color-deep); background: #f6f6f6; box-shadow: inset 0 0 0 2px var(--color-deep); }
.theo-dropzone__icon { display: grid; width: 64px; height: 64px; margin-bottom: var(--space-3); border: 1px solid var(--color-deep); border-radius: 50%; place-items: center; color: var(--color-deep); font-size: 28px; }
.theo-dropzone > strong { font-size: var(--type-h3); }
.theo-dropzone > p { margin: 8px 0 var(--space-3); color: var(--color-neutral); }
.theo-dropzone input.screen-reader-text { position: absolute !important; overflow: hidden !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.theo-dropzone .button { min-width: 152px; cursor: pointer; }
.theo-upload-rules { padding: var(--space-4); border: 1px solid var(--color-line); background: var(--color-white); }
.theo-upload-rules h3 { margin: 0 0 var(--space-3); font-size: var(--type-h3); }
.theo-upload-rules ul { display: grid; margin: 0; padding: 0; list-style: none; }
.theo-upload-rules li { display: grid; padding: 12px 0; border-top: 1px solid var(--color-line); grid-template-columns: 76px 1fr; gap: 12px; }
.theo-upload-rules li strong { font-size: var(--type-small); }
.theo-upload-rules li span { color: var(--color-neutral); font-size: var(--type-small); }
.theo-upload-rules > p { margin: var(--space-3) 0 0; color: var(--color-neutral); font-size: var(--type-small); line-height: 1.7; }
.theo-upload-error { margin-top: var(--space-3); }
.theo-upload-error[hidden],
.theo-upload-queue[hidden],
.theo-upload-empty[hidden],
.theo-upload-total[hidden] { display: none; }
.theo-upload-error > strong,
.theo-upload-error > p { min-width: 0; grid-column: 2; }
.theo-upload-queue { margin-top: var(--space-7); }
.theo-upload-queue > header { display: flex; margin-bottom: var(--space-3); align-items: end; justify-content: space-between; gap: var(--space-4); }
.theo-upload-queue > header p { margin: 0 0 3px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-upload-queue > header h3 { margin: 0; font-size: var(--type-h3); }
.theo-upload-count { margin-left: 8px; color: var(--color-neutral); font-size: var(--type-small); font-weight: 500; vertical-align: middle; }
.theo-upload-total { width: min(340px, 48%); }
.theo-upload-total > span { display: block; margin-bottom: 7px; color: var(--color-neutral); font-size: var(--type-small); text-align: right; }
.theo-upload-total > div { overflow: hidden; height: 6px; background: var(--color-surface); }
.theo-upload-total i { display: block; width: 0; height: 100%; background: var(--color-deep); transition: width var(--motion); }
.theo-upload-empty { display: grid; min-height: 160px; padding: var(--space-4); border: 1px solid var(--color-line); place-items: center; align-content: center; background: var(--color-warm); text-align: center; }
.theo-upload-empty p { margin: 6px 0 0; color: var(--color-neutral); }
.theo-upload-list { display: grid; margin: 0; padding: 0; gap: 12px; list-style: none; }
.theo-upload-card { display: grid; min-width: 0; padding: 16px; border: 1px solid var(--color-line); grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--color-white); }
.theo-upload-card__preview { display: grid; overflow: hidden; width: 96px; height: 80px; border: 1px solid var(--color-line); place-items: center; background: var(--color-warm); color: var(--color-neutral); font-size: 14px; font-weight: 600; }
.theo-upload-card__preview img { width: 100%; height: 100%; object-fit: cover; }
.theo-upload-card__body { min-width: 0; }
.theo-upload-card__title { display: flex; align-items: center; gap: 8px; }
.theo-upload-card__title strong { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.theo-upload-card__meta { display: flex; flex-wrap: wrap; margin-top: 5px; gap: 4px 12px; color: var(--color-neutral); font-size: var(--type-caption); }
.theo-upload-card__message { margin: 9px 0 0; font-size: var(--type-small); }
.theo-upload-card__message.is-error { color: var(--color-danger-text, #9a2424); }
.theo-upload-card__message.is-warning { color: var(--color-caution); }
.theo-upload-card__progress { overflow: hidden; height: 4px; margin-top: 12px; background: var(--color-surface); }
.theo-upload-card__progress i { display: block; width: var(--file-progress, 0%); height: 100%; background: var(--color-deep); transition: width var(--motion); }
.theo-upload-card__actions { display: flex; flex-direction: column; gap: 8px; }
.theo-upload-card__actions button { min-width: 76px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--color-line); background: var(--color-white); cursor: pointer; }
.theo-upload-card__actions button:hover { border-color: var(--color-ink); }
.theo-size-limit-note { margin-bottom: var(--space-5); }
.theo-size-limit-note > strong,
.theo-size-limit-note > span { min-width: 0; grid-column: 2; }
.theo-size-limit-note > span { color: var(--color-neutral); font-size: var(--type-small); line-height: 1.7; }
.theo-size-files > header,
.theo-size-manual > header { margin-bottom: var(--space-2); }
.theo-size-files > header p,
.theo-size-editor__header p,
.theo-size-quality > header p,
.theo-size-manual > header p { margin: 0 0 3px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-size-files h3,
.theo-size-editor__header h3,
.theo-size-quality h3,
.theo-size-manual h3 { margin: 0; font-size: var(--type-h3); }
.theo-size-file-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.theo-size-file button { display: grid; width: 100%; min-height: 76px; padding: 14px; border: 1px solid var(--color-line); gap: 5px; background: var(--color-white); cursor: pointer; text-align: left; }
.theo-size-file button:hover { border-color: var(--color-ink); }
.theo-size-file button.is-active { border-color: var(--color-deep); color: var(--color-white); background: var(--color-deep); }
.theo-size-file button.is-manual { cursor: default; opacity: 1; background: var(--color-warm); }
.theo-size-file button strong { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.theo-size-file button span { color: inherit; font-size: var(--type-caption); opacity: .78; }
.theo-size-empty { display: grid; min-height: 260px; margin-top: var(--space-3); padding: var(--space-5); border: 1px dashed #a3a3a3; place-items: center; align-content: center; background: var(--color-warm); text-align: center; }
.theo-size-empty p { max-width: 58ch; margin: 8px 0 var(--space-3); color: var(--color-neutral); }
.theo-size-empty[hidden],
.theo-size-workspace[hidden],
.theo-size-manual[hidden],
.theo-size-quality__actions[hidden],
.theo-size-error[hidden] { display: none; }
.theo-size-workspace { display: grid; margin-top: var(--space-4); grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: var(--space-3); align-items: start; }
.theo-size-editor,
.theo-size-quality { padding: var(--space-4); border: 1px solid var(--color-line); background: var(--color-white); }
.theo-size-editor__header { display: flex; align-items: start; justify-content: space-between; gap: var(--space-3); }
.theo-size-editor__header h3 { overflow: hidden; max-width: 42ch; text-overflow: ellipsis; white-space: nowrap; }
.theo-size-original { display: grid; margin: var(--space-4) 0; border: solid var(--color-line); border-width: 1px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theo-size-original > div { display: grid; min-width: 0; padding: 16px 14px; border-left: 1px solid var(--color-line); gap: 5px; }
.theo-size-original > div:first-child { border-left: 0; }
.theo-size-original span { color: var(--color-neutral); font-size: var(--type-caption); }
.theo-size-original strong { font-size: var(--type-ui); }
.theo-size-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); align-items: end; }
.theo-size-unit { max-width: 180px; }
.theo-size-lock { min-height: var(--control-height); align-self: end; }
.theo-size-input { position: relative; display: block; }
.theo-size-input input { width: 100%; padding-right: 66px; }
.theo-size-input b { position: absolute; top: 50%; right: 18px; color: var(--color-neutral); font-size: var(--type-small); transform: translateY(-50%); pointer-events: none; }
.theo-size-swap { width: 100%; }
.theo-size-editor .field-help { margin-bottom: 0; line-height: 1.7; }
.theo-size-error { margin-top: var(--space-3); }
.theo-size-error > strong,
.theo-size-error > p { min-width: 0; grid-column: 2; }
.theo-size-quality { position: sticky; top: calc(var(--sticky-header-height, var(--header-height)) + 16px); }
.theo-size-dpi { display: flex; margin-top: var(--space-4); align-items: end; gap: 8px; }
.theo-size-dpi strong { font-size: clamp(64px, 6vw, 92px); line-height: .88; letter-spacing: -.06em; }
.theo-size-dpi span { padding-bottom: 7px; color: var(--color-neutral); font-size: var(--type-small); font-weight: 600; }
.theo-quality-badge { display: inline-flex; min-height: 32px; margin-top: var(--space-3); padding: 6px 10px; border: 1px solid currentColor; align-items: center; font-size: var(--type-caption); font-weight: 600; }
.theo-quality-badge.is-green { color: var(--color-success); background: var(--color-success-bg); }
.theo-quality-badge.is-yellow { color: var(--color-warning-text, #775600); background: var(--color-warning-bg); }
.theo-quality-badge.is-orange { color: var(--color-caution); background: var(--color-caution-bg); }
.theo-quality-badge.is-red { color: var(--color-danger-text, #9a2424); background: var(--color-danger-bg); }
.theo-quality-badge.is-pending { color: var(--color-neutral); background: var(--color-warm); }
.theo-size-quality__message { margin: var(--space-2) 0 0; font-size: 17px; font-weight: 600; line-height: 1.6; }
.theo-size-axis { margin: 6px 0 0; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.6; }
.theo-size-quality__actions { display: grid; margin-top: var(--space-3); grid-template-columns: 1fr 1fr; gap: 8px; }
.theo-size-quality__actions .button { width: 100%; padding-right: 12px; padding-left: 12px; }
.theo-size-scale { display: grid; margin: var(--space-5) 0 0; padding: 0; border-top: 1px solid var(--color-line); list-style: none; }
.theo-size-scale li { position: relative; display: grid; padding: 11px 0 11px 16px; border-bottom: 1px solid var(--color-line); grid-template-columns: 86px minmax(0, 1fr); gap: 8px; font-size: var(--type-caption); }
.theo-size-scale li::before { position: absolute; top: 16px; left: 0; width: 7px; height: 7px; border-radius: 50%; content: ""; background: currentColor; }
.theo-size-scale li.is-green { color: var(--color-success); }
.theo-size-scale li.is-yellow { color: var(--color-warning-text, #775600); }
.theo-size-scale li.is-orange { color: var(--color-caution); }
.theo-size-scale li.is-red { color: var(--color-danger-text, #9a2424); }
.theo-size-scale li span { color: var(--color-neutral); }
.theo-size-manual { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--color-line); }
.theo-size-manual ul { display: grid; margin: 0; padding: 0; gap: 8px; list-style: none; }
.theo-size-manual li { display: flex; min-width: 0; padding: 14px; border: 1px solid var(--color-line); justify-content: space-between; gap: var(--space-3); background: var(--color-warm); }
.theo-size-manual li strong { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.theo-size-manual li span,
.theo-size-manual > p { color: var(--color-neutral); font-size: var(--type-small); }
.theo-size-manual > p { margin-bottom: 0; }
.theo-option-builder { margin-top: var(--space-10); padding-top: var(--space-8); border-top: 1px solid var(--color-line); }
.theo-option-builder__heading { display: grid; margin-bottom: var(--space-4); grid-template-columns: 140px minmax(0, 1fr); gap: 5px var(--space-5); }
.theo-option-builder__heading > p { grid-row: 1 / span 2; margin: 7px 0 0; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-option-builder__heading h3 { margin: 0; font-size: var(--type-h2); }
.theo-option-builder__heading > span { color: var(--color-neutral); }
.theo-option-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-4); align-items: start; }
.theo-option-accordion { border-top: 1px solid var(--color-ink); }
.theo-option-accordion details { border-bottom: 1px solid var(--color-line); }
.theo-option-accordion details[hidden] { display: none; }
.theo-option-accordion summary { display: grid; min-height: 68px; padding: 14px 4px; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; cursor: pointer; list-style: none; }
.theo-option-accordion summary::-webkit-details-marker { display: none; }
.theo-option-accordion summary > span { color: var(--color-neutral); font-size: 14px; font-weight: 600; }
.theo-option-accordion summary > strong { font-size: 17px; }
.theo-option-accordion summary > em { color: var(--color-neutral); font-size: var(--type-small); font-style: normal; text-align: right; }
.theo-option-accordion summary::after { content: "+"; grid-column: 4; color: var(--color-neutral); font-size: 20px; }
.theo-option-accordion details[open] summary::after { content: "−"; }
.theo-option-panel { display: grid; padding: 0 4px var(--space-4) 52px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.theo-option-filter,
.theo-option-values,
.theo-option-subgrid,
.theo-option-panel > .field-help,
.theo-option-panel > .theo-check { grid-column: 1 / -1; }
.theo-paper-picker { gap: 14px; }
.theo-paper-picker__group { display: grid; min-width: 0; grid-column: 1 / -1; gap: 10px; }
.theo-paper-picker__group--list { padding-top: 14px; border-top: 1px solid var(--color-line); }
.theo-paper-picker__heading { display: flex; min-height: 24px; align-items: center; justify-content: space-between; gap: 12px; }
.theo-paper-picker__heading strong { font-size: 14px; }
.theo-paper-picker__heading span { color: var(--color-neutral); font-size: 14px; text-align: right; }
.theo-option-filter { display: grid; overflow: visible; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.theo-filter-chip { display: flex; min-width: 0; min-height: 50px; padding: 9px 11px; border: 1px solid var(--color-line); border-radius: 0; align-items: center; justify-content: space-between; gap: 8px; color: var(--color-neutral); background: var(--color-white); font: inherit; text-align: left; cursor: pointer; }
.theo-filter-chip--all { grid-column: 1 / -1; }
.theo-filter-chip strong { min-width: 0; font-size: 14px; line-height: 1.35; }
.theo-filter-chip small { flex: none; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: .72; }
.theo-filter-chip:hover { border-color: var(--color-ink); color: var(--color-ink); }
.theo-filter-chip[aria-pressed="true"] { border-color: var(--color-deep); color: var(--color-white); background: var(--color-deep); }
.theo-paper-picker__guide { min-height: 54px; margin: 0; padding: 10px 12px; color: var(--color-neutral); background: var(--color-warm); font-size: 14px; line-height: 1.55; }
.theo-option-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.theo-option-values--papers { overflow: visible; max-height: none; padding-right: 0; align-content: start; }
.theo-option-subgrid { display: grid; padding: 12px; border: 1px solid var(--color-line); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: var(--color-warm); }
.theo-option-panel > .field-help { margin: 2px 0 0; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.6; }
.theo-option-panel .field { display: grid; min-width: 0; gap: 7px; color: var(--color-ink); font-size: var(--type-small); font-weight: 600; }
.theo-option-panel .field input,
.theo-option-panel .field select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a3a3a3; border-radius: 0; outline: 0; color: var(--color-ink); background: var(--color-white); font: inherit; font-weight: 500; }
.theo-option-panel .field input:focus,
.theo-option-panel .field select:focus { border-color: var(--color-focus); box-shadow: 0 0 0 3px rgba(17, 17, 17, .18); }
.theo-option-panel .field input[readonly],
.theo-option-panel .field select:disabled { color: var(--color-neutral); background: #f6f6f6; }
.theo-option-panel .field small { color: var(--color-neutral); font-size: 14px; font-weight: 500; line-height: 1.55; }
.theo-production-instructions { grid-column: 1 / -1; align-items: start; }
.theo-coa-fields { display: grid; min-width: 0; grid-column: 1 / -1; gap: 14px; }
.theo-coa-fields[hidden] { display: none; }
.theo-coa-fields > .field-help { margin: 0; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.65; }
.theo-coa-grid { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.theo-coa-grid--edition { padding: 14px; border: 1px solid var(--color-line); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; align-items: start; background: var(--color-warm); }
.theo-coa-grid--edition > .field { align-content: start; }
.theo-coa-grid--edition > .field:first-child,
.theo-coa-grid--edition > .field:last-child { grid-column: 1 / -1; }
.theo-option-panel .theo-coa-grid--edition input { box-sizing: border-box; height: 48px; min-height: 48px; }
.theo-coa-grid--edition > .field > span { line-height: 1.5; }
.theo-choice-card,
.theo-option-value { position: relative; display: block; min-width: 0; cursor: pointer; }
.theo-choice-card input,
.theo-option-value input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.theo-choice-card > span,
.theo-option-value > span { display: grid; min-height: 102px; padding: 16px; border: 1px solid var(--color-line); align-content: center; gap: 6px; background: var(--color-white); transition: border-color var(--motion), color var(--motion), background var(--motion); }
.theo-choice-card:hover > span,
.theo-option-value:hover > span { border-color: var(--color-ink); }
.theo-choice-card input:focus-visible + span,
.theo-option-value input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--color-focus) 60%, transparent); outline-offset: 3px; }
.theo-choice-card input:checked + span,
.theo-option-value input:checked + span { border-color: var(--color-deep); color: var(--color-white); background: var(--color-deep); }
.theo-choice-card small,
.theo-option-value small { color: inherit; font-size: var(--type-caption); line-height: 1.5; opacity: .75; }
.theo-option-value__body.has-visual {
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 13px;
}
.theo-option-value__body.has-visual > strong,
.theo-option-value__body.has-visual > small,
.theo-option-value__body.has-visual > em { grid-column: 2; }
.theo-option-swatch {
  position: relative;
  overflow: hidden;
  width: 58px;
  min-height: 72px;
  border: 1px solid color-mix(in srgb, var(--color-line) 82%, var(--color-ink));
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: stretch;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .6), transparent 48%),
    hsl(calc(34 + var(--theo-swatch-seed)) 16% 84%);
}
.theo-option-swatch::after {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(22deg, transparent 0 4px, rgba(29, 35, 41, .08) 5px, transparent 6px 10px);
  content: '';
  opacity: .38;
}
.theo-option-swatch[data-swatch-category="ms"]::after,
.theo-option-swatch[data-swatch-category="pg"]::after { opacity: .13; }
.theo-option-swatch[data-swatch-category="mt"]::after,
.theo-option-swatch[data-swatch-category="cv"]::after { opacity: .56; }
.theo-option-swatch[data-swatch-type="frame"] {
  border: 8px solid #262626;
  background: #f4f1e9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.theo-option-swatch[data-swatch-type="diasec"] { background: linear-gradient(145deg, #f8fafb, #a8b7c0 60%, #e9eff2); }
.theo-option-swatch[data-swatch-type="frontMaterial"] { background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(164, 187, 199, .35)); }
.theo-option-swatch img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.theo-option-value.is-unavailable { cursor: not-allowed; }
.theo-option-value.is-unavailable > span {
  border-color: color-mix(in srgb, var(--color-line) 72%, transparent);
  color: color-mix(in srgb, var(--color-neutral) 72%, var(--color-white));
  background: color-mix(in srgb, var(--color-warm) 72%, var(--color-white));
}
.theo-option-value.is-unavailable:hover > span { border-color: var(--color-line); }
.theo-option-value.is-unavailable em {
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid color-mix(in srgb, var(--color-danger) 38%, var(--color-line));
  color: var(--color-danger-text, #9a2424);
  background: var(--color-white);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
}
.theo-quote-lines .is-discount,
.theo-studio-quote dl > div:nth-last-child(n+3) dd[data-studio-quote-quantity-discount],
.theo-studio-quote dd[data-studio-quote-discount] { color: var(--color-success); }
.theo-margin-head { grid-column: 1 / -1; }
.theo-margin-head { display: flex; margin-bottom: var(--space-2); justify-content: space-between; gap: var(--space-3); align-items: center; }
.theo-margin-head p { margin: 0; color: var(--color-neutral); font-size: var(--type-small); line-height: 1.7; }
.theo-margin-grid { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.theo-quantity-field { width: min(240px, 100%); grid-column: 1 / -1; }
.theo-option-current { position: sticky; top: calc(var(--sticky-header-height, var(--header-height)) + 16px); padding: var(--space-4); border: 1px solid var(--color-line); background: var(--color-warm); }
.theo-option-current > p:first-child { margin: 0 0 3px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-option-current h3 { overflow: hidden; margin: 0; font-size: var(--type-h3); text-overflow: ellipsis; white-space: nowrap; }
.theo-option-current dl { display: grid; margin: var(--space-4) 0 0; }
.theo-option-current dl > div { display: grid; padding: 12px 0; border-top: 1px solid var(--color-line); grid-template-columns: 86px minmax(0, 1fr); gap: 12px; }
.theo-option-current dt { color: var(--color-neutral); font-size: var(--type-caption); }
.theo-option-current dd { margin: 0; font-size: var(--type-small); font-weight: 600; line-height: 1.6; text-align: right; }
.theo-option-current__note { margin: var(--space-3) 0 0; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.7; }
.theo-option-error { margin-top: var(--space-3); }
.theo-option-error[hidden] { display: none; }
.theo-option-error > strong,
.theo-option-error > p { min-width: 0; grid-column: 2; }
.theo-quote-loading { display: grid; min-height: 320px; padding: var(--space-6); border: 1px solid var(--color-line); place-items: center; align-content: center; text-align: center; }
.theo-quote-loading[hidden],
.theo-quote-error[hidden],
.theo-quote[hidden],
.theo-quote-saving[hidden] { display: none; }
.theo-quote-loading p { margin: 7px 0 0; color: var(--color-neutral); }
.theo-spinner { width: 36px; height: 36px; margin-bottom: var(--space-3); border: 3px solid var(--color-line); border-top-color: var(--color-deep); border-radius: 50%; animation: theo-spin .8s linear infinite; }
@keyframes theo-spin { to { transform: rotate(360deg); } }
.theo-quote-error > strong,
.theo-quote-error > p,
.theo-quote-error > button { min-width: 0; grid-column: 2; }
.theo-quote-error > button { width: max-content; margin-top: 8px; }
.theo-quote__header { display: flex; margin-bottom: var(--space-3); align-items: end; justify-content: space-between; gap: var(--space-3); }
.theo-quote__header p,
.theo-quote-item header p { margin: 0 0 3px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-quote__header h3 { margin: 0; font-size: var(--type-h2); }
.theo-quote-sample { margin-bottom: var(--space-4); }
.theo-quote-sample > strong,
.theo-quote-sample > span { min-width: 0; grid-column: 2; }
.theo-quote-sample > span { color: var(--color-ink); font-size: var(--type-small); }
.theo-quote-items { display: grid; gap: 12px; }
.theo-quote-item { padding: var(--space-4); border: 1px solid var(--color-line); background: var(--color-white); }
.theo-quote-item > header { display: flex; padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-line); align-items: end; justify-content: space-between; gap: var(--space-3); }
.theo-quote-item h4 { margin: 0; font-size: var(--type-h3); }
.theo-quote-item header > span { color: var(--color-neutral); font-size: var(--type-small); text-align: right; }
.theo-quote-lines { display: grid; margin: var(--space-2) 0 0; }
.theo-quote-lines > div { display: flex; padding: 10px 0; border-bottom: 1px solid var(--color-line); justify-content: space-between; gap: var(--space-3); }
.theo-quote-lines dt { display: flex; align-items: center; gap: 7px; }
.theo-quote-lines dt small { padding: 2px 5px; border: 1px solid var(--color-warning); color: var(--color-warning-text, #775600); font-size: 14px; }
.theo-quote-lines dd { margin: 0; font-weight: 600; }
.theo-quote-item__total { display: flex; padding-top: var(--space-3); align-items: end; justify-content: space-between; gap: var(--space-3); }
.theo-quote-item__total span { color: var(--color-neutral); font-size: var(--type-caption); }
.theo-quote-item__total strong { font-size: var(--type-h3); }
.theo-quote-item--manual p { margin-bottom: 0; color: var(--color-neutral); }
.theo-quote-totals { display: grid; margin-top: var(--space-4); padding: var(--space-4); grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-5); background: var(--color-deep); color: var(--color-white); }
.theo-quote-totals dl { margin: 0; }
.theo-quote-totals dl > div { display: flex; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.18); justify-content: space-between; gap: var(--space-3); }
.theo-quote-totals dt { opacity: .72; }
.theo-quote-totals dd { margin: 0; font-weight: 600; }
.theo-quote-totals .is-total { margin-top: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--color-white); border-bottom: 0; }
.theo-quote-totals .is-total dt { font-weight: 600; opacity: 1; }
.theo-quote-totals .is-total dd { font-size: var(--type-h2); }
.theo-quote-saving { display: grid; padding: var(--space-3); border: 1px solid rgba(255,255,255,.3); align-content: center; }
.theo-quote-saving strong { font-size: var(--type-h2); }
.theo-quote-saving span { margin-top: 5px; font-size: var(--type-caption); line-height: 1.6; opacity: .75; }
.theo-quote-note { margin: var(--space-3) 0 0; color: var(--color-neutral); font-size: var(--type-small); line-height: 1.7; }
.theo-quote-tools { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--color-ink); }
.theo-quote-tools > header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 420px); gap: var(--space-4); align-items: end; }
.theo-quote-tools > header p { margin: 0 0 3px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-quote-tools > header h3 { margin: 0; font-size: var(--type-h3); }
.theo-quote-tools > header > span { color: var(--color-neutral); font-size: var(--type-small); line-height: 1.7; text-align: right; }
.theo-quote-tools__actions { display: grid; margin-top: var(--space-3); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.theo-quote-tools__actions .button { width: 100%; }
.theo-quote-reference { display: grid; margin-top: var(--space-3); border: 1px solid var(--color-line); grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--color-warm); }
.theo-quote-reference[hidden] { display: none; }
.theo-quote-reference > div { display: grid; min-width: 0; padding: 15px 16px; border-left: 1px solid var(--color-line); gap: 4px; }
.theo-quote-reference > div:first-child { border-left: 0; }
.theo-quote-reference span { color: var(--color-neutral); font-size: var(--type-caption); }
.theo-quote-reference strong { overflow-wrap: anywhere; font-size: var(--type-small); }
.theo-quote-tool-error { margin-top: var(--space-3); }
.theo-quote-tool-error[hidden],
.theo-consultation-error[hidden],
.theo-consultation-waiting[hidden] { display: none; }
.theo-quote-tool-error > strong,
.theo-quote-tool-error > p,
.theo-consultation-error > strong,
.theo-consultation-error > p { min-width: 0; grid-column: 2; }
.theo-consultation-modal { width: min(720px, calc(100vw - 32px)); }
.theo-postcode-tools { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.theo-postcode-tools span, .theo-postcode-search p { font-size:14px; line-height:1.6; }
.theo-postcode-search { min-width:0; padding:16px; border:1px solid #d8d5ce; background:#fff; }
.theo-postcode-search[hidden] { display:none; }
.theo-postcode-search header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.theo-postcode-search [data-postcode-embed] { width:100%; height:440px; min-width:0; overflow:hidden; }
.theo-postcode-search iframe { max-width:100%; }
.theo-consultation-waiting { margin-bottom: var(--space-4); }
.theo-consultation-waiting > strong,
.theo-consultation-waiting > span { min-width: 0; grid-column: 2; }
.theo-consultation-waiting > span { color: var(--color-ink); font-size: var(--type-small); line-height: 1.7; }
.theo-consultation-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.theo-consultation-fields input,
.theo-consultation-fields textarea { box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--color-line, #b9b6b0); border-radius: 0; background: #fff; color: var(--color-ink); font: inherit; }
.theo-consultation-fields .field { min-width: 0; display: grid; gap: 8px; align-content: start; }
.theo-consultation-memo { grid-column: 1 / -1; }
.theo-consultation-memo textarea { min-height: 132px; resize: vertical; }
.theo-consultation-consent { margin-top: var(--space-3); align-items: flex-start; }
.theo-consultation-consent em { color: var(--color-warning-text, #775600); font-size: var(--type-caption); font-style: normal; font-weight: 600; }
.theo-consultation-error { margin-top: var(--space-3); }
.theo-cart-sample { margin-bottom: var(--space-4); }
.theo-cart-sample > strong,
.theo-cart-sample > span { min-width: 0; grid-column: 2; }
.theo-cart-sample > span { color: var(--color-ink); font-size: var(--type-small); line-height: 1.7; }
.theo-cart-loading { display: grid; min-height: 300px; padding: var(--space-6); border: 1px solid var(--color-line); place-items: center; align-content: center; background: var(--color-warm); text-align: center; }
.theo-cart-loading p { margin: 7px 0 0; color: var(--color-neutral); }
.theo-cart-loading[hidden],
.theo-cart-empty[hidden],
.theo-cart-workspace[hidden],
.theo-cart-error[hidden],
.theo-cart-manual[hidden],
.theo-cart-benefit[hidden],
.theo-cart-sample[hidden] { display: none; }
.theo-cart-error { margin-bottom: var(--space-4); }
.theo-cart-error > strong,
.theo-cart-error > p,
.theo-cart-error > button { min-width: 0; grid-column: 2; }
.theo-cart-error > button { width: max-content; margin-top: 8px; }
.theo-cart-empty { display: grid; min-height: 360px; padding: var(--space-7); border: 1px dashed #a3a3a3; place-items: center; align-content: center; background: var(--color-warm); text-align: center; }
.theo-cart-empty__mark { display: grid; width: 64px; height: 64px; margin-bottom: var(--space-3); border: 1px solid var(--color-deep); border-radius: 50%; place-items: center; color: var(--color-deep); font-size: 28px; }
.theo-cart-empty h3 { margin: 0; font-size: var(--type-h3); }
.theo-cart-empty p { max-width: 58ch; margin: var(--space-2) 0 var(--space-4); color: var(--color-neutral); line-height: 1.7; }
.theo-cart-toolbar { display: flex; min-height: 60px; padding: 0 var(--space-3); border: solid var(--color-line); border-width: 1px 1px 0; align-items: center; justify-content: space-between; gap: var(--space-3); background: var(--color-warm); }
.theo-cart-select-all { min-height: 44px; }
.theo-cart-toolbar p { display: flex; margin: 0; align-items: center; gap: 12px; font-size: var(--type-small); }
.theo-cart-toolbar p span { color: var(--color-neutral); }
.theo-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-4); align-items: start; }
.theo-cart-items { min-width: 0; }
.theo-cart-list { display: grid; gap: 10px; }
.theo-cart-card { display: grid; min-width: 0; padding: var(--space-3); border: 1px solid var(--color-line); grid-template-columns: 28px 84px minmax(0, 1fr) 224px; gap: var(--space-3); align-items: center; background: var(--color-white); transition: border-color var(--motion), box-shadow var(--motion), background var(--motion); }
.theo-cart-card.is-selected { border-color: #a6adb4; box-shadow: inset 3px 0 0 var(--color-deep); }
.theo-cart-card__check { display: grid; width: 44px; height: 44px; margin-left: -8px; place-items: center; cursor: pointer; }
.theo-cart-card__check input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-deep); }
.theo-cart-card__mark { display: grid; width: 84px; height: 84px; border: 1px solid var(--color-line); place-items: center; background: var(--color-warm); color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.theo-cart-card__body { min-width: 0; }
.theo-cart-card__heading { display: flex; min-width: 0; align-items: start; justify-content: space-between; gap: var(--space-2); }
.theo-cart-card__heading > div { min-width: 0; }
.theo-cart-card__heading > div > span { display: block; margin-bottom: 3px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.theo-cart-card__heading h3 { overflow: hidden; margin: 0; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.theo-cart-card__heading .theo-badge { flex: 0 0 auto; }
.theo-cart-card__sizes { display: flex; margin: 12px 0 0; gap: 8px 18px; flex-wrap: wrap; }
.theo-cart-card__sizes > div { display: flex; gap: 7px; font-size: var(--type-caption); }
.theo-cart-card__sizes dt { color: var(--color-neutral); }
.theo-cart-card__sizes dd { margin: 0; font-weight: 600; }
.theo-cart-card__options { display: grid; margin: 9px 0 0; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; font-size: var(--type-caption); line-height: 1.6; }
.theo-cart-card__options strong { color: var(--color-neutral); }
.theo-cart-card__options span { min-width: 0; overflow-wrap: anywhere; }
.theo-cart-card__controls { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.theo-cart-card__quantity { min-width: 0; }
.theo-cart-card__quantity > span,
.theo-cart-card__price > span { display: block; margin-bottom: 5px; color: var(--color-neutral); font-size: var(--type-caption); }
.theo-cart-quantity { display: grid; grid-template-columns: 44px minmax(48px, 1fr) 44px; }
.theo-cart-quantity button,
.theo-cart-quantity input { min-width: 0; min-height: 44px; border: 1px solid var(--color-line); background: var(--color-white); text-align: center; }
.theo-cart-quantity button { padding: 0; color: var(--color-ink); font-size: 20px; cursor: pointer; }
.theo-cart-quantity button:last-child { border-left: 0; }
.theo-cart-quantity input { width: 100%; padding: 6px; border-left: 0; font-size: 16px; font-weight: 600; appearance: textfield; }
.theo-cart-quantity input::-webkit-inner-spin-button,
.theo-cart-quantity input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.theo-cart-card__price { grid-column: 1 / -1; text-align: right; }
.theo-cart-card__price strong { font-size: 20px; }
.theo-cart-remove { min-width: 54px; min-height: 44px; padding: 7px 10px; border: 0; color: var(--color-neutral); background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.theo-cart-remove:hover { color: var(--color-danger-text, #9a2424); }
.theo-cart-manual { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-ink); }
.theo-cart-manual > header p { margin: 0 0 3px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-cart-manual > header h3 { margin: 0; font-size: var(--type-h3); }
.theo-cart-manual > div { display: grid; margin-top: var(--space-3); gap: 8px; }
.theo-cart-manual__item { display: flex; min-width: 0; min-height: 72px; padding: 14px 16px; border: 1px solid var(--color-line); align-items: center; justify-content: space-between; gap: var(--space-3); background: var(--color-warm); }
.theo-cart-manual__item > div { min-width: 0; }
.theo-cart-manual__item span { display: block; color: var(--color-neutral); font-size: 14px; }
.theo-cart-manual__item strong { display: block; overflow: hidden; margin-top: 3px; text-overflow: ellipsis; white-space: nowrap; }
.theo-cart-manual__item em { flex: 0 0 auto; color: var(--color-caution); font-size: var(--type-caption); font-style: normal; font-weight: 600; }
.theo-cart-manual > p { margin-bottom: 0; color: var(--color-neutral); font-size: var(--type-small); line-height: 1.7; }
.theo-cart-summary { position: sticky; top: calc(var(--sticky-header-height, var(--header-height)) + 16px); padding: var(--space-4); border: 1px solid var(--color-line); background: var(--color-warm); }
.theo-cart-summary > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--space-2); align-items: start; }
.theo-cart-summary > header p { grid-column: 1 / -1; margin: 0; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-cart-summary > header h3 { margin: 0; font-size: var(--type-h3); }
.theo-cart-summary dl { display: grid; margin: var(--space-4) 0; }
.theo-cart-summary dl > div { display: flex; padding: 11px 0; border-top: 1px solid var(--color-line); justify-content: space-between; gap: var(--space-3); }
.theo-cart-summary dt { color: var(--color-neutral); font-size: var(--type-small); }
.theo-cart-summary dd { margin: 0; font-size: var(--type-small); font-weight: 600; text-align: right; }
.theo-cart-summary dl .is-total { margin-top: 3px; padding-top: var(--space-3); border-top-color: var(--color-ink); align-items: end; }
.theo-cart-summary dl .is-total dt { color: var(--color-ink); font-weight: 600; }
.theo-cart-summary dl .is-total dd { font-size: 28px; letter-spacing: -.03em; }
.theo-cart-benefit { display: grid; margin-bottom: var(--space-3); padding: var(--space-3); border: 1px solid #dedede; background: #f6f6f6; }
.theo-cart-benefit strong { font-size: 22px; }
.theo-cart-benefit span { margin-top: 4px; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.5; }
.theo-cart-summary .button { width: 100%; }
.theo-cart-summary .button + .button { margin-top: 8px; }
.theo-cart-summary__note { margin: var(--space-3) 0 0; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.7; }
.theo-checkout-modal { width: min(1120px, calc(100vw - 48px)); max-height: calc(100svh - 32px); padding: 0; overscroll-behavior: contain; }
.theo-checkout-modal__header { position: sticky; z-index: 8; top: 0; min-height: 88px; margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--color-line); align-items: center; background: rgba(255, 255, 255, .98); backdrop-filter: blur(14px); }
.theo-checkout-modal__header p { margin: 0 0 3px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .13em; }
.theo-checkout-modal__header h2 { font-size: 25px; }
.theo-checkout-modal__header .theo-modal__close { margin: 0; border: 1px solid var(--color-deep); background: var(--color-white); }
.theo-checkout-warning { margin: 24px 24px 0; }
.theo-checkout-warning > strong,
.theo-checkout-warning > span { min-width: 0; grid-column: 2; }
.theo-checkout-warning > span { color: var(--color-ink); font-size: var(--type-small); line-height: 1.65; }
.theo-checkout-layout { display: grid; padding: 24px; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.theo-checkout-summary { position: sticky; top: 112px; min-width: 0; padding: 22px; border: 1px solid var(--color-line); background: var(--color-warm); }
.theo-checkout-summary > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: start; }
.theo-checkout-summary > header p { grid-column: 1 / -1; margin: 0; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-checkout-summary > header h3 { margin: 0; font-size: 22px; }
.theo-checkout-items { display: grid; max-height: 184px; overflow-y: auto; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--color-line); list-style: none; }
.theo-checkout-items li { display: grid; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--color-line); grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
.theo-checkout-items strong { min-width: 0; overflow: hidden; font-size: var(--type-small); text-overflow: ellipsis; white-space: nowrap; }
.theo-checkout-items span { color: var(--color-neutral); font-size: var(--type-caption); }
.theo-checkout-items .theo-checkout-item-options { grid-column: 1 / -1; margin-top: 4px; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.theo-checkout-items b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--type-small); }
.theo-checkout-summary dl { display: grid; margin: 18px 0 0; }
.theo-checkout-summary dl > div { display: flex; padding: 9px 0; border-top: 1px solid var(--color-line); justify-content: space-between; gap: 12px; }
.theo-checkout-summary dt { color: var(--color-neutral); font-size: var(--type-small); }
.theo-checkout-summary dd { margin: 0; font-size: var(--type-small); font-weight: 600; text-align: right; }
.theo-checkout-summary dl .is-total { margin-top: 4px; padding-top: 14px; border-top-color: var(--color-ink); align-items: end; }
.theo-checkout-summary dl .is-total dt { color: var(--color-ink); font-weight: 600; }
.theo-checkout-summary dl .is-total dd { font-size: 25px; letter-spacing: -.03em; }
.theo-checkout-member { display: grid; margin-top: 16px; padding: 14px; border: 1px solid #dedede; background: #f6f6f6; }
.theo-checkout-member strong { font-size: 20px; }
.theo-checkout-member span { margin-top: 3px; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.5; }
.theo-checkout-member small { margin-top: 8px; color: var(--color-ink); font-size: 14px; }
.theo-checkout-summary > p { margin: 14px 0 0; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.65; }
.theo-checkout-fields { display: grid; min-width: 0; gap: 14px; }
.theo-checkout-section { min-width: 0; padding: 22px; border: 1px solid var(--color-line); background: var(--color-white); }
.theo-checkout-section > header { display: grid; margin-bottom: 18px; grid-template-columns: 30px minmax(0, 1fr); gap: 11px; align-items: start; }
.theo-checkout-section > header > span { display: grid; width: 30px; height: 30px; place-items: center; color: var(--color-white); background: var(--color-deep); font-size: 14px; font-weight: 600; }
.theo-checkout-section > header h3 { margin: 1px 0 0; font-size: 19px; }
.theo-checkout-section > header p { margin: 4px 0 0; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.55; }
.theo-checkout-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.theo-checkout-field-grid .is-wide { grid-column: 1 / -1; }
.theo-checkout-section .field { display: grid; min-width: 0; gap: 7px; color: var(--color-ink); font-size: var(--type-small); font-weight: 600; }
.theo-checkout-section .field > span small { color: var(--color-neutral); font-size: 14px; font-weight: 500; }
.theo-checkout-section .field input,
.theo-checkout-section .field select,
.theo-checkout-section .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #a3a3a3; border-radius: 0; outline: 0; color: var(--color-ink); background: var(--color-white); }
.theo-checkout-section .field textarea { min-height: 104px; resize: vertical; line-height: 1.6; }
.theo-checkout-section .field input:focus,
.theo-checkout-section .field select:focus,
.theo-checkout-section .field textarea:focus { border-color: var(--color-focus); box-shadow: 0 0 0 3px rgba(17, 17, 17, .18); }
.theo-checkout-section .field.is-error input,
.theo-checkout-section .field.is-error textarea { border-color: var(--color-danger); }
.theo-shipping-options { display: grid; margin: 0; padding: 0; border: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.theo-shipping-option { position: relative; display: flex; min-width: 0; cursor: pointer; }
.theo-shipping-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
/* Keep rate/status copy in normal flow: translated labels can be much longer
 * than the Korean originals. Shared rows align titles, descriptions and fees. */
.theo-shipping-option > span { display: grid; width: 100%; min-width: 0; padding: 16px; border: 1px solid var(--color-line); grid-template-rows: auto 1fr auto; gap: 8px; background: var(--color-white); transition: border-color var(--motion), box-shadow var(--motion), background var(--motion); }
.theo-shipping-option strong { min-width: 0; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.theo-shipping-option small { min-width: 0; margin: 0; color: var(--color-neutral); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.theo-shipping-option em { position: static; min-width: 0; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--color-line); color: var(--color-deep); font-size: 14px; line-height: 1.5; font-style: normal; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 721px) and (max-width: 900px) {
  .theo-shipping-option strong { min-height: 2.8em; }
}
.theo-shipping-option input:checked + span { border-color: var(--color-brand, #111111); box-shadow: inset 3px 0 0 var(--color-brand, #111111); background: #f6f6f6; }
.theo-shipping-option input:focus-visible + span { box-shadow: 0 0 0 3px rgba(17, 17, 17, .22); }
.theo-shipping-option.is-disabled { cursor: not-allowed; }
.theo-shipping-option.is-disabled > span { color: #777; background: #f6f6f6; }
.theo-shipping-option.is-disabled em { color: var(--color-warning-text, #775600); }
.theo-shipping-detail { margin-top: 14px; padding: 16px; border: 1px solid var(--color-line); background: var(--color-warm); }
.theo-shipping-detail[hidden] { display: none; }
.theo-shipping-detail--manual { display: grid; gap: 7px; }
.theo-shipping-detail--manual strong { font-size: var(--type-ui); }
.theo-shipping-detail--manual p { margin: 0; color: var(--color-neutral); font-size: var(--type-small); line-height: 1.6; }
.theo-shipping-detail--manual .button { width: max-content; margin-top: 5px; }
.theo-shipping-address { margin-top: 14px; padding: 16px; border: 1px solid var(--color-line); background: #f6f6f6; }
.theo-shipping-address[hidden] { display: none; }
.theo-shipping-calculation { display: grid; margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--color-success); background: #f2f7f3; gap: 4px; }
.theo-shipping-calculation.is-draft { border-left-color: var(--color-warning); background: #fff8e7; }
.theo-shipping-calculation.is-manual { border-left-color: var(--color-danger); background: #fff4f2; }
.theo-shipping-calculation strong { font-size: var(--type-small); }
.theo-shipping-calculation p { margin: 0; color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.55; }
.theo-shipping-calculation ul { display: grid; margin: 5px 0 0; padding: 0; list-style: none; gap: 3px; }
.theo-shipping-calculation li { color: var(--color-neutral); font-size: 14px; line-height: 1.5; }
.theo-shipping-calculation li::before { content: '·'; margin-right: 5px; }
.theo-checkout-delivery-fields { margin-top: 14px; }
.theo-receipt-options { display: flex; margin: 20px 0 0; padding: 18px 0 0; border: solid var(--color-line); border-width: 1px 0 0; flex-wrap: wrap; gap: 8px 24px; }
.theo-receipt-options legend { float: left; width: 100%; margin-bottom: 9px; padding: 0; font-size: var(--type-small); font-weight: 600; }
.theo-cash-receipt-phone { max-width: 360px; margin-top: 12px; }
.theo-cash-receipt-phone[hidden] { display: none; }
.theo-tax-invoice-waiting { display: grid; min-height: 58px; margin-top: 14px; padding: 10px 84px 10px 14px; border: 1px dashed #b9b7b1; align-content: center; background: #f6f6f6; position: relative; }
.theo-tax-invoice-waiting strong { font-size: var(--type-small); }
.theo-tax-invoice-waiting span { margin-top: 3px; color: var(--color-neutral); font-size: 14px; }
.theo-tax-invoice-waiting em { position: absolute; top: 18px; right: 14px; color: var(--color-warning-text, #775600); font-size: var(--type-caption); font-style: normal; font-weight: 600; }
.theo-policy-status { position: relative; display: grid; margin-bottom: 16px; padding: 14px 104px 14px 16px; border-left: 3px solid var(--color-success); background: #f2f7f3; gap: 4px; }
.theo-policy-status.is-draft { border-left-color: var(--color-warning); background: #fff8e7; }
.theo-policy-status strong { font-size: var(--type-small); }
.theo-policy-status span { color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.55; }
.theo-policy-status small { position: absolute; top: 15px; right: 14px; color: var(--color-neutral); font-size: 14px; }
.theo-consent-list { border: solid var(--color-line); border-width: 1px 0; }
.theo-consent-row { display: grid; min-height: 70px; padding: 13px 4px; align-items: start; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; cursor: pointer; }
.theo-consent-row + details,
.theo-consent-list details + .theo-consent-row { border-top: 1px solid var(--color-line); }
.theo-consent-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--color-deep); }
.theo-consent-row > span { display: grid; gap: 4px; }
.theo-consent-row strong { font-size: var(--type-small); line-height: 1.45; }
.theo-consent-row small { color: var(--color-neutral); font-size: var(--type-caption); line-height: 1.55; }
.theo-consent-list details { margin: -1px 0 0 32px; padding: 0 0 12px; }
.theo-consent-list details summary { width: fit-content; max-width: 100%; white-space: normal; overflow-wrap: anywhere; color: var(--color-deep); font-size: 14px; font-weight: 600; cursor: pointer; }
.theo-consent-list details p { margin: 9px 0 0; padding: 12px 14px; color: var(--color-neutral); background: var(--color-warm); font-size: var(--type-caption); line-height: 1.7; }
.theo-consent-optional { display: grid; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--color-line); }
.theo-consent-optional > div:first-child { display: flex; margin-bottom: 4px; align-items: baseline; justify-content: space-between; gap: 12px; }
.theo-consent-optional > div:first-child strong { font-size: var(--type-ui); }
.theo-consent-optional > div:first-child span { color: var(--color-neutral); font-size: var(--type-caption); }
.theo-consent-optional .theo-consent-row { min-height: 62px; }
.theo-instagram-account { margin: 0 0 12px 32px; }
.theo-instagram-account[hidden] { display: none; }
.theo-checkout-error { margin: 0; }
.theo-checkout-error[hidden] { display: none; }
.theo-checkout-error > strong,
.theo-checkout-error > p { min-width: 0; grid-column: 2; }
.theo-checkout-actions { position: sticky; z-index: 8; bottom: 0; display: grid; min-height: 84px; margin: 0; padding: 14px 24px; border-top: 1px solid var(--color-line); grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; background: rgba(255, 255, 255, .98); box-shadow: 0 -12px 32px rgba(17, 17, 17, .07); backdrop-filter: blur(14px); }
.theo-checkout-actions > div { display: flex; min-width: 0; align-items: baseline; justify-content: flex-end; gap: 10px; }
.theo-checkout-actions > div span { color: var(--color-neutral); font-size: var(--type-caption); }
.theo-checkout-actions > div strong { font-size: 22px; white-space: nowrap; }
.theo-checkout-actions .button { min-height: 52px; font-size: var(--type-ui); }
.theo-checkout-actions .button--primary { min-width: 210px; }
.theo-checkout-success[hidden] { display: none; }
.theo-checkout-success { display: grid; min-height: 560px; padding: 64px 24px; place-items: center; align-content: center; text-align: center; }
.theo-checkout-success__mark { display: grid; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 50%; place-items: center; color: var(--color-white); background: var(--color-success); font-size: 30px; }
.theo-checkout-success > p { margin: 0 0 6px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .13em; }
.theo-checkout-success h3 { margin: 0; font-size: 28px; }
.theo-checkout-success > span { margin-top: 8px; color: var(--color-neutral); }
.theo-checkout-success dl { display: grid; width: min(100%, 460px); margin: 28px 0; border: solid var(--color-line); border-width: 1px 0; }
.theo-checkout-success dl > div { display: flex; padding: 13px 0; border-top: 1px solid var(--color-line); justify-content: space-between; gap: 20px; }
.theo-checkout-success dl > div:first-child { border-top: 0; }
.theo-checkout-success dt { color: var(--color-neutral); }
.theo-checkout-success dd { margin: 0; font-weight: 600; text-align: right; }
.theo-test-checkout.is-busy { pointer-events: none; }
.theo-test-checkout.is-busy .theo-checkout-layout { opacity: .62; }
.is-cart-busy .theo-cart-card { opacity: .68; }
.theo-order-placeholder, .theo-empty-state { position: relative; display: grid; min-height: 330px; padding: var(--space-7); border: 1px dashed #a3a3a3; place-items: center; align-content: center; background: var(--color-warm); text-align: center; }
.theo-order-placeholder__icon { display: grid; width: 64px; height: 64px; margin-bottom: var(--space-3); border: 1px solid var(--color-deep); border-radius: 50%; place-items: center; color: var(--color-deep); font-size: 28px; }
.theo-order-placeholder strong, .theo-empty-state strong { font-size: var(--type-h3); }
.theo-order-placeholder p, .theo-empty-state p { max-width: 58ch; margin: var(--space-2) 0 var(--space-3); color: var(--color-neutral); }
.theo-order-placeholder--split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); text-align: left; }
.theo-order-placeholder--split > div { width: 100%; min-height: 160px; padding: var(--space-4); border: 1px solid var(--color-line); background: var(--color-white); }
.theo-order-placeholder--split .theo-badge { grid-column: 1 / -1; justify-self: center; }
.theo-order-summary-skeleton { display: grid; max-width: 760px; gap: var(--space-2); }
.theo-order-summary-skeleton div { height: 62px; background: linear-gradient(90deg, #f6f6f6 25%, #f6f6f6 45%, #f6f6f6 65%); background-size: 220% 100%; animation: theo-order-skeleton 1.6s ease-in-out infinite; }
.theo-order-summary-skeleton div:last-of-type { height: 88px; background-color: var(--color-surface); }
.theo-order-summary-skeleton p { margin-top: var(--space-2); color: var(--color-neutral); }
.theo-order-actions { position: sticky; z-index: 20; bottom: 0; display: grid; margin-top: var(--space-7); padding: var(--space-3) 0; border-top: 1px solid var(--color-line); grid-template-columns: 180px 1fr 180px; gap: var(--space-3); align-items: center; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); }
.theo-order-actions p { margin: 0; color: var(--color-neutral); font-size: var(--type-small); text-align: center; }
.theo-order-actions .button { width: 100%; }
@keyframes theo-order-skeleton { to { background-position-x: -220%; } }
@media (max-width: 980px) {
  .theo-order-hero { padding-top: calc(72px + var(--space-8)); }
  .theo-order-hero__inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .theo-order-steps button { min-height: 104px; }
  .theo-order-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theo-order-status .text-link { grid-column: 1 / -1; justify-self: start; }
  .theo-upload-layout { grid-template-columns: 1fr; }
  .theo-dropzone { min-height: 300px; }
  .theo-size-workspace { grid-template-columns: 1fr; }
  .theo-size-quality { position: static; }
  .theo-option-layout { grid-template-columns: 1fr; }
  .theo-option-current { position: static; }
  .theo-quote-totals { grid-template-columns: 1fr; }
  .theo-quote-tools > header { grid-template-columns: 1fr; }
  .theo-quote-tools > header > span { text-align: left; }
  .theo-cart-layout { grid-template-columns: 1fr; }
  .theo-cart-card { grid-template-columns: 28px 72px minmax(0, 1fr); }
  .theo-cart-card__mark { width: 72px; height: 72px; }
  .theo-cart-card__controls { grid-column: 2 / -1; grid-template-columns: minmax(180px, 240px) minmax(120px, 1fr) auto; align-items: end; }
  .theo-cart-card__price { grid-column: auto; }
  .theo-cart-summary { position: static; }
  .theo-checkout-modal { width: min(100%, calc(100vw - 32px)); }
  .theo-checkout-layout { grid-template-columns: 1fr; }
  .theo-checkout-summary { position: static; }
  .theo-checkout-items { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
}
@media (max-width: 640px) {
  .theo-order-hero { padding-bottom: var(--space-6); }
  .theo-order-hero h1 { font-size: 40px; }
  .theo-order-hero__inner > p { font-size: 16px; }
  .theo-order-layout { padding-top: var(--space-4); padding-bottom: 96px; }
  .theo-order-status { grid-template-columns: 1fr; gap: var(--space-2); }
  .theo-order-status .text-link { grid-column: auto; }
  .theo-order-steps { overflow-x: auto; margin-right: calc(var(--page-gutter) * -1); padding-right: var(--page-gutter); scroll-snap-type: x mandatory; }
  .theo-order-steps ol { width: 620px; }
  .theo-order-steps li { scroll-snap-align: start; }
  .theo-order-steps button { min-height: 96px; padding: 14px; }
  .theo-order-panel__heading { grid-template-columns: 1fr; gap: 8px; }
  .theo-order-placeholder, .theo-empty-state { min-height: 300px; padding: var(--space-4); }
  .theo-order-placeholder--split { grid-template-columns: 1fr; }
  .theo-order-placeholder--split .theo-badge { grid-column: auto; }
  .theo-dropzone { min-height: 280px; padding: var(--space-4); }
  .theo-upload-queue { margin-top: var(--space-6); }
  .theo-upload-queue > header { align-items: stretch; flex-direction: column; }
  .theo-upload-total { width: 100%; }
  .theo-upload-total > span { text-align: left; }
  .theo-upload-card { padding: 14px; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .theo-upload-card__preview { width: 72px; height: 72px; }
  .theo-upload-card__actions { grid-column: 1 / -1; flex-direction: row; }
  .theo-upload-card__actions button { flex: 1; }
  .theo-size-limit-note > strong,
  .theo-size-limit-note > span { grid-column: 2; }
  .theo-size-file-list { display: flex; overflow-x: auto; margin-right: calc(var(--page-gutter) * -1); padding-right: var(--page-gutter); scroll-snap-type: x mandatory; }
  .theo-size-file { width: 236px; min-width: 236px; scroll-snap-align: start; }
  .theo-size-editor,
  .theo-size-quality { padding: var(--space-3); }
  .theo-size-editor__header { align-items: stretch; flex-direction: column; }
  .theo-size-editor__header .theo-badge { align-self: start; }
  .theo-size-original { grid-template-columns: 1fr; }
  .theo-size-original > div { padding: 12px 0; border-top: 1px solid var(--color-line); border-left: 0; }
  .theo-size-original > div:first-child { border-top: 0; }
  .theo-size-controls { grid-template-columns: 1fr; }
  .theo-size-unit { max-width: none; }
  .theo-size-lock { min-height: auto; }
  .theo-size-quality__actions { grid-template-columns: 1fr; }
  .theo-size-scale li { grid-template-columns: 76px minmax(0, 1fr); }
  .theo-size-manual li { align-items: start; flex-direction: column; gap: 4px; }
  .theo-option-builder { margin-top: var(--space-8); padding-top: var(--space-6); }
  .theo-option-builder__heading { grid-template-columns: 1fr; gap: 7px; }
  .theo-option-builder__heading > p { grid-row: auto; margin: 0; }
  .theo-option-accordion summary { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .theo-option-accordion summary > em { grid-column: 2; text-align: left; }
  .theo-option-accordion summary::after { grid-column: 3; grid-row: 1 / span 2; }
  .theo-option-panel { padding-left: 0; grid-template-columns: 1fr; }
  .theo-choice-card > span,
  .theo-option-value > span { min-height: 84px; }
  .theo-margin-head { align-items: start; flex-direction: column; }
  .theo-margin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.theo-coa-grid--edition { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theo-option-current dl > div { grid-template-columns: 78px minmax(0, 1fr); }
  .theo-quote-item > header { align-items: start; flex-direction: column; }
  .theo-quote-item header > span { text-align: left; }
  .theo-quote-totals { padding: var(--space-3); gap: var(--space-3); }
  .theo-quote-totals .is-total dd { font-size: 26px; }
  .theo-quote-tools__actions { grid-template-columns: 1fr; }
  .theo-quote-reference { grid-template-columns: 1fr; }
  .theo-quote-reference > div { border-top: 1px solid var(--color-line); border-left: 0; }
  .theo-quote-reference > div:first-child { border-top: 0; }
  .theo-consultation-fields { grid-template-columns: 1fr; }
  .theo-consultation-memo { grid-column: auto; }
  .theo-cart-sample > strong,
  .theo-cart-sample > span { grid-column: 2; }
  .theo-cart-empty { min-height: 320px; padding: var(--space-4); }
  .theo-cart-toolbar { min-height: 56px; padding: 0 14px; }
  .theo-cart-toolbar p { align-items: end; flex-direction: column; gap: 1px; }
  .theo-cart-card { padding: 16px 14px; grid-template-columns: 28px 48px minmax(0, 1fr); gap: 12px; align-items: start; }
  .theo-cart-card__check { margin: -8px 0 0 -8px; }
  .theo-cart-card__mark { width: 48px; height: 48px; font-size: 14px; }
  .theo-cart-card__heading { align-items: start; flex-direction: column-reverse; gap: 7px; }
  .theo-cart-card__heading h3 { overflow: visible; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
  .theo-cart-card__sizes { display: grid; margin-top: 14px; gap: 5px; }
  .theo-cart-card__options { grid-template-columns: 1fr; gap: 3px; }
  .theo-cart-card__controls { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--color-line); grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .theo-cart-card__price { grid-column: 2; min-width: 92px; align-self: end; }
  .theo-cart-card__price strong { font-size: 19px; }
  .theo-cart-remove { grid-column: 1 / -1; justify-self: end; }
  .theo-cart-quantity { grid-template-columns: 44px minmax(48px, 72px) 44px; }
  .theo-cart-manual__item { align-items: start; flex-direction: column; gap: 6px; }
  .theo-cart-manual__item strong { overflow: visible; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
  .theo-cart-summary { padding: var(--space-3); }
  .theo-cart-summary dl .is-total dd { font-size: 26px; }
  .theo-checkout-shell { display: block; padding: 0; }
  .theo-checkout-modal { width: 100%; height: 100svh; max-height: none; box-shadow: none; }
  .theo-checkout-modal__header { min-height: 72px; padding: 12px 16px; }
  .theo-checkout-modal__header h2 { font-size: 20px; }
  .theo-checkout-warning { margin: 16px 16px 0; padding: 14px; }
  .theo-checkout-warning > strong,
  .theo-checkout-warning > span { grid-column: 2; }
  .theo-checkout-layout { padding: 16px; gap: 14px; }
  .theo-checkout-summary { padding: 16px; }
  .theo-checkout-summary > header h3 { font-size: 20px; }
  .theo-checkout-items { grid-template-columns: 1fr; }
  .theo-checkout-summary dl .is-total dd { font-size: 23px; }
  .theo-checkout-section { padding: 16px; }
  .theo-checkout-section > header { margin-bottom: 15px; }
  .theo-checkout-field-grid { grid-template-columns: 1fr; gap: 12px; }
  .theo-checkout-field-grid .is-wide { grid-column: auto; }
  .theo-shipping-options { grid-template-columns: 1fr; }
  .theo-shipping-option > span { min-height: 78px; }
	.theo-shipping-detail,
	.theo-shipping-address { padding: 14px; }
	.theo-shipping-detail--manual .button { width: 100%; }
	  .theo-receipt-options { align-items: stretch; flex-direction: column; gap: 2px; }
	  .theo-tax-invoice-waiting { padding-right: 74px; }
	  .theo-policy-status { padding-right: 14px; }
	  .theo-policy-status small { position: static; margin-top: 3px; }
	  .theo-consent-optional > div:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }
	  .theo-instagram-account { margin-left: 0; }
  .theo-checkout-actions { min-height: 124px; padding: 10px 16px; grid-template-columns: minmax(0, .8fr) minmax(176px, 1.2fr); gap: 8px 10px; }
  .theo-checkout-actions > div { justify-content: flex-start; flex-direction: column; gap: 0; }
  .theo-checkout-actions > div strong { font-size: 19px; }
  .theo-checkout-actions .button--primary { min-width: 0; }
  .theo-checkout-actions > .button--secondary { grid-column: 1 / -1; min-height: 44px; order: 3; }
  .theo-checkout-success { min-height: calc(100svh - 72px); padding: 40px 16px; }
  .theo-checkout-success h3 { font-size: 24px; }
  .theo-checkout-success .button { width: 100%; }
  .theo-order-actions { position: fixed; right: 0; bottom: 0; left: 0; padding: 10px var(--page-gutter); grid-template-columns: 1fr 1fr; box-shadow: 0 -10px 28px rgba(17, 17, 17, .08); }
  .theo-order-actions p { display: none; }
  .b2b-mobile-ribbon { display: none; }
  .floating-contact { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .theo-order-summary-skeleton div { animation: none; }
  .theo-spinner { animation: none; }
}

/* Non-destructive production editor */
.theo-production-studio[hidden],
.theo-editor-placeholder[hidden],
.theo-editor-product-view[hidden] { display: none !important; }
.theo-production-studio { margin-top: var(--space-4); }
.theo-editor-journey { margin-bottom: 14px; border: 1px solid var(--color-line); background: var(--color-white); }
.theo-editor-journey__heading { display: flex; min-height: 38px; padding: 8px 14px; border-bottom: 1px solid var(--color-line); align-items: center; justify-content: space-between; gap: 12px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.theo-editor-journey__heading strong { color: var(--color-deep); font-size: 14px; letter-spacing: .04em; }
.theo-editor-journey ol { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
.theo-editor-journey button { position: relative; display: grid; width: 100%; min-height: 66px; padding: 11px 14px; border: solid var(--color-line); border-width: 0 1px 0 0; gap: 2px; color: var(--color-neutral); background: var(--color-white); cursor: pointer; text-align: left; }
.theo-editor-journey li:first-child button { border-left-width: 1px; }
.theo-editor-journey button:hover { color: var(--color-ink); background: var(--color-warm); }
.theo-editor-journey li:last-child button { border-right: 0; }
.theo-editor-journey button[aria-current="step"] { z-index: 1; color: var(--color-deep); background: var(--color-warm); box-shadow: inset 0 -3px 0 var(--color-deep); }
.theo-editor-journey button.is-complete::after { position: absolute; top: 10px; right: 12px; content: "✓"; color: var(--color-success); font-weight: 600; }
.theo-editor-journey button > strong { color: inherit; font-size: 16px; }
.theo-editor-journey button > small { color: inherit; font-size: 14px; opacity: .72; }
.theo-editor-screen-heading { display: grid; margin-bottom: 18px; padding: 20px 22px; border: 1px solid var(--color-line); grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; background: #f6f6f6; }
.theo-editor-screen-heading p { margin: 0 0 5px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .11em; }
.theo-editor-screen-heading h3 { margin: 0; font-size: 24px; }
.theo-editor-screen-heading > span { color: var(--color-neutral); font-size: 14px; line-height: 1.7; }
.theo-studio-grid { display: grid; grid-template-columns: minmax(288px, 320px) minmax(430px, 1fr) minmax(272px, 300px); gap: 16px; align-items: start; }
.theo-studio-controls,
.theo-studio-preview,
.theo-studio-summary { min-width: 0; border: 1px solid var(--color-line); background: var(--color-white); }
.theo-studio-controls { overflow: clip; }
.theo-studio-controls .theo-size-editor__header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
.theo-studio-controls .theo-size-editor__header > div { min-width: 0; }
.theo-studio-controls .theo-size-editor__header h3 { display: -webkit-box; overflow: hidden; width: 100%; max-width: 100%; white-space: normal; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.35; }
.theo-studio-controls .theo-size-editor__header .theo-badge { grid-column: 1 / -1; justify-self: start; }
.theo-studio-controls .theo-size-workspace { display: grid; margin: 0; grid-template-columns: 1fr; gap: 0; }
.theo-studio-controls .theo-size-editor,
.theo-studio-controls .theo-size-quality { padding: 20px; border: 0; border-bottom: 1px solid var(--color-line); }
.theo-studio-controls .theo-size-quality { position: static; }
.theo-studio-controls .theo-size-original { margin: 18px 0; grid-template-columns: 1fr; }
.theo-studio-controls .theo-size-original > div { padding: 10px 0; border-top: 1px solid var(--color-line); border-left: 0; }
.theo-studio-controls .theo-size-original > div:first-child { border-top: 0; }
.theo-studio-controls .theo-size-controls { grid-template-columns: 1fr 1fr; gap: 12px; }
.theo-studio-controls .theo-size-unit,
.theo-studio-controls .theo-size-lock,
.theo-studio-controls .theo-size-swap { grid-column: 1 / -1; max-width: none; }
.theo-studio-controls select,
.theo-studio-controls input[type="number"] { width: 100%; min-height: 48px; padding: 10px 42px 10px 12px; border: 1px solid #a3a3a3; border-radius: 0; color: var(--color-ink); background: var(--color-white); font: inherit; font-size: 16px; }
.theo-studio-controls .theo-size-input input { padding-right: 66px; }
.theo-studio-controls .theo-size-lock { min-height: 44px; }
.theo-studio-controls .theo-size-dpi strong { font-size: 58px; }
.theo-studio-controls .theo-size-quality__actions { grid-template-columns: 1fr; }
.theo-studio-controls .theo-option-builder { margin: 0; padding: 0; border: 0; }
.theo-studio-controls .theo-option-builder__heading { display: block; margin: 0; padding: 20px; border-bottom: 1px solid var(--color-line); }
.theo-studio-controls .theo-option-builder__heading > p { margin: 0 0 5px; }
.theo-studio-controls .theo-option-builder__heading h3 { font-size: 24px; }
.theo-studio-controls .theo-option-builder__heading > span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; }
.theo-studio-controls .theo-option-accordion { border-top: 1px solid var(--color-ink); }
.theo-studio-controls .theo-option-accordion summary { min-height: 62px; padding: 12px 16px; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; }
.theo-studio-controls .theo-option-accordion summary > strong { font-size: 16px; }
.theo-studio-controls .theo-option-accordion summary > em { overflow: hidden; max-width: 106px; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.theo-studio-controls .theo-option-accordion summary::after { grid-column: 4; }
.theo-studio-controls .theo-option-panel { padding: 0 14px 16px; grid-template-columns: 1fr; gap: 8px; }
.theo-studio-controls .theo-option-values { grid-template-columns: 1fr; }
.theo-studio-controls .theo-option-values--papers { max-height: none; }
.theo-studio-controls .theo-option-subgrid { padding: 10px; grid-template-columns: 1fr; }
.theo-studio-controls .theo-choice-card > span,
.theo-studio-controls .theo-option-value > span { min-height: 68px; padding: 11px 12px; }
.theo-studio-controls .theo-margin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theo-studio-controls .theo-margin-head { align-items: start; flex-direction: column; }
.theo-studio-controls .theo-option-error { margin: 14px; }

.theo-studio-preview { position: sticky; top: calc(var(--sticky-header-height, var(--header-height)) + 14px); overflow: clip; }
.theo-studio-preview__header { display: flex; min-height: 86px; padding: 18px 20px; border-bottom: 1px solid var(--color-line); align-items: center; justify-content: space-between; gap: 16px; }
.theo-studio-preview__header p { margin: 0 0 4px; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-studio-preview__header h3 { margin: 0; font-size: 21px; }
.theo-editor-stage { position: relative; display: grid; min-height: 570px; place-items: center; background: #f6f6f6; isolation: isolate; }
.theo-editor-stage::before { position: absolute; inset: 0; z-index: -1; content: ""; opacity: .38; background-image: linear-gradient(rgba(20, 20, 20, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 20, 20, .035) 1px, transparent 1px); background-size: 24px 24px; }
.theo-editor-stage.is-empty { min-height: 420px; }
.theo-editor-placeholder { display: grid; max-width: 360px; padding: 34px; place-items: center; text-align: center; }
.theo-editor-placeholder strong { font-size: 18px; }
.theo-editor-placeholder span { margin-top: 7px; color: var(--color-neutral); font-size: 14px; line-height: 1.65; }
.theo-editor-product-view { position: absolute; inset: 0; display: grid; padding: 54px 56px 68px; place-items: center; }
.theo-editor-product { position: relative; display: grid; width: 68%; max-width: 520px; max-height: 410px; place-items: stretch; filter: drop-shadow(0 18px 24px rgba(20, 20, 20, .16)); }
.theo-editor-frame { display: grid; width: 100%; height: 100%; padding: 0; place-items: stretch; background: transparent; box-sizing: border-box; }
.theo-editor-frame[data-frame-tone="steel"] { padding: 8px; background: var(--editor-frame-colour, #777b7e); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 8px 18px rgba(0,0,0,.2); }
.theo-editor-frame[data-frame-tone="wood"] { padding: 10px; background: var(--editor-frame-colour, #be986e); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 8px 18px rgba(0,0,0,.22); }
.theo-editor-frame[data-frame-tone="canvas"] { padding: 5px; background: #d8d3c8; box-shadow: 4px 7px 14px rgba(0,0,0,.17); }
.theo-editor-frame[data-frame-tone="diasec"] { padding: 2px; background: rgba(255,255,255,.72); box-shadow: 0 12px 28px rgba(0,0,0,.23); }
.theo-editor-mat { display: grid; width: 100%; height: 100%; place-items: stretch; background: #faf9f4; box-sizing: border-box; }
.theo-editor-mat img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; background: #dedede; }
.theo-editor-size-lines { position: absolute; inset: 0; color: var(--color-neutral); font-size: 14px; font-weight: 600; pointer-events: none; }
.theo-editor-size-lines::before,
.theo-editor-size-lines::after { position: absolute; content: ""; background: var(--color-neutral); }
.theo-editor-size-lines::before { right: 0; bottom: -27px; left: 0; height: 1px; }
.theo-editor-size-lines::after { top: 0; right: -27px; bottom: 0; width: 1px; }
.theo-editor-size-lines span { position: absolute; z-index: 1; padding: 2px 6px; background: rgba(242, 241, 237, .94); line-height: 1.35; }
.theo-editor-size-lines span:first-child { bottom: -38px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.theo-editor-size-lines span:last-child { top: 50%; right: -43px; transform: translateY(-50%); writing-mode: vertical-rl; white-space: nowrap; }
.theo-editor-note { margin: 0; padding: 13px 18px; border-top: 1px solid var(--color-line); color: var(--color-neutral); background: #f6f6f6; font-size: 14px; line-height: 1.65; }
.theo-editor-note strong { color: var(--color-ink); }

.theo-studio-summary { position: sticky; top: calc(var(--sticky-header-height, var(--header-height)) + 14px); }
.theo-studio-dimensions { padding: 22px 18px; border-bottom: 1px solid var(--color-line); }
.theo-studio-dimension-box { --dimension-ratio: 1; position: relative; display: grid; width: min(128px, 60%); aspect-ratio: var(--dimension-ratio); min-height: 82px; max-height: 156px; margin: 22px auto 28px; border: 8px solid #555; place-items: center; background: #fff; box-shadow: inset 0 0 0 8px #f1f0ec; }
.theo-studio-dimension-box i { width: 52%; aspect-ratio: var(--dimension-ratio); border: 1px solid #aaa; }
.theo-studio-dimension-box > span { position: absolute; color: var(--color-neutral); font-size: 14px; font-weight: 600; white-space: nowrap; }
.theo-studio-dimension-box > span:first-child { top: -27px; left: 50%; transform: translateX(-50%); }
.theo-studio-dimension-box > span:last-child { top: 50%; right: -44px; transform: translateY(-50%); writing-mode: vertical-rl; }
.theo-studio-dimensions dl,
.theo-studio-quote dl { display: grid; margin: 0; gap: 9px; }
.theo-studio-dimensions dl > div,
.theo-studio-quote dl > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 9px; font-size: 14px; }
.theo-studio-dimensions dt,
.theo-studio-quote dt { color: var(--color-neutral); }
.theo-studio-dimensions dd,
.theo-studio-quote dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.theo-studio-summary .theo-option-current { position: static; padding: 20px 18px; border: 0; border-bottom: 1px solid var(--color-line); }
.theo-studio-summary .theo-option-current h3 { display: -webkit-box; overflow: hidden; min-height: 48px; font-size: 17px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.theo-studio-summary .theo-option-current dl > div { grid-template-columns: 74px minmax(0, 1fr); }
.theo-studio-quote { padding: 20px 18px; }
.theo-studio-quote header { display: flex; margin-bottom: 16px; align-items: center; justify-content: space-between; gap: 10px; }
.theo-studio-quote header > span { font-size: 17px; font-weight: 600; }
.theo-studio-quote header > em { color: var(--color-muted, #6b6b6b); font-size: 14px; font-style: normal; font-weight: 600; }
.theo-studio-quote__breakdown { transition: opacity .16s ease; }
.theo-studio-quote__breakdown.is-updating { opacity: .58; }
.theo-studio-quote__section-heading { display: flex; margin: 0 0 8px; align-items: baseline; justify-content: space-between; gap: 10px; }
.theo-studio-quote__section-heading strong { font-size: 14px; }
.theo-studio-quote__section-heading span { color: var(--color-neutral); font-size: 14px; }
.theo-studio-quote__file { overflow: hidden; margin: 0 0 5px; color: var(--color-neutral); font-size: 14px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.theo-studio-quote .theo-studio-quote__lines { gap: 0; }
.theo-studio-quote .theo-studio-quote__lines > div { padding: 8px 0; border-top: 1px solid var(--color-line); grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.theo-studio-quote .theo-studio-quote__lines dt { color: var(--color-ink); line-height: 1.45; }
.theo-studio-quote .theo-studio-quote__lines dd { white-space: nowrap; }
.theo-studio-quote .theo-studio-quote__lines .is-placeholder dt { color: var(--color-neutral); }
.theo-studio-quote__minimum { margin: 9px 0 0; padding: 9px 10px; border-left: 2px solid var(--color-warning); color: #7b5100; background: #fff8e8; font-size: 14px; line-height: 1.55; }
.theo-studio-quote__minimum[hidden] { display: none; }
.theo-studio-quote__summary { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-ink); }
.theo-studio-quote dl .is-total { margin-top: 7px; padding-top: 13px; border-top: 1px solid var(--color-ink); align-items: end; }
.theo-studio-quote dl .is-total dd { color: var(--color-deep); font-size: 21px; }
.theo-studio-quote > p { margin: 16px 0 0; color: var(--color-neutral); font-size: 14px; line-height: 1.6; }

.theo-production-studio[data-editor-step="1"] .theo-option-builder,
.theo-production-studio[data-editor-step="1"] .theo-studio-summary { display: none; }
.theo-production-studio[data-editor-step="1"] .theo-studio-controls,
.theo-production-studio[data-editor-step="1"] .theo-size-workspace { display: contents; }
.theo-production-studio[data-editor-step="1"] .theo-size-editor { grid-column: 1; grid-row: 1; }
.theo-production-studio[data-editor-step="1"] .theo-studio-preview { grid-column: 2; grid-row: 1; }
.theo-production-studio[data-editor-step="1"] .theo-size-quality { grid-column: 3; grid-row: 1; }
.theo-production-studio[data-editor-step="2"] .theo-size-workspace,
.theo-production-studio[data-editor-step="2"] [data-option-section="frame"],
.theo-production-studio[data-editor-step="2"] [data-option-section="mat"],
.theo-production-studio[data-editor-step="2"] [data-option-section="services"],
.theo-production-studio[data-editor-step="2"] [data-option-section="margin"],
.theo-production-studio[data-editor-step="2"] [data-option-section="quantity"],
.theo-production-studio[data-editor-step="2"] .theo-studio-dimensions { display: none; }
.theo-production-studio[data-editor-step="3"] .theo-size-workspace,
.theo-production-studio[data-editor-step="3"] [data-option-section="method"],
.theo-production-studio[data-editor-step="3"] [data-option-section="paper"],
.theo-production-studio[data-editor-step="3"] [data-option-section="canvas"],
.theo-production-studio[data-editor-step="3"] [data-option-section="diasec"] { display: none; }

@media (max-width: 1180px) {
  .theo-studio-grid { grid-template-columns: minmax(290px, 340px) minmax(0, 1fr); }
  .theo-studio-summary { position: static; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(190px, .8fr) minmax(240px, 1.1fr) minmax(210px, .9fr); }
  .theo-studio-dimensions,
  .theo-studio-summary .theo-option-current { border-right: 1px solid var(--color-line); border-bottom: 0; }
  .theo-editor-stage { min-height: 520px; }
  .theo-production-studio[data-editor-step="1"] .theo-size-editor { grid-column: 1; grid-row: 1; }
  .theo-production-studio[data-editor-step="1"] .theo-studio-preview { grid-column: 2; grid-row: 1; }
  .theo-production-studio[data-editor-step="1"] .theo-size-quality { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 760px) {
  .theo-production-studio { margin-right: calc(var(--page-gutter) * -1); margin-left: calc(var(--page-gutter) * -1); }
  .theo-editor-journey { margin: 0 var(--page-gutter) 10px; }
  .theo-editor-journey button { min-height: 64px; padding: 10px 9px; }
  .theo-editor-journey button > strong { font-size: 14px; }
  .theo-editor-journey button > small { font-size: 14px; }
  .theo-editor-screen-heading { margin: 0 0 10px; padding: 17px var(--page-gutter); border-right: 0; border-left: 0; grid-template-columns: 1fr; gap: 6px; }
  .theo-editor-screen-heading h3 { font-size: 20px; }
  .theo-editor-screen-heading > span { font-size: 14px; }
  .theo-studio-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .theo-studio-preview { position: static; order: 1; border-right: 0; border-left: 0; }
  .theo-studio-controls { order: 2; border-right: 0; border-left: 0; }
  .theo-studio-summary { order: 3; display: grid; grid-column: auto; grid-template-columns: 1fr; border-right: 0; border-left: 0; }
  .theo-studio-dimensions,
  .theo-studio-summary .theo-option-current { border-right: 0; border-bottom: 1px solid var(--color-line); }
  .theo-studio-preview__header { min-height: 0; padding: 16px var(--page-gutter); align-items: stretch; flex-direction: column; }
  .theo-studio-preview__header h3 { font-size: 19px; }
  .theo-editor-stage { min-height: 430px; }
  .theo-editor-stage.is-empty { min-height: 300px; }
  .theo-editor-product-view { padding: 42px 34px 62px; }
  .theo-editor-product { width: 72%; }
  .theo-editor-size-lines::before { bottom: -24px; }
  .theo-editor-size-lines::after { right: -24px; }
  .theo-editor-size-lines span:first-child { bottom: -35px; }
  .theo-editor-size-lines span:last-child { right: -40px; }
  .theo-editor-note { padding-right: var(--page-gutter); padding-left: var(--page-gutter); }
  .theo-studio-controls .theo-size-editor,
  .theo-studio-controls .theo-size-quality,
  .theo-studio-controls .theo-option-builder__heading { padding-right: var(--page-gutter); padding-left: var(--page-gutter); }
  .theo-studio-controls .theo-option-error { margin-right: var(--page-gutter); margin-left: var(--page-gutter); }
  .theo-studio-controls .theo-option-accordion summary { padding-right: var(--page-gutter); padding-left: var(--page-gutter); }
  .theo-studio-controls .theo-option-panel { padding-right: var(--page-gutter); padding-left: var(--page-gutter); }
  .theo-studio-dimensions,
  .theo-studio-summary .theo-option-current,
  .theo-studio-quote { padding-right: var(--page-gutter); padding-left: var(--page-gutter); }
  .theo-production-studio[data-editor-step="1"] .theo-studio-controls,
  .theo-production-studio[data-editor-step="2"] .theo-studio-controls,
  .theo-production-studio[data-editor-step="3"] .theo-studio-controls { order: 1; }
  .theo-production-studio[data-editor-step="1"] .theo-studio-preview,
  .theo-production-studio[data-editor-step="2"] .theo-studio-preview,
  .theo-production-studio[data-editor-step="3"] .theo-studio-preview { order: 2; }
  .theo-production-studio[data-editor-step="1"] .theo-studio-controls { display: block; }
  .theo-production-studio[data-editor-step="1"] .theo-size-workspace { display: grid; }
  .theo-production-studio[data-editor-step="1"] .theo-size-editor,
  .theo-production-studio[data-editor-step="1"] .theo-size-quality,
  .theo-production-studio[data-editor-step="1"] .theo-studio-preview { grid-column: auto; grid-row: auto; }
}

@media (max-width: 390px) {
	.theo-coa-grid:not(.theo-coa-grid--edition) { grid-template-columns: 1fr; }
  .theo-editor-stage { min-height: 390px; }
  .theo-editor-product { width: 76%; }
  .theo-studio-controls .theo-size-controls { grid-template-columns: 1fr; }
  .theo-studio-controls .theo-size-unit,
  .theo-studio-controls .theo-size-lock,
  .theo-studio-controls .theo-size-swap { grid-column: auto; }
  .theo-studio-controls .theo-option-accordion summary { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .theo-studio-controls .theo-option-accordion summary > em { grid-column: 2; max-width: 100%; text-align: left; }
  .theo-studio-controls .theo-option-accordion summary::after { grid-column: 3; grid-row: 1 / span 2; }
  .theo-studio-controls .theo-margin-grid { grid-template-columns: 1fr 1fr; }
}

/* Compact, task-first order experience */
.theo-order {
  --page-gutter: 32px;
  padding-bottom: 108px;
}
.theo-order-hero {
  padding: calc(var(--order-header-height, 56px) + 22px) 0 22px;
}
.theo-order-hero__inner {
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
}
.theo-order-hero .eyebrow { margin: 0 0 6px; }
.theo-order-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.18;
}
.theo-order-hero__inner > p {
  font-size: 16px;
  line-height: 1.65;
}
.theo-order-layout {
  padding-top: 22px;
  padding-bottom: 40px;
}
.theo-order-steps { margin: 0 0 32px; }
.theo-order-steps button {
  min-height: 76px;
  padding: 13px 16px;
  align-content: center;
  gap: 2px;
}
.theo-order-steps button strong {
  align-self: auto;
  font-size: 16px;
}
.theo-order-steps button small { font-size: 14px; }
.theo-order-panel__heading {
  max-width: none;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
  grid-template-columns: 1fr;
  gap: 6px;
}
.theo-order-panel__heading h2 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.25;
}
.theo-order-panel__heading > span {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.65;
}
.theo-upload-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr);
  gap: 24px;
  align-items: stretch;
}
.theo-dropzone {
  min-height: 300px;
  padding: 40px;
  border-color: #858077;
  background: #f6f6f6;
}
.theo-dropzone:focus-within {
  border-color: var(--color-deep);
  box-shadow: inset 0 0 0 1px var(--color-deep);
}
.theo-upload-rules {
  display: grid;
  border-color: #dedbd4;
  grid-template-rows: auto 1fr auto;
  background: #f6f6f6;
}
.theo-upload-rules h3 {
  font-size: 18px;
}
.theo-upload-rules li span,
.theo-upload-rules > p {
  color: #6f6b64;
}
.theo-upload-queue {
  margin: 32px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}
.theo-upload-queue > header {
  margin-bottom: 18px;
  align-items: center;
}
.theo-upload-queue > header h3 {
  font-size: 22px;
  line-height: 1.3;
}
.theo-upload-count {
  display: inline-flex;
  min-height: 26px;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  align-items: center;
  color: var(--color-deep);
  background: #f6f6f6;
  font-size: 14px;
  font-weight: 600;
}
.theo-order.has-upload-files .theo-upload-layout { align-items: stretch; }
.theo-order.has-upload-files .theo-dropzone {
  flex: none;
  min-height: 104px;
  padding: 18px 20px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 3px 16px;
  place-items: center start;
  align-content: center;
  text-align: left;
  scroll-margin-top: calc(var(--sticky-header-height, 64px) + 16px);
  border-style: solid;
  border-color: #b9b5ac;
  background: #f6f6f6;
}
.theo-order.has-upload-files .theo-dropzone__icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-color: var(--color-deep);
  grid-row: 1 / span 2;
  color: var(--color-white);
  background: var(--color-deep);
  font-size: 20px;
  font-weight: 600;
}
.theo-order.has-upload-files .theo-dropzone > strong {
  grid-column: 2;
  align-self: end;
  font-size: 18px;
}
.theo-order.has-upload-files .theo-dropzone > p {
  margin: 0;
  grid-column: 2;
  align-self: start;
  font-size: 14px;
}
.theo-order.has-upload-files .theo-dropzone .button {
  min-width: 152px;
  grid-column: 3;
  grid-row: 1 / span 2;
}
.theo-order-toolbar {
  display: grid;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.theo-order-status {
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid var(--color-line);
  grid-template-columns: repeat(2, minmax(120px, 180px)) 1fr;
  gap: 16px;
}
.theo-order-warning {
  min-height: 64px;
  margin: 0;
  padding: 12px 16px;
  align-content: center;
}
.theo-order-warning > strong,
.theo-order-warning > span { grid-column: 2; }
.theo-order-actions {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 10px max(32px, calc((100vw - var(--content-max)) / 2));
  border-top: 1px solid var(--color-line);
  grid-template-columns: 180px minmax(0, 1fr) 220px;
  gap: 16px;
  box-shadow: 0 -10px 28px rgba(17, 17, 17, .08);
}
.theo-order-actions .button { min-height: 48px; }
.theo-order-actions .button:disabled {
  color: #777;
  border-color: #dedede;
  background: #ebebeb;
  cursor: not-allowed;
}
.theo-production-studio {
  margin-top: 0;
  scroll-margin-top: calc(var(--sticky-header-height, 64px) + 16px);
}
.theo-order.has-production-studio[data-order-step="2"] [data-order-panel="2"] > .theo-order-panel__heading,
.theo-order.has-production-studio[data-order-step="2"] [data-order-panel="2"] > .theo-size-limit-note {
  display: none;
}
.theo-order[data-order-step="2"] > .theo-order-layout > .theo-order-steps,
.theo-order[data-order-step="3"] > .theo-order-layout > .theo-order-steps,
.theo-order[data-order-step="4"] > .theo-order-layout > .theo-order-steps {
  padding-top: var(--sticky-header-height, 64px);
}
.theo-order.has-production-studio[data-order-step="2"] .theo-production-studio { margin-top: 0; }
.theo-editor-journey { margin-bottom: 18px; }
.theo-editor-journey button {
	min-height: 66px;
	padding: 11px 14px;
	align-content: center;
}
.theo-editor-screen-heading {
  margin-bottom: 24px;
  padding: 22px 24px;
  gap: 32px;
}
.theo-studio-grid { gap: 20px; }

@media (max-width: 980px) {
  .theo-order { --page-gutter: 20px; }
  .theo-order-hero { padding: calc(var(--order-header-height, 56px) + 20px) 0 20px; }
  .theo-order-hero__inner { grid-template-columns: 1fr; gap: 10px; }
  .theo-order-hero__inner > p { max-width: 70ch; }
  .theo-order-toolbar { grid-template-columns: 1fr; }
  .theo-order-status { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
  .theo-order-status .text-link { grid-column: auto; justify-self: end; }
  .theo-upload-layout { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .theo-upload-primary { display: contents; }
  .theo-dropzone { order: 1; }
  .theo-upload-rules { order: 2; }
  .theo-upload-queue { order: 3; }
  .theo-upload-error { order: 4; }
  .theo-order-actions { padding-right: 20px; padding-left: 20px; }
}

@media (max-width: 640px) {
  .theo-order {
    --page-gutter: 16px;
    padding-bottom: 92px;
  }
  .theo-order-hero {
    padding: calc(var(--order-header-height, 56px) + 12px) 0 12px;
  }
  .theo-order-hero h1 { font-size: 29px; }
  .theo-order-hero__inner { gap: 7px; }
  .theo-order-hero__inner > p { display: none; }
  .theo-order-layout {
    padding-top: 16px;
    padding-bottom: 24px;
  }
  .theo-member-preset-note { grid-template-columns: 1fr; gap: 8px; margin-bottom: 16px; padding: 16px 18px; }
  .theo-order-steps { margin: 0 calc(var(--page-gutter) * -1) 24px 0; }
  .theo-order-steps ol { width: 560px; }
  .theo-order-steps button {
    min-height: 76px;
    padding: 12px 14px;
  }
  .theo-order-panel__heading {
    margin-bottom: 24px;
    padding-bottom: 20px;
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .theo-order-panel__heading h2 {
    font-size: 27px;
    line-height: 1.28;
  }
  .theo-order-panel__heading > span {
    font-size: 14px;
    line-height: 1.6;
  }
  .theo-dropzone {
    min-height: 260px;
    padding: 28px 20px;
  }
  .theo-dropzone__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    font-size: 24px;
  }
  .theo-dropzone > strong { font-size: 21px; }
  .theo-dropzone > p {
    margin: 7px 0 18px;
    font-size: 14px;
    line-height: 1.55;
  }
  .theo-upload-queue { margin: 24px 0 0; padding-top: 22px; }
  .theo-upload-queue > header { margin-bottom: 14px; gap: 12px; }
  .theo-upload-queue > header h3 { font-size: 20px; }
  .theo-order.has-upload-files .theo-dropzone {
    min-height: 0;
    padding: 18px;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 3px 12px;
  }
  .theo-order.has-upload-files .theo-dropzone__icon {
    width: 40px;
    height: 40px;
  }
  .theo-order.has-upload-files .theo-dropzone > strong {
    grid-column: 2;
    font-size: 17px;
  }
  .theo-order.has-upload-files .theo-dropzone > p {
    grid-column: 2;
    font-size: 14px;
  }
  .theo-order.has-upload-files .theo-dropzone .button {
    width: 100%;
    margin-top: 11px;
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .theo-order-toolbar {
    margin-top: 36px;
    padding-top: 20px;
    gap: 10px;
  }
  .theo-order-status {
    min-height: 0;
    padding: 12px 14px;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }
  .theo-order-status .text-link {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .theo-order-warning {
    min-height: 0;
    padding: 12px 14px;
  }
  .theo-order-actions {
    padding: 9px 16px;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 8px;
  }
  .theo-order-actions .button { min-height: 48px; padding-right: 10px; padding-left: 10px; }
	  .theo-editor-journey { margin-bottom: 18px; }
	  .theo-editor-journey ol { width: auto; }
	  .theo-editor-journey button { min-height: 64px; }
  .theo-editor-screen-heading {
    margin-bottom: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 7px;
  }
  .theo-editor-screen-heading h3 { font-size: 21px; line-height: 1.35; }
	  .theo-studio-grid { gap: 16px; }
}

/* Keep every customer-facing select arrow inside the control by one shared inset. */
.theo-order select:not([multiple]),
.theo-checkout-shell select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 52px;
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: right var(--select-arrow-inset) center;
  background-size: var(--select-arrow-size) var(--select-arrow-size);
}

/* Step 3: quote first, optional room preview second. */
.theo-order-panel[data-order-panel="3"] > .theo-order-panel__heading { max-width: 760px; margin-bottom: 28px; }
.theo-order-resume { display: flex; margin-bottom: 20px; padding: 14px 18px; border-left: 3px solid var(--color-success); align-items: center; justify-content: space-between; gap: 20px; background: var(--color-success-bg); }
.theo-order-resume[hidden] { display: none; }
.theo-order-resume strong { font-size: 16px; }
.theo-order-resume span { color: var(--color-neutral); font-size: 14px; }
.theo-quote { min-width: 0; }
.theo-quote__header { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--color-ink); align-items: start; }
.theo-quote__header h3 { font-size: clamp(28px, 3vw, 38px); }
.theo-quote__header div > span { display: block; margin-top: 7px; color: var(--color-neutral); font-size: 14px; line-height: 1.6; }
.theo-quote-sample { margin-bottom: 20px; }
.theo-quote__layout { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) minmax(300px, 350px); gap: 20px; align-items: start; }
.theo-quote-items { min-width: 0; }
.theo-quote-item { padding: 22px; }
.theo-quote-totals { display: block; min-width: 0; margin: 0; padding: 22px; border-top: 4px solid var(--color-deep); color: var(--color-ink); background: var(--color-warm); }
.theo-quote-totals__title { display: block; margin-bottom: 10px; font-size: 18px; }
.theo-quote-totals dl > div { padding: 10px 0; border-color: var(--color-line); }
.theo-quote-totals dt { opacity: 1; color: var(--color-neutral); }
.theo-quote-totals .is-total { margin-top: 6px; padding-top: 16px; border-color: var(--color-ink); }
.theo-quote-totals .is-total dd { font-size: clamp(25px, 2.2vw, 32px); }
.theo-quote-saving { margin-top: 16px; padding: 14px; border-color: #b8d1c2; color: var(--color-ink); background: var(--color-success-bg); }
.theo-quote-saving strong { color: var(--color-success); font-size: 24px; }
.theo-quote-note { max-width: 900px; margin-top: 16px; }
.theo-quote-tools { margin-top: 36px; padding-top: 24px; }
.theo-quote-tools > header { grid-template-columns: minmax(0, 1fr) minmax(260px, 460px); }
.theo-quote-tools > header > span { text-align: right; }
.theo-quote-tools__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theo-quote-tools__actions .button--primary { grid-column: 1 / -1; }
.theo-quote-tools__actions .button--tertiary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 0; color: var(--color-deep); background: transparent; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 980px) {
  .theo-quote__layout { grid-template-columns: 1fr; }
  .theo-quote-totals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr); gap: 20px; }
  .theo-quote-totals__title { grid-column: 1 / -1; }
  .theo-quote-saving { margin-top: 0; align-self: stretch; }
}

@media (max-width: 640px) {
  .theo-order-panel[data-order-panel="3"] > .theo-order-panel__heading { margin-bottom: 20px; }
  .theo-order-resume { align-items: flex-start; flex-direction: column; gap: 4px; }
  .theo-quote__header { align-items: flex-start; }
  .theo-quote__header h3 { font-size: 28px; }
  .theo-quote-item { padding: 18px; }
  .theo-quote-totals { display: block; padding: 18px; }
  .theo-quote-saving { margin-top: 14px; }
  .theo-quote-tools { margin-top: 28px; padding-top: 20px; }
  .theo-quote-tools > header { grid-template-columns: 1fr; gap: 7px; }
  .theo-quote-tools > header > span { text-align: left; }
  .theo-quote-tools__actions { grid-template-columns: 1fr; }
  .theo-quote-tools__actions .button--primary { grid-column: auto; }
}

/* Guided order hierarchy: one clear task, one result, one next action. */
.theo-order-hero {
  padding: calc(var(--order-header-height, 56px) + 14px) 0 14px;
}
.theo-order-hero__inner {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.theo-order-hero .eyebrow { margin-bottom: 4px; font-size: 14px; }
.theo-order-hero h1 { font-size: clamp(27px, 2.3vw, 34px); }
.theo-order-hero__guide {
  display: grid;
  max-width: 520px;
  gap: 3px;
  text-align: right;
}
.theo-order-hero__guide strong { font-size: 14px; }
.theo-order-hero__guide span { color: var(--color-neutral); font-size: 14px; line-height: 1.5; }
.theo-order-layout { padding-top: 14px; }
.theo-order-toolbar {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
.theo-order-status {
  display: flex;
  min-height: 38px;
  padding: 0;
  border: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.theo-order-status div { display: flex; align-items: center; gap: 6px; }
.theo-order-status span,
.theo-order-status strong,
.theo-order-status .text-link { font-size: 14px; }
.theo-order-status strong { font-weight: 600; }
.theo-order-status .text-link { margin-left: 4px; color: var(--color-neutral); }
.theo-order-steps { margin: 0 0 30px; }
.theo-order-steps__current { display: none; }
.theo-order-steps ol { position: relative; gap: 0; }
.theo-order-steps li { position: relative; }
.theo-order-steps li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 24px;
  right: -1px;
  left: calc(50% + 20px);
  height: 1px;
  content: "";
  background: var(--color-line);
}
.theo-order-steps button {
  z-index: 1;
  min-height: 58px;
  padding: 8px 14px;
  border: 0;
  border-bottom: 2px solid var(--color-line);
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 1px 10px;
  color: var(--color-neutral);
  background: transparent;
}
.theo-order-steps button::after { display: none !important; }
.theo-order-steps button > span {
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid #bbb7ae;
  border-radius: 50%;
  grid-row: 1 / span 2;
  place-items: center;
  color: var(--color-neutral);
  background: var(--color-white);
  font-size: 14px;
  opacity: 1;
}
.theo-order-steps button strong { align-self: end; font-size: 14px; }
.theo-order-steps button small { align-self: start; margin: 0; font-size: 14px; }
.theo-order-steps button:hover { color: var(--color-ink); background: transparent; }
.theo-order-steps button[aria-disabled="true"],
.theo-order-steps button[aria-disabled="true"]:hover { color: #aaa69e; background: transparent; }
.theo-order-steps button[aria-current="step"] {
  border-color: var(--color-deep);
  color: var(--color-deep);
  background: transparent;
}
.theo-order-steps button[aria-current="step"] > span {
  border-color: var(--color-deep);
  color: var(--color-white);
  background: var(--color-deep);
}
.theo-order-steps button.is-complete { color: var(--color-ink); }
.theo-order-steps button.is-complete > span {
  border-color: var(--color-success);
  color: var(--color-success);
}
.theo-order-panel__heading,
.theo-order-panel[data-order-panel="3"] > .theo-order-panel__heading {
  max-width: 760px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  gap: 5px;
}
.theo-order-panel__eyebrow {
  color: var(--color-deep) !important;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4 !important;
}
.theo-order-panel__heading h2 { font-size: clamp(27px, 2.6vw, 36px); line-height: 1.25; }
.theo-order-panel__heading p { margin: 0; color: var(--color-neutral); font-size: 16px; line-height: 1.6; }
.theo-upload-layout { grid-template-columns: minmax(0, 1fr) 288px; gap: 18px; }
.theo-dropzone { min-height: 220px; padding: 24px 30px; }
.theo-dropzone__icon { width: 54px; height: 54px; margin-bottom: 14px; font-size: 24px; }
.theo-upload-rules { min-height: 220px; padding: 18px 22px; }
.theo-upload-rules h3 { font-size: 17px; }
.theo-upload-rules li { padding: 9px 0; grid-template-columns: 60px 1fr; }
.theo-upload-rules > p { margin-top: 10px; font-size: 14px; }
.theo-order[data-order-step="2"] > .theo-order-layout > .theo-order-steps,
.theo-order[data-order-step="3"] > .theo-order-layout > .theo-order-steps,
.theo-order[data-order-step="4"] > .theo-order-layout > .theo-order-steps { padding-top: 0; }
.theo-editor-journey {
  margin: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  background: transparent;
}
.theo-editor-journey__heading { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; border: 0; clip: rect(0 0 0 0); }
.theo-editor-journey ol { gap: 8px; }
.theo-editor-journey button {
  min-height: 54px;
  padding: 9px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  align-content: center;
  text-align: center;
  background: #f6f6f6;
}
.theo-editor-journey li:first-child button { border-left-width: 0; }
.theo-editor-journey button[aria-current="step"] {
  border-bottom-color: var(--color-deep);
  color: var(--color-deep);
  background: #f6f6f6;
  box-shadow: none;
}
.theo-editor-journey button.is-complete::after { display: none; }
.theo-editor-journey button > strong { font-size: 14px; }
.theo-editor-journey button > small { font-size: 14px; }
.theo-editor-screen-heading {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  background: transparent;
}
.theo-editor-screen-heading p { margin-bottom: 3px; font-size: 14px; }
.theo-editor-screen-heading h3 { font-size: 23px; }
.theo-editor-screen-heading > span { font-size: 14px; line-height: 1.55; }
.theo-studio-grid { grid-template-columns: minmax(290px, 318px) minmax(400px, 1fr) minmax(270px, 296px); gap: 14px; }
.theo-studio-controls,
.theo-studio-preview,
.theo-studio-summary { border-color: #d9d6ce; }
.theo-studio-controls .theo-option-builder__heading { display: none; }
.theo-studio-controls .theo-option-accordion { border-top: 0; }
.theo-studio-controls .theo-option-accordion summary { min-height: 58px; }
.theo-studio-preview__header { min-height: 72px; padding: 14px 18px; }
.theo-studio-preview__header h3 { font-size: 19px; }
.theo-studio-preview,
.theo-studio-summary { top: calc(var(--sticky-header-height, var(--header-height)) + 10px); }
.theo-quote-tools {
  margin-top: 18px;
  padding: 0;
  border: 1px solid var(--color-line);
}
.theo-quote-tools > summary {
  display: grid;
  min-height: 86px;
  padding: 16px 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  align-content: center;
  cursor: pointer;
  list-style: none;
}
.theo-quote-tools > summary::-webkit-details-marker { display: none; }
.theo-quote-tools > summary > span { color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-quote-tools > summary > strong { grid-column: 1; font-size: 18px; }
.theo-quote-tools > summary > small { grid-column: 1; color: var(--color-neutral); font-size: 14px; }
.theo-quote-tools > summary > em { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--color-neutral); font-size: 14px; font-style: normal; }
.theo-quote-tools[open] > summary { border-bottom: 1px solid var(--color-line); }
.theo-quote-tools__body { padding: 20px; }
.theo-quote-tools__body > p { margin: 0; color: var(--color-neutral); font-size: 14px; }
.theo-quote-tools__actions { margin-top: 14px; }
.theo-artplacer-order { margin-top: 12px; }
.theo-cart-summary .button--primary { min-height: 50px; }
.theo-order-actions { grid-template-columns: 168px minmax(0, 1fr) 240px; }

/* Checkout is a four-screen task flow, not one long form. */
.theo-checkout-modal { width: min(1060px, calc(100vw - 40px)); }
.theo-checkout-modal__header { min-height: 78px; padding: 15px 22px; }
.theo-checkout-modal__header h2 { font-size: 23px; }
.theo-checkout-modal__header span { display: block; margin-top: 3px; color: var(--color-neutral); font-size: 14px; }
.theo-checkout-warning {
  display: flex;
  min-height: 42px;
  margin: 16px 22px 0;
  padding: 10px 13px;
  align-items: center;
  gap: 8px;
}
.theo-checkout-warning::before { display: none; }
.theo-checkout-warning > strong,
.theo-checkout-warning > span { grid-column: auto; }
.theo-checkout-warning > strong { flex: none; font-size: 14px; }
.theo-checkout-warning > span { font-size: 14px; line-height: 1.45; }
.theo-checkout-progress {
  display: flex;
  min-height: 58px;
  margin: 0 22px;
  border-bottom: 1px solid var(--color-line);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.theo-checkout-progress > div { display: flex; align-items: center; gap: 10px; }
.theo-checkout-progress > div span { color: var(--color-neutral); font-size: 14px; font-weight: 600; }
.theo-checkout-progress > div strong { font-size: 16px; }
.theo-checkout-progress ol { display: grid; width: min(44%, 280px); margin: 0; padding: 0; grid-template-columns: repeat(4, 1fr); gap: 5px; list-style: none; }
.theo-checkout-progress li { height: 3px; background: #ddd9d1; }
.theo-checkout-progress li.is-active { background: var(--color-deep); }
.theo-checkout-progress li.is-complete { background: var(--color-success); }
.theo-checkout-layout { padding: 18px 22px 22px; grid-template-columns: 292px minmax(0, 1fr); gap: 18px; }
.theo-checkout-summary { top: 96px; padding: 0; }
.theo-checkout-summary > summary { display: none; }
.theo-checkout-summary__body { padding: 19px; }
.theo-checkout-summary__body > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: start; }
.theo-checkout-summary__body > header p { grid-column: 1 / -1; margin: 0; color: var(--color-neutral); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.theo-checkout-summary__body > header h3 { margin: 0; font-size: 20px; }
.theo-checkout-summary__body > p { margin: 12px 0 0; color: var(--color-neutral); font-size: 14px; line-height: 1.55; }
.theo-checkout-section[hidden] { display: none !important; }
.theo-checkout-section { min-height: 360px; padding: 24px; }
.theo-checkout-section > header { grid-template-columns: 1fr; }
.theo-checkout-section > header > span { display: none; }
.theo-checkout-section > header h3 { font-size: 22px; }
.theo-checkout-fields { gap: 14px; }
.theo-checkout-actions { min-height: 76px; padding: 11px 22px; grid-template-columns: auto minmax(0, 1fr) auto; }
.theo-checkout-actions > [hidden] { display: none !important; }
.theo-checkout-actions .button--primary { min-width: 220px; }
.theo-checkout-actions > div strong { font-size: 20px; }

@media (min-width: 721px) and (max-height: 800px) {
  .theo-order-panel__heading,
  .theo-order-panel[data-order-panel="3"] > .theo-order-panel__heading { margin-bottom: 16px; }
  .theo-order-panel__heading h2 { font-size: 28px; }
  .theo-dropzone,
  .theo-upload-rules { min-height: 188px; }
  .theo-dropzone { padding: 17px 24px; }
  .theo-dropzone__icon { width: 44px; height: 44px; margin-bottom: 8px; font-size: 21px; }
  .theo-dropzone > p { margin: 5px 0 10px; }
  .theo-upload-rules { padding: 14px 18px; }
  .theo-upload-rules h3 { margin-bottom: 9px; }
  .theo-upload-rules li { padding: 6px 0; }
  .theo-upload-rules > p { display: none; }
}

@media (max-width: 1100px) {
  .theo-studio-grid { grid-template-columns: minmax(280px, 330px) minmax(0, 1fr); }
  .theo-studio-summary { position: static; grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .theo-order-hero__guide { max-width: 420px; }
  .theo-upload-layout { grid-template-columns: 1fr; }
  .theo-upload-rules { min-height: 0; }
  .theo-studio-grid { grid-template-columns: minmax(280px, 330px) minmax(0, 1fr); }
  .theo-checkout-layout { grid-template-columns: 260px minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .theo-order-hero { padding: calc(var(--order-header-height, 56px) + 10px) 0 10px; }
  .theo-order-hero__inner { min-height: 44px; }
  .theo-order-hero h1 { font-size: 25px; }
  .theo-order-hero__guide { display: none; }
  .theo-order-layout { padding-top: 10px; }
  .theo-order-status { min-height: 34px; justify-content: space-between; gap: 8px; }
  .theo-order-status div:first-child { display: none; }
  .theo-order-status .text-link { margin-left: auto; }
  .theo-order-steps { margin: 0 0 22px; }
  .theo-order-steps__current {
    display: flex;
    min-height: 62px;
    padding: 10px 0;
    border: solid var(--color-line);
    border-width: 1px 0;
    align-items: center;
    gap: 14px;
  }
  .theo-order-steps__current > span { display: grid; width: 44px; height: 32px; place-items: center; color: var(--color-white); background: var(--color-deep); font-size: 14px; font-weight: 600; }
  .theo-order-steps__current > div { display: grid; gap: 2px; }
  .theo-order-steps__current strong { font-size: 16px; }
  .theo-order-steps__current small { color: var(--color-neutral); font-size: 14px; }
  .theo-order-steps ol { display: none; }
  .theo-order-panel__heading,
  .theo-order-panel[data-order-panel="3"] > .theo-order-panel__heading { margin-bottom: 18px; }
  .theo-order-panel__heading h2 { font-size: 25px; }
  .theo-order-panel__heading p { font-size: 14px; }
  .theo-dropzone { min-height: 210px; }
  .theo-editor-journey { margin: 0 0 14px; }
  .theo-editor-journey ol { display: grid; }
  .theo-editor-journey button { min-height: 52px; padding: 8px 5px; }
  .theo-editor-journey button > strong { font-size: 14px; }
  .theo-editor-journey button > small { display: none; }
  .theo-editor-screen-heading { margin-bottom: 12px; padding-bottom: 12px; grid-template-columns: 1fr; gap: 5px; }
  .theo-editor-screen-heading h3 { font-size: 21px; }
  .theo-editor-screen-heading > span { font-size: 14px; }
  .theo-studio-grid { grid-template-columns: 1fr; gap: 12px; }
  .theo-production-studio[data-editor-step="1"] .theo-studio-controls,
  .theo-production-studio[data-editor-step="2"] .theo-studio-controls,
  .theo-production-studio[data-editor-step="3"] .theo-studio-controls { order: 1; }
  .theo-production-studio[data-editor-step="1"] .theo-studio-preview,
  .theo-production-studio[data-editor-step="2"] .theo-studio-preview,
  .theo-production-studio[data-editor-step="3"] .theo-studio-preview { position: static; order: 3; }
  .theo-studio-summary { order: 2; }
  .theo-quote-tools > summary { min-height: 82px; padding: 14px 16px; }
  .theo-quote-tools__body { padding: 16px; }
  .theo-order-actions { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .theo-order-actions > p { display: none; }
  .theo-checkout-shell { display: block; padding: 0; }
  .theo-checkout-modal { width: 100%; height: 100svh; max-height: none; }
  .theo-checkout-modal__header { min-height: 68px; padding: 10px 16px; }
  .theo-checkout-modal__header h2 { font-size: 19px; }
  .theo-checkout-modal__header span { display: none; }
  .theo-checkout-warning { margin: 10px 16px 0; padding: 8px 10px; }
  .theo-checkout-warning > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .theo-checkout-progress { min-height: 52px; margin: 0 16px; gap: 14px; }
  .theo-checkout-progress ol { width: 42%; }
  .theo-checkout-layout { display: flex; padding: 14px 16px 92px; flex-direction: column; gap: 12px; }
  .theo-checkout-fields { order: 1; }
  .theo-checkout-summary { position: static; order: 2; }
  .theo-test-checkout[data-checkout-step="4"] .theo-checkout-summary { order: 1; }
  .theo-test-checkout[data-checkout-step="4"] .theo-checkout-fields { order: 2; }
  .theo-checkout-summary > summary {
    display: grid;
    min-height: 58px;
    padding: 10px 14px;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    align-content: center;
    cursor: pointer;
    list-style: none;
  }
  .theo-checkout-summary > summary::-webkit-details-marker { display: none; }
  .theo-checkout-summary > summary span { color: var(--color-neutral); font-size: 14px; }
  .theo-checkout-summary > summary strong { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 20px; }
  .theo-checkout-summary > summary em { color: var(--color-deep); font-size: 14px; font-style: normal; }
  .theo-checkout-summary[open] > summary { border-bottom: 1px solid var(--color-line); }
  .theo-checkout-summary__body { padding: 16px; }
  .theo-checkout-section { min-height: 0; padding: 18px 16px; }
  .theo-checkout-section > header h3 { font-size: 20px; }
  .theo-checkout-actions { min-height: 72px; padding: 9px 12px; grid-template-columns: auto minmax(0, 1fr) minmax(150px, 1.25fr); gap: 8px; }
  .theo-checkout-actions > div { justify-content: center; }
  .theo-checkout-actions > div span { display: none; }
  .theo-checkout-actions > div strong { font-size: 16px; }
  .theo-checkout-actions .button { min-height: 48px; padding: 8px 10px; font-size: 14px; }
  .theo-checkout-actions .button--primary { min-width: 0; }
  .theo-test-checkout:not([data-checkout-step="4"]) .theo-checkout-actions > div { visibility: hidden; }
  .theo-checkout-actions > .button--secondary { grid-column: auto; min-width: 84px; order: initial; }
}

/* Checkout: one reading column inside the actual modal, independent of viewport. */
.theo-modal__panel.theo-checkout-modal { width: min(800px, calc(100vw - 32px)); max-width: 100%; padding: 0; container-type: inline-size; }
.theo-checkout-modal .theo-checkout-layout { display: flex; flex-direction: column; gap: 20px; padding: 20px 24px 24px; }
.theo-checkout-modal .theo-checkout-fields { order: 1; width: 100%; min-width: 0; gap: 20px; }
.theo-checkout-modal .theo-checkout-summary { position: static; order: 2; width: 100%; min-width: 0; padding: 0; }
.theo-checkout-modal .theo-test-checkout[data-checkout-step="4"] .theo-checkout-summary { order: 0; }
.theo-checkout-modal .theo-checkout-section { min-width: 0; min-height: 0; padding: 24px; }
.theo-checkout-modal .theo-checkout-section .field { align-content: start; }
.theo-checkout-modal .theo-checkout-field-grid { gap: 20px 16px; }
.theo-checkout-modal .theo-checkout-section .field input { box-sizing: border-box; height: 52px; }
.theo-checkout-modal .theo-library-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.theo-checkout-modal [data-coupon-status] { margin: 12px 0 0; }
.theo-order-page .toast { width: max-content; max-width: min(420px, calc(100vw - 32px)); box-sizing: border-box; bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 720px) {
  .theo-order-page .toast { bottom: calc(176px + env(safe-area-inset-bottom, 0px)); }
}
.theo-checkout-modal .theo-checkout-summary > summary { display: grid; min-height: 72px; padding: 16px 20px; grid-template-columns: minmax(0,1fr) auto; gap: 4px 16px; align-items: center; cursor: pointer; list-style: none; }
.theo-checkout-modal .theo-checkout-summary > summary::-webkit-details-marker { display: none; }
.theo-checkout-modal .theo-checkout-summary > summary > span { grid-area: 1 / 1; font-size: 14px; color: var(--color-neutral); }
.theo-checkout-modal .theo-checkout-summary > summary > strong { grid-area: 1 / 2; font-size: 22px; }
.theo-checkout-modal .theo-checkout-summary > summary > em { grid-area: 2 / 2; font-size: 14px; font-style: normal; text-align: right; color: var(--color-deep); }
.theo-checkout-modal .theo-checkout-summary > summary > small { grid-area: 2 / 1; margin: 0; font-size: 14px; }
.theo-checkout-modal .theo-checkout-summary[open] > summary { border-bottom: 1px solid var(--color-line); }
.theo-checkout-modal .theo-checkout-summary__body { padding: 20px; }
.theo-checkout-modal .theo-checkout-items { max-height: none; overflow: visible; grid-template-columns: 1fr; }
.theo-checkout-modal .theo-checkout-items strong { white-space: normal; overflow-wrap: anywhere; }
.theo-checkout-modal .theo-checkout-actions { display: flex; flex-direction: row; align-items: center; gap: 16px; padding: 14px 24px; min-height: 80px; }
.theo-checkout-modal .theo-checkout-actions .button { width: auto; }
.theo-checkout-modal .theo-checkout-actions > div { margin-left: auto; }
.theo-checkout-modal .theo-test-checkout:not([data-checkout-step="4"]) .theo-checkout-actions > div { display: none; }
.theo-checkout-modal .theo-checkout-actions .button--primary { margin-left: auto; min-width: 220px; }
@container (max-width: 560px) {
  .theo-checkout-modal .theo-checkout-layout { padding: 16px; gap: 16px; }
  .theo-checkout-modal .theo-checkout-section { padding: 20px 16px; }
  .theo-checkout-modal .theo-library-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theo-checkout-modal .theo-library-actions .button { width: 100%; min-width: 0; padding: 12px; }
  .theo-checkout-modal .theo-checkout-field-grid { grid-template-columns: 1fr; gap: 16px; }
  .theo-checkout-modal .theo-checkout-field-grid .is-wide { grid-column: auto; }
  .theo-checkout-modal .theo-checkout-actions { gap: 10px; padding: 12px 16px; flex-wrap: wrap; }
  .theo-checkout-modal .theo-checkout-actions .button--primary { min-width: 0; flex: 1; }
  .theo-checkout-modal .theo-checkout-actions > div { width: 100%; order: -1; margin: 0; text-align: right; }
  .theo-checkout-modal .theo-checkout-summary > summary { padding: 14px 16px; gap: 4px 10px; }
  .theo-checkout-modal .theo-checkout-summary > summary > strong { font-size: 20px; }
}
@media (max-width: 720px) {
  .theo-modal__panel.theo-checkout-modal { width: 100%; max-height: 100svh; }
}
.theo-member-file-dialog { width: min(760px,calc(100vw - 32px)); max-height: calc(100svh - 40px); padding: 24px; border: 1px solid #dedede; color:#172938; background:#fff; overflow:auto; }
.theo-member-file-dialog::backdrop { background:rgba(15,24,31,.55); }
.theo-member-file-dialog > header,.theo-member-file-dialog > footer { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.theo-member-file-dialog h3 { margin:0; font-size:24px; }
.theo-member-file-dialog p { margin:8px 0 20px; }
.theo-member-file-choice { display:flex; align-items:center; gap:16px; padding:16px; border-top:1px solid #dedede; min-height:72px; cursor:pointer; }
.theo-member-file-choice input { flex:none; width:20px; height:20px; }
.theo-member-file-choice span { min-width:0; display:grid; gap:8px; }
.theo-member-file-choice strong { overflow-wrap:anywhere; }
.theo-member-file-choice small { color:#6b6b6b; }
.theo-member-file-choice:has(input:checked) { background:#f6f6f6; }
.theo-member-file-dialog > footer { border-top:1px solid #dedede; padding-top:20px; margin-top:16px; }
.theo-member-file-dialog > footer span { font-size: 14px; color:#6b6b6b; }
.theo-dropzone [data-member-files-open] { margin:12px 0 0; }
.theo-dropzone.is-compact [data-member-files-open] { margin:0; }
@media(max-width:600px) { .theo-member-file-dialog { padding:16px; } .theo-member-file-dialog > footer { flex-direction:column; align-items:stretch; } .theo-member-file-dialog h3 { font-size:20px; } }
.theo-option-image { display:block; width:112px; height:84px; object-fit:contain; border:1px solid #dedede; background:#fff; margin-top:8px; }
.theo-filter-chip>img{width:28px;height:28px;object-fit:cover;border-radius:2px;flex-shrink:0}
