/* =========================================================
   GEMEINSAME BASIS  (Warenkorb + Kasse)
   ========================================================= */
html.mdfwk-html, body.mdfwk-page { background:#07050f !important; color:#f0e8d0 !important; }
body.mdfwk-page { font-family:"Cormorant Garamond",Georgia,serif !important; }

/* WoodMart-Header / Banner / Footer weg */
body.mdfwk-page #wd-sticky-header, body.mdfwk-page .wd-header-banner,
body.mdfwk-page .whb-header, body.mdfwk-page .whb-general-header,
body.mdfwk-page .site-header, body.mdfwk-page .wd-header-wrapp,
body.mdfwk-page header.whb-header, body.mdfwk-page .woodmart-navigation,
body.mdfwk-page .wd-nav, body.mdfwk-page .main-page-title-wrapper,
body.mdfwk-page .page-title, body.mdfwk-page .wd-page-title,
body.mdfwk-page .woocommerce-breadcrumb, body.mdfwk-page .wd-breadcrumbs,
body.mdfwk-page .footer-container, body.mdfwk-page #colophon,
body.mdfwk-page .site-footer, body.mdfwk-page .wd-footer,
body.mdfwk-page .copyrights-wrapper, body.mdfwk-page .woodmart-copyrights { display:none !important; }

/* WoodMart-Schrittleiste dunkel */
body.mdfwk-page .wd-checkout-steps, body.mdfwk-page .wd-checkout-steps-wrapp { background:transparent !important; }
body.mdfwk-page .wd-checkout-steps * { color:rgba(240,232,208,.5) !important; font-family:"Cinzel",serif !important; }
body.mdfwk-page .wd-checkout-steps .active * { color:#e8c060 !important; }

/* Nebel-Hintergrund */
body.mdfwk-page::before {
  content:""; position:fixed; inset:-20%; z-index:0; pointer-events:none;
  background:
    radial-gradient(60% 50% at 22% 18%, rgba(192,96,255,.18), transparent 60%),
    radial-gradient(55% 45% at 82% 12%, rgba(232,192,96,.14), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(255,90,31,.16), transparent 60%);
  filter:blur(8px); }
body.mdfwk-page .mdfwk-embers { position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
body.mdfwk-page .mdfwk-ember { position:absolute; bottom:-12px; width:3px; height:3px; border-radius:50%;
  background:#e8c060; opacity:0; filter:blur(.3px); animation:mdfwkRise linear infinite; }
@keyframes mdfwkRise { 0%{transform:translateY(0) translateX(0);opacity:0} 10%{opacity:.9} 90%{opacity:.6}
  100%{transform:translateY(-104vh) translateX(var(--drift,20px));opacity:0} }

/* Inhalt ueber Nebel heben, Wrapper transparent */
body.mdfwk-page #main-page, body.mdfwk-page .main-page-wrapper,
body.mdfwk-page #wrapper, body.mdfwk-page .website-wrapper,
body.mdfwk-page .content-area, body.mdfwk-page .site-content,
body.mdfwk-page #main-content, body.mdfwk-page .container,
body.mdfwk-page .row.content-page-wrapper, body.mdfwk-page .col-wd-12 {
  position:relative; z-index:1; background:transparent !important; background-color:transparent !important; }
body.mdfwk-page .mdfwk-topwrap, body.mdfwk-page .woocommerce { position:relative; z-index:1; }

/* Topbar */
body.mdfwk-page .mdfwk-topwrap { background:#07050f; }
body.mdfwk-page .mdfwk-logobar { text-align:center; padding:22px 16px 8px; }
body.mdfwk-page .mdfwk-logo-img { height:60px !important; width:auto !important; max-width:320px !important;
  display:inline-block !important; filter:drop-shadow(0 0 18px rgba(232,192,96,.45)); }
body.mdfwk-page .mdfwk-topbar { border-bottom:1px solid rgba(232,192,96,.22); padding:0 18px 14px; }
body.mdfwk-page .mdfwk-topbar-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; gap:16px; }
body.mdfwk-page .mdfwk-back-link { font-family:"Cinzel",serif; font-size:16px; letter-spacing:.16em;
  text-transform:uppercase; color:#e8c060 !important; text-decoration:none; text-shadow:0 0 10px rgba(232,192,96,.4); padding:8px 4px; }
body.mdfwk-page .mdfwk-back-link:hover { color:#f5d57a !important; }
body.mdfwk-page .mdfwk-top-spacer { flex:1; }
body.mdfwk-page .mdfwk-top-right { display:flex; align-items:center; gap:14px; }
body.mdfwk-page .mdfwk-rune { position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:50%;
  background:radial-gradient(circle at center, rgba(20,12,40,.85) 0%, rgba(5,3,12,.95) 70%);
  border:1px solid rgba(232,192,96,.4); box-shadow:inset 0 0 14px rgba(232,192,96,.18),0 6px 20px rgba(0,0,0,.5);
  text-decoration:none; color:#e8c060; transition:transform .4s,box-shadow .4s,border-color .4s; }
body.mdfwk-page .mdfwk-rune svg { filter:drop-shadow(0 0 6px rgba(232,192,96,.6)); }
body.mdfwk-page .mdfwk-rune:hover { transform:translateY(-2px); border-color:#f5d57a;
  box-shadow:inset 0 0 20px rgba(232,192,96,.4),0 8px 24px rgba(0,0,0,.6),0 0 30px rgba(232,192,96,.55); }
body.mdfwk-page .mdfwk-rune-count { position:absolute; top:-4px; right:-4px; display:inline-flex; align-items:center;
  justify-content:center; min-width:18px; height:18px; padding:0 5px; font-family:Georgia,serif; font-size:10px;
  font-weight:700; line-height:1; color:#07050f; background:linear-gradient(135deg,#f5d57a,#c9952a);
  border:1.5px solid #07050f; border-radius:10px; box-shadow:0 0 10px rgba(232,192,96,.8); }
@media(max-width:760px){
  body.mdfwk-page .mdfwk-back-link { font-size:13px; letter-spacing:.12em; }
  body.mdfwk-page .mdfwk-rune { width:42px; height:42px; }
}

/* Buttons GOLDEN (gemeinsam) */
body.mdfwk-page .button, body.mdfwk-page .checkout-button,
body.mdfwk-page .wc-proceed-to-checkout .button, body.mdfwk-page #place_order,
body.mdfwk-page button.button, body.mdfwk-page input.button,
body.mdfwk-page button[name="update_cart"], body.mdfwk-page input[name="update_cart"],
body.mdfwk-page .actions .button, body.mdfwk-page .coupon .button, body.mdfwk-page .wp-element-button {
  position:relative; overflow:hidden;
  background:linear-gradient(135deg,#e8c060,#c9952a) !important; color:#1a1206 !important;
  -webkit-text-fill-color:#1a1206 !important;
  border:none !important; font-family:"Cinzel",serif !important; font-weight:700 !important;
  letter-spacing:.06em !important; text-shadow:none !important; font-size:16px !important; padding:14px 22px !important;
  box-shadow:0 10px 26px -12px rgba(201,149,42,.7) !important; border-radius:8px !important;
  transition:transform .15s ease, box-shadow .15s ease !important; }
body.mdfwk-page .button:hover, body.mdfwk-page .checkout-button:hover, body.mdfwk-page #place_order:hover {
  transform:translateY(-1px) !important; box-shadow:0 14px 32px -10px rgba(201,149,42,.9) !important; }
body.mdfwk-page .checkout-button, body.mdfwk-page #place_order { font-size:18px !important; }
body.mdfwk-page .checkout-button::after, body.mdfwk-page #place_order::after {
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform:skewX(-20deg); animation:mdfwkSheen 4s ease-in-out infinite; }
@keyframes mdfwkSheen { 0%{ left:-60%; } 55%{ left:140%; } 100%{ left:140%; } }
body.mdfwk-page a { color:#e8c060; } body.mdfwk-page a:hover { color:#f5d57a; }

/* Fliegende Sterne ueber Haupt-Button */
body.mdfwk-page .mdfwk-starfield { position:absolute; inset:-20px -6px -6px; z-index:2; pointer-events:none; overflow:visible; }
body.mdfwk-page .mdfwk-star { position:absolute; opacity:0; pointer-events:none; line-height:1;
  color:#f5d57a; text-shadow:0 0 8px rgba(245,213,122,.95),0 0 14px rgba(255,200,80,.6);
  animation:mdfwkStar linear forwards; will-change:transform,opacity; }
@keyframes mdfwkStar { 0%{ opacity:0; transform:translateY(8px) scale(.4) rotate(0deg);} 20%{ opacity:var(--op,.9);}
  80%{ opacity:var(--op,.9);} 100%{ opacity:0; transform:translateY(-42px) translateX(var(--d,0px)) scale(1) rotate(var(--r,30deg));} }

/* Formularfelder dunkel (gemeinsam) */
body.mdfwk-page .input-text, body.mdfwk-page input[type=text], body.mdfwk-page input[type=email],
body.mdfwk-page input[type=tel], body.mdfwk-page input[type=password], body.mdfwk-page textarea,
body.mdfwk-page select, body.mdfwk-page .select2-container--default .select2-selection--single {
  background:rgba(12,8,32,.9) !important; color:#f0e8d0 !important;
  border:1px solid rgba(201,149,42,.4) !important; border-radius:8px !important; font-size:16px !important; padding:13px 15px !important; }
body.mdfwk-page ::placeholder { color:rgba(240,232,208,.4) !important; }
body.mdfwk-page .select2-dropdown { background:#0c0820 !important; color:#f0e8d0 !important; border:1px solid rgba(201,149,42,.4) !important; }
body.mdfwk-page .select2-results__option--highlighted { background:rgba(201,149,42,.3) !important; }

/* Ueberschriften golden (gemeinsam) */
body.mdfwk-page h1, body.mdfwk-page h2, body.mdfwk-page h3 {
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important; font-family:"Cinzel",serif !important;
  font-weight:700 !important; text-shadow:0 0 12px rgba(232,192,96,.4) !important; letter-spacing:.06em !important; }
body.mdfwk-page h1 { font-size:34px !important; }
body.mdfwk-page h2 { font-size:24px !important; }
body.mdfwk-page h3 { font-size:20px !important; }

/* =========================================================
   NUR WARENKORB
   ========================================================= */
body.mdfwk-page.woocommerce-cart { font-size:17px !important; }

/* Warenkorb-Tabelle */
body.mdfwk-page table.cart, body.mdfwk-page .shop_table, body.mdfwk-page .cart_totals {
  background:rgba(15,9,28,.6) !important; color:#f0e8d0 !important;
  border:1px solid rgba(201,149,42,.28) !important; border-radius:10px !important; font-size:16px !important; }
body.mdfwk-page table.cart th, body.mdfwk-page table.cart td, body.mdfwk-page .shop_table th, body.mdfwk-page .shop_table td {
  background:transparent !important; color:#f0e8d0 !important; border-color:rgba(201,149,42,.18) !important; }
body.mdfwk-page table.cart thead th, body.mdfwk-page .shop_table thead th {
  color:#e8c060 !important; font-family:"Cinzel",serif !important; letter-spacing:.12em !important;
  text-transform:uppercase !important; font-size:13px !important; }

/* Produktbilder gross */
body.mdfwk-page table.cart .product-thumbnail img, body.mdfwk-page td.product-thumbnail img {
  width:110px !important; height:auto !important; max-width:none !important; border-radius:10px !important;
  border:1px solid rgba(201,149,42,.3) !important; box-shadow:0 6px 20px -8px rgba(0,0,0,.6) !important; }
body.mdfwk-page td.product-thumbnail { width:130px !important; }

/* Produktnamen Cinzel */
body.mdfwk-page .product-name, body.mdfwk-page .product-name a, body.mdfwk-page td.product-name a {
  font-family:"Cinzel",Georgia,serif !important; font-weight:700 !important; font-size:17px !important;
  line-height:1.45 !important; color:#f3e3ad !important; text-decoration:none !important; }
body.mdfwk-page .product-name a:hover { color:#e8c060 !important; }

/* Textilgroesse/Variation lesbar */
body.mdfwk-page dl.variation, body.mdfwk-page dl.variation dt, body.mdfwk-page dl.variation dd, body.mdfwk-page .variation * {
  font-size:16px !important; line-height:1.6 !important; color:#f3e3ad !important; opacity:1 !important; }
body.mdfwk-page dl.variation dt { font-family:"Cinzel",serif !important; color:#e8c060 !important; }

/* Preise gross */
body.mdfwk-page .woocommerce-Price-amount, body.mdfwk-page bdi, body.mdfwk-page td.product-price, body.mdfwk-page td.product-subtotal {
  font-size:21px !important; font-weight:600 !important; color:#f3e3ad !important; }
body.mdfwk-page del, body.mdfwk-page del .amount { font-size:16px !important; opacity:.6 !important; }
body.mdfwk-page ins, body.mdfwk-page ins .amount { font-size:21px !important; text-decoration:none !important; color:#f3e3ad !important; }

/* Mengen-Felder */
body.mdfwk-page .quantity input.qty { background:rgba(12,8,32,.9) !important; color:#f0e8d0 !important; border:1px solid rgba(201,149,42,.4) !important; font-size:16px !important; height:40px !important; }
body.mdfwk-page .quantity .plus, body.mdfwk-page .quantity .minus { background:rgba(20,12,36,.9) !important; color:#e8c060 !important; border:1px solid rgba(201,149,42,.4) !important; font-size:16px !important; min-width:36px !important; }

/* Gutschein-Feld gross */
body.mdfwk-page .coupon input.input-text, body.mdfwk-page #coupon_code { font-size:17px !important; padding:14px 16px !important; min-width:220px !important; }

/* Summen-Box (Warenkorb-Summe) */
body.mdfwk-page .cart_totals { padding:34px 30px !important; }
body.mdfwk-page .cart_totals h2 { margin-top:0 !important; margin-bottom:18px !important; }
body.mdfwk-page .cart_totals table { margin-top:8px !important; }
body.mdfwk-page .cart_totals table tr { border-bottom:1px solid rgba(201,149,42,.18) !important; }
body.mdfwk-page .cart_totals table tr th, body.mdfwk-page .cart_totals table tr td {
  padding-top:14px !important; padding-bottom:14px !important; vertical-align:middle !important; }
body.mdfwk-page .cart-subtotal th { color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important;
  font-family:"Cinzel",serif !important; font-size:16px !important; text-align:left !important; }
body.mdfwk-page .cart-subtotal td, body.mdfwk-page .cart-subtotal td .amount { text-align:right !important; font-size:21px !important; }

/* Gesamtsumme-Zeile als sauberes Flex */
body.mdfwk-page tr.order-total {
  display:flex !important; align-items:baseline !important; justify-content:space-between !important;
  flex-wrap:wrap !important; gap:8px !important; background:transparent !important;
  border-top:2px solid rgba(232,192,96,.4) !important; padding:22px 4px 4px !important; }
body.mdfwk-page tr.order-total > th {
  flex:0 0 auto !important; display:block !important; width:auto !important;
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important;
  text-shadow:0 0 10px rgba(232,192,96,.55) !important; font-family:"Cinzel",serif !important;
  font-weight:700 !important; font-size:20px !important; text-align:left !important;
  opacity:1 !important; visibility:visible !important; overflow:visible !important; white-space:nowrap !important; }
body.mdfwk-page tr.order-total > td { flex:1 1 auto !important; text-align:right !important; background:transparent !important; }
body.mdfwk-page tr.order-total > td strong, body.mdfwk-page tr.order-total .amount {
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important; font-size:26px !important; }

/* Steuerhinweis */
body.mdfwk-page .includes_tax, body.mdfwk-page .tax_label { font-size:14px !important; color:rgba(240,232,208,.7) !important; }

/* "Vertrag widerrufen" / Widerruf weg */
body.mdfwk-page .wc-gzd-revocation, body.mdfwk-page a[href*="widerruf"], body.mdfwk-page a[href*="revocation"],
body.mdfwk-page .gzd-revocation-button { display:none !important; }

/* =========================================================
   SAMMELFIX WARENKORB
   ========================================================= */

/* Steuerzeile "Enthält ... Umsatzsteuer" – Abstand zum Preis + lesbar */
body.mdfwk-page .product-subtotal, body.mdfwk-page td.product-subtotal { line-height:1.9 !important; }
body.mdfwk-page .product-subtotal .includes_tax,
body.mdfwk-page td.product-subtotal small { display:block !important; margin-top:8px !important; font-size:13px !important; color:rgba(240,232,208,.7) !important; }

/* "Hier erfährst du mehr ..." Hinweiszeile lesbar */
body.mdfwk-page .woocommerce-info,
body.mdfwk-page .wc-gzd-additional-info,
body.mdfwk-page .cart .shop_table caption,
body.mdfwk-page td.actions, body.mdfwk-page td.actions * { color:#f0e8d0 !important; }

/* Summen-Box Zwischensumme: Steuer-Unterzeile Abstand */
body.mdfwk-page .cart_totals .includes_tax { display:block !important; margin-top:6px !important; font-size:13px !important; color:rgba(240,232,208,.7) !important; }
body.mdfwk-page .cart-subtotal { line-height:1.8 !important; }

/* Versandkosten-Block in der Box lesbar (war verschluckt) */
body.mdfwk-page .cart_totals .shipping th,
body.mdfwk-page .cart_totals .shipping td,
body.mdfwk-page .cart_totals .shipping td *,
body.mdfwk-page .woocommerce-shipping-totals * { color:#f0e8d0 !important; -webkit-text-fill-color:#f0e8d0 !important; }
body.mdfwk-page .cart_totals .shipping th { color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important; font-family:"Cinzel",serif !important; }

/* ===== Drehender weisser Lade-Spinner umfaerben (gemeinsam relevant) ===== */
body.mdfwk-page .blockUI.blockOverlay { background:rgba(7,5,15,.7) !important; }
body.mdfwk-page .blockUI.blockOverlay::before,
body.mdfwk-page .loader, body.mdfwk-page .wd-loader::after {
  border-color:rgba(232,192,96,.3) !important; border-top-color:#e8c060 !important; }

/* =========================================================
   SAMMELFIX 2 (Warenkorb)
   ========================================================= */

/* Durchgestrichener Alt-Preis: grau, sauberer Strich, lesbar */
body.mdfwk-page del,
body.mdfwk-page del .amount,
body.mdfwk-page del bdi {
  color:rgba(240,232,208,.55) !important;
  -webkit-text-fill-color:rgba(240,232,208,.55) !important;
  font-size:16px !important;
  text-decoration:line-through !important;
  text-decoration-color:rgba(240,232,208,.55) !important;
  text-decoration-thickness:1px !important; }
/* neuer Preis daneben hell */
body.mdfwk-page ins, body.mdfwk-page ins .amount, body.mdfwk-page ins bdi {
  color:#f3e3ad !important; -webkit-text-fill-color:#f3e3ad !important;
  text-decoration:none !important; font-size:21px !important; }

/* Gutscheincode-Platzhalter groesser + grau */
body.mdfwk-page #coupon_code,
body.mdfwk-page .coupon input.input-text { font-size:18px !important; }
body.mdfwk-page #coupon_code::placeholder,
body.mdfwk-page .coupon input::placeholder {
  font-size:18px !important; color:rgba(240,232,208,.55) !important; }

/* Doppelte "Gesamtsumme": das mobile data-title-Duplikat (grau) ausblenden */
body.mdfwk-page tr.order-total > td::before,
body.mdfwk-page .order-total td[data-title]::before { display:none !important; content:none !important; }

/* =========================================================
   SAMMELFIX 3 (Warenkorb)
   ========================================================= */

/* 1) Durchgestrichener Alt-Preis: helleres Grau (wie "Kostenlose Lieferung") + groesser */
body.mdfwk-page del,
body.mdfwk-page del .amount,
body.mdfwk-page del bdi,
body.mdfwk-page del .woocommerce-Price-amount {
  color:rgba(240,232,208,.78) !important;
  -webkit-text-fill-color:rgba(240,232,208,.78) !important;
  font-size:18px !important;
  text-decoration:line-through !important;
  text-decoration-color:rgba(240,232,208,.6) !important;
  opacity:1 !important; }

/* 2) ANZAHL-Feld: Ziffer sichtbar machen (war unsichtbar zw. - und +) */
body.mdfwk-page .quantity input.qty,
body.mdfwk-page .quantity input[type="number"] {
  color:#f3e3ad !important;
  -webkit-text-fill-color:#f3e3ad !important;
  background:rgba(12,8,32,.95) !important;
  border:1px solid rgba(201,149,42,.5) !important;
  font-size:18px !important; font-weight:700 !important;
  text-align:center !important; opacity:1 !important;
  -moz-appearance:textfield !important; }
body.mdfwk-page .quantity input.qty::-webkit-inner-spin-button,
body.mdfwk-page .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance:none !important; margin:0 !important; }

/* 3) Links farbig markieren (Versandkosten, Zahlungsweisen, Widerrufsbelehrung ...) */
body.mdfwk-page .woocommerce a,
body.mdfwk-page td.actions a,
body.mdfwk-page .cart-collaterals a,
body.mdfwk-page p a,
body.mdfwk-page .shop_table a:not(.button):not(.remove) {
  color:#e8c060 !important;
  -webkit-text-fill-color:#e8c060 !important;
  text-decoration:underline !important;
  text-decoration-color:rgba(232,192,96,.5) !important; }
body.mdfwk-page .woocommerce a:hover { color:#f5d57a !important; -webkit-text-fill-color:#f5d57a !important; }
/* "Adresse aendern" auch */
body.mdfwk-page .cart_totals a, body.mdfwk-page .shipping a { color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important; text-decoration:underline !important; }

/* 4) PayPal-Banner unten rechts: hellgrau statt dunkelgrau */
body.mdfwk-page .ppcp-messages,
body.mdfwk-page [data-pp-message],
body.mdfwk-page .ppcp-messages * {
  color:rgba(240,232,208,.85) !important;
  -webkit-text-fill-color:rgba(240,232,208,.85) !important; }
body.mdfwk-page .ppcp-messages a, body.mdfwk-page [data-pp-message] a {
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important; text-decoration:underline !important; }
body.mdfwk-page .ppcp-messages { background:rgba(20,14,38,.5) !important; border:1px solid rgba(201,149,42,.2) !important; border-radius:8px !important; padding:8px 12px !important; }

/* =========================================================
   SAMMELFIX 4 (Warenkorb)
   ========================================================= */

/* "Warenkorb aktualisieren" – das hässliche Grün killen (auch disabled-Zustand) */
body.mdfwk-page button[name="update_cart"],
body.mdfwk-page input[name="update_cart"],
body.mdfwk-page button[name="update_cart"]:disabled,
body.mdfwk-page input[name="update_cart"]:disabled,
body.mdfwk-page button[name="update_cart"][disabled],
body.mdfwk-page .actions button[type="submit"],
body.mdfwk-page .actions input[type="submit"] {
  background:linear-gradient(135deg,#e8c060,#c9952a) !important;
  background-color:#c9952a !important;
  background-image:linear-gradient(135deg,#e8c060,#c9952a) !important;
  color:#1a1206 !important; -webkit-text-fill-color:#1a1206 !important;
  border:none !important; opacity:1 !important; }

/* die WoodMart-Statusmeldung "Warenkorb aktualisiert" (grüne Box) umfärben */
body.mdfwk-page .woocommerce-message,
body.mdfwk-page .wc-forward,
body.mdfwk-page .woocommerce-notices-wrapper .woocommerce-message {
  background:rgba(15,9,28,.85) !important;
  color:#f0e8d0 !important; -webkit-text-fill-color:#f0e8d0 !important;
  border:1px solid rgba(201,149,42,.4) !important;
  border-left:4px solid #e8c060 !important;
  border-radius:8px !important; }
body.mdfwk-page .woocommerce-message::before { color:#e8c060 !important; }
body.mdfwk-page .woocommerce-message * { color:#f0e8d0 !important; -webkit-text-fill-color:#f0e8d0 !important; }

/* PayPal Ratenzahlung-Banner: heller erzwingen (ist iframe-Text? sonst Container hell) */
body.mdfwk-page .ppcp-messages,
body.mdfwk-page .ppcp-messages *,
body.mdfwk-page div[data-pp-message],
body.mdfwk-page div[data-pp-message] * {
  color:#e8dfc8 !important; -webkit-text-fill-color:#e8dfc8 !important; opacity:1 !important; }
body.mdfwk-page .ppcp-messages { filter:brightness(1.6) !important; }

/* =========================================================
   FIX EXAKT: Anzahl-Feld  <input class="input-text qty text">
   ========================================================= */
body.mdfwk-page input.input-text.qty.text,
body.mdfwk-page input.qty.text,
body.mdfwk-page .quantity input.input-text.qty,
body.mdfwk-page input[name*="[qty]"],
body.mdfwk-page input[type="number"].qty {
  color:#f3e3ad !important;
  -webkit-text-fill-color:#f3e3ad !important;
  background:rgba(12,8,32,.95) !important;
  background-color:rgba(12,8,32,.95) !important;
  background-image:none !important;
  border:1px solid rgba(201,149,42,.55) !important;
  font-size:18px !important;
  font-weight:700 !important;
  text-align:center !important;
  opacity:1 !important;
  text-shadow:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:textfield !important;
  appearance:none !important;
  min-height:40px !important; }

/* Spinner-Pfeile am Zahlenfeld entfernen */
body.mdfwk-page input[name*="[qty]"]::-webkit-inner-spin-button,
body.mdfwk-page input[name*="[qty]"]::-webkit-outer-spin-button,
body.mdfwk-page input.qty::-webkit-inner-spin-button,
body.mdfwk-page input.qty::-webkit-outer-spin-button {
  -webkit-appearance:none !important; margin:0 !important; display:none !important; }

/* =========================================================
   ANZAHL-FELD: exakt wie mdfs-qty-input aus der Produktseite
   (feste Breite/Hoehe war der fehlende Schluessel)
   ========================================================= */
body.mdfwk-page .quantity input.qty,
body.mdfwk-page input.input-text.qty.text,
body.mdfwk-page input[name*="[qty]"] {
  width:64px !important;
  height:40px !important;
  min-width:64px !important;
  text-align:center !important;
  background:rgba(20,14,36,.92) !important;
  background-color:rgba(20,14,36,.92) !important;
  background-image:none !important;
  border:1px solid rgba(201,149,42,.45) !important;
  border-radius:6px !important;
  color:#f0e8d0 !important;
  -webkit-text-fill-color:#f0e8d0 !important;
  font-size:17px !important;
  font-weight:700 !important;
  font-family:"Cinzel",serif !important;
  outline:none !important;
  box-shadow:none !important;
  opacity:1 !important;
  -moz-appearance:textfield !important;
  appearance:textfield !important;
  padding:0 !important;
  display:inline-block !important;
  visibility:visible !important; }
body.mdfwk-page .quantity input.qty::-webkit-outer-spin-button,
body.mdfwk-page .quantity input.qty::-webkit-inner-spin-button,
body.mdfwk-page input[name*="[qty]"]::-webkit-outer-spin-button,
body.mdfwk-page input[name*="[qty]"]::-webkit-inner-spin-button {
  -webkit-appearance:none !important; margin:0 !important; }

/* die quantity-Box selbst nicht zerdruecken */
body.mdfwk-page .quantity { display:inline-flex !important; align-items:center !important; gap:4px !important; min-width:auto !important; }

/* blockOverlay INLINE-white -> dunkelgrau zwingen (auch im Warenkorb) */
body.mdfwk-page .blockUI.blockOverlay {
  background:rgba(20,16,30,.75) !important;
  background-color:rgba(20,16,30,.75) !important; }
body.mdfwk-page .blockUI.blockOverlay::before {
  border:3px solid rgba(232,192,96,.25) !important;
  border-top-color:#e8c060 !important; border-radius:50% !important; }

/* blockOverlay weiss -> dunkelgrau, breiter gefasst */
body.mdfwk-page .blockUI.blockOverlay,
body.mdfwk-page div.blockUI.blockOverlay,
.woocommerce-cart .blockUI.blockOverlay {
  background:rgba(20,16,30,.78) !important;
  background-color:rgba(20,16,30,.78) !important;
  background-image:none !important; }

/* =========================================================
   Logo oben sichtbarer machen (war zu dunkel)
   ========================================================= */
body.mdfwk-page .mdfwk-logo-img {
  height:64px !important; width:auto !important; max-width:340px !important;
  /* dunkles Logo aufhellen + kraeftiger goldener Schein dahinter */
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 16px rgba(232,192,96,.65))
    drop-shadow(0 0 4px rgba(245,213,122,.9)) !important;
}
/* sanfter goldener Schein-Teppich hinter dem Logo, damit es "leuchtet" */
body.mdfwk-page .mdfwk-logobar {
  background:radial-gradient(ellipse at center, rgba(232,192,96,.10), transparent 65%) !important;
}

/* =========================================================
   Flexible-Shipping Versandfrei-Bar im Meisterschul-Look
   (gruene FS-Notice -> dunkel + gold)
   ========================================================= */
body.mdfwk-page .fs-free-shipping-notice-and-button-wrapper {
  background:linear-gradient(135deg, rgba(232,192,96,.10), rgba(120,40,255,.08)) !important;
  border:1px solid rgba(232,192,96,.45) !important;
  border-radius:14px !important;
  box-shadow:0 0 18px rgba(232,192,96,.12) !important;
  color:#ece6f5 !important;
  padding:18px 22px !important;
  display:flex !important;
  align-items:center !important;
  gap:18px !important;
  flex-wrap:wrap !important;
  margin-bottom:26px !important;
}
body.mdfwk-page .fs-free-shipping-notice-text-and-progress-bar-wrapper { flex:1 1 320px; }
body.mdfwk-page .fs-free-shipping-notice-text {
  color:#ece6f5 !important;
  font-family:'Cormorant Garamond',Georgia,serif !important;
  font-size:17px !important;
  margin-bottom:8px;
}
body.mdfwk-page .fs-free-shipping-notice-text .woocommerce-Price-amount {
  color:#f5d57a !important; font-weight:700 !important;
}
body.mdfwk-page .fs-free-shipping-notice-opening-value,
body.mdfwk-page .fs-free-shipping-notice-closing-value {
  color:#b3a9c9 !important; font-size:13px !important;
}
body.mdfwk-page .fs-free-shipping-notice-progress-bar-wrapper {
  display:flex; align-items:center; gap:10px;
}
body.mdfwk-page .fs-free-shipping-notice-progress-bar {
  flex:1; background:rgba(255,255,255,.10) !important;
  border:1px solid rgba(232,192,96,.25);
  border-radius:99px !important; height:10px !important; overflow:hidden;
}
body.mdfwk-page .fs-free-shipping-notice-progress-bar span {
  background:linear-gradient(90deg, #c9952a, #f5d57a) !important;
  border-radius:99px !important; height:100% !important; display:block;
  box-shadow:0 0 10px rgba(232,192,96,.55);
}
/* Button im Gold-Stil der Meisterschule */
body.mdfwk-page a.flexible-shipping-free-shipping-button {
  background:linear-gradient(135deg, #f5d57a, #c9952a) !important;
  color:#1a1426 !important;
  border:none !important;
  border-radius:999px !important;
  padding:13px 28px !important;
  font-family:'Cinzel',Georgia,serif !important;
  font-weight:700 !important;
  letter-spacing:.6px !important;
  text-transform:none !important;
  box-shadow:0 0 14px rgba(232,192,96,.35) !important;
  transition:box-shadow .25s ease, transform .15s ease;
}
body.mdfwk-page a.flexible-shipping-free-shipping-button:hover {
  background:linear-gradient(135deg, #ffe49a, #d8a93c) !important;
  box-shadow:0 0 24px rgba(232,192,96,.6) !important;
  transform:translateY(-1px);
}
@media (max-width:600px){
  body.mdfwk-page .fs-free-shipping-notice-and-button-wrapper {
    flex-direction:column !important; align-items:stretch !important; text-align:center !important;
  }
  body.mdfwk-page a.flexible-shipping-free-shipping-button { text-align:center; }
}

/* Die umgebende .woocommerce-info-Box neutralisieren –
   sie liefert den gruenen Hintergrund um die FS-Bar herum */
body.mdfwk-page .woocommerce-notices-wrapper .woocommerce-info {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
  color: #ece6f5 !important;
}
body.mdfwk-page .woocommerce-notices-wrapper .woocommerce-info::before,
body.mdfwk-page .woocommerce-notices-wrapper .woocommerce-info::after {
  display: none !important;
  content: none !important;
}

/* FS-Button: dunkle Schrift, auf Gold sonst unlesbar */
body.mdfwk-page a.flexible-shipping-free-shipping-button,
body.mdfwk-page a.flexible-shipping-free-shipping-button:visited,
body.mdfwk-page a.flexible-shipping-free-shipping-button:hover,
body.mdfwk-page a.flexible-shipping-free-shipping-button:focus {
  color: #14101e !important;
  text-shadow: none !important;
}

/* -webkit-text-fill-color uebertrumpft color – deshalb hier explizit dunkel */
body.mdfwk-page .woocommerce a.flexible-shipping-free-shipping-button,
body.mdfwk-page .woocommerce a.flexible-shipping-free-shipping-button:visited,
body.mdfwk-page .woocommerce a.flexible-shipping-free-shipping-button:hover,
body.mdfwk-page .woocommerce a.flexible-shipping-free-shipping-button:focus,
body.mdfwk-page a.flexible-shipping-free-shipping-button,
body.mdfwk-page a.flexible-shipping-free-shipping-button:hover {
  color: #14101e !important;
  -webkit-text-fill-color: #14101e !important;
}
   Login- & Gutschein-Formulare (aufklappbar) im Meisterschul-Look
   ========================================================= */
body.mdfwk-page form.woocommerce-form-login,
body.mdfwk-page form.woocommerce-form-coupon,
body.mdfwk-page form.woocommerce-form-register {
  background:rgba(15,9,28,.6) !important;
  border:1px solid rgba(201,149,42,.3) !important;
  border-radius:12px !important;
  padding:24px !important;
  margin:0 0 24px !important;
  box-shadow:none !important;
}
body.mdfwk-page form.woocommerce-form-login p,
body.mdfwk-page form.woocommerce-form-login label,
body.mdfwk-page form.woocommerce-form-coupon p,
body.mdfwk-page form.woocommerce-form-coupon label,
body.mdfwk-page form.woocommerce-form-register p,
body.mdfwk-page form.woocommerce-form-register label {
  color:#f0e8d0 !important; -webkit-text-fill-color:#f0e8d0 !important;
}
body.mdfwk-page form.woocommerce-form-login input.input-text,
body.mdfwk-page form.woocommerce-form-coupon input.input-text,
body.mdfwk-page form.woocommerce-form-register input.input-text {
  background:rgba(10,6,20,.8) !important;
  border:1px solid rgba(201,149,42,.35) !important;
  border-radius:8px !important;
  color:#f0e8d0 !important; -webkit-text-fill-color:#f0e8d0 !important;
}
body.mdfwk-page form.woocommerce-form-login button[type="submit"],
body.mdfwk-page form.woocommerce-form-coupon button[type="submit"],
body.mdfwk-page form.woocommerce-form-register button[type="submit"] {
  background:linear-gradient(135deg, #f5d57a, #c9952a) !important;
  color:#14101e !important; -webkit-text-fill-color:#14101e !important;
  border:none !important; border-radius:999px !important;
  padding:12px 26px !important;
  font-family:'Cinzel',serif !important; font-weight:700 !important;
}
body.mdfwk-page form.woocommerce-form-login .lost_password a,
body.mdfwk-page form.woocommerce-form-login a {
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important;
}
body.mdfwk-page form.woocommerce-form-login .woocommerce-form-login__rememberme {
  display:flex; align-items:center; gap:8px;
}

/* =========================================================
   WoodMart Login-Sidebar -> dunkle Karte unter dem Warenkorb
   (Position wird per JS unter .cart-content-wrapper gehaengt)
   ========================================================= */
body.mdfwk-page .login-form-side {
  position:static !important;
  transform:none !important;
  inset:auto !important;
  width:100% !important;
  max-width:560px !important;
  height:auto !important;
  margin:40px auto 10px !important;
  background:rgba(15,9,28,.75) !important;
  border:1px solid rgba(201,149,42,.35) !important;
  border-radius:14px !important;
  box-shadow:0 0 22px rgba(232,192,96,.10) !important;
  padding:26px 28px !important;
  visibility:visible !important;
  opacity:1 !important;
  z-index:1 !important;
}
body.mdfwk-page .login-form-side .wd-heading {
  border:none !important; background:transparent !important;
  padding:0 0 14px !important; margin:0 0 16px !important;
  border-bottom:1px solid rgba(201,149,42,.25) !important;
}
body.mdfwk-page .login-form-side .wd-heading .title {
  font-family:'Cinzel',serif !important;
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important;
  font-size:20px !important; letter-spacing:.5px;
}
/* Schliessen-Knopf macht als feste Karte keinen Sinn */
body.mdfwk-page .login-form-side .close-side-widget { display:none !important; }
/* WoodMart versteckt das Formular bis zum Sidebar-Open -> immer zeigen */
body.mdfwk-page .login-form-side form.woocommerce-form-login {
  display:block !important;
  background:transparent !important; border:none !important; padding:0 !important; margin:0 !important;
}
body.mdfwk-page .login-form-side label,
body.mdfwk-page .login-form-side p,
body.mdfwk-page .login-form-side span {
  color:#f0e8d0 !important; -webkit-text-fill-color:#f0e8d0 !important;
}
body.mdfwk-page .login-form-side .required { color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important; }
body.mdfwk-page .login-form-side input.input-text {
  background:rgba(10,6,20,.8) !important;
  border:1px solid rgba(201,149,42,.35) !important;
  border-radius:8px !important;
  color:#f0e8d0 !important; -webkit-text-fill-color:#f0e8d0 !important;
  box-shadow:none !important;
}
body.mdfwk-page .login-form-side input.input-text:focus {
  border-color:#e8c060 !important;
  box-shadow:0 0 0 2px rgba(232,192,96,.2) !important;
}
body.mdfwk-page .login-form-side .show-password-input::after { color:#e8c060 !important; }
body.mdfwk-page .login-form-side button.woocommerce-form-login__submit {
  background:linear-gradient(135deg, #f5d57a, #c9952a) !important;
  color:#14101e !important; -webkit-text-fill-color:#14101e !important;
  border:none !important; border-radius:999px !important;
  padding:12px 28px !important; width:100%;
  font-family:'Cinzel',serif !important; font-weight:700 !important; letter-spacing:.5px;
  box-shadow:0 0 14px rgba(232,192,96,.3) !important;
}
body.mdfwk-page .login-form-side button.woocommerce-form-login__submit:hover {
  background:linear-gradient(135deg, #ffe49a, #d8a93c) !important;
  box-shadow:0 0 22px rgba(232,192,96,.5) !important;
}
body.mdfwk-page .login-form-side .lost_password a,
body.mdfwk-page .login-form-side a.woocommerce-LostPassword {
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important;
  text-decoration:underline;
}
body.mdfwk-page .login-form-side .login-form-footer {
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  margin-top:14px !important;
}
body.mdfwk-page .login-form-side .create-account-question {
  border-top:1px solid rgba(201,149,42,.25) !important;
  margin-top:18px !important; padding-top:16px !important;
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  background:transparent !important;
}
body.mdfwk-page .login-form-side .create-account-button {
  background:transparent !important;
  border:1px solid #c9952a !important;
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important;
  border-radius:999px !important; padding:10px 24px !important;
  font-family:'Cinzel',serif !important; font-weight:700 !important;
}
body.mdfwk-page .login-form-side .create-account-button:hover {
  background:rgba(232,192,96,.12) !important;
  box-shadow:0 0 14px rgba(232,192,96,.3) !important;
}
/* das dunkle Overlay, das WoodMart fuer die Sidebar einblendet, neutralisieren */
body.mdfwk-page .wd-close-side { display:none !important; }

/* =========================================================
   Login-Dropdown oben: Regenbogen-Button (helpBtn-Stil, Schimmer INNEN)
   ========================================================= */
body.mdfwk-page .mdfwk-login-toggle {
  position:relative;
  display:block;
  margin:0 auto 22px;
  max-width:560px;
  padding:15px 26px;
  text-align:center;
  font-family:'Cinzel',serif;
  font-weight:700;
  font-size:14px;
  letter-spacing:.06em;
  color:#e8c060;
  -webkit-text-fill-color:#e8c060;
  cursor:pointer;
  border-radius:14px;
  border:1px solid rgba(201,149,42,.4);
  background:rgba(7,5,15,.85);
  box-shadow:inset 0 0 18px rgba(232,192,96,.12);
  overflow:hidden;
  z-index:1;
}
body.mdfwk-page .mdfwk-login-toggle::before {
  content:"";
  position:absolute;
  inset:-40%;
  z-index:-1;
  background:conic-gradient(from 0deg,#ff3b3b,#c94bff,#3b7bff,#3bd9d9,#c9952a,#ff3b3b);
  filter:blur(14px);
  opacity:.55;
  animation:mdfwkLoginGlow 4s linear infinite;
}
body.mdfwk-page .mdfwk-login-toggle::after {
  /* dunkle Innenflaeche, damit der Schimmer nur als Rand-Glimmen wirkt */
  content:"";
  position:absolute;
  inset:2px;
  z-index:-1;
  border-radius:12px;
  background:rgba(7,5,15,.92);
}
@keyframes mdfwkLoginGlow { to { transform:rotate(360deg); } }
body.mdfwk-page .mdfwk-login-toggle:hover { box-shadow:inset 0 0 26px rgba(232,192,96,.22); }
body.mdfwk-page .mdfwk-login-toggle .mdfwk-login-caret {
  display:inline-block; margin-left:8px;
  transition:transform .3s ease;
}
body.mdfwk-page .mdfwk-login-toggle.mdfwk-open .mdfwk-login-caret { transform:rotate(180deg); }

/* Panel: standardmaessig zu, klappt unterm Button auf */
body.mdfwk-page .login-form-side {
  display:none !important;
  margin:0 auto 26px !important;
}
body.mdfwk-page .login-form-side.mdfwk-login-visible { display:block !important; }

/* eingeloggt: Button und Panel komplett weg */
body.logged-in .mdfwk-login-toggle,
body.logged-in .login-form-side { display:none !important; }

/* "Zurueck zum Shop"-Button (leerer Warenkorb): Link-Regel schlaegt Button-Regel
   -> a.button ueberall explizit dunkel + ohne Unterstrich */
body.mdfwk-page .woocommerce a.button,
body.mdfwk-page p a.button,
body.mdfwk-page a.wc-backward,
body.mdfwk-page .return-to-shop a.button {
  color:#1a1206 !important;
  -webkit-text-fill-color:#1a1206 !important;
  text-decoration:none !important;
}
