/* ============================================================
   WooCommerce — Warenkorb, Kassa, Konto
   Überschreibt das WooCommerce-Standard-CSS (lila Buttons,
   Systemschrift, eigene Rasterbreiten) mit dem Oblivion-Design.
   ============================================================ */

/* ---------- Grundrahmen ----------
   Die Breite kommt von .wrap im Seitentemplate. Shop-Seiten laufen über
   .shopseite und bekommen bewusst KEINE Lesebreite. */
.shopseite{max-width:none;color:var(--text)}
.shopseite > h1,
.shopseite > .wp-block-heading{margin-bottom:1.8rem}

.woocommerce-page h1,
.woocommerce-page h2{font-family:"Montserrat",sans-serif;font-weight:200;letter-spacing:.04em;color:var(--text)}
.woocommerce-page h1{font-size:var(--step-3);margin-bottom:1.6rem}
.woocommerce-page h2{font-size:var(--step-2);margin:0 0 1.1rem}

/* ---------- Buttons ---------- */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt{
  font-family:"Montserrat",sans-serif;font-size:.7rem;font-weight:600;
  letter-spacing:.17em;text-transform:uppercase;
  background:var(--ink);color:var(--paper);
  border:1px solid var(--ink);border-radius:999px;
  padding:.95rem 2rem;line-height:1;
  transition:background .2s,color .2s,border-color .2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover{
  background:var(--olive);border-color:var(--olive);color:var(--paper);
}
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button:disabled{
  background:transparent;color:var(--text-muted);border-color:var(--line);opacity:1;
}
/* Zweitrangige Aktionen zurücknehmen */
.woocommerce .cart button[name="update_cart"],
.woocommerce .coupon button[name="apply_coupon"]{
  background:transparent;color:var(--text);border-color:var(--line);
  padding:.85rem 1.4rem;font-size:.64rem;
}
.woocommerce .cart button[name="update_cart"]:hover,
.woocommerce .coupon button[name="apply_coupon"]:hover{
  background:var(--shade);color:var(--text);border-color:var(--text-muted);
}

/* ---------- Formularfelder ---------- */
.woocommerce form .form-row{padding:0;margin:0 0 1.1rem}
.woocommerce form .form-row label,
.woocommerce-page label{
  display:block;font-family:"Montserrat",sans-serif;font-size:.68rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);
  margin-bottom:.45rem;font-weight:500;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page input[type="text"],
.woocommerce-page input[type="email"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="password"],
.woocommerce-page input[type="number"],
.woocommerce-page textarea,
.woocommerce-page select,
.select2-container .select2-selection--single{
  width:100%;background:var(--paper-hi);color:var(--text);
  border:1px solid var(--line);border-radius:0;
  padding:.8rem .95rem;font-family:"Montserrat",sans-serif;font-size:.88rem;
  line-height:1.4;height:auto;
}
.woocommerce-page input:focus,
.woocommerce-page textarea:focus,
.woocommerce-page select:focus{outline:2px solid var(--accent);outline-offset:2px}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:1.4;color:var(--text);padding:0;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;right:.6rem}
.woocommerce form .form-row .required{color:var(--olive);text-decoration:none}
/* ---------- Tabellen (Warenkorb, Bestellübersicht) ---------- */
.woocommerce table.shop_table{
  border:0;border-collapse:collapse;border-radius:0;width:100%;
  font-family:"Spectral",serif;
}
/* Feste Aufteilung. Bei table-layout:auto sind Spaltenbreiten nur Hinweise,
   die der Browser verwirft, sobald der Inhalt breiter wird. */
.woocommerce table.cart{table-layout:fixed;width:100%}
.woocommerce table.shop_table th{
  font-family:"Montserrat",sans-serif;font-size:.64rem;font-weight:600;
  letter-spacing:.18em;text-transform:uppercase;color:var(--text-muted);
  padding:0 0 .9rem;border-bottom:1px solid var(--line);text-align:left;
}
.woocommerce table.shop_table td{
  padding:1.3rem 0;border-top:0;border-bottom:1px solid var(--line-soft);
  vertical-align:middle;color:var(--text);
}
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal,
.woocommerce table.shop_table th.product-price,
.woocommerce table.shop_table th.product-subtotal{text-align:right}
/* Spaltenbreiten in Prozent.
   Wichtig: German Market hängt eine Hinweiszeile mit colspan="7" in die
   Tabelle, obwohl sie nur 6 Spalten hat. Dadurch entsteht eine unsichtbare
   siebte Spalte, die sich den Restplatz mit der Produktspalte teilt. Mit
   Prozentwerten, die zusammen 100 ergeben, bleibt für sie nichts übrig. */
.woocommerce table.cart th.product-remove,
.woocommerce table.cart td.product-remove{width:6%;padding-right:.4rem}
.woocommerce table.cart th.product-thumbnail,
.woocommerce table.cart td.product-thumbnail{width:13%;padding-right:1.1rem}
.woocommerce table.cart th.product-name,
.woocommerce table.cart td.product-name{width:29%;padding-right:1.2rem}
.woocommerce table.cart th.product-price,
.woocommerce table.cart td.product-price{width:12%;padding-left:.8rem}
.woocommerce table.cart th.product-quantity,
.woocommerce table.cart td.product-quantity{width:17%;text-align:center;padding-inline:.5rem}
.woocommerce table.cart th.product-subtotal,
.woocommerce table.cart td.product-subtotal{width:23%;padding-left:.8rem}
.woocommerce table.shop_table .product-thumbnail img{
  width:76px;max-width:none;height:auto;display:block;
}
.woocommerce table.shop_table td.product-name a{
  color:var(--text);text-decoration:none;font-size:1.02rem;
}
.woocommerce table.shop_table td.product-name a:hover{color:var(--accent)}
.woocommerce table.shop_table .product-remove a.remove{
  color:var(--text-muted);font-size:1.25rem;line-height:1;
  width:1.7rem;height:1.7rem;display:grid;place-items:center;border-radius:999px;
  text-decoration:none;font-weight:400;
}
.woocommerce table.shop_table .product-remove a.remove:hover{
  color:var(--paper);background:var(--olive);
}
.woocommerce table.shop_table small.tax_label,
.woocommerce .includes_tax{
  display:block;font-family:"Montserrat",sans-serif;font-size:.7rem;
  color:var(--text-muted);margin-top:.25rem;
}
.woocommerce table.shop_table .amount{font-variant-numeric:tabular-nums}

/* Aktionszeile unter dem Warenkorb */
.woocommerce table.cart td.actions{
  padding-top:1.6rem;border-bottom:0;display:table-cell;
}
.woocommerce table.cart td.actions::after{content:"";display:block;clear:both}
.woocommerce table.cart td.actions .coupon{
  float:left;display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;
}
.woocommerce table.cart td.actions button[name="update_cart"]{float:right}
.woocommerce table.cart td.actions .coupon label{display:none}
.woocommerce table.cart td.actions .coupon .input-text{width:10rem}

/* Hinweiszeile im Warenkorb (Versand, Zahlung, Widerruf) */
.woocommerce table.cart td[colspan] p,
.woocommerce .cart-hinweis{
  font-family:"Montserrat",sans-serif;font-size:.8rem;line-height:1.7;color:var(--text-muted);
  margin:0;
}
.woocommerce table.cart td[colspan] a{color:var(--accent)}

/* ---------- Warenkorb-Layout ---------- */
@media (min-width:1000px){
  .woocommerce-cart .woocommerce{
    display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);
    gap:clamp(2rem,4vw,4rem);align-items:start;
  }
  .woocommerce-cart .woocommerce > .woocommerce-notices-wrapper{grid-column:1 / -1}
  .woocommerce-cart .cart-collaterals{width:auto;float:none;margin:0;position:sticky;top:120px}
}
.woocommerce-cart .cart-collaterals{width:100%}
.woocommerce-cart .cart-collaterals .cart_totals{
  width:100%;float:none;
  background:var(--surface);padding:clamp(1.4rem,3vw,2rem);
}
.woocommerce-cart .cart_totals h2{font-size:var(--step-1);margin-bottom:1rem}
.woocommerce-cart .cart_totals table.shop_table th{
  padding:.9rem 0;border-bottom:1px solid var(--line-soft);
  font-size:.64rem;width:45%;
}
.woocommerce-cart .cart_totals table.shop_table td{
  padding:.9rem 0;text-align:right;border-bottom:1px solid var(--line-soft);
}
.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td{
  border-bottom:0;font-size:1.1rem;color:var(--text);padding-top:1.1rem;
}
.woocommerce-cart .cart_totals tr.order-total th{font-size:.7rem}
/* Der Hinweistext von German Market steckt MIT im Button-Container.
   Ein padding am Container landet deshalb über dem Text, nicht über
   dem Button — die Luft muss an den Text und an den Button selbst. */
.woocommerce .wc-proceed-to-checkout{padding:1.2rem 0 0}
.woocommerce .wc-proceed-to-checkout > p{margin:0 0 1.6rem;font-size:.78rem;line-height:1.7;color:var(--text-muted)}
.woocommerce .wc-proceed-to-checkout a.checkout-button{margin-top:0;margin-bottom:1rem}
.woocommerce-cart .cart_totals > p{margin-bottom:1.4rem}
.woocommerce .wc-proceed-to-checkout a.checkout-button{
  display:block;width:100%;text-align:center;
}
.woocommerce ul#shipping_method{list-style:none;margin:0;padding:0;text-align:right}
.woocommerce ul#shipping_method li{margin:0 0 .3rem}
.woocommerce .woocommerce-shipping-destination{
  font-family:"Montserrat",sans-serif;font-size:.74rem;color:var(--text-muted);margin-top:.5rem;
}
.woocommerce a.shipping-calculator-button{
  font-family:"Montserrat",sans-serif;font-size:.74rem;color:var(--accent);
}

/* ---------- Kassa ---------- */
/* Kassa-Aufteilung: Formular links, Bestellübersicht rechts.
   So kennen es Kundinnen und Kunden aus anderen Shops, und der
   Bestellüberblick bleibt beim Ausfüllen im Blick.
   Das Formular selbst bleibt EINSPALTIG — nur Vor- und Nachname stehen
   nebeneinander. Zwei Formularspalten nebeneinander führen erwiesenermaßen
   zu mehr Fehleingaben. */
@media (min-width:1000px){
  .woocommerce form.checkout{
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:0 clamp(2rem,4vw,4rem);align-items:start;
  }
  .woocommerce form.checkout > .col2-set{grid-column:1;grid-row:1 / span 3}
  .woocommerce form.checkout > h3#order_review_heading{grid-column:2;grid-row:1;margin-top:0}
  .woocommerce form.checkout > .woocommerce-checkout-review-order{grid-column:2;grid-row:2}
}
.woocommerce form.checkout > input[type="hidden"]{display:none}
.woocommerce-checkout #customer_details{display:block}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2{width:auto;float:none}
.woocommerce-checkout .ppcp-axo-customer-details{width:auto}

/* Vor- und Nachname nebeneinander, alles Übrige über die volle Breite */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 1.1rem}
.woocommerce-billing-fields__field-wrapper > .form-row-wide,
.woocommerce-shipping-fields__field-wrapper > .form-row-wide,
.woocommerce-billing-fields__field-wrapper > p:not(.form-row-first):not(.form-row-last),
.woocommerce-shipping-fields__field-wrapper > p:not(.form-row-first):not(.form-row-last){grid-column:1 / -1}
.woocommerce form .form-row-first,
.woocommerce form .form-row-last{width:auto;float:none}

/* Ankreuzfelder: ganze Sätze gehören nicht in Versalien.
   Meine allgemeine Label-Regel hatte auch AGB- und Datenschutzzeilen
   in Großbuchstaben gesetzt — unlesbar und für Screenreader unschön. */
.woocommerce form .form-row label.checkbox,
.woocommerce-form__label-for-checkbox,
.woocommerce-terms-and-conditions-wrapper label,
.woocommerce label.woocommerce-form__label{
  display:inline;text-transform:none;letter-spacing:.01em;font-size:.83rem;
  color:var(--text);font-weight:400;line-height:1.6;
}
.woocommerce-form__label-for-checkbox input[type="checkbox"]{margin-right:.5rem}
.woocommerce .woocommerce-shipping-fields h3 label,
.woocommerce #ship-to-different-address label{text-transform:none;letter-spacing:.01em;font-size:.9rem}
.woocommerce-checkout h3{
  font-family:"Montserrat",sans-serif;font-size:.74rem;font-weight:600;
  letter-spacing:.18em;text-transform:uppercase;color:var(--text);
  margin:0 0 1.2rem;padding-bottom:.7rem;border-bottom:1px solid var(--line);
}
.woocommerce-checkout h3#order_review_heading{margin-top:2.5rem}
.woocommerce-checkout #order_review{
  background:var(--surface);padding:clamp(1.4rem,3vw,2rem);
}
.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{
  border-bottom:1px solid var(--line-soft);padding:0 0 1.2rem;margin:0 0 1.2rem;list-style:none;
}
.woocommerce-checkout #payment ul.payment_methods li{margin-bottom:.7rem}
.woocommerce-checkout #payment ul.payment_methods label{
  display:inline;text-transform:none;letter-spacing:.02em;font-size:.88rem;color:var(--text);
}
.woocommerce-checkout #payment div.payment_box{
  background:var(--paper-hi);border:1px solid var(--line-soft);
  font-family:"Montserrat",sans-serif;font-size:.8rem;color:var(--text-muted);
}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment .form-row.place-order{padding:0;margin:0}
.woocommerce-checkout #payment #place_order{width:100%}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{
  font-family:"Montserrat",sans-serif;font-size:.8rem;color:var(--text-muted);margin-bottom:1.2rem;
}

/* ---------- Konto ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation{width:26%;float:left}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line-soft)}
.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:block;padding:.8rem 0;font-family:"Montserrat",sans-serif;
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--text-muted);text-decoration:none;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{color:var(--accent)}
.woocommerce-account .woocommerce-MyAccount-content{width:68%;float:right}
@media (max-width:760px){
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}
  .woocommerce-account .woocommerce-MyAccount-content{margin-top:2rem}
}

/* ---------- Meldungen ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments{
  background:var(--surface);border-top:2px solid var(--leaf);
  color:var(--text);font-family:"Montserrat",sans-serif;font-size:.85rem;
  padding:1.1rem 1.3rem;margin:0 0 1.6rem;list-style:none;
  display:flex;flex-wrap:wrap;gap:.8rem;align-items:center;justify-content:space-between;
}
.woocommerce-error{border-top-color:#9A3B2A}
.woocommerce-info{border-top-color:var(--olive)}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before{display:none}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button{padding:.7rem 1.4rem;font-size:.64rem}

/* ---------- Schmale Fenster: Warenkorbtabelle als Karten ---------- */
@media (max-width:640px){
  .woocommerce table.cart{table-layout:auto}
  .woocommerce table.cart thead{display:none}
  .woocommerce table.cart tr.cart_item{
    display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:.25rem .9rem;
    padding:1.3rem 0;border-bottom:1px solid var(--line-soft);align-items:start;
  }
  .woocommerce table.cart tr.cart_item td{border:0;padding:0;display:block;width:auto}
  .woocommerce table.cart tr.cart_item td.product-thumbnail{grid-column:1;grid-row:1 / span 3;width:auto;padding:0}
  .woocommerce table.cart tr.cart_item td.product-thumbnail img{width:76px}
  .woocommerce table.cart tr.cart_item td.product-name{
    grid-column:2 / -1;grid-row:1;width:auto;padding:0;min-width:0;overflow-wrap:break-word;
  }
  .woocommerce table.cart tr.cart_item td.product-name a{font-size:.96rem;line-height:1.4}
  .woocommerce table.cart tr.cart_item td.product-price{display:none}
  .woocommerce table.cart tr.cart_item td.product-quantity{
    grid-column:2;grid-row:2;width:auto;text-align:left;padding:.5rem 0 0;
  }
  .woocommerce table.cart tr.cart_item td.product-subtotal{
    grid-column:3;grid-row:2;width:auto;text-align:right;padding:.5rem 0 0;align-self:center;
  }
  .woocommerce table.cart tr.cart_item td.product-remove{
    grid-column:2 / -1;grid-row:3;width:auto;text-align:left;padding:.6rem 0 0;
  }
  .woocommerce table.cart tr.cart_item td.product-remove a.remove{margin-left:-.35rem}

  .woocommerce table.cart td.actions{display:block}
  .woocommerce table.cart td.actions .coupon{float:none}
  .woocommerce table.cart td.actions button[name="update_cart"]{float:none}
  .woocommerce table.cart td.actions .coupon{width:100%;margin-bottom:.8rem;flex-wrap:wrap}
  .woocommerce table.cart td.actions .coupon button{width:100%}
  .woocommerce table.cart td.actions .coupon .input-text{flex:1;min-width:0;width:auto}
  .woocommerce table.cart td.actions button[name="update_cart"]{width:100%}
}

/* ============================================================
   Bedienelemente vereinheitlichen
   WooCommerce setzt für die Warenkorb-Aktionen sehr spezifische
   Regeln (.woocommerce table.cart td.actions .button), die meine
   allgemeinen Button-Regeln überstimmt haben. Daher hier noch
   einmal mit passender Spezifität — und alles auf eine Höhe.
   ============================================================ */
:root{--wc-h:46px}

.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce table.cart td.actions .button,
.woocommerce a.checkout-button.button.alt,
.woocommerce #place_order{
  height:var(--wc-h);box-sizing:border-box;
  padding-top:0;padding-bottom:0;line-height:1;
}

.woocommerce table.cart td.actions .button,
.woocommerce a.checkout-button.button.alt,
.woocommerce #place_order{
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.66rem;letter-spacing:.16em;
  padding-left:1.6rem;padding-right:1.6rem;
}

.woocommerce table.cart td.actions .coupon{gap:.6rem}
.woocommerce table.cart td.actions .coupon .input-text{
  width:11rem;padding-left:1rem;padding-right:1rem;font-size:.85rem;
  background:var(--paper-hi);border:1px solid var(--line);
}

/* ---------- Schriften im Shop ----------
   Warenkorb, Kassa und Konto sind Bedienflächen, keine Lesetexte.
   Deshalb durchgehend Montserrat; Spectral bleibt den Seitentexten. */
.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th,
.woocommerce .cart_totals,
.woocommerce table.cart td[colspan] p{font-family:"Montserrat",sans-serif}
.woocommerce table.cart td.product-name a{font-size:.92rem;line-height:1.5;font-weight:400}
.woocommerce table.shop_table .amount{font-weight:500;font-variant-numeric:tabular-nums}
.woocommerce table.shop_table small.tax_label,
.woocommerce .includes_tax{font-size:.72rem}
.woocommerce table.cart td[colspan] p{font-size:.78rem;line-height:1.7}

/* ============================================================
   Kassa: Schriften, Ankreuzfelder, Zahlungsarten
   ============================================================ */

/* Eingabefelder durchgehend in Montserrat. WooCommerce, German Market
   und die Zahlungs-Plugins setzen jeweils eigene Schriften — ohne
   !important gewinnt im Wechsel mal das eine, mal das andere. */
.woocommerce input,.woocommerce select,.woocommerce textarea,.woocommerce button,
.woocommerce-page input,.woocommerce-page select,.woocommerce-page textarea,.woocommerce-page button{
  font-family:"Montserrat",sans-serif!important;
}
.woocommerce textarea,.woocommerce-page textarea{
  font-size:.88rem;line-height:1.6;padding:.8rem .95rem;min-height:7rem;
}
.woocommerce ::placeholder{font-family:"Montserrat",sans-serif;color:#8C9A90;opacity:1}

/* Ankreuz- und Auswahlfelder. 13 Pixel sind zu klein zum Treffen,
   besonders am Touchscreen. */
.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"]{
  width:18px;height:18px;accent-color:var(--ink);flex:none;margin:0;
}

/* ---------- Zahlungsarten ----------
   Eine Haarlinie je Zeile, Bezeichnung und Logo in einer Reihe,
   Erklärtext darunter eingerückt. */
.woocommerce-checkout #payment ul.payment_methods{
  border:0;margin:0;padding-left:0!important;margin-left:0!important;list-style:none;
}
.woocommerce-checkout #payment ul.payment_methods > li:first-child{border-top:1px solid var(--line-soft)}
/* WooCommerce hängt ein ::before an jedes li — als Flex-Element schiebt es
   den Auswahlpunkt um eine Lücke nach rechts, die Ankreuzfelder darunter
   aber nicht. Daher weg damit. */
.woocommerce-checkout #payment ul.payment_methods > li::before,
.woocommerce-checkout #payment ul.payment_methods > li::after{content:none!important;display:none!important}
.woocommerce-checkout #payment ul.payment_methods > li{
  border-bottom:1px solid var(--line-soft);margin:0;padding:.9rem 0;
  display:flex!important;flex-wrap:wrap;align-items:center;gap:.4rem .7rem;
}
.woocommerce-checkout #payment ul.payment_methods > li > input.input-radio{
  order:0;flex:0 0 18px!important;align-self:center;position:static;opacity:1;margin-left:0!important;
}
.woocommerce-checkout #payment ul.payment_methods > li > label{
  order:1;margin:0;font-size:.86rem;line-height:1.45;
  width:auto!important;flex:0 1 auto!important;
  display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;
  text-transform:none;letter-spacing:.01em;color:var(--text);font-weight:400;
}
.woocommerce-checkout #payment ul.payment_methods > li > label img{
  max-height:18px;width:auto;margin:0;display:block;
}
.woocommerce-checkout #payment ul.payment_methods > li > label a,
.woocommerce-checkout #payment ul.payment_methods > li > a{
  font-size:.74rem;color:var(--text-muted);
}
.woocommerce-checkout #payment ul.payment_methods > li > *:not(input):not(label){
  order:2;flex:0 0 100%;margin-left:1.65rem;
}
.woocommerce-checkout #payment div.payment_box{
  margin:.2rem 0 0;padding:.8rem 1rem;font-size:.78rem;line-height:1.6;
}

/* ---------- Einwilligungen ----------
   Hängender Einzug statt Raster: das Kästchen steht links, der Text
   läuft darunter bündig weiter — und der Pflichtstern bleibt am Satzende
   stehen statt in einer eigenen Zeile zu landen. */
.woocommerce #payment p:has(> label.checkbox),
.woocommerce #payment p.german-market-checkbox-p,
.woocommerce #payment .woocommerce-terms-and-conditions-wrapper p.form-row{
  padding-left:1.75rem!important;text-indent:-1.75rem!important;margin-left:0!important;
  font-size:.85rem;line-height:1.65;margin-bottom:1rem;
}
.woocommerce label.checkbox,
.woocommerce-form__label-for-checkbox{display:inline!important;text-indent:0;font-size:.85rem;line-height:1.65}
.woocommerce label.checkbox > input[type="checkbox"],
.woocommerce-form__label-for-checkbox > input[type="checkbox"]{
  margin:0 .6rem 0 0;vertical-align:-3px;text-indent:0;
}
.woocommerce #payment abbr.required{text-indent:0;text-decoration:none;color:var(--olive)}
/* WooCommerce und German Market setzen Hilfs-Pseudoelemente, die den
   Einzug auffressen. */
.woocommerce #payment p.form-row::before,
.woocommerce #payment p.form-row::after,
.woocommerce #payment label.checkbox::before{content:none!important;display:none!important}
/* Luft zwischen Zahlungsliste und erster Einwilligung */
.woocommerce #payment .form-row.place-order{padding-top:1.5rem}
.woocommerce #payment .woocommerce-terms-and-conditions-wrapper{margin-top:1.5rem}

/* ---------- Bestellübersicht auf der Kassa ----------
   Eine Größenskala statt fünf, und alle Werte linksbündig
   untereinander — auch "Kostenlose Lieferung". */
.woocommerce-checkout-review-order table.shop_table th,
.woocommerce-checkout-review-order table.shop_table td{text-align:left!important;vertical-align:top}
.woocommerce-checkout-review-order table.shop_table th{font-size:.64rem;padding-bottom:.8rem}
.woocommerce-checkout-review-order table.shop_table td,
.woocommerce-checkout-review-order table.shop_table th{padding-top:.9rem;padding-bottom:.9rem}
.woocommerce-checkout-review-order table.shop_table th.product-name,
.woocommerce-checkout-review-order table.shop_table td.product-name{
  width:58%;padding-right:1.8rem;font-size:.85rem;line-height:1.5;
}
.woocommerce-checkout-review-order table.shop_table th.product-total,
.woocommerce-checkout-review-order table.shop_table td.product-total{width:42%}
.woocommerce-checkout-review-order table.shop_table .amount{font-size:.95rem;font-weight:500}
.woocommerce-checkout-review-order tr.order-total .amount{font-size:1.05rem}
.woocommerce-checkout-review-order small.tax_label,
.woocommerce-checkout-review-order .includes_tax{font-size:.72rem;display:block;margin-top:.2rem}
.woocommerce-checkout-review-order ul#shipping_method{text-align:left;font-size:.85rem;margin:0;padding:0}
.woocommerce-checkout-review-order .product-quantity{font-weight:500}

/* ============================================================
   Produktseite — folgt dem Klickdummy (produkt-premium-500.html)
   ============================================================ */

.single-product .crumbs{margin-bottom:clamp(1.6rem,3vw,2.4rem)}

.pdp{display:grid;min-width:0;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4.5rem);align-items:start}
@media (max-width:900px){.pdp{grid-template-columns:1fr}}
.pdp > *{min-width:0}

.pdp .gallery{position:sticky;top:calc(var(--head-h-stuck) + env(safe-area-inset-top,0px) + 1.5rem)}
@media (max-width:900px){.pdp .gallery{position:static}}
.pdp .gallery__main{
  background:var(--surface);border-radius:50% / 16%;display:grid;place-items:center;
  aspect-ratio:4/5;padding:2.5rem;overflow:hidden;
}
.pdp .gallery__main img{
  max-height:100%;width:auto;object-fit:contain;
  filter:drop-shadow(0 26px 40px rgba(22,48,42,.22));
}
.pdp .thumbs{display:flex;gap:.6rem;margin-top:1rem;flex-wrap:wrap}
.pdp .thumb{
  width:76px;height:92px;background:var(--surface);border:1px solid transparent;border-radius:10px;
  display:grid;place-items:center;padding:.5rem;cursor:pointer;transition:border-color .2s;
}
.pdp .thumb[aria-pressed="true"]{border-color:var(--text)}
.pdp .thumb img{max-height:100%;width:auto;object-fit:contain}

.pdp h1{
  font-family:"Montserrat",sans-serif;font-size:var(--step-2);font-weight:300;
  letter-spacing:.06em;text-transform:uppercase;line-height:1.24;margin:0;color:var(--text);
}
.pdp__vol{
  font-family:"Montserrat",sans-serif;font-size:.67rem;letter-spacing:.19em;
  text-transform:uppercase;color:var(--text-muted);margin-top:.7rem;
}
.pdp .pricebox{margin-top:1.7rem;padding-block:1.4rem;border-block:1px solid var(--line-soft)}
.pdp .pricebox__row{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap}
.pdp .pricebox__main,
.pdp .pricebox__main .amount,
.pdp .pricebox__main .woocommerce-Price-amount{
  font-family:"Montserrat",sans-serif;font-size:1.85rem;font-weight:300;
  font-variant-numeric:tabular-nums;color:var(--text);
}
/* Grundpreis und Zusätze, die German Market an den Preis hängt */
.pdp .pricebox__main .wgm-info,
.pdp .pricebox__main .price_per_unit,
.pdp .pricebox__main small{
  display:block;font-size:.78rem;color:var(--text-muted);font-weight:400;margin-top:.3rem;
}
.pdp .pricebox__tax{font-family:"Montserrat",sans-serif;font-size:.7rem;color:var(--text-muted);margin-top:.55rem}
.pdp .pricebox__tax a{color:var(--accent)}
.pdp .stock{
  font-family:"Montserrat",sans-serif;font-size:.68rem;letter-spacing:.09em;
  display:flex;align-items:center;gap:.5rem;margin-top:.85rem;color:var(--text-muted);
}
.pdp .stock::before{content:"";width:7px;height:7px;border-radius:999px;background:var(--zest)}
.pdp .stock--leer::before{background:var(--text-muted)}

.pdp__lede{font-size:.95rem;line-height:1.75;color:var(--text-muted);margin-top:1.6rem}
.pdp__lede p{margin:0 0 .7rem}
.pdp__lede strong{
  display:block;color:var(--text);font-family:"Montserrat",sans-serif;
  font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;margin-top:1rem;
}
.pdp__lede p:first-child strong{margin-top:0}

/* Kaufzeile: Mengenfeld als Pille mit Minus und Plus, daneben der Button */
/* display:block hebt das flex aus theme.css auf. Sonst ist das Formular nur
   so breit wie sein Inhalt und die Kaufzeile endet vor dem Spaltenrand. */
.pdp .buyrow{margin-top:1.7rem;display:block}
.pdp .buyrow form.cart{display:flex;gap:.7rem;flex-wrap:wrap;margin:0;width:100%}
/* Mengenwahl: eine waagrechte Pille, überall im Shop gleich.
   Minus links, Plus rechts — untereinander wäre die Leserichtung
   missverständlich. Die eigenen Pfeile des Browsers werden abgeschaltet,
   sonst stehen zwei Bedienelemente für dieselbe Sache nebeneinander. */
.woocommerce .quantity{
  display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;
  overflow:hidden;margin:0;width:auto;max-width:100%;
}
.woocommerce .quantity .qty__btn{
  appearance:none;background:none;border:0;color:var(--text);cursor:pointer;flex:none;
  font-family:"Montserrat",sans-serif;font-size:1.05rem;font-weight:500;line-height:1;
  width:30px;height:38px;display:grid;place-items:center;
}
.woocommerce .quantity .qty__btn:hover{background:var(--shade)}
.woocommerce .quantity input.qty{
  width:1.9rem;height:38px;border:0;background:none;text-align:center;padding:0;flex:none;
  font-family:"Montserrat",sans-serif;font-size:.9rem;font-weight:500;font-variant-numeric:tabular-nums;
  -moz-appearance:textfield;appearance:textfield;
}
.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}
/* Auf der Produktseite etwas großzügiger */
.pdp .buyrow .quantity .qty__btn{width:46px;height:52px}
.pdp .buyrow .quantity input.qty{width:3rem;height:52px;font-size:.95rem}
.pdp .buyrow button.single_add_to_cart_button{
  /* 54 px = 52 px Innenhöhe der Pille plus deren Rahmen oben und unten. */
  height:54px;box-sizing:border-box;padding:0 2.4rem;line-height:1;flex:1 1 12rem;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.7rem;letter-spacing:.17em;
}
/* Express-Buttons unter die Kaufzeile, nicht daneben */
.pdp .buyrow .ppc-button-wrapper,
.pdp .buyrow .ppcp-messages{flex:0 0 100%;margin-top:.8rem}

/* Ähnliche Produkte */
.single-product .related > h2,
.single-product .upsells > h2{
  font-family:"Montserrat",sans-serif;font-weight:200;font-size:var(--step-2);
  letter-spacing:.02em;margin:clamp(3rem,6vw,5rem) 0 1.8rem;color:var(--text);
}

/* Die ähnlichen Produkte liegen im eigenen Template (woocommerce/related.php)
   bereits in .grid-products. Falls WooCommerce doch die Standardliste ausgibt
   — etwa bei Cross-Sells —, bekommt sie hier dasselbe Raster. Die beiden
   Aufräum-Pseudoelemente von WooCommerce würden sonst als leere Rasterfelder
   zählen und alles um eine Spalte verschieben. */
.single-product .related ul.products,
.single-product .upsells ul.products{
  display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:0;list-style:none;
  border-top:1px solid var(--line-soft);border-left:1px solid var(--line-soft);
}
.single-product .related ul.products::before,
.single-product .related ul.products::after,
.single-product .upsells ul.products::before,
.single-product .upsells ul.products::after{content:none;display:none}
.single-product .related ul.products > li{
  list-style:none;width:auto;float:none;margin:0;padding:0;
}

/* Vier Spalten, unabhängig davon wie viele Produkte es sind. Zweimal dieselbe
   Klasse, damit die Regel die allgemeine Rasterangabe weiter unten überstimmt. */
.grid-products.grid-products--vier{grid-template-columns:repeat(4,1fr)}
@media (max-width:900px){
  .grid-products.grid-products--vier,
  .single-product .related ul.products,
  .single-product .upsells ul.products{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:520px){
  .grid-products.grid-products--vier,
  .single-product .related ul.products,
  .single-product .upsells ul.products{grid-template-columns:1fr}
}

/* Etikett des Produktlabel-Plugins ins Bild statt an den Fensterrand */
.pdp .gallery{position:relative}
.pdp .acopl-label-wrapper,
.pdp .acopl_label{z-index:5}

/* ============================================================
   Shop-Archiv — folgt dem Klickdummy (shop.html)
   ============================================================ */
.woocommerce-shop .filters,
.tax-product_cat .filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.8rem}
.chip{
  font-family:"Montserrat",sans-serif;font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;
  border:1px solid var(--line);border-radius:999px;padding:.6rem 1.1rem;background:transparent;
  color:var(--text);cursor:pointer;transition:background .2s,color .2s,border-color .2s;
}
.chip:hover{border-color:var(--text-muted)}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.shopnote{
  font-family:"Montserrat",sans-serif;font-size:.68rem;letter-spacing:.04em;
  color:var(--text-muted);margin-top:1.1rem;line-height:1.7;
}

.grid-products{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  border-top:1px solid var(--line-soft);border-left:1px solid var(--line-soft);
}
.grid-products .card{
  background:var(--bg);color:var(--text);display:flex;flex-direction:column;
  padding:1.6rem 1.5rem 1.75rem;position:relative;transition:background .3s;
  border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);
}
/* Die ganze Kachel ist anklickbar, ohne dass die Inhalte in einem <a> liegen. */
.grid-products .card__link{position:absolute;inset:0;z-index:2}
.grid-products .card__link:focus-visible{outline-offset:-4px}
/* Echte Links in der Kachel (Versandkosten-Hinweis) müssen darüber liegen. */
.grid-products .card__foot a{position:relative;z-index:3}
.grid-products .card:hover{background:var(--surface)}
.card__stage{position:relative;aspect-ratio:1;display:grid;place-items:center;margin-bottom:1.3rem}
.card__stage::before{
  content:"";position:absolute;inset:14% 6%;border-radius:50% / 30%;
  background:var(--shade);transition:inset .4s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card__stage::before{inset:8% 2%}
.card__stage img{
  position:relative;max-height:88%;width:auto;object-fit:contain;
  filter:drop-shadow(0 18px 26px rgba(22,48,42,.18));
  transition:transform .4s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card__stage img{transform:translateY(-6px)}
.card__tag{
  position:absolute;top:0;left:0;z-index:2;font-family:"Montserrat",sans-serif;font-size:.56rem;
  font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);
  border:1px solid currentColor;border-radius:999px;padding:.3rem .65rem;
}
.grid-products .card h3{
  font-family:"Montserrat",sans-serif;font-size:.96rem;font-weight:500;letter-spacing:.05em;
  text-transform:uppercase;line-height:1.35;margin:0;color:var(--text);
}
.card__vol{
  font-family:"Montserrat",sans-serif;font-size:.67rem;letter-spacing:.15em;text-transform:uppercase;
  color:var(--text-muted);margin-top:.45rem;
}
.card__notes{font-size:.9rem;color:var(--text-muted);line-height:1.55;margin-top:.8rem}
.card__foot{margin-top:auto;padding-top:1.3rem;display:flex;align-items:baseline;justify-content:space-between;gap:1rem}
.card__foot .price{min-width:0}
/* Pflichthinweis von German Market: klein unter den Preis, nicht daneben */
.grid-products .price .gm_info_text,
.grid-products .price [class*="gm-wp"],
.grid-products .price .wgm-info{
  display:block;font-family:"Montserrat",sans-serif;font-size:.62rem;font-weight:400;
  letter-spacing:.04em;line-height:1.5;color:var(--text-muted);margin-top:.35rem;
  text-transform:none;
}
.grid-products .price [class*="gm-wp"] a{color:var(--text-muted);text-decoration:underline}
.grid-products .price,
.grid-products .price .amount{
  font-family:"Montserrat",sans-serif;font-size:1.05rem;font-weight:500;
  font-variant-numeric:tabular-nums;color:var(--text);
}
.grid-products .price small,
.grid-products .price .wgm-info,
.grid-products .price .price_per_unit{
  display:block;font-size:.62rem;font-weight:400;letter-spacing:.08em;
  color:var(--text-muted);margin-top:.25rem;
}
.card__cta{
  font-family:"Montserrat",sans-serif;font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);white-space:nowrap;
}
.grid-products .card[hidden]{display:none}

/* Sortierung und Trefferanzahl von WooCommerce brauchen wir nicht —
   die Filterleiste übernimmt das. */
.woocommerce-shop .woocommerce-ordering,
.woocommerce-shop .woocommerce-result-count{display:none}

/* ---------- Sensorik, Datentabellen, Akkordeon, Pflichtangaben ---------- */
.sensorik{margin-top:2.6rem}
.sensory{display:flex;flex-direction:column;gap:1.4rem;max-width:34rem}
.sens{display:grid;grid-template-columns:7rem 1fr 2.6rem;align-items:center;gap:1rem}
.sens__name{font-family:"Montserrat",sans-serif;font-size:.67rem;letter-spacing:.15em;text-transform:uppercase;color:var(--text)}
.sens__track{position:relative;height:2px;background:var(--line)}
.sens__fill{position:absolute;inset-block:0;left:0;background:var(--accent)}
.sens__dot{position:absolute;top:50%;width:11px;height:11px;border-radius:999px;background:var(--accent);translate:-50% -50%}
.sens__val{font-family:"Montserrat",sans-serif;font-size:.85rem;font-variant-numeric:tabular-nums;text-align:right;color:var(--text-muted)}
.sens__scale{
  display:grid;grid-template-columns:7rem 1fr 2.6rem;gap:1rem;
  font-family:"Montserrat",sans-serif;font-size:.6rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--text-muted);
}
.sens__scale span:nth-child(2){display:flex;justify-content:space-between}
.sens__note{font-family:"Montserrat",sans-serif;font-size:.67rem;color:var(--text-muted);line-height:1.6}
@media (max-width:520px){.sens,.sens__scale{grid-template-columns:5.6rem 1fr 2.2rem;gap:.7rem}}

.spec{width:100%;border-collapse:collapse;font-size:.92rem}
.spec th,.spec td{text-align:left;padding:.8rem 0;border-bottom:1px solid var(--line-soft);vertical-align:top;color:var(--text)}
.spec th{
  font-family:"Montserrat",sans-serif;font-size:.63rem;letter-spacing:.15em;text-transform:uppercase;
  font-weight:600;color:var(--text-muted);width:42%;padding-right:1.5rem;
}
.spec td{font-variant-numeric:tabular-nums}
.spec tr:last-child th,.spec tr:last-child td{border-bottom:0}

.accs{margin-top:2.3rem}
.acc{border-top:1px solid var(--line-soft)}
.acc:last-child{border-bottom:1px solid var(--line-soft)}
.acc summary{
  cursor:pointer;list-style:none;padding:1.1rem 0;
  font-family:"Montserrat",sans-serif;font-size:.7rem;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--text);
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.acc summary::-webkit-details-marker{display:none}
/* Das Zeichen rechts kommt aus theme.css (Plus beim Zuklappen, Strich beim
   Aufklappen, wie im Entwurf). Hier stand früher zusätzlich ein gedrehter
   Winkel — beides übereinander ergab ein schiefes Kreuz. */
.acc__body{padding-bottom:1.4rem;font-size:.92rem;line-height:1.75;color:var(--text-muted)}
.acc__body p{margin:0 0 .7rem}
.acc__body p:last-child{margin-bottom:0}

.lmiv{overflow-wrap:anywhere;background:var(--surface);padding:clamp(1.4rem,4vw,2.4rem);margin-top:2.3rem}
.lmiv h2{
  font-family:"Montserrat",sans-serif;font-size:.72rem;letter-spacing:.2em;
  text-transform:uppercase;font-weight:600;margin:0 0 1.2rem;color:var(--text);
}
.lmiv__naehrwerte{font-size:.9rem;line-height:1.7;color:var(--text-muted);margin-top:1.4rem}

/* ============================================================
   Express-Zahlungen (PayPal, Apple Pay, Google Pay)
   Die Buttons kommen vom Zahlungs-Plugin und bringen eigene
   Maße mit. Apple Pay und Google Pay sind echte Schaltflächen
   im Seitenquelltext und lassen sich hier angleichen.

   Der PayPal-Button steckt in einem eingebetteten Fenster von
   PayPal — an dessen Form und Höhe kommt kein CSS heran. Die
   stellt man im Plugin ein: WooCommerce → Einstellungen →
   Zahlungen → PayPal → Darstellung der Buttons, dort Form auf
   „Pille" und Höhe auf 46.
   ============================================================ */

/* Gleicher Abstand zwischen allen Express-Buttons wie zum Button darüber. */
.woocommerce .ppc-button-wrapper{margin-top:12px}
.woocommerce .ppcp-button-apm,
.woocommerce .ppcp-button-googlepay,
.woocommerce .ppcp-button-applepay{margin-top:12px;line-height:0}

/* Apple Pay und Google Pay auf dieselbe Höhe und Form wie die
   übrigen Buttons. Die Plugins setzen ihre Maße direkt am Element,
   deshalb hier ausnahmsweise mit Nachdruck. */
.woocommerce .ppcp-button-googlepay button,
.woocommerce .ppcp-button-applepay button,
.woocommerce .ppcp-button-apm button,
.woocommerce #ppc-button-googlepay-container button,
.woocommerce #ppc-button-applepay-container button{
  border-radius:999px!important;
  height:var(--wc-h)!important;min-height:var(--wc-h)!important;
  width:100%!important;
}

/* Auf der Produktseite sind die Bedienelemente etwas höher. */
.pdp .buyrow .ppcp-button-googlepay button,
.pdp .buyrow .ppcp-button-applepay button,
.pdp .buyrow .ppcp-button-apm button{height:54px!important;min-height:54px!important}
