/* ════════════════════════════════════
   MEISTERSCHULE – SHIRTS MODUL
   Präfix: mdfs-
   ════════════════════════════════════ */

.mdfs-wrap {
  max-width: 1320px; margin: 32px auto 0; padding: 0 48px;
  position: relative; z-index: 5;
}
@media(max-width:768px) { .mdfs-wrap { padding: 0 18px; margin-top: 20px; } }

/* ── BANNER ── */
.mdfs-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; cursor: pointer; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(14,10,28,.95), rgba(20,12,36,.9));
  border: 1px solid rgba(201,149,42,.3);
  transition: border-color .3s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.mdfs-banner:hover { border-color: rgba(201,149,42,.65); box-shadow: 0 0 28px rgba(201,149,42,.1); }
.mdfs-banner.open  { border-color: #c9952a; border-bottom-color: rgba(201,149,42,.15); }
.mdfs-topline {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,transparent,#c9952a 30%,#e8c060 50%,#c9952a 70%,transparent);
}
/* Corner ornaments */
.mdfs-c { position: absolute; width: 10px; height: 10px; border-color: rgba(201,149,42,.5); border-style: solid; }
.mdfs-tl { top:7px; left:7px;   border-width: 1.5px 0 0 1.5px; }
.mdfs-tr { top:7px; right:7px;  border-width: 1.5px 1.5px 0 0; }
.mdfs-bl { bottom:7px; left:7px;  border-width: 0 0 1.5px 1.5px; }
.mdfs-br { bottom:7px; right:7px; border-width: 0 1.5px 1.5px 0; }

.mdfs-banner-l { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.mdfs-icon {
  font-size: 44px; line-height: 1; flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(201,149,42,.4));
  animation: mdfs-float 3s ease-in-out infinite alternate;
}
@keyframes mdfs-float { 0%{transform:translateY(0)} 100%{transform:translateY(-8px)} }
.mdfs-num   { font-size: 9px; letter-spacing: .45em; color: rgba(201,149,42,.55); text-transform: uppercase; margin-bottom: 4px; }
.mdfs-title { font-size: clamp(16px,2.5vw,24px); font-weight: 900; color: #f0e8d0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdfs-sub   { font-size: clamp(13px,1.6vw,16px); font-style: italic; color: rgba(240,232,208,.45); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mdfs-banner-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.mdfs-from  { font-size: 10px; letter-spacing: .15em; color: rgba(240,232,208,.35); display: block; }
.mdfs-price { font-size: clamp(16px,2vw,22px); color: #e8c060; text-shadow: 0 0 12px rgba(201,149,42,.4); }
.mdfs-cta {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 20px; background: linear-gradient(135deg,#c9952a,#a07820);
  color: #07050f; font-weight: 700; white-space: nowrap;
}

/* ── CONTENT ── */
.mdfs-content {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: opacity .45s;
  border: 1px solid rgba(201,149,42,.15); border-top: none;
  background: rgba(7,5,14,.7);
  visibility: hidden;
}
.mdfs-content.open { max-height: none; opacity: 1; visibility: visible; }
.mdfs-content-inner { padding: 36px 24px 32px; }

.mdfs-divider { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.mdfs-div-line { flex: 1; height: 1px; background: linear-gradient(90deg,transparent,rgba(201,149,42,.22)); }
.mdfs-div-line-r { background: linear-gradient(270deg,transparent,rgba(201,149,42,.22)); }
.mdfs-div-text { font-size: 7px; letter-spacing: .3em; color: rgba(201,149,42,.5); text-transform: uppercase; white-space: nowrap; }

/* ── GRID ── */
.mdfs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 28px;
}
@media(max-width:768px) { .mdfs-grid { grid-template-columns: 1fr; } }

/* ── CARD ── */
.mdfs-card {
  position: relative;
  background: linear-gradient(145deg,#1a0e08,#0e0804);
  border: 1px solid rgba(201,149,42,.2);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.mdfs-card:hover {
  border-color: rgba(201,149,42,.55);
  box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 24px rgba(201,149,42,.1);
  transform: translateY(-4px);
}

/* BILD */
.mdfs-img-wrap {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: #f5f3f0;
  border-bottom: 1px solid rgba(201,149,42,.15);
  display: flex; align-items: center; justify-content: center;
}
.mdfs-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .2s, transform .4s;
}
.mdfs-card:hover .mdfs-img { transform: scale(1.04); }
.mdfs-img-ph { font-size: 80px; }
.mdfs-sale {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  padding: 4px 12px; background: rgba(122,21,37,.9); border: 1px solid #e88; color: #fff;
}

/* Vorne/Hinten Toggle */
.mdfs-img-toggle {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: flex; gap: 4px;
}
.mdfs-img-btn {
  font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  padding: 5px 12px; cursor: pointer;
  background: rgba(7,5,15,.7); border: 1px solid rgba(201,149,42,.25);
  color: rgba(240,232,208,.6); backdrop-filter: blur(4px);
  transition: all .2s;
}
.mdfs-img-btn.active,
.mdfs-img-btn:hover {
  background: rgba(201,149,42,.2); border-color: #c9952a; color: #e8c060;
}

/* BODY */
.mdfs-card-body { padding: 20px 22px 24px; }
.mdfs-card-name { font-size: 17px; color: #f0e8d0; margin-bottom: 10px; line-height: 1.3; }

/* Beschreibungs-Button — Regenbogen-Schimmer (helpBtn-Stil, Schimmer INNEN) */
.mdfs-desc-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Cinzel', serif; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #e8c060; -webkit-text-fill-color: #e8c060;
  background: rgba(7,5,15,.85);
  border: 1px solid rgba(201,149,42,.4);
  border-radius: 999px;
  cursor: pointer;
  padding: 8px 16px; margin-bottom: 12px;
  overflow: hidden;
  z-index: 1;
  box-shadow: inset 0 0 14px rgba(232,192,96,.12);
  transition: box-shadow .2s ease;
}
.mdfs-desc-btn::before {
  content: "";
  position: absolute; inset: -40%;
  z-index: -2;
  background: conic-gradient(from 0deg,#ff3b3b,#c94bff,#3b7bff,#3bd9d9,#c9952a,#ff3b3b);
  filter: blur(12px);
  opacity: .55;
  animation: mdfsDescGlow 4s linear infinite;
}
.mdfs-desc-btn::after {
  content: "";
  position: absolute; inset: 2px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(7,5,15,.92);
}
@keyframes mdfsDescGlow { to { transform: rotate(360deg); } }
.mdfs-desc-btn:hover { box-shadow: inset 0 0 22px rgba(232,192,96,.25); color: #f5d57a; -webkit-text-fill-color: #f5d57a; }

/* Beschreibungs-Popup */
.mdfs-desc-popup { display: none; }
.mdfs-desc-popup.open { display: block; }
.mdfs-desc-overlay {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
}
.mdfs-desc-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 99999; width: min(680px, 92vw); max-height: 80vh;
  background: rgba(14,10,28,.98); border: 1px solid rgba(201,149,42,.4);
  display: flex; flex-direction: column;
  box-shadow: 0 0 60px rgba(0,0,0,.8);
  /* Sicherstellen dass es immer im Viewport bleibt */
  margin: 0;
}
.mdfs-desc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid rgba(201,149,42,.2);
  flex-shrink: 0;
}
.mdfs-desc-title {
  font-family: serif; font-size: 16px; color: #e8c060; letter-spacing: .05em;
}
.mdfs-desc-close {
  font-size: 18px; color: rgba(240,232,208,.5); background: none; border: none;
  cursor: pointer; transition: color .2s; padding: 0;
}
.mdfs-desc-close:hover { color: #e8c060; }
.mdfs-desc-body {
  font-family: serif; font-size: 15px; line-height: 1.9;
  color: rgba(240,232,208,.85);
}
.mdfs-desc-body p { margin-bottom: 14px; }
.mdfs-desc-body h1, .mdfs-desc-body h2, .mdfs-desc-body h3 {
  color: #e8c060; margin: 20px 0 10px; font-size: 16px; letter-spacing: .06em;
  border-bottom: 1px solid rgba(201,149,42,.2); padding-bottom: 6px;
}
.mdfs-desc-body ul, .mdfs-desc-body ol { padding-left: 22px; margin-bottom: 14px; }
.mdfs-desc-body li { margin-bottom: 6px; }
.mdfs-desc-body strong, .mdfs-desc-body b { color: #f0e8d0; font-weight: 700; }
.mdfs-desc-body em, .mdfs-desc-body i { color: rgba(201,149,42,.8); }
.mdfs-desc-body a { color: #e8c060; }
.mdfs-img-zoomable { cursor: zoom-in; }

/* Lightbox */
.mdfs-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.92); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s; padding: 24px;
}
.mdfs-lightbox.open { opacity: 1; pointer-events: all; }
.mdfs-lightbox-img {
  max-width: 86vw; max-height: 86vh; object-fit: contain;
  transform: scale(.9); cursor: zoom-out;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .2s;
  box-shadow: 0 0 60px rgba(0,0,0,.8);
  user-select: none;
}
.mdfs-lightbox.open .mdfs-lightbox-img { transform: scale(1); }
.mdfs-lightbox-close {
  position: absolute; top: 20px; right: 24px;
  font-family: serif; font-size: 13px; letter-spacing: .2em;
  color: rgba(240,232,208,.6); cursor: pointer;
  border: none; background: none; text-transform: uppercase;
  transition: color .2s;
}
.mdfs-lightbox-close:hover { color: #e8c060; }

/* Nav Arrows */
.mdfs-lightbox-prev,
.mdfs-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; cursor: pointer;
  background: rgba(201,149,42,.15); border: 1px solid rgba(201,149,42,.4);
  color: #e8c060; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; user-select: none;
}
.mdfs-lightbox-prev { left: 16px; }
.mdfs-lightbox-next { right: 16px; }
.mdfs-lightbox-prev:hover,
.mdfs-lightbox-next:hover { background: rgba(201,149,42,.35); }
.mdfs-lightbox-prev.hidden,
.mdfs-lightbox-next.hidden { opacity: 0; pointer-events: none; }

/* Dots */
.mdfs-lightbox-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.mdfs-lightbox-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(201,149,42,.3); border: 1px solid rgba(201,149,42,.5);
  cursor: pointer; transition: all .2s;
}
.mdfs-lightbox-dot.active { background: #c9952a; }

/* Preis + MwSt */
.mdfs-card-price {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 8px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,149,42,.12);
  flex-wrap: wrap;
}
.mdfs-price-orig {
  font-size: 16px; color: rgba(240,232,208,.35);
  text-decoration: line-through; margin-right: 4px;
}
.mdfs-price-now { font-size: 22px; font-weight: 700; color: #e8c060; text-shadow: 0 0 10px rgba(201,149,42,.3); }
.mdfs-price-tax { font-size: 11px; color: rgba(240,232,208,.35); letter-spacing: .05em; }

/* Dynamischer Gesamtpreis */
.mdfs-total-wrap {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 10px; padding: 8px 12px;
  background: rgba(0,0,0,.25); border: 1px solid rgba(201,149,42,.2);
}
.mdfs-total-old {
  font-size: 14px; color: rgba(240,232,208,.35);
  text-decoration: line-through;
}
.mdfs-total-new {
  font-size: 20px; font-weight: 700; color: #e8c060;
}
.mdfs-total-label {
  font-size: 11px; color: rgba(240,232,208,.4); letter-spacing: .1em; text-transform: uppercase;
}

/* Statischer Spar-Hinweis */
.mdfs-savings-hint {
  font-size: 12px; color: rgba(201,149,42,.7);
  margin-bottom: 12px; font-style: italic;
}

/* Dynamische Spar-Anzeige */
.mdfs-savings-dynamic {
  font-size: 13px; color: #e8c060;
  padding: 8px 12px; margin-bottom: 12px;
  background: rgba(201,149,42,.08);
  border-left: 2px solid #c9952a;
  transition: all .3s;
}
.mdfs-savings-dynamic.mdfs-savings-party {
  background: rgba(201,149,42,.15);
  border-left-color: #e8c060;
  color: #fff;
}
.mdfs-discounts {
  margin-bottom: 16px; border: 1px solid rgba(201,149,42,.2);
  overflow: hidden;
}
.mdfs-discount-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-bottom: 1px solid rgba(201,149,42,.1);
  transition: background .2s;
}
.mdfs-discount-row:last-child { border-bottom: none; }
.mdfs-discount-qty {
  font-size: 12px; color: rgba(240,232,208,.7);
  flex: 1; min-width: 80px;
}
.mdfs-discount-price {
  font-family: serif; font-size: 15px; font-weight: 700; color: #e8c060;
  min-width: 60px; text-align: right;
}
.mdfs-discount-badge {
  font-size: 11px; font-weight: 700; padding: 2px 8px; letter-spacing: .05em;
  border-radius: 2px; min-width: 64px; text-align: center;
}
.mdfs-discount-none { background: rgba(255,255,255,.08); color: rgba(240,232,208,.4); }
.mdfs-discount-10   { background: rgba(201,149,42,.3);  color: #e8c060; font-weight: 700; }
.mdfs-discount-25   { background: rgba(201,149,42,.35); color: #fff; }
.mdfs-discount-30   { background: rgba(80,160,120,.35); color: #fff; }
.mdfs-discount-35   { background: rgba(100,120,220,.4); color: #fff; }

.mdfs-discount-best    { background: rgba(201,149,42,.08); border-left: 2px solid #c9952a; }
.mdfs-discount-school  { background: rgba(80,160,120,.06); border-left: 2px solid rgba(80,160,120,.5); }
.mdfs-discount-champion{ background: rgba(100,120,220,.08); border-left: 2px solid rgba(100,120,220,.5); }

/* aktive Mengenstufe (per JS gesetzt) */
.mdfs-discount-row.mdfs-tier-active {
  background: rgba(201,149,42,.22);
  box-shadow: inset 3px 0 0 #e8c060;
}
/* Hinweis: endgültiger Rabatt im Warenkorb */
.mdfs-cart-note {
  font-size: 11px; line-height: 1.4; color: rgba(240,232,208,.55);
  font-style: italic; margin: 6px 0 12px;
}

.mdfs-savings-champion {
  background: rgba(100,120,220,.15);
  border-left-color: #8899ff;
  color: #c8d0ff;
}
.mdfs-sizes { margin-bottom: 16px; }
.mdfs-size-lbl { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(232,192,96,.9); margin-bottom: 10px; }
.mdfs-size-rows { display: flex; flex-direction: column; gap: 10px; }

/* Zeile = Größen-Button + optional Qty darunter */
.mdfs-size-row { display: flex; flex-direction: column; gap: 0; }
.mdfs-size-row .mdfs-size-btn { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.mdfs-size-btn {
  width: 100%; padding: 9px 14px; font-size: 12px; letter-spacing: .08em; cursor: pointer;
  color: rgba(240,232,208,.7); background: rgba(0,0,0,.3);
  border: 1px solid rgba(201,149,42,.2); transition: all .25s;
  text-align: left;
}
.mdfs-size-btn:hover { border-color: rgba(201,149,42,.5); color: #f0e8d0; }
.mdfs-size-btn.active {
  border-color: #c9952a; background: rgba(201,149,42,.15); color: #e8c060;
  border-bottom-color: rgba(201,149,42,.1);
}

/* Qty direkt unter aktivem Button */
@keyframes mdfs-fade-in { from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:translateY(0)} }
.mdfs-qty-lbl {
  font-size: 10px; letter-spacing: .1em; color: rgba(201,149,42,.6);
  text-transform: uppercase; margin-right: 8px; white-space: nowrap;
  flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.mdfs-qty-controls { display: inline-flex; align-items: center; flex-shrink: 0; }
.mdfs-qty-btn {
  width: 26px; height: 26px; font-size: 15px; cursor: pointer;
  background: rgba(201,149,42,.15); border: 1px solid rgba(201,149,42,.35);
  color: #e8c060; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.mdfs-qty-btn:hover { background: rgba(201,149,42,.3); }
.mdfs-qty-input {
  width: 30px; height: 26px; text-align: center; padding: 0;
  background: rgba(20,14,36,.9) !important;
  border: none;
  border-top: 1px solid rgba(201,149,42,.35);
  border-bottom: 1px solid rgba(201,149,42,.35);
  color: #f0e8d0 !important; font-size: 13px; font-weight: 700; outline: none;
  -moz-appearance: textfield !important; appearance: textfield !important;
}
.mdfs-qty-input::-webkit-outer-spin-button,
.mdfs-qty-input::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0 !important; }

/* Mengenauswahl */
.mdfs-qty-wrap,
.mdfs-qty {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px solid rgba(201,149,42,.25); border-top: none;
  background: rgba(0,0,0,.2); padding: 6px 10px;
  box-sizing: border-box; width: 100%; max-width: 100%;
}
.mdfs-qty-input::-webkit-outer-spin-button,
.mdfs-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important; margin: 0 !important;
}

/* ADD-ON */
.mdfs-addon {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 16px; padding: 12px 14px; cursor: pointer;
  background: rgba(201,149,42,.05); border: 1px solid rgba(201,149,42,.15);
  transition: border-color .25s;
}
.mdfs-addon:hover { border-color: rgba(201,149,42,.35); }
.mdfs-addon-check { accent-color: #c9952a; width: 16px; height: 16px; flex-shrink: 0; margin-right: 12px; }
.mdfs-addon-body { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 8px; }
.mdfs-addon-title { font-size: 14px; color: #f0e8d0; display: block; margin-bottom: 2px; }
.mdfs-addon-sub { font-size: 12px; font-style: italic; color: rgba(240,232,208,.5); }
.mdfs-addon-right { text-align: right; flex-shrink: 0; }
.mdfs-addon-old { font-size: 12px; color: rgba(240,232,208,.3); text-decoration: line-through; display: block; }
.mdfs-addon-new { font-size: 16px; color: #e8c060; font-weight: 700; }

/* BUTTONS */
.mdfs-btns { display: flex; gap: 10px; }
.mdfs-btn-detail {
  flex: 0 0 auto; padding: 12px 16px; text-decoration: none; text-align: center;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(240,232,208,.6); background: transparent;
  border: 1px solid rgba(201,149,42,.25); transition: all .25s;
}
.mdfs-btn-detail:hover { color: #f0e8d0; border-color: rgba(201,149,42,.5); background: rgba(201,149,42,.06); }
.mdfs-btn-cart {
  flex: 1; padding: 12px 16px; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: #07050f; font-weight: 700; border: none; cursor: pointer;
  background: linear-gradient(135deg,#c9952a,#a07820 50%,#c9952a); background-size: 200%;
  transition: all .35s;
}
.mdfs-btn-cart:hover { background-position: right; box-shadow: 0 4px 20px rgba(201,149,42,.4); }
.mdfs-btn-cart:disabled { opacity: .6; cursor: wait; }

/* WooCommerce natives Formular – im mystischen Stil */
.mdfs-wc-form { margin-top: 8px; }

/* Variationen Dropdown */
.mdfs-wc-form .variations select,
.mdfs-wc-form select {
  width: 100%; padding: 10px 14px;
  background: rgba(0,0,0,.4) !important;
  border: 1px solid rgba(201,149,42,.3) !important;
  color: #f0e8d0 !important; font-size: 15px; outline: none;
  appearance: auto;
}
.mdfs-wc-form .variations td,
.mdfs-wc-form .variations th {
  padding: 4px 0; color: rgba(240,232,208,.7); font-size: 13px;
  background: transparent !important;
}
.mdfs-wc-form .variations { width: 100%; border: none; margin-bottom: 12px; }

/* Menge */
.mdfs-wc-form .quantity input.qty {
  width: 60px; padding: 10px; text-align: center;
  background: rgba(0,0,0,.4) !important;
  border: 1px solid rgba(201,149,42,.3) !important;
  color: #f0e8d0 !important; font-size: 16px; font-weight: 700; outline: none;
}

/* In den Warenkorb Button */
.mdfs-wc-form .single_add_to_cart_button,
.mdfs-wc-form button[type="submit"] {
  width: 100%; padding: 14px 20px; margin-top: 12px;
  font-size: 12px !important; letter-spacing: .18em !important; text-transform: uppercase !important;
  color: #07050f !important; font-weight: 700 !important; border: none !important; cursor: pointer !important;
  background: linear-gradient(135deg, #c9952a, #a07820 50%, #c9952a) !important;
  background-size: 200% !important;
  transition: all .35s !important;
  border-radius: 0 !important;
}
.mdfs-wc-form .single_add_to_cart_button:hover {
  background-position: right !important;
  box-shadow: 0 4px 20px rgba(201,149,42,.4) !important;
}

/* Plugin Republic Extras */
.mdfs-wc-form .pewc-wrap,
.mdfs-wc-form .pewc-group-wrap {
  background: rgba(201,149,42,.05) !important;
  border: 1px solid rgba(201,149,42,.15) !important;
  padding: 12px !important; margin-bottom: 12px !important;
}
.mdfs-wc-form .pewc-item-title { color: #f0e8d0 !important; font-size: 14px !important; }
.mdfs-wc-form .pewc-item-description { color: rgba(240,232,208,.5) !important; }
.mdfs-wc-form .pewc-total-price { color: #e8c060 !important; font-weight: 700 !important; }

/* Reset-Link */
.mdfs-wc-form .reset_variations { color: rgba(201,149,42,.5) !important; font-size: 12px !important; }

/* WooCommerce Standard "Warenkorb anzeigen" ausblenden */
.added_to_cart { display: none !important; }

.mdfs-empty { text-align: center; padding: 48px; font-style: italic; color: rgba(240,232,208,.35); font-size: 18px; }

/* MOBILE */
@media(max-width:600px) {
  .mdfs-banner { flex-wrap: wrap; padding: 16px 18px; gap: 8px; }
  .mdfs-banner-l { width: 100%; }
  .mdfs-banner-r { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .mdfs-icon svg { width: 32px; height: 32px; }
  .mdfs-sub { display: none; }
  .mdfs-cta { font-size: 10px; padding: 9px 14px; }
}

/* ── FRAKTION FILTER ── */
.mdfs-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.mdfs-filter-btn {
  font-family: Georgia, serif;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  padding: 10px 20px; cursor: pointer;
  border: 1px solid rgba(201,149,42,.3);
  background: transparent; color: rgba(240,232,208,.5);
  transition: all .25s;
}
.mdfs-filter-btn:hover,
.mdfs-filter-btn.active {
  background: rgba(201,149,42,.12);
  border-color: #c9952a; color: #e8c060;
}
.mdfs-card { transition: opacity .3s, transform .3s; }
.mdfs-card.hidden { display: none; }

/* ════════════════════════════════════
   LAZY LOADING – Ladezustand
   ════════════════════════════════════ */
.mdfs-grid-loading { min-height:200px; position:relative; }
.mdfs-loading {
  grid-column:1 / -1;
  text-align:center;
  padding:48px 24px;
  font-family:"Cinzel",serif;
  font-size:15px; letter-spacing:.12em;
  color:#e8c060;
  opacity:.85;
  animation:mdfs-pulse 1.3s ease-in-out infinite;
}
@keyframes mdfs-pulse { 0%,100%{opacity:.4} 50%{opacity:.95} }

/* sanftes Einblenden der nachgeladenen Karten */
#mdfsGrid .mdfs-card { animation:mdfs-cardin .35s ease both; }
@keyframes mdfs-cardin { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }


/* ── Stifte-Menge + Staffelhinweis (Kaufbox) ── */
.mdfs-stifte-qty { display:flex; flex-wrap:wrap; align-items:center; gap:10px;
  margin:10px 0 4px; padding:10px 12px; border:1px solid rgba(201,149,42,.25);
  border-radius:10px; background:rgba(201,149,42,.05); }
.mdfs-stifte-lbl { font-family:'Cinzel',serif; font-size:13px; color:#e8c060; letter-spacing:.04em; }
.mdfs-stifte-controls { display:flex; align-items:center; gap:6px; }
.mdfs-stifte-staffel { flex-basis:100%; font-family:'Cormorant Garamond',Georgia,serif;
  font-size:14px; font-style:italic; color:rgba(232,192,96,.85); }

.mdfs-addon-old:not(:empty) { text-decoration:line-through; opacity:.55; margin-right:6px; }
