
:root{
  --mk-bg: linear-gradient(180deg, #f8fbff 0%, #fdfefe 42%, #ffffff 100%);
  --mk-card: rgba(255,255,255,0.94);
  --mk-text: #0f172a;
  --mk-muted: #475569;
  --mk-line: rgba(15,23,42,0.10);
  --mk-line-strong: rgba(15,23,42,0.16);
  --mk-shadow: 0 20px 48px rgba(15,23,42,0.10);
  --mk-c1: #2563eb;
  --mk-c2: #dc2626;
  --mk-c3: #16a34a;
  --mk-c4: #f59e0b;
  --mk-c5: #0ea5e9;
  --mk-soft-blue: #eff6ff;
  --mk-soft-red: #fef2f2;
  --mk-soft-green: #f0fdf4;
}

body.marketplace-light{
  background: var(--mk-bg) !important;
  color: var(--mk-text);
}

body.marketplace-light #menu-dropdown{
  background: rgba(255,255,255,0.97) !important;
  border: 1px solid var(--mk-line) !important;
  box-shadow: 0 18px 40px rgba(15,23,42,0.10);
}
body.marketplace-light #menu-dropdown a,
body.marketplace-light #menu-dropdown button,
body.marketplace-light #menu-dropdown p{ color: var(--mk-text) !important; }
body.marketplace-light #menu-dropdown a:hover{ background: rgba(37,99,235,0.06) !important; }
body.marketplace-light #menu-btn{
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid var(--mk-line) !important;
  color: var(--mk-text) !important;
}

.mk-wrap{ background: transparent; }

.mk-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 15px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
  color: var(--mk-text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mk-chip:hover{ transform: translateY(-1px); box-shadow: 0 16px 34px rgba(15,23,42,0.12); border-color: var(--mk-line-strong); }
.mk-chip .mk-ico{ width:18px; height:18px; flex:0 0 auto; }
.mk-chip.is-neon{
  border-color: rgba(37,99,235,0.18);
  box-shadow: 0 16px 36px rgba(37,99,235,0.12), 0 0 0 5px rgba(37,99,235,0.06);
}
.mk-chip.is-neon::after{ display:none; }

@keyframes mkFloat{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-2px);} }
.mk-float{ animation: mkFloat 2.8s ease-in-out infinite; }

.mk-grid{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px; }
@media (min-width: 768px){ .mk-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap:14px; } }

.mk-card{
  border-radius: 30px;
  border: 1px solid rgba(15,23,42,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92));
  box-shadow: 0 18px 44px rgba(15,23,42,0.10);
}
.mk-card .mk-img{
  width: 120px; height: 120px; border-radius: 24px; object-fit: cover;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 12px 30px rgba(15,23,42,0.10);
}
@media (min-width: 768px){ .mk-card .mk-img{ width: 140px; height: 140px; } }

.mk-cta{
  border-radius: 18px;
  font-weight: 900;
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
  background: linear-gradient(135deg, var(--mk-c1), var(--mk-c2) 52%, var(--mk-c3));
  box-shadow: 0 18px 40px rgba(37,99,235,0.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.mk-cta:hover{ transform: translateY(-1px); box-shadow: 0 24px 50px rgba(37,99,235,0.22); }
.mk-line{ border: 1px solid var(--mk-line); }

.mk-premium-shell{
  background:
    radial-gradient(900px 360px at top left, rgba(37,99,235,0.10), transparent 58%),
    radial-gradient(700px 300px at top right, rgba(220,38,38,0.08), transparent 52%),
    radial-gradient(700px 320px at bottom left, rgba(22,163,74,0.08), transparent 56%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.mk-premium-hero{
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,0.65);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88)),
    linear-gradient(135deg, rgba(37,99,235,0.08), rgba(220,38,38,0.07), rgba(22,163,74,0.07));
  box-shadow: 0 24px 60px rgba(15,23,42,0.12);
}
.mk-premium-hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(320px 180px at 12% 0%, rgba(37,99,235,0.12), transparent 65%),
    radial-gradient(320px 180px at 90% 0%, rgba(220,38,38,0.10), transparent 65%),
    radial-gradient(280px 180px at 30% 100%, rgba(22,163,74,0.10), transparent 65%);
  pointer-events:none;
}
.mk-premium-banner{
  min-height: 190px;
  position: relative;
  background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(255,255,255,0.55), rgba(220,38,38,0.12), rgba(22,163,74,0.14));
}
.mk-premium-badge{
  display:inline-flex; align-items:center; gap:8px;
  border-radius: 999px; padding: 10px 14px; font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mk-text); border: 1px solid rgba(15,23,42,0.08); background: rgba(255,255,255,0.82); box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}
.mk-premium-badge.is-blue{ background: var(--mk-soft-blue); color:#1d4ed8; border-color: rgba(37,99,235,0.16); }
.mk-premium-badge.is-red{ background: var(--mk-soft-red); color:#b91c1c; border-color: rgba(220,38,38,0.14); }
.mk-premium-badge.is-green{ background: var(--mk-soft-green); color:#15803d; border-color: rgba(22,163,74,0.14); }

.mk-stat-card{
  border-radius: 24px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.84);
  padding: 18px;
  box-shadow: 0 14px 34px rgba(15,23,42,0.08);
}
.mk-soft-panel{
  border-radius: 30px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 42px rgba(15,23,42,0.08);
}
.mk-soft-input{
  height: 52px; width: 100%; border-radius: 18px; border: 1px solid rgba(15,23,42,0.08);
  background: #fff; color: var(--mk-text); padding: 0 16px; outline:none; box-shadow: inset 0 1px 2px rgba(15,23,42,0.03);
}
.mk-soft-input::placeholder{ color:#64748b; }
.mk-soft-input:focus{ border-color: rgba(37,99,235,0.26); box-shadow: 0 0 0 4px rgba(37,99,235,0.10); }
.mk-soft-btn{
  border-radius: 18px; border: 1px solid rgba(220,38,38,0.14); background: var(--mk-soft-red); color:#b91c1c; font-weight:900;
}

.mk-section-title{ color: var(--mk-text); font-weight: 900; letter-spacing: -.02em; }
.mk-section-kicker{ font-size:11px; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }

body.marketplace-light .text-neutral-200,
body.marketplace-light .text-neutral-800,
body.marketplace-light .text-slate-200,
body.marketplace-light .text-slate-300,
body.marketplace-light .text-slate-400{ color: inherit; }

/* Contraste global: não sobrescreva texto branco em botões e áreas escuras */
body.marketplace-light .text-white{ color:#fff !important; }
body.marketplace-light .bg-neutral-950,
body.marketplace-light .bg-slate-950,
body.marketplace-light .bg-black,
body.marketplace-light .mk-cta,
body.marketplace-light .mk-food-add-btn,
body.marketplace-light .mk-food-stepper-plus,
body.marketplace-light .mk-cart-fab,
body.marketplace-light .mk-cart-fab-open{
  color:#fff !important;
}
body.marketplace-light button,
body.marketplace-light a,
body.marketplace-light input,
body.marketplace-light select,
body.marketplace-light textarea,
body.marketplace-light label{
  -webkit-text-fill-color: currentColor;
}
body.marketplace-light .mk-soft-btn,
body.marketplace-light .mk-food-clear-btn,
body.marketplace-light .mk-food-back,
body.marketplace-light .mk-cart-drawer-close{
  color:#0f172a !important;
}
body.marketplace-light .mk-food-price,
body.marketplace-light .mk-food-card-title,
body.marketplace-light .mk-cart-drawer-title,
body.marketplace-light .mk-section-title,
body.marketplace-light h1,
body.marketplace-light h2,
body.marketplace-light h3,
body.marketplace-light h4,
body.marketplace-light h5,
body.marketplace-light h6{
  color:#0f172a;
}
body.marketplace-light p,
body.marketplace-light span,
body.marketplace-light small,
body.marketplace-light li,
body.marketplace-light td,
body.marketplace-light th,
body.marketplace-light div{
  border-color: inherit;
}

body.marketplace-light footer{
  background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
  border-top: 1px solid var(--mk-line) !important;
}
body.marketplace-light footer a{ color: var(--mk-text) !important; }
body.marketplace-light footer a:hover{ opacity: .85; }
body.marketplace-light footer p{ color: rgba(15,23,42,0.70) !important; }


.mk-card-premium{
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(15,23,42,0.07);
  background:
    radial-gradient(180px 120px at top right, rgba(37,99,235,0.08), transparent 70%),
    radial-gradient(180px 120px at bottom left, rgba(22,163,74,0.06), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
  box-shadow: 0 22px 52px rgba(15,23,42,0.09);
}
.mk-card-premium::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 35%, rgba(220,38,38,0.04) 70%, transparent 100%);
}
.mk-card-premium .mk-img{
  width: 124px;
  height: 124px;
  border-radius: 28px;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 16px 36px rgba(15,23,42,0.10);
}


.mk-food-page{
  background:
    radial-gradient(720px 260px at top left, rgba(37,99,235,0.10), transparent 55%),
    radial-gradient(720px 260px at top right, rgba(239,68,68,0.10), transparent 55%),
    linear-gradient(180deg, #fff9f8 0%, #ffffff 30%, #ffffff 100%);
}
.mk-food-hero{
  position:relative; overflow:hidden; min-height:148px; border-radius:32px;
  border:1px solid rgba(15,23,42,0.08); background:#fff; box-shadow:0 24px 60px rgba(15,23,42,0.10);
}
.mk-food-hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.92) 45%, rgba(255,255,255,0.72) 100%), linear-gradient(135deg, rgba(37,99,235,0.18), rgba(239,68,68,0.16), rgba(34,197,94,0.14));
}
.mk-food-back{display:inline-flex; align-items:center; gap:8px; height:42px; padding:0 16px; border-radius:999px; background:#fff; color:#0f172a; font-weight:900; border:1px solid rgba(15,23,42,0.08); box-shadow:0 10px 28px rgba(15,23,42,0.08);}
.mk-food-logo-wrap{width:68px; height:68px; overflow:hidden; border-radius:24px; border:3px solid rgba(255,255,255,0.95); background:#fff; box-shadow:0 18px 40px rgba(15,23,42,0.14); flex:0 0 auto;}
.mk-food-title{font-size:clamp(1.6rem,2.7vw,2.35rem); line-height:1; font-weight:900; color:#0f172a; letter-spacing:-0.04em;}
.mk-food-type{color:#334155; font-size:.88rem; font-weight:800;}
.mk-food-address{color:#475569; font-size:.95rem; max-width:60ch;}
.mk-food-pill{display:inline-flex; align-items:center; padding:9px 12px; border-radius:999px; font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; border:1px solid transparent; box-shadow:0 8px 22px rgba(15,23,42,0.05);}
.mk-food-pill.is-open{background:#ecfdf5; color:#15803d; border-color:rgba(34,197,94,.18);}
.mk-food-pill.is-closed{background:#fef2f2; color:#b91c1c; border-color:rgba(239,68,68,.16);}
.mk-food-pill.is-delivery{background:#eff6ff; color:#1d4ed8; border-color:rgba(37,99,235,.18);}
.mk-food-pill.is-soft{background:rgba(255,255,255,0.76); color:#334155; border-color:rgba(15,23,42,.08);}
.mk-food-toolbar{border-radius:24px; background:rgba(255,255,255,.92); border:1px solid rgba(15,23,42,0.08); box-shadow:0 16px 36px rgba(15,23,42,0.08); padding:14px 16px;}
.mk-food-search-wrap{position:relative;}
.mk-food-search-input{height:56px; width:100%; border-radius:20px; border:1px solid rgba(15,23,42,0.08); background:linear-gradient(180deg,#ffffff,#f8fafc); color:#0f172a; padding:0 18px; box-shadow:inset 0 1px 2px rgba(15,23,42,0.03); outline:none;}
.mk-food-search-input::placeholder{color:#64748b;}
.mk-food-search-input:focus{border-color:rgba(239,68,68,.22); box-shadow:0 0 0 4px rgba(239,68,68,.08);}
.mk-food-clear-btn{height:56px; padding:0 18px; border-radius:18px; border:1px solid rgba(15,23,42,0.08); background:#fff; color:#0f172a; font-weight:900;}
.mk-food-counter{display:inline-flex; align-items:center; justify-content:center; min-height:56px; padding:0 18px; border-radius:18px; background:linear-gradient(135deg,#111827,#ef4444,#2563eb); color:#fff; font-weight:900; box-shadow:0 18px 34px rgba(15,23,42,0.16);}
.mk-food-counter--soft{min-height:auto; padding:10px 16px; background:#fff; color:#0f172a; border:1px solid rgba(15,23,42,0.08); box-shadow:0 10px 26px rgba(15,23,42,0.08);}
.mk-food-kicker{font-size:11px; font-weight:900; letter-spacing:.18em; text-transform:uppercase; color:#dc2626;}
.mk-food-card{position:relative;}
.mk-food-card-inner{height:100%; border-radius:30px; border:1px solid rgba(15,23,42,0.07); background:linear-gradient(180deg,#ffffff,#fffefe); box-shadow:0 18px 44px rgba(15,23,42,0.09); padding:18px; transition:transform .2s ease, box-shadow .2s ease;}
.mk-food-card-inner:hover{transform:translateY(-2px); box-shadow:0 24px 54px rgba(15,23,42,0.12);}
.mk-food-card-title{font-size:1.2rem; line-height:1.15; font-weight:900; color:#0f172a; letter-spacing:-0.02em;}
.mk-food-card-desc{margin-top:8px; color:#475569; font-size:.95rem; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.mk-food-photo-wrap{position:relative;}
.mk-food-photo{width:112px; height:112px; border-radius:24px; object-fit:cover; border:1px solid rgba(15,23,42,0.06); box-shadow:0 12px 30px rgba(15,23,42,0.12); background:#f8fafc;}
.mk-food-photo--empty{display:flex; align-items:center; justify-content:center; color:#64748b; font-size:11px; font-weight:800;}
.mk-food-price{font-size:1.55rem; line-height:1; font-weight:900; color:#111827; letter-spacing:-0.03em;}
.mk-food-meta{margin-top:6px; color:#64748b; font-size:.8rem; font-weight:700;}
.mk-food-tag{display:inline-flex; align-items:center; padding:7px 10px; border-radius:999px; background:#eff6ff; color:#1d4ed8; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.12em;}
.mk-food-tag.is-green{background:#ecfdf5; color:#15803d;}
.mk-food-tag.is-gold{background:#fffbeb; color:#b45309;}
.mk-food-actions{display:flex; align-items:center; gap:10px;}
.mk-food-stepper{width:46px; height:46px; border-radius:18px; border:1px solid rgba(15,23,42,0.08); background:#fff; color:#0f172a; font-size:26px; font-weight:900; box-shadow:0 10px 22px rgba(15,23,42,0.08); cursor:pointer; transition:transform .16s ease, box-shadow .16s ease;}
.mk-food-stepper:hover{transform:translateY(-1px); box-shadow:0 14px 26px rgba(15,23,42,0.10);}
.mk-food-stepper-plus{background:linear-gradient(135deg,#dc2626,#2563eb,#16a34a); color:#fff; border-color:transparent;}
.mk-food-qty-form{display:flex; align-items:center;}
.mk-food-qty-input{width:58px; height:44px; border-radius:16px; border:1px solid rgba(15,23,42,0.08); background:#fff; color:#0f172a; text-align:center; font-weight:900; outline:none;}
.mk-food-cart-state{font-size:12px; font-weight:800; color:#475569;}
.mk-food-cart-state .js-qtd-badge{font-size:13px; color:#0f172a; font-weight:900;}
.mk-food-add-btn{height:46px; padding:0 18px; border-radius:16px; border:none; background:linear-gradient(135deg,#dc2626,#2563eb,#16a34a); color:#fff; font-weight:900; box-shadow:0 16px 32px rgba(37,99,235,0.18); cursor:pointer;}
.mk-food-receita{padding:12px 14px; border-radius:16px; background:#fffbeb; border:1px solid #fde68a; color:#92400e; font-size:12px; font-weight:800;}
@media (max-width: 767px){
  .mk-food-hero{min-height:132px; border-radius:26px;}
  .mk-food-logo-wrap{width:58px; height:58px; border-radius:18px;}
  .mk-food-card-inner{padding:16px;}
  .mk-food-photo{width:92px; height:92px; border-radius:22px;}
  .mk-food-actions{width:100%; justify-content:flex-end;}
}


.mk-animate-plus.is-pop,
.mk-food-stepper.is-pop,
.mk-food-add-btn.is-pop{
  animation: mkPopCart .28s ease-out;
}
@keyframes mkPopCart{
  0%{transform:scale(1);}
  40%{transform:scale(1.12);}
  100%{transform:scale(1);}
}

.mk-cart-fab{
  border-radius:20px;
  border:1px solid rgba(15,23,42,.96);
  background:#000;
  color:#fff;
  box-shadow:0 22px 55px rgba(2,6,23,.34);
  transition:transform .18s ease, box-shadow .18s ease;
}
.mk-cart-fab:hover{transform:translateX(-50%) translateY(-1px); box-shadow:0 28px 65px rgba(2,6,23,.42);}
.mk-cart-fab.is-bump{animation: mkFabPulse .3s ease-out;}
@keyframes mkFabPulse{0%{transform:translateX(-50%) scale(1);}50%{transform:translateX(-50%) scale(1.02);}100%{transform:translateX(-50%) scale(1);}}
.mk-cart-fab-icon{position:relative; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:16px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.05);}
.mk-cart-fab-label{font-size:10px; font-weight:900; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.64);}
.mk-cart-fab-open{display:inline-flex; align-items:center; justify-content:center; min-width:92px; padding:10px 16px; border-radius:14px; background:#111827; color:#fff; font-size:.92rem; font-weight:900; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);}
.mk-cart-count-bubble{position:absolute; top:-7px; right:-7px; min-width:24px; height:24px; padding:0 6px; border-radius:999px; background:#dc2626; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:900; border:2px solid #000; box-shadow:0 10px 22px rgba(220,38,38,.35);}

.mk-cart-drawer-overlay{position:fixed; inset:0; background:rgba(15,23,42,.48); backdrop-filter:blur(4px); z-index:70; opacity:0; transition:opacity .24s ease;}
.mk-cart-drawer-overlay.is-open{opacity:1;}
.mk-cart-drawer{position:fixed; top:0; right:0; width:min(100vw,460px); height:100vh; background:linear-gradient(180deg,#fff,#fff7f7); box-shadow:-24px 0 70px rgba(15,23,42,.22); z-index:75; transform:translateX(102%); transition:transform .26s ease; display:flex; flex-direction:column; border-left:1px solid rgba(15,23,42,.08);}
.mk-cart-drawer.is-open{transform:translateX(0);}
.mk-cart-drawer-header{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 18px 14px; border-bottom:1px solid rgba(15,23,42,.08); background:linear-gradient(135deg, rgba(255,255,255,.96), rgba(254,242,242,.96), rgba(239,246,255,.96));}
.mk-cart-drawer-kicker{font-size:10px; font-weight:900; letter-spacing:.18em; text-transform:uppercase; color:#dc2626;}
.mk-cart-drawer-title{font-size:1.3rem; font-weight:900; letter-spacing:-.03em; color:#0f172a;}
.mk-cart-drawer-close{display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:14px; border:1px solid rgba(15,23,42,.08); background:#fff; color:#0f172a; font-size:18px; font-weight:900; box-shadow:0 10px 24px rgba(15,23,42,.08);}
.mk-cart-drawer-body{flex:1; min-height:0; padding:0; background:transparent;}
.mk-cart-drawer-frame{width:100%; height:100%; border:0; background:#fff;}
body.mk-cart-drawer-open{overflow:hidden;}

.mk-cart-page{background:radial-gradient(700px 240px at top left, rgba(37,99,235,.08), transparent 55%), radial-gradient(700px 240px at top right, rgba(239,68,68,.08), transparent 55%), linear-gradient(180deg,#fff8f8 0%,#fff 32%,#fff 100%);}
.mk-cart-page .rounded-\[22px\],
.mk-cart-page .rounded-\[24px\],
.mk-cart-page .rounded-\[26px\],
.mk-cart-page .rounded-\[28px\]{box-shadow:0 16px 38px rgba(15,23,42,.08);}

@media (max-width: 767px){
  .mk-cart-drawer{width:100vw;}
  .mk-cart-fab{bottom:12px;}
  .mk-cart-fab-open{min-width:84px;}
}


/* Ajustes extras de contraste */
.mk-food-cart-state{color:#334155;}
.mk-food-cart-state .js-qtd-badge{color:#111827 !important;}
.mk-food-tag,
.mk-premium-badge,
.mk-food-pill,
.mk-food-counter--soft{filter:saturate(1.02);}
.js-card-status{color:#0f172a; background:#fff; border-color:rgba(15,23,42,.10);}
.js-card-status.text-red-700{color:#b91c1c !important; background:#fef2f2; border-color:rgba(220,38,38,.16);}
.js-card-status.text-green-700{color:#15803d !important; background:#ecfdf5; border-color:rgba(34,197,94,.18);}


.mk-compact-disclosure{border:1px solid rgba(15,23,42,0.08); border-radius:18px; background:#fff; overflow:hidden;}
.mk-compact-disclosure summary{list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; color:#0f172a; background:linear-gradient(180deg,#ffffff,#f8fafc);}
.mk-compact-disclosure summary::-webkit-details-marker{display:none;}
.mk-compact-disclosure summary::after{content:"+"; width:24px; height:24px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; background:#eef2ff; color:#1d4ed8; font-size:16px; font-weight:900; flex:0 0 auto;}
.mk-compact-disclosure[open] summary::after{content:"−"; background:#fee2e2; color:#b91c1c;}
.mk-compact-panel{padding:0 14px 14px;}
.mk-compact-disclosure--food{background:#ffffff; border-radius:18px;}
.mk-food-card-desc--full{display:block; overflow:visible; -webkit-line-clamp:unset; margin-top:0;}
.mk-card-premium .mk-compact-disclosure{margin-right:12px;}
@media (max-width: 767px){
  .mk-card-premium .mk-compact-disclosure{margin-right:0;}
}


/* =========================
   TEMA ESCURO DO MARKETPLACE
   ========================= */
body.marketplace-light.theme-dark{
  --mk-bg: linear-gradient(180deg, #0b1220 0%, #0f172a 45%, #111827 100%);
  --mk-card: rgba(15,23,42,0.92);
  --mk-text: #f8fafc;
  --mk-muted: #cbd5e1;
  --mk-line: rgba(148,163,184,0.18);
  --mk-line-strong: rgba(148,163,184,0.28);
  --mk-shadow: 0 22px 58px rgba(0,0,0,0.42);
  color: var(--mk-text) !important;
  background: var(--mk-bg) !important;
}
body.marketplace-light.theme-dark nav,
body.marketplace-light.theme-dark .nav-light{
  background: rgba(11,18,32,0.88) !important;
  border-color: rgba(148,163,184,0.14) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28) !important;
}
body.marketplace-light.theme-dark footer{
  background: linear-gradient(180deg, #0f172a, #0b1220) !important;
  border-top: 1px solid rgba(148,163,184,0.14) !important;
}
body.marketplace-light.theme-dark footer a,
body.marketplace-light.theme-dark footer p{ color:#e5e7eb !important; }
body.marketplace-light.theme-dark #menu-btn,
body.marketplace-light.theme-dark #menu-dropdown,
body.marketplace-light.theme-dark .mk-chip,
body.marketplace-light.theme-dark .mk-soft-panel,
body.marketplace-light.theme-dark .mk-card,
body.marketplace-light.theme-dark .mk-card-premium,
body.marketplace-light.theme-dark .mk-food-card,
body.marketplace-light.theme-dark .mk-food-hero,
body.marketplace-light.theme-dark .mk-premium-hero,
body.marketplace-light.theme-dark .mk-stat-card,
body.marketplace-light.theme-dark .mk-compact-disclosure,
body.marketplace-light.theme-dark .mk-cart-drawer,
body.marketplace-light.theme-dark .mk-cart-page .rounded-\[22px\],
body.marketplace-light.theme-dark .mk-cart-page .rounded-\[24px\],
body.marketplace-light.theme-dark .mk-cart-page .rounded-\[26px\],
body.marketplace-light.theme-dark .mk-cart-page .rounded-\[28px\]{
  background: linear-gradient(180deg, rgba(15,23,42,0.96), rgba(17,24,39,0.95)) !important;
  border-color: rgba(148,163,184,0.16) !important;
  box-shadow: 0 20px 54px rgba(0,0,0,0.34) !important;
}
body.marketplace-light.theme-dark .mk-premium-shell,
body.marketplace-light.theme-dark .mk-food-page,
body.marketplace-light.theme-dark .mk-cart-page{
  background:
    radial-gradient(720px 260px at top left, rgba(37,99,235,0.18), transparent 55%),
    radial-gradient(720px 260px at top right, rgba(239,68,68,0.14), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0f172a 38%, #111827 100%) !important;
}
body.marketplace-light.theme-dark .mk-food-hero-overlay,
body.marketplace-light.theme-dark .mk-premium-banner{
  background: linear-gradient(135deg, rgba(30,41,59,0.88), rgba(15,23,42,0.70), rgba(37,99,235,0.18), rgba(220,38,38,0.12)) !important;
}
body.marketplace-light.theme-dark .mk-soft-input,
body.marketplace-light.theme-dark input:not([type="checkbox"]):not([type="radio"]),
body.marketplace-light.theme-dark textarea,
body.marketplace-light.theme-dark select{
  background: rgba(15,23,42,0.92) !important;
  border-color: rgba(148,163,184,0.18) !important;
  color: #f8fafc !important;
}
body.marketplace-light.theme-dark .mk-soft-input::placeholder,
body.marketplace-light.theme-dark input::placeholder,
body.marketplace-light.theme-dark textarea::placeholder{ color:#94a3b8 !important; }
body.marketplace-light.theme-dark .mk-soft-input:focus,
body.marketplace-light.theme-dark input:focus,
body.marketplace-light.theme-dark textarea:focus,
body.marketplace-light.theme-dark select:focus{
  border-color: rgba(96,165,250,0.55) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.18) !important;
}
body.marketplace-light.theme-dark,
body.marketplace-light.theme-dark h1,
body.marketplace-light.theme-dark h2,
body.marketplace-light.theme-dark h3,
body.marketplace-light.theme-dark h4,
body.marketplace-light.theme-dark h5,
body.marketplace-light.theme-dark h6,
body.marketplace-light.theme-dark p,
body.marketplace-light.theme-dark span,
body.marketplace-light.theme-dark small,
body.marketplace-light.theme-dark li,
body.marketplace-light.theme-dark label,
body.marketplace-light.theme-dark td,
body.marketplace-light.theme-dark th,
body.marketplace-light.theme-dark strong,
body.marketplace-light.theme-dark a:not(.mk-cta):not(.mk-cart-fab-open){
  color:#f8fafc !important;
}
body.marketplace-light.theme-dark .text-neutral-900,
body.marketplace-light.theme-dark .text-neutral-800,
body.marketplace-light.theme-dark .text-slate-900,
body.marketplace-light.theme-dark .text-slate-800,
body.marketplace-light.theme-dark .text-slate-700,
body.marketplace-light.theme-dark .text-gray-900,
body.marketplace-light.theme-dark .text-gray-800,
body.marketplace-light.theme-dark .text-gray-700,
body.marketplace-light.theme-dark .mk-food-card-title,
body.marketplace-light.theme-dark .mk-food-price,
body.marketplace-light.theme-dark .mk-cart-drawer-title,
body.marketplace-light.theme-dark .mk-section-title,
body.marketplace-light.theme-dark .js-card-status{
  color:#f8fafc !important;
}
body.marketplace-light.theme-dark .text-slate-500,
body.marketplace-light.theme-dark .text-slate-600,
body.marketplace-light.theme-dark .text-gray-500,
body.marketplace-light.theme-dark .text-gray-600,
body.marketplace-light.theme-dark .mk-food-card-desc,
body.marketplace-light.theme-dark .mk-food-meta,
body.marketplace-light.theme-dark .mk-food-cart-state,
body.marketplace-light.theme-dark .mk-cart-fab-label{
  color:#cbd5e1 !important;
}
body.marketplace-light.theme-dark .mk-premium-badge,
body.marketplace-light.theme-dark .mk-food-pill,
body.marketplace-light.theme-dark .mk-food-tag,
body.marketplace-light.theme-dark .mk-food-counter--soft,
body.marketplace-light.theme-dark .js-card-status{
  background: rgba(30,41,59,0.86) !important;
  border-color: rgba(148,163,184,0.14) !important;
}
body.marketplace-light.theme-dark .mk-compact-disclosure summary{
  background: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(15,23,42,0.92)) !important;
  color:#f8fafc !important;
}
body.marketplace-light.theme-dark .mk-compact-disclosure summary::after{
  background:#1e293b !important;
  color:#93c5fd !important;
}
body.marketplace-light.theme-dark .mk-compact-panel{ color:#e5e7eb !important; }
body.marketplace-light.theme-dark .mk-cart-drawer-header{
  background: linear-gradient(135deg, rgba(15,23,42,0.98), rgba(30,41,59,0.96)) !important;
  border-bottom-color: rgba(148,163,184,0.14) !important;
}
body.marketplace-light.theme-dark .mk-cart-drawer-close{
  background:#0f172a !important;
  color:#fff !important;
  border-color: rgba(148,163,184,0.14) !important;
}
body.marketplace-light.theme-dark .mk-cart-drawer-frame{ background:#0f172a !important; }
body.marketplace-light.theme-dark .mk-cart-fab,
body.marketplace-light.theme-dark .mk-cart-fab-open,
body.marketplace-light.theme-dark .mk-food-add-btn,
body.marketplace-light.theme-dark .mk-food-stepper-plus,
body.marketplace-light.theme-dark .mk-cta{
  background:#000 !important;
  color:#fff !important;
  border-color: rgba(255,255,255,0.08) !important;
}
body.marketplace-light.theme-dark .mk-food-stepper-minus,
body.marketplace-light.theme-dark .mk-food-clear-btn,
body.marketplace-light.theme-dark .mk-soft-btn,
body.marketplace-light.theme-dark .mk-food-back{
  background:#1e293b !important;
  color:#f8fafc !important;
  border-color: rgba(148,163,184,0.16) !important;
}
body.marketplace-light.theme-dark .border-neutral-200,
body.marketplace-light.theme-dark .border-slate-200,
body.marketplace-light.theme-dark .border-gray-200,
body.marketplace-light.theme-dark .border-gray-100{
  border-color: rgba(148,163,184,0.14) !important;
}
body.marketplace-light.theme-dark .bg-white,
body.marketplace-light.theme-dark .bg-white\/95,
body.marketplace-light.theme-dark .bg-white\/90,
body.marketplace-light.theme-dark .bg-neutral-50,
body.marketplace-light.theme-dark .bg-slate-50,
body.marketplace-light.theme-dark .bg-gray-50{
  background: rgba(15,23,42,0.94) !important;
}
body.marketplace-light.theme-dark .shadow-sm,
body.marketplace-light.theme-dark .shadow,
body.marketplace-light.theme-dark .shadow-md,
body.marketplace-light.theme-dark .shadow-lg,
body.marketplace-light.theme-dark .shadow-xl{ box-shadow: 0 18px 40px rgba(0,0,0,0.24) !important; }
body.marketplace-light.theme-dark .mk-cart-count-bubble{ border-color:#0b1220 !important; }


/* Compactação e galeria dos produtos da loja/farmácia */
.mk-inline-compact-text{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  line-height:1.45;
  word-break:break-word;
}
.mk-inline-compact-text.is-expanded{
  display:block;
  -webkit-line-clamp:unset;
  overflow:visible;
}
.mk-inline-toggle{
  margin-top:6px;
  border:0;
  background:transparent;
  padding:0;
  font-size:12px;
  font-weight:900;
  color:#2563eb;
}
.body.theme-dark .mk-inline-toggle,
body.marketplace-light.theme-dark .mk-inline-toggle{color:#93c5fd;}
.mk-gallery-trigger{
  display:block;
  border:0;
  padding:0;
  background:transparent;
  border-radius:28px;
  overflow:hidden;
}
.mk-gallery-trigger .mk-img{transition:transform .22s ease, box-shadow .22s ease;}
.mk-gallery-trigger:hover .mk-img,
.mk-gallery-trigger:focus-visible .mk-img{transform:scale(1.03);}
.mk-product-quick-meta{display:flex; gap:8px; flex-wrap:wrap;}
.mk-product-chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 12px; border-radius:999px; font-size:11px; font-weight:900;
  background:#eff6ff; color:#1d4ed8; border:1px solid rgba(37,99,235,.12);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
button.mk-product-chip{cursor:pointer;}
.mk-product-chip-label{opacity:.78; letter-spacing:.02em;}
.mk-product-chip-value{font-weight:950;}
.mk-product-chip.is-blue{background:#eef2ff; color:#4338ca; border-color:rgba(79,70,229,.16);}
.mk-product-chip.is-red{background:#fef2f2; color:#b91c1c; border-color:rgba(220,38,38,.12);}
.mk-product-chip.is-green{background:#ecfdf5; color:#15803d; border-color:rgba(34,197,94,.18);}
.mk-product-chip.is-expanded{
  transform:translateY(-1px) scale(1.03);
  box-shadow:0 14px 30px rgba(15,23,42,.12);
  padding:11px 15px;
  font-size:12px;
}
.mk-gallery-modal{
  position:fixed; inset:0; z-index:90; display:flex; align-items:center; justify-content:center;
  padding:18px; background:rgba(2,6,23,.72); backdrop-filter:blur(8px);
}
.mk-gallery-modal.hidden{display:none;}
.mk-gallery-modal-dialog{
  width:min(100%,920px); max-height:min(92vh,860px); overflow:hidden;
  border-radius:30px; background:linear-gradient(180deg,#ffffff,#f8fafc); border:1px solid rgba(255,255,255,.4);
  box-shadow:0 28px 90px rgba(2,6,23,.35); display:flex; flex-direction:column;
}
.mk-gallery-modal-header{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 18px; border-bottom:1px solid rgba(15,23,42,.08);}
.mk-gallery-modal-title{font-size:1rem; font-weight:900; color:#0f172a;}
.mk-gallery-modal-close{width:42px; height:42px; border-radius:14px; border:1px solid rgba(15,23,42,.08); background:#fff; color:#0f172a; font-size:18px; font-weight:900;}
.mk-gallery-stage{position:relative; padding:16px; background:linear-gradient(180deg,#f8fafc,#eef2ff);}
.mk-gallery-slider{display:flex; transition:transform .25s ease; touch-action:pan-y;}
.mk-gallery-slide{min-width:100%; display:flex; align-items:center; justify-content:center;}
.mk-gallery-slide img{max-width:100%; max-height:68vh; border-radius:24px; object-fit:contain; background:#fff; box-shadow:0 20px 50px rgba(15,23,42,.16);}
.mk-gallery-nav{position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:999px; border:0; background:rgba(15,23,42,.75); color:#fff; font-size:20px; font-weight:900;}
.mk-gallery-nav.prev{left:14px;}
.mk-gallery-nav.next{right:14px;}
.mk-gallery-dots{display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 16px 18px;}
.mk-gallery-dot{width:10px; height:10px; border-radius:999px; background:#cbd5e1; border:0;}
.mk-gallery-dot.is-active{background:#0f172a; transform:scale(1.12);}
body.marketplace-light.theme-dark .mk-product-chip{background:rgba(30,41,59,.86); color:#e5e7eb; border-color:rgba(148,163,184,.14);}
body.marketplace-light.theme-dark .mk-product-chip.is-expanded{box-shadow:0 16px 30px rgba(2,6,23,.36);}
body.marketplace-light.theme-dark .mk-product-chip-label{opacity:.86;}
body.marketplace-light.theme-dark .mk-gallery-modal-dialog{background:linear-gradient(180deg,#0f172a,#111827); border-color:rgba(148,163,184,.16);}
body.marketplace-light.theme-dark .mk-gallery-modal-title,
body.marketplace-light.theme-dark .mk-gallery-modal-close{color:#f8fafc;}
body.marketplace-light.theme-dark .mk-gallery-modal-close{background:#111827; border-color:rgba(148,163,184,.16);}
body.marketplace-light.theme-dark .mk-gallery-stage{background:linear-gradient(180deg,#111827,#0f172a);}
body.marketplace-light.theme-dark .mk-gallery-dot{background:#334155;}
body.marketplace-light.theme-dark .mk-gallery-dot.is-active{background:#f8fafc;}
@media (max-width: 767px){
  .mk-gallery-modal{padding:10px;}
  .mk-gallery-modal-dialog{border-radius:24px;}
  .mk-gallery-slide img{max-height:58vh;}
}



.mk-store-toolbar{padding:12px 14px;}
.mk-store-toolbar-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(132px,.8fr);gap:10px;align-items:end;}
.mk-store-toolbar .mk-stat-card{padding:12px;}
.mk-store-toolbar .mk-soft-input{height:46px;border-radius:16px;padding:0 14px;font-size:.95rem;}
.mk-store-hero-badges{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;max-width:100%;overflow-x:auto;padding-bottom:2px;}
.mk-store-hero-badges .mk-premium-badge{white-space:nowrap;flex:0 0 auto;}

.mk-soft-select{
  appearance:none;
  background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.mk-store-catalog{ display:flex; flex-direction:column; gap:20px; }
.mk-category-group{ display:flex; flex-direction:column; gap:12px; }
.mk-category-header{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding:0 4px;
}
.mk-category-title{ font-size:1.05rem; font-weight:900; color:#0f172a; letter-spacing:-0.02em; }
.mk-category-count{
  display:inline-flex; align-items:center; border-radius:999px; padding:8px 12px;
  background:#fff; border:1px solid rgba(15,23,42,0.08); box-shadow:0 10px 24px rgba(15,23,42,0.06);
  font-size:12px; font-weight:800; color:#334155;
}
.mk-store-grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
@media (min-width: 1024px){ .mk-store-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; } }

.mk-store-card{
  border-radius:22px;
  padding:10px;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, border-radius .18s ease, padding .18s ease;
}
.mk-store-card .mk-store-card-head{align-items:flex-start;}
.mk-store-card:hover{ transform:translateY(-1px); }
.mk-store-card.is-expanded{
  grid-column:1 / -1;
  border-radius:30px;
  padding:14px;
  box-shadow:0 24px 56px rgba(15,23,42,0.14);
}
.mk-store-card .mk-img{ width:76px; height:76px; border-radius:20px; }
.mk-store-card .mk-gallery-trigger{ display:block; }
.mk-store-card .mk-inline-compact-text{ font-size:11px; line-height:1.35; -webkit-line-clamp:1; }
.mk-store-card .mk-product-chip{ padding:6px 8px; border-radius:13px; }
.mk-store-card .mk-product-chip-label{ font-size:8px; }
.mk-store-card .mk-product-chip-value{ font-size:10px; }
.mk-store-card .mk-store-extra,
.mk-store-card .js-card-status,
.mk-store-card .mk-product-quick-meta{ transition:max-height .22s ease, opacity .18s ease, margin .18s ease; }
.mk-store-card .mk-store-extra{ opacity:1; }
.mk-store-card:not(.is-expanded) .js-card-status{ max-height:0; opacity:0; overflow:hidden; margin-top:0 !important; }
.mk-store-card.is-expanded .js-card-status{ max-height:60px; opacity:1; }
.mk-store-card.is-expanded .mk-img{ width:110px; height:110px; border-radius:26px; }
.mk-store-card.is-expanded .mk-inline-compact-text{ -webkit-line-clamp:2; font-size:12px; }
.mk-store-card.is-expanded .mk-product-chip{ padding:8px 11px; }
.mk-store-card.is-expanded .mk-product-chip-label{ font-size:9px; }
.mk-store-card.is-expanded .mk-product-chip-value{ font-size:11px; }
.mk-store-title{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mk-store-price{ font-size:1.3rem; line-height:1.02; font-weight:950; letter-spacing:-0.035em; }
.mk-store-card.is-expanded .mk-store-price{ font-size:1.56rem; }
.mk-store-card .mk-inline-toggle{ font-size:11px; }
.mk-store-actions-row{ align-items:flex-start; }
.mk-store-card:not(.is-expanded) .js-compact-toggle,
.mk-store-card:not(.is-expanded) .js-meta-chip-toggle{ pointer-events:none; }
@media (max-width: 640px){
  .mk-store-toolbar-grid{grid-template-columns:minmax(0,1fr) minmax(112px,.72fr);gap:8px;}
  .mk-store-toolbar .mk-stat-card{padding:10px;}
  .mk-store-toolbar .mk-soft-input{height:44px;padding:0 12px;font-size:.9rem;}
  .mk-store-hero-badges{justify-content:flex-start;max-width:100%;}
}
@media (max-width: 480px){
  .mk-store-card{ padding:9px; }
  .mk-store-card .mk-img{ width:72px; height:72px; }
  .mk-store-card.is-expanded .mk-img{ width:96px; height:96px; }
  .mk-store-card .mk-product-chip{ padding:5px 7px; }
  .mk-store-price{ font-size:1.18rem; }
}





/* Carrinho superior e botão PWA */
.mk-cart-fab.mk-cart-fab-top,
.mk-cart-link-top{
  top:92px;
  right:16px;
  left:auto;
  bottom:auto;
  max-width:min(92vw,430px);
  border-radius:999px;
}

.mk-cart-fab.mk-cart-fab-top{
  width:auto;
  min-width:252px;
  transform:none;
  padding:12px 14px;
}

.mk-cart-fab.mk-cart-fab-top .mk-cart-fab-icon,
.mk-cart-link-top .mk-cart-fab-icon{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:3px;
  width:68px;
  height:68px;
  border-radius:999px;
  box-shadow:0 18px 34px rgba(2,6,23,.22), inset 0 0 0 1px rgba(255,255,255,.08);
}

.mk-cart-icon-svg{
  width:24px;
  height:24px;
  flex:0 0 auto;
}

.mk-cart-open-mini{
  display:none;
  font-size:11px;
  font-weight:900;
  letter-spacing:.03em;
  line-height:1;
  color:currentColor;
}

.mk-cart-fab.mk-cart-fab-top .mk-cart-fab-open,
.mk-cart-link-top .mk-cart-fab-open{
  min-width:104px;
  border-radius:999px;
}

.mk-cart-fab.mk-cart-fab-top:hover,
.mk-cart-link-top:hover{transform:translateY(-1px);}
.mk-cart-fab.mk-cart-fab-top.is-bump{animation:mkFabPulseTop .3s ease-out;}
@keyframes mkFabPulseTop{0%{transform:scale(1);}50%{transform:scale(1.02);}100%{transform:scale(1);}}

.mk-cart-fab.mk-cart-fab-top.is-compact,
.mk-cart-link-top.is-compact{
  min-width:0;
  width:84px;
  height:84px;
  padding:8px;
  gap:0;
  justify-content:center;
}

.mk-cart-fab.mk-cart-fab-top.is-compact .mk-cart-fab-label,
.mk-cart-fab.mk-cart-fab-top.is-compact #cart-count,
.mk-cart-fab.mk-cart-fab-top.is-compact #cart-subtotal,
.mk-cart-fab.mk-cart-fab-top.is-compact .mk-cart-fab-open,
.mk-cart-fab.mk-cart-fab-top.is-compact .mk-pwa-inline-copy,
.mk-cart-link-top.is-compact .mk-cart-fab-label,
.mk-cart-link-top.is-compact #cart-count,
.mk-cart-link-top.is-compact #cart-subtotal,
.mk-cart-link-top.is-compact .mk-cart-fab-open,
.mk-cart-link-top.is-compact > .min-w-0 + .mk-cart-fab-open{display:none;}

.mk-cart-fab.mk-cart-fab-top.is-compact > div,
.mk-cart-link-top.is-compact > div{gap:0 !important;}

.mk-cart-fab.mk-cart-fab-top.is-compact .min-w-0,
.mk-cart-link-top.is-compact .min-w-0{display:none;}

.mk-cart-fab.mk-cart-fab-top.is-compact .mk-cart-fab-icon,
.mk-cart-link-top.is-compact .mk-cart-fab-icon{
  width:68px;
  height:68px;
}

.mk-cart-fab.mk-cart-fab-top.is-compact .mk-cart-open-mini,
.mk-cart-link-top.is-compact .mk-cart-open-mini{display:block;}

.mk-cart-count-bubble{
  position:absolute;
  top:4px;
  right:4px;
}

.mk-cart-link-top{
  position:fixed;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:252px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 22px 56px rgba(2,6,23,.32);
  backdrop-filter:blur(12px);
}

/* Tema claro: botão preto, conteúdo branco */
.mk-cart-fab.mk-cart-fab-top,
.mk-cart-fab.mk-cart-fab-top .mk-cart-fab-open,
.mk-cart-link-top,
.mk-cart-link-top .mk-cart-fab-open{
  background:#000;
  color:#fff;
}

.mk-cart-fab.mk-cart-fab-top .mk-cart-fab-icon,
.mk-cart-link-top .mk-cart-fab-icon{
  background:#000;
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
}

.mk-cart-fab.mk-cart-fab-top .mk-cart-fab-label,
.mk-cart-link-top .mk-cart-fab-label{color:rgba(255,255,255,.76);}

.mk-cart-fab.mk-cart-fab-top .text-white,
.mk-cart-link-top .text-white{color:#fff !important;}

/* Tema escuro: botão branco, conteúdo preto */
body.marketplace-light.theme-dark .mk-cart-fab.mk-cart-fab-top,
body.marketplace-light.theme-dark .mk-cart-fab.mk-cart-fab-top .mk-cart-fab-open,
body.marketplace-light.theme-dark .mk-cart-link-top,
body.marketplace-light.theme-dark .mk-cart-link-top .mk-cart-fab-open{
  background:#fff !important;
  color:#000 !important;
  border-color:rgba(15,23,42,.08) !important;
}

body.marketplace-light.theme-dark .mk-cart-fab.mk-cart-fab-top .mk-cart-fab-icon,
body.marketplace-light.theme-dark .mk-cart-link-top .mk-cart-fab-icon{
  background:#fff !important;
  color:#000 !important;
  border-color:rgba(15,23,42,.12) !important;
}

body.marketplace-light.theme-dark .mk-cart-fab.mk-cart-fab-top .mk-cart-fab-label,
body.marketplace-light.theme-dark .mk-cart-link-top .mk-cart-fab-label,
body.marketplace-light.theme-dark .mk-cart-fab.mk-cart-fab-top .mk-cart-open-mini,
body.marketplace-light.theme-dark .mk-cart-link-top .mk-cart-open-mini,
body.marketplace-light.theme-dark .mk-cart-fab.mk-cart-fab-top .text-white,
body.marketplace-light.theme-dark .mk-cart-link-top .text-white{
  color:#000 !important;
}

.mk-pwa-install-wrap{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:49;
  display:flex;
  justify-content:center;
  width:min(calc(100% - 28px),420px);
  pointer-events:none;
}
.mk-pwa-install-btn{
  pointer-events:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:56px;
  padding:14px 18px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg,#2563eb,#38bdf8);
  color:#fff;
  font-size:1rem;
  font-weight:900;
  letter-spacing:.01em;
  box-shadow:0 22px 50px rgba(37,99,235,.36);
}
.mk-pwa-install-btn[hidden], .mk-pwa-install-wrap[hidden]{display:none !important;}
.mk-pwa-install-btn .mk-pwa-install-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  font-size:1.05rem;
}
body.mk-pwa-has-button{padding-bottom:96px;}
@media (max-width: 767px){
  .mk-cart-fab.mk-cart-fab-top,
  .mk-cart-link-top{top:86px;right:10px;max-width:calc(100vw - 20px);} 
  .mk-pwa-install-wrap{bottom:14px;width:min(calc(100% - 20px),390px);} 
  .mk-pwa-install-btn{min-height:54px;font-size:.96rem;} 
}

