/* ==========================================================================
   HOTBOARDS – Shopseiten (Shop, Kategorie, Produkt, Warenkorb, Kasse)
   Im Theme: woocommerce.css bzw. je Template eine Datei.
   Nutzt ausschließlich Tokens aus tokens.css.
   ========================================================================== */

/* ---------- Seitenkopf + Brotkrumen ---------- */
.hb-shopmain { padding-top: var(--hb-header-h); }
.hb-crumbs { display: flex; flex-wrap: wrap; gap: .4rem .6rem; font-size: var(--hb-fs-sm); color: var(--hb-stone); }
.hb-crumbs a { position: relative; transition: color var(--hb-dur-1); }
.hb-crumbs a:hover { color: var(--hb-ink); }
.hb-crumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .5; }
.hb-crumbs [aria-current] { color: var(--hb-ink); }

.hb-pagehead { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem); }
.hb-pagehead .hb-container { display: grid; gap: 1.2rem; }
.hb-pagehead__title { font: 800 clamp(2.4rem, 1.2rem + 4.5vw, 5.5rem)/.95 var(--hb-font-display); font-stretch: var(--hb-wide); text-transform: uppercase; letter-spacing: -.015em; }
.hb-pagehead__title em { font: var(--hb-acc-style) var(--hb-acc-weight) var(--hb-acc-stretch) 1.1em/1 var(--hb-font-serif); text-transform: none; color: var(--hb-ember); letter-spacing: 0; }
.hb-pagehead__lead { color: var(--hb-stone); font-size: var(--hb-fs-lg); max-width: 38rem; }

/* Kategorie-Kopf mit Collage rechts */
.hb-cathead .hb-container { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 2rem clamp(2rem, 6vw, 6rem); }
.hb-cathead__text { display: grid; gap: 1.2rem; align-content: end; }
.hb-cathead__art { --c1: #fff0e3; --c2: #ffc78a; --c3: #d8261c; }
.hb-cathead__art .hb-art { aspect-ratio: 16 / 10; }
.hb-cathead__art .hb-art__word { font-size: clamp(5rem, 11vw, 9rem); }
.hb-cathead__art .hb-art__img--a { width: 40%; left: 2%; top: 8%; }
.hb-cathead__art .hb-art__img--b { width: 42%; right: 0; top: 18%; }
.hb-cathead__art .hb-art__img--c { width: 58%; left: 22%; bottom: 4%; }
.hb-cathead__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: var(--hb-fs-sm); color: var(--hb-stone); }
.hb-cathead__facts b { color: var(--hb-ink); font-weight: 600; }

/* ---------- Archiv: Filter + Raster ---------- */
.hb-archive { padding-bottom: var(--hb-section); }
.hb-archive .hb-container { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.hb-filters { position: sticky; top: calc(var(--hb-header-h) + 1.5rem); display: grid; gap: .4rem; }
.hb-filters__head { display: none; }
.hb-fgroup { border-bottom: 1px solid var(--hb-mist); }
.hb-fgroup summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0;
  font: 600 var(--hb-fs-xs)/1 var(--hb-font-sans); letter-spacing: .2em; text-transform: uppercase;
}
.hb-fgroup summary::-webkit-details-marker { display: none; }
.hb-fgroup summary::after { content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--hb-dur-2) var(--hb-ease); }
.hb-fgroup[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.hb-fgroup__body { padding-bottom: 1.2rem; display: grid; gap: .55rem; overflow: hidden; }

.hb-check { position: relative; display: flex; align-items: center; gap: .75rem; cursor: pointer; font-size: var(--hb-fs-sm); }
.hb-check input { position: absolute; opacity: 0; pointer-events: none; }
.hb-check__box { width: 18px; height: 18px; border: 1px solid var(--hb-mist); border-radius: 2px; display: grid; place-items: center; transition: background-color var(--hb-dur-1), border-color var(--hb-dur-1); }
.hb-check__box::after { content: ""; width: 9px; height: 5px; border: solid var(--hb-white); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) scale(0); transition: transform var(--hb-dur-2) var(--hb-ease); margin-top: -2px; }
.hb-check input:checked + .hb-check__box { background: var(--hb-ink); border-color: var(--hb-ink); }
.hb-check input:checked + .hb-check__box::after { transform: rotate(-45deg) scale(1); }
.hb-check input:focus-visible + .hb-check__box { outline: 2px solid var(--hb-ice); outline-offset: 2px; }
.hb-check__count { margin-left: auto; font: var(--hb-acc-style) var(--hb-acc-weight) var(--hb-acc-stretch) .95rem var(--hb-font-serif); color: var(--hb-stone); }

.hb-toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-size: var(--hb-fs-sm); }
.hb-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.hb-toggle__ui { width: 40px; height: 22px; border-radius: 11px; background: var(--hb-mist); position: relative; transition: background-color var(--hb-dur-2); flex-shrink: 0; }
.hb-toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--hb-white); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform var(--hb-dur-2) var(--hb-ease); }
.hb-toggle input:checked + .hb-toggle__ui { background: var(--hb-ember); }
.hb-toggle input:checked + .hb-toggle__ui::after { transform: translateX(18px); }
.hb-toggle input:focus-visible + .hb-toggle__ui { outline: 2px solid var(--hb-ice); outline-offset: 2px; }

/* Preisspanne (zwei Regler übereinander) */
.hb-range { position: relative; height: 28px; margin-top: .4rem; }
.hb-range__rail, .hb-range__fill { position: absolute; top: 13px; height: 2px; border-radius: 1px; }
.hb-range__rail { left: 0; right: 0; background: var(--hb-mist); }
.hb-range__fill { background: var(--hb-ink); left: var(--lo, 0%); right: calc(100% - var(--hi, 100%)); }
.hb-range input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.hb-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--hb-white); border: 1.5px solid var(--hb-ink); cursor: grab; transition: transform var(--hb-dur-1); }
.hb-range input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--hb-white); border: 1.5px solid var(--hb-ink); cursor: grab; }
.hb-range input:active::-webkit-slider-thumb { transform: scale(1.2); cursor: grabbing; }
.hb-range__vals { display: flex; justify-content: space-between; font-size: var(--hb-fs-sm); color: var(--hb-stone); font-variant-numeric: tabular-nums; }

.hb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; margin-bottom: 1.5rem; min-height: 44px; }
.hb-toolbar__count { font-size: var(--hb-fs-sm); color: var(--hb-stone); }
.hb-toolbar__count b { color: var(--hb-ink); font-variant-numeric: tabular-nums; }
.hb-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hb-chip-x { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .5rem .45rem .8rem; border-radius: 999px; background: var(--hb-frost); font-size: .8rem; animation: hb-chip-in .5s var(--hb-ease); }
.hb-chip-x button { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; transition: background-color var(--hb-dur-1); }
.hb-chip-x button:hover { background: var(--hb-mist); }
.hb-chip-x svg { width: 10px; stroke: currentColor; stroke-width: 2; }
@keyframes hb-chip-in { from { opacity: 0; transform: scale(.85); } }
.hb-linkbtn { font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; color: var(--hb-stone); }
.hb-linkbtn:hover { color: var(--hb-ink); }
.hb-select { position: relative; margin-left: auto; }
.hb-select select { -webkit-appearance: none; appearance: none; padding: .7rem 2.4rem .7rem 1rem; border: 1px solid var(--hb-mist); border-radius: var(--hb-radius); background: var(--hb-white); font-size: var(--hb-fs-sm); cursor: pointer; transition: border-color var(--hb-dur-1); }
.hb-select select:hover { border-color: var(--hb-ink); }
.hb-select::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.hb-filterbtn { display: none; }

.hb-archive .hb-products { grid-template-columns: repeat(3, 1fr); }
.hb-products > li.is-hidden { display: none; }
.hb-product--soldout .hb-product__media img { filter: grayscale(1); opacity: .55; }
.hb-product__stock { font-size: .78rem; color: var(--hb-stone); display: inline-flex; align-items: center; gap: .4rem; }
.hb-product__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2fae6b; }
.hb-product--soldout .hb-product__stock::before { background: var(--hb-mist); }
.hb-empty { display: none; padding: 4rem 1rem; text-align: center; color: var(--hb-stone); }
.hb-empty.is-show { display: block; animation: hb-chip-in .6s var(--hb-ease); }
.hb-empty p:first-child { font: var(--hb-acc-style) var(--hb-acc-weight) var(--hb-acc-stretch) 2rem/1.2 var(--hb-font-serif); color: var(--hb-ink); margin-bottom: .6rem; }

/* ---------- Shop-Übersicht ---------- */
.hb-shop-cats { padding-block: 0 var(--hb-section); }
.hb-band { background: var(--hb-ink); color: var(--hb-white); }
.hb-band .hb-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.hb-band__item { display: grid; gap: .5rem; }
.hb-band__item h3 { font: 700 1rem/1.2 var(--hb-font-sans); font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em; }
.hb-band__item p { opacity: .7; font-size: var(--hb-fs-sm); }
.hb-band__item svg { width: 34px; fill: none; stroke: var(--hb-glacier); stroke-width: 1.3; margin-bottom: .4rem; }

/* ---------- Produktdetail ---------- */
.hb-pdp { padding-bottom: var(--hb-section); }
.hb-pdp .hb-container { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hb-pdp__crumbs { padding-block: 1.6rem 1.4rem; }

.hb-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; position: sticky; top: calc(var(--hb-header-h) + 1rem); }
.hb-gallery__thumbs { display: grid; gap: .6rem; align-content: start; }
.hb-gallery__thumb { aspect-ratio: 1; background: var(--hb-frost); border-radius: var(--hb-radius); overflow: hidden; position: relative; transition: transform var(--hb-dur-2) var(--hb-ease); }
.hb-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.hb-gallery__thumb::after { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--hb-ink); border-radius: var(--hb-radius); opacity: 0; transition: opacity var(--hb-dur-2); }
.hb-gallery__thumb.is-active::after { opacity: 1; }
.hb-gallery__thumb:hover { transform: translateY(-2px); }
.hb-gallery__thumb.is-photo img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.hb-stage { position: relative; aspect-ratio: 4 / 3.4; background: var(--hb-frost); border-radius: var(--hb-radius); overflow: hidden; cursor: zoom-in; }
.hb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--hb-ease), transform 1s var(--hb-ease); }
.hb-stage img.is-photo { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.hb-stage img.is-active { opacity: 1; transform: scale(1); }
.hb-stage.is-zoom img.is-active { transform: scale(1.9); transition: transform .4s var(--hb-ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.hb-stage__badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; }
.hb-stage__nav { position: absolute; right: 1rem; bottom: 1rem; z-index: 1; display: flex; gap: .5rem; }
.hb-stage__nav .hb-round { width: 44px; height: 44px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); border-color: transparent; }

.hb-buy { display: grid; gap: 1.4rem; padding-top: .4rem; }
.hb-buy__brand { font: 600 var(--hb-fs-xs)/1 var(--hb-font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--hb-stone); }
.hb-buy__title, .single-product .hb-buy__title { font: 800 clamp(1.9rem, 1.2rem + 2vw, 3rem)/1 var(--hb-font-display); font-stretch: var(--hb-wide); text-transform: uppercase; letter-spacing: -.01em; }
.hb-buy__tag { font: var(--hb-acc-style) var(--hb-acc-weight) var(--hb-acc-stretch) 1.4rem/1 var(--hb-font-serif); color: var(--hb-ember); }
.hb-buy__price { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.hb-buy__amount { font: 700 2rem/1 var(--hb-font-sans); font-stretch: 110%; font-variant-numeric: tabular-nums; }
.hb-buy__amount small { font: var(--hb-acc-style) var(--hb-acc-weight) var(--hb-acc-stretch) 1.1rem var(--hb-font-serif); color: var(--hb-stone); }
.hb-buy__tax { font-size: .8rem; color: var(--hb-stone); }
.hb-buy__tax a { text-decoration: underline; text-underline-offset: 2px; }
.hb-opt { display: grid; gap: .7rem; padding-top: 1.2rem; border-top: 1px solid var(--hb-mist); }
.hb-opt__label { display: flex; justify-content: space-between; font: 600 var(--hb-fs-xs)/1 var(--hb-font-sans); letter-spacing: .2em; text-transform: uppercase; }
.hb-opt__label span:last-child { font: 500 var(--hb-fs-sm)/1 var(--hb-font-sans); letter-spacing: 0; text-transform: none; color: var(--hb-stone); }
.hb-swatches, .hb-sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.hb-swatch { position: relative; width: 46px; height: 46px; border-radius: 50%; padding: 4px; border: 1px solid var(--hb-mist); transition: border-color var(--hb-dur-2), transform var(--hb-dur-2) var(--hb-ease); }
.hb-swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--sw); }
.hb-swatch:hover { transform: scale(1.06); }
.hb-swatch[aria-checked="true"] { border-color: var(--hb-ink); border-width: 1.5px; }
.hb-size {
  min-width: 64px; padding: .75rem .7rem; border: 1px solid var(--hb-mist); border-radius: var(--hb-radius); font-size: var(--hb-fs-sm); font-variant-numeric: tabular-nums; position: relative;
  transition: background-color var(--hb-dur-2) var(--hb-ease), color var(--hb-dur-2), border-color var(--hb-dur-2);
}
.hb-size:hover { border-color: var(--hb-ink); }
.hb-size[aria-checked="true"] { background: var(--hb-ink); color: var(--hb-white); border-color: var(--hb-ink); }
.hb-size.is-out { color: var(--hb-stone); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--hb-mist) 50%, transparent calc(50% + .5px)); }
.hb-size.is-out[aria-checked="true"] { background: var(--hb-stone); color: var(--hb-white); }
.hb-stock { display: flex; align-items: center; gap: .6rem; font-size: var(--hb-fs-sm); }
.hb-stock__dot { width: 8px; height: 8px; border-radius: 50%; background: #2fae6b; box-shadow: 0 0 0 0 rgba(47,174,107,.5); animation: hb-pulse 2.2s infinite; }
.hb-stock.is-out .hb-stock__dot { background: var(--hb-fire); animation: none; }
@keyframes hb-pulse { 70% { box-shadow: 0 0 0 8px rgba(47,174,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,174,107,0); } }
.hb-buy__row { display: grid; grid-template-columns: auto 1fr; gap: .8rem; }
.hb-qty { display: inline-flex; align-items: center; border: 1px solid var(--hb-mist); border-radius: var(--hb-radius); height: 54px; }
.hb-qty button { width: 44px; height: 100%; display: grid; place-items: center; transition: background-color var(--hb-dur-1); }
.hb-qty button:hover { background: var(--hb-frost); }
.hb-qty svg { width: 14px; stroke: currentColor; stroke-width: 1.6; }
.hb-qty input { width: 40px; border: 0; text-align: center; font-variant-numeric: tabular-nums; background: transparent; -moz-appearance: textfield; }
.hb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hb-qty--sm { height: 42px; }
.hb-qty--sm button { width: 36px; }
.hb-btn--block { justify-content: center; width: 100%; height: 54px; }
.hb-btn--block .hb-btn__done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6rem; transform: translateY(100%); transition: transform .5s var(--hb-ease); background: var(--hb-ice); }
.hb-btn--block .hb-btn__label { transition: transform .5s var(--hb-ease); display: inline-flex; gap: .9rem; align-items: center; }
.hb-btn--block.is-done .hb-btn__label { transform: translateY(-160%); }
.hb-btn--block.is-done .hb-btn__done { transform: none; }
.hb-btn[disabled] { opacity: .45; pointer-events: none; }
.hb-buy__perks { display: grid; gap: .7rem; font-size: var(--hb-fs-sm); color: var(--hb-stone); }
.hb-buy__perks li { display: flex; gap: .7rem; align-items: center; }
.hb-buy__perks svg { width: 20px; flex-shrink: 0; fill: none; stroke: var(--hb-ink); stroke-width: 1.4; }

.hb-acc { border-top: 1px solid var(--hb-mist); }
.hb-acc details { border-bottom: 1px solid var(--hb-mist); }
.hb-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; font: 600 var(--hb-fs-xs)/1 var(--hb-font-sans); letter-spacing: .2em; text-transform: uppercase; }
.hb-acc summary::-webkit-details-marker { display: none; }
.hb-acc summary::after { content: "+"; font: 300 1.4rem/1 var(--hb-font-sans); transition: transform var(--hb-dur-2) var(--hb-ease); }
.hb-acc details[open] summary::after { transform: rotate(45deg); }
.hb-acc__body { padding-bottom: 1.4rem; display: grid; gap: .9rem; color: #39424a; overflow: hidden; }
.hb-acc__body ul { display: grid; gap: .6rem; }
.hb-acc__body li { padding-left: 1.2rem; position: relative; }
.hb-acc__body li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 1px; background: var(--hb-ember); }
.hb-acc__body b { color: var(--hb-ink); }
.hb-specs { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; font-size: var(--hb-fs-sm); }
.hb-specs dt { color: var(--hb-stone); }

.hb-story { position: relative; height: clamp(380px, 60vw, 720px); overflow: hidden; color: var(--hb-white); display: grid; align-items: end; }
.hb-story img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }
.hb-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,57,84,.75), transparent 60%); }
.hb-story .hb-container { position: relative; z-index: 1; padding-bottom: clamp(2rem, 5vw, 4rem); display: grid; gap: 1rem; }
.hb-story blockquote { font: var(--hb-acc-style) var(--hb-acc-weight) var(--hb-acc-stretch) clamp(1.8rem, 1rem + 3vw, 3.6rem)/1.1 var(--hb-font-serif); max-width: 22ch; }
.hb-story .hb-eyebrow { color: rgba(255,255,255,.85); }

.hb-related { padding-block: var(--hb-section); }

/* Mobile Kaufleiste */
.hb-buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 450; display: none; align-items: center; gap: 1rem;
  padding: .7rem var(--hb-gutter) calc(.7rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--hb-white) 94%, transparent); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--hb-mist); transform: translateY(110%); transition: transform .6s var(--hb-ease);
}
.hb-buybar.is-show { transform: none; }
.hb-buybar__info { display: grid; line-height: 1.2; min-width: 0; }
.hb-buybar__info b { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-buybar__info span { font-size: .8rem; color: var(--hb-stone); }
.hb-buybar .hb-btn { margin-left: auto; padding: .9rem 1.1rem; }

/* ---------- Warenkorb ---------- */
.hb-cartpage { padding-bottom: var(--hb-section); }
.hb-cartpage .hb-container { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.hb-lines { border-top: 1px solid var(--hb-mist); }
.hb-line { display: grid; grid-template-columns: 120px 1fr auto; gap: 1.4rem; padding: 1.5rem 0; border-bottom: 1px solid var(--hb-mist); align-items: center; overflow: hidden; transition: opacity .4s var(--hb-ease); }
.hb-line.is-removing { opacity: 0; }
.hb-line__img { aspect-ratio: 1; background: var(--hb-frost); border-radius: var(--hb-radius); overflow: hidden; }
.hb-line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.hb-line__info { display: grid; gap: .35rem; }
.hb-line__brand { font: 600 .7rem/1 var(--hb-font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--hb-stone); }
.hb-line__title { font-weight: 600; }
.hb-line__var { font-size: var(--hb-fs-sm); color: var(--hb-stone); }
.hb-line__actions { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.hb-line__price { font: 700 1.1rem/1 var(--hb-font-sans); font-stretch: 110%; text-align: right; font-variant-numeric: tabular-nums; }
.hb-line__price small { display: block; margin-top: .35rem; font: 400 .78rem var(--hb-font-sans); color: var(--hb-stone); }

.hb-summary { position: sticky; top: calc(var(--hb-header-h) + 1.5rem); background: var(--hb-white); border-radius: var(--hb-radius); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.hb-summary h2 { font: 700 1rem/1 var(--hb-font-sans); font-stretch: 112%; text-transform: uppercase; letter-spacing: .06em; }
.hb-sumrows { display: grid; gap: .7rem; font-size: var(--hb-fs-sm); }
.hb-sumrows div { display: flex; justify-content: space-between; gap: 1rem; }
.hb-sumrows dd { font-variant-numeric: tabular-nums; }
.hb-sumrows .is-total { padding-top: .9rem; border-top: 1px solid var(--hb-mist); font-size: 1.05rem; font-weight: 700; }
.hb-sumrows .is-total dd { font: 700 1.5rem/1 var(--hb-font-sans); font-stretch: 110%; }
.hb-sumrows .is-note { color: var(--hb-stone); font-size: .8rem; }
.hb-coupon { display: flex; gap: .5rem; }
.hb-coupon input { flex: 1; min-width: 0; padding: .75rem .9rem; border: 1px solid var(--hb-mist); border-radius: var(--hb-radius); background: var(--hb-snow); }
.hb-coupon input:focus { outline: none; border-color: var(--hb-ink); }
.hb-coupon.is-error input { border-color: var(--hb-fire); animation: hb-shake .4s; }
.hb-coupon .hb-btn { padding: .75rem 1rem; }
.hb-pay { display: flex; flex-wrap: wrap; gap: .4rem; }
.hb-pay span { padding: .35rem .6rem; border: 1px solid var(--hb-mist); border-radius: var(--hb-radius); font: 600 .7rem/1 var(--hb-font-sans); letter-spacing: .06em; color: var(--hb-stone); }
.hb-cartempty { display: none; text-align: center; padding: 4rem 1rem; gap: 1.2rem; justify-items: center; }
.hb-cartempty.is-show { display: grid; animation: hb-chip-in .7s var(--hb-ease); }
.hb-cartempty p:first-child { font: var(--hb-acc-style) var(--hb-acc-weight) var(--hb-acc-stretch) clamp(2rem, 4vw, 3rem)/1.1 var(--hb-font-serif); }

/* ---------- Kasse ---------- */
.hb-steps { display: flex; gap: .5rem; counter-reset: step; flex-wrap: wrap; }
.hb-steps li { counter-increment: step; display: flex; align-items: center; gap: .6rem; font-size: var(--hb-fs-sm); color: var(--hb-stone); padding-right: 1.4rem; position: relative; transition: color var(--hb-dur-2); }
.hb-steps li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--hb-mist); display: grid; place-items: center; font: 600 .75rem/1 var(--hb-font-sans); transition: background-color var(--hb-dur-2), color var(--hb-dur-2), border-color var(--hb-dur-2); }
.hb-steps li:not(:last-child)::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 10px; height: 1px; background: var(--hb-mist); }
.hb-steps li.is-active { color: var(--hb-ink); }
.hb-steps li.is-active::before { background: var(--hb-ink); color: var(--hb-white); border-color: var(--hb-ink); }
.hb-steps li.is-done::before { background: var(--hb-ice); border-color: var(--hb-ice); color: var(--hb-white); content: "✓"; }

.hb-checkout { padding-bottom: var(--hb-section); }
.hb-checkout .hb-container { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.hb-cform { display: grid; gap: 2.5rem; }
.hb-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; scroll-margin-top: calc(var(--hb-header-h) + 2rem); }
.hb-fieldset legend { font: 700 1.25rem/1 var(--hb-font-display); font-stretch: var(--hb-wide); text-transform: uppercase; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .8rem; }
.hb-fieldset legend span { font: var(--hb-acc-style) var(--hb-acc-weight) var(--hb-acc-stretch) 1.1rem var(--hb-font-serif); color: var(--hb-ember); text-transform: none; }
.hb-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.hb-grid3 { display: grid; grid-template-columns: 1fr 2fr; gap: 1.1rem; }
.hb-field--box input, .hb-field--box select { width: 100%; padding: 1.35rem 1rem .55rem; border: 1px solid var(--hb-mist); border-radius: var(--hb-radius); background: var(--hb-white); font-size: 1rem; outline: none; transition: border-color var(--hb-dur-1); -webkit-appearance: none; appearance: none; }
.hb-field--box input:focus, .hb-field--box select:focus { border-color: var(--hb-ink); }
.hb-field--box label { left: 1rem; top: 1.05rem; }
.hb-field--box input:focus + label, .hb-field--box input:not(:placeholder-shown) + label, .hb-field--box select + label { transform: translateY(-.7rem) scale(.75); }
.hb-field--box .hb-field__line { display: none; }
.hb-field--box.is-invalid input { border-color: var(--hb-fire); }
.hb-field__err { font-size: .78rem; color: var(--hb-fire); margin-top: .35rem; display: none; }
.hb-field--box.is-invalid .hb-field__err { display: block; }

.hb-options { display: grid; gap: .7rem; }
.hb-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: .3rem 1rem; align-items: center; padding: 1.1rem 1.2rem; border: 1px solid var(--hb-mist); border-radius: var(--hb-radius); background: var(--hb-white); cursor: pointer; transition: border-color var(--hb-dur-2), box-shadow var(--hb-dur-2); }
.hb-option input { position: absolute; opacity: 0; pointer-events: none; }
.hb-option__radio { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--hb-mist); display: grid; place-items: center; }
.hb-option__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--hb-ink); transform: scale(0); transition: transform var(--hb-dur-2) var(--hb-ease); }
.hb-option:has(input:checked) { border-color: var(--hb-ink); box-shadow: 0 0 0 1px var(--hb-ink); }
.hb-option:has(input:checked) .hb-option__radio::after { transform: scale(1); }
.hb-option:has(input:focus-visible) { outline: 2px solid var(--hb-ice); outline-offset: 2px; }
.hb-option__title { font-weight: 600; }
.hb-option__price { font-variant-numeric: tabular-nums; font-weight: 600; }
.hb-option__desc { grid-column: 2 / -1; font-size: .85rem; color: var(--hb-stone); }
.hb-option__more { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--hb-ease); }
.hb-option__more > div { overflow: hidden; font-size: .85rem; color: var(--hb-stone); }
.hb-option:has(input:checked) .hb-option__more { grid-template-rows: 1fr; }
.hb-legal { display: grid; gap: .9rem; font-size: var(--hb-fs-sm); }
.hb-legal .hb-check { align-items: flex-start; }
.hb-legal a { text-decoration: underline; text-underline-offset: 2px; }
.hb-legal .hb-check.is-invalid .hb-check__box { border-color: var(--hb-fire); animation: hb-shake .4s; }
.hb-minilines { display: grid; gap: .9rem; max-height: 320px; overflow: auto; }
.hb-miniline { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; font-size: var(--hb-fs-sm); }
.hb-miniline__img { position: relative; aspect-ratio: 1; background: var(--hb-frost); border-radius: var(--hb-radius); }
.hb-miniline__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.hb-miniline__img b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--hb-stone); color: var(--hb-white); font-size: .7rem; display: grid; place-items: center; }
.hb-miniline small { display: block; color: var(--hb-stone); }

/* ==========================================================================
   Responsiv
   ========================================================================== */
@media (max-width: 1100px) {
  .hb-archive .hb-products { grid-template-columns: repeat(2, 1fr); }
  .hb-cartpage .hb-container, .hb-checkout .hb-container { grid-template-columns: 1fr; }
  .hb-summary { position: static; }
}
@media (max-width: 920px) {
  .hb-cathead .hb-container { grid-template-columns: 1fr; }
  .hb-archive .hb-container { grid-template-columns: 1fr; }
  .hb-filterbtn { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border: 1px solid var(--hb-mist); border-radius: var(--hb-radius); font-size: var(--hb-fs-sm); background: var(--hb-white); }
  .hb-filterbtn svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .hb-filterbtn b { min-width: 20px; height: 20px; border-radius: 10px; background: var(--hb-ink); color: var(--hb-white); font-size: .7rem; display: grid; place-items: center; }
  .hb-filters {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 700; background: var(--hb-snow); padding: 1.2rem var(--hb-gutter) 2rem; overflow-y: auto; align-content: start;
    transform: translateX(105%); visibility: hidden; transition: transform .6s var(--hb-ease), visibility 0s .6s;
  }
  .hb-filters.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px -30px rgba(0,0,0,.4); transition: transform .6s var(--hb-ease); }
  .hb-filters__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: .6rem; }
  .hb-filters__head b { font: 700 1rem/1 var(--hb-font-sans); font-stretch: 112%; text-transform: uppercase; }
  .hb-scrim { position: fixed; inset: 0; z-index: 690; background: rgba(13,16,20,.4); opacity: 0; pointer-events: none; transition: opacity .5s var(--hb-ease); }
  .hb-scrim.is-show { opacity: 1; pointer-events: auto; }
  .hb-pdp .hb-container { grid-template-columns: 1fr; }
  .hb-gallery { position: static; grid-template-columns: 1fr; }
  .hb-gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; order: 2; scrollbar-width: none; }
  .hb-buybar { display: flex; }
  .hb-band .hb-container { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hb-archive .hb-products { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0; padding: 0; overflow: visible; }
  .hb-archive .hb-products > li { flex: none; }
  .hb-archive .hb-product__body { padding: .8rem; }
  .hb-archive .hb-product__title { font-size: .95rem; }
  .hb-archive .hb-price { font-size: 1rem; }
  .hb-archive .hb-add { width: 36px; height: 36px; }
  .hb-select { margin-left: 0; }
  .hb-line { grid-template-columns: 84px 1fr; }
  .hb-line__price { grid-column: 2; text-align: left; }
  .hb-grid2, .hb-grid3 { grid-template-columns: 1fr; }
}

/* Shopseiten haben keinen Foto-Hero → Header von Anfang an hell */
.page-shop .hb-header, .page-shop .hb-header:not(.is-menu) { background: color-mix(in srgb, var(--hb-snow) 92%, transparent); backdrop-filter: blur(14px); color: var(--hb-ink); box-shadow: 0 1px 0 var(--hb-mist); }
.page-shop .hb-logo { filter: drop-shadow(0 1px 1px rgba(13,16,20,.22)) drop-shadow(0 2px 6px rgba(13,16,20,.12)); }
.hb-badge--out { background: var(--hb-stone); color: var(--hb-white); }

/* Abdunklung hinter dem mobilen Filter – auf dem Desktop aus dem Raster nehmen */
.hb-scrim { display: none; }
@media (max-width: 920px) { .hb-scrim { display: block; } }

/* Seitentitel auf Unterseiten: Masken-Einflug nach dem Laden (wie der Startseiten-Hero) */
.js .is-ready .hb-pagehead__title .hb-mask > span { transform: none; transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
