:root {
  --green-900: #053a23;
  --green-800: #064d2e;
  --green-700: #06623b;
  --green-600: #0a8754;
  --green-500: #2da872;
  --green-300: #b8e0c9;
  --green-100: #e8f5ee;
  --green-50:  #f4faf6;
  --red-700:   #c1121f;
  --red-600:   #e63946;
  --red-100:   #fde7e9;
  --amber-500: #f4a23a;
  --ink:       #0e1f15;
  --ink-2:     #2a3b32;
  --muted:     #7c8a82;
  --line:      #e0e8e3;
  --line-2:    #eef3ef;
  --white:     #ffffff;
  --off:       #fafbfa;
  --shadow-sm: 0 1px 2px rgba(6,98,59,.06), 0 1px 3px rgba(6,98,59,.04);
  --shadow-md: 0 4px 14px rgba(6,98,59,.08), 0 2px 4px rgba(6,98,59,.04);
  --shadow-lg: 0 18px 48px rgba(6,98,59,.14), 0 4px 12px rgba(6,98,59,.06);
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--off); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .display { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
em { font-style: normal; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.site-main { min-height: 50vh; }

/* ───── Topbar ───── */
.topbar { background: var(--green-900); color: rgba(255,255,255,.9); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; gap: 24px; padding: 8px 0; flex-wrap: wrap; }
.topbar-inner span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-inner svg { width: 14px; height: 14px; opacity: .85; }

/* ───── Header ───── */
header.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-main { display: flex; align-items: center; gap: 32px; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; font-weight: 900; font-size: 30px; color: var(--green-700); letter-spacing: -0.04em; }
.logo .wordmark { white-space: nowrap; }
.logo .wordmark .accent { color: var(--red-600); }

.search-wrap { flex: 1; position: relative; }
.search-wrap input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border: 2px solid var(--line);
  border-radius: 99px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  background: var(--off);
}
.search-wrap input:focus { outline: none; border-color: var(--green-500); background: var(--white); box-shadow: 0 0 0 4px var(--green-100); }
.search-wrap .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-wrap .voice-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--green-100); display: flex; align-items: center; justify-content: center; color: var(--green-700); }

.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: background .15s;
}
.icon-btn:hover { background: var(--green-100); }
.icon-btn .badge { position: absolute; top: 4px; right: 4px; background: var(--red-600); color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 99px; }

/* ───── Category nav ───── */
.cat-nav { background: var(--white); border-bottom: 1px solid var(--line); }
.cat-nav-inner { display: flex; gap: 2px; padding: 4px 0; overflow-x: auto; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a {
  padding: 10px 12px; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap; border-radius: 8px; transition: all .15s;
  display: flex; align-items: center; gap: 6px;
}
.cat-nav a:hover { background: var(--green-100); color: var(--green-700); }
.cat-nav a.active { background: var(--green-700); color: var(--white); }
.cat-nav a.hot { color: var(--red-600); }
.cat-nav a.hot::before { content: '🔥'; }

/* ───── Hero with seasonal radar ───── */
.hero { padding: 32px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }

.hero-card {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 50%, var(--green-500) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.radar-slides { position: relative; min-height: 400px; }
.radar-slide {
  position: absolute; inset: 0;
  padding: 40px 56px 70px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(8px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
  z-index: 1;
}
.radar-slide.active {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}
.radar-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.16); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  transition: background .2s, transform .2s;
}
.radar-arrow:hover { background: rgba(255,255,255,.28); }
.radar-arrow:active { transform: translateY(-50%) scale(0.95); }
.radar-arrow.prev { left: 12px; }
.radar-arrow.next { right: 12px; }
.radar-dots {
  position: absolute; top: 40px; right: 24px;
  display: flex; gap: 6px; z-index: 5;
  background: rgba(255,255,255,.16); padding: 6px 10px; border-radius: 99px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
}
.radar-dots button {
  width: 7px; height: 7px; border-radius: 99px;
  background: rgba(255,255,255,.45);
  transition: all .25s; padding: 0; cursor: pointer; border: none;
}
.radar-dots button.active { background: var(--amber-500); width: 22px; }
.radar-dots button:hover:not(.active) { background: rgba(255,255,255,.75); }
@media (max-width: 640px) { .radar-dots { top: auto; bottom: 14px; right: 50%; transform: translateX(50%); } }
.hero-card::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-card::after {
  content: ''; position: absolute; bottom: -40px; left: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
}

.radar-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 99px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  width: fit-content; position: relative; z-index: 1;
}
.radar-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(244,162,58,.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(244,162,58,.3); }
  50%      { box-shadow: 0 0 0 8px rgba(244,162,58,.0); }
}
.hero-card h1 {
  font-size: 40px; line-height: 1.12; color: var(--white); margin: 18px 0 12px;
  font-weight: 700; position: relative; z-index: 1;
  text-wrap: balance;
  max-width: 92%;
}
.hero-card h1 em { color: var(--amber-500); }
.hero-card p { font-size: 16px; opacity: .95; max-width: 460px; position: relative; z-index: 1; }
.hero-card .signals { display: flex; gap: 12px; margin-top: 20px; position: relative; z-index: 1; flex-wrap: wrap; }
.signal {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; display: flex; align-items: center; gap: 8px;
}
.signal strong { font-weight: 600; }
.signal .icon { width: 18px; height: 18px; }

.hero-card-cta { display: flex; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
.btn {
  padding: 14px 24px; border-radius: 10px; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .15s; cursor: pointer; border: none;
}
.btn-primary { background: var(--white); color: var(--green-700); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-ghost { background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-red { background: var(--red-600); color: var(--white); }
.btn-red:hover { background: var(--red-700); }
.btn-outline { background: var(--white); color: var(--green-700); border: 2px solid var(--green-700); }
.btn-outline:hover { background: var(--green-50); }

/* Hero side card — Trápi ma */
.trapi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-2);
  display: flex; flex-direction: column;
}
.trapi-card .label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red-600); margin-bottom: 6px;
}
.trapi-card h2 { font-size: 26px; margin-bottom: 20px; }
.trapi-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--green-50);
  color: var(--green-700);
  padding: 10px 14px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s;
  border: 1.5px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { background: var(--green-100); border-color: var(--green-500); transform: translateY(-1px); }
.chip .emo { font-size: 16px; }

.trapi-card .more-link {
  margin-top: auto; padding-top: 20px;
  color: var(--green-700); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ───── Trust bar ───── */
.trust-bar { background: var(--white); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 18px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.trust-item .icon-circle {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green-100);
  color: var(--green-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item strong { display: block; font-weight: 600; color: var(--ink); }
.trust-item span { color: var(--muted); font-size: 13px; }

/* ───── Sections ───── */
section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; gap: 24px; }
.section-head h2 { font-size: 34px; line-height: 1.15; }
.section-head h2 em { color: var(--green-600); }
.section-head p { color: var(--muted); margin-top: 6px; max-width: 520px; }
.section-head .head-link { color: var(--green-700); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }

/* ───── Category grid ───── */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-tile {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.cat-tile:hover {
  border-color: var(--green-500); transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10,135,84,.14);
}
.cat-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--green-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.cat-tile:hover::before { transform: scaleX(1); }
.cat-tile .icon-wrap {
  width: 64px; height: 64px; margin: 0 auto 14px;
  background: var(--green-100); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-700);
  transition: background .2s;
}
.cat-tile:hover .icon-wrap { background: var(--green-300); }
.cat-tile .name { font-weight: 600; font-size: 14px; color: var(--ink); }
.cat-tile .count { font-size: 12px; color: var(--muted); margin-top: 4px; }
.cat-tile .hot-tag {
  position: absolute; top: 8px; right: 8px;
  background: var(--red-600); color: var(--white);
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* ───── Product carousel ───── */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 16px;
  transition: all .2s;
  position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--green-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-image-wrap {
  background: var(--green-50); border-radius: 10px;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; position: relative; overflow: hidden;
}
.product-image-wrap .ph-img {
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600;
  color: var(--green-700); padding: 10px; text-align: center;
  line-height: 1.1;
}
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge-tag {
  background: var(--red-600); color: var(--white);
  font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 6px;
  letter-spacing: 0.05em;
}
.badge-tag.green { background: var(--green-600); }
.badge-tag.amber { background: var(--amber-500); color: var(--green-900); }
.product-fav {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: color .15s;
  z-index: 2;
}
.product-fav:hover { color: var(--red-600); }
.product-brand { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.product-name { font-weight: 600; font-size: 14px; line-height: 1.3; margin: 4px 0 6px; min-height: 36px; }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.product-rating .stars { color: var(--amber-500); letter-spacing: 1px; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); }
.product-price .now { font-size: 20px; font-weight: 700; color: var(--green-700); font-family: 'Fraunces', serif; }
.product-price .old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.product-shops { font-size: 11px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.product-shops strong { color: var(--green-700); font-weight: 600; }
.product-cta {
  margin-top: 12px;
  background: var(--green-700); color: var(--white);
  padding: 10px; border-radius: 8px;
  text-align: center; font-weight: 600; font-size: 13px;
  transition: background .15s;
  display: block;
}
.product-cta:hover { background: var(--green-800); }

/* ───── Articles ───── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  transition: all .2s;
  display: flex; flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-img {
  height: 200px;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 22px; color: var(--green-700);
  text-align: center; padding: 24px; line-height: 1.2;
  position: relative;
  overflow: hidden;
}
.article-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--white); color: var(--green-700);
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px;
  letter-spacing: 0.06em; text-transform: uppercase;
  z-index: 2;
}
.article-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.article-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; margin-bottom: 8px; }
.article-meta .ai-tag { background: var(--green-100); color: var(--green-700); padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 11px; }
.article-card h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.2; }
.article-card h3 a { color: inherit; }
.article-card p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; flex: 1; }
.article-engage { font-size: 13px; color: var(--muted); display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.article-engage span { display: inline-flex; align-items: center; gap: 4px; }

/* ───── Cestovná lekárnička CTA ───── */
.cestovna-cta {
  background: linear-gradient(120deg, #1a3a2a 0%, #06623b 50%, #0a8754 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--white);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.cestovna-cta::before {
  content: '✈'; position: absolute; top: 40px; right: 80px; font-size: 80px;
  opacity: 0.08; transform: rotate(-15deg);
}
.cestovna-cta .label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber-500);
}
.cestovna-cta h2 { font-size: 38px; line-height: 1.1; margin: 12px 0 14px; color: var(--white); }
.cestovna-cta h2 em { color: var(--amber-500); }
.cestovna-cta p { opacity: .9; font-size: 16px; margin-bottom: 24px; max-width: 480px; }
.cestovna-bullets { list-style: none; margin-bottom: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.cestovna-bullets li { display: flex; align-items: center; gap: 8px; font-size: 14px; opacity: .92; }
.cestovna-bullets svg { color: var(--amber-500); flex-shrink: 0; }

/* ───── Domáca lekárnička ───── */
.domaca-section { background: var(--green-50); padding: 64px 0; margin: 0; }
.domaca-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.domaca-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.domaca-mockup-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.domaca-mockup-head h4 { font-size: 18px; }
.domaca-mockup-head .add-btn { background: var(--green-700); color: var(--white); padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.med-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.med-row:last-child { border-bottom: none; }
.med-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.med-info { flex: 1; min-width: 0; }
.med-info strong { display: block; font-weight: 600; font-size: 14px; }
.med-info small { color: var(--muted); font-size: 12px; }
.med-expiry { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; flex-shrink: 0; }
.med-expiry.ok { background: var(--green-100); color: var(--green-700); }
.med-expiry.warn { background: #fff3cd; color: #856404; }
.med-expiry.danger { background: var(--red-100); color: var(--red-700); }

/* ───── Footer ───── */
footer.site-footer { background: var(--green-900); color: rgba(255,255,255,.85); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand h3 { color: var(--white); font-family: 'Inter', sans-serif; font-weight: 900; font-size: 26px; letter-spacing: -0.04em; margin-bottom: 14px; }
.footer-brand h3 .accent { color: var(--red-600); }
.footer-brand p { font-size: 14px; line-height: 1.6; opacity: .8; margin-bottom: 18px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.1); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.footer-social a:hover { background: rgba(255,255,255,.2); }
footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; font-family: 'Inter', sans-serif; font-weight: 700; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 14px; }
footer li a { opacity: .8; transition: opacity .15s; }
footer li a:hover { opacity: 1; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: .7;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom .partners { display: flex; gap: 18px; align-items: center; }
.partner-logo { background: rgba(255,255,255,.08); padding: 6px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; }

/* ───── AI Lekárnik chat widget ───── */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px;
  width: 380px; max-width: calc(100vw - 32px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(6,98,59,.32), 0 6px 18px rgba(0,0,0,.12);
  z-index: 100;
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}
.chat-widget[hidden] { display: none; }
.chat-head {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: var(--white); padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
}
.chat-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700;
  box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}
.chat-head h5 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: var(--white); }
.chat-head .status { font-size: 12px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.chat-head .status::before { content: ''; width: 6px; height: 6px; background: #4ade80; border-radius: 50%; }
.chat-close { margin-left: auto; color: var(--white); opacity: .8; }

.chat-body {
  padding: 20px; height: 320px; overflow-y: auto;
  background: var(--green-50);
  display: flex; flex-direction: column; gap: 12px;
}
.msg { max-width: 85%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.msg.bot { background: var(--white); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--green-700); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }

.chat-disclaimer {
  font-size: 11px; color: var(--muted); padding: 8px 14px; background: #fff3cd;
  border-top: 1px solid #ffe69c; display: flex; gap: 8px; align-items: flex-start;
}
.chat-disclaimer svg { color: #856404; flex-shrink: 0; margin-top: 2px; }

.chat-input-wrap { padding: 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.chat-input-wrap input {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 99px;
  font-family: inherit; font-size: 14px;
}
.chat-input-wrap input:focus { outline: none; border-color: var(--green-500); }
.chat-send { background: var(--green-700); color: var(--white); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Floating chat trigger button */
.chat-trigger {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--green-700); color: var(--white);
  border-radius: 99px;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 24px rgba(6,98,59,.32);
  z-index: 99;
  transition: transform .2s;
}
.chat-trigger:hover { transform: translateY(-2px); }
.chat-trigger.hidden { display: none; }

/* ───── Newsletter ───── */
.newsletter { background: linear-gradient(135deg, var(--green-50), var(--green-100)); padding: 56px 0; }
.newsletter-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter h2 { font-size: 32px; line-height: 1.2; margin-bottom: 12px; }
.newsletter h2 em { color: var(--green-600); }
.newsletter p { color: var(--ink-2); margin-bottom: 18px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; padding: 14px 18px; border: 2px solid var(--white); border-radius: 99px; font-family: inherit; font-size: 14px; background: var(--white); }
.newsletter-message { margin-top: 12px; font-size: 14px; padding: 10px 14px; border-radius: 8px; }
.newsletter-message.success { background: var(--green-100); color: var(--green-700); }
.newsletter-message.error { background: var(--red-100); color: var(--red-700); }

/* ───── Cookie banner ───── */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  z-index: 200; max-width: 720px; margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 13px; color: var(--ink-2); flex: 1; }
.cookie-banner a { color: var(--green-700); font-weight: 600; }
.cookie-banner button { background: var(--green-700); color: var(--white); padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 13px; }

/* ───── Pagination ───── */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 24px 0; flex-wrap: wrap; }
.pagination a {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: all .15s;
}
.pagination a:hover { border-color: var(--green-500); color: var(--green-700); }
.pagination a.active { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.pagination span { padding: 8px; color: var(--muted); }

/* ───── Empty state ───── */
.empty-state { padding: 64px 24px; text-align: center; color: var(--muted); }
.empty-state h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }

/* ───── Responsive ───── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .domaca-grid, .cestovna-cta, .newsletter-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero-card h1 { font-size: 30px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .chat-widget { width: calc(100vw - 24px); right: 12px; bottom: 12px; }
  .chat-trigger { right: 12px; bottom: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-main { flex-wrap: wrap; }
  .search-wrap { order: 3; flex-basis: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Category page — hero + sidebar
   ═══════════════════════════════════════════════════════════════════════ */
.cat-hero { background: linear-gradient(180deg, var(--green-50) 0%, transparent 100%); padding: 24px 0 32px; }
.cat-hero .crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.cat-hero .crumbs a { color: var(--green-700); }
.cat-hero .crumbs strong { color: var(--ink); font-weight: 600; }
.cat-hero h1 { font-family: 'Fraunces', serif; font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 10px; }
.cat-hero h1 em { color: var(--green-700); font-style: normal; }
.cat-hero p { font-size: 16px; color: var(--ink-2); max-width: 720px; line-height: 1.6; margin-bottom: 16px; }
.cat-hero .stats { font-size: 14px; color: var(--ink-2); display: flex; gap: 24px; flex-wrap: wrap; }
.cat-hero .stats strong { color: var(--ink); font-weight: 700; }
.cat-hero .stats .sale { color: var(--red-600); }
.cat-hero .stats .seasonal { color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }

.cat-page-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 32px 0; }

.filter-side {
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 24px; height: fit-content; position: sticky; top: 86px;
}
.filter-side > h4.filtre-head {
  font-family: 'Inter', sans-serif; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-2); margin: 0 0 4px;
}

.filter-block { padding: 18px 0; border-top: 1px solid var(--line-2); }
.filter-block:first-of-type { border-top: none; padding-top: 12px; }
.filter-block:last-child { padding-bottom: 0; }
.filter-block h4 {
  font-family: 'Inter', sans-serif; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-2); margin: 0 0 12px;
}

.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-list label {
  display: flex; align-items: center; gap: 10px; padding: 6px 0;
  font-size: 14px; cursor: pointer; color: var(--ink-2); user-select: none;
}
.filter-list label:hover { color: var(--ink); }
.filter-list label .count { color: var(--muted); font-size: 12px; margin-left: auto; }
.filter-list input[type="checkbox"], .filter-list input[type="radio"] {
  accent-color: var(--green-700); width: 16px; height: 16px; flex-shrink: 0;
}

.filter-price-row { display: flex; gap: 8px; margin-bottom: 6px; }
.filter-price-row input {
  flex: 1; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 14px; min-width: 0;
}
.filter-price-row input:focus { outline: none; border-color: var(--green-500); }
.filter-price-meta { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }

.filter-actions { padding-top: 18px; border-top: 1px solid var(--line-2); margin-top: 6px; display: flex; flex-direction: column; gap: 10px; }
.filter-actions .btn { padding: 10px 14px; }
.filter-clear { font-size: 13px; color: var(--muted); text-align: center; }
.filter-clear:hover { color: var(--green-700); }

.cat-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 24px;
  font-size: 14px; color: var(--ink-2); gap: 16px; flex-wrap: wrap;
}
.cat-toolbar .count strong { color: var(--ink); font-weight: 700; }
.cat-toolbar select {
  padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 14px; background: var(--white); color: var(--ink);
}
.cat-toolbar select:focus { outline: none; border-color: var(--green-500); }

.cat-product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}

.empty-state { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; color: var(--ink); }

@media (max-width: 1024px) {
  .cat-page-layout { grid-template-columns: 240px 1fr; }
  .cat-product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .cat-page-layout { grid-template-columns: 1fr; }
  .filter-side { position: static; }
  .cat-product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-hero h1 { font-size: 32px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Product detail — tabs + price compare polish
   ═══════════════════════════════════════════════════════════════════════ */
.price-compare {
  background: var(--white); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 22px; margin-bottom: 18px;
}
.price-compare-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; gap: 12px; }
.price-compare-head h4 {
  font-family: 'Inter', sans-serif; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-2); margin: 0; display: flex; align-items: center; gap: 8px;
}
.price-compare-head .savings {
  background: var(--red-600); color: var(--white); font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 99px;
}
.price-compare-note { font-size: 12px; color: var(--muted); margin-bottom: 16px; display: flex; gap: 4px; align-items: flex-start; }

.shop-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  gap: 16px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); position: relative;
}
.shop-row + .shop-row { margin-top: 8px; }
.shop-row.best { border: 2px solid var(--green-700); padding: 16px; background: var(--green-50); }
.shop-row .shop-name { font-weight: 600; }
.shop-row .shop-name small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.shop-row .shop-price { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.shop-row.best .shop-price { color: var(--green-700); }
.shop-row .shop-go {
  padding: 9px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
  white-space: nowrap; transition: all .15s; border: 1.5px solid transparent;
}
.shop-row.best .shop-go { background: var(--green-700); color: var(--white); }
.shop-row.best .shop-go:hover { background: var(--green-800); }
.shop-row .shop-go.muted { background: var(--white); color: var(--ink); border-color: var(--line); }
.shop-row .shop-go.muted:hover { border-color: var(--green-700); color: var(--green-700); }
.shop-row .best-badge {
  position: absolute; top: -10px; left: 16px; background: var(--green-700); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}

.product-tabs { margin-top: 28px; border-top: 1px solid var(--line-2); padding-top: 0; }
.tab-headers { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.tab-headers::-webkit-scrollbar { display: none; }
.tab-headers button {
  padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s;
}
.tab-headers button.active { color: var(--green-700); border-bottom-color: var(--green-700); }
.tab-headers button:hover { color: var(--ink); }
.tab-content { padding: 22px 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.tab-content[hidden] { display: none; }
.tab-content p + p { margin-top: 12px; }
.tab-content strong { color: var(--ink); font-weight: 700; }

.product-cta-row { display: flex; gap: 10px; align-items: center; margin-top: 24px; }
.btn-fav, .btn-share {
  width: 50px; height: 50px; border-radius: 12px; background: var(--green-50);
  color: var(--green-700); display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); transition: all .15s; flex-shrink: 0;
}
.btn-fav:hover, .btn-share:hover { background: var(--green-100); }
.btn-fav.active { background: var(--red-100); color: var(--red-600); border-color: var(--red-100); }

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr !important; gap: 24px !important; }
  .shop-row { grid-template-columns: 1fr; gap: 8px; }
  .shop-row .shop-price { font-size: 22px; }
}

