/* ==========================================================================
   Buying: product page, cart, checkout. One reading axis, solid surfaces on
   top of the moving background. Radii: buttons pill, panels 20px, fields 12px.
   ========================================================================== */
.hb-flow { --flow: 45rem; --field-line: rgba(255, 255, 255, 0.22); --inner: clamp(1.15rem, 3.4vw, 2.25rem); }

/* ---------- small shared parts ---------- */
.freeship__t { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.freeship__t strong { color: var(--text); }
.freeship.is-free .freeship__t strong { color: var(--accent); }
.freeship__line { display: none; height: 2px; margin-top: 0.55rem; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.freeship.is-on .freeship__line { display: block; }
.freeship__line i { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 0.6s var(--ease); }

.minis > h2 { margin-bottom: 0.5rem; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
.minis ul { list-style: none; }
.mini { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.7rem 0; }
.mini + .mini { border-top: 1px solid var(--line); }
.mini__img img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-input); background: var(--surface-2); }
.mini__t a { font-weight: 700; line-height: 1.25; text-decoration: none; }
.mini__t a:hover { color: var(--accent); }
.mini__t p { margin-top: 0.15rem; font-size: 0.9rem; color: var(--muted); }
.mini__t strong { color: var(--accent); }

.promises { list-style: none; width: min(var(--flow), 100% - 2 * var(--gutter)); margin: 0 auto; padding: 1.75rem 0 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1.5rem; }
.promises li { display: flex; gap: 0.7rem; align-items: center; color: #cfd9d1; font-size: 0.97rem; }
.promises .ic { color: var(--accent); }

/* ---------- page frame ---------- */
.hb-flow .ptitle .container { width: min(var(--flow), 100% - 2 * var(--gutter)); }
.hb-flow .ptitle { padding-bottom: 1.5rem; }
.hb-flow .ptitle h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.hb-flow .hb-content--wide { padding-bottom: 0; }
.hb-flow .hb-content--wide > * { width: min(var(--flow), 100% - 2 * var(--gutter)) !important; max-width: none !important; margin-inline: auto !important; }
.hb-flow { padding-bottom: clamp(4rem, 8vw, 7rem); }
.hb-flow .fsbox { width: min(var(--flow), 100% - 2 * var(--gutter)); margin: 0 auto 1.25rem; }
.hb-flow .fsbox .freeship__t { font-size: 1.05rem; }

/* checkout header: logo, steps, help. Nothing that leads away. */
.chead { position: relative; z-index: 3; background: var(--surface); border-bottom: 1px solid var(--line); }
.chead__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; width: min(var(--max), 100% - 2 * var(--gutter)); min-height: var(--nav-h); margin-inline: auto; }
.chead__logo img { width: 100px; height: 40px; object-fit: contain; }
.chead__help { justify-self: end; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; font-weight: 500; text-decoration: none; }
.chead__help .ic { color: var(--accent); width: 1.5rem; height: 1.5rem; }
.chead__help:hover { color: var(--accent); }
.csteps { list-style: none; display: flex; gap: 2.2rem; }
.csteps li { position: relative; color: var(--muted); font-size: 0.97rem; }
.csteps li + li::before { content: ""; position: absolute; left: -1.5rem; top: 50%; width: 0.8rem; height: 1px; background: rgba(255, 255, 255, 0.3); }
.csteps a { text-decoration: none; }
.csteps a:hover { color: var(--text); }
.csteps .is-done { color: var(--text); }
.csteps .is-now { color: var(--accent); font-weight: 700; }
.hb-flow--checkout .ptitle { padding-top: clamp(2rem, 4vw, 3.25rem); }
.cfoot { position: relative; z-index: 2; background: var(--surface); border-top: 1px solid var(--line); }
.cfoot__in { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; justify-content: space-between; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 1.5rem 0; color: var(--muted); font-size: 0.9rem; }
.cfoot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; }
.cfoot a { color: var(--muted); text-decoration: none; display: inline-block; padding: 0.35rem 0; }
.cfoot a:hover { color: var(--text); }
.footer__guarantee :is(a, button) { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
:is(.footer, .cfoot) a[href*="vertrag-widerrufen"] { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Woo blocks: base colours and controls ---------- */
.hb-flow .wc-block-components-sidebar-layout { display: flex; flex-direction: column; gap: 1.25rem; margin: 0 !important; color: var(--text); }
.hb-flow :is(.wc-block-components-main, .wc-block-components-sidebar) { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.hb-flow :is(.wc-block-components-product-name, .wc-block-components-totals-item, .wc-block-components-panel__button, .wc-block-components-formatted-money-amount, .wc-block-components-checkout-order-summary__title) { color: var(--text) !important; }
.hb-flow :is(.wc-block-components-product-metadata, .wc-block-components-checkout-step__description, .wc-block-components-totals-item__description, .wc-block-components-totals-footer-item-tax, .wc-block-checkout__guest-checkout-notice) { color: var(--muted) !important; }
.hb-flow .wc-block-components-title.wc-block-components-title { font: 800 1.4rem/1.15 var(--font-head) !important; letter-spacing: -0.02em; color: var(--text); }
.hb-flow :is(.wc-block-components-totals-wrapper, .wc-block-components-order-summary-item, .wc-block-components-panel)::after { border-color: var(--line) !important; opacity: 1 !important; }
.hb-flow :is(.wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wc-block-components-order-summary__content, .wc-block-components-order-summary-item) { border-color: var(--line) !important; background: none !important; }
.hb-flow .wc-block-components-button.wc-block-components-button:not(.is-link):not(.wc-block-components-totals-coupon__button) { min-height: 60px; width: 100%; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font: 700 1.125rem/1 var(--font-body); transition: background-color 0.25s, transform 0.3s var(--ease); }
.hb-flow .wc-block-components-button.wc-block-components-button:not(.is-link):not(.wc-block-components-totals-coupon__button):hover { background: #3dc27b; }
.hb-flow .wc-block-components-button.wc-block-components-button:active { transform: scale(0.99); }
.hb-flow .wc-block-components-button.wc-block-components-totals-coupon__button { min-height: 54px; border-radius: var(--r-input); background: var(--surface-2); color: var(--text); border: 1px solid var(--field-line); }
.hb-flow .wc-block-components-quantity-selector { width: auto !important; border-radius: var(--r-pill) !important; background: transparent !important; }
.hb-flow .wc-block-components-quantity-selector::after { border-color: var(--field-line) !important; border-radius: var(--r-pill) !important; opacity: 1 !important; }
.hb-flow .wc-block-components-quantity-selector :is(input, button).wc-block-components-quantity-selector__input, .hb-flow .wc-block-components-quantity-selector button { color: var(--text) !important; min-height: 44px; min-width: 40px; font-weight: 700; }
.hb-flow .wc-block-components-checkbox .wc-block-components-checkbox__input { width: 24px; height: 24px; min-height: 24px; min-width: 24px; border: 1.5px solid rgba(255, 255, 255, 0.5) !important; border-radius: 7px !important; background: transparent !important; }
.hb-flow .wc-block-components-checkbox .wc-block-components-checkbox__input:checked { background: var(--accent) !important; border-color: var(--accent) !important; }
.hb-flow .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--accent-ink) !important; width: 18px; height: 18px; margin: 3px; }
.hb-flow .wc-block-components-radio-control__input { border-color: rgba(255, 255, 255, 0.5) !important; background: transparent !important; }
.hb-flow .wc-block-components-radio-control__input:checked { border-color: var(--accent) !important; }
.hb-flow .wc-block-components-radio-control__input:checked::before { background: var(--accent) !important; }
.hb-flow :is(.wc-block-checkout, .wc-block-cart) a:not(.wc-block-components-button):not(.wc-block-components-product-name) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hb-flow :is(.wc-block-components-notice-banner) { border-radius: var(--r-input) !important; }

/* ---------- checkout: two sheets ("Angaben", then "Prüfen und bestellen") ---------- */
.hb-flow .wc-block-checkout.wc-block-checkout { gap: 0 !important; flex-direction: column !important; flex-wrap: nowrap !important; }
.hb-flow .wc-block-checkout :is(.wc-block-checkout__main, .wc-block-checkout__form, .wc-block-checkout__sidebar) { display: contents; }
.hb-flow .wc-block-checkout > *, .hb-flow .wc-block-checkout__main > *, .hb-flow .wc-block-checkout__form > *, .hb-flow .wc-block-checkout__sidebar > * { order: 1; }
.hb-flow .wc-block-checkout__form > :is(.wc-block-components-checkout-step, .wc-block-checkout__order-notes):not(.wc-gzd-legal-guarantee) { box-sizing: border-box; width: 100%; margin: 0 !important; padding: 1.75rem var(--inner) 0.35rem !important; background: var(--surface); border: 0 solid var(--line); border-inline-width: 1px; }
.hb-flow .wc-block-checkout__form > .wc-block-checkout__contact-fields { border-top-width: 1px !important; border-radius: var(--r-card) var(--r-card) 0 0; padding-top: 2rem !important; }
.hb-flow .wc-block-checkout .wc-block-checkout__form > .wc-block-checkout__order-notes.wc-block-components-checkout-step { border-bottom-width: 1px !important; border-radius: 0 0 var(--r-card) var(--r-card); padding-bottom: 2rem !important; }
.hb-flow .wc-block-checkout .wc-block-checkout__form > .wc-block-checkout__contact-fields.wc-block-components-checkout-step { padding-top: 2rem !important; }
.hb-flow .wc-block-components-checkout-step__heading-container, .hb-flow .wc-block-components-checkout-step__heading { margin: 0 !important; }
.hb-flow .wc-block-components-checkout-step__heading-container { margin-bottom: 0.9rem !important; }
.hb-flow .wc-block-components-checkout-step__container, .hb-flow .wc-block-components-checkout-step__content { padding: 0 !important; }
.hb-flow .wc-block-components-checkout-step::after { display: none !important; }
.hb-flow .wc-block-checkout__order-notes .wc-block-components-checkout-step__heading { display: none; }

/* second sheet, visually: summary, notice, checkbox, button */
.hb-flow .wc-block-checkout__sidebar > .wp-block-woocommerce-checkout-order-summary-block { order: 5; box-sizing: border-box; width: 100%; margin: 1.5rem 0 0 !important; padding: 1.5rem var(--inner) 0 !important; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-card) var(--r-card) 0 0; }
.hb-flow .wc-block-checkout__form > .wc-gzd-legal-guarantee { order: 6; box-sizing: border-box; width: 100%; margin: 0 !important; padding: 0.5rem var(--inner) 0.25rem !important; background: var(--surface); border-inline: 1px solid var(--line); }
.hb-flow .wc-block-checkout__form > .wc-gzd-checkboxes { order: 7; box-sizing: border-box; width: 100%; margin: 0 !important; padding: 0.75rem var(--inner) 0 !important; background: var(--surface); border-inline: 1px solid var(--line); }
.hb-flow .wc-block-checkout .wc-gzd-checkout-submit, .hb-flow .wc-block-checkout :is(.wc-block-checkout__sidebar, .wc-block-checkout__form) > .wc-block-checkout__actions { order: 8; box-sizing: border-box; width: 100%; margin: 0 !important; padding: 1.25rem var(--inner) 2rem !important; background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-card) var(--r-card); }
.hb-flow .wc-gzd-checkout-submit .wc-block-checkout__actions { margin: 0 !important; }
.hb-flow .wc-block-checkout__actions_row { padding: 0 !important; margin: 0 !important; border: 0 !important; }
.hb-flow .wc-block-checkout__actions_row > * { flex: 1; }
.hb-flow .wc-block-checkout__terms { display: none; }

/* order summary */
.hb-flow .wc-block-components-checkout-order-summary__title { padding: 0 0 0.5rem !important; margin: 0 !important; border: 0 !important; }
.hb-flow .wc-block-components-checkout-order-summary__title-text { font: 800 1.4rem/1.15 var(--font-head) !important; letter-spacing: -0.02em; }
.hb-flow :is(.wc-block-components-checkout-order-summary__title-price, .wc-block-components-checkout-order-summary__title-icon) { display: none !important; }
.hb-flow .wc-block-components-checkout-order-summary__content { display: block !important; border: 0 !important; margin: 0 !important; padding: 0 !important; }
.hb-flow .wc-block-components-checkout-order-summary__content-container { border: 0 !important; margin: 0 !important; background: none !important; }
.hb-flow .wc-block-components-totals-wrapper { padding: 0.85rem 0 !important; border: 0 !important; border-top: 1px solid var(--line) !important; }
.hb-flow .wc-block-components-totals-wrapper::after, .hb-flow .wc-block-components-order-summary-item::after { display: none !important; }
.hb-flow .wc-block-components-checkout-order-summary__content .wp-block-woocommerce-checkout-order-summary-cart-items-block.wc-block-components-totals-wrapper { border-top: 0 !important; padding-top: 0 !important; }
.hb-flow .wc-block-components-totals-wrapper.slot-wrapper:not(:has(*:not(.wc-block-components-order-meta))), .hb-flow .wc-block-components-totals-wrapper:has(> .wc-block-components-order-meta:empty) { display: none; }
.hb-flow .wc-block-components-panel, .hb-flow .wc-block-components-order-summary, .hb-flow .wc-block-components-totals-item { padding: 0 !important; margin: 0; }
.hb-flow .wc-block-components-panel__button { padding: 0.15rem 0 !important; margin: 0 !important; font-size: 1rem !important; }
.hb-flow .wc-block-components-order-summary__content { padding: 0; }
.hb-flow .wc-block-components-order-summary-item { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 0 1rem; padding: 0.85rem 0 !important; border: 0 !important; }
.hb-flow .wc-block-components-order-summary-item + .wc-block-components-order-summary-item { border-top: 1px solid var(--line) !important; }
.hb-flow .wc-block-components-order-summary-item__image { width: 64px !important; margin: 0 !important; padding: 0 !important; }
.hb-flow .wc-block-components-order-summary-item__image > img { width: 64px !important; max-width: 64px !important; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-input); background: var(--surface-2); }
.hb-flow .wc-block-components-order-summary-item__quantity { background: var(--accent) !important; color: var(--accent-ink) !important; border-color: var(--surface) !important; box-shadow: none !important; font-weight: 700; }
.hb-flow .wc-block-components-order-summary-item__description { padding: 0 !important; width: auto !important; }
.hb-flow .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-weight: 700; font-size: 1rem; }
.hb-flow .wc-block-components-order-summary-item__individual-prices { font-size: 0.9rem; }
.hb-flow .wc-block-components-order-summary-item__total-price { padding: 0 !important; margin: 0 !important; font-weight: 700; text-align: right; }
.hb-flow .wc-block-components-product-metadata__description { font-size: 0.88rem; line-height: 1.45; }
.hb-flow .wc-block-components-totals-item { font-size: 1rem; }
.hb-flow .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label, .wc-block-components-totals-item__value) { font: 800 1.5rem/1.2 var(--font-head) !important; letter-spacing: -0.02em; }
.hb-flow .wc-gzd-legal-guarantee-label img.wc-gzd-legal-guarantee-image-preview { width: 112px !important; max-width: 112px !important; min-width: 0 !important; height: auto !important; border-radius: 6px; }
.hb-flow .wc-gzd-legal-guarantee-label { margin: 0 !important; }

.hb-flow .wc-block-components-totals-wrapper:empty, .hb-flow :is([class*="summary-fee-block"], [class*="summary-discount-block"], [class*="summary-taxes-block"]):not(:has(.wc-block-components-totals-item)), .hb-flow .wc-block-components-totals-shipping__via { display: none !important; }

/* the checkbox nobody should miss */
.hb-flow .wc-gzd-checkboxes .wc-block-components-checkbox { margin: 0 !important; }
.hb-flow .wc-gzd-checkboxes .wc-block-components-checkbox label { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.15rem; border: 1px solid var(--field-line); border-radius: var(--r-input); background: var(--surface-2); cursor: pointer; line-height: 1.5; transition: border-color 0.2s; }
.hb-flow .wc-gzd-checkboxes label:hover { border-color: var(--accent); }
.hb-flow .wc-gzd-checkboxes label:has(input:checked) { border-color: rgba(49, 172, 107, 0.6); }
.hb-flow .wc-gzd-checkboxes .has-error label { border-color: #e8876b; background: rgba(224, 120, 90, 0.1); }
.hb-flow .wc-gzd-checkboxes label > span { margin: 0; }
.hb-flow :is(.wc-block-components-validation-error, .wc-block-components-validation-error p) { color: #f3a48d !important; font-size: 0.93rem; position: static !important; padding-top: 0.35rem; }
.hb-flow .wc-block-components-validation-error svg { fill: currentColor; }

.hb-flow .wc-gzd-checkboxes .has-error :is(label, label > span) { color: var(--text) !important; }
.hb-flow .wc-gzd-checkboxes .has-error .wc-block-components-checkbox__input { border-color: #f3a48d !important; box-shadow: none !important; outline: 2px solid #f3a48d; outline-offset: 2px; }
.hb-flow .wc-block-components-validation-error { line-height: 1.45; padding: 0.5rem 0 0 !important; }
.hb-flow .wc-block-components-validation-error p { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0; line-height: 1.45 !important; }
.hb-flow .wc-block-components-validation-error svg { flex: none; width: 22px; height: 22px; }
.hb-flow .wc-block-components-validation-error a { color: inherit !important; }

/* fields: label above, 54px, solid ground */
.hb-flow .wc-block-components-address-form { gap: 1rem !important; margin: 0 !important; }
.hb-flow .wc-block-components-text-input { margin-top: 0 !important; padding-top: 1.75rem; }
.hb-flow .wc-block-components-text-input label, .hb-flow .wc-block-components-text-input.is-active label { position: absolute; top: 0 !important; left: 0 !important; margin: 0 !important; padding: 0; transform: none !important; font-size: 0.95rem !important; line-height: 1.4 !important; color: #cfd9d1 !important; pointer-events: auto; max-width: none; background: none; }
.hb-flow .wc-block-components-text-input :is(input[type], input), .hb-flow .wc-block-components-textarea { height: 54px !important; min-height: 54px; padding: 0 1rem !important; border: 1px solid var(--field-line) !important; border-radius: var(--r-input) !important; background: var(--bg) !important; color: var(--text) !important; font-size: 1.0625rem !important; line-height: 1.4 !important; }
.hb-flow .wc-block-components-textarea { height: auto !important; min-height: 110px; padding: 0.9rem 1rem !important; }
.hb-flow .wc-blocks-components-select__container { height: auto !important; padding-top: 1.75rem; background: none !important; border: 0 !important; box-shadow: none !important; }
.hb-flow .wc-blocks-components-select__label { top: 0 !important; left: 0 !important; transform: none !important; font-size: 0.95rem !important; color: #cfd9d1 !important; }
.hb-flow .wc-blocks-components-select__select { height: 54px !important; padding: 0 2.5rem 0 1rem !important; border: 1px solid var(--field-line) !important; border-radius: var(--r-input) !important; background: var(--bg) !important; color: var(--text) !important; font-size: 1.0625rem !important; }
.hb-flow .wc-blocks-components-select__expand { top: auto !important; bottom: 15px !important; transform: none !important; fill: var(--muted) !important; }
.hb-flow :is(.wc-block-components-text-input input, .wc-blocks-components-select__select, .wc-block-components-textarea):focus { border-color: var(--accent) !important; box-shadow: 0 0 0 1px var(--accent) !important; outline: 0 !important; }
.hb-flow .wc-block-components-text-input.has-error input { border-color: #e8876b !important; }
.hb-flow .wc-block-components-text-input.has-error label { color: #f3a48d !important; }
.hb-flow .wc-block-components-address-form__address_2-toggle { color: var(--accent) !important; font-size: 0.97rem; }
.hb-flow .wc-block-checkout__guest-checkout-notice { font-size: 0.93rem; }

/* choices: delivery, shipping, payment */
.hb-flow .wc-block-checkout__shipping-method-container { padding: 0 !important; gap: 0.75rem !important; background: none !important; display: grid !important; grid-template-columns: 1fr 1fr; }
.hb-flow .wc-block-checkout__shipping-method-option { min-height: 60px; padding: 0.85rem 1rem !important; border: 1px solid var(--field-line) !important; border-radius: var(--r-input) !important; background: var(--bg) !important; color: var(--text) !important; box-shadow: none !important; outline-offset: 3px; }
.hb-flow .wc-block-checkout__shipping-method-option--selected { border-color: var(--accent) !important; box-shadow: inset 0 0 0 1px var(--accent) !important; background: rgba(49, 172, 107, 0.12) !important; }
.hb-flow .wc-block-checkout__shipping-method-option :is(span, div) { color: var(--text) !important; }
.hb-flow .wc-block-checkout__shipping-method-option svg { fill: var(--accent) !important; }
.hb-flow .wc-block-components-radio-control { border: 0 !important; }
.hb-flow .wc-block-components-radio-control::after, .hb-flow .wc-block-components-radio-control__option::after, .hb-flow .wc-block-components-radio-control-accordion-option::after { display: none !important; }
.hb-flow :is(.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option, .wc-block-components-local-pickup-rates-control .wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option) { border: 1px solid var(--field-line) !important; border-radius: var(--r-input) !important; background: var(--bg); box-shadow: none !important; }
.hb-flow :is(.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted) { border-color: var(--accent) !important; box-shadow: inset 0 0 0 1px var(--accent) !important; }
.hb-flow .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { border: 0 !important; box-shadow: none !important; background: none; }
.hb-flow .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option, .hb-flow .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option + .wc-block-components-radio-control__option { margin-top: 0.75rem; }
.hb-flow .wc-block-components-radio-control__option { padding: 1rem 1rem 1rem 3.25rem !important; }
.hb-flow .wc-block-components-radio-control__input { left: 1rem !important; }
.hb-flow .wc-block-components-radio-control-accordion-content { padding: 0 1rem 1.1rem 3.25rem !important; color: #cfd9d1; font-size: 0.97rem; }
.hb-flow .wc-block-components-radio-control__label { font-weight: 700; }
.hb-flow .wc-block-components-radio-control :is(.wc-block-components-radio-control__label, .wc-block-components-radio-control__secondary-label, .wc-block-components-radio-control__description) { color: var(--text) !important; }
.hb-flow .wc-block-components-address-card { border-color: var(--field-line) !important; border-radius: var(--r-input) !important; background: var(--bg); }

.hb-flow :is(.wc-block-components-shipping-rates-control, .wc-block-components-local-pickup-rates-control) .wc-block-components-radio-control__option:has(input:checked), .hb-flow .wc-block-components-radio-control-accordion-option:has(input:checked) { border-color: var(--accent) !important; box-shadow: inset 0 0 0 1px var(--accent) !important; background: rgba(49, 172, 107, 0.1) !important; }
.hb-flow .wc-block-components-panel__button { min-height: 44px; }
.hb-flow .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item { padding-block: 0.35rem !important; }

/* ---------- cart ---------- */
.hb-flow--cart .wc-block-cart__main { display: block; }
.hb-flow--cart table.wc-block-cart-items.wc-block-cart-items { margin: 0 !important; display: block; width: 100%; box-sizing: border-box; background: var(--surface) !important; border: 1px solid var(--line); border-radius: var(--r-card); padding: 0.35rem var(--inner); }
.hb-flow--cart .wc-block-cart-items :is(thead) { display: none; }
.hb-flow--cart .wc-block-cart-items tbody { display: block; }
.hb-flow--cart .wc-block-cart-items__row.wc-block-cart-items__row { display: grid !important; grid-template-columns: 92px minmax(0, 1fr) auto !important; gap: 0 1.15rem; padding: 1.35rem 0 !important; }
.hb-flow--cart .wc-block-cart-items__row + .wc-block-cart-items__row { border-top: 1px solid var(--line); }
.hb-flow--cart .wc-block-cart-items td { display: block; padding: 0 !important; border: 0 !important; }
.hb-flow--cart .wc-block-cart-item__image { width: 92px; grid-column: 1 !important; grid-row: 1 !important; }
.hb-flow--cart .wc-block-cart-item__image img { width: 92px !important; max-width: none; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-input); background: var(--surface-2); }
.hb-flow--cart .wc-block-cart-items__row .wc-block-cart-item__product { grid-column: 2 !important; grid-row: 1 !important; width: auto !important; justify-self: stretch !important; }
.hb-flow--cart .wc-block-cart-item__wrap { max-width: none; }
.hb-flow--cart .wc-block-cart-item__total { grid-column: 3 !important; grid-row: 1 !important; text-align: right; }
.hb-flow--cart .wc-block-cart-item__total .wc-block-components-product-price__value { font: 800 1.25rem/1.25 var(--font-head); color: var(--text) !important; }
.hb-flow--cart .wc-block-components-product-name { font: 700 1.1rem/1.25 var(--font-body) !important; text-decoration: none !important; }
.hb-flow--cart .wc-block-components-product-name:hover { color: var(--accent) !important; text-decoration: none; }
.hb-flow--cart .wc-block-cart-item__prices { font-size: 0.93rem; color: var(--muted); }
.hb-flow--cart .wc-block-cart-item__prices .wc-block-components-formatted-money-amount { color: var(--muted) !important; }
.hb-flow--cart .wc-block-components-product-metadata__description { display: none; }
.hb-flow--cart .wc-block-components-product-metadata { font-size: 0.93rem; }
.hb-flow--cart .wc-block-cart-item__quantity { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.75rem !important; }
.hb-flow--cart .wc-block-cart-item__remove-link { width: 44px; height: 44px; border-radius: 50%; }
.hb-flow--cart .wc-block-cart-item__remove-link :is(svg) { fill: var(--muted); }
.hb-flow--cart .wc-block-cart-item__remove-link:hover { background: rgba(255, 255, 255, 0.08); }
.hb-flow--cart .wc-block-cart__sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.5rem var(--inner) 1.75rem !important; box-sizing: border-box; }
.hb-flow--cart .wc-block-cart__totals-title { display: none; }
.hb-flow--cart .wc-block-cart__submit { margin: 0.75rem 0 0 !important; }
.hb-flow--cart .wc-block-cart__submit-container { padding: 0 !important; }
.hb-flow--cart .wc-block-components-totals-wrapper:first-of-type { border-top: 0 !important; }
.hb-flow--cart .wc-block-cart__submit-container--sticky { background: var(--surface) !important; border-top: 1px solid var(--line); padding: 0.85rem var(--gutter) !important; box-shadow: none !important; z-index: 40; }
.hb-flow--cart .wc-block-cart__submit-container--sticky::before { display: none !important; }
.hb-flow--cart .wc-block-cart__payment-options:empty { display: none; }
.minis--cart { width: min(var(--flow), 100% - 2 * var(--gutter)); margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.hb-flow--cart .wc-block-cart--is-loading, .hb-flow--cart .wp-block-woocommerce-empty-cart-block { text-align: left; }
.hb-empty h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.hb-empty .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hb-empty p { margin: 0.9rem 0 1.5rem; color: #cfd9d1; }
.hb-flow--cart:has(.wp-block-woocommerce-empty-cart-block) :is(.fsbox, .promises, .minis--cart) { display: none; }

.hb-flow .wc-block-components-product-name { overflow-wrap: normal; word-break: normal; hyphens: auto; }
.hb-flow .hb-content--wide > *:last-child { margin-bottom: 0 !important; }

/* ---------- product page ---------- */
.hb-product.wp-block-columns.hb-product { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 2.25rem clamp(2rem, 4.5vw, 4.5rem); }
.hb-product__media { grid-column: 1; grid-row: 1; }
.hb-product__summary { grid-column: 2; grid-row: 1 / 3; }
.hb-product__side { grid-column: 1; grid-row: 2; }
.hb-product__price { margin-top: 1.25rem !important; }
.hb-product .hb-product__price .wp-block-woocommerce-product-price { margin: 0 !important; }
.hb-product__excerpt p { margin: 0; }
.hb-product form.cart::before, .hb-product form.cart::after { display: none !important; }
.hb-product form.cart { margin: 1.5rem 0 0.9rem !important; padding: 0 !important; width: 100%; }
.hb-product .wp-block-add-to-cart-form, .hb-product .wc-block-add-to-cart-form { padding: 0; margin: 0; }
.hb-product .woocommerce-variation.single_variation { display: none !important; } /* the price above the buttons already changes */
.hb-product table.variations, .hb-product table.variations :is(tbody, tr) { display: block; width: 100%; }
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pills--price { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
.pill { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0.2rem; min-height: 52px; padding: 0.8rem 1rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--r-input); background: var(--surface); color: var(--text); font: 500 1rem/1.25 var(--font-body); text-align: left; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.pill:hover { border-color: var(--accent); }
.pills__hint { display: block; margin-top: 0.6rem; font-size: 0.86rem; color: var(--muted); }
.pill__n { font-weight: 700; }
.pill__p { color: #cfd9d1; }
.pill__s { font-size: 0.84rem; color: var(--muted); }
.pill__s.is-best { color: var(--accent); font-weight: 700; }
.pill[aria-checked="true"] { border-color: var(--accent); background: rgba(49, 172, 107, 0.14); box-shadow: inset 0 0 0 1px var(--accent); }
.hb-product .single_add_to_cart_button { display: inline-flex !important; align-items: center; justify-content: space-between; gap: 1rem; height: 60px !important; min-height: 60px !important; white-space: nowrap; transition: background-color 0.25s, transform 0.3s var(--ease), opacity 0.2s; }
.hb-product .single_add_to_cart_button:active { transform: scale(0.985); }
.hb-product .single_add_to_cart_button > span:only-child { margin: auto; }
.hb-product .quantity.is-stepper { height: 60px; }
.hb-product .wp-block-woocommerce-germanized-product-delivery-time, .hb-product .delivery-time-info { margin: 0 !important; color: #cfd9d1; }
.ptrust { display: grid; gap: 1rem; margin-top: 1.1rem; padding: 1.15rem 1.25rem; border-radius: var(--r-card); background: var(--surface); }
.ptrust ul { list-style: none; display: grid; gap: 0.65rem; padding: 0; }
.ptrust li { display: flex; gap: 0.75rem; align-items: center; color: #dfe7e0; }
.ptrust .ic { color: var(--accent); width: 1.35rem; height: 1.35rem; }
.phelp { display: flex; gap: 1.1rem; align-items: center; margin-top: 1.5rem; }
.phelp img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; flex: none; }
.phelp h2 { font: 700 1.1rem/1.3 var(--font-body); letter-spacing: 0; }
.phelp p { margin: 0.2rem 0 0.8rem; color: var(--muted); font-size: 0.97rem; line-height: 1.45; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 0; }
.spec div { padding: 0.9rem 1rem; border-radius: var(--r-input); background: var(--surface); }
.spec div:only-child, .spec div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.spec dt { font-size: 0.86rem; color: var(--muted); }
.spec dd { margin: 0.15rem 0 0; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.facts { list-style: none !important; margin: 0 0 1.4rem !important; padding: 1rem 1.2rem !important; border-radius: var(--r-input); background: var(--surface); display: grid; gap: 0.15rem; }
.facts li { margin: 0 !important; padding: 0.2rem 0 !important; }
.facts strong { color: var(--text); }
.hb-prose.is-clamped { max-height: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.clamp-btn { margin-top: 1.25rem; }
.hb-product-page .faq { padding-block: clamp(4rem, 8vw, 7rem) 0; }

/* buy bar */
.buybar { position: fixed; inset: auto 0 0 0; z-index: 58; background: rgba(17, 24, 20, 0.97); border-top: 1px solid var(--line); transform: translateY(105%); transition: transform 0.4s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.buybar.is-on { transform: none; }
.buybar__in { display: flex; align-items: center; gap: 1rem; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 0.7rem 0; }
.buybar img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }
.buybar__t { min-width: 0; flex: 1; }
.buybar__t p { font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__t span { color: var(--accent); font-size: 0.93rem; }
.buybar .btn { flex: none; min-width: 12rem; }
.buybar .is-busy { opacity: 0.5; }
html.has-buybar #rmcc { bottom: 84px; }

@media (max-width: 900px) {
  .hb-product.wp-block-columns.hb-product { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .hb-product__media, .hb-product__summary, .hb-product__side { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .chead__in { grid-template-columns: auto 1fr; row-gap: 0; }
  .chead__help span { display: none; }
  .csteps { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding: 0 0 0.75rem; }
  .chead__in { padding-top: 0.35rem; }
  .promises { grid-template-columns: 1fr; }
  .pills--price { grid-template-columns: 1fr 1fr; }
  .buybar .btn { min-width: 0; padding: 0 1.1rem; }
  .buybar img { display: none; }
  .hb-product .single_add_to_cart_button { flex: 1 1 100% !important; }
  .hb-product .quantity.is-stepper { width: 100%; justify-content: space-between; }
  .hb-flow--cart .wc-block-cart-items__row.wc-block-cart-items__row { grid-template-columns: 72px minmax(0, 1fr) auto !important; gap: 0 0.9rem; }
  .hb-flow--cart .wc-block-cart-item__image, .hb-flow--cart .wc-block-cart-item__image img { width: 72px !important; }
  .hb-flow .wc-block-components-order-summary-item { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .hb-flow :is(.wc-block-components-order-summary-item__image, .wc-block-components-order-summary-item__image > img) { width: 52px !important; }
  .hb-flow .wc-block-components-address-form > * + * { margin-top: 0.9rem !important; }
  .hb-flow .wc-block-components-address-form { gap: 0 !important; }
  .hb-flow--cart .wc-block-components-product-name { font-size: 1rem !important; }
  .mini { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0.8rem; }
  .mini__img img { width: 56px; height: 56px; }
}
