/* ============================================================
   MasterKeys Custom Cart
   ============================================================ */

/* BeTheme sticky / overflow javitas a kosar oldalon */
body.woocommerce-cart .mcb-section,
body.woocommerce-cart .mcb-wrap,
body.woocommerce-cart .mcb-column,
body.woocommerce-cart .column_attr,
body.woocommerce-cart #Content,
body.woocommerce-cart .content_wrapper,
body.woocommerce-cart .sections_group {
  overflow: visible !important;
}

/* --- WooCommerce Price Fix --- */
.mk-cart-page .woocommerce-Price-amount,
.mk-cart-page .woocommerce-Price-amount bdi,
.mk-cart-page .woocommerce-Price-currencySymbol {
  display: inline-block !important;
  white-space: nowrap !important;
  line-height: inherit !important;
  margin: 0 !important;
  font-size: inherit !important;
}

.mk-cart-page,
.mk-cart-page * {
  box-sizing: border-box;
}

.mk-cart-page {
  --mk-cart-control-radius: 12px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 0 56px;
  color: #111827;
}

/* ---------- Fejlec ---------- */
.mk-cart-head {
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
  padding: 34px 38px;
  border-radius: 22px;
  background:
    radial-gradient(130% 150% at 100% 0%, rgba(255, 17, 0, .18), transparent 55%),
    linear-gradient(135deg, #000f2a 0%, #061b45 60%, #0b1a30 100%);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(6, 27, 69, .28);
}

.mk-cart-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ff1100;
}

.mk-cart-head h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 700;
  color: #ffffff;
}

.mk-cart-head p {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
}

/* ---------- Elrendezes ---------- */
.mk-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

.mk-cart-main {
  min-width: 0;
}

.mk-cart-item,
.mk-cart-summary-box,
.mk-cart-empty,
.mk-cart-rec-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 4px 20px -12px rgba(11, 26, 54, .13);
}

.mk-cart-intro {
  padding: 0 2px 14px;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.mk-cart-intro > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.mk-cart-intro h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #0b1a36;
}

.mk-cart-summary-box h2,
.mk-cart-empty h2,
.mk-cart-section-title h2 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
}

.mk-cart-intro p,
.mk-cart-section-title p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

/* ---------- Termek tetelek ---------- */
.mk-cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mk-cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.mk-cart-item:hover {
  border-color: #dbe0e7;
  box-shadow: 0 6px 24px -16px rgba(11, 26, 54, .22);
}

.mk-cart-item-image {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  background: #f5f6f8;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.mk-cart-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mk-cart-item-content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(135px, max-content);
  gap: 20px;
  align-items: center;
}

.mk-cart-item-info {
  min-width: 0;
}

.mk-cart-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  color: #0b1a36;
  overflow-wrap: anywhere;
}

.mk-cart-item h3 a {
  color: inherit;
  text-decoration: none;
}

.mk-cart-item h3 a:hover {
  color: #ff1100;
}

.mk-cart-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.mk-cart-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}

.mk-cart-variation-data {
  margin: 8px 0 12px;
  font-size: 13px;
  color: #6b7280;
}

.mk-cart-variation-data dl,
.mk-cart-variation-data dt,
.mk-cart-variation-data dd,
.mk-cart-variation-data p {
  margin: 0;
}

/* ---------- Mennyiség (Erőszakos felülírás a téma ellen) ---------- */
.mk-cart-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mk-cart-qty {
  display: inline-grid;
  grid-template-columns: 38px 48px 38px;
  align-items: center;
  height: 46px;
  border: 1px solid #d1d5db !important;
  border-radius: var(--mk-cart-control-radius) !important;
  overflow: hidden;
  background: #ffffff !important;
}

.mk-cart-page .mk-cart-qty input.qty {
  width: 48px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: center !important;
  outline: 0 !important;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.mk-cart-page .mk-cart-qty input.qty::-webkit-inner-spin-button,
.mk-cart-page .mk-cart-qty input.qty::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.mk-cart-page .mk-qty-btn {
  width: 38px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.mk-cart-page .mk-qty-btn:hover {
  background: #000f2a !important;
  color: #ffffff !important;
}

.mk-cart-remove {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #778197;
  text-decoration: none;
  transition: color .15s ease;
}

.mk-cart-remove svg {
  width: 15px;
  height: 15px;
}

.mk-cart-remove:hover {
  color: #c62d24;
  background: #fff3f1;
}

.mk-cart-bundle-child-lock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #e1e6ee;
  border-radius: 999px;
  background: #f7f9fc;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.mk-cart-bundle-child-lock svg {
  width: 14px;
  height: 14px;
  color: #98a2b3;
}

.mk-cart-item-price {
  text-align: right;
}

.mk-cart-item-price-label {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.mk-cart-item-price-total {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.mk-cart-item-price-unit {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #6b7280;
  white-space: nowrap;
}

/* ---------- Also gombsor ---------- */
.mk-cart-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.mk-cart-page .mk-cart-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  min-height: 46px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.mk-cart-btn svg {
  width: 17px;
  height: 17px;
}

.mk-cart-page .mk-cart-btn-primary {
  background: #00B359 !important; 
  color: #ffffff !important; 
  box-shadow: none !important;
  margin-top: 22px !important;
}

.mk-cart-page .mk-cart-btn-primary:hover {
  background: #00B340 !important; 
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(11, 26, 54, .28) !important;
}

.mk-cart-page .mk-cart-btn-light {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  box-shadow: none !important;
}

.mk-cart-page .mk-cart-btn-light:hover {
  background: #f9fafb !important;
  color: #111827 !important;
  border-color: #c3c9d2 !important;
}

.mk-cart-page .mk-cart-update {
  background: #f3f4f6 !important;
  color: #9ca3af !important;
  border: 1px solid #e5e7eb !important;
  cursor: default !important;
}

.mk-cart-page .mk-cart-update:hover {
  background: #f3f4f6 !important;
  color: #9ca3af !important;
}

.mk-cart-page button.mk-cart-update:disabled {
  opacity: 1;
}

.mk-cart-page button.mk-cart-update.mk-cart-update-needed {
  background: #000f2a !important;
  color: #ffffff !important;
  border-color: #000f2a !important;
  cursor: pointer !important;
}

.mk-cart-page button.mk-cart-update.mk-cart-update-needed:hover {
  background: #061b45 !important;
  color: #ffffff !important;
}

/* ---------- Osszegzes ---------- */
.mk-cart-summary {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow: auto;
  scrollbar-width: thin;
}

.mk-cart-summary-box {
  padding: 24px;
}

.mk-cart-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 18px;
}

.mk-cart-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: #4b5563;
}

.mk-cart-summary-line strong {
  color: #111827;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.mk-cart-green {
  color: #16a34a !important;
}

.mk-cart-summary-discount strong {
  color: #16a34a;
}

.mk-cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
  color: #111827;
}

.mk-cart-summary-total .mk-cart-summary-total-label {
  font-size: 15px;
  font-weight: 700;
}

.mk-cart-summary-total .mk-cart-summary-total-price {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
  color: #111827;
  text-align: right;
  white-space: nowrap;
}

.mk-cart-checkout-btn {
  width: 100% !important;
  margin-top: 22px !important;
}

/* ---------- Kupon (Erőszakos felülírás a téma ellen) ---------- */
.mk-cart-coupon {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.mk-cart-coupon label {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.mk-cart-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center; /* Ez gátolja meg, hogy a gomb kinyúljon */
}

.mk-cart-page .mk-cart-coupon input {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border: 1px solid #d1d5db !important;
  border-radius: var(--mk-cart-control-radius) !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.mk-cart-page .mk-cart-coupon input:focus {
  outline: 0 !important;
  border-color: #000f2a !important;
  box-shadow: 0 0 0 3px rgba(0, 15, 42, .08) !important;
}

.mk-cart-page .mk-cart-coupon-btn {
  height: 48px !important;
  min-height: 48px !important;
  min-width: 112px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #000f2a !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background .18s ease;
}

.mk-cart-page .mk-cart-coupon-btn:hover {
  background: #061b45 !important;
  color: #ffffff !important;
}

/* ---------- Bizalmi blokk ---------- */
.mk-cart-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.mk-cart-trust-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.mk-cart-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(0, 15, 42, .06);
  color: #000f2a;
}

.mk-cart-trust-icon svg {
  width: 20px;
  height: 20px;
}

.mk-cart-trust-text strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.mk-cart-trust-text span {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: #6b7280;
}

/* ---------- Ajanlott termekek ---------- */
.mk-cart-recommend {
  margin-top: 44px;
}

.mk-cart-section-title {
  margin-bottom: 14px;
}

.mk-cart-rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mk-cart-rec-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 10px; /* Ezzel lesz kerete a belsejének */
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mk-cart-rec-card:hover {
  border-color: #dbe0e7;
  box-shadow: 0 14px 34px rgba(17, 24, 39, .09);
  transform: translateY(-2px);
}

.mk-cart-rec-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: #e5e7eb; /* Kép mögötti szürke háttér */
  border-radius: 10px;
  padding: 15px;
}

.mk-cart-rec-image img {
  display: block;
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; /* Ha véletlen nem átlátszó a kép háttere, ez segít eltüntetni */
}

/* Százalékos plecsni */
.mk-cart-rec-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #7a1d27; /* Mélyvörös, mint a képen */
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  line-height: 1;
}

.mk-cart-rec-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 4px 4px 4px; /* Kisebb belső margók, hogy elférjen */
}

/* Kategória felirat */
.mk-cart-rec-category {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 5px;
}

.mk-cart-rec-body h3 {
  margin: 0 0 10px;
  min-height: 38px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #000f2a;
}

.mk-cart-rec-body h3 a {
  color: inherit;
  text-decoration: none;
}

.mk-cart-rec-body h3 a:hover {
  color: #ff1100;
}

/* Árak (áthúzott és új) */
.mk-cart-rec-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.mk-cart-page .mk-cart-rec-price del,
.mk-cart-page .mk-cart-rec-price del .amount,
.mk-cart-page .mk-cart-rec-price del bdi {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #9ca3af !important;
  text-decoration: line-through !important;
}

.mk-cart-page .mk-cart-rec-price ins,
.mk-cart-page .mk-cart-rec-price ins .amount,
.mk-cart-page .mk-cart-rec-price ins bdi {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #ff1100 !important; /* Maradtam a te pirosadnál, hogy üssön */
  text-decoration: none !important;
}

/* Azonnali kézbesítés ikon és szöveg */
.mk-cart-rec-features {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 14px;
}

.mk-cart-rec-features svg {
  width: 14px;
  height: 14px;
  color: #16a34a; /* Zöld villám */
}

/* Vásárlás gomb */
.mk-cart-rec-actions {
  margin-top: auto;
}

.mk-cart-page .mk-cart-rec-btn-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important; /* Teljes szélességű gomb */
  min-height: 42px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background: #34a853 !important; /* Zöld szín, mint az általad küldött képen */
  color: #ffffff !important;
  border: 0 !important;
  transition: background .18s ease, transform .18s ease !important;
}

.mk-cart-page .mk-cart-rec-btn-primary:hover {
  background: #2b8b45 !important; /* Sötétebb zöld hoverre */
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.mk-cart-page .mk-cart-rec-btn-secondary {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
}

.mk-cart-page .mk-cart-rec-btn-secondary:hover {
  background: #f9fafb !important;
  color: #111827 !important;
  border-color: #c3c9d2 !important;
}

/* ---------- Ures kosar ---------- */
.mk-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(48px, 6vw, 80px) 34px;
}

.mk-cart-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
  border-radius: 24px;
  background: #f5f6f8;
  color: #c3c9d2;
}

.mk-cart-empty-icon svg {
  width: 46px;
  height: 46px;
}

.mk-cart-empty h2 {
  margin: 0 0 10px !important;
  font-size: clamp(22px, 2.4vw, 28px) !important;
}

.mk-cart-empty p {
  margin: 0 auto 4px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
}

/* A globalis mk-cart-btn-primary 45px felso margot ad, itt kevesebb kell */
.mk-cart-page .mk-cart-empty-btn {
  margin-top: 26px !important;
}

/* Ures kosarnal az ajanlas kozvetlenul a blokk alatt */
.mk-cart-empty + .mk-cart-recommend {
  margin-top: 34px;
}

/* ---------- WooCommerce ertesitesek ---------- */
.mk-cart-page .woocommerce-error,
.mk-cart-page .woocommerce-info,
.mk-cart-page .woocommerce-message {
  margin-bottom: 18px;
  border-radius: 12px;
}

/* ---------- Reszponziv ---------- */
@media (max-width: 1100px) {
  .mk-cart-layout {
    grid-template-columns: 1fr;
  }

  .mk-cart-summary {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .mk-cart-page {
    padding: 12px 0 42px;
  }

  .mk-cart-head {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .mk-cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  .mk-cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 12px;
  }

  .mk-cart-item-content {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mk-cart-item-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
    text-align: left;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1px dashed #eef0f3;
  }

  .mk-cart-item-price-label {
    margin-bottom: 0;
  }

  .mk-cart-item-price-unit {
    margin-top: 0;
    margin-left: auto;
  }

  .mk-cart-bottom-actions {
    flex-direction: column;
  }

  .mk-cart-bottom-actions .mk-cart-btn {
    width: 100% !important;
  }

  .mk-cart-rec-grid {
    grid-template-columns: 1fr;
  }

  .mk-cart-coupon-row {
    grid-template-columns: 1fr;
  }

  .mk-cart-coupon-btn {
    width: 100% !important;
  }

  .mk-cart-summary-total .mk-cart-summary-total-price {
    font-size: 23px;
  }

  .mk-cart-empty {
    padding: 44px 20px;
  }

  .mk-cart-empty-icon {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .mk-cart-empty-icon svg {
    width: 38px;
    height: 38px;
  }

  .mk-cart-page .mk-cart-empty-btn {
    width: 100% !important;
  }
}

/* BeTheme ne rejtse el az egyedi kosarat üres kosárnál */
body.woocommerce-cart
.mfn-cart-tmpl-empty
.mcb-section:has(.mk-cart-page) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 1px !important;
}

/* A környező BeTheme elemek magasságának helyreállítása */
body.woocommerce-cart .mfn-cart-tmpl-empty,
body.woocommerce-cart .mfn-cart-tmpl-empty .entry-content,
body.woocommerce-cart .mfn-cart-tmpl-empty .sections_group,
body.woocommerce-cart .mfn-cart-tmpl-empty .content_wrapper {
    height: auto !important;
    min-height: 1px !important;
    overflow: visible !important;
}

/* Read-only quantity offers and quiet bundle contents. */
.mk-cart-page .mk-cart-item--bundle-child {
  background: #f8fafc;
  box-shadow: none;
}
.mk-cart-page .mk-cart-item--bundle-child h3 { color: #65738a; font-size: 14px; }
.mk-cart-page .mk-cart-item--bundle-child .mk-cart-item-image img { opacity: .78; }
.mk-cart-page .mk-cart-volume {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid #e5ebf1;
}
.mk-cart-page .mk-cart-volume-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 10px;
}
.mk-cart-page .mk-cart-volume-head h4 {
  margin: 0;
  color: #285a85;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0;
}
.mk-cart-page .mk-cart-volume-status { color: #65738a; font-size: 11px; line-height: 1.5; }
.mk-cart-page .mk-cart-volume-status.is-applied { color: #17643a; font-weight: 600; }
.mk-cart-page .mk-cart-volume-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-cart-page .mk-cart-volume-tiers li {
  display: flex;
  flex: 1 1 92px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dce5ee;
  border-radius: 10px;
  background: #f8fafc;
  color: #53647a;
  font-size: 12px;
  line-height: 1.4;
}
.mk-cart-page .mk-cart-volume-tiers li strong { color: #285a85; font-size: 14px; font-weight: 700; white-space: nowrap; }
.mk-cart-page .mk-cart-volume-tiers li.is-active { border-color: #9bc9ac; background: #eff8f2; color: #17643a; }
.mk-cart-page .mk-cart-volume-tiers li.is-active strong { color: #17643a; }
.mk-cart-page :is(a,button,input):focus-visible { outline: 2px solid #285a85; outline-offset: 3px; }
@media(max-width:480px) {
  .mk-cart-item { grid-template-columns: 56px minmax(0,1fr); gap: 12px; padding: 14px; }
  .mk-cart-item-image { width: 56px; height: 56px; }
  .mk-cart-item h3 { font-size: 14px; }
  .mk-cart-item-price-unit { flex-basis: 100%; margin-left: 0; white-space: normal; }
  .mk-cart-tags span { padding: 3px 7px; font-size: 10px; }
  .mk-cart-summary-box { padding: 20px; }
  .mk-cart-volume-tiers li { flex-basis: 105px; }
}
@media(prefers-reduced-motion:reduce) {
  .mk-cart-page .mk-cart-item,.mk-cart-page .mk-cart-btn { transition: none; }
  .mk-cart-page .mk-cart-btn-primary:hover { transform: none; }
}
