/* WatchExclusive – plávajúci košík v hlavičke (modul ps_shoppingcart, téma Warehouse) v našom vzhľade.
 * Len štýly: obsah #blockcart-content modul po každej zmene košíka prekreslí, triedy pre jeho skripty ostávajú.
 * Načítava templates/_partials/we-assets.tpl na všetkých stránkach. Pri zmene zvýš ?v= v we-assets.tpl. */
#blockcart-content{--we-ink:#16181c;--we-text:#33363b;--we-mut:#6f6a63;--we-ivory:#f7f5f2;--we-line:#dedad4;--we-field:#cfc9bf;--we-tanD:#a97444;--we-green:#00b67a;--we-green2:#00a36d;--we-err:#b3261e;--we-blue:#00aeef;--we-serif:Georgia,'Times New Roman',Times,serif;
  background:#fff;border:1px solid var(--we-line);border-radius:0;box-shadow:0 12px 32px rgba(22,24,28,.12);padding:22px 20px 20px;font-family:Roboto,sans-serif;color:var(--we-text)}
@media (min-width:992px){#blockcart-content{width:360px}}
#blockcart-content .cart-title .modal-title{font-family:var(--we-serif);font-weight:400;font-size:20px;color:var(--we-ink);text-transform:none;letter-spacing:0}
#blockcart-content .cart-title hr{border-color:var(--we-line);margin:12px 0}
#blockcart-content .cart-title .close{min-width:44px;min-height:44px;color:var(--we-ink);opacity:1}

/* položky */
#blockcart-content .cart-products{margin:0;padding:0;list-style:none;max-height:min(50vh,360px);overflow-y:auto}
#blockcart-content .cart-products>li{padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid var(--we-line)}
#blockcart-content .product-image img{width:70px;height:70px;object-fit:contain;border:1px solid var(--we-line);background:#fff}
#blockcart-content .col-info{padding-left:14px}
#blockcart-content .col-info a:not(.remove-from-cart){font-size:14px;line-height:1.4;color:var(--we-ink);text-decoration:none}
#blockcart-content .col-info a:not(.remove-from-cart):hover{text-decoration:underline;text-underline-offset:3px}
#blockcart-content .col-info>.row{flex-wrap:nowrap}
#blockcart-content .col-info>.row>.col:last-child{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:15px;font-weight:700;color:var(--we-ink)}
/* množstvo − 1 + ako v košíku (TouchSpin témy má šípky nad sebou) */
#blockcart-content .bootstrap-touchspin{display:inline-flex;flex-wrap:nowrap;width:auto!important;max-width:none;border:0!important;background:none;box-shadow:none}
#blockcart-content .bootstrap-touchspin .input-group-btn-vertical{display:contents}
#blockcart-content .bootstrap-touchspin .input-group-addon{display:none!important}
#blockcart-content .bootstrap-touchspin .bootstrap-touchspin-down{order:0}
#blockcart-content .bootstrap-touchspin .js-cart-line-product-quantity{order:1}
#blockcart-content .bootstrap-touchspin .js-increase-product-quantity{order:2}
#blockcart-content .bootstrap-touchspin .btn-touchspin>*{display:none}
#blockcart-content .bootstrap-touchspin .bootstrap-touchspin-down::before{content:"\2212"}
#blockcart-content .bootstrap-touchspin .js-increase-product-quantity::before{content:"+"}
#blockcart-content .bootstrap-touchspin .js-cart-line-product-quantity,#blockcart-content .bootstrap-touchspin .btn-touchspin{box-sizing:border-box;height:36px!important;margin:0!important;border:1px solid var(--we-field)!important;border-radius:0!important;background:#fff;box-shadow:none!important;position:static}
#blockcart-content .bootstrap-touchspin .js-cart-line-product-quantity{flex:0 0 38px!important;width:38px!important;min-width:38px;padding:0;border-left:0!important;border-right:0!important;font:15px Roboto,sans-serif;color:var(--we-ink);text-align:center}
#blockcart-content .bootstrap-touchspin .btn-touchspin{flex:0 0 34px;width:34px;min-width:34px;padding:0;color:var(--we-ink);font-size:16px;line-height:34px}
#blockcart-content .bootstrap-touchspin .btn-touchspin:hover{background:var(--we-ivory)}
#blockcart-content .remove-from-cart{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:36px;color:var(--we-mut)}
#blockcart-content .remove-from-cart:hover{color:var(--we-err)}

/* súčty */
#blockcart-content .cart-subtotals{margin:0;padding:0}
#blockcart-content .cart-summary-line{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0 12px;padding:3px 0;font-size:14px;color:var(--we-text)}
#blockcart-content .cart-summary-line::before,#blockcart-content .cart-summary-line::after,#blockcart-content .cart-totals .clearfix::before,#blockcart-content .cart-totals .clearfix::after{display:none}
#blockcart-content .cart-summary-line .label{flex:1 1 0;min-width:0;font-size:inherit;color:inherit}
#blockcart-content .cart-summary-line .value{flex:0 0 auto;color:var(--we-ink);text-align:right}
#blockcart-content .cart-summary-line>div{flex:0 0 100%}
#blockcart-content .cart-summary-line>div:empty,#blockcart-content .cart-summary-line>div:not(:has(*:not(:empty))){display:none}
#blockcart-content .cart-totals{margin:10px 0 0;padding:12px 0 0;border-top:1px solid var(--we-line)}
#blockcart-content .cart-totals .clearfix{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
#blockcart-content .cart-totals .label{font-family:var(--we-serif);font-weight:400;font-size:20px;color:var(--we-ink)}
#blockcart-content .cart-totals .value{float:none!important;font-size:20px;font-weight:700;color:var(--we-ink);white-space:nowrap}

/* tlačidlá: pokladňa zelené, košík obrysové */
#blockcart-content .cart-buttons{display:grid;gap:8px;margin:16px 0 0}
#blockcart-content .cart-buttons .btn{display:flex;align-items:center;justify-content:center;width:100%;margin:0!important;border-radius:0;box-shadow:none;font:700 13px/1.2 Roboto,sans-serif;letter-spacing:1.3px;text-transform:uppercase;text-decoration:none;transition:background .2s,color .2s}
#blockcart-content .cart-buttons .btn-primary{min-height:52px;background:var(--we-green);border:0;color:#fff}
#blockcart-content .cart-buttons .btn-primary:hover{background:var(--we-green2)}
#blockcart-content .cart-buttons .btn-secondary{min-height:48px;background:#fff;border:1px solid var(--we-ink);color:var(--we-ink)}
#blockcart-content .cart-buttons .btn-secondary:hover{background:var(--we-ink);color:#fff}
#blockcart-content .cart-buttons .btn:focus-visible{outline:2px solid var(--we-ink);outline-offset:2px}
@media (prefers-reduced-motion:reduce){#blockcart-content .cart-buttons .btn{transition:none}}

/* ---------- ponuka účtu vpravo hore (modul ps_customersignin, šablóna témy) ---------- */
#header-user-btn .dropdown-menu{--we-ink:#16181c;--we-mut:#6f6a63;--we-ivory:#f7f5f2;--we-line:#dedad4;--we-tan:#d6a581;--we-tanD:#a97444;
  min-width:270px;margin-top:6px;padding:6px 0;background:#fff;border:1px solid var(--we-line);border-radius:0;box-shadow:0 12px 32px rgba(22,24,28,.12)}
#header-user-btn .dropdown-menu .dropdown-item{display:flex;align-items:center;gap:12px;min-height:46px;padding:10px 18px;border-bottom:1px solid var(--we-line);border-left:3px solid transparent;background:#fff;font:14.5px/1.35 Roboto,sans-serif;color:var(--we-ink);white-space:normal;text-decoration:none}
#header-user-btn .dropdown-menu .dropdown-item:last-child{border-bottom:0;color:var(--we-mut)}
#header-user-btn .dropdown-menu .dropdown-item i{flex:0 0 20px;width:20px;font-size:16px;text-align:center;color:var(--we-tanD)}
#header-user-btn .dropdown-menu .dropdown-item:hover,#header-user-btn .dropdown-menu .dropdown-item:focus{background:var(--we-ivory);border-left-color:var(--we-tan);color:var(--we-ink)}
