/* A compact, technical storefront. Theme tokens also support dark appearance. */
.storefront {--radius:6px;--shadow:none;line-height:1.5}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.storefront h1,.storefront h2,.storefront h3,.storefront h4{font-family:inherit;letter-spacing:-.025em}
.storefront .site-header{max-width:1176px;height:84px;padding:0 28px;border-bottom:1px solid var(--line)}
.storefront .brand{font-size:21px;font-weight:700;letter-spacing:-.5px}
.storefront .brand-icon{transform:none;border-radius:6px;padding:9px 7px;font-size:20px}
.storefront .brand-sub{font-size:8px;letter-spacing:1.1px;font-weight:500}
.storefront .site-header nav{gap:26px;font-size:14px;font-weight:500}
.storefront .nav-action{display:none}
.workshop-intro{max-width:1176px;margin:auto;padding:36px 28px 32px;display:grid;grid-template-columns:1.15fr 1fr;align-items:end;gap:40px}
.location-note{font-size:12px;color:var(--muted);margin:0 0 10px}
.workshop-intro h1{font-size:clamp(28px,3.1vw,38px);font-weight:600;line-height:1.15;letter-spacing:-.045em;margin:0;max-width:510px}
.workshop-intro>p{font-size:14px;color:var(--muted);line-height:1.7;margin:0;max-width:440px}

.storefront .section-wrap{max-width:1120px;margin:auto;padding:0}
.storefront .workbench{padding-bottom:28px;scroll-margin-top:20px}
.workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}.workbench-heading h2{font-size:17px;font-weight:600;letter-spacing:-.2px}.workbench-heading>span{font-size:12px;color:var(--muted)}
.use-note{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:16px 0 0;font-size:11px;color:var(--muted);line-height:1.6}
.use-note>span{max-width:70%}.use-note details{max-width:350px}.use-note summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;min-height:28px}.use-note details p{font-size:12px;margin:12px 0}.use-note details a{display:block;margin-bottom:12px}
.storefront .workbench-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--white)}
.storefront .workbench-grid>.panel{border:0;border-radius:0;min-width:0;height:100%}.storefront .workbench-grid>.settings-panel{border-left:1px solid var(--line)}
.storefront .panel{box-shadow:none}
.storefront .panel-heading{padding:20px 24px 0;border-bottom:0;min-height:48px}
.storefront .panel-heading h3{font-size:16px;font-weight:600}
.storefront .step{font-family:inherit;font-size:11px;background:none;color:var(--muted);min-width:23px;height:23px;border:1px solid var(--line);border-radius:4px}
.storefront .small-label{font-family:inherit;font-size:11px;letter-spacing:0}
.storefront .drop-zone{margin:24px;min-height:300px;padding:40px 20px;background:var(--paper);border-color:var(--control-line);border-radius:4px}
.storefront .drop-zone.dragging{background:var(--accent-soft);border-color:var(--mint-dark)}
.storefront .upload-symbol{border:0;background:none;width:48px;height:48px;color:var(--mint-dark);margin-bottom:14px}
.storefront .drop-zone h4{font-size:19px;font-weight:600;margin-bottom:8px}
.storefront .drop-zone p{font-size:13px;line-height:1.6;margin-bottom:22px}
.storefront .drop-zone small{font-size:11px;color:var(--muted);margin-top:18px;line-height:1.7}
.storefront .button{min-height:46px;font-size:14px;border-radius:4px;padding:13px 19px;gap:14px;font-weight:600;box-shadow:none;transition:background .15s}
.storefront .button:hover:not(:disabled){transform:none}
.storefront .drop-zone .button{font-size:14px;padding:13px 24px}
.storefront .settings-panel form{padding:24px}
.storefront .field{margin-bottom:18px}
.storefront .field label{font-size:14px;font-weight:600;margin-bottom:7px}
.storefront .field input,.storefront .field select,.storefront .field textarea{font-size:16px;min-height:46px;border-color:var(--control-line);padding:10px 12px}
.storefront .field select{padding-right:30px}
.storefront .field-help,.storefront #material-help{font-size:12px;line-height:1.65}
.storefront #material-help{margin-top:10px}
.storefront .stock-info{font-size:12px;margin:-8px 0 12px}
.storefront .availability-info{border:0;border-left:2px solid var(--mint-dark);border-radius:0;padding:6px 12px;margin:0 0 20px;background:none}
.storefront .availability-info.orderable{border-color:var(--warning)}
.storefront .availability-info strong{font-size:13px;margin-bottom:2px}
.storefront .availability-info p{font-size:12px;line-height:1.65}
.quantity-counter { display: grid; grid-template-columns: 46px 4rem 46px; width: fit-content; }
.quantity-counter button {
  min-height: 46px; padding: 0; border: 1px solid var(--control-line);
  background: var(--paper); color: var(--ink); font-size: 20px; line-height: 1;
}
.quantity-counter button:first-child { border-radius: 5px 0 0 5px; }
.quantity-counter button:last-child { border-radius: 0 5px 5px 0; }
.quantity-counter button:hover:not(:disabled) { background: var(--accent-soft); }
.storefront .quantity-counter input {
  appearance: textfield; -moz-appearance: textfield; position: relative; min-width: 0;
  border-inline: 0; border-radius: 0; padding-inline: 4px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.quantity-counter input::-webkit-inner-spin-button,
.quantity-counter input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-counter :focus-visible { position: relative; z-index: 1; }
.print-details{margin-top:8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.print-details summary{padding:15px 0;font-size:13px;font-weight:600;cursor:pointer;line-height:1.5;min-height:48px}
.print-details summary>span{font-size:12px;color:var(--muted);font-weight:400;display:block;padding-left:17px;margin-top:3px}
.print-details-content{padding:0 0 6px}.print-details-content>.field-help:first-child{margin:0 0 18px}.print-details-content>.field-help{margin-bottom:16px}
.storefront .quote-card{margin-top:22px;padding:18px;background:var(--surface-soft);border-radius:4px}
.storefront .quote-heading{font-size:12px;font-weight:500}
.storefront .pill{border:0;font-family:inherit;font-size:11px;padding:0;letter-spacing:0;color:var(--muted)}
.storefront .quote-price{font-size:34px;font-weight:600;margin:14px 0 8px}
.storefront .quote-card>p:not(.quote-price),.storefront .quote-details{font-size:12px}
.storefront .quote-details{border-top-color:var(--line)}
.storefront .native-upload-help{font-size:12px;margin:0 24px 22px;padding-top:8px;border-top:0}
.storefront .native-upload-help summary{padding:8px 0;color:var(--muted);font-weight:400}
.storefront .native-upload-help>p{font-size:12px}
.storefront .project-files{padding:20px 24px}.storefront .project-file strong{font-size:13px}.storefront .project-file small{font-size:12px}
.storefront .project-files>button{font-size:13px}
.storefront .text-button{min-height:44px;font-size:12px}
.storefront .file-summary strong{font-size:14px}.storefront .file-summary span:not(.file-symbol){font-size:12px}
.storefront .analysis-summary{padding:22px 24px}.storefront .fine-print{font-size:12px!important}.storefront .warning-list{font-size:12px}.storefront .model-metrics dt{font-size:12px}.storefront .model-metrics dd{font-size:14px}.storefront .badge{font-size:12px}
.storefront .eyebrow{font-size:12px;letter-spacing:0;font-weight:500;margin-bottom:12px;color:var(--muted)}
.storefront .request-panel{grid-template-columns:.8fr 1.2fr;gap:34px;padding:28px}
.storefront .request-panel h3{font-size:27px;font-weight:500;line-height:1.3;margin-bottom:16px}
.storefront .request-panel>div>p:not(.eyebrow){font-size:14px;line-height:1.7}
.storefront .checkbox-label{font-size:13px}.storefront .checkbox-label input{width:18px;height:18px}
.storefront .request-rights{font-size:12px}.storefront .request-rights>span{font-size:11px}
.material-guide{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.material-guide>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;cursor:pointer;min-height:64px}
.material-guide>summary::-webkit-details-marker{display:none}
.material-guide>summary strong{display:block;font-size:18px;font-weight:600;letter-spacing:-.3px}
.material-guide>summary>span>span{display:block;color:var(--muted);font-size:13px;margin-top:6px;line-height:1.6}
.details-action{font-size:13px;color:var(--mint-dark);white-space:nowrap}.material-guide[open] .details-action{font-size:0}.material-guide[open] .details-action:after{content:'Schließen −';font-size:13px}
.material-guide-content{padding:0 0 28px}.material-timing{max-width:760px;color:var(--muted);font-size:13px;margin:0 0 24px}
.storefront .material-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.storefront .material-card{padding:20px;border-radius:5px}.storefront .material-card h3{font-size:18px}.storefront .material-card .material-description{font-size:13px;line-height:1.65;margin:8px 0 14px}
.storefront .catalog-color-button{min-height:74px}.storefront .material-card .catalog-selection{font-size:12px}
.storefront .process-section{display:block;padding:36px 0 44px}
.storefront .process-section h2{font-size:18px;font-weight:600;margin:0 0 20px}
.storefront .process-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.storefront .process-steps article,.storefront .process-steps article:first-child{border:0;padding:0;gap:12px}
.storefront .process-steps article>span{font-size:13px;padding-top:2px;color:var(--muted)}
.storefront .process-steps h3{font-size:14px;font-weight:600;letter-spacing:0;margin-bottom:7px}.storefront .process-steps p{font-size:13px;line-height:1.7}
.storefront footer{background:var(--paper);color:var(--ink);border-top:1px solid var(--line);padding:28px max(28px,calc((100vw - 1120px)/2));gap:24px;align-items:flex-start}
.storefront footer .brand{font-size:17px}.storefront footer .brand-icon{font-size:16px;padding:8px 6px}.storefront footer p,.storefront footer nav a,.storefront .cookie-short-note{color:var(--muted)}
.storefront footer nav{gap:12px 20px;max-width:460px;font-size:12px}.storefront .cookie-short-note{font-size:11px}
.storefront summary:focus-visible{outline:3px solid var(--mint-dark);outline-offset:4px}
@media(max-width:1200px){.storefront .section-wrap{margin-inline:28px}}
@media(max-width:900px){.storefront .workbench-grid{gap:0}.storefront .panel-heading{padding:18px 20px 0}.storefront .panel-heading h3{gap:8px;font-size:15px}.storefront .settings-panel form{padding:20px}.storefront .drop-zone{margin:20px;padding-inline:16px}.use-note{display:block}.use-note>span{max-width:none}.use-note details{max-width:100%;margin-top:5px}.storefront .material-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.storefront footer{flex-wrap:wrap}}
@media(max-width:760px){.storefront .site-header{height:78px;padding:0 20px;gap:12px}.storefront .brand{font-size:18px;gap:8px}.storefront .brand-icon{font-size:18px;padding:8px 6px}.storefront .brand-sub{font-size:7px;letter-spacing:.8px}.storefront .site-header nav{gap:12px;font-size:12px}.storefront .site-header nav #account-nav{display:block}.storefront .site-header nav>a:not(#account-nav){display:none}.workshop-intro{padding:26px 20px 28px;display:block}.workshop-intro h1{font-size:30px;max-width:420px;margin-bottom:12px}.workshop-intro>p{font-size:13px;line-height:1.7;max-width:420px}.location-note{font-size:12px;margin-bottom:10px}.desktop-break{display:none}.storefront .section-wrap{margin-inline:20px}.storefront .workbench-grid{grid-template-columns:minmax(0,1fr);gap:0}.storefront .workbench-grid>.settings-panel{border-left:0;border-top:1px solid var(--line)}.workbench-heading{align-items:flex-start;flex-direction:column;gap:6px;margin-bottom:14px}.workbench-heading>span{font-size:11px}.use-note{font-size:11px;margin-top:14px}.use-note summary{min-height:32px;padding-top:4px}.storefront .drop-zone{min-height:260px;padding:26px 16px;margin:20px}.storefront .drop-zone h4{font-size:18px}.storefront .drop-zone p{font-size:12px}.storefront .small-label{font-size:10px}.storefront .settings-panel .two-fields{grid-template-columns:1fr 1fr}.storefront .request-panel{grid-template-columns:1fr;padding:22px;gap:8px}.storefront .request-panel h3{font-size:25px}.storefront .request-panel .two-fields{grid-template-columns:1fr}.storefront .request-panel .field{margin-bottom:16px}.storefront .request-panel>div>p:not(.eyebrow){font-size:13px}.storefront .material-catalog{grid-template-columns:1fr}.material-guide>summary{padding:22px 0;gap:14px}.material-guide>summary strong{font-size:17px}.material-guide>summary>span>span{font-size:12px}.details-action{font-size:12px}.material-guide[open] .details-action:after{font-size:12px}.storefront .process-section{padding:28px 0 32px}.storefront .process-steps{grid-template-columns:1fr;gap:22px}.storefront .process-section h2{font-size:17px}.storefront footer{padding:25px 20px;display:flex;flex-wrap:wrap;gap:22px}.storefront footer nav{justify-content:flex-start;gap:12px 20px;width:100%;font-size:12px}.storefront footer>p{display:block;font-size:11px;flex:1}.storefront .cookie-short-note{font-size:10px}.storefront .project-summary{padding:22px}}
@media(max-width:360px){.storefront .site-header{padding-inline:14px;gap:7px}.storefront .site-header nav{gap:7px}.storefront .brand-sub{letter-spacing:0}.storefront .section-wrap{margin-inline:16px}.workshop-intro{padding-inline:16px}.workshop-intro h1{font-size:30px}.storefront .panel-heading{padding:16px 16px 0}.storefront .drop-zone{margin:16px}}

.estimate-notes{font-size:12px;margin:14px 0;color:var(--muted)}.estimate-notes summary{cursor:pointer;min-height:36px;padding:8px 0;line-height:1.6}.estimate-notes .fine-print{margin-top:8px}
.storefront #account-nav{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:360px){.storefront .site-header nav{flex-wrap:nowrap}}

/* The form and material guide use the same stock-first color choices. */
.filament-picker { min-width: 0; padding: 0; margin: 0 0 16px; border: 0; }
.filament-picker legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; }
.filament-picker .catalog-color-button { min-height: 60px; border-radius: 4px; font-size: 13px; line-height: 1.3; position: relative; }
.filament-picker .catalog-color-button[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 7px; right: 8px; color: var(--mint-dark); font-weight: 700; }
.filament-picker .catalog-color-more { margin-top: 8px; }
.filament-picker .catalog-color-more:first-child { margin-top: 0; }
.selected-filament { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.selected-filament .swatch { flex: 0 0 auto; }
.selected-filament #availability-label { margin: 0; }
.selected-filament #availability-label::before { content: '· '; }
.storefront .availability-info p { margin: 3px 0 0; }
.storefront .project-material-wait { font-size: 14px; color: var(--ink); }

.band-editor { margin: -8px 0 16px; }
.band-editor .field-help { margin: 0 0 10px; }
.band-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6em, .6fr); gap: 0 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.band-row .field { min-width: 0; margin: 0; }
.band-row input, .band-row select { box-sizing: border-box; width: 100%; min-width: 0; font-size: 16px; }
.band-row .band-remove { justify-self: start; grid-column: 1 / -1; }
@media (max-width: 360px) {
  .band-row { grid-template-columns: minmax(0, 1fr); gap: 5px; }
}

.band-preview:not([hidden]) { display: flex; overflow: hidden; height: 12px; margin-bottom: 8px; border: 1px solid var(--control-line); border-radius: 3px; }
.band-preview span { min-width: 1px; flex-basis: 0; }

.color-menu { min-width: 0; }
.color-menu-toggle, .color-menu-option {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px;
  padding: 9px 12px; color: var(--ink); background: var(--white); font: inherit;
  font-size: 14px; line-height: 1.35; text-align: start; cursor: pointer;
}
.color-menu-toggle { border: 1px solid var(--control-line); border-radius: 5px; }
.color-menu-toggle::after {
  content: ''; width: 8px; height: 8px; margin-inline-start: auto; flex: 0 0 auto;
  border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
}
.color-menu-toggle[aria-expanded=true]::after { transform: translateY(2px) rotate(225deg); }
.color-menu-panel { margin-top: 4px; padding: 5px; border: 1px solid var(--control-line); border-radius: 5px; background: var(--white); }
.color-menu-list { max-height: min(22rem, 48vh); overflow-y: auto; overscroll-behavior-y: contain; }
.color-menu-heading, .color-menu-empty { margin: 0; padding: 9px 10px 5px; color: var(--muted); font-size: 13px; font-weight: 600; }
.color-menu-group + .color-menu-group:not([hidden]) { border-top: 1px solid var(--line); }
.color-menu-option { border: 0; border-radius: 3px; }
.color-menu-option[aria-pressed=true] { color: var(--mint-dark); background: var(--accent-soft); }
.color-menu-option[aria-pressed=true]::after { content: '✓'; margin-inline-start: auto; font-weight: 700; }
.color-menu-option:focus-visible { outline-offset: -3px; }
@media (hover: hover) { .color-menu-option:hover { background: var(--surface-hover); } }
.color-menu-name, .color-menu-toggle > span { overflow-wrap: anywhere; }
.color-menu-name small { display: block; font-size: 12px; color: var(--muted); }
.color-menu .swatch { width: 30px; height: 30px; flex: none; border: 1px solid var(--control-line); border-radius: 50%; box-shadow: none; }
.storefront .swatch-unknown { background: repeating-linear-gradient(135deg, var(--white) 0 3px, var(--control-line) 3px 4px); }
.storefront .color-menu-search {
  box-sizing: border-box; width: 100%; min-height: 44px; margin: 0 0 4px; padding: 8px 10px;
  color: var(--ink); background: var(--white); border: 1px solid var(--control-line); border-radius: 3px; font: inherit; font-size: 16px;
}

.part-editor .field-help { margin: 0 0 12px; }
.part-color-row { margin: 0 0 12px; }
.part-color-label, .part-review-choice { display: flex; align-items: center; gap: 8px; }
.part-color-label { margin-bottom: 5px; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
.part-color-label .swatch { width: 26px; height: 26px; flex: none; }
.part-review-choice { min-height: 44px; font-size: 14px; line-height: 1.4; }
.storefront #part-review { width: 18px; height: 18px; flex: none; margin: 0; }
.build-volume-notice { margin: 12px 24px; padding: 6px 12px; border-left: 3px solid currentColor; color: var(--ink); }
.build-volume-notice p { margin: 4px 0; font-size: 14px; line-height: 1.45; }

.storefront .catalog-special{grid-column:1/-1}
.storefront .special-materials>summary,.storefront .catalog-special>summary{padding:.65rem 0;cursor:pointer;font-weight:600}
.storefront #special-material-options{display:flex;flex-wrap:wrap;gap:.5rem}

.workshop-colors { list-style: none; padding: 0; }
.workshop-colors li { display: flex; align-items: center; gap: .55rem; border-bottom: 1px solid var(--line); }
.workshop-colors li:last-child { border-bottom: 0; }
.workshop-colors a { flex: 1; padding: .68rem 0; }

.filament-line + .filament-line { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.filament-line > h4 { margin: 0 0 8px; font-size: 14px; line-height: 1.4; }
.storefront .basic-colors .catalog-color-button { min-height: 78px; padding: 10px; font-size: 14px; }
.storefront .catalog-color-button .swatch { width: 38px; height: 38px; border: 1px solid var(--control-line); }
.storefront .basic-colors .catalog-color-button .swatch { width: 44px; height: 44px; }
.selected-filament .swatch, .workshop-colors .swatch { width: 28px; height: 28px; }
