/* ======================================================================
   MasterKeys — BeTheme Side Cart
   Helye: child-theme/assets/css/mk-sidecart.css
   Font a temabol orokol. Minden a .mfn-cart-holder ala scope-olva.
   ====================================================================== */

.mfn-cart-holder{
  --sc-brand:#ff1100;
  --sc-brand-d:#d60e00;
  --sc-soft:rgba(255,17,0,.06);
  --sc-green:#00B359;
  --sc-green-d:#009a4d;

  --sc-ink:#0f172a;
  --sc-ink-2:#334155;
  --sc-muted:#64748b;
  --sc-faint:#94a3b8;

  --sc-line:#e6eaf0;
  --sc-line-2:#dde3ea;
  --sc-bg:#ffffff;
  --sc-tint:#f8fafc;

  --sc-radius:12px;
  --sc-pad:22px;
}

.mfn-cart-holder *{ box-sizing:border-box; }

/* ======================================================================
   OVERLAY
   ====================================================================== */
.mfn-cart-overlay{
  background:rgba(9,14,26,.42) !important;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}

/* ======================================================================
   HOLDER — valodi flex oszlop
   ====================================================================== */
.mfn-cart-holder{
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  max-height:100% !important;
  overflow:hidden !important;

  width:min(430px, 100vw) !important;
  background:var(--sc-bg) !important;
  box-shadow:-12px 0 44px -18px rgba(9,14,26,.28) !important;
  color:var(--sc-ink) !important;
}

/* ======================================================================
   HEADER
   ====================================================================== */
.mfn-cart-holder .mfn-ch-header{
  flex:0 0 auto !important;
  position:relative;
  display:flex !important;
  align-items:center !important;
  padding:20px var(--sc-pad) !important;
  border-bottom:1px solid var(--sc-line) !important;
  background:var(--sc-bg) !important;
}

.mfn-cart-holder .mfn-ch-header h3{
  display:flex !important;
  align-items:center !important;
  gap:11px !important;
  margin:0 auto !important;
  padding:0 !important;
  font-size:19px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  letter-spacing:-.015em !important;
  color:var(--sc-ink) !important;
}

/* A JS ide masolja a header kosar-ikonjat */
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon{
  display:inline-flex;
  align-items:center; justify-content:center;
  width:24px; height:24px;
  flex:0 0 auto;
  color:var(--sc-ink);
}
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon svg{
  width:100% !important; height:100% !important;
  display:block;
  fill:none;
  stroke:currentColor;
}
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon svg path,
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon svg circle,
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon svg rect,
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon svg polyline,
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon svg polygon{
  stroke:currentColor !important;
  fill:none !important;
}
/* A klonozott ikon szamlalo-badge-et nem hozunk at */
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon .mk-hdr-cart-count,
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon .mfn-cart-count-value,
.mfn-cart-holder .mfn-ch-header h3 .mk-sc-icon .header-cart-count{ display:none !important; }

/* Ha a JS nem talalt ikont, a gyari svg marad */
.mfn-cart-holder .mfn-ch-header h3 > svg{
  width:23px !important; height:23px !important;
  flex:0 0 auto;
}
.mfn-cart-holder .mfn-ch-header h3 > svg .path{
  stroke:var(--sc-ink) !important;
  stroke-width:1.6px !important;
}

/* Zaro X */
.mfn-cart-holder .close-mfn-cart{
  position:absolute !important;
  left:var(--sc-pad) !important;
  top:50% !important;
  transform:translateY(-50%);

  display:inline-flex !important;
  align-items:center; justify-content:center;
  width:36px; height:36px;

  border-radius:9px !important;
  background:transparent !important;
  color:var(--sc-faint) !important;
  border:0 !important;
  transition:background .15s ease, color .15s ease;
}
.mfn-cart-holder .close-mfn-cart:hover{
  background:var(--sc-tint) !important;
  color:var(--sc-ink) !important;
}
.mfn-cart-holder .close-mfn-cart .icon{ font-size:17px; line-height:1; }

/* ======================================================================
   CONTENT — ez az egyetlen, ami gorget
   ====================================================================== */
.mfn-cart-holder .mfn-ch-content-wrapper{
  flex:1 1 auto !important;
  min-height:0 !important;          /* KULCS: flex gyerek min-height:auto felulirasa */
  overflow:hidden !important;
  position:relative;
}

.mfn-cart-holder .mfn-ch-content{
  height:100% !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  -webkit-overflow-scrolling:touch;
  padding:var(--sc-pad) !important;
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
}

.mfn-cart-holder .mfn-ch-content::-webkit-scrollbar{ width:7px; }
.mfn-cart-holder .mfn-ch-content::-webkit-scrollbar-track{ background:transparent; }
.mfn-cart-holder .mfn-ch-content::-webkit-scrollbar-thumb{
  background:#cbd5e1; border-radius:99px;
  border:2px solid transparent; background-clip:padding-box;
}
.mfn-cart-holder .mfn-ch-content::-webkit-scrollbar-thumb:hover{
  background:var(--sc-faint); background-clip:padding-box;
}

.mfn-cart-holder .mfn-ch-content-wrapper::after{
  content:"";
  position:absolute; left:0; right:7px; bottom:0;
  height:26px;
  background:linear-gradient(to bottom, rgba(255,255,255,0), var(--sc-bg));
  pointer-events:none;
}

/* ======================================================================
   TERMEKKARTYA
   ====================================================================== */
.mfn-cart-holder .mfn-ch-product{
  position:relative;
  display:grid !important;
  grid-template-columns:76px minmax(0,1fr) auto;
  grid-template-areas:
    "img info price"
    "foot foot foot";
  gap:6px 15px;
  align-items:start;

  margin:0 0 12px !important;
  padding:15px !important;
  border:1px solid var(--sc-line) !important;
  border-radius:var(--sc-radius) !important;
  background:var(--sc-bg) !important;
  overflow:visible !important;
  transition:border-color .16s ease, box-shadow .16s ease;
}
.mfn-cart-holder .mfn-ch-product:hover{
  border-color:var(--sc-line-2) !important;
  box-shadow:0 4px 16px -8px rgba(15,23,42,.14) !important;
}
.mfn-cart-holder .mfn-ch-product:last-child{ margin-bottom:0 !important; }

/* Kep — nagyobb, keret nelkul */
.mfn-cart-holder .mfn-chp-image{
  grid-area:img;
  width:76px !important; height:76px !important;
  min-width:0 !important; flex:none !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  overflow:visible !important;
  display:flex; align-items:center; justify-content:center;
  padding:0 !important;
}
.mfn-cart-holder .mfn-chp-image a{ display:block; width:100%; height:100%; }
.mfn-cart-holder .mfn-chp-image img{
  width:100% !important; height:100% !important;
  object-fit:contain !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  display:block;
  transition:transform .2s ease;
}
.mfn-cart-holder .mfn-ch-product:hover .mfn-chp-image img{ transform:scale(1.05); }

/* Nev + egysegar */
.mfn-cart-holder .mfn-chp-info{
  grid-area:info;
  min-width:0;
  padding:0 !important;
  border:0 !important;
}
.mfn-cart-holder .mfn-chp-name{
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
  min-height:0 !important;
  margin:0 0 4px !important;
  font-size:13.5px !important;
  font-weight:600 !important;
  line-height:1.35 !important;
}
.mfn-cart-holder .mfn-chp-name a,
.mfn-cart-holder .mfn-chp-name a:hover{
  color:var(--sc-ink) !important;
  text-decoration:none !important;
}
.mfn-cart-holder .mfn-chp-name a:hover{ color:var(--sc-brand) !important; }

.mfn-cart-holder .mfn-chp-info .price{
  margin:0 !important;
  font-size:12px !important;
  font-weight:400 !important;
  color:var(--sc-muted) !important;
  line-height:1.3 !important;
}
.mfn-cart-holder .mfn-chp-info .price .amount{
  font-weight:500 !important;
  color:var(--sc-ink-2) !important;
}

/* Sorosszeg */
.mfn-cart-holder .mfn-chp-price{
  grid-area:price;
  text-align:right !important;
  padding:0 !important;
  border:0 !important;
  white-space:nowrap;
}
.mfn-cart-holder .mfn-chp-price .amount{
  font-size:15px !important;
  font-weight:700 !important;
  color:var(--sc-ink) !important;
  letter-spacing:-.01em;
}
.mfn-cart-holder .mfn-chp-price .tax_label{
  display:block !important;
  margin-top:2px;
  font-size:10.5px !important;
  font-weight:400 !important;
  color:var(--sc-faint) !important;
}

/* Lablec: mennyiseg + torles */
.mfn-cart-holder .mfn-chp-footer{
  grid-area:foot;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px;
  width:auto !important;
  min-width:0 !important;

  /* A kartya teljes szelessegeben fusson, 5-5 px belso tavolsaggal. */
  margin:12px -10px 0 !important;
  padding:12px 0 5px !important;

  border-top:1px solid var(--sc-line) !important;
  border-bottom:0 !important;
}

.mfn-cart-holder .mfn-chpf-col{
  min-width:0 !important;
  padding:0 !important;
  margin:0 !important;
}

.mfn-cart-holder .mfn-chp-footer .mfn-chpf-col:first-child{
  margin-left:0 !important;
}

.mfn-cart-holder .mfn-chp-footer .mfn-chpf-col:last-child{
  margin-right:0 !important;
}

/* ----------------------------------------------------------------------
   MENNYISÉGLÉPTETŐ
   Szerkezet: [ − ] [ darabszám ] [ + ]
   FONTOS: az input NEM kaphat nagy line-height-ot. Chrome-ban a fix
   magasságú inputnál a szöveget kitolja a látható területről, és a
   szülő overflow:hidden levágja. Ezért line-height:normal.
   ---------------------------------------------------------------------- */
.mfn-cart-holder .mfn-chp-quantity{
  display:flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
  margin:0 !important;
  padding:0 !important;
}

.mfn-cart-holder .mfn-chp-quantity .quantity{
  position:relative !important;
  display:flex !important;
  align-items:stretch !important;
  gap:0 !important;

  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  height:40px !important;

  margin:0 !important;
  padding:0 !important;
  border:1px solid var(--sc-line-2) !important;
  border-radius:9px !important;
  overflow:hidden !important;
  background:var(--sc-bg) !important;
  box-shadow:none !important;
}

/* Az a11y címke kikerül a flow-ból */
.mfn-cart-holder .mfn-chp-quantity .quantity label,
.mfn-cart-holder .mfn-chp-quantity .quantity .screen-reader-text{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  clip-path:inset(50%) !important;
  white-space:nowrap !important;
  border:0 !important;
  order:0 !important;
}

/* Sorrend: a label a DOM-ban a minus és az input közé ékelődik */
.mfn-cart-holder .mfn-chp-quantity .quantity .minus,
.mfn-cart-holder .mfn-chp-quantity .quantity .quantity-change.minus{ order:1 !important; }
.mfn-cart-holder .mfn-chp-quantity .quantity input.qty{ order:2 !important; }
.mfn-cart-holder .mfn-chp-quantity .quantity .plus,
.mfn-cart-holder .mfn-chp-quantity .quantity .quantity-change.plus{ order:3 !important; }

/* Mínusz és plusz gomb */
.mfn-cart-holder .mfn-chp-quantity .quantity .minus,
.mfn-cart-holder .mfn-chp-quantity .quantity .plus,
.mfn-cart-holder .mfn-chp-quantity .quantity .quantity-change{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  float:none !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  flex:0 0 40px !important;
  width:40px !important;
  min-width:40px !important;
  max-width:40px !important;
  height:40px !important;
  min-height:40px !important;

  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;

  color:var(--sc-ink-2) !important;
  font-size:15px !important;
  font-weight:500 !important;
  line-height:1 !important;
  text-align:center !important;
  text-decoration:none !important;
  cursor:pointer !important;
  user-select:none !important;
  -webkit-user-select:none !important;

  transition:background .13s ease, color .13s ease !important;
}

.mfn-cart-holder .mfn-chp-quantity .quantity .minus:hover,
.mfn-cart-holder .mfn-chp-quantity .quantity .plus:hover,
.mfn-cart-holder .mfn-chp-quantity .quantity .quantity-change:hover{
  background:var(--sc-tint) !important;
  color:var(--sc-brand) !important;
}

.mfn-cart-holder .mfn-chp-quantity .quantity .minus:focus-visible,
.mfn-cart-holder .mfn-chp-quantity .quantity .plus:focus-visible,
.mfn-cart-holder .mfn-chp-quantity .quantity .quantity-change:focus-visible{
  outline:2px solid rgba(255,17,0,.28) !important;
  outline-offset:-2px !important;
}

.mfn-cart-holder .mfn-chp-quantity .quantity .minus i,
.mfn-cart-holder .mfn-chp-quantity .quantity .plus i,
.mfn-cart-holder .mfn-chp-quantity .quantity .quantity-change i{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-size:11px !important;
  line-height:1 !important;
  pointer-events:none !important;
}

/* Darabszámmező */
.mfn-cart-holder .mfn-chp-quantity .quantity input.qty,
.mfn-cart-holder .mfn-chp-quantity .quantity input[type="number"]{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  float:none !important;

  display:block !important;
  flex:0 0 46px !important;
  width:46px !important;
  min-width:46px !important;
  max-width:46px !important;
  height:40px !important;
  min-height:40px !important;
  max-height:40px !important;

  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-left:1px solid var(--sc-line) !important;
  border-right:1px solid var(--sc-line) !important;
  border-radius:0 !important;

  background:var(--sc-bg) !important;
  box-shadow:none !important;
  outline:0 !important;

  color:var(--sc-ink) !important;
  -webkit-text-fill-color:var(--sc-ink) !important;
  opacity:1 !important;
  visibility:visible !important;

  text-align:center !important;
  text-indent:0 !important;
  font-size:14px !important;
  font-weight:600 !important;

  /* EZ A KULCS: soha ne adj fix line-height-ot inputnak */
  line-height:normal !important;

  font-variant-numeric:tabular-nums;
  pointer-events:auto !important;

  -webkit-appearance:none !important;
  -moz-appearance:textfield !important;
  appearance:textfield !important;
}

.mfn-cart-holder .mfn-chp-quantity .quantity input.qty:focus{
  background:var(--sc-tint) !important;
}

.mfn-cart-holder .mfn-chp-quantity .quantity input.qty::-webkit-outer-spin-button,
.mfn-cart-holder .mfn-chp-quantity .quantity input.qty::-webkit-inner-spin-button{
  margin:0 !important;
  -webkit-appearance:none !important;
}

/* Eltavolitas */
.mfn-cart-holder .mfn-chp-remove{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  flex:0 0 auto !important;
  min-height:40px !important;
  box-sizing:border-box !important;

  margin:0 !important;
  padding:9px 12px !important;

  border:0 !important;
  border-radius:10px !important;
  background:transparent !important;
  box-shadow:none !important;

  color:var(--sc-faint) !important;
  font-size:12.5px !important;
  font-weight:500 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  white-space:nowrap !important;

  transition:background .14s ease, color .14s ease !important;
}

.mfn-cart-holder .mfn-chp-remove:hover{
  background:var(--sc-soft) !important;
  color:var(--sc-brand) !important;
}

.mfn-cart-holder .mfn-chp-remove:focus-visible{
  outline:2px solid rgba(255,17,0,.28) !important;
  outline-offset:2px !important;
}

.mfn-cart-holder .mfn-chp-remove i{
  margin:0 !important;
  font-size:14px !important;
  line-height:1 !important;
}
/* ======================================================================
   URES KOSAR (side cart)
   ====================================================================== */
.mfn-cart-holder .mk-sc-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:280px;
  text-align:center;
  padding:32px 20px;
}
.mfn-cart-holder .mk-sc-empty-ico{
  width:56px; height:56px;
  color:#cbd5e1;
}
.mfn-cart-holder .mk-sc-empty-ico svg{ width:100%; height:100%; }
.mfn-cart-holder .mk-sc-empty p{
  margin:0 !important;
  font-size:14.5px;
  color:var(--sc-muted);
}

/* ======================================================================
   FOOTER
   ====================================================================== */
.mfn-cart-holder .mfn-ch-footer{
  flex:0 0 auto !important;
  overflow:visible !important;
  padding:var(--sc-pad) !important;
  padding-bottom:calc(var(--sc-pad) + env(safe-area-inset-bottom, 0px)) !important;
  border-top:1px solid var(--sc-line) !important;
  background:var(--sc-bg) !important;
}

/* --- Kupon --- */
.mfn-cart-holder .mfn-chft-apply-coupon-wrapper{
  margin:0 0 16px !important;
  padding:0 !important;
  border:0 !important;
}
.mfn-cart-holder .mfn-chft-apply-coupon-switcher{
  display:inline-flex !important;
  align-items:center; gap:6px;
  font-size:12.5px !important;
  font-weight:600 !important;
  color:var(--sc-muted) !important;
  transition:color .14s ease;
}
.mfn-cart-holder .mfn-chft-apply-coupon-switcher:hover{ color:var(--sc-brand) !important; }
.mfn-cart-holder .mfn-chft-apply-coupon-switcher .icon-down-open{
  font-size:10px;
  transition:transform .2s ease;
}
.mfn-cart-holder .mfn-chft-apply-coupon-wrapper.active .mfn-chft-apply-coupon-switcher .icon-down-open{
  transform:rotate(180deg);
}

.mfn-cart-holder .mfn-sidecart-apply-coupon-wrapper{
  display:flex !important;
  gap:8px;
  margin-top:11px;
}
.mfn-cart-holder .mfn-sidecart-apply-coupon-input{
  flex:1 1 auto; min-width:0;
  height:44px !important;
  padding:0 14px !important;
  margin:0 !important;
  border:1.5px solid var(--sc-line-2) !important;
  border-radius:9px !important;
  background:var(--sc-bg) !important;
  box-shadow:none !important;
  font-size:13.5px !important;
  color:var(--sc-ink) !important;
  text-transform:uppercase;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.mfn-cart-holder .mfn-sidecart-apply-coupon-input::placeholder{
  text-transform:none; color:var(--sc-faint);
}
.mfn-cart-holder .mfn-sidecart-apply-coupon-input:focus{
  border-color:var(--sc-brand) !important;
  box-shadow:0 0 0 3px var(--sc-soft) !important;
  outline:0 !important;
}
.mfn-cart-holder .mfn-sidecart-apply-coupon{
  flex:0 0 auto;
  display:inline-flex !important;
  align-items:center; justify-content:center;
  width:44px; height:44px;
  border-radius:9px !important;
  background:var(--sc-ink) !important;
  color:#fff !important;
  transition:background .14s ease;
}
.mfn-cart-holder .mfn-sidecart-apply-coupon:hover{ background:var(--sc-brand) !important; }

.mfn-cart-holder .mfn-chft-coupons-list-single{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:9px;
  padding:9px 12px;
  border-radius:8px;
  background:rgba(0,179,89,.08);
  border:1px solid rgba(0,179,89,.26);
  font-size:12.5px;
}
.mfn-cart-holder .mfn-chft-coupons-list-single-label{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--sc-green-d) !important;
}
.mfn-cart-holder .mfn-chft-coupons-list-single-label strong{ font-weight:700; }
.mfn-cart-holder .mfn-sidecart-remove-coupon{
  display:inline-flex; align-items:center; justify-content:center;
  width:22px; height:22px;
  border-radius:5px;
  color:var(--sc-green-d) !important;
  transition:background .13s ease;
}
.mfn-cart-holder .mfn-sidecart-remove-coupon:hover{ background:rgba(0,179,89,.16); }

/* --- Osszegek --- */
.mfn-cart-holder .mfn-ch-footer-totals{
  border:0 !important;
  padding:0 !important;
  margin:0 0 18px !important;
}

.mfn-cart-holder .mfn-chft-row{
  display:flex !important;
  align-items:baseline !important;
  justify-content:space-between !important;
  gap:14px;
  padding:6px 0 !important;
  border:0 !important;
  font-size:13.5px !important;
  color:var(--sc-ink-2) !important;
}
.mfn-cart-holder .mfn-chft-row .amount{
  font-weight:600 !important;
  color:var(--sc-ink) !important;
  white-space:nowrap;
}
.mfn-cart-holder .mfn-chft-row .tax_label{
  font-size:11px !important;
  font-weight:400 !important;
  color:var(--sc-faint) !important;
}

.mfn-cart-holder .mfn-chft-row.mfn-chft-total{
  align-items:flex-start !important;
  margin-top:10px !important;
  padding-top:15px !important;
  border-top:1.5px solid var(--sc-line-2) !important;
  font-size:15px !important;
  font-weight:700 !important;
  color:var(--sc-ink) !important;
}
.mfn-cart-holder .mfn-chft-row.mfn-chft-total > .amount,
.mfn-cart-holder .mfn-chft-row.mfn-chft-total .woocommerce-Price-amount{
  font-size:23px !important;
  font-weight:800 !important;
  letter-spacing:-.02em;
  line-height:1.15;
}
.mfn-cart-holder .mfn-chft-row.mfn-chft-total small,
.mfn-cart-holder .mfn-chft-row.mfn-chft-total .includes_tax{
  display:block !important;
  margin-top:3px;
  font-size:11px !important;
  font-weight:400 !important;
  color:var(--sc-faint) !important;
  white-space:nowrap;
  text-align:right;
}
.mfn-cart-holder .mfn-chft-row.mfn-chft-total small .amount{
  font-size:11px !important;
  font-weight:600 !important;
  color:var(--sc-faint) !important;
  letter-spacing:normal !important;
}

/* --- Gombok --- */
.mfn-cart-holder .mfn-ch-footer-buttons{ margin:0 !important; padding:0 !important; }

.mfn-cart-holder .mfn-ch-footer-buttons a.button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:54px !important;
  margin:0 !important;
  padding:16px 22px !important;

  background:#fff !important;
  background-image:linear-gradient(var(--mk-ui-purchase,#d92d32),var(--mk-ui-purchase,#d92d32)) !important;
  background-repeat:no-repeat !important;
  background-position:left center !important;
  background-size:0% 100% !important;
  color:var(--mk-ui-purchase,#d92d32) !important;
  border:2px solid var(--mk-ui-purchase,#d92d32) !important;
  border-radius:10px !important;

  font-size:15.5px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  letter-spacing:normal !important;
  text-transform:none !important;
  text-decoration:none !important;
  text-shadow:none !important;
  box-shadow:none !important;

  transition:background-size .28s cubic-bezier(.22,.61,.36,1),color .18s ease,transform .07s ease !important;
}
/* Disable the parent theme's independent hover overlay on this button. */
.mfn-cart-holder .mfn-ch-footer-buttons a.button::after{content:none !important}
@media (hover:hover) and (pointer:fine){
  .mfn-cart-holder .mfn-ch-footer-buttons a.button:hover{
    background-size:100% 100% !important;
    color:#fff !important;
    box-shadow:none !important;
  }
}
.mfn-cart-holder .mfn-ch-footer-buttons a.button:focus-visible{
  background-size:100% 100% !important;
  color:#fff !important;
  outline:2px solid var(--mk-ui-purchase,#d92d32) !important;
  outline-offset:3px;
}
.mfn-cart-holder .mfn-ch-footer-buttons a.button:active{transform:translateY(1px)}

.mfn-cart-holder .mfn-ch-footer-links{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px;
  margin-top:14px !important;
}
.mfn-cart-holder .mfn-ch-footer .mfn-ch-footer-buttons a:not(.button){
  display:inline-flex !important;
  align-items:center; gap:5px;
  padding:6px 2px;
  font-size:13px !important;
  font-weight:500 !important;
  color:var(--sc-muted) !important;
  transition:color .14s ease;
}
.mfn-cart-holder .mfn-ch-footer .mfn-ch-footer-buttons a:not(.button):hover{
  color:var(--sc-brand) !important;
}
.mfn-cart-holder .mfn-ch-footer-links .icon-left-open-mini{ font-size:11px; }

/* ======================================================================
   MOBIL
   ====================================================================== */
@media (max-width:520px){
  .mfn-cart-holder{
    --sc-pad:16px;
    width:100vw !important;
  }
  .mfn-cart-holder .mfn-ch-product{
    grid-template-columns:68px minmax(0,1fr);
    grid-template-areas:
      "img info"
      "img price"
      "foot foot";
    gap:3px 13px;
  }
  .mfn-cart-holder .mfn-chp-image{ width:68px !important; height:68px !important; }
  .mfn-cart-holder .mfn-chp-price{ text-align:left !important; margin-top:4px; }
  .mfn-cart-holder .mfn-chp-price .tax_label{ display:inline !important; margin-left:5px; }
  .mfn-cart-holder .mfn-chp-footer{
    margin:13px -10px 0 !important;
    padding-bottom:6px !important;
  }
  .mfn-cart-holder .mfn-ch-header h3{ font-size:17px !important; }
}

@media (prefers-reduced-motion:reduce){
  .mfn-cart-holder *{ transition:none !important; }
  .mfn-cart-holder .mfn-ch-product:hover .mfn-chp-image img{ transform:none; }
}

/* Product Bundles child rows: only the bundle container is removable. */
.mfn-cart-holder .mfn-ch-product.mk-sc-bundle-child .mfn-chp-remove.mk-sc-bundle-locked{
  display:inline-flex !important;
  padding:0 !important;
  align-items:center;
  gap:6px;
  color:var(--sc-faint) !important;
  cursor:default !important;
  pointer-events:none !important;
  text-decoration:none !important;
}
.mfn-cart-holder .mfn-ch-product.mk-sc-bundle-child .mfn-chp-remove.mk-sc-bundle-locked::before{
  content:"\1F512";
  font-size:11px;
  line-height:1;
  opacity:.72;
}
.mfn-cart-holder .mfn-ch-product.mk-sc-bundle-child .mfn-chp-quantity{
  color:var(--sc-muted) !important;
}
.mfn-cart-holder .mfn-ch-product.mk-sc-bundle-child .mk-bundle-child-quantity{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  width:126px !important;
  min-width:126px !important;
  height:40px !important;
  margin:0 !important;
  padding:0 14px !important;
  border:1px solid var(--sc-line-2) !important;
  border-radius:9px !important;
  background:var(--sc-bg) !important;
  color:var(--sc-ink) !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1 !important;
  font-variant-numeric:tabular-nums;
}
.mfn-cart-holder .mfn-ch-product.mk-sc-bundle-child .mk-bundle-child-quantity::after{
  content:" db";
  margin-left:4px;
  color:var(--sc-muted);
  font-size:12px;
  font-weight:600;
}
