:root {
    --background: #f8fafc !important;
    --primary-light: #606f7b !important;
    --background-light: #f8fafc !important;
}

.md\:block.md\:w-1\/4.px-2\.5 > .bg-white.p-7 {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f4fd;
    padding: 40px;
}

.md\:block.md\:w-1\/4.px-2\.5 .bg-white.p-7 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.md\:block.md\:w-1\/4.px-2\.5 .bg-white.p-7 li.text-lg {
    color: #e8461a;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f8fafc;
    text-align: center;
}

.md\:block.md\:w-1\/4.px-2\.5 .bg-white.p-7 li a {
    color: #606f7b;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 12px 15px;
    border-radius: 12px;
    border-left: 4px solid transparent;
}

.md\:block.md\:w-1\/4.px-2\.5 .bg-white.p-7 li a:hover {
    color: #e8461a;
    background-color: #f8fafc;
    transform: translateX(8px);
    border-left-color: #e8461a;
}

.index--category-navigation.bg-white.col-span-12.md\:col-span-3.p-3\.5.md\:p-7 {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f4fd;
    padding: 40px;
}

.index--category-navigation .hl-3 {
    color: #e8461a;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f8fafc;
    text-align: center;
}

.index--category-navigation .linklist--level-1 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.index--category-navigation .linklist--level-1 li {
    margin-bottom: 15px;
    width: 100% !important;
}

.index--category-navigation .linklist--level-1 a {
    color: #606f7b;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 12px 15px;
    border-radius: 12px;
    border-left: 4px solid transparent;
}

.index--category-navigation .linklist--level-1 a:hover {
    color: #e8461a;
    background-color: #f8fafc;
    transform: translateX(8px);
    border-left-color: #e8461a;
}

@media (max-width: 768px) {
    .index--category-navigation.bg-white.col-span-12.md\:col-span-3.p-3\.5.md\:p-7 {
        padding: 25px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    }
}

/* ═══════════════════════════════════════════════════════════════════
   APOTHEKE – custom.css  |  Mauve System 3
   Kein Font-Import. Scope: [role="dialog"] only.
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. CSS-VARIABLEN ────────────────────────────────────────────── */
[role="dialog"] {
  --br:  #e8461a;
  --brd: #c73a14;
  --brl: #fff1ed;
  --bg:  #F9FAFB;
  --wh:  #ffffff;
  --tx:  #111827;
  --mu:  #6B7280;
  --lt:  #9CA3AF;
  --bd:  #F3F4F6;
  --sh:  0 2px 16px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.04);
}

/* ── 2. CONTAINER ────────────────────────────────────────────────── */
[role="dialog"],
[role="dialog"] .flex-1 {
  background: var(--bg) !important;
}
.offcanvas-mobile-app {
  width: 400px !important;
  max-width: 98vw !important;
}

/* ── 3. ZURÜCK-BUTTON ────────────────────────────────────────────── */
[role="dialog"] .bg-primary.text-white.px-3\.5.py-3\.5 {
  background: var(--wh) !important;
  color: var(--br) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 1px 0 var(--bd) !important;
  border-radius: 0 !important;
  padding: 14px 20px !important;
}

/* ── 4. PRODUKT-LISTE ────────────────────────────────────────────── */
[role="dialog"] .list-reset {
  list-style: none !important;
  padding: 0 14px !important;
  margin: 0 !important;
}
[role="dialog"] .list-reset li {
  background: var(--wh) !important;
  border-radius: 16px !important;
  border: none !important;
  box-shadow: var(--sh) !important;
  padding: 16px !important;
  margin-bottom: 10px !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
}
[role="dialog"] .list-reset li:last-child { margin-bottom: 0 !important; }
[role="dialog"] .list-reset li.border-b   { border-bottom: none !important; }
[role="dialog"] .list-reset li > .flex {
  display: flex !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  width: 100% !important;
}

/* ── 5. PRODUKT-BILD ─────────────────────────────────────────────── */
[role="dialog"] .list-reset li .w-1\/5 {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}
[role="dialog"] .list-reset li img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
  background: var(--bg) !important;
  border-radius: 12px !important;
  padding: 4px !important;
  display: block !important;
}

/* ── 6. PRODUKT-INFO ─────────────────────────────────────────────── */
[role="dialog"] .list-reset li .w-4\/5 {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 0 0 12px !important;
  overflow: visible !important;
}
[role="dialog"] .list-reset li .font-bold {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  line-height: 1.35 !important;
  margin-bottom: 6px !important;
  display: block !important;
  word-break: break-word !important;
  white-space: normal !important;
}

/* ── 7. MÜLLEIMER ────────────────────────────────────────────────── */
[role="dialog"] .list-reset li button.text-secondary {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--lt) !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: color .15s, background .15s !important;
  padding: 0 !important;
  opacity: .45 !important;
}
[role="dialog"] .list-reset li button.text-secondary:hover {
  color: #EF4444 !important;
  background: #FEE2E2 !important;
  opacity: 1 !important;
}
[role="dialog"] .list-reset li button.text-secondary:active {
  transform: scale(.92) !important;
}

/* ── 8. "Anzahl:" LABEL AUSBLENDEN ───────────────────────────────── */
[role="dialog"] .list-reset li label,
[role="dialog"] .list-reset li .flex.items-center > span.text-primary,
[role="dialog"] .list-reset li .flex.items-center > .text-primary-lighter {
  display: none !important;
}

/* ── 9. STEPPER ──────────────────────────────────────────────────── */
[role="dialog"] .list-reset li .flex.items-center.border {
  border: 1.5px solid var(--bd) !important;
  border-radius: 12px !important;
  background: var(--bg) !important;
  overflow: hidden !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-top: 10px !important;
  gap: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}
[role="dialog"] .list-reset li .flex.items-center.border button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  color: #374151 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  -webkit-tap-highlight-color: transparent !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}
[role="dialog"] .list-reset li .flex.items-center.border button:active {
  background: var(--brl) !important;
  color: var(--br) !important;
}
[role="dialog"] .list-reset li .flex.items-center.border input[type="text"] {
  width: 40px !important;
  min-width: 40px !important;
  height: 44px !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  background: transparent !important;
  border: none !important;
  border-left: 1.5px solid var(--bd) !important;
  border-right: 1.5px solid var(--bd) !important;
  outline: none !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

/* ── 10. PANEL AUSBLENDEN ────────────────────────────────────────── */
[role="dialog"] .panel { display: none !important; }

/* ── 11. ZWISCHENSUMME → weiße Card ─────────────────────────────── */
[role="dialog"] .mt-3\.5 > p.text-right,
[role="dialog"] p.text-right,
[role="dialog"] .text-right {
  background: var(--wh) !important;
  border-radius: 16px !important;
  box-shadow: var(--sh) !important;
  margin: 0 14px 10px !important;
  padding: 14px 16px !important;
  text-align: right !important;
  font-size: 13px !important;
  color: var(--mu) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
[role="dialog"] .mt-3\.5 > p.text-right strong,
[role="dialog"] p.text-right strong,
[role="dialog"] .text-right strong {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--tx) !important;
}

/* ── 11b. EINGELÖSTER GUTSCHEIN ─────────────────────────────────── */
[role="dialog"] .list-reset li.py-2\.5 {
  list-style: none !important;
  background: var(--wh) !important;
  border-radius: 16px !important;
  box-shadow: var(--sh) !important;
  margin: 10px 0 10px 0 !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: none !important;
}
/* Label — Text-Nodes ausblenden, nur strong (Betrag) zeigen */
[role="dialog"] .list-reset li.py-2\.5 p {
  font-size: 13px !important;
  color: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex: 1 !important;
  gap: 8px !important;
  text-align: left !important;
  margin: 0 !important;
  font-size: 0 !important;
}
/* "Gutschein:" Label via ::before wieder einblenden */
[role="dialog"] .list-reset li.py-2\.5 p::before {
  content: "Gutschein:";
  font-size: 13px !important;
  color: var(--tx) !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}
/* Betrag rot, Abstand zum Mülleimer */
[role="dialog"] .list-reset li.py-2\.5 p strong {
  color: #DC2626 !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  white-space: nowrap !important;
  margin-right: 12px !important;
}
/* Minus via CSS - Alpine kann CSS nicht überschreiben */
[role="dialog"] .list-reset li.py-2\.5 p strong::before {
  content: "- ";
  color: #DC2626;
  font-weight: 800;
}
/* Mülleimer */
[role="dialog"] .list-reset li.py-2\.5 > button {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: none !important;
  color: var(--lt) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: .45 !important;
  flex-shrink: 0 !important;
  transition: color .15s, background .15s !important;
}
[role="dialog"] .list-reset li.py-2\.5 > button:hover {
  color: #EF4444 !important;
  background: #FEE2E2 !important;
  opacity: 1 !important;
}


/* ── 12. BUTTON-BEREICH ──────────────────────────────────────────── */
[role="dialog"] .mt-3\.5.flex.flex-col.space-y-2 {
  padding: 0 14px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 0 !important;
}
[role="dialog"] .mt-3\.5.flex.flex-col.space-y-2 > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ── 13. BUTTONS ─────────────────────────────────────────────────── */
[role="dialog"] a[href*="checkout/start"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--br) !important;
  color: #ffffff !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  padding: 13px 20px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(232,70,26,.35) !important;
  transition: background .2s, transform .15s, box-shadow .2s !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
[role="dialog"] a[href*="checkout/start"]:hover {
  background: var(--brd) !important;
  box-shadow: 0 6px 24px rgba(232,70,26,.45) !important;
  transform: translateY(-1px) !important;
}
[role="dialog"] a[href*="checkout/start"]:active {
  background: var(--brd) !important;
  transform: scale(.98) !important;
  box-shadow: 0 2px 10px rgba(232,70,26,.3) !important;
}

[role="dialog"] a[href*="checkout/cart"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--wh) !important;
  color: var(--br) !important;
  border: 2px solid var(--br) !important;
  outline: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  padding: 11px 20px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background .2s, transform .15s !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
[role="dialog"] a[href*="checkout/cart"]:hover {
  background: var(--brl) !important;
  transform: translateY(-1px) !important;
}
[role="dialog"] a[href*="checkout/cart"]:active {
  background: var(--brl) !important;
  transform: scale(.98) !important;
}

/* ── 14. DHL-KARTE ───────────────────────────────────────────────── */
[role="dialog"] #apo-dhl-info {
  background: var(--wh);
  border-radius: 14px;
  box-shadow: var(--sh);
  padding: 12px 14px;
  margin: 0 14px 10px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}
[role="dialog"] #apo-dhl-info .dhl-left { display: flex; align-items: center; gap: 10px; }
[role="dialog"] #apo-dhl-info .dhl-icon  { font-size: 20px; flex-shrink: 0; }
[role="dialog"] #apo-dhl-info .dhl-label { font-size: 13px; font-weight: 700; color: var(--tx); }
[role="dialog"] #apo-dhl-info .dhl-eta   { font-size: 11px; color: var(--mu); margin-top: 1px; }
[role="dialog"] #apo-dhl-info .dhl-free  {
  font-size: 12px; font-weight: 800; color: #16A34A;
  background: #DCFCE7; padding: 3px 9px; border-radius: 99px; white-space: nowrap;
  /* Kein display:none — Script steuert via inline style */
}
[role="dialog"] #apo-dhl-info .dhl-price {
  font-size: 15px; font-weight: 800; color: var(--tx); white-space: nowrap;
  /* Kein display override — Script steuert */
}
/* Grüner Border wenn GRATIS sichtbar */
[role="dialog"] #apo-dhl-info:has(.dhl-free[style*="inline-block"]) {
  border: 2px solid #16A34A !important;
  box-shadow: 0 2px 16px rgba(22,163,74,.12), 0 1px 3px rgba(22,163,74,.08) !important;
}

/* ── 14b. AUSLANDS-HINWEIS ──────────────────────────────────────── */
[role="dialog"] #apo-shipping-notice {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 12px;
  margin: 0 14px 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #92400E;
  line-height: 1.45;
}
[role="dialog"] #apo-shipping-notice strong {
  font-weight: 700;
  color: #78350F;
}

/* ── 15. SHIPPING BAR ────────────────────────────────────────────── */
[role="dialog"] #apo-shipping-bar {
  background: var(--wh);
  padding: 14px 20px 16px;
  margin: 0 14px 10px;
  border-radius: 16px;
  box-shadow: var(--sh);
}
[role="dialog"] #apo-shipping-bar .bar-label {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; font-size: 14px; color: var(--tx); gap: 6px;
  flex-wrap: nowrap;
}
[role="dialog"] #apo-shipping-bar .bar-label #apo-bar-tx {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
[role="dialog"] #apo-shipping-bar .bar-label #apo-bar-ico {
  flex-shrink: 0;
}
[role="dialog"] #apo-shipping-bar .bar-label strong { color: var(--br); font-weight: 700; }
[role="dialog"] #apo-shipping-track {
  height: 8px; background: var(--bd); border-radius: 99px; overflow: hidden;
}
[role="dialog"] #apo-shipping-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #e8461a, #ff7c56);
  width: 0%; transition: width 0.25s cubic-bezier(.4,0,.2,1);
  position: relative; min-width: 0;
}
[role="dialog"] #apo-shipping-fill::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; background: #ff7c56; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(232,70,26,.25);
}
[role="dialog"] #apo-shipping-bar .bar-milestone {
  text-align: right; font-size: 13px; font-weight: 500; color: var(--tx); margin-top: 6px;
}

/* ── 16. GUTSCHEIN ───────────────────────────────────────────────── */
[role="dialog"] .flex:has(input[placeholder*="Gutschein"]),
[role="dialog"] .flex:has(input[placeholder*="Code"]) {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: var(--sh) !important;
  margin: 0 14px 10px !important;
  border: 1.5px solid var(--bd) !important;
  background: var(--wh) !important;
  gap: 0 !important;
}
[role="dialog"] input[placeholder*="Gutschein"],
[role="dialog"] input[placeholder*="Code"],
[role="dialog"] input[name*="voucher"],
[role="dialog"] input[name*="coupon"] {
  border: none !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  color: var(--tx) !important;
  background: transparent !important;
  outline: none !important;
  flex: 1 !important;
  min-width: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
}
[role="dialog"] input[placeholder*="Gutschein"] + button,
[role="dialog"] input[placeholder*="Code"] + button,
[role="dialog"] input[name*="voucher"] + button,
[role="dialog"] input[name*="coupon"] + button {
  background: var(--br) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background .15s !important;
  box-shadow: none !important;
}
[role="dialog"] input[placeholder*="Gutschein"] + button:active,
[role="dialog"] input[placeholder*="Code"] + button:active {
  background: var(--brd) !important;
}

/* ── 17. SECTION LABELS ──────────────────────────────────────────── */
[role="dialog"] .apo-section-label {
  font-size: 13px; font-weight: 600; letter-spacing: .07em;
  color: var(--tx); text-transform: uppercase; padding: 14px 14px 10px;
  display: block;
}

/* ── 18. PAYPAL EXPRESS ──────────────────────────────────────────── */
[role="dialog"] a[href*="checkout/payment/express"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FFC439 !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  text-decoration: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: opacity .15s !important;
  border: none !important;
  box-shadow: none !important;
}
[role="dialog"] a[href*="checkout/payment/express"]:active { opacity: .85 !important; }
[role="dialog"] a[href*="checkout/payment/express"] img {
  width: auto !important; height: 24px !important;
  border-radius: 0 !important; background: transparent !important;
  padding: 0 !important; margin: 0 !important;
}

/* ── 19. STICKY CHECKOUT BUTTON ─────────────────────────────────── */
#apo-sticky-checkout {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 400px;
  max-width: 98vw;
  background: var(--wh);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  z-index: 9998;
  display: none;
  box-sizing: border-box;
  border-top: 1px solid var(--bd);
}
#apo-sticky-checkout a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--br) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
  text-decoration: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 20px rgba(232,70,26,.35) !important;
  transition: background .2s, transform .15s !important;
}
#apo-sticky-checkout a:hover {
  background: var(--brd) !important;
  transform: translateY(-1px) !important;
}

/* ── 20. TOAST ───────────────────────────────────────────────────── */
#apo-toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111827; color: #fff; padding: 10px 18px;
  border-radius: 99px; font-size: 13px; font-weight: 600;
  opacity: 0; transition: opacity .25s, transform .25s;
  pointer-events: none; z-index: 9999; white-space: nowrap;
}
#apo-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


<!-- medifux.eu Warenkorb Custom CSS -->
<style>
/**
 * medifux.eu — Warenkorb Custom CSS v2
 * CI-Farbe: #e8461a
 * Fix-Log v2:
 *  - Trust-Bar entfernt
 *  - Produktbild: weißer Hintergrund, größer, sauber
 *  - Mengenwähler: kompakt mit Refresh-Button integriert
 *  - Einzelpreis/Gesamtpreis: klare vertikale Ausrichtung
 *  - CTA: Kontext-Info + alle 8 Zahlungsarten größer
 */

/* ============================================================
   1. PAGE-GUARD
   ============================================================ */
body:not(.mfx-cart-active) .mfx-progress-bar-wrap,
body:not(.mfx-cart-active) .mfx-sticky-cta,
body:not(.mfx-cart-active) .mfx-checkout-context,
body:not(.mfx-cart-active) .mfx-payment-row {
  display: none !important;
}

/* ============================================================
   2. CSS-VARIABLEN
   ============================================================ */
body.mfx-cart-active {
  --mfx-primary:        #e8461a;
  --mfx-primary-dark:   #c33800;
  --mfx-primary-light:  #f5c4b3;
  --mfx-primary-bg:     #fdf2ee;
  --mfx-success:        #0f6e56;
  --mfx-success-bg:     #e1f5ee;
  --mfx-text:           #1a1a1a;
  --mfx-text-muted:     #6b6b6b;
  --mfx-border:         #e5e0db;
  --mfx-card-bg:        #ffffff;
  --mfx-card-shadow:    0 2px 12px rgba(232,70,26,0.07), 0 1px 3px rgba(0,0,0,0.05);
  --mfx-radius:         12px;
  --mfx-radius-sm:      8px;
  --mfx-transition:     0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   3. TRUST-BAR — deaktiviert
   ============================================================ */
.mfx-trust-bar {
  display: none !important;
}

/* ============================================================
   4. PRODUKT-CARD
   ============================================================ */
body.mfx-cart-active .product-grid--checkout .product-box-wrapper {
  background: var(--mfx-card-bg);
  border: 1.5px solid var(--mfx-border);
  border-radius: var(--mfx-radius);
  padding: 16px;
  margin-bottom: 12px !important;
  box-shadow: var(--mfx-card-shadow);
  transition: border-color var(--mfx-transition), box-shadow var(--mfx-transition);
  position: relative;
  overflow: hidden;
}

body.mfx-cart-active .product-grid--checkout .product-box-wrapper::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--mfx-primary);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity var(--mfx-transition);
}

body.mfx-cart-active .product-grid--checkout .product-box-wrapper:hover {
  border-color: var(--mfx-primary-light);
  box-shadow: 0 4px 20px rgba(232,70,26,0.10);
}

body.mfx-cart-active .product-grid--checkout .product-box-wrapper:hover::before {
  opacity: 1;
}

/* FIX 2: Produktbild — weißer Hintergrund, klar, groß */
body.mfx-cart-active .product-box__image-wrapper {
  background: #ffffff !important;
  border: 1px solid #ede9e4 !important;
  border-radius: var(--mfx-radius-sm) !important;
  padding: 4px !important;
  flex-shrink: 0;
  width: 110px !important;
  height: 110px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

body.mfx-cart-active .product-box__image-wrapper figure {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

body.mfx-cart-active .product-box__image-wrapper img {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: contain !important;
  display: block !important;
}

body.mfx-cart-active .product-box__image-wrapper figure p {
  font-size: 9px !important;
  color: #bbb !important;
  margin: 2px 0 0 !important;
  text-align: center !important;
}

/* Produkttitel */
body.mfx-cart-active .product-box__title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--mfx-text) !important;
  line-height: 1.35 !important;
  margin-bottom: 4px !important;
}

/* Produkt-Meta */
body.mfx-cart-active .product-box__meta ul li {
  font-size: 12px !important;
  color: var(--mfx-text-muted) !important;
}

/* Lieferzeit-Badge */
body.mfx-cart-active [data-deliverytime] span span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--mfx-success-bg);
  color: var(--mfx-success);
  font-size: 11px !important;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ============================================================
   FIX 3: MENGENWÄHLER + REFRESH-BUTTON
   ============================================================ */
body.mfx-cart-active .form-quantity-select {
  display: flex !important;
  align-items: center !important;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius-sm) !important;
  background: #f9f7f5 !important;
  overflow: hidden;
  height: 38px !important;
  transition: border-color var(--mfx-transition);
}

body.mfx-cart-active .form-quantity-select:focus-within {
  border-color: var(--mfx-primary) !important;
}

body.mfx-cart-active .form-quantity-select button {
  color: var(--mfx-primary) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  transition: background var(--mfx-transition);
  line-height: 1;
}

body.mfx-cart-active .form-quantity-select button:hover {
  background: var(--mfx-primary-bg) !important;
}

body.mfx-cart-active .form-quantity-select input[type="number"] {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--mfx-text) !important;
  background: transparent !important;
  border: none !important;
  text-align: center !important;
  width: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  height: 38px !important;
  -moz-appearance: textfield;
}

body.mfx-cart-active .form-quantity-select input[type="number"]::-webkit-inner-spin-button,
body.mfx-cart-active .form-quantity-select input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Refresh-Button — direkt rechts neben dem Mengenwähler */
body.mfx-cart-active button[type="submit"][name="refresh_submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  background: #f9f7f5 !important;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius-sm) !important;
  color: var(--mfx-text-muted) !important;
  margin-left: 6px !important;
  padding: 0 !important;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--mfx-transition), color var(--mfx-transition), background var(--mfx-transition);
}

body.mfx-cart-active button[type="submit"][name="refresh_submit"]:hover {
  border-color: var(--mfx-primary) !important;
  color: var(--mfx-primary) !important;
  background: var(--mfx-primary-bg) !important;
}

/* Löschen-Button */
body.mfx-cart-active .product-box-wrapper a[href*="delete"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 6px !important;
  color: #ccc !important;
  margin-left: 4px !important;
  transition: color var(--mfx-transition), background var(--mfx-transition);
}

body.mfx-cart-active .product-box-wrapper a[href*="delete"]:hover {
  color: #d32f2f !important;
  background: #fff0f0 !important;
}

/* ============================================================
   FIX 4: EINZELPREIS / GESAMTPREIS
   ============================================================ */
body.mfx-cart-active .product-box-wrapper .flex.justify-between {
  align-items: flex-end !important;
  margin-top: 10px !important;
  gap: 12px !important;
}

/* Einzelpreis-Block */
body.mfx-cart-active .product-box-wrapper .mr-3\.5 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  margin-bottom: 0 !important;
  min-width: 80px;
}

body.mfx-cart-active .product-box-wrapper .mr-3\.5 p {
  font-size: 11px !important;
  color: var(--mfx-text-muted) !important;
  margin-bottom: 3px !important;
  font-weight: 400 !important;
  white-space: nowrap;
}

/* Einzelpreis-Wert (direktes Text-Child) */
body.mfx-cart-active .product-box-wrapper .mr-3\.5 {
  font-size: 13px !important;
  color: var(--mfx-text-muted) !important;
  font-weight: 400 !important;
}

/* Gesamtpreis-Block */
body.mfx-cart-active .product-box-wrapper .text-primary.font-bold {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  margin-bottom: 0 !important;
  min-width: 90px;
}

body.mfx-cart-active .product-box-wrapper .text-primary.font-bold p {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: var(--mfx-text-muted) !important;
  margin-bottom: 3px !important;
  white-space: nowrap;
}

/* Gesamtpreis-Wert */
body.mfx-cart-active .product-box-wrapper .text-primary.font-bold {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--mfx-primary) !important;
  line-height: 1.1 !important;
}

/* ============================================================
   5. VERSAND-FORTSCHRITTSLEISTE
   ============================================================ */
.mfx-progress-bar-wrap {
  background: var(--mfx-card-bg);
  border: 1.5px solid var(--mfx-border);
  border-radius: var(--mfx-radius);
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: var(--mfx-card-shadow);
}

.mfx-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mfx-progress-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mfx-text);
}

.mfx-badge-free {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--mfx-success-bg);
  color: var(--mfx-success);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  animation: mfxBadgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mfx-badge-remaining {
  background: var(--mfx-primary-bg);
  color: var(--mfx-primary-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
}

.mfx-progress-threshold {
  font-size: 12px;
  color: var(--mfx-text-muted);
}

.mfx-progress-track {
  height: 8px;
  background: var(--mfx-primary-bg);
  border-radius: 4px;
  overflow: hidden;
}

.mfx-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mfx-primary) 0%, #f5a623 100%);
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.mfx-progress-fill::after {
  content: '';
  position: absolute;
  right: -1px; top: -2px;
  width: 12px; height: 12px;
  background: var(--mfx-primary);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--mfx-primary-light);
}

/* ============================================================
   6. GUTSCHEIN-UX
   ============================================================ */
body.mfx-cart-active .p-3\.5.mb-3\.5.text-primary.bg-grey-lighter,
body.mfx-cart-active .bg-grey-lighter.text-primary.mb-3\.5 {
  background: var(--mfx-card-bg) !important;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius) !important;
  padding: 0 !important;
  box-shadow: var(--mfx-card-shadow);
  overflow: hidden;
}

.mfx-coupon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  cursor: pointer;
  user-select: none;
  transition: background var(--mfx-transition);
}

.mfx-coupon-toggle:hover { background: var(--mfx-primary-bg); }

.mfx-coupon-toggle-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mfx-text);
}

.mfx-coupon-toggle-icon {
  color: var(--mfx-primary);
  transition: transform var(--mfx-transition);
}

.mfx-coupon-toggle-icon.open { transform: rotate(180deg); }

.mfx-coupon-body {
  padding: 0 18px 16px;
  display: none;
}

.mfx-coupon-body.open {
  display: block;
  animation: mfxSlideDown 0.22s ease;
}

.mfx-coupon-body .flex { gap: 8px; }

.mfx-coupon-body input[type="text"] {
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius-sm) !important;
  font-size: 14px !important;
  padding: 9px 13px !important;
  flex: 1;
}

.mfx-coupon-body input[type="text"]:focus {
  border-color: var(--mfx-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(232,70,26,0.10) !important;
}

.mfx-coupon-body .btn-primary {
  background: var(--mfx-primary) !important;
  border-radius: var(--mfx-radius-sm) !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
}

/* ============================================================
   7. PREIS-SUMMARY
   ============================================================ */
body.mfx-cart-active .justify-end .w-full.sm\:w-1\/2:last-child table {
  background: var(--mfx-card-bg);
  border: 1.5px solid var(--mfx-border);
  border-radius: var(--mfx-radius);
  padding: 14px 18px;
  box-shadow: var(--mfx-card-shadow);
  width: 100%;
}

body.mfx-cart-active .justify-end table tr td {
  padding: 6px 0 !important;
  font-size: 14px !important;
  color: var(--mfx-text-muted) !important;
  border: none !important;
}

body.mfx-cart-active .justify-end table tr td.font-bold {
  font-weight: 500 !important;
  color: var(--mfx-text) !important;
}

body.mfx-cart-active .justify-end table tr:last-child td {
  border-top: 1px solid var(--mfx-border) !important;
  padding-top: 10px !important;
  font-size: 16px !important;
}

body.mfx-cart-active .justify-end table tr:last-child td.font-bold {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--mfx-primary) !important;
}

.mfx-shipping-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--mfx-success-bg);
  color: var(--mfx-success);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ============================================================
   8. CTA + FIX 5: KONTEXT-INFO + 8 ZAHLUNGSARTEN
   ============================================================ */

/* Kontext-Box: Was erwartet den Kunden? */
.mfx-checkout-context {
  background: var(--mfx-primary-bg);
  border: 1px solid var(--mfx-primary-light);
  border-radius: var(--mfx-radius-sm);
  padding: 11px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mfx-checkout-context svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--mfx-primary);
}

.mfx-checkout-context-text {
  font-size: 13px;
  color: var(--mfx-primary-dark);
  line-height: 1.5;
}

.mfx-checkout-context-text strong {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* CTA-Button */
body.mfx-cart-active #checkout_start_btn,
body.mfx-cart-active a.btn-primary[href="/checkout/start"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  width: 100% !important;
  background: var(--mfx-primary) !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  padding: 16px 24px !important;
  border-radius: var(--mfx-radius) !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(232,70,26,0.32) !important;
  transition: background var(--mfx-transition), transform 0.15s, box-shadow var(--mfx-transition) !important;
  text-decoration: none !important;
}

body.mfx-cart-active #checkout_start_btn:hover,
body.mfx-cart-active a.btn-primary[href="/checkout/start"]:hover {
  background: var(--mfx-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 7px 24px rgba(232,70,26,0.40) !important;
}

body.mfx-cart-active #checkout_start_btn:active,
body.mfx-cart-active a.btn-primary[href="/checkout/start"]:active {
  transform: translateY(0);
}

/* Alle 8 Zahlungsarten — prominent */
.mfx-payment-row {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--mfx-border);
}

.mfx-payment-row-label {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--mfx-text-muted);
  margin-bottom: 7px;
  letter-spacing: 0.4px;
}

.mfx-pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 48px;
  padding: 0 9px;
  background: #f7f5f3;
  border: 1px solid #e0dbd5;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #444;
  white-space: nowrap;
  transition: border-color var(--mfx-transition), box-shadow var(--mfx-transition);
  letter-spacing: 0.2px;
}

.mfx-pay-icon:hover {
  border-color: var(--mfx-primary-light);
  box-shadow: 0 2px 8px rgba(232,70,26,0.10);
}

/* "Vergessen?"-Link */
body.mfx-cart-active a.btn-small.btn-outline[href="/"] {
  font-size: 12px !important;
  color: var(--mfx-text-muted) !important;
  background: transparent !important;
  border: 1px solid var(--mfx-border) !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  transition: color var(--mfx-transition), border-color var(--mfx-transition) !important;
}

body.mfx-cart-active a.btn-small.btn-outline[href="/"]:hover {
  color: var(--mfx-primary) !important;
  border-color: var(--mfx-primary-light) !important;
}

/* ============================================================
   9. STICKY CTA-BAR MOBILE
   ============================================================ */
.mfx-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--mfx-card-bg);
  border-top: 1.5px solid var(--mfx-border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
  animation: mfxSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mfx-sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.mfx-sticky-price-block { flex: 1; min-width: 0; }
.mfx-sticky-price-label { font-size: 11px; color: var(--mfx-text-muted); line-height: 1; margin-bottom: 2px; }
.mfx-sticky-price-value { font-size: 20px; font-weight: 700; color: var(--mfx-primary); line-height: 1; }
.mfx-sticky-shipping { font-size: 10px; color: var(--mfx-success); font-weight: 600; margin-top: 2px; }

.mfx-sticky-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--mfx-primary) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 13px 22px !important;
  border-radius: var(--mfx-radius) !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 3px 12px rgba(232,70,26,0.4);
  transition: background var(--mfx-transition), transform 0.12s;
  white-space: nowrap;
  flex-shrink: 0;
}

.mfx-sticky-btn:hover { background: var(--mfx-primary-dark) !important; }
body.mfx-cart-active.mfx-sticky-shown main { padding-bottom: 80px; }

/* ============================================================
   10. REZEPT-BOX
   ============================================================ */
body.mfx-cart-active .flex.flex-wrap.w-full.bg-grey-lighter.p-4 {
  background: var(--mfx-card-bg) !important;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius) !important;
  box-shadow: var(--mfx-card-shadow);
}

body.mfx-cart-active .flex.flex-wrap.w-full.bg-grey-lighter.p-4 .btn-primary {
  background: var(--mfx-primary) !important;
  border-radius: var(--mfx-radius-sm) !important;
  font-weight: 600 !important;
}

/* ============================================================
   11. ANIMATIONEN
   ============================================================ */
@keyframes mfxBadgePop {
  0%   { transform: scale(0.7); opacity: 0; }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes mfxSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes mfxSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes mfxFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.mfx-cart-active .product-box-wrapper {
  animation: mfxFadeIn 0.3s ease both;
}

/* ============================================================
   12. RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .mfx-sticky-cta { display: block !important; }

  body.mfx-cart-active .product-box__image-wrapper {
    width: 80px !important;
    height: 80px !important;
  }

  body.mfx-cart-active .product-box__image-wrapper img {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
  }
}

@media (min-width: 768px) {
  .mfx-sticky-cta { display: none !important; }
}

/* ============================================================
   FIX ÜBERLAPPUNG: Mengenwähler-Row sauber nebeneinander
   Der Mauve-Container .flex.justify-center.h-7 muss
   height/overflow überschrieben werden
   ============================================================ */

/* Mauve-Wrapper der den Mengenwähler + Refresh + Delete enthält */
body.mfx-cart-active .product-box-wrapper .flex.justify-center.h-7 {
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}

/* Mengenwähler selbst — klare eigene Box, kein overflow:hidden */
body.mfx-cart-active .form-quantity-select {
  overflow: visible !important;
  border-radius: 8px !important;
  flex-shrink: 0;
}

/* Refresh-Button: kein negativer Margin, sauber im Flex-Gap */
body.mfx-cart-active button[type="submit"][name="refresh_submit"] {
  margin-left: 0 !important;
  position: relative !important;
  z-index: 1 !important;
  flex-shrink: 0 !important;
}

/* Löschen-Button: kein negativer Margin */
body.mfx-cart-active .product-box-wrapper a[href*="delete"] {
  margin-left: 0 !important;
  flex-shrink: 0 !important;
}

/* sm:mr-3.5 Wrapper (Desktop) — gleiche Behandlung */
body.mfx-cart-active .product-box-wrapper .sm\:mr-3\.5 {
  overflow: visible !important;
}

/* ============================================================
   PATCH: Rezept-Buttons Hover-Transition wiederherstellen
   ============================================================ */
body.mfx-cart-active .flex.flex-wrap.w-full.bg-grey-lighter.p-4 .btn-primary {
  transition: background var(--mfx-transition), transform 0.12s ease, box-shadow var(--mfx-transition) !important;
}

body.mfx-cart-active .flex.flex-wrap.w-full.bg-grey-lighter.p-4 .btn-primary:hover {
  background: var(--mfx-primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(232,70,26,0.28) !important;
}

body.mfx-cart-active .flex.flex-wrap.w-full.bg-grey-lighter.p-4 .btn-primary:active {
  transform: translateY(0) !important;
  box-shadow: none !important;
}

/* ============================================================
   PATCH: Preiszusammenfassung — zurück auf sauberes Design
   Überschreibt die kaputten justify-end table Regeln
   ============================================================ */

/* Reset: keine Selektor-Kollision mit Rezept-Box-Tabellen */
body.mfx-cart-active table.max-w-full {
  background: #ffffff;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius) !important;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100%;
  box-shadow: var(--mfx-card-shadow);
}

body.mfx-cart-active table.max-w-full tr td {
  padding: 8px 16px !important;
  font-size: 14px !important;
  color: var(--mfx-text-muted) !important;
  border: none !important;
  vertical-align: middle !important;
}

/* Rechte Spalte (Beträge) */
body.mfx-cart-active table.max-w-full tr td.font-bold {
  font-weight: 500 !important;
  color: var(--mfx-text) !important;
  text-align: right !important;
}

/* Linke Spalte (Labels) */
body.mfx-cart-active table.max-w-full tr td:first-child {
  text-align: right !important;
  color: var(--mfx-text-muted) !important;
}

/* MwSt.-Zeile — etwas kleiner */
body.mfx-cart-active table.max-w-full tr:nth-child(2) td {
  font-size: 12px !important;
  padding-bottom: 10px !important;
}

/* Trennlinie vor Gesamtpreis */
body.mfx-cart-active table.max-w-full tr:last-child td {
  border-top: 1.5px solid var(--mfx-border) !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  font-size: 15px !important;
  color: var(--mfx-text) !important;
}

/* Gesamtpreis-Betrag */
body.mfx-cart-active table.max-w-full tr:last-child td.font-bold {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--mfx-primary) !important;
}

/* ============================================================
   PATCH: CTA volle Breite + Zahlungsarten darunter
   ============================================================ */

/* CTA-Container — volle Breite, Flex-Richtung column */
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
}

/* Die linke leere Hälfte (sm:w-2/3) ausblenden */
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center .hidden.sm\:block {
  display: none !important;
}

/* Rechte CTA-Hälfte (sm:w-1/3) → volle Breite */
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center .w-full.sm\:w-1\/3 {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* Kasse-Button selbst — volle Breite */
body.mfx-cart-active #checkout_start_btn,
body.mfx-cart-active a.btn-primary[href="/checkout/start"] {
  width: 100% !important;
  max-width: 100% !important;
}

/* Zahlungsarten-Zeile — unter dem Button, volle Breite */
body.mfx-cart-active .mfx-payment-row {
  width: 100% !important;
  margin-top: 14px !important;
  justify-content: center !important;
}

/* ============================================================
   PATCH: Kontext-Box ausblenden
   ============================================================ */
.mfx-checkout-context {
  display: none !important;
}

/* ============================================================
   PATCH: "noch was vergessen?" — neu gestylt
   ============================================================ */
body.mfx-cart-active a.btn-small.btn-outline[href="/"] {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 13px 18px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--mfx-text-muted) !important;
  background: #fafaf9 !important;
  border: 1.5px dashed var(--mfx-border) !important;
  border-radius: var(--mfx-radius) !important;
  text-decoration: none !important;
  transition: border-color var(--mfx-transition), color var(--mfx-transition), background var(--mfx-transition) !important;
  margin-bottom: 16px !important;
}

body.mfx-cart-active a.btn-small.btn-outline[href="/"]:hover {
  border-color: var(--mfx-primary) !important;
  border-style: solid !important;
  color: var(--mfx-primary) !important;
  background: var(--mfx-primary-bg) !important;
}

/* ============================================================
   PATCH: "noch was vergessen?" am Ende komplett weg
   ============================================================ */
body.mfx-cart-active a.btn-small.btn-outline[href="/"]:not([data-mfx-moved]) {
  display: none !important;
}

/* ============================================================
   PATCH: PayPal-Buttons + CTA + Zahlungsarten
   rechtsbündig, gleiche Breite wie Preiszusammenfassung
   ============================================================ */

/* Übergeordneter Bereich ab PayPal bis Kasse —
   alles in eine rechtsbündige Spalte (50% Desktop) */
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center {
  justify-content: flex-end !important;
}

/* PayPal-Container-Row — rechtsbündig, halbe Breite */
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has([data-paypal-button-container]),
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has(#pp-message) {
  justify-content: flex-end !important;
}

body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has([data-paypal-button-container]) .w-full.sm\:w-1\/3,
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has(#pp-message) .w-full.sm\:w-1\/3 {
  width: 50% !important;
  margin-left: auto !important;
}

/* PayPal-Buttons selbst volle Breite im Container */
body.mfx-cart-active [data-paypal-button-container],
body.mfx-cart-active #pp-message {
  width: 100% !important;
}

/* Linker "Schnell und bequem"-Text ausblenden */
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has([data-paypal-button-container]) .hidden.sm\:block,
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has(#pp-message) .hidden.sm\:block {
  display: none !important;
}

/* Kasse-Button-Row — halbe Breite, rechtsbündig */
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center:has(#checkout_start_btn),
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center:has(a[href="/checkout/start"]) {
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
}

body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center:has(#checkout_start_btn) .w-full.sm\:w-1\/3,
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center:has(a[href="/checkout/start"]) .w-full.sm\:w-1\/3 {
  width: 50% !important;
  margin-left: auto !important;
}

/* Zahlungsarten-Leiste — halbe Breite, zentriert in der rechten Hälfte */
body.mfx-cart-active .mfx-payment-row {
  width: 50% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  justify-content: center !important;
}

/* Mobile: alles volle Breite */
@media (max-width: 767px) {
  body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has([data-paypal-button-container]) .w-full.sm\:w-1\/3,
  body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center:has(#checkout_start_btn) .w-full.sm\:w-1\/3,
  body.mfx-cart-active .mfx-payment-row {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

/* ============================================================
   PATCH: Löschen-Button zurück in die Card
   ============================================================ */

/* Der gesamte Steuerungs-Bereich (Menge + Refresh + Delete) */
body.mfx-cart-active .product-box-wrapper .flex.justify-center.h-7,
body.mfx-cart-active .product-box-wrapper .flex.justify-center {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  width: auto !important;
}

/* Mülleimer-Link — immer sichtbar, innerhalb der Zeile */
body.mfx-cart-active .product-box-wrapper a[href*="delete"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 6px !important;
  color: #ccc !important;
  margin-left: 0 !important;
  flex-shrink: 0 !important;
  position: static !important;
  float: none !important;
  transition: color var(--mfx-transition), background var(--mfx-transition);
}

body.mfx-cart-active .product-box-wrapper a[href*="delete"]:hover {
  color: #d32f2f !important;
  background: #fff0f0 !important;
}

/* Verhindert dass der sm:mr-3.5 Container zu breit wird */
body.mfx-cart-active .product-box-wrapper > .sm\:flex > .flex {
  flex-shrink: 0 !important;
  overflow: visible !important;
}

/* ============================================================
   PATCH: "noch was vergessen?" — alle Instanzen weg
   ============================================================ */
body.mfx-cart-active a[href="/"].btn-small,
body.mfx-cart-active a[href="/"].btn-outline,
body.mfx-cart-active a.btn-small.btn-outline,
body.mfx-cart-active a.mb-3\.5.btn.btn-small.btn-outline {
  display: none !important;
}

/* Echte Zahlungsarten-Bilder */
.mfx-pay-real-icon {
  height: 28px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  border: 1px solid #e0dbd5;
  border-radius: 6px;
  padding: 3px 6px;
  background: #f7f5f3;
  transition: border-color var(--mfx-transition), box-shadow var(--mfx-transition);
}

.mfx-pay-real-icon:hover {
  border-color: var(--mfx-primary-light);
  box-shadow: 0 2px 8px rgba(232,70,26,0.10);
}

/* ============================================================
   FIX: Mauve-Ladespinner im Produktbild-Bereich ausblenden
   (der div.absolute.top-0.left-0 Overlay-Spinner)
   ============================================================ */
body.mfx-cart-active .product-box-wrapper .absolute.top-0.left-0.w-full.h-full.bg-white\/\[\.7\] {
  display: none !important;
}

/* Sicherheitshalber alle Spinner-Overlays in der Card */
body.mfx-cart-active .product-box article > div.absolute,
body.mfx-cart-active .product-box-wrapper div.absolute.flex.justify-center.items-center {
  display: none !important;
}

/* ============================================================
   ONE-CLICK UPSELL
   ============================================================ */
.mfx-upsell-wrap {
  margin-bottom: 16px;
}

.mfx-upsell-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.mfx-upsell-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mfx-text);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.mfx-upsell-title-line {
  flex: 1;
  height: 1px;
  background: var(--mfx-border);
}

/* Scrollbare Kachel-Reihe */
.mfx-upsell-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mfx-upsell-row::-webkit-scrollbar {
  display: none;
}

/* Einzelne Upsell-Kachel */
.mfx-upsell-card {
  flex-shrink: 0;
  width: 160px;
  background: var(--mfx-card-bg);
  border: 1.5px solid var(--mfx-border);
  border-radius: var(--mfx-radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: start;
  transition: border-color var(--mfx-transition), box-shadow var(--mfx-transition);
  position: relative;
  overflow: hidden;
}

.mfx-upsell-card:hover {
  border-color: var(--mfx-primary-light);
  box-shadow: var(--mfx-card-shadow);
}

/* Lade-Skeleton */
.mfx-upsell-card.mfx-loading .mfx-upsell-img-wrap,
.mfx-upsell-card.mfx-loading .mfx-upsell-name,
.mfx-upsell-card.mfx-loading .mfx-upsell-price,
.mfx-upsell-card.mfx-loading .mfx-upsell-btn {
  background: linear-gradient(90deg, #f0ede8 25%, #e8e4de 50%, #f0ede8 75%);
  background-size: 200% 100%;
  animation: mfxSkeleton 1.4s ease infinite;
  border-radius: 6px;
  color: transparent !important;
}

@keyframes mfxSkeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Produktbild */
.mfx-upsell-img-wrap {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f7f5;
  border-radius: 8px;
  overflow: hidden;
}

.mfx-upsell-img-wrap img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}

/* Produktname */
.mfx-upsell-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--mfx-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}

/* Preis */
.mfx-upsell-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--mfx-primary);
  line-height: 1;
}

.mfx-upsell-price-uvp {
  font-size: 11px;
  color: var(--mfx-text-muted);
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 400;
}

/* Add-Button */
.mfx-upsell-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 8px 0;
  background: var(--mfx-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--mfx-transition), transform 0.1s;
  margin-top: auto;
}

.mfx-upsell-btn:hover {
  background: var(--mfx-primary-dark);
  transform: translateY(-1px);
}

.mfx-upsell-btn:active {
  transform: scale(0.97);
}

/* Erfolgszustand nach Klick */
.mfx-upsell-btn.mfx-added {
  background: var(--mfx-success) !important;
  pointer-events: none;
}

/* Nicht verfügbar */
.mfx-upsell-card.mfx-unavailable {
  opacity: 0.5;
  pointer-events: none;
}

/* Bereits im Warenkorb Badge */
.mfx-upsell-badge-incart {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--mfx-success-bg);
  color: var(--mfx-success);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .mfx-upsell-card {
    width: 140px;
  }
}

/* ============================================================
   UPSELL: Layout wie Kategorie-Kachel
   ============================================================ */

/* Kachel selbst */
.mfx-upsell-card {
  width: 180px !important;
  padding: 14px 12px 12px !important;
  gap: 6px !important;
}

/* Bildbereich — weißer Hintergrund, kein Tint */
.mfx-upsell-img-wrap {
  background: #ffffff !important;
  border: 1px solid #ede9e4 !important;
  height: 120px !important;
  border-radius: 10px !important;
}

.mfx-upsell-img-wrap img {
  max-width: 90px !important;
  max-height: 100px !important;
}

/* "Abb. ähnlich" Text */
.mfx-upsell-img-wrap::after {
  content: 'Abb. ähnlich';
  display: block;
  font-size: 9px;
  color: #bbb;
  text-align: center;
  margin-top: 2px;
}

/* Produktname — 2 Zeilen, dann … */
.mfx-upsell-name {
  font-size: 13px !important;
  font-weight: 400 !important;
  min-height: 36px !important;
  -webkit-line-clamp: 2 !important;
}

/* Preis wie Kategorie — "nur X,XX €" */
.mfx-upsell-price {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--mfx-primary) !important;
}

.mfx-upsell-price::before {
  content: 'nur ';
  font-size: 12px;
  font-weight: 400;
  color: var(--mfx-primary);
}

/* Button — volle Breite, rund wie Kategorie */
.mfx-upsell-btn {
  border-radius: 10px !important;
  font-size: 13px !important;
  padding: 10px 0 !important;
  gap: 6px !important;
}

/* ============================================================
   PATCH: Gutschein-Box Abstand nach oben + Rezept-Box Abstand
   ============================================================ */

/* Gutschein-Box — mehr Abstand nach oben (vom Upsell) */
body.mfx-cart-active .p-3\.5.mb-3\.5.text-primary.bg-grey-lighter {
  margin-top: 20px !important;
}

/* Abstand zwischen Gutschein-Box und Rezept-Box */
body.mfx-cart-active .flex.flex-wrap.w-full.bg-grey-lighter.p-4 {
  margin-top: 16px !important;
}

/* ============================================================
   PATCH: Rezept-Buttons — weißer Hintergrund, roter Border, schwarze Schrift
   ============================================================ */
body.mfx-cart-active .flex.flex-wrap.w-full.bg-grey-lighter.p-4 .btn-primary {
  background: #ffffff !important;
  border: 2px solid var(--mfx-primary) !important;
  color: #1a1a1a !important;
  box-shadow: none !important;
}

body.mfx-cart-active .flex.flex-wrap.w-full.bg-grey-lighter.p-4 .btn-primary:hover {
  background: var(--mfx-primary-bg) !important;
  border-color: var(--mfx-primary-dark) !important;
  color: var(--mfx-primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 10px rgba(232,70,26,0.15) !important;
}

/* Gutschein-Box — mehr Abstand nach unten zur Rezept-Box */
body.mfx-cart-active .p-3\.5.mb-3\.5.text-primary.bg-grey-lighter {
  margin-bottom: 60px !important;
}

/* ============================================================
   PATCH: Grau → Schwarz für Produktinfos
   ============================================================ */

/* 1+2: Packungsgröße + Artikelnummer */
body.mfx-cart-active .product-box__meta ul li {
  color: var(--mfx-text) !important;
}

/* 3: Einzelpreis Label + Wert */
body.mfx-cart-active .product-box-wrapper .mr-3\.5 p,
body.mfx-cart-active .product-box-wrapper .mr-3\.5 {
  color: var(--mfx-text) !important;
}

/* 4: "Gesamtpreis" Label (nur das Wort, nicht der Betrag) */
body.mfx-cart-active .product-box-wrapper .text-primary.font-bold p {
  color: var(--mfx-text) !important;
}

/* 5: "ab 35,00 €" in der Versandbar */
.mfx-progress-threshold {
  color: var(--mfx-text) !important;
}

/* ============================================================
   PATCH: Gutscheinwert immer in Rot
   ============================================================ */

/* Zeile mit Gutschein-Icon (Mülleimer) — Wert-Spalte rot */
body.mfx-cart-active table.max-w-full tr:has(svg) td.font-bold,
body.mfx-cart-active table.max-w-full tr:has(button) td.font-bold,
body.mfx-cart-active .justify-end table tr:has(svg) td.font-bold,
body.mfx-cart-active .justify-end table tr:has(button) td.font-bold {
  color: #d32f2f !important;
  font-weight: 700 !important;
}

/* ============================================================
   PATCH: PayPal-Buttons volle Breite auf Mobile
   ============================================================ */
@media (max-width: 767px) {
  /* Container von sm:w-1/3 auf volle Breite */
  body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has([data-paypal-button-container]) .w-full.sm\:w-1\/3,
  body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has(#pp-message) .w-full.sm\:w-1\/3 {
    width: 100% !important;
    margin-left: 0 !important;
  }

  /* PayPal iframe + Button-Container volle Breite */
  body.mfx-cart-active [data-paypal-button-container],
  body.mfx-cart-active #pp-message,
  body.mfx-cart-active .paypal-buttons,
  body.mfx-cart-active .paypal-buttons-context-iframe {
    width: 100% !important;
    min-width: 100% !important;
  }

  /* PayPal-Row selbst volle Breite */
  body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex:has([data-paypal-button-container]) {
    flex-direction: column !important;
  }
}

/* ============================================================
   PATCH: Kundenrabatt-Hinweis — Abstand nach oben
   ============================================================ */
body.mfx-cart-active .product-box-wrapper .md\:px-3\.5 ~ *,
body.mfx-cart-active .product-box-wrapper .sm\:self-start > *:last-child {
  margin-top: 6px !important;
}

/* Direkter Selektor auf den Rabatt-Text */
body.mfx-cart-active .product-box-wrapper .sm\:flex .text-primary:not(.font-bold) {
  margin-top: 8px !important;
  display: block !important;
}

/* ============================================================
   PATCH: Kundenrabatt-Text — Abstand nach oben
   ============================================================ */
body.mfx-cart-active .text-center.sm\:text-right.mb-2\.5.sm\:mb-0.leading-normal {
  margin-top: 10px !important;
  font-size: 12px !important;
  color: var(--mfx-text-muted) !important;
}

/* ============================================================
   PATCH: Gutschein-Box offen — Einlösen Button CI-konform
   ============================================================ */

/* Offener Zustand — Input + Button Zeile */
body.mfx-cart-active .mfx-coupon-body .flex {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}

/* Einlösen Button — CI Orange */
body.mfx-cart-active .mfx-coupon-body .btn.btn-primary[name="redeem_coupon_submit"] {
  background: var(--mfx-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--mfx-radius-sm) !important;
  padding: 9px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: background var(--mfx-transition) !important;
}

body.mfx-cart-active .mfx-coupon-body .btn.btn-primary[name="redeem_coupon_submit"]:hover {
  background: var(--mfx-primary-dark) !important;
}

/* Input Feld */
body.mfx-cart-active .mfx-coupon-body input[name="couponCode"] {
  flex: 1 !important;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius-sm) !important;
  padding: 9px 13px !important;
  font-size: 14px !important;
  min-width: 0 !important;
}

body.mfx-cart-active .mfx-coupon-body input[name="couponCode"]:focus {
  border-color: var(--mfx-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(232,70,26,0.10) !important;
}

/* ============================================================
   PATCH: Refresh-Button zentriert in seiner Box
   ============================================================ */
body.mfx-cart-active button[type="submit"][name="refresh_submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  padding: 0 !important;
  margin: 0 0 0 6px !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

body.mfx-cart-active button[type="submit"][name="refresh_submit"] svg {
  display: block !important;
  margin: auto !important;
}

/* Mengenwähler-Row: sicherstellen dass alles mittig aligned */
body.mfx-cart-active .product-box-wrapper .flex.justify-center.h-7,
body.mfx-cart-active .product-box-wrapper .flex.justify-center {
  align-items: center !important;
}

/* ============================================================
   TRUST-LOGOS unter CTA
   ============================================================ */
.mfx-trust-logos {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 10px !important;
  padding: 8px 0 !important;
}

.mfx-trust-logos img {
  border-radius: 4px !important;
  object-fit: contain !important;
}

/* ============================================================
   PATCH: CTA mehr Abstand nach oben + Trust-Logos Label
   ============================================================ */

/* Mehr Abstand über dem CTA-Bereich */
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center:has(#checkout_start_btn),
body.mfx-cart-active .border-t.border-grey-light.py-3\.5.sm\:flex.items-center:has(a[href="/checkout/start"]) {
  padding-top: 24px !important;
}

/* Trust-Logos Bereich — Label darüber */
.mfx-trust-logos {
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 16px !important;
}

.mfx-trust-logos-label {
  font-size: 12px;
  color: var(--mfx-text-muted);
  text-align: center;
  width: 100%;
  margin-bottom: 2px;
}

.mfx-trust-logos-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* PATCH: Zahlungsmethoden Label — größer, schwarz, fett */
.mfx-trust-logos-label {
  font-size: 15px !important;
  color: var(--mfx-text) !important;
  font-weight: 700 !important;
}

/* PATCH: 8 Zahlungslogos — responsiv */
.mfx-trust-logos-icons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.mfx-pay-logo {
  width: 72px !important;
  height: 50px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
}

@media (max-width: 767px) {
  .mfx-pay-logo {
    width: 58px !important;
    height: 42px !important;
  }
}

/* PATCH: Gutschein-Zeile — nur "Gutschein:" anzeigen, Code ausblenden */
body.mfx-cart-active table.max-w-full tr:has(button) td:first-child,
body.mfx-cart-active table.max-w-full tr:has(svg) td:first-child {
  font-size: 0 !important;
}

body.mfx-cart-active table.max-w-full tr:has(button) td:first-child::before,
body.mfx-cart-active table.max-w-full tr:has(svg) td:first-child::before {
  content: 'Gutschein:';
  font-size: 14px !important;
  color: var(--mfx-text-muted);
}

/* PATCH: Gutschein-Zeile in Summary — Code "(j7a2f)" ausblenden */
/* Trifft alle td die "(" enthalten in der Gutschein-Zeile */
body.mfx-cart-active table.max-w-full tr:has(button) td:first-child span,
body.mfx-cart-active table.max-w-full tr:has(button) td:first-child .text-xs,
body.mfx-cart-active table.max-w-full tr:has(svg) td:first-child span {
  display: none !important;
}

/* Alpine Sidebar Warenkorb — Gutschein-Code in der Liste ausblenden */
body.mfx-cart-active [x-data="cart"] .py-2\.5 span[x-text="coupon.code"],
body.mfx-cart-active [x-data="cart"] li[class*="py-2"] span[x-text="coupon.code"] {
  display: none !important;
}

/* Klammern um den Code ausblenden via JS — see JS patch */

/* PATCH: Gutschein-Zeile Layout — Text + Mülleimer in einer Reihe */
body.mfx-cart-active table.max-w-full tr:has(button) td:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  font-size: 14px !important;
}

body.mfx-cart-active table.max-w-full tr:has(button) td:first-child button,
body.mfx-cart-active table.max-w-full tr:has(button) td:first-child a {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
</style>

/* ============================================================
   MEDIFUX – Checkout "Zur Kasse" – Custom CSS v5
   ALLE Regeln hinter body.mfx-checkout-active –
   diese Klasse wird NUR auf /checkout/start per JS gesetzt.
   Keine andere Seite wird berührt.
   ============================================================ */

/* ── PROGRESS BAR ─────────────────────────────────────────── */
body.mfx-checkout-active .mfx-progress-wrap {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 0 14px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

body.mfx-checkout-active .mfx-progress-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

body.mfx-checkout-active .mfx-steps {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.mfx-checkout-active .mfx-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

body.mfx-checkout-active .mfx-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #999;
  position: relative;
  z-index: 2;
}

body.mfx-checkout-active .mfx-step.active .mfx-step-circle {
  border-color: #E84E1B;
  background: #E84E1B;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(232,78,27,.15);
}

body.mfx-checkout-active .mfx-step-label {
  font-size: 13px;
  color: #1a1a1a;
  margin-top: 6px;
  font-weight: 500;
  white-space: nowrap;
}

body.mfx-checkout-active .mfx-step.active .mfx-step-label {
  color: #E84E1B;
  font-weight: 700;
}

body.mfx-checkout-active .mfx-step-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  margin-top: -22px;
  z-index: 1;
}

/* ── SSL TRUST BAR ────────────────────────────────────────── */
body.mfx-checkout-active .mfx-trust-bar {
  background: linear-gradient(135deg, #f8fffe 0%, #f0fff8 100%);
  border: 1px solid #c8ead8;
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #2d6a4a;
  font-weight: 500;
}

body.mfx-checkout-active .mfx-trust-bar span {
  line-height: 1.4;
}

/* ── OUTER CONTAINER ──────────────────────────────────────── */
body.mfx-checkout-active .mfx-outer {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 40px;
}

/* ── MAIN OVERRIDE ────────────────────────────────────────── */
body.mfx-checkout-active #main {
  max-width: 900px !important;
  width: 100% !important;
}

/* ── GRID ─────────────────────────────────────────────────── */
body.mfx-checkout-active .mfx-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 680px) {
  body.mfx-checkout-active .mfx-checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── CARDS ────────────────────────────────────────────────── */
body.mfx-checkout-active .mfx-col-card {
  background: #fff;
  border: 1.5px solid #ececec;
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow .2s ease, border-color .2s ease;
}

body.mfx-checkout-active .mfx-col-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  border-color: #ddd;
}

body.mfx-checkout-active .mfx-col-card.mfx-col-primary {
  border-color: #f0d0c6;
  background: linear-gradient(160deg, #fffaf8 0%, #fff 100%);
}

body.mfx-checkout-active .mfx-col-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

body.mfx-checkout-active .mfx-col-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fdeee9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.mfx-checkout-active .mfx-col-icon svg {
  color: #E84E1B;
  width: 20px;
  height: 20px;
}

body.mfx-checkout-active .mfx-col-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

body.mfx-checkout-active .mfx-col-subtitle {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* Gast-Card Header ausblenden */
body.mfx-checkout-active .mfx-guest-card .mfx-col-card-header {
  display: none !important;
}

body.mfx-checkout-active .mfx-guest-card {
  padding-top: 20px !important;
}

/* ── RECHTE SPALTE ────────────────────────────────────────── */
body.mfx-checkout-active .mfx-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ODER Divider schwarz */
body.mfx-checkout-active .mfx-divider-or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

body.mfx-checkout-active .mfx-divider-or::before,
body.mfx-checkout-active .mfx-divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1a1a1a;
}

/* ── FORMULAR ─────────────────────────────────────────────── */
body.mfx-checkout-active .mfx-col-card .form-input {
  border-radius: 8px !important;
  border: 1.5px solid #e0e0e0 !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  background: #fafafa !important;
}

body.mfx-checkout-active .mfx-col-card .form-input:focus {
  border-color: #E84E1B !important;
  box-shadow: 0 0 0 3px rgba(232,78,27,.1) !important;
  background: #fff !important;
  outline: none !important;
}

body.mfx-checkout-active .mfx-col-card .col-form-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #444 !important;
  margin-bottom: 5px !important;
  display: block !important;
  width: 100% !important;
}

body.mfx-checkout-active .mfx-col-card .flex.flex-wrap.items-center {
  flex-direction: column !important;
  align-items: flex-start !important;
}

body.mfx-checkout-active .mfx-col-card .col-form-input {
  width: 100% !important;
}

/* Passwort Toggle */
body.mfx-checkout-active .mfx-col-card .flex.flex-grow > div.btn {
  border-radius: 0 8px 8px 0 !important;
  background: #f0f0f0 !important;
  border: 1.5px solid #e0e0e0 !important;
  border-left: none !important;
  color: #666 !important;
  width: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.mfx-checkout-active .mfx-col-card .flex.flex-grow > div.btn:hover {
  background: #e8e8e8 !important;
  color: #E84E1B !important;
}

body.mfx-checkout-active .mfx-col-card .flex.flex-grow input[type="password"],
body.mfx-checkout-active .mfx-col-card .flex.flex-grow input[type="text"] {
  border-radius: 8px 0 0 8px !important;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
body.mfx-checkout-active .mfx-col-card .btn-primary {
  background: #E84E1B !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 13px 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #fff !important;
  cursor: pointer !important;
  transition: background .2s, transform .1s, box-shadow .2s !important;
  box-shadow: 0 4px 14px rgba(232,78,27,.25) !important;
}

body.mfx-checkout-active .mfx-col-card .btn-primary:hover {
  background: #c73f14 !important;
  box-shadow: 0 6px 20px rgba(232,78,27,.35) !important;
  transform: translateY(-1px) !important;
}

/* Register solid orange */
body.mfx-checkout-active .mfx-register-card .btn-primary {
  background: #E84E1B !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(232,78,27,.25) !important;
}

/* Gast Outline Button */
body.mfx-checkout-active .mfx-guest-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border: 2px solid #E84E1B !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #E84E1B !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: all .2s !important;
}

body.mfx-checkout-active .mfx-guest-btn:hover {
  background: #E84E1B !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(232,78,27,.25) !important;
  transform: translateY(-1px) !important;
}

/* ── GRÜNE HAKEN ──────────────────────────────────────────── */
body.mfx-checkout-active .mfx-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

body.mfx-checkout-active .mfx-benefits li {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.mfx-checkout-active .mfx-benefits li::before {
  content: '✓';
  color: #27ae60;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── HEADINGS ─────────────────────────────────────────────── */
body.mfx-checkout-active .mfx-page-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin-bottom: 6px !important;
  letter-spacing: -.3px;
}

body.mfx-checkout-active .mfx-page-subtitle {
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 24px;
}

/* ── LINKS ────────────────────────────────────────────────── */
body.mfx-checkout-active .mfx-col-card .text-xs {
  font-size: 12px !important;
  color: #999 !important;
  text-decoration: none !important;
  transition: color .2s !important;
}

body.mfx-checkout-active .mfx-col-card .text-xs:hover {
  color: #E84E1B !important;
  text-decoration: underline !important;
}

body.mfx-checkout-active .mfx-col-card a[href="/account/register/resend"] {
  display: none !important;
}

/* ── CHECKBOX ─────────────────────────────────────────────── */
body.mfx-checkout-active .mfx-col-card .form-checkbox {
  accent-color: #E84E1B !important;
}

/* ── ZURÜCK ───────────────────────────────────────────────── */
body.mfx-checkout-active .mfx-back-link {
  margin-top: 20px;
  text-align: center;
}

body.mfx-checkout-active .mfx-back-link a {
  font-size: 13px;
  color: #999 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}

body.mfx-checkout-active .mfx-back-link a:hover {
  color: #555 !important;
}

/* ============================================================
   MEDIFUX – Checkout Rechnungsadresse – Custom CSS v2
   /checkout/billing-address.html
   body.mfx-billing-active – nur aktiv wenn JS Klasse setzt
   ============================================================ */

/* ── PROGRESS BAR ─────────────────────────────────────────── */
body.mfx-billing-active .mfx-progress-wrap {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 0 14px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
body.mfx-billing-active .mfx-progress-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}
body.mfx-billing-active .mfx-steps {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.mfx-billing-active .mfx-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
body.mfx-billing-active .mfx-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #999;
  position: relative;
  z-index: 2;
}

/* Fix 1: Schritt 1 = done (Orange ausgefüllt mit Haken) */
body.mfx-billing-active .mfx-step.done .mfx-step-circle {
  border-color: #E84E1B;
  background: #E84E1B;
  color: #fff;
}

/* Fix 1: Schritt 2 = active (Orange Outline, NICHT ausgefüllt) */
body.mfx-billing-active .mfx-step.active .mfx-step-circle {
  border-color: #E84E1B;
  background: #fff;
  color: #E84E1B;
  box-shadow: 0 0 0 4px rgba(232,78,27,.12);
}

/* Schritt 3 = inaktiv */
body.mfx-billing-active .mfx-step.inactive .mfx-step-circle {
  border-color: #d0d0d0;
  background: #fff;
  color: #999;
}

body.mfx-billing-active .mfx-step-label {
  font-size: 13px;
  color: #1a1a1a;
  margin-top: 6px;
  font-weight: 500;
  white-space: nowrap;
}
body.mfx-billing-active .mfx-step.done .mfx-step-label {
  color: #E84E1B;
  font-weight: 600;
}
body.mfx-billing-active .mfx-step.active .mfx-step-label {
  color: #E84E1B;
  font-weight: 700;
}
body.mfx-billing-active .mfx-step.inactive .mfx-step-label {
  color: #999;
  font-weight: 500;
}

/* ── PROGRESS LINES ───────────────────────────────────────── */
body.mfx-billing-active .mfx-step-line {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  margin-top: -22px;
  z-index: 1;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

/* Linie 1 (Schritt 1→2): animiert bis zur Hälfte in Orange */
body.mfx-billing-active .mfx-step-line.half::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #E84E1B 0%, #ff7043 100%);
  border-radius: 2px;
  animation: mfx-fill-half 0.8s ease-out 0.3s forwards;
}

/* Linie 2 (Schritt 2→3): bleibt grau */
body.mfx-billing-active .mfx-step-line.empty::after {
  display: none;
}

@keyframes mfx-fill-half {
  from { width: 0; }
  to   { width: 50%; }
}

/* ── SEITEN-TITEL ─────────────────────────────────────────── */
body.mfx-billing-active .mfx-billing-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin-bottom: 4px !important;
  letter-spacing: -.3px;
}
body.mfx-billing-active .mfx-billing-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 28px;
}

/* ── OUTER WRAPPER ────────────────────────────────────────── */
body.mfx-billing-active .mfx-billing-outer {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 20px 48px;
}

/* ── SECTION CARDS ────────────────────────────────────────── */
body.mfx-billing-active .mfx-section-card {
  background: #fff;
  border: 1.5px solid #ececec;
  border-radius: 12px;
  padding: 24px 24px 8px;
  margin-bottom: 20px;
  transition: box-shadow .2s;
}
body.mfx-billing-active .mfx-section-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
body.mfx-billing-active .mfx-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
body.mfx-billing-active .mfx-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fdeee9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body.mfx-billing-active .mfx-section-icon svg {
  color: #E84E1B;
  width: 18px;
  height: 18px;
}
body.mfx-billing-active .mfx-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

/* ── FORM: Label oben, Input volle Breite ─────────────────── */
body.mfx-billing-active #main .flex.flex-wrap.items-center {
  flex-direction: column !important;
  align-items: flex-start !important;
  margin-bottom: 16px !important;
}
body.mfx-billing-active #main .col-form-label {
  width: 100% !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #444 !important;
  margin-bottom: 5px !important;
  padding: 0 !important;
}
body.mfx-billing-active #main .col-form-input {
  width: 100% !important;
}
body.mfx-billing-active #main .form-input,
body.mfx-billing-active #main .form-select {
  border-radius: 8px !important;
  border: 1.5px solid #e0e0e0 !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  background: #fafafa !important;
  width: 100% !important;
  transition: border-color .2s, box-shadow .2s !important;
}
body.mfx-billing-active #main .form-input:focus,
body.mfx-billing-active #main .form-select:focus {
  border-color: #E84E1B !important;
  box-shadow: 0 0 0 3px rgba(232,78,27,.1) !important;
  background: #fff !important;
  outline: none !important;
}

/* ── SELECT FELDER: sichtbarer Dropdown-Pfeil ─────────────── */
body.mfx-billing-active #main .form-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E84E1B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
  padding-right: 36px !important;
  cursor: pointer !important;
}
body.mfx-billing-active #main .form-select:focus {
  border-color: #E84E1B !important;
  box-shadow: 0 0 0 3px rgba(232,78,27,.1) !important;
  outline: none !important;
}
body.mfx-billing-active #main .sm\:flex {
  display: flex !important;
  gap: 10px !important;
}
body.mfx-billing-active #main .sm\:flex select {
  flex: 1 !important;
  width: auto !important;
  margin: 0 !important;
}

/* Fix 2: FAX AUSBLENDEN ──────────────────────────────────── */
body.mfx-billing-active .mfx-fax-row {
  display: none !important;
}

/* ── E-MAIL RECHTSTEXT ────────────────────────────────────── */
body.mfx-billing-active #billing_address_email ~ p {
  font-size: 11px !important;
  color: #aaa !important;
  line-height: 1.5 !important;
  margin-top: 6px !important;
}

/* Fix 3: RADIO BUTTONS – komplett custom, kein grün ──────── */
body.mfx-billing-active input[type="radio"],
body.mfx-billing-active .form-radio {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 2px solid #d0d0d0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .2s !important;
  margin-top: 2px !important;
}
body.mfx-billing-active input[type="radio"]:checked,
body.mfx-billing-active .form-radio:checked {
  border-color: #E84E1B !important;
  background: #E84E1B !important;
  box-shadow: inset 0 0 0 3px #fff !important;
  outline: none !important;
}
body.mfx-billing-active input[type="radio"]:focus,
body.mfx-billing-active input[type="radio"]:focus-visible,
body.mfx-billing-active .form-radio:focus,
body.mfx-billing-active .form-radio:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
body.mfx-billing-active input[type="radio"]:checked:focus {
  border-color: #E84E1B !important;
  box-shadow: inset 0 0 0 3px #fff !important;
}

/* ── PASSWORT TOGGLE (Registrierung) ──────────────────────── */
body.mfx-billing-active .flex.flex-grow {
  display: flex !important;
  align-items: stretch !important;
}
body.mfx-billing-active .flex.flex-grow input[type="password"],
body.mfx-billing-active .flex.flex-grow input[type="text"] {
  border-radius: 8px 0 0 8px !important;
  border-right: none !important;
  flex: 1 !important;
}
body.mfx-billing-active .flex.flex-grow > div.btn {
  border-radius: 0 8px 8px 0 !important;
  background: #fafafa !important;
  border: 1.5px solid #e0e0e0 !important;
  border-left: none !important;
  color: #999 !important;
  width: 44px !important;
  min-width: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color .2s !important;
  cursor: pointer !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body.mfx-billing-active .flex.flex-grow > div.btn:hover {
  background: #f5f5f5 !important;
  color: #E84E1B !important;
}
body.mfx-billing-active .flex.flex-grow > div.btn svg,
body.mfx-billing-active .flex.flex-grow > div.btn path {
  width: 18px !important;
  height: 18px !important;
}

/* ── Fix 4: BUTTON-ZEILE – Mobile-freundlich ─────────────── */
body.mfx-billing-active .flex.justify-between.items-center.mt-5 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 28px !important;
}

/* Weiter Button */
body.mfx-billing-active .btn-primary[name="billing_address_submit"] {
  background: #E84E1B !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(232,78,27,.3) !important;
  transition: background .2s, transform .1s, box-shadow .2s !important;
  flex: 1 !important;
}
body.mfx-billing-active .btn-primary[name="billing_address_submit"]:hover {
  background: #c73f14 !important;
  box-shadow: 0 6px 20px rgba(232,78,27,.4) !important;
  transform: translateY(-1px) !important;
}

/* Zurück Button */
body.mfx-billing-active .btn-outline[href="/checkout/start"],
body.mfx-billing-active a.btn.btn-outline {
  border-radius: 8px !important;
  color: #666 !important;
  border: 1.5px solid #ddd !important;
  background: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 14px 24px !important;
  text-decoration: none !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  transition: border-color .2s, color .2s !important;
}
body.mfx-billing-active .btn-outline[href="/checkout/start"]:hover,
body.mfx-billing-active a.btn.btn-outline:hover {
  border-color: #bbb !important;
  color: #333 !important;
}

@media (max-width: 480px) {
  body.mfx-billing-active .flex.justify-between.items-center.mt-5 {
    flex-direction: column-reverse !important;
  }
  body.mfx-billing-active .btn-primary[name="billing_address_submit"],
  body.mfx-billing-active a.btn.btn-outline {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ── DATENSCHUTZ + PFLICHTFELD ────────────────────────────── */
body.mfx-billing-active .w-4\/5 p {
  font-size: 12px !important;
  color: #888 !important;
}
body.mfx-billing-active .mt-10.text-xs {
  color: #aaa !important;
  font-size: 11px !important;
}

/* ============================================================
   MEDIFUX – Checkout Zahlungsarten – Custom CSS
   /checkout/payment — body.mfx-payment-active
   ============================================================ */

/* ── PROGRESS BAR ─────────────────────────────────────────── */
body.mfx-payment-active .mfx-progress-wrap {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 0 14px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
body.mfx-payment-active .mfx-progress-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}
body.mfx-payment-active .mfx-steps {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.mfx-payment-active .mfx-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
body.mfx-payment-active .mfx-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #999;
  position: relative;
  z-index: 2;
}
body.mfx-payment-active .mfx-step.done .mfx-step-circle {
  border-color: #E84E1B;
  background: #E84E1B;
  color: #fff;
  font-size: 16px;
}
body.mfx-payment-active .mfx-step.active .mfx-step-circle {
  border-color: #E84E1B;
  background: #fff;
  color: #E84E1B;
  box-shadow: 0 0 0 4px rgba(232,78,27,.12);
}
body.mfx-payment-active .mfx-step-label {
  font-size: 13px;
  color: #1a1a1a;
  margin-top: 6px;
  font-weight: 500;
  white-space: nowrap;
}
body.mfx-payment-active .mfx-step.done .mfx-step-label {
  color: #E84E1B;
  font-weight: 600;
}
body.mfx-payment-active .mfx-step.active .mfx-step-label {
  color: #E84E1B;
  font-weight: 700;
}
body.mfx-payment-active .mfx-step.inactive .mfx-step-label {
  color: #999;
}

/* ── PROGRESS LINES ───────────────────────────────────────── */
body.mfx-payment-active .mfx-step-line {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  margin-top: -22px;
  z-index: 1;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
body.mfx-payment-active .mfx-step-line.full::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #E84E1B 0%, #ff7043 100%);
  border-radius: 2px;
  animation: mfx-fill-full 0.6s ease-out 0.2s forwards;
}
body.mfx-payment-active .mfx-step-line.half::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #E84E1B 0%, #ff7043 100%);
  border-radius: 2px;
  animation: mfx-fill-half 0.8s ease-out 0.5s forwards;
}
@keyframes mfx-fill-full {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes mfx-fill-half {
  from { width: 0; }
  to   { width: 50%; }
}

/* ── OUTER + TITEL ────────────────────────────────────────── */
body.mfx-payment-active .mfx-payment-outer {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 20px 48px;
}
body.mfx-payment-active .mfx-payment-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin-bottom: 4px !important;
  letter-spacing: -.3px;
}
body.mfx-payment-active .mfx-payment-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

/* ── DHL BANNER ───────────────────────────────────────────── */
body.mfx-payment-active .mfx-dhl-banner {
  background: linear-gradient(135deg, #f8fffe 0%, #f0fff8 100%);
  border: 1px solid #c8ead8;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #2d6a4a;
  font-weight: 500;
  line-height: 1.5;
}
body.mfx-payment-active .mfx-dhl-banner svg {
  flex-shrink: 0;
  color: #27ae60;
}

/* ── ZAHLUNGSART CARDS ────────────────────────────────────── */
body.mfx-payment-active #payment-form .flex.flex-wrap.-mx-3.mb-3 {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 0 !important;
}
body.mfx-payment-active #payment-form .w-full.border-b {
  border: 1.5px solid #ececec !important;
  border-radius: 12px !important;
  padding: 0 !important;
  transition: border-color .2s, box-shadow .2s !important;
  background: #fff !important;
  cursor: pointer !important;
  overflow: hidden !important;
}
body.mfx-payment-active #payment-form .w-full.border-b:hover {
  border-color: #f0d0c6 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.07) !important;
}
body.mfx-payment-active #payment-form .w-full.border-b:has(input:checked) {
  border-color: #E84E1B !important;
  background: #fffaf8 !important;
  box-shadow: 0 4px 16px rgba(232,78,27,.1) !important;
}
body.mfx-payment-active #payment-form .w-full.border-b > label {
  display: block !important;
  padding: 16px 20px !important;
  cursor: pointer !important;
}

/* ── RADIO BUTTONS ────────────────────────────────────────── */
body.mfx-payment-active #payment-form input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border: 2px solid #d0d0d0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .2s !important;
  flex-shrink: 0 !important;
}
body.mfx-payment-active #payment-form input[type="radio"]:checked {
  border-color: #E84E1B !important;
  background: #E84E1B !important;
  box-shadow: inset 0 0 0 4px #fff !important;
}
body.mfx-payment-active #payment-form input[type="radio"]:focus,
body.mfx-payment-active #payment-form input[type="radio"]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* ── LOGO BEREICH ─────────────────────────────────────────── */
body.mfx-payment-active #payment-form .md\:w-1\/4 {
  min-width: 90px !important;
  max-width: 110px !important;
  flex-shrink: 0 !important;
}
body.mfx-payment-active #payment-form .md\:w-1\/4 img {
  max-height: 32px !important;
  width: auto !important;
  max-width: 90px !important;
  object-fit: contain !important;
  display: block !important;
}

/* PayOne Logo spezifisch größer */
body.mfx-payment-active #payment-form img[alt="PayOne"] {
  max-height: 48px !important;
  max-width: 120px !important;
  width: auto !important;
}

/* ── TEXT: ZAHLUNGSNAME + BESCHREIBUNG ────────────────────── */
body.mfx-payment-active #payment-form .font-bold {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  padding-bottom: 4px !important;
}
body.mfx-payment-active #payment-form .p-2.text-sm {
  font-size: 13px !important;
  color: #1a1a1a !important;
  padding: 0 8px 8px !important;
  line-height: 1.6 !important;
}
body.mfx-payment-active #payment-form .p-2.text-sm p {
  color: #1a1a1a !important;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
body.mfx-payment-active .flex.justify-between.items-center.mt-5 {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 28px !important;
}
body.mfx-payment-active .btn-primary[name="payment_method_submit"] {
  background: #E84E1B !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(232,78,27,.3) !important;
  transition: background .2s, transform .1s, box-shadow .2s !important;
  flex: 1 !important;
  -webkit-text-fill-color: #fff !important;
}
body.mfx-payment-active .btn-primary[name="payment_method_submit"]:hover {
  background: #c73f14 !important;
  box-shadow: 0 6px 20px rgba(232,78,27,.4) !important;
  transform: translateY(-1px) !important;
}
body.mfx-payment-active a.btn.btn-outline[href="/checkout/billing-address.html"] {
  border-radius: 8px !important;
  color: #666 !important;
  border: 1.5px solid #ddd !important;
  background: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 14px 24px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  transition: border-color .2s, color .2s !important;
}
body.mfx-payment-active a.btn.btn-outline[href="/checkout/billing-address.html"]:hover {
  border-color: #bbb !important;
  color: #333 !important;
}

@media (max-width: 480px) {
  body.mfx-payment-active .flex.justify-between.items-center.mt-5 {
    flex-direction: column-reverse !important;
  }
  body.mfx-payment-active .btn-primary[name="payment_method_submit"],
  body.mfx-payment-active a.btn.btn-outline {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ============================================================
   MEDIFUX – Checkout Bestellübersicht – Custom CSS
   /checkout/order — body.mfx-order-active
   Exakt Warenkorb-CI: gleiche Variablen, gleiche Cards
   ============================================================ */

/* ── CSS-VARIABLEN (identisch mit Warenkorb) ──────────────── */
body.mfx-order-active {
  --mfx-primary:        #e8461a;
  --mfx-primary-dark:   #c33800;
  --mfx-primary-light:  #f5c4b3;
  --mfx-primary-bg:     #fdf2ee;
  --mfx-success:        #0f6e56;
  --mfx-success-bg:     #e1f5ee;
  --mfx-text:           #1a1a1a;
  --mfx-text-muted:     #6b6b6b;
  --mfx-border:         #e5e0db;
  --mfx-card-bg:        #ffffff;
  --mfx-card-shadow:    0 2px 12px rgba(232,70,26,0.07), 0 1px 3px rgba(0,0,0,0.05);
  --mfx-radius:         12px;
  --mfx-radius-sm:      8px;
  --mfx-transition:     0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── PROGRESS BAR ─────────────────────────────────────────── */
body.mfx-order-active .mfx-progress-wrap {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 0 14px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
body.mfx-order-active .mfx-progress-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}
body.mfx-order-active .mfx-steps {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.mfx-order-active .mfx-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
body.mfx-order-active .mfx-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #999;
  position: relative;
  z-index: 2;
}
body.mfx-order-active .mfx-step.done .mfx-step-circle {
  border-color: var(--mfx-primary);
  background: var(--mfx-primary);
  color: #fff;
  font-size: 16px;
}
body.mfx-order-active .mfx-step.active .mfx-step-circle {
  border-color: var(--mfx-primary);
  background: #fff;
  color: var(--mfx-primary);
  box-shadow: 0 0 0 4px rgba(232,70,26,.12);
}
body.mfx-order-active .mfx-step-label {
  font-size: 11px;
  color: var(--mfx-text);
  margin-top: 6px;
  font-weight: 500;
  white-space: nowrap;
}
body.mfx-order-active .mfx-step.done .mfx-step-label {
  color: var(--mfx-primary);
  font-weight: 600;
}
body.mfx-order-active .mfx-step.active .mfx-step-label {
  color: var(--mfx-primary);
  font-weight: 700;
}
body.mfx-order-active .mfx-step-line {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  margin-top: -22px;
  z-index: 1;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
body.mfx-order-active .mfx-step-line.full::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--mfx-primary), #f5a623);
  border-radius: 2px;
  animation: mfx-order-fill 0.5s ease-out forwards;
}
body.mfx-order-active .mfx-step-line.full-2::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--mfx-primary), #f5a623);
  border-radius: 2px;
  animation: mfx-order-fill 0.5s ease-out 0.3s forwards;
}
@keyframes mfx-order-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── OUTER WRAPPER ────────────────────────────────────────── */
body.mfx-order-active .mfx-order-outer {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
body.mfx-order-active .mfx-order-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--mfx-text) !important;
  margin-bottom: 4px !important;
}
body.mfx-order-active .mfx-order-subtitle {
  font-size: 13px;
  color: var(--mfx-text-muted);
  margin-bottom: 20px;
}

/* ── BESTELLANGABEN-SECTION LABEL ─────────────────────────── */
body.mfx-order-active #order_overview_form h2.hl-2 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--mfx-text) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
}

/* ── PANELS: Exakt Warenkorb-Card-Style ───────────────────── */
body.mfx-order-active .panel {
  background: var(--mfx-card-bg) !important;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius) !important;
  box-shadow: var(--mfx-card-shadow) !important;
  overflow: hidden !important;
  transition: border-color var(--mfx-transition), box-shadow var(--mfx-transition) !important;
}
body.mfx-order-active .panel:hover {
  border-color: var(--mfx-primary-light) !important;
  box-shadow: 0 4px 20px rgba(232,70,26,.10) !important;
}
body.mfx-order-active .panel__head {
  background: #fafaf9 !important;
  border-bottom: 1px solid var(--mfx-border) !important;
  padding: 10px 14px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--mfx-text-muted) !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
}
body.mfx-order-active .panel__head a {
  margin-left: auto !important;
  color: var(--mfx-primary) !important;
}
body.mfx-order-active .panel__head a svg {
  width: 16px !important;
  height: 16px !important;
  color: var(--mfx-primary) !important;
}
body.mfx-order-active .panel__body {
  padding: 14px !important;
  font-size: 13px !important;
  color: var(--mfx-text) !important;
  line-height: 1.7 !important;
}
body.mfx-order-active .panel__body li,
body.mfx-order-active .panel__body p,
body.mfx-order-active .panel__body span {
  color: var(--mfx-text) !important;
  font-size: 13px !important;
}

/* Panel-Grid mobile-first */
body.mfx-order-active .flex.flex-wrap.-mx-2\.5.mb-3\.5 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
}
@media (min-width: 640px) {
  body.mfx-order-active .flex.flex-wrap.-mx-2\.5.mb-3\.5 {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (min-width: 860px) {
  body.mfx-order-active .flex.flex-wrap.-mx-2\.5.mb-3\.5 {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}
body.mfx-order-active .flex.flex-wrap.-mx-2\.5.mb-3\.5 > div {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ── PRODUKTLISTE: Warenkorb-Produkt-Card-Style ───────────── */
body.mfx-order-active .product-grid--checkout {
  margin-bottom: 16px !important;
}
body.mfx-order-active .product-grid--checkout .product-box-wrapper {
  background: var(--mfx-card-bg) !important;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius) !important;
  padding: 16px !important;
  margin-bottom: 10px !important;
  box-shadow: var(--mfx-card-shadow) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: border-color var(--mfx-transition), box-shadow var(--mfx-transition) !important;
}
body.mfx-order-active .product-grid--checkout .product-box-wrapper::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--mfx-primary);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity var(--mfx-transition);
}
body.mfx-order-active .product-grid--checkout .product-box-wrapper:hover {
  border-color: var(--mfx-primary-light) !important;
  box-shadow: 0 4px 20px rgba(232,70,26,.10) !important;
}
body.mfx-order-active .product-grid--checkout .product-box-wrapper:hover::before {
  opacity: 1;
}
body.mfx-order-active .product-box__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--mfx-text) !important;
  line-height: 1.35 !important;
}
body.mfx-order-active .product-box__meta li {
  font-size: 12px !important;
  color: var(--mfx-text) !important;
}
/* Spalten-Labels */
body.mfx-order-active .product-box-wrapper p.mb-1\.5 {
  font-size: 11px !important;
  color: var(--mfx-text-muted) !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: .4px !important;
  margin-bottom: 2px !important;
}
/* Gesamtpreis orange + groß */
body.mfx-order-active .product-box-wrapper .text-primary.font-bold {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--mfx-primary) !important;
}

/* ── AGB-BEREICH: Warenkorb-Card-Style + grüner Border ───── */
body.mfx-order-active .flex.flex-wrap.mb-7.bg-grey-lighter {
  background: var(--mfx-card-bg) !important;
  border: 2px solid var(--mfx-success) !important;
  border-radius: var(--mfx-radius) !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  box-shadow: var(--mfx-card-shadow) !important;
}
body.mfx-order-active #order_gtc_revocation {
  accent-color: var(--mfx-success) !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}
body.mfx-order-active #order_gtc_revocation + label {
  font-size: 13px !important;
  color: var(--mfx-text) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}
body.mfx-order-active #order_gtc_revocation + label a {
  color: var(--mfx-primary) !important;
}
body.mfx-order-active #order_email_parcel_service + label {
  font-size: 13px !important;
  color: var(--mfx-text-muted) !important;
}
body.mfx-order-active .flex.flex-wrap.items-center.mb-2\.5 p {
  font-size: 11px !important;
  color: var(--mfx-text-muted) !important;
}
/* Textarea */
body.mfx-order-active textarea.form-textarea {
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius-sm) !important;
  font-size: 13px !important;
  padding: 10px 12px !important;
  width: 100% !important;
  resize: vertical !important;
  transition: border-color var(--mfx-transition) !important;
}
body.mfx-order-active textarea.form-textarea:focus {
  border-color: var(--mfx-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(232,70,26,.10) !important;
}

/* ── GUTSCHEIN: Exakt Warenkorb-Toggle-Style ──────────────── */
body.mfx-order-active .mfx-order-coupon-wrap {
  background: var(--mfx-card-bg);
  border: 1.5px solid var(--mfx-border);
  border-radius: var(--mfx-radius);
  box-shadow: var(--mfx-card-shadow);
  overflow: hidden;
  margin-bottom: 0;
}
body.mfx-order-active .mfx-order-coupon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  cursor: pointer;
  user-select: none;
  transition: background var(--mfx-transition);
}
body.mfx-order-active .mfx-order-coupon-toggle:hover {
  background: var(--mfx-primary-bg);
}
body.mfx-order-active .mfx-order-coupon-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mfx-text);
}
body.mfx-order-active .mfx-order-coupon-label svg {
  color: var(--mfx-primary);
}
body.mfx-order-active .mfx-order-coupon-arrow {
  color: var(--mfx-primary);
  transition: transform var(--mfx-transition);
}
body.mfx-order-active .mfx-order-coupon-arrow.open {
  transform: rotate(180deg);
}
body.mfx-order-active .mfx-order-coupon-body {
  display: none;
  padding: 0 18px 16px;
}
body.mfx-order-active .mfx-order-coupon-body.open {
  display: block;
  animation: mfx-order-slide 0.22s ease;
}
@keyframes mfx-order-slide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.mfx-order-active .mfx-order-coupon-body .flex {
  display: flex !important;
  gap: 8px !important;
}
body.mfx-order-active .mfx-order-coupon-body input[type="text"] {
  flex: 1 !important;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius-sm) !important;
  font-size: 14px !important;
  padding: 9px 13px !important;
  min-width: 0 !important;
}
body.mfx-order-active .mfx-order-coupon-body input[type="text"]:focus {
  border-color: var(--mfx-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(232,70,26,.10) !important;
}
body.mfx-order-active .mfx-order-coupon-body .btn-primary {
  background: var(--mfx-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--mfx-radius-sm) !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* ── PREISTABELLE: Exakt Warenkorb-Style ──────────────────── */
body.mfx-order-active .mfx-order-price-card {
  background: var(--mfx-card-bg);
  border: 1.5px solid var(--mfx-border);
  border-radius: var(--mfx-radius);
  box-shadow: var(--mfx-card-shadow);
  overflow: hidden;
}
body.mfx-order-active table.max-w-full {
  background: var(--mfx-card-bg) !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  border-collapse: collapse !important;
}
body.mfx-order-active table.max-w-full tr td {
  padding: 8px 16px !important;
  font-size: 14px !important;
  color: var(--mfx-text-muted) !important;
  border: none !important;
  vertical-align: middle !important;
}
body.mfx-order-active table.max-w-full tr td.font-bold {
  font-weight: 500 !important;
  color: var(--mfx-text) !important;
  text-align: right !important;
}
body.mfx-order-active table.max-w-full tr td:first-child {
  text-align: right !important;
}
body.mfx-order-active table.max-w-full tr:nth-child(2) td {
  font-size: 12px !important;
  padding-bottom: 10px !important;
}
body.mfx-order-active table.max-w-full tr:last-child td {
  border-top: 1.5px solid var(--mfx-border) !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  font-size: 15px !important;
  color: var(--mfx-text) !important;
}
body.mfx-order-active table.max-w-full tr:last-child td.font-bold {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--mfx-primary) !important;
}
body.mfx-order-active .text-xs.text-right {
  font-size: 11px !important;
  color: var(--mfx-text-muted) !important;
  padding: 4px 16px 8px !important;
  display: block !important;
}

/* ── SUMMARIE + GUTSCHEIN ROW ─────────────────────────────── */
body.mfx-order-active .flex.flex-wrap.mb-3\.5 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  align-items: flex-start !important;
}
body.mfx-order-active .flex.flex-wrap.mb-3\.5 > div {
  padding: 0 !important;
  margin: 0 !important;
}
/* Gutschein-Card: nur so breit wie nötig, max 300px */
body.mfx-order-active .flex.flex-wrap.mb-3\.5 > div:has(.mfx-order-coupon-wrap),
body.mfx-order-active .flex.flex-wrap.mb-3\.5 > div:first-child {
  width: auto !important;
  min-width: 240px !important;
  max-width: 300px !important;
  flex: 0 1 auto !important;
}
/* Preistabelle: nimmt den Rest */
body.mfx-order-active .flex.flex-wrap.mb-3\.5 > div:last-child {
  flex: 1 !important;
  min-width: 280px !important;
}
@media (max-width: 600px) {
  body.mfx-order-active .flex.flex-wrap.mb-3\.5 > div:has(.mfx-order-coupon-wrap),
  body.mfx-order-active .flex.flex-wrap.mb-3\.5 > div:first-child,
  body.mfx-order-active .flex.flex-wrap.mb-3\.5 > div:last-child {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
}

/* ── BESTELL-BUTTON CONTAINER: nur CTA ───────────────────── */
body.mfx-order-active .md\:flex.justify-between.items-center.mt-5 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  background: var(--mfx-card-bg) !important;
  border: 1.5px solid var(--mfx-border) !important;
  border-radius: var(--mfx-radius) !important;
  padding: 20px !important;
  margin-top: 20px !important;
  box-shadow: var(--mfx-card-shadow) !important;
}
/* Zurück Button im CTA-Container komplett ausblenden */
body.mfx-order-active .md\:flex.justify-between.items-center.mt-5 a.btn.btn-outline {
  display: none !important;
}
/* PayPal/CTA Container volle Breite */
body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Zurück-Link oben: dezentes Pill, unter Panels */
body.mfx-order-active .mfx-back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mfx-text-muted);
  text-decoration: none;
  padding: 7px 14px;
  border: 1.5px solid var(--mfx-border);
  border-radius: 20px;
  background: #fafaf9;
  margin-bottom: 16px;
  transition: border-color var(--mfx-transition), color var(--mfx-transition);
}
body.mfx-order-active .mfx-back-top:hover {
  border-color: var(--mfx-primary-light);
  color: var(--mfx-primary);
}

@media (max-width: 480px) {
  body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end .btn-primary,
  body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end button[type="submit"] {
    width: 100% !important;
    min-width: unset !important;
  }
}

/* Lieferzeit-Badge: grün wie Warenkorb */
body.mfx-order-active [data-deliverytime] span span,
body.mfx-order-active [data-deliverytime] span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: var(--mfx-success-bg) !important;
  color: var(--mfx-success) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
}

/* ── BESTELL-BUTTON: gleicher Style wie andere CTAs ───────── */
body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end .btn-primary,
body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end button[type="submit"],
body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end input[type="submit"] {
  background: var(--mfx-primary) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: none !important;
  border-radius: var(--mfx-radius-sm) !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(232,70,26,.3) !important;
  transition: background var(--mfx-transition), transform 0.1s, box-shadow var(--mfx-transition) !important;
  min-width: 200px !important;
}
body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end .btn-primary:hover,
body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end button[type="submit"]:hover {
  background: var(--mfx-primary-dark) !important;
  box-shadow: 0 6px 20px rgba(232,70,26,.4) !important;
  transform: translateY(-1px) !important;
}
body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end .btn-primary:active,
body.mfx-order-active .w-full.md\:w-1\/2.flex.justify-end button[type="submit"]:active {
  transform: translateY(0) !important;
}

/* ── TEXTAREA LABEL ───────────────────────────────────────── */
body.mfx-order-active .mfx-textarea-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mfx-text);
  margin-bottom: 8px;
  display: block;
}

/* ── AGB Hinweistext: direkt unter AGB-Label, Abstand nach unten ── */
body.mfx-order-active .mfx-agb-hint {
  font-size: 11px;
  color: var(--mfx-text-muted);
  margin-top: 4px;
  margin-bottom: 12px;
  padding-left: 28px;
  display: block;
}
body.mfx-order-active .mfx-agb-hint::first-letter {
  color: var(--mfx-primary);
  font-weight: 700;
  font-size: 14px;
}
body.mfx-order-active .panel__head a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
  color: var(--mfx-primary) !important;
  text-decoration: none !important;
  padding: 3px 8px !important;
  border-radius: 20px !important;
  transition: background var(--mfx-transition), color var(--mfx-transition) !important;
  white-space: nowrap !important;
}
body.mfx-order-active .panel__head a:hover {
  background: var(--mfx-primary-bg) !important;
  color: var(--mfx-primary-dark) !important;
}
body.mfx-order-active .panel__head a .mfx-edit-label {
  font-size: 11px;
  font-weight: 600;
}

/* ── AGB CHECKBOX BEREICH ─────────────────────────────────── */
body.mfx-order-active #order_gtc_revocation {
  accent-color: var(--mfx-success) !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}
/* AGB Hinweistext */
body.mfx-order-active .mfx-agb-hint {
  font-size: 11px;
  color: var(--mfx-text-muted);
  margin-top: 4px;
  padding-left: 28px;
  display: block;
}

/* ── SSL TRUST UNTER BESTELL-BUTTON ───────────────────────── */
body.mfx-order-active .mfx-ssl-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--mfx-success);
  font-weight: 600;
  margin-top: 10px;
  width: 100%;
}
body.mfx-order-active .mfx-ssl-trust svg {
  flex-shrink: 0;
  color: var(--mfx-success);
}

/* Animationen */
@keyframes mfxFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.mfx-order-active .product-box-wrapper {
  animation: mfxFadeIn 0.3s ease both;
}

/* ============================================================
   MEDIFUX – custom.css v3.0
   Scope: #app header  →  greift NUR auf den Header
   ============================================================ */

/* ----------------------------------------------------------
   TOKENS
   ---------------------------------------------------------- */
#app header {
  --mfx-p:        #e8461a;
  --mfx-pd:       #c93b14;
  --mfx-pl:       #fdeee9;
  --mfx-pxl:      #fff7f5;
  --mfx-text:     #1a1a1a;
  --mfx-mid:      #555;
  --mfx-light:    #999;
  --mfx-border:   #e8e0d6;
  --mfx-bg:       #ffffff;
  --mfx-bgs:      #f7f4f0;
  --mfx-radius:   10px;
  --mfx-pill:     999px;
  --mfx-trans:    0.16s ease;
  --mfx-shadow:   0 8px 32px rgba(0,0,0,0.12);
}

#app header {
  background: var(--mfx-bg);
  border-bottom: 1px solid var(--mfx-border);
  position: sticky;
  top: 0;
  z-index: 400;
  transition: box-shadow var(--mfx-trans);
  font-family: 'Lato', sans-serif;
}

#app header.mfx-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

#app header .mfx-topbar,
#app header .mfx-trustbar {
  display: none !important;
}

#app header .container {
  max-width: 1380px;
  margin: 0 auto;
}

#app header .mfx-cat-chips {
  position: relative;
  z-index: 1;
  display: none !important;
}

#app header .py-1\.5,
#app header .sm\:pb-2\.5,
#app header .md\:py-3\.5 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#app header .flex.flex-wrap.justify-between.items-center {
  height: 106px !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  padding-top: 20px !important;
  box-sizing: border-box !important;
}

#app header .h-12,
#app header .md\:h-\[116px\] {
  height: 106px !important;
  width: auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

#app header .h-12 a,
#app header figure {
  height: 86px !important;
  display: flex !important;
  align-items: center !important;
}

#app header figure img {
  height: 78px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

#app header .md\:hidden.ml-auto,
#app header .bg-grey-lightest {
  display: none !important;
}

#app header .w-full.md\:w-2\/3 {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  gap: 12px !important;
  margin: 0 0 0 20px !important;
  padding: 0 !important;
  min-width: 0 !important;
  justify-content: center !important;
}

#app header .flex.md\:flex-nowrap.flex-wrap.md\:justify-end {
  display: none !important;
}

/* E-Rezept Button */
#app header .mfx-rx-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: var(--mfx-p) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--mfx-pill) !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: background var(--mfx-trans) !important;
  font-family: 'Lato', sans-serif !important;
  margin-left: 10px !important;
}

#app header .mfx-rx-cta:hover {
  background: var(--mfx-pd) !important;
}

#app header .mfx-rx-cta svg {
  width: 15px !important;
  height: 15px !important;
  stroke: #fff !important;
  fill: none !important;
  stroke-width: 2 !important;
  flex-shrink: 0 !important;
}

/* Tel */
#app header .mfx-nav-tel {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-left: auto !important;
  padding: 0 16px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--mfx-mid) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  height: 42px !important;
  border-left: 1px solid var(--mfx-border) !important;
  transition: color var(--mfx-trans) !important;
}

#app header .mfx-nav-tel:hover { color: var(--mfx-p) !important; }

#app header .mfx-nav-tel svg {
  width: 13px !important;
  height: 13px !important;
  stroke: currentColor !important;
  fill: none !important;
  flex-shrink: 0 !important;
}

/* ----------------------------------------------------------
   SUCHFELD – kantig (kein border-radius)
   ---------------------------------------------------------- */
#app header .flex.items-center.-mx-2\.5 {
  flex: 1 !important;
  margin: 0 !important;
  min-width: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

#app header .px-2\.5.w-full {
  padding: 0 !important;
  width: 100% !important;
  max-width: 520px !important;
  flex-shrink: 1 !important;
}

#app header .flex.-mx-2\.5.px-2\.5.md\:hidden {
  display: none !important;
}

/* Outer wrapper – kantig */
#app header .flex.w-full.bg-white.border.border-grey,
#app header .w-full.bg-white.border.border-grey.md\:w-auto,
#app header .w-full.bg-white.border.border-grey {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: 0 0 0 1.5px #c8c0b8 !important;
  width: 100% !important;
  border-radius: 6px !important;
  overflow: visible !important;
  transition: box-shadow 0.16s ease !important;
  position: relative !important;
}

#app header .flex.w-full.bg-white.border.border-grey:focus-within,
#app header .w-full.bg-white.border.border-grey.md\:w-auto:focus-within {
  box-shadow: 0 0 0 2px var(--mfx-p), 0 0 0 5px rgba(232,70,26,0.13) !important;
}

/* Speedfinder-Bundle – kantig */
#app header .speedfinder-search-bundle {
  width: 100% !important;
  font-family: 'Lato', sans-serif !important;
  border: none !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  display: block !important;
  overflow: hidden !important;
}

#app header .speedfinder-search-bundle *,
#app header .speedfinder-search-bundle input,
#app header .speedfinder-search-bundle input:focus,
#app header .speedfinder-search-bundle input:active,
#app header [id^="speedfinder-bundle__search__input"],
#app header [id^="speedfinder-bundle__search__input"] * {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Submit-Button – nur rechts leicht abgerundet */
#app header .speedfinder-search-bundle button[type="submit"],
#app header .speedfinder-search-bundle button.speedfinder-bundle__search__button {
  background: var(--mfx-p) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 7px 18px !important;
  margin: 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background var(--mfx-trans) !important;
  white-space: nowrap !important;
  font-family: 'Lato', sans-serif !important;
}

#app header .speedfinder-search-bundle button[type="submit"]:hover,
#app header .speedfinder-search-bundle button.speedfinder-bundle__search__button:hover {
  background: var(--mfx-pd) !important;
}

#app header .speedfinder-search-bundle input[type="text"],
#app header .speedfinder-search-bundle input[type="search"],
#app header .speedfinder-search-bundle input {
  font-family: 'Lato', sans-serif !important;
  font-size: 14px !important;
  color: var(--mfx-text) !important;
  background: transparent !important;
}

/* ----------------------------------------------------------
   ICON-BUTTONS
   ---------------------------------------------------------- */
#app header .mfx-icon-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  padding: 6px 12px !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  min-width: 56px !important;
  color: var(--mfx-mid) !important;
  background: transparent !important;
  cursor: pointer !important;
  position: relative !important;
  border-bottom: 2px solid transparent !important;
  transition: border-color var(--mfx-trans), color var(--mfx-trans) !important;
}

#app header .mfx-icon-btn:hover {
  background: transparent !important;
  border-bottom-color: var(--mfx-p) !important;
  color: var(--mfx-p) !important;
}

#app header .mfx-icon-ring {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 1.5px solid var(--mfx-border) !important;
  background: var(--mfx-bg) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: border-color var(--mfx-trans), background var(--mfx-trans) !important;
  flex-shrink: 0 !important;
}

#app header .mfx-icon-btn:hover .mfx-icon-ring {
  border-color: var(--mfx-p) !important;
  background: var(--mfx-pl) !important;
}

#app header .mfx-icon-ring svg {
  width: 17px !important;
  height: 17px !important;
  stroke: var(--mfx-mid) !important;
  fill: none !important;
  stroke-width: 1.8 !important;
  transition: stroke var(--mfx-trans) !important;
}

#app header .mfx-icon-btn:hover .mfx-icon-ring svg {
  stroke: var(--mfx-p) !important;
}

#app header .mfx-icon-label {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: var(--mfx-mid) !important;
  white-space: nowrap !important;
  transition: color var(--mfx-trans) !important;
  font-family: 'Lato', sans-serif !important;
}

#app header .mfx-icon-btn:hover .mfx-icon-label {
  color: var(--mfx-p) !important;
}

#app header .mfx-icon-btn-cart .mfx-icon-ring {
  background: var(--mfx-bg) !important;
  border-color: var(--mfx-border) !important;
  transition: border-color var(--mfx-trans), background var(--mfx-trans) !important;
}

#app header .mfx-icon-btn-cart .mfx-icon-ring svg {
  stroke: var(--mfx-mid) !important;
  transition: stroke var(--mfx-trans) !important;
}

#app header .mfx-icon-btn-cart .mfx-icon-label {
  color: var(--mfx-mid) !important;
  font-weight: 500 !important;
}

#app header .mfx-icon-btn-cart:hover {
  border-bottom-color: var(--mfx-p) !important;
}

#app header .mfx-icon-btn-cart:hover .mfx-icon-ring {
  border-color: var(--mfx-p) !important;
  background: var(--mfx-pl) !important;
}

#app header .mfx-icon-btn-cart:hover .mfx-icon-ring svg {
  stroke: var(--mfx-p) !important;
}

#app header .mfx-icon-btn-cart:hover .mfx-icon-label {
  color: var(--mfx-p) !important;
}

#app header .bg-red {
  background: var(--mfx-p) !important;
  color: #fff !important;
  border: 1.5px solid #fff !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  min-width: 16px !important;
  height: 16px !important;
  padding: 0 3px !important;
  border-radius: 99px !important;
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#app header .mfx-icon-divider {
  width: 1px !important;
  height: 28px !important;
  background: var(--mfx-border) !important;
  margin: 0 2px !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}

#app header .text-primary-light {
  color: var(--mfx-mid) !important;
}

#app header .mfx-icon-row {
  display: flex !important;
  align-items: center !important;
  height: 106px !important;
  gap: 0 !important;
  flex-shrink: 0 !important;
  margin-left: 4px !important;
}

/* ----------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------- */
#app header .hidden.md\:block {
  margin-top: 0 !important;
}

#app header [data-identifier="header-menu-shop-button"] {
  background: var(--mfx-p) !important;
  border-radius: 7px 7px 0 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 7px 14px !important;
  gap: 5px !important;
  transition: background var(--mfx-trans) !important;
}

#app header [data-identifier="header-menu-shop-button"]:hover {
  background: var(--mfx-pd) !important;
}

#app header [data-identifier="header-menu-pharmacy-button"] {
  background: #3a3a3a !important;
  border-radius: 7px 7px 0 0 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  padding: 7px 14px !important;
  gap: 5px !important;
  transition: background var(--mfx-trans) !important;
}

#app header [data-identifier="header-menu-pharmacy-button"]:hover {
  background: #222 !important;
}

#app header .navigation-main {
  background: transparent !important;
  border-top: 1px solid var(--mfx-border) !important;
  display: flex !important;
  align-items: stretch !important;
}

#app header .navigation-main > nav {
  display: flex !important;
  flex: 1 !important;
  align-items: stretch !important;
}

#app header .navigation-main .linklist--level-1 {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex: 1 !important;
}

#app header .navigation-main .linklist--level-1 > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 0 14px !important;
  height: 42px !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  color: var(--mfx-text) !important;
  text-decoration: none !important;
  border-bottom: 3px solid transparent !important;
  white-space: nowrap !important;
  transition: color var(--mfx-trans), border-color var(--mfx-trans) !important;
  background: transparent !important;
}

#app header .navigation-main .linklist--level-1 > li > a:hover,
#app header .navigation-main .linklist--level-1 > li.mfx-nav-open > a {
  color: var(--mfx-p) !important;
  border-bottom-color: var(--mfx-p) !important;
}

#app header .navigation-main .linklist--level-1 > li > a .has-children-icon {
  display: inline-flex !important;
  align-items: center !important;
  transition: transform var(--mfx-trans) !important;
}

#app header .navigation-main .linklist--level-1 > li > a .has-children-icon svg {
  width: 13px !important;
  height: 13px !important;
  stroke: currentColor !important;
  fill: none !important;
  transition: transform var(--mfx-trans) !important;
  transform: rotate(90deg) !important;
}

#app header .navigation-main .linklist--level-1 > li.mfx-nav-open > a .has-children-icon svg,
#app header .navigation-main .linklist--level-1 > li:hover > a .has-children-icon svg {
  transform: rotate(270deg) !important;
}

#app header .navigation-main .linklist--level-1 > li.mfx-nav-hot > a {
  color: var(--mfx-p) !important;
}

#app header .mfx-sale-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  flex-shrink: 0;
  color: var(--mfx-p);
  transition: transform var(--mfx-trans), color var(--mfx-trans);
  animation: mfxPulse 2.8s ease-in-out infinite;
}

#app header .mfx-sale-icon svg {
  width: 16px !important;
  height: 16px !important;
  stroke: var(--mfx-p) !important;
  fill: none !important;
  stroke-width: 2 !important;
  transition: stroke var(--mfx-trans) !important;
}

#app header .navigation-main .linklist--level-1 > li.mfx-nav-hot > a:hover .mfx-sale-icon svg {
  stroke: var(--mfx-pd) !important;
}

@keyframes mfxPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}

#app header .linklist--level-2,
#app header .linklist--level-3 {
  display: none !important;
}

/* ----------------------------------------------------------
   MEGA-MENÜ
   ---------------------------------------------------------- */
#mfx-mega-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.32);
  z-index: 399;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

#mfx-mega-overlay.mfx-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

#mfx-mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--mfx-bg);
  border-top: 2px solid var(--mfx-p);
  border-bottom: 1px solid var(--mfx-border);
  box-shadow: var(--mfx-shadow);
  z-index: 900;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#mfx-mega-panel.mfx-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mfx-mega-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px 32px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 280px;
  gap: 0;
}

.mfx-mega-col { padding: 0 24px 0 0; }

.mfx-mega-col + .mfx-mega-col {
  border-left: 1px solid #f0ece6;
  padding-left: 24px;
  padding-right: 0;
}

.mfx-mega-col:last-child {
  border-left: 1px solid #f0ece6;
  padding-left: 24px;
}

.mfx-mega-heading {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: 'Lato', sans-serif;
  background: linear-gradient(90deg, #e8461a 0%, #c93b14 60%, #a83010 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #e8461a;
}

.mfx-mega-heading:empty { display: none; margin: 0; }
.mfx-mega-group { margin-bottom: 16px; }

.mfx-mega-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-size: 13px;
  color: var(--mfx-text);
  text-decoration: none;
  transition: color var(--mfx-trans);
  font-family: 'Lato', sans-serif;
}

.mfx-mega-link:hover { color: var(--mfx-p); }

.mfx-mega-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
  transition: background var(--mfx-trans);
}

.mfx-mega-link:hover .mfx-mega-dot { background: var(--mfx-p); }

.mfx-mega-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mfx-p);
  text-decoration: none;
  margin-top: 8px;
  font-family: 'Lato', sans-serif;
}

.mfx-mega-all-link:hover { color: var(--mfx-pd); }

.mfx-mega-banner-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mfx-banner-primary {
  border-radius: 12px;
  background: var(--mfx-p);
  padding: 18px 16px;
  text-decoration: none;
  display: block;
  transition: background var(--mfx-trans);
}

.mfx-banner-primary:hover { background: var(--mfx-pd); }

.mfx-banner-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 5px;
  font-family: 'Lato', sans-serif;
}

.mfx-banner-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
  font-family: 'Lato', sans-serif;
}

.mfx-banner-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,.8);
  margin-bottom: 12px;
  font-family: 'Lato', sans-serif;
}

.mfx-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: var(--mfx-p);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  font-family: 'Lato', sans-serif;
}

.mfx-banner-secondary {
  border-radius: 12px;
  background: var(--mfx-pl);
  border: 1px solid rgba(232,70,26,.18);
  padding: 14px 16px;
  text-decoration: none;
  display: block;
  transition: background var(--mfx-trans);
}

.mfx-banner-secondary:hover { background: #fbd9ce; }
.mfx-banner-secondary .mfx-banner-tag { color: var(--mfx-p); }
.mfx-banner-secondary .mfx-banner-title { color: var(--mfx-text); font-size: 13px; }
.mfx-banner-secondary .mfx-banner-sub { color: var(--mfx-light); }
.mfx-banner-secondary .mfx-banner-cta { background: var(--mfx-p); color: #fff; margin-top: 4px; }

.mfx-banner-product {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  border: 1.5px solid var(--mfx-border);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--mfx-trans), box-shadow var(--mfx-trans);
  margin-bottom: 10px;
}

.mfx-banner-product:hover {
  border-color: var(--mfx-p);
  box-shadow: 0 4px 16px rgba(232,70,26,.12);
}

.mfx-banner-product-inner { display: flex; gap: 0; }

.mfx-banner-product-img-wrap {
  width: 96px; min-width: 96px;
  background: #f8f8f6;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  border-right: 1px solid var(--mfx-border);
}

.mfx-banner-product-img { width: 80px; height: 80px; object-fit: contain; display: block; }
.mfx-banner-product-body { padding: 12px 13px; flex: 1; min-width: 0; }

.mfx-banner-product-name {
  font-size: 12.5px; font-weight: 800; color: var(--mfx-text);
  line-height: 1.3; margin-bottom: 3px; font-family: 'Lato', sans-serif;
}

.mfx-banner-product-sub {
  font-size: 10px; color: var(--mfx-light); margin-bottom: 7px; font-family: 'Lato', sans-serif;
}

.mfx-banner-product-benefits { list-style: none; padding: 0; margin: 0 0 9px 0; }

.mfx-banner-product-benefits li {
  font-size: 10.5px; color: var(--mfx-mid); font-family: 'Lato', sans-serif;
  padding-left: 12px; position: relative; line-height: 1.6;
}

.mfx-banner-product-benefits li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--mfx-p);
}

.mfx-banner-product-price {
  font-size: 15px; font-weight: 800; color: var(--mfx-p); margin-bottom: 8px; font-family: 'Lato', sans-serif;
}

.mfx-banner-cta-product {
  background: var(--mfx-p) !important; color: #fff !important;
  font-size: 10.5px !important; padding: 5px 11px !important;
}

.mfx-banner-product:hover .mfx-banner-cta-product { background: var(--mfx-pd) !important; }

/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */
@media (max-width: 767px) {

  #app header .mfx-cat-chips { display: none !important; }

  #app header .flex.flex-wrap.justify-between.items-center {
    height: auto !important;
    flex-wrap: wrap !important;
    padding: 8px 12px !important;
    gap: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  #app header .h-12,
  #app header .md\:h-\[116px\] {
    height: 44px !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  #app header .h-12.w-full,
  #app header [class*="h-12"][class*="w-full"],
  #app header .md\:w-1\/3 {
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  #app header .h-12 a,
  #app header figure { height: 44px !important; }

  #app header figure img { height: 38px !important; max-width: 120px !important; }

  #app header .md\:hidden.ml-auto {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    gap: 0 !important;
  }

  #app header .md\:hidden.ml-auto > *:not(:last-child) { display: flex !important; }

  #app header .mfx-icon-row { display: none !important; }

  #app header .w-full.md\:w-2\/3 {
    display: flex !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin: 6px 0 4px !important;
    padding: 0 !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    order: 10 !important;
  }

  #app header .w-full.md\:w-2\/3 .mfx-icon-row,
  #app header .w-full.md\:w-2\/3 .mfx-rx-cta { display: none !important; }

  #app header .flex.items-center.-mx-2\.5 {
    flex: 1 !important; margin: 0 !important; padding: 0 !important; width: 100% !important;
  }

  #app header .px-2\.5.w-full {
    max-width: 100% !important; width: 100% !important; padding: 0 !important;
  }

  #app header .flex.-mx-2\.5.px-2\.5.md\:hidden { display: none !important; }

  #app header .md\:hidden.ml-auto a.md\:flex.hidden,
  #app header .md\:hidden.ml-auto a[href*="prescription"],
  #app header .md\:hidden.ml-auto a.md\:flex { display: none !important; }

  #mfx-scan-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    border: 1.5px solid #e8461a !important;
    background: #fff !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin-left: 6px !important;
    order: 99 !important;
  }

  #mfx-scan-btn svg { width: 20px !important; height: 20px !important; stroke: #e8461a !important; }
  #mfx-scan-btn:active { background: #fdeee9 !important; }
}

/* ----------------------------------------------------------
   CHIPS
   ---------------------------------------------------------- */
#app header .mfx-cat-chip {
  display: flex; align-items: center; gap: 5px;
  background: var(--mfx-bgs); border: 1px solid var(--mfx-border);
  border-radius: var(--mfx-pill); padding: 6px 12px;
  white-space: nowrap; font-size: 12px; font-weight: 500;
  color: var(--mfx-text); text-decoration: none; flex-shrink: 0;
  transition: background var(--mfx-trans), border-color var(--mfx-trans), color var(--mfx-trans);
  font-family: 'Lato', sans-serif;
}

#app header .mfx-cat-chip:active,
#app header .mfx-cat-chip:hover {
  background: var(--mfx-pl); border-color: var(--mfx-p); color: var(--mfx-p);
}

#app header .mfx-cat-chip-rx {
  background: var(--mfx-pl); border-color: rgba(232,70,26,.3);
  color: var(--mfx-pd); font-weight: 700;
}

#app header .mfx-rx-mobile { display: none; }

@media (max-width: 767px) {
  #app header .mfx-rx-mobile {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--mfx-pl); color: var(--mfx-pd);
    border: 1px solid rgba(232,70,26,.25); border-radius: var(--mfx-pill);
    padding: 7px 11px; font-size: 12px; font-weight: 700;
    text-decoration: none; white-space: nowrap; flex-shrink: 0;
    font-family: 'Lato', sans-serif;
  }
}

/* ----------------------------------------------------------
   ACCESSIBILITY
   ---------------------------------------------------------- */
#app header a:focus-visible,
#app header button:focus-visible {
  outline: 2px solid var(--mfx-p) !important;
  outline-offset: 2px !important;
  border-radius: 4px !important;
}

@media print {
  #app header nav, #app header .mfx-cat-chips,
  #mfx-mega-panel, #mfx-mega-overlay { display: none !important; }
}

/* ----------------------------------------------------------
   OFFCANVAS
   ---------------------------------------------------------- */
#app > div.fixed.flex.w-full.h-full { z-index: 9999 !important; }
#app > div.fixed.flex.w-full.h-full > div { z-index: 9999 !important; }

/* ----------------------------------------------------------
   BARCODE SCANNER MODAL
   ---------------------------------------------------------- */
#mfx-scan-modal { display: none; position: fixed; inset: 0; z-index: 9000; }
#mfx-scan-modal.mfx-scan-open { display: block; }
#mfx-scan-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.75); }

#mfx-scan-panel {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #fff; border-radius: 20px 20px 0 0; overflow: hidden;
}

#mfx-scan-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #f0ece6;
  font-size: 16px; font-weight: 700; font-family: 'Lato', sans-serif;
}

#mfx-scan-close {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: #f0ece6; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}

#mfx-scan-close svg { width: 16px; height: 16px; stroke: #555; }

#mfx-scan-body {
  padding: 20px; display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}

#mfx-scan-viewport {
  position: relative; width: 100%; max-width: 300px;
  aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #000;
}

#mfx-scan-video { width: 100%; height: 100%; object-fit: cover; }
#mfx-scan-frame { position: absolute; inset: 24px; pointer-events: none; }

.mfx-scan-corner {
  position: absolute; width: 24px; height: 24px;
  border-color: #e8461a; border-style: solid; border-width: 0;
}

.mfx-scan-tl { top:0; left:0; border-top-width:3px; border-left-width:3px; border-top-left-radius:4px; }
.mfx-scan-tr { top:0; right:0; border-top-width:3px; border-right-width:3px; border-top-right-radius:4px; }
.mfx-scan-bl { bottom:0; left:0; border-bottom-width:3px; border-left-width:3px; border-bottom-left-radius:4px; }
.mfx-scan-br { bottom:0; right:0; border-bottom-width:3px; border-right-width:3px; border-bottom-right-radius:4px; }

#mfx-scan-line {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #e8461a, transparent);
  animation: mfxScanLine 2s ease-in-out infinite;
}

@keyframes mfxScanLine {
  0%   { top: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

#mfx-scan-hint {
  font-size: 13px; color: #888; text-align: center;
  font-family: 'Lato', sans-serif; max-width: 260px; line-height: 1.5; margin: 0;
}

#mfx-scan-result {
  display: flex; align-items: center; gap: 10px;
  background: #e1f5ee; border: 1px solid #1d9e75;
  border-radius: 10px; padding: 12px 16px; width: 100%; max-width: 300px;
}

#mfx-scan-result svg { width: 22px; height: 22px; flex-shrink: 0; }

#mfx-scan-result-text {
  font-size: 13px; font-weight: 600; color: #085041; font-family: 'Lato', sans-serif;
}

#mfx-scan-manual {
  background: transparent; border: 1.5px solid #e8e0d6; border-radius: 999px;
  padding: 10px 24px; font-size: 13px; font-weight: 600;
  color: #555; cursor: pointer; font-family: 'Lato', sans-serif; margin-bottom: 8px;
}