/* HEBA Skibändeli Konfigurator – übernimmt Schrift und Grundfarben des Themes */
.hsb { --hsb-accent: #d6261c; --hsb-line: rgba(0,0,0,.14); --hsb-muted: rgba(0,0,0,.6); --hsb-soft: rgba(0,0,0,.04);
	display: grid; gap: 14px; margin: 0 0 18px; width: 100%; clear: both; }
.hsb * { box-sizing: border-box; }
.hsb-form .quantity { display: none !important; }
.hsb-stage { background: #e9edf0; border-radius: 6px; padding: 12px; }
.hsb-stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 500 / 72; }
.hsb-detail { margin-top: 10px; }
.hsb-detail-label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #4b555c; margin: 0 0 4px; }
.hsb-detail canvas { display: block; width: 100%; height: auto; aspect-ratio: 262 / 72; border-radius: 4px; }
.hsb-stage.hsb-stage-big { padding: 20px; margin-bottom: 0; }
/* Linke Spalte scrollt mit (Theme setzt overflow:hidden, das Sticky verhindert) */
.hsb-page .product-details-wrapper { overflow: visible !important; display: flow-root; }
.woocommerce-product-gallery.hsb-gallery-hidden { position: sticky !important; top: calc(var(--wp-admin--admin-bar--height, 0px) + 76px); z-index: 2; }
.woocommerce-product-gallery.hsb-gallery-hidden { opacity: 1 !important; }
.woocommerce-product-gallery.hsb-gallery-hidden > *:not(.hsb-stage) { display: none !important; }
.hsb-dims { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: #4b555c; margin-top: 6px; font-variant-numeric: tabular-nums; }
.hsb-step { border: 1px solid var(--hsb-line); border-radius: 6px; padding: 14px 16px; min-width: 0; }
.hsb-step h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05em; margin: 0 0 10px; }
.hsb-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 3px; background: #14191d; color: #fff; font-size: 12px; font-weight: 600; }
.hsb-size { display: inline-flex; flex-direction: column; border: 2px solid var(--hsb-accent); border-radius: 4px; padding: 8px 12px; }
.hsb-size small { color: var(--hsb-muted); font-size: 12px; }
.hsb-label { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--hsb-muted); margin: 12px 0 6px; }
.hsb-input { width: 100%; max-width: 100%; padding: 8px 10px; border: 1px solid var(--hsb-line); border-radius: 4px; font: inherit; }
.hsb-qty { max-width: 180px; }
.hsb-eva { display: flex; gap: 8px; flex-wrap: wrap; }
.hsb .hsb-evabtn, .hsb .hsb-sw { text-transform: none !important; letter-spacing: normal !important; min-width: 0 !important; box-shadow: none; line-height: 1.2 !important; }
.hsb .hsb-evabtn { background: transparent !important; color: inherit !important; font-size: 15px !important; font-weight: 400 !important; }
.hsb .hsb-evabtn:hover { background: rgba(0,0,0,.04) !important; }
.hsb-evabtn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--hsb-line); border-radius: 4px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.hsb-evabtn[aria-pressed="true"] { border-color: var(--hsb-accent); box-shadow: inset 0 0 0 1px var(--hsb-accent); }
.hsb-chip { width: 18px; height: 18px; border-radius: 3px; border: 1px solid rgba(0,0,0,.25); }
.hsb-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)); gap: 6px; max-height: 172px; overflow: auto; padding: 3px; margin-top: 8px; }
.hsb .hsb-sw { padding: 0 !important; height: auto !important; }
.hsb-sw { aspect-ratio: 1; min-height: 0; padding: 0; border: 1px solid rgba(0,0,0,.18); border-radius: 3px; cursor: pointer; }
.hsb-sw[aria-pressed="true"] { outline: 2px solid var(--hsb-accent); outline-offset: 2px; }
.hsb-sw:focus-visible, .hsb-evabtn:focus-visible { outline: 2px solid var(--hsb-accent); outline-offset: 2px; }
.hsb-chosen { font-size: 13px; margin: 8px 0 0; }
.hsb-row label, .hsb-confirm label { display: block; position: relative; padding-left: 26px; margin: 6px 0; font-size: 14px; line-height: 1.45; }
.hsb-row label input, .hsb-confirm label input { position: absolute; left: 0; top: 3px; margin: 0; }
.hsb-confirm.hsb-attn { border-color: #d6261c; }
.hsb-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.hsb-zone { border: 1px dashed var(--hsb-line); border-radius: 4px; padding: 10px 12px; min-width: 0; }
.hsb-zone input[type=file] { max-width: 100%; font-size: 13px; }
.hsb-zone input[type=range] { width: 100%; accent-color: var(--hsb-accent); }
.hsb-off { opacity: .45; }
.hsb-warn { font-size: 12px; color: #9a5b00; background: #fff4e0; border-radius: 3px; padding: 6px 8px; margin: 8px 0 0; }
.hsb-note { font-size: 12px; color: var(--hsb-muted); margin: 8px 0 0; }
.hsb-price { margin-top: 12px; display: grid; gap: 8px; }
.hsb-total { display: block; font-size: 1.7em; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hsb-unit { display: block; font-size: 13px; color: var(--hsb-muted); font-variant-numeric: tabular-nums; }
.hsb-tiers { width: 100%; max-width: 360px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; margin: 0; }
.hsb-tiers td { padding: 4px 0; border-bottom: 1px solid var(--hsb-line); }
.hsb-tiers td:last-child { text-align: right; }
.hsb-tiers .hsb-on td { color: var(--hsb-accent); font-weight: 700; }
.hsb-error { display: grid; gap: 4px; background: #fdecea; color: #a01b12; border-radius: 4px; padding: 10px 12px; font-size: 14px; margin: 8px 0 0; }
.hsb [hidden] { display: none !important; }
@media (max-width: 560px) { .hsb-zones { grid-template-columns: 1fr; } }

.hsb-flow { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; counter-reset: f; }
.hsb-flow li { counter-increment: f; background: rgba(0,0,0,.04); border-radius: 4px; padding: 8px 8px 8px 30px; position: relative; font-size: 12px; line-height: 1.3; min-width: 0; }
.hsb-flow li::before { content: counter(f); position: absolute; left: 8px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #14191d; color: #fff; font-size: 10px; display: grid; place-items: center; }
.hsb-flow li.hsb-flow-on::before { background: #d6261c; }
.hsb-flow strong { display: block; font-size: 12px; }
.hsb-flow span { color: rgba(0,0,0,.6); }
@media (max-width: 560px) { .hsb-flow { grid-template-columns: 1fr 1fr; } }

.hsb-loaded { background: #e8f1fb; border-radius: 4px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px; }
.hsb-loaded a { font-weight: 600; }
