/* ── TP Košík — design dle webu (z xoo-wsc nastavení) ───────────
   Hlavička #b8a3e8, tělo #0e0e0c, panel zprava, šířka 425px. */

.tp-kosik-toggle{
  position:fixed; left:12px; bottom:12px; z-index:9998;
  width:64px; height:64px; border-radius:50%;
  background:#b8a3e8; color:#000; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 15px 2px rgba(0,0,0,.10);
}
.tp-kosik-count{
  position:absolute; top:-4px; right:-4px;
  min-width:28px; height:28px; padding:0 6px; border-radius:50%;
  background:#000; color:#fff; font-size:13px; line-height:28px;
  text-align:center; font-family:'Inter',system-ui,sans-serif;
}

.tp-kosik-overlay{
  position:fixed; inset:0; z-index:9998;
  background:rgba(0,0,0,.55); opacity:0; visibility:hidden;
  transition:opacity .25s ease;
}
.tp-kosik-overlay.is-open{ opacity:1; visibility:visible; }

.tp-kosik-panel{
  position:fixed; top:0; right:0; z-index:9999;
  width:425px; max-width:100vw; height:100%;
  background:#0e0e0c; color:#fff;
  font-family:'Inter',system-ui,sans-serif;
  display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .3s ease;
  box-shadow:-4px 0 24px rgba(0,0,0,.3);
}
.tp-kosik-panel.is-open{ transform:translateX(0); }

.tp-kosik-header{
  background:#b8a3e8; color:#000;
  padding:15px; border-bottom:2px solid #eee;
  display:flex; align-items:center; justify-content:space-between;
}
.tp-kosik-title{ font-size:22px; font-weight:600; display:flex; align-items:center; }
.tp-kosik-hcount{ font-size:14px; opacity:.7; margin-left:8px; }
.tp-kosik-close{
  background:none; border:none; color:#000; font-size:26px;
  line-height:1; cursor:pointer; padding:0 4px;
}

.tp-kosik-body{ flex:1 1 auto; overflow-y:auto; padding:10px 15px; }
.tp-kosik-loading{ text-align:center; padding:40px 0; opacity:.5; }

.tp-kosik-empty{ text-align:center; padding:48px 16px; opacity:.7; }

/* položka */
.tp-kosik-item{
  display:flex; gap:12px; padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.tp-kosik-item__img{ width:88px; height:64px; flex:0 0 auto; object-fit:cover; border-radius:4px; }
.tp-kosik-item__main{ flex:1 1 auto; min-width:0; }
.tp-kosik-item__name{ font-weight:600; font-size:15px; margin:0 0 4px; }
.tp-kosik-item__meta{ font-size:12px; opacity:.7; line-height:1.5; }
.tp-kosik-item__price{ font-size:13px; font-weight:600; margin-top:6px; }
.tp-kosik-item__del{
  background:none; border:none; color:#fff; opacity:.5; cursor:pointer;
  flex:0 0 auto; padding:4px; align-self:flex-start;
}
.tp-kosik-item__del:hover{ opacity:1; }

/* množství */
.tp-kosik-qty{ display:inline-flex; align-items:center; margin-top:8px; border:1px solid rgba(255,255,255,.25); border-radius:4px; }
.tp-kosik-qty button{ background:none; border:none; color:#fff; width:28px; height:28px; cursor:pointer; font-size:16px; }
.tp-kosik-qty span{ min-width:28px; text-align:center; font-size:14px; }

/* patička */
.tp-kosik-footer{
  flex:0 0 auto; padding:16px 20px;
  background:#0e0e0c; border-top:1px solid rgba(255,255,255,.08);
  box-shadow:0 -1px 10px rgba(0,0,0,.1);
}
.tp-kosik-subtotal{ display:flex; justify-content:center; gap:8px; font-size:18px; font-weight:700; }
.tp-kosik-shipnote{ text-align:center; font-size:12px; opacity:.6; margin:6px 0 14px; }
.tp-kosik-btn{
  display:block; text-align:center; padding:12px 20px; margin-top:8px;
  border-radius:6px; text-decoration:none; font-weight:600; font-size:15px;
  border:1px solid #b8a3e8; transition:background .2s,color .2s;
}
.tp-kosik-btn--ghost{ background:#0e0e0c; color:#fff; }
.tp-kosik-btn--ghost:hover{ background:#fff; color:#000; }
.tp-kosik-btn--primary{ background:#b8a3e8; color:#000; border-color:#b8a3e8; }
.tp-kosik-btn--primary:hover{ background:#fff; }

@media (max-width:480px){
  .tp-kosik-panel{ width:100vw; }
}

/* na pokladně skrytá plovoucí ikona */
.tp-kosik-toggle--hidden{ display:none !important; }

/* tlačítko "Upravit košík" na pokladně */
.tp-edit-cart-btn{ width:100%; margin:0 0 16px; cursor:pointer; }

/* Skryj zdvojený kód měny za částkou u Total. Checkout Block přidává holý
   textový uzel " PLN/CZK/EUR" za span s částkou (která už měnu obsahuje).
   Schováme přívěšek průhlednou barvou (nikoli velikostí, ať částka zůstane),
   span s částkou barvu vrátíme. Cílíme jen na footer Total řádek. */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  color:transparent !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value
  .wc-block-components-formatted-money-amount{
  color:#fff !important;
}
