:root{
  --ink:#0F1318; --accent:#22D3EE; --accent-d:#0891b2; --bg-dark:#0B0E12;
  --paper:#fff; --muted:#5b6470; --line:#e7ebee; --soft:#f4f7f9;
  --radius:16px; --shadow:0 8px 30px rgba(15,19,24,.08);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--paper);line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1440px;margin:0 auto;padding:0 clamp(1.25rem,3vw,2rem)}
/* Homepage i výpisy drží šířku 1440px (jako kozikremy). */
.btn{display:inline-flex;align-items:center;gap:8px;border:0;cursor:pointer;font-weight:700;border-radius:999px;padding:13px 24px;font-size:.98rem;transition:.15s}
.btn--accent{background:var(--accent);color:var(--ink)}
.btn--accent:hover{background:var(--accent-d);color:#fff}
.btn--ghost{background:transparent;border:1.5px solid rgba(255,255,255,.5);color:#fff}
.btn--ghost:hover{background:rgba(255,255,255,.12)}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:#000}
.btn--full{width:100%;justify-content:center}

/* ---- LOGIN ---- */
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(120% 140% at 80% 10%,#15202b 0%,var(--bg-dark) 60%)}
.login-card{background:#fff;border-radius:20px;max-width:420px;width:100%;padding:40px 34px;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.login-card img{height:34px;margin:0 auto 22px}
.login-card h1{font-size:1.4rem;text-align:center;margin-bottom:4px}
.login-card .sub{text-align:center;color:var(--muted);font-size:.92rem;margin-bottom:24px}
.form-group{margin-bottom:16px}
.form-label{display:block;font-size:.85rem;font-weight:600;margin-bottom:6px}
.form-input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:.98rem;outline:0}
.form-input:focus{border-color:var(--accent)}
.alert{border-radius:12px;padding:11px 14px;font-size:.9rem;margin-bottom:16px}
.alert--error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.login-foot{text-align:center;margin-top:18px;font-size:.8rem;color:var(--muted)}
.login-foot .age{background:var(--accent);color:var(--ink);font-weight:800;padding:2px 8px;border-radius:6px}

/* ---- TOP BAR ---- */
.topbar{background:var(--ink);color:#cfd8df;font-size:.82rem}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 20px}
.topbar strong{color:#fff}
.topbar .age{background:var(--accent);color:var(--ink);font-weight:800;padding:2px 9px;border-radius:6px}

/* ---- HEADER ---- */
header{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line)}
.head{display:flex;align-items:center;gap:24px;padding:14px 20px}
.brand img{height:34px;width:auto}
.search{flex:1;display:flex;align-items:center;background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:9px 16px;gap:10px;max-width:520px}
.search input{border:0;background:transparent;outline:0;width:100%;font-size:.95rem;color:var(--ink)}
.search svg{flex:0 0 auto;opacity:.5}
.head-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.iconbtn{position:relative;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--soft);color:var(--ink)}
.iconbtn:hover{background:#e9eef1}
.iconbtn .count{position:absolute;top:-4px;right:-4px;background:var(--accent);color:var(--ink);font-size:.7rem;font-weight:800;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px}
.menu-toggle{display:none}
nav.main{border-top:1px solid var(--line);background:#fff}
nav.main .wrap{display:flex;gap:6px;flex-wrap:wrap;padding:0 20px}
nav.main a{padding:13px 14px;font-size:.92rem;font-weight:600;color:#39424d;border-bottom:2px solid transparent}
nav.main a:hover{color:var(--ink);border-bottom-color:var(--accent)}
nav.main a.sale{color:#e11d48}
.nav-item{position:relative}
.nav-item > a{display:inline-flex;align-items:center;gap:5px}
.caret{font-size:.7rem;opacity:.6}
.dropdown{position:absolute;top:100%;left:0;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 40px rgba(15,19,24,.14);padding:12px;min-width:230px;max-width:560px;max-height:60vh;overflow:auto;columns:2;column-gap:18px;opacity:0;visibility:hidden;transform:translateY(6px);transition:.15s;z-index:50}
.nav-item:hover > .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown a{display:block;padding:6px 10px;border:0;font-size:.86rem;color:#39424d;border-radius:8px;break-inside:avoid}
.dropdown a:hover{background:var(--soft);color:var(--ink)}

/* ---- HERO ---- */
.hero{background:radial-gradient(120% 140% at 80% 10%,#15202b 0%,var(--bg-dark) 60%);color:#fff;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center;padding:56px 20px}
.hero .eyebrow{display:inline-block;background:rgba(34,211,238,.14);color:var(--accent);font-weight:700;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;padding:6px 14px;border-radius:999px;margin-bottom:18px}
.hero h1{font-size:2.9rem;line-height:1.08;font-weight:850;letter-spacing:-.01em;margin-bottom:16px}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero p{color:#aeb9c2;font-size:1.08rem;max-width:46ch;margin-bottom:26px}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap}
.hero-img{position:relative}
.hero-img img{margin:0 auto;filter:drop-shadow(0 20px 50px rgba(34,211,238,.25));max-height:380px;width:auto}

/* ---- BENEFITS ---- */
.benefits{background:var(--soft);border-bottom:1px solid var(--line)}
.benefits .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:22px 20px}
.benefit{display:flex;align-items:center;gap:12px;font-size:.92rem;font-weight:600}
.benefit .ic{flex:0 0 auto;width:38px;height:38px;border-radius:10px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:var(--accent-d)}
.benefit small{display:block;font-weight:500;color:var(--muted)}

/* ---- SECTIONS ---- */
section{padding:56px 0}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px}
.sec-head h2{font-size:1.8rem;font-weight:800;letter-spacing:-.01em}
.sec-head a{color:var(--accent-d);font-weight:700;font-size:.95rem}

/* ---- CATEGORY GRID (s obrázky) ---- */
.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.18s;display:flex;flex-direction:column}
.cat:hover{border-color:var(--accent);box-shadow:var(--shadow);transform:translateY(-3px)}
.cat .catimg{aspect-ratio:4/3;background:var(--bg-dark);overflow:hidden}
.cat .catimg img{width:100%;height:100%;object-fit:cover}
.cat .catbody{padding:16px 18px}
.cat h3{font-size:1.05rem;font-weight:700}
.cat span{font-size:.85rem;color:var(--muted)}

/* ---- PROMO ---- */
.promo{background:linear-gradient(100deg,var(--ink),#1b2733);color:#fff;border-radius:var(--radius);padding:34px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.promo .tag{background:var(--accent);color:var(--ink);font-weight:800;border-radius:10px;padding:8px 14px;font-size:1.4rem;display:inline-block}
.promo h3{font-size:1.6rem;font-weight:800;margin:10px 0 4px}
.promo p{color:#aeb9c2}

/* ---- PRODUCTS ---- */
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.18s;position:relative}
.card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.card .thumb{aspect-ratio:1/1;background:var(--soft);display:grid;place-items:center;padding:18px}
.card .thumb img{max-height:100%;width:auto;object-fit:contain}
.card .badge{position:absolute;top:12px;left:12px;font-size:.72rem;font-weight:800;padding:4px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.03em}
.badge--new{background:var(--accent);color:var(--ink)}
.badge--sale{background:#e11d48;color:#fff}
.card .body{padding:16px;display:flex;flex-direction:column;gap:6px;flex:1}
.card .cat-label{font-size:.74rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.card h3{font-size:1rem;font-weight:700;line-height:1.3}
.card .stars{color:#f5a524;font-size:.85rem}
.card .price-row{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px}
.card .price{font-size:1.25rem;font-weight:850}
.card .price small{display:block;font-size:.72rem;color:var(--muted);font-weight:600;text-decoration:line-through}
.add{border:0;cursor:pointer;background:var(--ink);color:#fff;border-radius:10px;width:42px;height:42px;display:grid;place-items:center;transition:.15s}
.add:hover{background:var(--accent);color:var(--ink)}

/* ---- BRANDS ---- */
.brands{background:var(--soft)}
.brand-strip{display:flex;flex-wrap:wrap;gap:14px 34px;justify-content:center;align-items:center}
.brand-strip span{font-weight:800;font-size:1.25rem;color:#9aa6b1;letter-spacing:.02em;transition:.15s}
.brand-strip span:hover{color:var(--ink)}

/* ---- NEWSLETTER ---- */
.news{background:radial-gradient(120% 160% at 10% 0%,#15202b,var(--bg-dark));color:#fff;border-radius:var(--radius);padding:42px;text-align:center}
.news h2{font-size:1.7rem;font-weight:800;margin-bottom:8px}
.news p{color:#aeb9c2;margin-bottom:22px}
.news form{display:flex;gap:10px;max-width:460px;margin:0 auto;flex-wrap:wrap;justify-content:center}
.news input{flex:1;min-width:220px;border:0;border-radius:999px;padding:13px 20px;font-size:.95rem;outline:0}

/* ---- FOOTER ---- */
footer{background:var(--ink);color:#aeb9c2;padding:48px 0 0}
.fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding-bottom:36px}
footer .flogo img{height:30px;margin-bottom:14px}
footer h4{color:#fff;font-size:.95rem;margin-bottom:14px;font-weight:700}
footer ul{list-style:none;display:flex;flex-direction:column;gap:9px;font-size:.9rem}
footer a:hover{color:#fff}
.fbar{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;font-size:.82rem;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.fbar .age{background:var(--accent);color:var(--ink);font-weight:800;padding:2px 9px;border-radius:6px}

/* ---- VÝPIS / DETAIL ---- */
main { display:block; padding:28px 0 56px; }
.crumbs{font-size:.85rem;color:var(--muted);margin-bottom:20px}
.crumbs a:hover{color:var(--ink)}
.cat-head{margin-bottom:22px}
.cat-head h1{font-size:1.9rem;font-weight:850}
.cat-head p{color:var(--muted);margin-top:4px}
.count-badge{display:inline-block;margin-top:8px;font-size:.8rem;font-weight:700;color:var(--accent-d)}
.subchips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.chip{display:inline-block;padding:7px 14px;border-radius:999px;background:var(--soft);border:1px solid var(--line);font-size:.85rem;font-weight:600}
.chip:hover{border-color:var(--accent)}
.chip--on{background:var(--ink);color:#fff;border-color:var(--ink)}
.products.grid-list{grid-template-columns:repeat(4,1fr)}
.card .thumb{cursor:pointer}
.card h3 a:hover{color:var(--accent-d)}
.badge--out{background:#6b7280;color:#fff}
.empty{text-align:center;padding:60px 20px;color:var(--muted)}
.empty h1{color:var(--ink);margin-bottom:8px}

.pager{display:flex;gap:6px;justify-content:center;align-items:center;margin-top:34px;flex-wrap:wrap}
.pager a,.pager .cur{padding:8px 13px;border-radius:10px;border:1px solid var(--line);font-weight:700;font-size:.9rem}
.pager a:hover{border-color:var(--accent)}
.pager .cur{background:var(--ink);color:#fff;border-color:var(--ink)}
.pager .dots{color:var(--muted)}

.detail{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start;margin-bottom:36px}
.detail-img{position:relative;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);padding:30px;display:grid;place-items:center;aspect-ratio:1/1}
.detail-img img{max-height:100%;max-width:100%;object-fit:contain}
.detail-info h1{font-size:1.8rem;font-weight:850;line-height:1.2;margin:6px 0 14px}
.brandtag{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--accent-d)}
.detail-price{font-size:2rem;font-weight:850;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.detail-price .old{font-size:1.1rem;color:var(--muted);text-decoration:line-through;font-weight:600}
.detail-price .vat{font-size:.8rem;color:var(--muted);font-weight:600}
.stock{margin:10px 0 18px;font-weight:700;font-size:.95rem}
.stock.in{color:#166534}.stock.out{color:#991b1b}
.quickparams{list-style:none;display:flex;flex-direction:column;gap:8px;margin-bottom:22px;border-top:1px solid var(--line);padding-top:16px}
.quickparams li{display:flex;justify-content:space-between;gap:14px;font-size:.92rem;border-bottom:1px solid var(--line);padding-bottom:8px}
.quickparams span{color:var(--muted)}
.btn--buy{width:100%;justify-content:center;font-size:1.05rem;padding:15px}
.desc-block{max-width:820px}
.desc-block h2{font-size:1.4rem;font-weight:800;margin-bottom:14px}
.desc-body p{margin-bottom:12px;line-height:1.7}
.desc-body ul{margin:0 0 14px 0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.desc-body li{padding-left:22px;position:relative;line-height:1.55}
.desc-body li::before{content:"";position:absolute;left:4px;top:9px;width:7px;height:7px;border-radius:2px;background:var(--accent)}

/* ==== PRODUKTOVÁ KARTA (layout à la kozikremy, barvy elektrocigarko) ==== */
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.products.grid-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,320px));justify-content:start;gap:18px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px;display:flex;flex-direction:column;gap:10px;transition:.18s;min-width:0}
.product-card>div{min-width:0}
.product-card:hover{box-shadow:var(--shadow);transform:translateY(-3px);border-color:#d7dde1}
.product-card__media{position:relative;aspect-ratio:1/1;background:var(--soft);border-radius:12px;overflow:hidden;display:grid;place-items:center}
/* Ve výpisu se vždy zobrazí CELÝ obrázek. Absolutní pozice (inset:0) zajistí definitivní
   výšku okna, takže object-fit:contain nic neořízne (procentní height proti aspect-ratio nefunguje). */
.product-card__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:18px;mix-blend-mode:multiply}
.product-card__badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:5px;align-items:flex-start}
.product-card__badge{font-size:.7rem;font-weight:800;padding:4px 9px;border-radius:999px;background:var(--accent);color:var(--ink);text-transform:uppercase;letter-spacing:.02em}
.product-card__badge--sale{background:#e11d48;color:#fff}
.product-card__title{font-size:.98rem;font-weight:700;line-height:1.3;color:var(--ink)}
.product-card a:hover .product-card__title{color:var(--accent-d)}
.product-card__sub{display:block;font-size:.82rem;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-card__stock{display:inline-flex;align-items:center;gap:5px;font-size:.8rem;font-weight:700;color:#15803d}
.product-card__stock svg{width:14px;height:14px}
.product-card__stock--out{color:#9ca3af}
.product-card__row{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding-top:6px}
.product-card__price-wrap{display:flex;flex-direction:column;gap:2px}
.product-card__price-old s{color:var(--muted);font-size:.82rem}
.product-card__price{font-size:1.2rem;font-weight:850;color:var(--ink);display:flex;align-items:baseline;gap:5px}
.product-card__price small{font-size:.66rem;color:var(--muted);font-weight:600}
.product-card__price--sale{color:#e11d48}
.product-card__cta{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;border:0;cursor:pointer;background:var(--ink);color:#fff;font-weight:700;font-size:.82rem;padding:9px 12px;border-radius:10px;transition:.15s}
.product-card__cta svg{width:16px;height:16px}
.product-card__cta:hover{background:var(--accent);color:var(--ink)}

/* ==== DETAIL PRODUKTU (à la kozikremy, přebarveno) ==== */
.product-breadcrumb{font-size:.85rem;color:var(--muted);padding:8px 0 0}
.product-breadcrumb a:hover{color:var(--ink)}
.product--detail{padding:22px 0 10px}
.product__container{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.product__gallery{position:relative}
.product__main-image{position:relative;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);aspect-ratio:1/1;display:grid;place-items:center;padding:32px}
.product__main-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:32px;mix-blend-mode:multiply}
.product__badges{position:absolute;top:14px;left:14px;display:flex;flex-direction:column;gap:6px}
.product__badge{font-size:.74rem;font-weight:800;padding:5px 11px;border-radius:999px;background:var(--accent);color:var(--ink);text-transform:uppercase}
.product__badge--sale{background:#e11d48;color:#fff}
.product__brand{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--accent-d)}
.product__title{font-size:clamp(1.6rem,3.5vw,2.3rem);font-weight:850;line-height:1.15;margin:6px 0 12px}
.product__rating{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:.9rem}
.product__stars{color:#f5a524;letter-spacing:1px}
.product__rating-count{color:var(--muted)}
.product__short{font-size:1.02rem;color:#39424d;line-height:1.6;margin-bottom:18px}
.product__highlights{list-style:none;display:flex;flex-direction:column;gap:9px;margin:0 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}
.product__highlights li{display:flex;justify-content:space-between;gap:14px;font-size:.92rem}
.product__highlights span{color:var(--muted)}
.product__highlights b{font-weight:700;text-align:right}
.product__price-row{display:flex;align-items:center;gap:16px;margin-bottom:6px;flex-wrap:wrap}
.product__price-old{display:flex;align-items:center;gap:8px}
.product__price-old s{color:var(--muted);font-size:1.1rem}
.product__discount{background:#e11d48;color:#fff;font-weight:800;font-size:.78rem;padding:3px 9px;border-radius:8px}
.product__price{font-size:2.1rem;font-weight:850}
.product__price--sale{color:#e11d48}
.product__price-tax{font-size:.8rem;color:var(--muted);font-weight:600;margin-left:6px}
.product__stock{display:inline-flex;align-items:center;gap:6px;font-weight:700;margin:6px 0 18px;color:#15803d}
.product__stock--out{color:#b91c1c}
.product__buy{display:flex;gap:12px;align-items:center;margin-bottom:22px}
.product__qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.product__qty button{width:42px;height:48px;border:0;background:#fff;font-size:1.2rem;cursor:pointer;color:var(--ink)}
.product__qty input{width:46px;height:48px;border:0;text-align:center;font-size:1rem;font-weight:700;outline:0}
.product__buy .btn--buy{flex:1}
.product__trust{display:flex;gap:18px;flex-wrap:wrap;font-size:.85rem;color:var(--muted)}
.product__trust-item{display:flex;align-items:center;gap:7px}
.product__trust svg{width:18px;height:18px;color:var(--accent-d)}
.product__tabs-wrap{margin-top:42px;max-width:900px}
.product__tabs{display:flex;gap:6px;border-bottom:2px solid var(--line);margin-bottom:22px;flex-wrap:wrap}
.product__tab{background:0;border:0;border-bottom:2px solid transparent;margin-bottom:-2px;padding:12px 16px;font-size:1rem;font-weight:700;cursor:pointer;color:var(--muted)}
.product__tab.is-active{color:var(--ink);border-bottom-color:var(--accent)}
.product__tab-panel{display:none;line-height:1.7}
.product__tab-panel.is-active{display:block}
.product__tab-panel p{margin-bottom:12px}
.product__tab-panel ul{list-style:none;display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.product__tab-panel li{padding-left:22px;position:relative}
.product__tab-panel li::before{content:"";position:absolute;left:4px;top:9px;width:7px;height:7px;border-radius:2px;background:var(--accent)}
.paramtable{width:100%;border-collapse:collapse}
.paramtable th,.paramtable td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line);font-size:.93rem}
.paramtable th{width:40%;color:var(--muted);font-weight:600}
/* varianty */
.product-card__variants{font-size:.72rem;color:var(--accent-d);font-weight:800;margin-top:2px}
.product__variants{margin:2px 0 18px}
.product__variants-label{display:block;font-size:.85rem;font-weight:700;margin-bottom:8px;color:var(--muted)}
.product__variant-list{display:flex;flex-wrap:wrap;gap:8px}
.product__variant{display:inline-block;padding:8px 14px;border:1.5px solid var(--line);border-radius:10px;font-size:.88rem;font-weight:700;transition:.15s;background:#fff}
.product__variant:hover{border-color:var(--accent)}
.product__variant.is-active{background:var(--ink);color:#fff;border-color:var(--ink)}
.product__variant.is-out{opacity:.45;text-decoration:line-through}
@media(max-width:860px){ .product__container{grid-template-columns:1fr;gap:24px} }

/* ==== KOŠÍK / POKLADNA / OBJEDNÁVKA ==== */
.cart-h1{font-size:1.9rem;font-weight:850;margin-bottom:22px}
.cart-layout{display:grid;grid-template-columns:1fr 340px;gap:28px;align-items:start}
.cart-items{display:flex;flex-direction:column;gap:12px}
.cart-row{display:grid;grid-template-columns:84px 1fr 90px 110px 40px;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}
.cart-thumb{width:84px;height:84px;background:var(--soft);border-radius:10px;display:grid;place-items:center;overflow:hidden}
.cart-thumb img{max-width:80%;max-height:80%;object-fit:contain;mix-blend-mode:multiply}
.cart-info h3{font-size:.98rem;font-weight:700;line-height:1.3}
.cart-info h3:hover{color:var(--accent-d)}
.cart-variant{display:inline-block;font-size:.78rem;font-weight:700;color:var(--accent-d);margin-top:2px}
.cart-unit{display:block;font-size:.82rem;color:var(--muted);margin-top:2px}
.cart-qty input{width:70px;text-align:center;border:1px solid var(--line);border-radius:10px;padding:9px;font-weight:700;font-size:1rem}
.cart-line{font-weight:850;text-align:right}
.cart-del{border:0;background:var(--soft);color:#b91c1c;width:40px;height:40px;border-radius:10px;cursor:pointer;display:grid;place-items:center;position:relative}
.cart-del:hover{background:#fee2e2}
.cart-actions{display:flex;justify-content:space-between;gap:12px;margin-top:8px;flex-wrap:wrap}

.cart-summary{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;position:sticky;top:90px}
.cart-summary h2{font-size:1.15rem;font-weight:800;margin-bottom:14px}
.sum-row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:.95rem}
.sum-item{display:flex;justify-content:space-between;gap:12px;font-size:.86rem;color:var(--muted);padding:3px 0}
.sum-total{border-top:2px solid var(--line);margin-top:6px;padding-top:12px;font-size:1.25rem;font-weight:850}
.sum-note{background:var(--soft);border-radius:10px;padding:9px 12px;font-size:.85rem;margin:10px 0}
.sum-note--ok{background:#dcfce7;color:#166534}
.sum-hint{font-size:.8rem;color:var(--muted);margin:10px 0 14px}

.checkout{display:grid;grid-template-columns:1fr 340px;gap:28px;align-items:start}
.checkout-main{display:flex;flex-direction:column;gap:18px}
.co-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}
.co-card h2{font-size:1.1rem;font-weight:800;margin-bottom:14px}
.form-grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.fg{display:flex;flex-direction:column}
.fg--full{grid-column:1/-1}
.fg label{font-size:.85rem;font-weight:700;margin-bottom:5px}
.checkout input[type=text],.checkout input[type=email],.co-card textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 13px;font-size:.96rem;font-family:inherit;outline:0}
.checkout input:focus,.co-card textarea:focus{border-color:var(--accent)}
.opt{display:flex;align-items:center;gap:12px;border:1.5px solid var(--line);border-radius:12px;padding:13px 16px;margin-bottom:10px;cursor:pointer}
.opt:hover{border-color:var(--accent)}
.opt input{accent-color:var(--accent-d)}
.opt-label{flex:1;font-weight:600}
.opt-price{font-weight:800}
.co-legal{font-size:.78rem;color:var(--muted);margin-top:12px;text-align:center}
.hint{font-size:.8rem;color:var(--muted);margin-top:6px}

.order-done{text-align:center;max-width:640px;margin:10px auto 30px}
.done-check{width:70px;height:70px;border-radius:50%;background:#dcfce7;color:#16a34a;display:grid;place-items:center;margin:0 auto 18px}
.order-done h1{font-size:2rem;font-weight:850;margin-bottom:10px}
.order-done p{color:var(--muted);line-height:1.6}
.order-box{max-width:640px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}
.order-tbl{width:100%;border-collapse:collapse;margin-bottom:14px}
.order-tbl th,.order-tbl td{text-align:left;padding:9px 8px;border-bottom:1px solid var(--line);font-size:.9rem}
.order-tbl th:last-child,.order-tbl td:last-child,.order-tbl th:nth-child(2),.order-tbl td:nth-child(2){text-align:right}
.order-totals{max-width:300px;margin-left:auto}
.muted{color:var(--muted)}

@media(max-width:860px){
  .cart-layout,.checkout{grid-template-columns:1fr}
  .cart-summary{position:static}
}
@media(max-width:560px){
  .cart-row{grid-template-columns:64px 1fr 40px;grid-template-areas:"t i d" "t q l";row-gap:8px}
  .cart-thumb{grid-area:t;width:64px;height:64px}
  .cart-info{grid-area:i}.cart-qty{grid-area:q}.cart-line{grid-area:l;text-align:left}.cart-del{grid-area:d}
  .form-grid2{grid-template-columns:1fr}
}

/* ---- TOAST ---- */
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(120%);background:var(--ink);color:#fff;padding:14px 22px;border-radius:12px;font-weight:600;box-shadow:0 12px 40px rgba(0,0,0,.3);z-index:60;transition:.3s;display:flex;gap:10px;align-items:center}
.toast.show{transform:translateX(-50%) translateY(0)}
.toast svg{color:var(--accent)}

/* admin pill in header */
.adminlink{background:var(--ink);color:#fff;border-radius:10px;padding:0 14px;height:44px;display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:.9rem}
.adminlink:hover{background:#000}

@media(max-width:920px){
  .hero .wrap{grid-template-columns:1fr;text-align:center}
  .hero p{margin-left:auto;margin-right:auto}
  .hero .cta{justify-content:center}
  .hero-img{order:-1}
  .hero-img img{max-height:260px}
  .benefits .wrap{grid-template-columns:repeat(2,1fr)}
  .cats{grid-template-columns:repeat(2,1fr)}
  .products,.products.grid-list{grid-template-columns:repeat(2,1fr)}
  .fgrid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .search{display:none}
  .menu-toggle{display:grid}
  nav.main{display:none}
  nav.main.open{display:block}
  nav.main .wrap{flex-direction:column}
  .hero h1{font-size:2.1rem}
  .promo{flex-direction:column;text-align:center}
}
/* Mobil: výpis i homepage produkty = 1 produkt na šířku, plná šířka karty */
@media(max-width:560px){
  .products,.products.grid-list{grid-template-columns:1fr;justify-content:stretch}
  .cats{grid-template-columns:1fr}
  .product-card__sub{white-space:normal}
}
