/* BBQ Hubinák — prototyp eshopu.
   Názvy tříd kopírují šablonu Shoptet Disco (#header, .header-top, .product > .p > .p-in,
   .p-detail, .flags, .sidebar…), aby šly styly později přenést do Shoptetu přes vlastní CSS. */

:root {
  --bg: #fbf7f1;
  --bg-alt: #f3eadc;
  --card: #ffffff;
  --ink: #1f1a16;
  --muted: #6e6259;
  --line: #e6dccd;
  --char: #1f1a16;
  --char-2: #2b241f;
  --cream: #f6efe4;
  --ember: #c8401a;
  --ember-dark: #a3330f;
  --mustard: #e3a33b;
  --ok: #2f7d32;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31, 26, 22, .06), 0 6px 20px rgba(31, 26, 22, .06);
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-logo: 'Alfa Slab One', Georgia, serif;
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ——— Tlačítka ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--radius-sm); padding: 12px 22px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-conversion, .btn-cart { background: var(--ember); color: #fff; }
.btn-conversion:hover, .btn-cart:hover { background: var(--ember-dark); }
.btn-dark { background: var(--char); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--cream); color: var(--char); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-more { font-weight: 600; color: var(--ember); text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ——— Horní lišta: nejbližší rozvoz ——— */
.top-bar { background: var(--char); color: var(--cream); font-size: 14px; }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.top-bar strong { color: var(--mustard); font-weight: 600; }
.top-bar .countdown { font-variant-numeric: tabular-nums; background: rgba(255,255,255,.1); border-radius: 6px; padding: 2px 8px; margin-left: 6px; white-space: nowrap; }
.top-bar .free { white-space: nowrap; }
.top-bar .free b { color: var(--mustard); }
.proto-flag { background: var(--mustard); color: var(--char); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; padding: 2px 7px; margin-right: 10px; text-decoration: none; }

/* ——— Hlavička (Disco: #header > .header-top + .header-bottom) ——— */
#header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-top-wrapper { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.site-name a { display: block; }
.site-name .logo { height: 54px; width: auto; }
.search { flex: 1; max-width: 420px; }
.search-form { position: relative; }
.search-form input { width: 100%; height: 46px; border: 0; background: var(--bg-alt); border-radius: 10px; padding: 0 16px 0 44px; font-size: 15px; }
.search-form input:focus { outline: 2px solid var(--mustard); }
.search-form svg { position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; color: var(--muted); }
.header-contact-chip { display: flex; align-items: center; gap: 10px; background: var(--ember); color: #fff; border-radius: 10px; padding: 6px 14px 6px 6px; text-decoration: none; line-height: 1.25; font-size: 13px; }
.header-contact-chip img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.header-contact-chip b { display: block; font-size: 14px; }
.navigation-buttons { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-btn { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: 14px; background: none; border: 0; cursor: pointer; }
.nav-btn:hover { background: var(--bg-alt); }
.nav-btn svg { width: 24px; height: 24px; }
.cart-count { position: relative; }
.cart-count .badge { position: absolute; top: 2px; left: 24px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ember); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.cart-count .badge:empty { display: none; }
.cart-count .cart-total { font-weight: 600; white-space: nowrap; }
.menu-toggle { display: none; }

.header-bottom { border-top: 1px solid var(--line); }
#navigation .menu-level-1 { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
#navigation .menu-level-1::-webkit-scrollbar { display: none; }
#navigation .menu-level-1 a { display: block; padding: 14px 14px; text-decoration: none; font-size: 16px; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
#navigation .menu-level-1 a:hover, #navigation .menu-level-1 a.active { border-bottom-color: var(--ember); }
#navigation .menu-level-1 .menu-sep { margin-left: auto; }
#navigation .menu-level-1 a.menu-info { color: var(--muted); font-size: 15px; }
.navigation-close { display: none; }

/* ——— Sekce ——— */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--char); color: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--ember); font-weight: 600; margin-bottom: 8px; display: block; }

/* ——— Hero dlaždice (jako Trnečka: 3 dlaždice s fotkou) ——— */
.hero-tiles { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; padding-top: 28px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--char); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(20,14,10,.85) 100%); }
.tile-body { position: relative; z-index: 1; padding: 26px; }
.tile-body h2, .tile-body h3 { color: #fff; margin-bottom: 8px; }
.tile-main h2 { font-size: clamp(30px, 3.6vw, 48px); max-width: 15ch; }
.tile-body p { margin-bottom: 16px; max-width: 42ch; opacity: .92; }
.tile .pill { display: inline-block; background: var(--mustard); color: var(--char); border-radius: 6px; padding: 3px 9px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }

/* ——— Proužek s rozvozem ——— */
.delivery-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 24px; margin-top: 20px; }
.delivery-strip .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--bg-alt); display: grid; place-items: center; color: var(--ember); }
.delivery-strip .ico svg { width: 30px; height: 30px; }
.delivery-strip h3 { margin: 0 0 2px; font-size: 20px; }
.delivery-strip p { margin: 0; color: var(--muted); }
.delivery-strip .countdown-big { font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--ember); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ——— Výhody (4 ikony) ——— */
.usp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp { text-align: center; padding: 8px; }
.usp .ico { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--ember); }
.usp .ico svg { width: 100%; height: 100%; }
.usp h3 { font-size: 18px; margin-bottom: 6px; }
.usp p { color: var(--muted); font-size: 15px; margin: 0; }

/* ——— Kategorie ——— */
.categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card { background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.cat-card:hover { transform: translateY(-3px); }
.cat-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cat-card span { display: block; padding: 14px 16px; font-family: var(--font-head); font-size: 19px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ——— Produkty (Disco: .products > .product > .p) ——— */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product { min-width: 0; }
.product .p { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; box-shadow: var(--shadow); }
.product .image { position: relative; display: block; background: var(--bg-alt); }
.product .image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.flag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 4px; color: #fff; }
.flag-novinka { background: var(--ok); }
.flag-bestseller { background: var(--char); }
.flag-akce { background: var(--ember); }
.flag-palive { background: #8f2c10; }
.p-in { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.p-in .name { font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.3; margin-bottom: 4px; }
.p-in .name:hover { color: var(--ember); }
.p-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.availability { color: var(--ok); font-weight: 500; }
.p-desc { font-size: 14px; color: var(--muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-bottom { margin-top: auto; }
.prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.price-final { font-family: var(--font-head); font-size: 24px; font-weight: 600; color: var(--ember); }
.price-standard { text-decoration: line-through; color: var(--muted); font-size: 15px; }
.price-unit { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.p-tools { display: flex; gap: 8px; align-items: center; }
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.quantity button { width: 34px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.quantity input { width: 36px; text-align: center; border: 0; background: none; height: 40px; -moz-appearance: textfield; }
.quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.p-tools .btn { flex: 1; }

/* ——— Jak to funguje (5 kroků) ——— */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.section-dark .step { background: var(--char-2); }
.step img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.step-body { padding: 16px; }
.step-body h3 { font-size: 18px; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.step-body h3::before { counter-increment: step; content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ember); color: #fff; display: grid; place-items: center; font-size: 15px; }
.step-body p { margin: 0; font-size: 14px; color: var(--muted); }
.section-dark .step-body p { color: #c9bdb0; }

/* ——— Příběh ——— */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.story h2 { font-size: clamp(30px, 3.4vw, 44px); }
.story .signature { font-family: var(--font-logo); color: var(--ember); font-size: 26px; margin-top: 8px; }
.story-photo { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.story-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.story-photo .logo { position: absolute; width: 120px; height: auto; right: -18px; bottom: -18px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.25)); }
.placeholder-note { display: inline-block; background: #fff4d6; border: 1px dashed var(--mustard); color: #7a5a12; font-size: 13px; border-radius: 6px; padding: 4px 10px; margin-bottom: 14px; }

/* ——— Hodnoty se 3 fotkami ——— */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value .img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.value .img img { width: 100%; height: 100%; object-fit: cover; }
.value .img span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-size: 24px; background: rgba(20,14,10,.35); text-align: center; padding: 16px; }
.value p { margin: 14px 0 0; color: var(--muted); }

/* ——— FAQ ——— */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--font-head); font-size: 20px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 26px; color: var(--ember); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; max-width: 70ch; }

/* ——— Newsletter ——— */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--ember); color: #fff; border-radius: var(--radius); padding: 40px; }
.newsletter h2 { color: #fff; margin-bottom: 6px; }
.newsletter p { margin: 0; opacity: .9; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { flex: 1; height: 50px; border: 0; border-radius: var(--radius-sm); padding: 0 16px; min-width: 0; color: var(--ink); }

/* ——— Patička (Disco: #footer) ——— */
#footer { background: var(--char); color: var(--cream); margin-top: 72px; }
#footer .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
#footer h2 { font-size: 18px; color: var(--mustard); margin-bottom: 14px; }
#footer ul { list-style: none; margin: 0; padding: 0; }
#footer li { margin-bottom: 8px; }
#footer a { text-decoration: none; color: #e9dfd2; }
#footer a:hover { color: #fff; text-decoration: underline; }
#footer .footer-claim { font-family: var(--font-head); font-size: 28px; line-height: 1.2; margin: 18px 0; max-width: 16ch; }
#footer .footer-logo .logo { height: 58px; width: auto; }
#footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 13px; color: #b9ab9c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pay-icons span { background: rgba(255,255,255,.1); border-radius: 5px; padding: 4px 8px; font-size: 12px; font-weight: 600; }

/* ——— Drobečková navigace + nadpisy stránek ——— */
.breadcrumbs { font-size: 14px; color: var(--muted); padding: 18px 0 6px; }
.breadcrumbs a { color: var(--muted); }
.page-head { padding: 12px 0 24px; }
.page-head p { color: var(--muted); max-width: 75ch; }

/* ——— Kategorie (Disco: .sidebar + #content) ——— */
.category-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.sidebar .box { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 20px; }
.sidebar h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.box-categories ul { list-style: none; margin: 0; padding: 0; }
.box-categories a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.box-categories a:hover { background: var(--bg-alt); }
.box-categories a.active { background: var(--char); color: var(--cream); }
.box-categories a small { color: var(--muted); }
.box-categories a.active small { color: #b9ab9c; }
.filter-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 15px; }
.filter-row input { accent-color: var(--ember); width: 18px; height: 18px; }
.price-range input[type=range] { width: 100%; accent-color: var(--ember); }
.listing-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.listing-controls select { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius-sm); padding: 8px 12px; }
.subcategories { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.subcategories a { display: inline-block; padding: 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; }
.subcategories a:hover { border-color: var(--ember); }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--radius); }

/* ——— Detail produktu (Disco: .p-detail > .p-image-wrapper + .p-data-wrapper) ——— */
.p-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.p-image { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.p-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.p-thumbnails { display: flex; gap: 10px; margin-top: 12px; }
.p-thumbnails button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; width: 88px; background: none; }
.p-thumbnails button.active { border-color: var(--ember); }
.p-thumbnails img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.p-data-wrapper h1 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 10px; }
.p-short-description { font-size: 17px; color: #3d342d; }
.detail-parameters { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.detail-parameters th, .detail-parameters td { text-align: left; padding: 9px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.detail-parameters th { color: var(--muted); font-weight: 500; width: 42%; }
.p-to-cart-block { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.p-to-cart-block .price-final { font-size: 34px; }
.p-to-cart-block .btn { flex: 1; min-width: 180px; padding: 14px 22px; font-size: 16px; }
.p-delivery-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; color: var(--muted); }
.p-delivery-note svg { flex: none; width: 22px; height: 22px; color: var(--ember); margin-top: 1px; }
.p-delivery-note b { color: var(--ink); }
.p-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.p-usp svg { width: 34px; height: 34px; margin: 0 auto 6px; color: var(--ember); display: block; }
.related-addons { background: var(--card); border-radius: var(--radius); padding: 16px 18px; margin: 18px 0; box-shadow: var(--shadow); }
.related-addons h3 { font-size: 16px; margin-bottom: 8px; }
.related-addons label { display: grid; grid-template-columns: 20px 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.related-addons label:first-of-type { border-top: 0; }
.related-addons input { accent-color: var(--ember); width: 18px; height: 18px; }
.related-addons img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.related-addons b { font-weight: 600; white-space: nowrap; }
.shp-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin: 48px 0 24px; padding: 0; list-style: none; overflow-x: auto; }
.shp-tabs button { border: 0; background: none; padding: 12px 16px; font-family: var(--font-head); font-size: 19px; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.shp-tabs button.active { border-bottom-color: var(--ember); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.heat-list { display: grid; gap: 12px; }
.heat-item { background: var(--card); border-radius: var(--radius-sm); padding: 14px 16px; border-left: 4px solid var(--ember); }
.heat-item b { display: block; margin-bottom: 2px; }
.nutrition { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border-radius: var(--radius-sm); overflow: hidden; }
.nutrition td { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.nutrition td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.nutrition tr.sub td:first-child { padding-left: 24px; color: var(--muted); }
.box-contents { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.box-contents a { display: flex; gap: 12px; align-items: center; text-decoration: none; background: var(--card); border-radius: var(--radius-sm); padding: 8px; }
.box-contents img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.demo-note { font-size: 13px; color: #7a5a12; background: #fff4d6; border-radius: 6px; padding: 8px 12px; margin-top: 16px; }

/* ——— Košík (Shoptet: 3 kroky) ——— */
.cart-steps { display: flex; gap: 0; list-style: none; padding: 0; margin: 8px 0 28px; counter-reset: cs; }
.cart-steps li { flex: 1; display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); padding: 12px 0; border-bottom: 3px solid var(--line); }
.cart-steps li::before { counter-increment: cs; content: counter(cs); width: 30px; height: 30px; border-radius: 50%; background: var(--line); color: var(--ink); display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.cart-steps li.done, .cart-steps li.active { color: var(--ink); border-bottom-color: var(--ember); }
.cart-steps li.done::before { content: '✓'; background: var(--ok); color: #fff; }
.cart-steps li.active::before { background: var(--ember); color: #fff; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-layout > *, .category-layout > *, .p-detail-inner > *, .tab-grid > *, .story > *, .about-grid > * { min-width: 0; }
.cart-table { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto auto 32px; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 72px; height: 56px; border-radius: 8px; object-fit: cover; }
.cart-row .name { font-weight: 600; text-decoration: none; }
.cart-row .row-total { font-weight: 700; min-width: 80px; text-align: right; }
.remove-item { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 20px; }
.remove-item:hover { color: var(--ember); }
.cart-summary { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; position: sticky; top: 150px; }
.cart-summary h3 { margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 700; }
.sum-note { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.free-progress { background: var(--bg-alt); border-radius: 999px; height: 8px; overflow: hidden; margin: 6px 0 4px; }
.free-progress span { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.alert-warn { background: #fff1e8; color: #8f2c10; }
.alert-ok { background: #e8f4e8; color: #1f5a22; }
.choice-group { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 20px; }
.choice-group h3 { margin-bottom: 4px; }
.choice-group > p { color: var(--muted); font-size: 14px; }
.choice { display: flex; align-items: center; gap: 14px; border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 10px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ember); background: #fff8f4; }
.choice input { accent-color: var(--ember); width: 18px; height: 18px; flex: none; }
.choice .c-main { flex: 1; }
.choice .c-main b { display: block; }
.choice .c-main small { color: var(--muted); }
.choice .c-price { font-weight: 700; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: block; border: 2px solid var(--line); border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 500; text-align: center; min-width: 120px; }
.chip span small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.chip input:checked + span { border-color: var(--ember); background: #fff8f4; }
.chip input:focus-visible + span { outline: 2px solid var(--mustard); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius-sm); padding: 11px 12px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--mustard); border-color: transparent; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-top: 10px; }
.check-row input { accent-color: var(--ember); width: 18px; height: 18px; margin-top: 2px; }
.cart-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.thankyou { max-width: 760px; margin: 0 auto; text-align: center; padding: 40px 0; }
.thankyou .big-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-size: 44px; }
.qr-box { display: inline-flex; gap: 20px; align-items: center; text-align: left; background: var(--card); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); margin: 18px 0; }
.qr-box svg { width: 120px; height: 120px; }

/* ——— Obsahové stránky ——— */
.content-narrow { max-width: 860px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.info-card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.info-card .ico { width: 44px; height: 44px; color: var(--ember); margin-bottom: 10px; }
.info-card h3 { margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; }
.table-simple { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-simple th, .table-simple td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.table-simple th { background: var(--bg-alt); font-weight: 600; }
.cz-map { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.cz-map svg { width: 100%; height: auto; }
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.about-grid img { border-radius: var(--radius); width: 100%; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-grid.contact-michal { grid-template-columns: 220px 1fr; align-items: center; }

/* ——— Značka ——— */
.brand-variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-group { margin-bottom: 40px; }
.brand-group h2 { margin-bottom: 16px; }
.brand-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.brand-card.current { outline: 3px solid var(--ember); }
.brand-card .logo-full { display: grid; place-items: center; min-height: 260px; }
.brand-card .logo-full svg { max-height: 250px; width: auto; max-width: 100%; }
.brand-card .logo-full svg.logo-wide { width: 100%; height: auto; }
.brand-card .lockups { display: grid; gap: 10px; }
.brand-card .lockups div { padding: 10px; border-radius: 8px; background: var(--bg); }
.brand-card .lockups .dark { background: var(--char); }
.brand-card .lockups svg { height: 44px; width: auto; max-width: 100%; }
.brand-card .favs { display: flex; gap: 12px; align-items: end; }
.brand-card .favs img { border-radius: 4px; }
.brand-card h3 { margin: 0; }
.brand-card p { color: var(--muted); font-size: 15px; margin: 0; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.swatch { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.swatch div { height: 90px; }
.swatch p { margin: 0; padding: 10px 12px; font-size: 13px; }
.swatch p b { display: block; font-size: 14px; }
.type-samples { display: grid; gap: 14px; }
.type-sample { background: var(--card); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.type-sample small { color: var(--muted); display: block; margin-bottom: 6px; }
.changelog { list-style: none; padding: 0; margin: 0; }
.changelog > li { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 16px; }
.changelog time { font-family: var(--font-head); color: var(--ember); font-size: 18px; }
.changelog ul { margin: 10px 0 0; padding-left: 1.2em; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--char); color: var(--cream); padding: 12px 18px; border-radius: 10px; z-index: 110; opacity: 0; transition: all .25s; pointer-events: none; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast a { color: var(--mustard); font-weight: 600; margin-left: 8px; }

/* ——— Responzivita ——— */
@media (max-width: 1180px) {
  .header-contact-chip { display: none; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .products.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .p-tools { flex-direction: column; align-items: stretch; }
  .p-tools .quantity { justify-content: space-between; }
  .p-tools .quantity input { flex: 1; }
  .hero-tiles { grid-template-columns: 1fr 1fr; }
  .hero-tiles .tile-main { grid-column: 1 / -1; min-height: 380px; }
  .tile { min-height: 300px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .brand-variants { grid-template-columns: 1fr; }
  #footer .footer-top { grid-template-columns: 1fr 1fr; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .container { padding: 0 16px; }
  .header-top-wrapper { flex-wrap: wrap; gap: 10px 12px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .site-name .logo { height: 42px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search-form input { height: 42px; }
  .menu-toggle { display: flex; }
  .nav-btn .lbl { display: none; }
  .header-bottom { display: none; }
  .header-bottom.open { display: block; position: fixed; inset: 0; z-index: 80; background: var(--card); overflow: auto; border: 0; }
  .header-bottom.open .navigation-close { display: block; position: absolute; right: 12px; top: 8px; font-size: 32px; border: 0; background: none; cursor: pointer; }
  .header-bottom.open #navigation .menu-level-1 { flex-direction: column; padding: 56px 16px 24px; gap: 0; }
  .header-bottom.open #navigation .menu-level-1 a { font-size: 20px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .header-bottom.open #navigation .menu-level-1 .menu-sep { margin-left: 0; margin-top: 18px; }
  .header-bottom.open #navigation .menu-level-1 a.menu-info { font-size: 17px; }
  .top-bar .free { display: none; }
  .top-bar .container { justify-content: center; text-align: center; font-size: 13px; }
  .category-layout, .p-detail-inner, .story, .about-grid, .about-grid.contact-michal, .tab-grid, .newsletter { grid-template-columns: 1fr; }
  .p-detail-inner { gap: 24px; }
  .sidebar { order: 2; }
  .usp-row { grid-template-columns: 1fr 1fr; }
  .values, .info-cards, .contact-grid { grid-template-columns: 1fr; }
  .value .img { aspect-ratio: 16 / 9; }
  .section { padding: 44px 0; }
  .delivery-strip { grid-template-columns: auto 1fr; }
  .delivery-strip .countdown-big { grid-column: 1 / -1; font-size: 22px; }
  .story-photo .logo { width: 92px; right: 8px; bottom: 8px; }
  .newsletter { padding: 28px 22px; }
  .newsletter form { flex-direction: column; }
}
@media (max-width: 600px) {
  .products, .products.cols-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-in { padding: 12px; }
  .p-in .name { font-size: 15px; }
  .p-desc { display: none; }
  .price-final { font-size: 20px; }
  .site-name .logo.logo-wide { height: 34px; }
  .header-top-wrapper { column-gap: 8px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card span { font-size: 16px; padding: 10px 12px; }
  .hero-tiles { grid-template-columns: 1fr; gap: 14px; padding-top: 16px; }
  .hero-tiles .tile-main { min-height: 360px; }
  .tile { min-height: 230px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step-body { padding: 12px; }
  .cart-row { grid-template-columns: 56px 1fr auto; gap: 10px 12px; padding: 12px; }
  .cart-row img { width: 56px; height: 48px; }
  .cart-row .quantity { grid-column: 2; justify-self: start; }
  .cart-row .row-total { grid-column: 3; grid-row: 2; }
  .cart-row .remove-item { grid-column: 3; grid-row: 1; justify-self: end; }
  .form-grid { grid-template-columns: 1fr; }
  .p-usp { grid-template-columns: 1fr 1fr; }
  #footer .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .cart-steps li { font-size: 0; justify-content: center; }
  .cart-steps li::before { font-size: 14px; }
  .related-addons label { grid-template-columns: 20px 40px 1fr; }
  .related-addons label b { grid-column: 3; }
}
