/* ==========================================================================
   Warenkorb-Schublade und Kasse (CheckoutWC, Vorlage Copify) im Stil der Website.
   Auf normalen Seiten lädt die Datei neben design.css, in der Kasse steht sie
   inline im Kopf (inc/kasse.php), dort fehlt design.css. Deshalb eigene Werte.
   ========================================================================== */
:root{
  --mk-ink:#17131a;--mk-soft:#4a4450;--mk-muted:#6f6875;--mk-line:#e4dfe1;--mk-cream:#f4f2f3;
  --mk-grey:#403e46;--mk-petrol:#2fc0ae;--mk-petrol-hover:#27a998;--mk-petrol-tief:#1c8a80;
  --mk-auf-petrol:#081413;--mk-tint:#e0f5f2;--mk-r:12px;--mk-r-btn:10px;
}

/* ----------------------------------------------------------- Schublade */
#cfw-side-cart{font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif}
#cfw-side-cart{color:var(--mk-ink)}
#cfw-side-cart .cfw-cart-item-title,#cfw-side-cart .cfw-cart-item-title *{font-family:'Fraunces',Georgia,serif!important;font-size:18px!important;font-weight:500!important;line-height:1.25!important;letter-spacing:-.01em;color:var(--mk-ink)!important}
#cfw-side-cart .cfw-cart-item-title{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
#cfw-side-cart .cfw-cart-item-subtotal{font-weight:600}
#cfw-side-cart .cfw-side-cart-totals,#cfw-side-cart .cfw-side-cart-totals *{font-size:15px}
#cfw-side-cart .cfw-side-cart-totals tr.order-total td,#cfw-side-cart .cfw-side-cart-totals tr.order-total th{font-size:17px;font-weight:600}
#cfw-side-cart .cfw-primary-btn,#cfw-side-cart .cfw-side-cart-checkout-btn{border-radius:var(--mk-r-btn)!important;font-weight:600;font-size:16px;letter-spacing:0}
#cfw-side-cart-floating-button{border-radius:var(--mk-r)!important}

/* ----------------------------------------------------------- Kasse: Grundschrift */
body.checkout-wc,main.checkoutwc,body.checkout-wc *,main.checkoutwc *{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
#cfw,#cfw p,#cfw li,#cfw td,#cfw th,#cfw label,#cfw input,#cfw select,#cfw textarea,#cfw button{font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif}
#cfw,#cfw p,#cfw li,#cfw td,#cfw th{font-size:16px;line-height:1.6;color:var(--mk-ink)}
#cfw a{color:var(--mk-petrol-tief)}

/* Kopf: Marke wie in der Kopfleiste, auf weißem Grund in Tintenfarbe */
#cfw .ml-kasse-kopf{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0 0 28px}
#cfw .brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--mk-ink)}
#cfw .brand .mark{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--mk-petrol);color:var(--mk-auf-petrol);font-family:'Fraunces',Georgia,serif;font-size:17px;font-weight:600;letter-spacing:.02em;transform:rotate(-12deg);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
#cfw .brand .mark img{width:100%;height:100%;object-fit:cover}
#cfw .brand:hover .mark{transform:none}
#cfw .brand .bt{display:grid;line-height:1.2}
#cfw .brand .bn{font-size:20px;font-weight:600;letter-spacing:-.015em;color:var(--mk-ink)}
#cfw .ml-kasse-zurueck{display:inline-block;padding:8px 0;font-size:14px;line-height:1.3;color:var(--mk-petrol-tief);text-decoration:none}
#cfw .ml-kasse-zurueck:hover,#cfw .ml-kasse-zurueck:focus-visible{text-decoration:underline;text-underline-offset:3px}
@media (max-width:991.98px){#cfw .ml-kasse-kopf{align-items:center;margin-bottom:18px}}

/* Überschriften in Fraunces, kleine Zeile darüber wie die Labels der Website */
#cfw h1,#cfw h2,#cfw h3,#cfw .cfw-panel-heading{font-family:'Fraunces',Georgia,serif!important;font-weight:500!important;letter-spacing:-.015em;color:var(--mk-ink)}
#cfw #cfw-customer-info-heading,#cfw #cfw-billing-methods > h3{font-size:28px;line-height:1.15;margin-bottom:16px}
#cfw #cfw-customer-info-heading::before,#cfw #cfw-billing-methods > h3::before{display:block;margin-bottom:6px;font-family:'Inter',system-ui,sans-serif;font-size:14px;font-weight:600;line-height:1.4;letter-spacing:0;color:var(--mk-petrol-tief)}
#cfw #cfw-customer-info-heading::before{content:"Schritt 1"}
#cfw #cfw-billing-methods > h3::before{content:"Schritt 2"}
/* Die Rechnungsadresse gehört zu "Deine Angaben", eine zweite Überschrift fällt weg. */
#cfw #cfw-customer-info-address > h3{display:none}
@media (max-width:767.98px){#cfw #cfw-customer-info-heading,#cfw #cfw-billing-methods > h3{font-size:25px}}

/* Felder: Beschriftung über dem Feld wie in den Formularen der Website */
#cfw .cfw-input-wrap .cfw-floatable-label,#cfw .form-row > label.cfw-floatable-label{position:static!important;display:block;opacity:1!important;visibility:visible!important;transform:none!important;padding:0!important;margin:0 0 6px;font-size:14px;font-weight:600;line-height:1.4;color:var(--mk-ink);pointer-events:auto}
#cfw .cfw-input-wrap input,#cfw .cfw-input-wrap select,#cfw .cfw-input-wrap.cfw-label-is-floated input,#cfw .cfw-input-wrap.cfw-label-is-floated select{padding-top:12px!important;padding-bottom:12px!important}
#cfw .cfw-input-wrap input::placeholder,#cfw .cfw-input-wrap textarea::placeholder{color:transparent!important;opacity:0!important}
#cfw input.input-text,#cfw select,#cfw textarea,#cfw .select2-selection{border:1px solid var(--mk-line)!important;border-radius:var(--mk-r)!important;background:#fff;color:var(--mk-ink);font-size:16px;box-shadow:none!important}
#cfw input.input-text:focus,#cfw select:focus,#cfw textarea:focus{border-color:var(--mk-petrol-tief)!important;outline:none;box-shadow:0 0 0 1px var(--mk-petrol-tief)!important}
/* Pfeil der Auswahlfelder: die Beschriftung darüber schiebt das Feld nach unten. */
#cfw .cfw-select-input::after{top:auto!important;bottom:20px!important}
#cfw .cfw-add-field a,#cfw a.cfw-small{font-size:14px}

/* Zahlarten und Hinweise */
#cfw .wc_payment_methods{border:1px solid var(--mk-line)!important;border-radius:var(--mk-r)!important;overflow:hidden}
#cfw .wc_payment_methods > li{border-radius:0!important}
#cfw .wc_payment_methods input[type="radio"]{accent-color:var(--mk-petrol-tief)}
#cfw h4.cfw-small,#cfw .secure-notice{font-family:'Inter',system-ui,sans-serif!important;font-size:14px;font-weight:400;color:var(--mk-muted)}
#cfw .woocommerce-info,#cfw .woocommerce-NoticeGroup .woocommerce-info,#cfw .woocommerce-notice{border-radius:var(--mk-r)}
#cfw .woocommerce-terms-and-conditions-wrapper,#cfw .woocommerce-terms-and-conditions-wrapper p,#cfw .woocommerce-privacy-policy-text,#cfw .woocommerce-privacy-policy-text p{font-size:14px;line-height:1.55;color:var(--mk-soft)}

/* Express-Kasse: Überschrift klein über den Knöpfen, Knöpfe untereinander */
#cfw #cfw-payment-request-buttons{border:0!important;padding:0!important;justify-content:center!important;max-width:420px;margin:0 auto 12px!important}
#cfw #cfw-payment-request-buttons > h2{position:static!important;display:block!important;flex:0 0 100%!important;width:100%!important;order:-10!important;transform:none!important;margin:0 0 12px!important;padding:0!important;background:transparent!important;text-align:center;font-family:'Inter',system-ui,sans-serif!important;font-size:14px!important;font-weight:600!important;letter-spacing:0;color:var(--mk-petrol-tief)!important}
#cfw #cfw-payment-request-buttons .paypal-buttons,#cfw #cfw-payment-request-buttons #wcpay-express-checkout-element{flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:0!important;transform:none!important}
#cfw .pay-button-separator::after{display:none!important}
#cfw .pay-button-separator span{font-size:14px;color:var(--mk-muted);background:transparent}

/* Bestellknopf wie die Knöpfe der Website: Petrol, dunkle Schrift, gerundet */
#cfw #place_order,#cfw .cfw-primary-btn{background:var(--mk-petrol)!important;border:0!important;color:var(--mk-auf-petrol)!important;border-radius:var(--mk-r-btn)!important;font-size:16px!important;font-weight:600!important;letter-spacing:0;padding:16px 24px!important;transition:background .25s}
#cfw #place_order:hover,#cfw #place_order:focus-visible,#cfw .cfw-primary-btn:hover{background:var(--mk-petrol-hover)!important;color:var(--mk-auf-petrol)!important}

/* Warenkorbspalte in Marias zweiter Fläche */
#cfw-cart-summary,#cfw-cart-summary::before,#cfw .col-lg-5::before{background-color:var(--mk-cream)!important}
#cfw #cfw-cart-summary-content::before{content:"Zusammenfassung";display:block;padding-top:24px;margin-bottom:6px;font-size:14px;font-weight:600;line-height:1.4;color:var(--mk-petrol-tief)}
#cfw #cfw-cart::before{content:"Deine Bestellung";display:block;margin-bottom:18px;font-family:'Fraunces',Georgia,serif;font-size:28px;font-weight:500;line-height:1.15;letter-spacing:-.015em;color:var(--mk-ink)}
@media (max-width:991.98px){#cfw #cfw-cart-summary-content::before,#cfw #cfw-cart::before{display:none}}
#cfw #cfw-mobile-cart-header{background:var(--mk-cream)!important}
#cfw .cfw-cart-item-title,#cfw .cfw-cart-item-title *{font-family:'Fraunces',Georgia,serif!important;font-size:18px!important;font-weight:500!important;line-height:1.25!important;color:var(--mk-ink)!important;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
#cfw .cfw-cart-item-image img,#cfw .cfw-cart-item-image .cfw-cart-item-image-wrap{border-radius:8px}

/* Summen: dünne Linien, nur der Gesamtbetrag in Fraunces */
#cfw .cfw-totals-list table tr{border-bottom:1px solid var(--mk-line)}
#cfw .cfw-totals-list table tr.order-total{border-top:0!important;border-bottom:0}
#cfw .cfw-totals-list table tr th,#cfw .cfw-totals-list table tr td{font-size:15px;font-weight:400}
#cfw .cfw-totals-list table tr.order-total th{font-size:15px;font-weight:600}
#cfw .cfw-totals-list table tr.order-total td .amount,#cfw .cfw-totals-list table tr.order-total td strong{font-family:'Fraunces',Georgia,serif;font-size:24px;font-weight:500!important}
#cfw #cfw-cart-summary .cfw-totals-list table tr.order-total td .includes_tax,#cfw #cfw-cart-summary .cfw-totals-list table tr.order-total td .includes_tax *,#cfw #cfw-mobile-cart-summary .cfw-totals-list table tr.order-total td .includes_tax,#cfw #cfw-mobile-cart-summary .cfw-totals-list table tr.order-total td .includes_tax *{font-family:'Inter',system-ui,sans-serif;font-size:13px!important;color:var(--mk-muted)}
#cfw #cfw-cart-summary .cfw-totals-list,#cfw #cfw-cart-summary hr{border-color:var(--mk-line)}

/* Entfernen-x mittig zur Preiszeile */
#cfw .cfw-cart-item-remove .cfw-remove-item-button{vertical-align:middle;position:relative;top:-1.5px}
#cfw .cfw-cart-item-remove .cfw-remove-item-button:hover,#cfw .cfw-cart-item-remove .cfw-remove-item-button:focus-visible{color:var(--mk-petrol-tief)}

/* Handy: Übersicht über dem Bestellknopf */
#cfw #cfw-mobile-cart-summary{margin:24px -20px 0;padding:20px 20px 4px;background:var(--mk-cream)}
#cfw #cfw-mobile-cart-summary > h3{font-size:0!important;margin:0 0 14px!important;line-height:0}
#cfw #cfw-mobile-cart-summary > h3::before{content:"Zusammenfassung";display:block;margin-bottom:6px;font-family:'Inter',system-ui,sans-serif;font-size:14px;font-weight:600;line-height:1.4;color:var(--mk-petrol-tief)}
#cfw #cfw-mobile-cart-summary > h3::after{content:"Deine Bestellung";display:block;font-family:'Fraunces',Georgia,serif;font-size:25px;font-weight:500;line-height:1.15;color:var(--mk-ink)}
#cfw #cfw-mobile-cart-summary .cfw-edit-item-quantity-control-wrap,#cfw #cfw-mobile-cart-summary #cfw-mobile-cart-coupons{display:none!important}
#cfw #cfw-mobile-cart-summary tr.cart-subtotal:has(+ tr.order-total){display:none}
@media (max-width:359px){#cfw table.cfw-cart-table td.cfw-cart-item-subtotal{padding-left:8px!important}#cfw table.cfw-cart-table td.cfw-cart-item-image{width:56px!important}#cfw table.cfw-cart-table td.cfw-cart-item-image *{max-width:56px}}

/* Fuß: Rechtslinks und Hinweis */
#cfw .cfw-footer-inner{font-size:14px;color:var(--mk-muted)}
#cfw .ml-kasse-recht{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 8px}
#cfw .ml-kasse-recht a{font-size:14px;color:var(--mk-soft);text-decoration:none;box-shadow:none}
#cfw .ml-kasse-recht a:hover,#cfw .ml-kasse-recht a:focus-visible{color:var(--mk-petrol-tief);text-decoration:underline;text-underline-offset:3px}
#cfw .ml-kasse-copy{margin:0;font-size:13px!important;color:var(--mk-muted)!important}

/* Handy-Leiste "Bestellübersicht anzeigen": Steuerhinweis in einer Zeile unter dem Betrag */
#cfw #cfw-mobile-total{white-space:nowrap;text-align:right}
#cfw #cfw-mobile-total strong{font-family:'Fraunces',Georgia,serif;font-size:19px;font-weight:500}
#cfw #cfw-mobile-total .includes_tax{display:block;font-size:12px;font-weight:400;color:var(--mk-muted)}
#cfw #cfw-mobile-total .includes_tax .amount{font-family:'Inter',system-ui,sans-serif;font-size:12px}

/* Produkte ohne eigenes Bild: kein grauer Platzhalter in Warenkorb, Kasse und Danke-Seite */
.cfw-cart-item-image:has(.woocommerce-placeholder){display:none}
