/* Telefonix — hlavní stylopis webu */

:root {
  --ink: oklch(0.16 0.004 250);
  --ink-2: oklch(0.24 0.02 255);
  --ink-3: oklch(0.28 0.01 250);
  --accent: oklch(0.55 0.16 255);
  --accent-dark: oklch(0.42 0.15 255);
  --accent-light: oklch(0.8 0.08 255);
  --accent-soft-bg: oklch(0.95 0.01 255);
  --accent-soft-border: oklch(0.55 0.16 255 / 0.25);
  --muted: oklch(0.45 0.006 250);
  --muted-2: oklch(0.7 0.004 250);
  --muted-3: oklch(0.5 0.006 250);
  --muted-4: oklch(0.4 0.006 250);
  --border: oklch(0.9 0.004 250);
  --border-dark: oklch(0.28 0.01 250);
  --surface: #fff;
  --surface-2: oklch(0.96 0.004 250);
  --bg: oklch(0.99 0.002 250);
  --star: oklch(0.6 0.14 90);
  --danger: oklch(0.5 0.16 30);
  --success: oklch(0.5 0.13 150);
  --placeholder-a: oklch(0.95 0.004 250);
  --placeholder-b: oklch(0.91 0.004 250);
  --placeholder-dark-a: oklch(0.24 0.01 250);
  --placeholder-dark-b: oklch(0.2 0.01 250);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
.hidden { display: none !important; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  flex: 1;
}
.main-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}
.main-nav a.active {
  background: var(--accent-soft-bg);
  color: var(--accent-dark);
}
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-badge.show { display: flex; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
  display: none;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
  font-size: 13px;
  flex: 1;
  min-width: 240px;
  color: oklch(0.9 0.004 250);
  line-height: 1.5;
}
.cookie-banner a { color: var(--accent-light); text-decoration: underline; }
.cookie-banner button {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; border: 1px solid oklch(0.4 0.01 250); color: #fff; }
.btn-small { padding: 10px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-full { width: 100%; padding: 14px; border-radius: 9px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 72px;
  display: grid;
  grid-template-columns: minmax(280px,1fr) minmax(280px,1fr);
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft-border);
  color: var(--accent-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero p {
  font-size: 16.5px;
  line-height: 1.6;
  color: oklch(0.82 0.006 250);
  margin: 0 0 28px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- USP strip ---------- */
.usp-strip { background: var(--ink); border-top: 1px solid var(--border-dark); }
.usp-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 16px;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: oklch(0.85 0.005 250);
  font-size: 13.5px;
  font-weight: 600;
}
.usp-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: 64px 24px; }
.section-title { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; }
.section-lead { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.bg-surface-2 { background: var(--surface-2); }
.bg-ink { background: var(--ink); color: #fff; }

.page-hero {
  background: var(--ink);
  color: #fff;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
}
.page-hero h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.page-hero p {
  font-size: 15.5px;
  line-height: 1.6;
  color: oklch(0.8 0.006 250);
  max-width: 640px;
  margin: 0;
}

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px;
}
.cat-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.cat-card-photo { aspect-ratio: 16/10; overflow: hidden; }
.cat-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-body { padding: 16px; }
.cat-card-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.cat-card-sub { font-size: 13px; color: var(--muted); }

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.product-photo {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  min-height: 39px;
}
.product-price-row { display: flex; align-items: baseline; gap: 8px; }
.product-price { font-size: 19px; font-weight: 800; color: var(--ink); }
.product-old-price { font-size: 13px; color: oklch(0.55 0.005 250); text-decoration: line-through; }
.product-add-btn {
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.product-add-btn.added { background: var(--success); }

/* ---------- Tip / promo panel ---------- */
.promo-panel {
  display: grid;
  grid-template-columns: minmax(260px,1fr) minmax(260px,1.4fr);
  gap: 40px;
  align-items: center;
  background: var(--ink);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
}
.promo-photo { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; }
.promo-photo img { width: 100%; height: 100%; object-fit: cover; }
.promo-panel h2 { font-size: 26px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; }
.promo-panel p { font-size: 15px; line-height: 1.6; color: oklch(0.82 0.006 250); margin: 0 0 20px; }
.promo-link { color: var(--accent-light); text-decoration: none; font-weight: 700; font-size: 14px; }

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.review-stars { color: var(--star); font-size: 15px; margin-bottom: 10px; letter-spacing: 1px; }
.review-text { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); margin: 0 0 14px; }
.review-name { font-size: 13px; font-weight: 700; color: var(--ink); }

/* ---------- Newsletter ---------- */
.newsletter-box {
  background: var(--accent-soft-bg);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.newsletter-title { font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.newsletter-sub { font-size: 13.5px; color: var(--muted); }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; max-width: 420px; }

/* ---------- Forms (generic) ---------- */
.field {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
textarea.field { resize: vertical; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 12px; }

/* ---------- FAQ / info blocks ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; }
.faq-item { margin-bottom: 16px; }
.faq-item:last-child { margin-bottom: 0; }
.faq-q { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.faq-a { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.side-card-title { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.side-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.side-card a { color: var(--accent-dark); text-decoration: none; font-weight: 700; font-size: 13.5px; }

/* ---------- Placeholder blocks (fallback, no photo) ---------- */
.ph-block {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, var(--placeholder-a) 0px, var(--placeholder-a) 10px, var(--placeholder-b) 10px, var(--placeholder-b) 20px);
  color: var(--muted); font-size: 12px; padding: 14px;
}
.ph-block-dark {
  background: repeating-linear-gradient(135deg, var(--placeholder-dark-a) 0px, var(--placeholder-dark-a) 12px, var(--placeholder-dark-b) 12px, var(--placeholder-dark-b) 24px);
  color: oklch(0.65 0.01 250);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: oklch(0.88 0.004 250); }
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; margin-bottom: 12px; }
.footer-brand .logo-badge { width: 28px; height: 28px; border-radius: 7px; font-size: 14px; }
.footer-desc { font-size: 13px; line-height: 1.7; color: oklch(0.7 0.004 250); margin: 0; }
.footer-heading { font-weight: 700; color: #fff; font-size: 13px; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: oklch(0.75 0.004 250); text-decoration: none; font-size: 13px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: oklch(0.75 0.004 250); line-height: 1.6; }
.footer-contact a { color: oklch(0.75 0.004 250); text-decoration: none; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted-3);
}
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badge { padding: 4px 10px; border: 1px solid oklch(0.32 0.004 250); border-radius: 6px; }

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; font-size: 14.5px; line-height: 1.75; color: var(--ink-3); }
.legal-wrap h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--ink); }
.legal-wrap .legal-date { color: var(--muted-3); font-size: 13px; margin: 0 0 32px; display: block; }
.legal-wrap h2 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.legal-wrap p { margin: 0 0 14px; }
.legal-wrap a { color: var(--accent-dark); }
.legal-wrap-wide { max-width: 820px; }

/* ---------- Tip article ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.back-link { color: var(--accent-dark); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.article-kicker { font-size: 12px; font-weight: 700; color: var(--accent-dark); margin: 20px 0 8px; }
.article-wrap h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 20px; line-height: 1.2; }
.article-photo { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.article-photo img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 15.5px; line-height: 1.8; color: var(--ink-3); }
.article-body p { margin: 0 0 16px; }
.article-cta { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ---------- Tips index ---------- */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; }
.tip-card { text-decoration: none; color: inherit; display: block; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.tip-card-photo { aspect-ratio: 16/9; overflow: hidden; }
.tip-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.tip-card-body { padding: 20px; }
.tip-card-kicker { font-size: 12px; font-weight: 700; color: var(--accent-dark); margin-bottom: 8px; }
.tip-card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.tip-card-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- About page ---------- */
.about-hero { max-width: 1280px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: minmax(260px,1.1fr) minmax(240px,1fr); gap: 40px; align-items: center; }
.about-photo { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.value-card { background: var(--surface); border-radius: 12px; padding: 22px; border: 1px solid var(--border); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(260px,1fr) minmax(280px,1.2fr); gap: 32px; }
.contact-info-card { background: var(--surface-2); border-radius: 14px; padding: 24px; }
.contact-map { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.thankyou { text-align: center; padding: 40px 12px; }
.thankyou-big { text-align: center; padding: 64px 24px; background: var(--surface-2); border-radius: 14px; }

/* ---------- Cart ---------- */
.cart-row {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; flex-wrap: wrap;
}
.cart-row-photo { width: 64px; height: 64px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.cart-row-photo img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info { flex: 1; min-width: 140px; }
.cart-row-title { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.cart-row-unit { font-size: 13px; color: var(--muted); }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 30px; height: 30px; border-radius: 7px; border: 1px solid oklch(0.85 0.004 250); background: #fff; font-size: 15px; cursor: pointer; }
.cart-row-total { min-width: 80px; text-align: right; font-weight: 800; font-size: 14.5px; }
.remove-btn { background: none; border: none; color: var(--danger); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cart-summary { background: var(--surface-2); border-radius: 14px; padding: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.cart-total-big { font-size: 22px; font-weight: 800; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(240px,1fr); gap: 32px; align-items: start; }
.checkout-block { margin-bottom: 20px; }
.checkout-block-title { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.option-list { display: flex; flex-direction: column; gap: 8px; }
.option-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--border); cursor: pointer; font-size: 14px;
}
.option-row.selected { border-color: var(--accent); }
.option-row input { margin: 0 10px 0 0; }
.order-summary { background: var(--surface-2); border-radius: 14px; padding: 22px; }
.order-summary-title { font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.order-line { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 13.5px; margin-bottom: 4px; }
.order-divider { border-top: 1px solid oklch(0.88 0.004 250); margin: 14px 0; }
.order-row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; }
.order-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; margin-bottom: 18px; }
.order-note { font-size: 11.5px; color: var(--muted-3); margin-top: 10px; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-inner, .promo-panel, .about-hero, .checkout-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-photo, .about-photo { order: -1; }
}
@media (max-width: 640px) {
  .main-nav { order: 3; width: 100%; }
  .header-inner { padding: 12px 16px; }
  .newsletter-box, .cart-summary { flex-direction: column; align-items: stretch; text-align: center; }
  .newsletter-form { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
