/* MVR Shop - style koszyka (spójne z ciemnym motywem strony) */
:root{
  --mvr-bg:#0b0f19; --mvr-surface:#141a2a; --mvr-surface2:#1d2540;
  --mvr-text:#ffffff; --mvr-muted:#9aa3b5; --mvr-border:#2a3350;
  --mvr-accent:#6c7bff; --mvr-accent-hover:#5766ff; --mvr-ok:#00c65e;
}

/* licznik w naglowku */
.shop-cart__product-counter.mvr-badge{
  background:var(--mvr-accent); color:#fff; font-size:12px; line-height:1;
  min-width:18px; height:18px; padding:0 5px; border-radius:9px;
  align-items:center; justify-content:center; font-weight:700;
}

/* toast */
.mvr-toast{
  position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px);
  background:var(--mvr-ok); color:#fff; padding:12px 20px; border-radius:8px;
  font:600 14px/1.3 'Roboto',Arial,sans-serif; box-shadow:0 8px 30px rgba(0,0,0,.35);
  opacity:0; transition:all .3s ease; z-index:100000; max-width:90vw;
}
.mvr-toast.show{ opacity:1; transform:translate(-50%,0); }

/* modal wyboru rozmiaru */
.mvr-modal-ov{
  position:fixed; inset:0; background:rgba(4,7,14,.72); z-index:99999;
  display:flex; align-items:center; justify-content:center; padding:20px;
  font-family:'Roboto',Arial,sans-serif; animation:mvrOvIn .2s ease both;
}
@keyframes mvrOvIn{ from{opacity:0} to{opacity:1} }
@keyframes mvrPopIn{ from{opacity:0; transform:translateY(12px) scale(.98)} to{opacity:1; transform:none} }
.mvr-modal{
  background:var(--mvr-surface); color:var(--mvr-text); border:1px solid var(--mvr-border);
  border-radius:16px; width:min(560px,96vw); max-height:92vh; overflow:auto;
  display:flex; gap:0; position:relative; box-shadow:0 20px 60px rgba(0,0,0,.5);
  animation:mvrPopIn .28s cubic-bezier(.2,.8,.2,1) both;
}
.mvr-modal-x{
  position:absolute; top:10px; right:12px; background:none; border:none; color:var(--mvr-muted);
  font-size:28px; line-height:1; cursor:pointer;
}
.mvr-modal-x:hover{ color:#fff; }
.mvr-modal-img{
  width:200px; min-height:240px; background:#0e1424 center/cover no-repeat;
  border-radius:16px 0 0 16px; flex:0 0 auto;
}
.mvr-modal-body{ padding:26px 24px; flex:1; }
.mvr-modal-name{ font-size:20px; font-weight:700; margin-bottom:6px; }
.mvr-modal-price{ font-size:22px; font-weight:700; color:#fff; margin-bottom:18px; }
.mvr-modal-label{ font-size:14px; color:var(--mvr-muted); margin-bottom:8px; }
.mvr-per{ font-size:14px; color:var(--mvr-muted); font-weight:400; }
.mvr-qtyrow{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.mvr-qtyrow .mvr-modal-label{ margin:0; }
.mvr-qtyrow .mvr-qty button{ width:32px; height:32px; background:var(--mvr-surface2); color:#fff; border:1px solid var(--mvr-border); cursor:pointer; font-size:16px; }
.mvr-qtyrow .mvr-qty span{ min-width:38px; text-align:center; font-weight:600; }
.mvr-units{ display:flex; flex-direction:column; gap:14px; margin-bottom:22px; }
.mvr-unit{ border:1px solid var(--mvr-border); border-radius:10px; padding:12px 14px; background:rgba(255,255,255,.02); }
.mvr-unit-head{ font-size:13px; font-weight:700; color:var(--mvr-accent); margin-bottom:10px; text-transform:uppercase; letter-spacing:.5px; }
.mvr-slot{ margin-bottom:12px; }
.mvr-slot:last-child{ margin-bottom:0; }
.mvr-sizes{ display:flex; flex-wrap:wrap; gap:8px; }
.mvr-size{
  min-width:46px; padding:10px 12px; background:var(--mvr-surface2); color:#fff;
  border:1px solid var(--mvr-border); border-radius:8px; cursor:pointer; font-weight:600;
}
.mvr-size:hover{ border-color:var(--mvr-accent); }
.mvr-size.sel{ background:var(--mvr-accent); border-color:var(--mvr-accent); }
.mvr-add-btn{
  width:100%; padding:14px; background:var(--mvr-accent); color:#fff; border:none;
  border-radius:10px; font-size:15px; font-weight:700; cursor:pointer;
}
.mvr-add-btn:hover{ background:var(--mvr-accent-hover); }
.mvr-add-btn:disabled{ background:#39415e; cursor:not-allowed; }
@media(max-width:480px){ .mvr-modal{ flex-direction:column; } .mvr-modal-img{ width:100%; height:180px; border-radius:16px 16px 0 0; } }

/* popup po dodaniu do koszyka */
.mvr-added{
  position:relative; background:var(--mvr-surface); color:var(--mvr-text);
  border:1px solid var(--mvr-border); border-radius:16px; width:min(420px,96vw);
  padding:34px 26px 26px; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,.5);
  animation:mvrPopIn .28s cubic-bezier(.2,.8,.2,1) both;
}
.mvr-added-check{
  width:60px; height:60px; margin:0 auto 16px; border-radius:50%;
  background:rgba(0,198,94,.14); color:var(--mvr-ok);
  display:flex; align-items:center; justify-content:center;
}
.mvr-added-title{ font-size:20px; font-weight:800; }
.mvr-added-name{ font-size:14.5px; color:var(--mvr-muted); margin-top:6px; }
.mvr-added-actions{ display:flex; gap:12px; margin-top:24px; }
.mvr-added-actions button{
  flex:1; padding:13px 10px; border-radius:11px; font:700 14px/1.2 'Roboto',Arial,sans-serif;
  cursor:pointer; transition:.15s; border:1px solid var(--mvr-border);
}
.mvr-added-cont{ background:transparent; color:#c7cede; }
.mvr-added-cont:hover{ background:var(--mvr-surface2); color:#fff; }
.mvr-added-go{ background:var(--mvr-accent); color:#fff; border-color:var(--mvr-accent); }
.mvr-added-go:hover{ background:var(--mvr-accent-hover); border-color:var(--mvr-accent-hover); }
@media(max-width:400px){ .mvr-added-actions{ flex-direction:column; } }

/* ====== strona koszyka (koszyk.html) ====== */
.mvr-cart-page{
  background:var(--mvr-bg); color:var(--mvr-text); min-height:100vh;
  font-family:'Roboto',Arial,sans-serif; margin:0;
}
.mvr-cart-wrap{ max-width:1000px; margin:0 auto; padding:40px 20px 80px; }
.mvr-cart-wrap h1{ font-size:28px; margin:0 0 24px; }
.mvr-cart-grid{ display:grid; grid-template-columns:1fr 320px; gap:28px; align-items:start; }
.mvr-cart-items{ display:flex; flex-direction:column; gap:14px; }
.mvr-cart-item{
  display:grid; grid-template-columns:84px 1fr auto; gap:16px; align-items:center;
  background:var(--mvr-surface); border:1px solid var(--mvr-border); border-radius:12px; padding:12px;
}
.mvr-ci-img{ width:84px; height:84px; border-radius:8px; background:#0e1424 center/cover no-repeat; }
.mvr-ci-name{ font-weight:600; margin-bottom:4px; }
.mvr-ci-meta{ font-size:13px; color:var(--mvr-muted); }
.mvr-ci-right{ text-align:right; display:flex; flex-direction:column; gap:8px; align-items:flex-end; }
.mvr-ci-price{ font-weight:700; }
.mvr-qty{ display:inline-flex; align-items:center; border:1px solid var(--mvr-border); border-radius:8px; overflow:hidden; }
.mvr-qty button{ width:30px; height:30px; background:var(--mvr-surface2); color:#fff; border:none; cursor:pointer; font-size:16px; }
.mvr-qty span{ min-width:34px; text-align:center; }
.mvr-ci-remove{ background:none; border:none; color:var(--mvr-muted); cursor:pointer; font-size:13px; text-decoration:underline; }
.mvr-ci-remove:hover{ color:#ff6b6b; }
.mvr-summary{
  background:var(--mvr-surface); border:1px solid var(--mvr-border); border-radius:12px; padding:22px; position:sticky; top:20px;
}
.mvr-summary h2{ font-size:18px; margin:0 0 16px; }
.mvr-sum-row{ display:flex; justify-content:space-between; margin:10px 0; color:var(--mvr-muted); }
.mvr-sum-row.total{ color:#fff; font-size:20px; font-weight:700; border-top:1px solid var(--mvr-border); padding-top:14px; margin-top:14px; }
.mvr-free-note{ font-size:12px; color:var(--mvr-ok); margin:8px 0 0; }
.mvr-checkout-btn{
  width:100%; margin-top:18px; padding:15px; background:var(--mvr-accent); color:#fff; border:none;
  border-radius:10px; font-size:16px; font-weight:700; cursor:pointer;
}
.mvr-checkout-btn:hover{ background:var(--mvr-accent-hover); }
.mvr-empty{ text-align:center; padding:60px 20px; color:var(--mvr-muted); }
.mvr-empty a{ color:var(--mvr-accent); }
.mvr-back{ display:inline-block; margin-bottom:20px; color:var(--mvr-muted); text-decoration:none; }
.mvr-back:hover{ color:#fff; }
@media(max-width:760px){ .mvr-cart-grid{ grid-template-columns:1fr; } }
