/*
 * Product page decision zone: gallery, buy column, buy box (weight → recommendation, Spar-Abo / one-time),
 * buy accordions, sibling hint with comparison dialog, sticky CTA. Ported from the design style.css
 * (PDP — DECISION ZONE … dose table, sticky CTA; design c0fa158) with ll- classes and tokens.
 */
/* Blocksy's content spacing off: the decision zone and the sections bring their own. */
body.single-product { --theme-content-vertical-spacing: 0; }

/* Design reset (style.css 103–129), scoped to the product page components. */
:where(.ll-decision, .ll-sticky-cta, .ll-cmp) :is(p, h1, h2, ul, ol, li, figure, details, summary, table) {
  margin: 0;
  padding: 0;
}
:where(.ll-decision, .ll-cmp) :is(ul, ol) { list-style: none; }
:where(.ll-decision, .ll-sticky-cta) img { display: block; max-width: 100%; height: auto; }
:where(.ll-decision, .ll-cmp) :where(button:not(.button, .wp-element-button)) {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

/* ============================================================
   PDP — DECISION ZONE
   ============================================================ */
.ll-decision {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto;
  column-gap: var(--ll-gap-split);
  align-items: start;
  max-width: var(--ll-container);
  margin: 0 auto;
  /* design: header height + gap (fixed header); the Blocksy header sits in the flow with a 1px bottom border */
  padding: calc(clamp(var(--ll-space-32), 3.4vw, var(--ll-space-48)) - 1px) var(--ll-pad-x) var(--ll-sect-y);
}
/* Desktop: Galerie links (spannt beide Zeilen), rechts oben buycol, darunter die Kaufbox */
.ll-decision > .ll-gallery { grid-column: 1; grid-row: 1 / 3; }
.ll-decision > .ll-buycol { grid-column: 2; grid-row: 1; }
.ll-decision > .ll-buybox { grid-column: 2; grid-row: 2; }
/* Tablet: Bild links | Titel/Sterne/Bullets rechts, Kaufbox volle Breite darunter */
@media (min-width: 690px) and (max-width: 999.98px) {
  .ll-decision { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }
  .ll-decision > .ll-gallery { grid-row: 1; }
  .ll-decision > .ll-buybox { grid-column: 1 / -1; grid-row: 2; margin-top: var(--ll-space-32); }
}
@media (max-width: 689.98px) {
  /* Phone: alles gestapelt, Titel + Sterne über die Galerie — buycol wird transparent, seine Kinder werden echte Grid-Items */
  .ll-decision { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 0; }
  .ll-decision > .ll-gallery, .ll-decision > .ll-buycol, .ll-decision > .ll-buybox { grid-column: auto; grid-row: auto; }
  .ll-buycol { display: contents; }
  .ll-buycol h1 { order: -2; }
  .ll-buycol__rating { order: -1; }
}
.ll-gallery { position: sticky; top: var(--ll-gallery-top); }
@media (max-width: 999.98px) { .ll-gallery { position: relative; top: auto; } }
@media (max-width: 689.98px) { .ll-gallery { margin-bottom: var(--ll-space-24); } }
.ll-gallery__main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--ll-r-xl);
  background: var(--ll-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--ll-shadow-card);
  margin-bottom: var(--ll-space-16);
}
/* Topic watermark per product (ACF ll_pattern) */
.ll-gallery--gut { --ll-pattern: url("../icons/products/gut.svg"); --ll-pattern-position: left -150% top 50%; --ll-pattern-size: auto 120%; }
.ll-gallery--joints { --ll-pattern: url("../icons/products/joints.svg"); --ll-pattern-position: left 5% top 50%; --ll-pattern-size: auto 120%; }
.ll-gallery--heart { --ll-pattern: url("../icons/products/heart.svg"); --ll-pattern-position: left 100% top 50%; --ll-pattern-size: auto 105%; }
.ll-gallery__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ll-pattern, none);
  background-repeat: no-repeat;
  background-position: var(--ll-pattern-position, left 0 top 50%);
  background-size: var(--ll-pattern-size, auto 100%);
  opacity: var(--ll-pattern-opacity); /* the icons are pre-tinted; softened further so the watermark recedes */
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.ll-gallery__main > * { position: relative; z-index: 1; }
.ll-gallery__main img {
  /* Packshot: the same box for every square image, whatever its file size (no shift between front and back label). */
  width: 88%; height: 88%; object-fit: contain; transition: opacity var(--ll-t-fast) ease;
}
.ll-gallery__main img.is-photo { position: absolute; inset: 0; max-height: none; width: 100%; height: 100%; object-fit: cover; filter: none; }
.ll-gallery__main img.is-label { max-height: none; max-width: 88%; filter: var(--ll-shadow-label); }
/* Badge primitive (design .pcard__badge, .gallery__badge, .plan__badge) */
.ll-gallery__badge, .ll-plan__badge, .ll-qty-card__ship {
  font-size: var(--ll-overline); line-height: var(--ll-lh-tight);
  font-weight: 700;
  letter-spacing: var(--ll-tracking-caps);
  text-transform: uppercase;
  border-radius: var(--ll-r-full);
}
/* The gallery shows its own parts and our badge stack, nothing else: a foreign badge or ribbon (Blocksy, WooCommerce,
   a plugin, now or later) can neither cover nor push the image (Lena 2026-11-24) */
.ll-gallery > :not(.ll-gallery__nav, .ll-gallery__badges, .ll-gallery__main, .ll-gallery__thumbs),
.ll-gallery :is(.onsale, .out-of-stock-badge, .ct-woo-badges, [class*="badge"]:not([class*="ll-"])) { display: none !important; }
.ll-gallery__badges {
  position: absolute;
  z-index: 3;                    /* sonst überdeckt das opake .ll-gallery__main den Badge (DOM-Reihenfolge) */
  top: var(--ll-badge-inset); left: var(--ll-badge-inset);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--ll-space-8);
  pointer-events: none;
}
.ll-gallery__badge {
  background: var(--ll-white);
  padding: var(--ll-space-8) var(--ll-space-16);
  color: var(--ll-petrol);
  transform: rotate(var(--ll-tilt));
}
.ll-gallery__badge--acc { background: var(--ll-cyan); color: var(--ll-petrol-deep); }
/* Saving of an additional discount, in place of «Swiss Made» (design canvas «Sale product cards», product page) */
.ll-gallery__badge--sale { background: var(--ll-petrol); color: var(--ll-white); }
.ll-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ll-space-12); }
.ll-gallery__thumb {
  aspect-ratio: 1;
  border-radius: var(--ll-r-md);
  border: var(--ll-border-w-strong) solid var(--ll-border-soft);
  background: var(--ll-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color var(--ll-t-fast) ease, transform var(--ll-t-fast) var(--ll-ease-pop);
}
.ll-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ll-gallery__thumb img.is-contain { object-fit: contain; padding: 12%; }
.ll-gallery__thumb:hover { transform: translateY(var(--ll-lift)); }
.ll-gallery__thumb.is-active { border-color: var(--ll-petrol); }
@media (max-width: 689.98px) {
  /* Nur Phone: Galerie als Swipe-Karussell (Thumbs → vollbreite Slides mit Scroll-Snap). Tablet nutzt die Desktop-Galerie (Hauptbild + Thumbnail-Leiste) */
  .ll-gallery__main { display: none; }
  .ll-gallery__thumbs {
    display: flex; grid-template-columns: none; gap: var(--ll-space-12);
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* symmetrisches Full-Bleed wie die Reviews: Slides fluchten links/rechts mit dem Inhalt, peeken zu beiden Rändern; Content-Box = Galerie-Breite (Pfeil-calc identisch) */
    margin-inline: calc(-1 * var(--ll-pad-x)); padding-inline: var(--ll-pad-x); scroll-padding-inline: var(--ll-pad-x);
  }
  .ll-gallery__thumbs::-webkit-scrollbar { display: none; }
  /* The carousel clips a ring outside the slide: drawn inside it. */
  .ll-gallery__thumbs .ll-gallery__thumb:focus-visible { outline-offset: calc(-1 * (var(--ll-focus-w) + var(--ll-focus-offset))); }
  .ll-gallery__thumb {
    flex: 0 0 90%; scroll-snap-align: start; aspect-ratio: auto; height: 86vw; max-height: var(--ll-gallery-slide-max);
    border: 0; border-radius: var(--ll-r-xl); background: var(--ll-beige); box-shadow: var(--ll-shadow-card);
  }
  .ll-gallery__thumb:hover { transform: none; }
  .ll-gallery__thumb.is-active { border: 0; }
  .ll-gallery__thumb img.is-contain { padding: 8%; }
}
/* Galerie-Pfeile — Overlay über dem grossen Bild (Desktop + Tablet) bzw. am Karussell (Phone); deaktivierte Pfeile faden aus */
.ll-gallery__nav {
  display: inline-flex; align-items: center; justify-content: center;
  position: absolute; z-index: 3;
  top: 40%; transform: translateY(-50%);  /* Desktop: Mitte des Hauptbildes (Galerie = Bild + Thumbs, Bildmitte ≈ 40% der Höhe) */
  width: var(--ll-tap); height: var(--ll-tap); border-radius: 50%;
  background: var(--ll-white); border: 1px solid var(--ll-border); color: var(--ll-petrol);
  box-shadow: var(--ll-shadow-float); cursor: pointer;
  transition: opacity var(--ll-t-base) ease, background var(--ll-t-base) ease;
}
.ll-gallery__nav:hover { background: var(--ll-petrol); color: var(--ll-white); }
.ll-gallery__nav[disabled] { opacity: 0; pointer-events: none; }
.ll-gallery__nav svg { width: var(--ll-icon-m); height: var(--ll-icon-m); }
/* Desktop + Tablet: dezent eingerückt über den Rändern des grossen Bildes */
.ll-gallery__nav--prev { left: var(--ll-space-12); }
.ll-gallery__nav--next { right: var(--ll-space-12); }
@media (max-width: 999.98px) {
  .ll-gallery__nav { top: 50%; }  /* Tablet: Galerie = nur Hauptbild (Thumbs aus) → mittig */
}
@media (max-width: 689.98px) {
  /* Phone: über dem Karussell */
  .ll-gallery__nav { top: 50%; }
  .ll-gallery__nav--prev { left: var(--ll-gallery-nav-phone); }
  .ll-gallery__nav--next { right: calc(10% - var(--ll-tap) / 2); }  /* Mitte auf die rechte Slide-Kante (1-up: 90% der Galerie-Breite) */
}
/* Tablet: Thumbnail-Leiste weg — grosses Bild + Pfeile blättern durch alle Bilder (Bildwechsel via JS) */
@media (min-width: 690px) and (max-width: 999.98px) {
  .ll-gallery__thumbs { display: none; }
  .ll-gallery__main { margin-bottom: 0; }
}

.ll-buycol h1 { font-size: var(--ll-h1); font-weight: 700; line-height: var(--ll-lh-heading); letter-spacing: var(--ll-tracking-tight); margin-bottom: var(--ll-space-12); }
.ll-buycol__sub { font-size: var(--ll-lead); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-soft); margin-bottom: var(--ll-space-24); max-width: 60ch; }
.ll-buycol__rating { display: inline-flex; align-items: center; gap: var(--ll-space-8); font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-soft); margin-bottom: var(--ll-space-16); }
.ll-buycol__rating a { text-decoration: underline; text-underline-offset: var(--ll-underline-gap); }
.ll-checks { margin-bottom: var(--ll-space-24); display: grid; gap: var(--ll-space-8); }
.ll-checks li { position: relative; padding-left: var(--ll-space-32); font-size: var(--ll-body); line-height: var(--ll-lh-relaxed); }
.ll-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: var(--ll-checks-icon-top);
  width: var(--ll-check); height: var(--ll-check);
  background: var(--ll-petrol);
  -webkit-mask: var(--ll-icon-check) center / var(--ll-check) no-repeat;
  mask: var(--ll-icon-check) center / var(--ll-check) no-repeat;
}

/* Geschwister-Produkt (Active Motion Chews ↔ Pro): dezenter Hinweis über der Kaufbox, (i) öffnet den Vergleich */
.ll-sibling {
  display: flex; align-items: center; gap: var(--ll-space-24);
  padding-top: var(--ll-space-12);
  border-top: 1px solid var(--ll-border);
  margin-bottom: var(--ll-space-24);
  font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-mute);
}
.ll-sibling__text { min-width: 0; }
.ll-sibling a { color: var(--ll-ink-soft); transition: color var(--ll-t-fast) ease; }
.ll-sibling__name { text-decoration: underline; text-underline-offset: var(--ll-underline-gap); }   /* wie der Bewertungs-Link darüber; Pfeil bleibt ohne Linie */
.ll-sibling a:hover { color: var(--ll-petrol); }
.ll-sibling__info {   /* direkt hinter dem Link, ohne Rahmen wie das (i) der Staffelpreise; Trefferfläche per ::after vergrössert */
  position: relative; flex-shrink: 0; display: grid; place-items: center;
  width: var(--ll-icon-s); height: var(--ll-icon-s);
  color: var(--ll-ink-mute); transition: color var(--ll-t-fast) ease;
}
.ll-sibling__info::after { content: ""; position: absolute; inset: calc(-1 * var(--ll-space-12)); }
.ll-sibling__info:hover { color: var(--ll-petrol); }
.ll-sibling__info svg { width: var(--ll-icon-s); height: var(--ll-icon-s); display: block; }

/* Vergleichs-Dialog (natives <dialog>: Fokusführung + Esc gratis) */
.ll-cmp-dialog,
.ll-imodal {
  margin: auto;                  /* globaler Reset nullt die Margins — ohne das klebt der Dialog oben links */
  padding: 0; border: 0; border-radius: var(--ll-r-xl);
  background: var(--ll-white); color: var(--ll-ink);
  box-shadow: var(--ll-shadow-float);
  overflow: auto;
}
.ll-cmp-dialog {
  width: min(var(--ll-dialog), calc(100% - 2 * var(--ll-pad-x)));
  max-height: calc(100dvh - 2 * var(--ll-space-24));
}
.ll-cmp-dialog[open], .ll-imodal[open] { animation: cmp-in var(--ll-t-base) var(--ll-ease); }
.ll-cmp-dialog::backdrop, .ll-imodal::backdrop { background: var(--ll-scrim); }
html:has(.ll-cmp-dialog[open], .ll-imodal[open]) { overflow: hidden; }
.ll-cmp { position: relative; padding: clamp(var(--ll-space-24), 4vw, var(--ll-space-40)); }
.ll-cmp__close,
.ll-imodal__close {
  position: absolute; top: var(--ll-space-16); right: var(--ll-space-16);
  display: grid; place-items: center; width: var(--ll-tap); height: var(--ll-tap); border-radius: 50%;
  color: var(--ll-ink-mute); transition: background var(--ll-t-fast) ease, color var(--ll-t-fast) ease;
}
.ll-cmp__close:hover, .ll-imodal__close:hover { background: var(--ll-beige); color: var(--ll-ink); }
.ll-cmp__close:focus:not(:focus-visible), .ll-imodal__close:focus:not(:focus-visible) { outline: none; }
.ll-cmp__close svg, .ll-imodal__close svg { width: var(--ll-icon-m); height: var(--ll-icon-m); }
.ll-cmp h2 { font-size: var(--ll-h3); font-weight: 700; line-height: var(--ll-lh-heading); margin: 0 var(--ll-space-40) var(--ll-space-8) 0; }
.ll-cmp__lead { font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-soft); margin-bottom: var(--ll-space-24); }
.ll-cmp__table { margin: 0; }
.ll-cmp .ll-cmp__table table { width: 100%; border: 0; border-collapse: collapse; margin-bottom: var(--ll-space-24); font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); }
.ll-cmp .ll-cmp__table thead { border-bottom: 0; }
.ll-cmp .ll-cmp__table :is(th, td) { border: 0; text-align: left; vertical-align: top; padding: var(--ll-space-12) var(--ll-space-16) var(--ll-space-12) 0; border-bottom: 1px solid var(--ll-border); }
.ll-cmp .ll-cmp__table thead th { padding-top: 0; font-weight: 700; color: var(--ll-ink); }
.ll-cmp .ll-cmp__table tbody td:first-child { font-weight: 400; color: var(--ll-ink-mute); white-space: nowrap; }
.ll-cmp .ll-cmp__table tbody tr:last-child > * { border-bottom: 0; }
.ll-cmp__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ll-space-12); }
.ll-cmp__actions > * { justify-content: center; }
@media (max-width: 689.98px) {   /* Labels über die zwei Produktspalten statt dritter Spalte */
  .ll-cmp .ll-cmp__table thead th:first-child { display: none; }
  .ll-cmp .ll-cmp__table tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--ll-space-16); }
  .ll-cmp .ll-cmp__table th, .ll-cmp .ll-cmp__table td { padding-right: 0; }
  .ll-cmp .ll-cmp__table tbody td:first-child { grid-column: 1 / -1; padding-bottom: 0; border-bottom: 0; }
  .ll-cmp__actions { grid-template-columns: 1fr; }
}

/* ============================================================
   SPAR-ABO-KAUFBOX (product.html-Logik im R7-Kleid)
   ============================================================ */
.ll-buybox {
  scroll-margin-top: calc(var(--ll-header-h) + var(--ll-space-16)); /* below the sticky header when a link scrolls to it */
  background: var(--ll-white);
  border: 1px solid var(--ll-border);
  border-radius: var(--ll-r-lg);
  padding: clamp(var(--ll-space-24), 2.4vw, var(--ll-space-32));
  box-shadow: var(--ll-shadow-float);
}
.ll-buybox__label { font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); font-weight: 700; margin-bottom: var(--ll-space-8); }
.ll-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--ll-space-8); margin-bottom: var(--ll-space-12); }
.ll-seg button {
  font-size: var(--ll-small); line-height: var(--ll-lh-relaxed);
  font-weight: 700;
  padding: var(--ll-space-8) var(--ll-space-12);
  border: var(--ll-border-w-strong) solid var(--ll-border);
  border-radius: var(--ll-r-md);
  background: var(--ll-white);
  color: var(--ll-ink-soft);
  transition: all var(--ll-t-fast) ease;
  text-align: center;
}
.ll-seg button[aria-pressed="true"] { border-color: var(--ll-petrol); color: var(--ll-ink); background: var(--ll-petrol-soft); }
.ll-buybox__reco {
  font-size: var(--ll-small); line-height: var(--ll-lh-relaxed);
  margin: var(--ll-space-2) var(--ll-space-2) var(--ll-space-24);
  color: var(--ll-ink-soft);
}
.ll-buybox__reco svg { width: var(--ll-icon-s); height: var(--ll-icon-s); margin: calc(-1 * var(--ll-space-2)) var(--ll-space-8) 0 0; display: inline-block; vertical-align: middle; stroke: var(--ll-petrol); fill: none; stroke-width: 1.8; stroke-linejoin: round; }
.ll-buybox__reco strong { font-weight: 700; color: var(--ll-ink); }
@media (max-width: 689.98px) {
  .ll-buybox__reco { font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); }
}

/* The plans' group (pdp.php): a fieldset without its frame. */
.ll-plans { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
/* The plan's radio: hidden but reachable by keyboard and screen readers. Not .screen-reader-text, which Blocksy shows
   on focus (for the skip link): a click focused the radio and it appeared at the card's corner. */
.ll-plan__input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
}
/* After a press with the mouse or a finger no focus ring in the buy box, also where a browser would draw one; it comes
   back with the next key (pdp.js). */
.ll-buybox[data-ll-pointer] :focus-visible { outline-style: none; }
/* Keyboard focus is on the hidden radio: the ring is drawn on its card. Only after keyboard input: pdp.js marks the
   box with data-ll-pointer on a mouse or touch press, as Safari can match the radio's :focus-visible after a click on
   its label (Lena 2026-11-26: double frame in Safari). */
.ll-buybox:not([data-ll-pointer]) .ll-plan:has(.ll-plan__input:focus-visible) {
  outline: var(--ll-focus-w) solid var(--ll-focus-color, var(--ll-petrol));
  outline-offset: var(--ll-focus-offset);
}
.ll-plan__head { cursor: pointer; }
.ll-plan {
  position: relative;
  border: var(--ll-border-w-strong) solid var(--ll-border);
  border-radius: var(--ll-r-md);
  padding: var(--ll-space-16) var(--ll-space-16);
  margin-bottom: var(--ll-space-12);
  cursor: pointer;
  transition: border-color var(--ll-t-fast) ease, background var(--ll-t-fast) ease;
}
.ll-plan:hover { border-color: var(--ll-border-strong); }
.ll-plan.is-selected { border-color: var(--ll-petrol); }
/* Tint nur auf der Kopfzeile (Mammaly-Muster) — voll bis an die Kartenränder */
.ll-plan.is-selected > .ll-plan__head {
  background: var(--ll-petrol-soft);
  margin: 0;                     /* kein Bleed → rundum gleicher Abstand zum Rahmen, gleiche Breite wie die Mengen-Felder */
  padding: var(--ll-space-16);
  border-radius: var(--ll-r-md);
}
.ll-plan__badge {
  position: absolute;
  top: calc(-1 * var(--ll-space-12)); left: var(--ll-plan-badge-x);
  background: var(--ll-cyan);
  color: var(--ll-petrol-deep);
  padding: var(--ll-space-4) var(--ll-space-12);
  transform: rotate(var(--ll-tilt));
}
.ll-plan__head {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--ll-space-12); align-items: start;
  margin: 0; font-size: var(--ll-body); line-height: var(--ll-lh-relaxed); /* a <label>: Blocksy's label size and bottom margin would apply */
}
.ll-plan__radio {
  width: var(--ll-radio); height: var(--ll-radio);
  align-self: center;
  border: var(--ll-border-w-strong) solid var(--ll-border);
  border-radius: 50%;
  position: relative;
  transition: border-color var(--ll-t-fast) ease;
}
.ll-plan.is-selected .ll-plan__radio { border-color: var(--ll-petrol); }
.ll-plan.is-selected .ll-plan__radio::after {
  content: "";
  position: absolute;
  inset: var(--ll-radio-dot-inset);
  border-radius: 50%;
  background: var(--ll-petrol);
}
.ll-plan__name { font-size: var(--ll-body); line-height: var(--ll-lh-relaxed); font-weight: 700; align-self: center; }
.ll-plan__discount {
  display: inline-block;
  margin-bottom: var(--ll-space-4);
  font-size: var(--ll-overline); line-height: var(--ll-lh-tight);
  font-weight: 700;
  letter-spacing: var(--ll-tracking-badge);
  background: var(--ll-petrol);
  color: var(--ll-white);
  border-radius: var(--ll-r-full);
  padding: var(--ll-space-4) var(--ll-space-8);
  font-variant-numeric: tabular-nums;
}
.ll-plan__name small { display: block; font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); font-weight: 500; color: var(--ll-ink-mute); margin-top: var(--ll-space-2); }
.ll-plan__price { text-align: right; }
/* During an additional discount: «Spare 10 %» in capitals and the price before it struck through, left of the price */
.ll-plan__discount--save { text-transform: uppercase; letter-spacing: var(--ll-tracking-caps); }
.ll-plan__row { display: flex; justify-content: flex-end; align-items: baseline; gap: var(--ll-space-8); }
.ll-was { font-size: var(--ll-small); font-weight: var(--ll-weight-medium); color: var(--ll-ink-mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ll-once-tiers .ll-was { margin-left: var(--ll-space-4); font-size: var(--ll-tiny); }
.ll-plan--once .ll-plan__price .ll-plan__now { color: var(--ll-ink); }   /* Einmalkauf neutral, Spar-Abo in Petrol */
.ll-plan__price .ll-plan__now { display: block; font-size: var(--ll-h4); font-weight: 700; letter-spacing: var(--ll-tracking-tight); color: var(--ll-petrol); font-variant-numeric: tabular-nums; }
.ll-plan__price .ll-plan__perday { display: block; font-size: var(--ll-overline); line-height: var(--ll-lh-tight); font-weight: 700; color: var(--ll-ink-mute); font-variant-numeric: tabular-nums; }
@media (max-width: 689.98px) {   /* nach den Basis-Regeln, sonst gewinnt deren spätere Source-Order */
  .ll-plan { padding: var(--ll-space-12); }
  .ll-plan.is-selected > .ll-plan__head { padding: var(--ll-space-12); }
  .ll-plan__head { gap: var(--ll-space-8); }
}
.ll-qty-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ll-space-8); }
/* Room above a row whose card carries the badge on its top edge (Lena 2026-11-26) */
.ll-qty-cards:has(.ll-qty-card__ship) { row-gap: var(--ll-space-16); }
@media (max-width: 689.98px) { .ll-qty-cards { grid-template-columns: 1fr; } } /* schmal: eine Spalte statt abgeschnittener Karten */
.ll-qty-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ll-space-8);
  text-align: left;
  padding: var(--ll-space-8) var(--ll-space-16);
  background: var(--ll-white);
  border: var(--ll-border-w-strong) solid var(--ll-border);
  border-radius: var(--ll-r-md);
  cursor: pointer;
  transition: border-color var(--ll-t-fast) ease, background var(--ll-t-fast) ease;
}
.ll-qty-card:hover { border-color: var(--ll-border-strong); }
.ll-qty-card[aria-pressed="true"] { border-color: var(--ll-petrol); background: var(--ll-petrol-soft); }
.ll-qty-card strong { display: flex; align-items: center; gap: var(--ll-space-8); font-size: var(--ll-body); line-height: var(--ll-lh-relaxed); font-weight: 700; }
/* «Kostenloser Versand» as a gold pill on the card's top edge, straight, inset like the plan badge (Lena 2026-11-26); the card keeps its height */
.ll-qty-card__ship {
  position: absolute;
  top: 0; left: var(--ll-plan-badge-x);
  transform: translateY(-50%);
  padding: var(--ll-space-2) var(--ll-space-8);
  font-style: normal;
  white-space: nowrap;
  background: var(--ll-sand-deep);
  color: var(--ll-white);
  pointer-events: none;
}
.ll-qty-card > span { font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ll-pills { display: flex; gap: var(--ll-space-8); flex-wrap: wrap; }
@media (max-width: 689.98px) { .ll-pills { display: grid; grid-template-columns: 1fr 1fr; } } /* 2 Pills pro Zeile, volle Breite */
.ll-pills .ll-pill-btn {
  font-size: var(--ll-small); line-height: var(--ll-lh-relaxed);
  font-weight: 700;
  padding: var(--ll-space-8) var(--ll-space-16);
  background: var(--ll-white);
  border: var(--ll-border-w-strong) solid var(--ll-border);
  border-radius: var(--ll-r-full);
  cursor: pointer;
  transition: border-color var(--ll-t-fast) ease, background var(--ll-t-fast) ease;
}
.ll-pills .ll-pill-btn:hover { border-color: var(--ll-border-strong); }
.ll-pills .ll-pill-btn[aria-pressed="true"] { border-color: var(--ll-petrol); background: var(--ll-petrol); color: var(--ll-white); }
.ll-plan__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--ll-t-slow) var(--ll-ease); }
.ll-plan.is-expanded .ll-plan__detail { grid-template-rows: 1fr; }
.ll-plan__detail-inner { overflow: hidden; }
/* Keyboard focus in the plan panel: room on every side for the options' ring, which the panel would clip; a collapsed
   panel leaves the tab order (its options were tab stops while invisible), once it has closed. */
.ll-plan__detail-inner {
  margin: calc(-1 * var(--ll-space-8));
  padding: var(--ll-space-8);
  transition: visibility 0s linear var(--ll-t-slow);
}
.ll-plan:not(.is-expanded) .ll-plan__detail-inner { visibility: hidden; }
.ll-plan.is-expanded .ll-plan__detail-inner { visibility: visible; transition-delay: 0s; }
.ll-plan__detail-label { font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); font-weight: 700; letter-spacing: var(--ll-tracking-caps); text-transform: uppercase; color: var(--ll-ink-mute); margin: var(--ll-space-16) 0 var(--ll-space-8); }
/* « · passt sich deiner Menge an» after «LIEFERINTERVALL»: normal case and lighter weight (Lena 2026-11-26) */
.ll-plan__detail-hint { font-weight: var(--ll-weight-medium); letter-spacing: normal; text-transform: none; }
.ll-once-tiers { margin-top: var(--ll-space-16); font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-soft); display: flex; align-items: baseline; }
.ll-once-tiers__label { font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); font-weight: 700; letter-spacing: var(--ll-tracking-caps); text-transform: uppercase; color: var(--ll-ink-mute); margin-right: var(--ll-space-24); flex: none; }
.ll-once-ship { margin-top: var(--ll-space-8); font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); font-weight: 700; color: var(--ll-petrol); }
/* Staffeln: beliebig viele, brechen als Ganzes um. Jede Staffel trägt ihren Trennpunkt vor sich; die Liste ist um dessen
   Breite nach links gerückt und dort beschnitten, darum steht am Zeilenanfang nie ein Punkt. Abstand wie die Vorlage
   (.once-tiers__sep: 12 px je Seite um den Punkt, 2 px breit; enger, seit die Preise die Währung tragen). */
.ll-once-tiers__list { --ll-once-sep: calc(2 * var(--ll-space-12) + var(--ll-space-2)); display: flex; flex-wrap: wrap; min-width: 0; margin-left: calc(-1 * var(--ll-once-sep)); clip-path: inset(0 0 0 var(--ll-once-sep)); }
.ll-once-tiers__tier { white-space: nowrap; }
.ll-once-tiers__tier::before { content: "·"; display: inline-block; width: var(--ll-once-sep); text-align: center; color: var(--ll-ink-mute); }
.ll-once-tiers strong { margin-left: var(--ll-space-4); color: var(--ll-ink); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 689.98px) { .ll-once-tiers { display: block; } .ll-once-tiers__label { display: block; margin: 0 0 var(--ll-space-4); } } /* Label eigene Zeile, Preise darunter */
.ll-buybox__btn, .ll-sticky-cta__btn { --theme-button-border: var(--ll-border-w-strong) solid transparent; } /* design .btn border (Blocksy's single-product button rule wins over buttons.css) */
.ll-buybox__btn { width: 100%; justify-content: center; margin-top: var(--ll-space-8); }
.ll-buybox__perks { display: flex; justify-content: space-between; align-items: center; gap: var(--ll-space-12); flex-wrap: wrap; margin-top: var(--ll-space-16); font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-mute); }
.ll-buybox__perks span { display: inline-flex; align-items: center; gap: var(--ll-space-8); }
.ll-buybox__perks svg { width: var(--ll-icon-s); height: var(--ll-icon-s); stroke: var(--ll-ink-mute); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ll-buybox__payments { display: inline-flex; align-items: center; gap: var(--ll-space-8); }
@media (max-width: 689.98px) { .ll-buybox__payments { width: 100%; justify-content: center; } } /* Zahlungslogos mobil zentriert auf eigener Zeile */
.ll-buybox__payments img { height: var(--ll-payment-h-sm); width: auto; filter: invert(1); opacity: var(--ll-payment-opacity-sm); }
.ll-buy-accordion { margin-top: var(--ll-space-24); }
.ll-buy-accordion details { border-top: 1px solid var(--ll-border-soft); }
/* The last closed summary ends flush with the card (design): its bottom padding is taken back by a margin, not removed,
   so its box, and the keyboard ring around it, stays as tall as the others. */
.ll-buy-accordion details:last-child:not([open]) summary { margin-bottom: calc(-1 * var(--ll-space-16)); }
.ll-buy-accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--ll-space-16) var(--ll-space-2);
  font-size: var(--ll-body); line-height: var(--ll-lh-relaxed);
  font-weight: 700;
  cursor: pointer;
}
.ll-buy-accordion summary::-webkit-details-marker { display: none; }
.ll-buy-accordion summary::after { content: "+"; font-size: var(--ll-h4); line-height: var(--ll-lh-tight); font-weight: 400; color: var(--ll-ink-mute); transition: transform var(--ll-t-base) var(--ll-ease); }
.ll-buy-accordion details[open] summary::after { transform: rotate(45deg); }
.ll-buy-accordion .ll-acc-body { padding: 0 var(--ll-space-2) var(--ll-space-16); font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-soft); }
.ll-buy-accordion .ll-acc-body--stack { display: flex; flex-direction: column; gap: var(--ll-space-24); } /* Blöcke via Gap statt inline-margin, wie .ll-decl__grid */
.ll-decl__h { font-weight: 700; color: var(--ll-ink); margin: 0 0 var(--ll-space-8); }
.ll-decl__h em { font-style: normal; font-weight: 500; font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-mute); }
.ll-decl-list { list-style: none; margin: 0; padding: 0; }
.ll-decl-list li { display: flex; align-items: baseline; padding: var(--ll-space-4) 0; }
.ll-decl-list li::after { content: ""; order: 1; flex: 1; margin: 0 var(--ll-space-8) var(--ll-decl-dot-offset); border-bottom: var(--ll-border-w-strong) dotted var(--ll-border); }
.ll-decl-list li:has(> :only-child)::after { display: none; }
.ll-decl-list .ll-n em { font-style: normal; color: var(--ll-ink-mute); }
.ll-decl-list .ll-v { order: 2; font-variant-numeric: tabular-nums; color: var(--ll-ink); }
.ll-decl__note { margin-top: var(--ll-space-8); font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-mute); }
.ll-decl__more { margin-top: var(--ll-space-8); }
.ll-decl__more a { font-weight: 700; color: var(--ll-petrol); text-decoration: underline; text-underline-offset: var(--ll-underline-gap); }
.ll-decl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ll-space-48); border-top: 1px solid var(--ll-border-soft); margin-top: var(--ll-space-16); padding-top: var(--ll-space-16); }
@media (max-width: 689.98px) { .ll-decl__grid { grid-template-columns: 1fr; gap: var(--ll-space-24); margin-top: var(--ll-space-32); padding-top: var(--ll-space-32); } }
.ll-decl-bullets { list-style: none; margin: 0; padding: 0; }
.ll-decl-bullets li { position: relative; padding: var(--ll-bullet-pad) 0 var(--ll-bullet-pad) var(--ll-space-16); }
.ll-decl-bullets li::before { content: ""; position: absolute; left: 0; top: var(--ll-bullet-top); width: var(--ll-bullet); height: var(--ll-bullet); border-radius: 50%; background: var(--ll-sand); }
.ll-buy-accordion .ll-acc-body table { width: 100%; border-collapse: collapse; }
.ll-buy-accordion .ll-acc-body td { padding: var(--ll-space-8) 0; border-bottom: 1px solid var(--ll-border-soft); }
.ll-buy-accordion .ll-acc-body tr:last-child td { border-bottom: 0; }
.ll-buy-accordion .ll-acc-body .ll-dose-table { border-collapse: separate; border-spacing: 0; }
.ll-buy-accordion .ll-acc-body .ll-dose-table th { text-align: left; font-weight: 700; color: var(--ll-ink); padding: var(--ll-space-8) var(--ll-space-16) var(--ll-space-8); }
.ll-buy-accordion .ll-acc-body .ll-dose-table td { border-bottom: 0; padding: var(--ll-space-12) var(--ll-space-16); }
.ll-buy-accordion .ll-acc-body .ll-dose-table th:nth-child(2), .ll-buy-accordion .ll-acc-body .ll-dose-table td:nth-child(2) { text-align: center; }
.ll-buy-accordion .ll-acc-body .ll-dose-table th:last-child, .ll-buy-accordion .ll-acc-body .ll-dose-table td:last-child { text-align: right; }
.ll-buy-accordion .ll-acc-body .ll-dose-legend { margin-top: var(--ll-space-12); font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-mute); }
@media (max-width: 689.98px) {
  /* enger fassen, damit jede Zelle in eine Zeile passt statt umzubrechen */
  .ll-buy-accordion .ll-acc-body .ll-dose-table { font-size: var(--ll-tiny); }
  .ll-buy-accordion .ll-acc-body .ll-dose-table th { padding: var(--ll-space-8) var(--ll-space-8); }
  .ll-buy-accordion .ll-acc-body .ll-dose-table td { padding: var(--ll-space-12) var(--ll-space-8); }
}
.ll-buy-accordion .ll-acc-body .ll-dose-table tbody tr:nth-child(odd) td { background: var(--ll-beige); }
.ll-buy-accordion .ll-acc-body .ll-dose-table td:first-child { border-radius: var(--ll-r-md) 0 0 var(--ll-r-md); }
.ll-buy-accordion .ll-acc-body .ll-dose-table td:last-child { border-radius: 0 var(--ll-r-md) var(--ll-r-md) 0; font-weight: 500; color: var(--ll-ink-soft); }
.ll-buy-accordion .ll-acc-body td:last-child { text-align: right; font-weight: 700; color: var(--ll-ink); font-variant-numeric: tabular-nums; }


/* Sticky Mobile-CTA */
.ll-sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--ll-z-sticky);
  background: color-mix(in srgb, var(--ll-white) 95%, transparent);
  backdrop-filter: var(--ll-sticky-blur);
  -webkit-backdrop-filter: var(--ll-sticky-blur);
  border-top: 1px solid var(--ll-border);
  padding: var(--ll-space-12) 0 calc(var(--ll-space-12) + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform var(--ll-t-base) var(--ll-ease);
}
.ll-sticky-cta__inner { max-width: var(--ll-container-wide); margin: 0 auto; padding: 0 var(--ll-pad-x); display: flex; align-items: center; gap: var(--ll-space-16); }
.ll-sticky-cta__img { width: var(--ll-tap); height: var(--ll-tap); object-fit: contain; background: var(--ll-beige); border-radius: var(--ll-r-sm); padding: var(--ll-bullet-pad); }
.ll-sticky-cta__mob { display: none; font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-soft); font-variant-numeric: tabular-nums; }
.ll-sticky-cta.is-visible { transform: none; }
.ll-sticky-cta__name { font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); font-weight: 700; }
.ll-sticky-cta__rating { display: flex; align-items: center; gap: var(--ll-space-8); font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-soft); margin-top: var(--ll-space-2); }
.ll-sticky-cta__rating .ll-stars svg { width: var(--ll-star); height: var(--ll-star); }
.ll-sticky-cta__sel { margin-left: auto; text-align: right; }
.ll-sticky-cta__plan { font-size: var(--ll-tiny); line-height: var(--ll-lh-relaxed); color: var(--ll-ink-soft); }
.ll-sticky-cta__total { font-size: var(--ll-small); line-height: var(--ll-lh-relaxed); font-weight: 700; font-variant-numeric: tabular-nums; }
/* design .btn--sm (Blocksy reads the button box from its variables) */
.ll-sticky-cta__btn { --theme-button-padding: var(--ll-space-12) var(--ll-space-24); --theme-button-line-height: var(--ll-lh-relaxed); }
.ll-sticky-cta__btn-icon { display: none; width: var(--ll-icon-s); height: var(--ll-icon-s); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 999.98px) {
  .ll-sticky-cta__rating, .ll-sticky-cta__sel, .ll-sticky-cta__img { display: none; }
  .ll-sticky-cta__mob { display: block; }
  .ll-sticky-cta__btn { margin-left: auto; flex-shrink: 0; --theme-button-padding: var(--ll-space-8) var(--ll-space-16); }
  .ll-sticky-cta__inner > div { min-width: 0; }
  .ll-sticky-cta__name, .ll-sticky-cta__mob { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 1000px) {
  .ll-sticky-cta {
    top: var(--wp-admin--admin-bar--height, 0); bottom: auto; /* under the header, which moves down by the admin bar (fixed from 783 px) */
    z-index: var(--ll-z-sticky-top);
    padding: var(--ll-space-8) 0;
    border-top: 0;
    border-bottom: 1px solid var(--ll-border);
    transform: translateY(-110%);
  }
  .ll-sticky-cta.is-visible { transform: translateY(var(--ll-header-h)); box-shadow: var(--ll-shadow-bar); }
}
