/* Čistý Domov — hlavný stylesheet */

:root {
  --bg: #f6fafb;
  --ink: #0d2231;
  --ink-soft: #3d566b;
  --muted: #5b7387;
  --muted-2: #7d97a8;
  --muted-3: #4f6a7d;
  --border: #dce8ee;
  --border-soft: #e6eef2;
  --teal: #2fbf9b;
  --teal-ink: #12735c;
  --teal-bg: #e6f7f2;
  --teal-bg-2: #ddf1ea;
  --teal-border: #c9ebe1;
  --teal-deep: #1a8a6f;
  --blue: #2b7cc4;
  --blue-hover: #1f5f97;
  --navy: #0d2231;
  --navy-2: #e9f4f1;
  --navy-3: #a9c6d3;
  --card-tile-a: #eef6fa;
  --card-tile-b: #e3eff6;
  --card-tile-c: #eaf7f3;
  --card-tile-d: #ddf1ea;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --shadow-card: 0 18px 50px rgba(13, 34, 49, .14);
  --font-body: 'Manrope', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
input, textarea, select, button { font-family: inherit; font-size: 100%; }
button { cursor: pointer; }
::selection { background: #cdeee5; }
h1, h2, h3, p { margin: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -48px; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 100; transition: top .15s ease;
}
.skip-link:focus { top: 8px; color: #fff; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.container-post { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container-legal { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.container-checkout { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; padding: 15px 26px; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--teal); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #142c3e; color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #24a686; color: #fff; }
.btn-add { background: var(--teal-bg); color: var(--teal-ink); border: none; border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 700; }
.btn-add:hover { background: var(--teal); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 13px; border-radius: 11px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* Promo bar */
.promo-bar {
  background: var(--ink); color: #dff1ec; padding: 9px 24px; text-align: center;
  font-size: 13px; letter-spacing: .02em; font-family: var(--font-mono);
}
.promo-bar a { color: #dff1ec; text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; background: var(--teal);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; flex: none;
}
.brand-text { line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand-domain { font-size: 10px; color: var(--muted-2); font-family: var(--font-mono); }
.main-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.main-nav a {
  cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }
.cart-btn {
  display: flex; align-items: center; gap: 9px; background: var(--ink); color: #fff;
  border: none; border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 700; flex: none;
}
.cart-btn:hover { background: #142c3e; }
.cart-count {
  background: var(--teal); color: #08251d; border-radius: 999px; min-width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 10px;
  width: 40px; height: 40px; align-items: center; justify-content: center; flex: none;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ''; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle { flex-direction: column; gap: 4px; }

/* Hero */
.hero {
  padding: 64px 24px 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-block; background: var(--teal-bg); color: var(--teal-deep); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em; padding: 7px 12px; border-radius: 999px;
}
.hero h1 { font-size: 52px; line-height: 1.04; letter-spacing: -.03em; margin: 18px 0 16px; font-weight: 800; }
.hero p.lead { font-size: 17px; line-height: 1.65; color: var(--muted-3); margin: 0 0 26px; max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 26px; margin-top: 32px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 22px; color: var(--ink); }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; gap: 14px; }
.hero-photos .photo-tile:first-child { grid-column: span 2; }
.photo-tile {
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden; position: relative;
  background: var(--card-tile-a);
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section.pad { padding: 56px 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-size: 30px; letter-spacing: -.02em; font-weight: 800; margin: 0 0 8px; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.link-more { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--blue); white-space: nowrap; }

/* Trust grid */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.trust-card .tag { font-family: var(--font-mono); font-size: 11px; color: var(--teal); letter-spacing: .08em; }
.trust-card .title { font-weight: 700; font-size: 15px; margin: 8px 0 6px; }
.trust-card .text { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Categories */
.section-white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fbfeff; display: block; }
.cat-card:hover { border-color: var(--teal); }
.cat-thumb { height: 104px; background: var(--card-tile-a); overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { padding: 14px; }
.cat-body .name { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink); }
.cat-body .count { font-size: 12px; color: var(--muted-2); margin-top: 5px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.product-thumb { height: 150px; background: var(--card-tile-a); display: block; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-family: var(--font-mono); font-size: 10px; color: var(--teal); letter-spacing: .06em; }
.product-name { font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--ink); }
.product-name:hover { color: var(--blue); }
.product-short { font-size: 12px; color: var(--muted); line-height: 1.5; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; }
.product-price { font-weight: 800; font-size: 17px; }

/* Dark method section */
.section-dark { background: var(--navy); color: var(--navy-2); padding: 60px 0; }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.method-grid h2 { font-size: 30px; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 800; color: #fff; }
.method-grid > div:first-child p { margin: 0; color: var(--navy-3); font-size: 15px; line-height: 1.7; }
.steps-list { display: grid; gap: 12px; }
.step-row { display: flex; gap: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 18px; }
.step-row .n { font-family: var(--font-mono); color: var(--teal); font-size: 13px; min-width: 26px; }
.step-row .title { font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 4px; }
.step-row .text { font-size: 13px; color: var(--navy-3); line-height: 1.55; }

/* Guides / posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: block; }
.post-card:hover { border-color: var(--teal); }
.post-thumb { height: 132px; background: var(--card-tile-c); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 18px; }
.post-meta { font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); letter-spacing: .06em; }
.post-title { font-weight: 700; font-size: 16px; line-height: 1.35; margin: 8px 0; color: var(--ink); }
.post-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; }
.guides-grid .post-thumb { height: 140px; }
.guides-grid .post-title { font-size: 17px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.stars { color: var(--teal); font-size: 14px; letter-spacing: .1em; }
.review-text { font-size: 14px; line-height: 1.65; color: var(--ink-soft); margin: 12px 0 14px; }
.review-author { font-size: 12px; color: var(--muted-2); font-family: var(--font-mono); }

/* Newsletter */
.newsletter-box {
  background: var(--teal-bg); border: 1px solid var(--teal-border); border-radius: 24px; padding: 38px 40px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
}
.newsletter-box h2 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.02em; font-weight: 800; }
.newsletter-box p { margin: 0; color: #2c5f52; font-size: 14px; line-height: 1.6; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 180px; border: 1px solid var(--teal-border); border-radius: 12px; padding: 14px 16px; font-size: 14px; background: #fff; outline: none;
}
.form-msg { font-size: 13px; margin-top: 10px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { color: var(--teal-ink); }
.form-msg.err { color: #b3261e; }

/* Generic form controls */
.field { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 14px; outline: none; width: 100%; background: #fff; color: var(--ink); }
.field:focus { border-color: var(--teal); }
textarea.field { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-row { display: flex; gap: 10px; font-size: 12px; color: var(--muted); line-height: 1.55; align-items: flex-start; }
.checkbox-row input { margin-top: 3px; flex: none; }
.select-row { cursor: pointer; display: flex; justify-content: space-between; border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600; }
.select-row.active { background: var(--teal-bg); border-color: var(--teal-border); }
.select-row input { margin-right: 10px; }

/* Breadcrumb */
.crumb { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); letter-spacing: .08em; margin-bottom: 12px; }
.crumb a { color: var(--muted-2); }
.crumb a:hover { color: var(--blue); }

/* Shop page */
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  cursor: pointer; border: 1px solid var(--border); background: #fff; color: var(--ink-soft);
  border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 700;
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.shop-info-grid { margin-top: 34px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.shop-info-grid .title { font-weight: 700; margin-bottom: 6px; }
.shop-info-grid .text { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.product-detail-photo { height: 380px; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.product-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-detail h1 { font-size: 34px; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 800; line-height: 1.15; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.price-row .price { font-size: 30px; font-weight: 800; }
.price-row .unit { font-size: 13px; color: var(--muted-2); }
.product-detail .desc { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 20px; }
.product-detail-actions { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.spec-list { border-top: 1px solid var(--border); padding-top: 18px; display: grid; gap: 10px; }
.spec-row { display: flex; justify-content: space-between; font-size: 13px; gap: 20px; }
.spec-row .k { color: var(--muted-2); }
.spec-row .v { font-weight: 600; text-align: right; }
.stock-note { margin-top: 20px; background: var(--teal-bg); border-radius: 14px; padding: 16px 18px; font-size: 13px; color: #2c5f52; line-height: 1.6; }
.usage-box { margin-top: 44px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px 32px; max-width: 820px; }
.usage-box h2 { margin: 0 0 12px; font-size: 20px; font-weight: 800; }
.usage-box p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
.related-products { margin-top: 56px; }

/* Post detail */
.post-hero-thumb { height: 260px; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; margin-bottom: 28px; }
.post-hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-detail h1 { font-size: 38px; letter-spacing: -.03em; line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.post-detail .excerpt { font-size: 18px; line-height: 1.7; color: var(--ink); margin: 0 0 26px; font-weight: 500; }
.post-section { margin-bottom: 26px; }
.post-section h2 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 800; }
.post-section p { font-size: 16px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 14px; }
.post-tip-box { background: var(--teal-bg); border: 1px solid var(--teal-border); border-radius: 18px; padding: 24px 26px; margin-top: 34px; }
.post-tip-box .title { font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.post-tip-box p { margin: 0 0 16px; font-size: 14px; color: #2c5f52; line-height: 1.65; }

/* Planner */
.planner-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }
.planner-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px 28px; }
.planner-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.planner-head h2 { margin: 0; font-size: 20px; font-weight: 800; }
.progress-track { height: 6px; background: #eef4f7; border-radius: 999px; overflow: hidden; margin-bottom: 20px; }
.progress-fill { height: 6px; background: var(--teal); width: 0%; transition: width .2s ease; }
.task-list { display: grid; gap: 10px; }
.task-row { cursor: pointer; display: flex; align-items: center; gap: 14px; border: 1px solid var(--border-soft); border-radius: 12px; padding: 13px 16px; background: #fff; }
.task-row.done { background: #f4fbf9; }
.task-check {
  width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--teal); background: #fff; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none;
}
.task-row.done .task-check { background: var(--teal); }
.task-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.task-row.done .task-label { text-decoration: line-through; }
.task-time { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.calc-card { background: var(--navy); color: var(--navy-2); border-radius: 20px; padding: 26px 28px; }
.calc-card h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: #fff; }
.calc-card > p { margin: 0 0 20px; font-size: 13px; color: var(--navy-3); line-height: 1.6; }
.ratio-list { display: grid; gap: 8px; margin-bottom: 20px; }
.ratio-row {
  cursor: pointer; display: flex; justify-content: space-between; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04); border-radius: 11px; padding: 12px 14px; font-size: 13px; font-weight: 600; color: #fff;
}
.ratio-row.active { background: rgba(47,191,155,.16); }
.ratio-row .rate { font-family: var(--font-mono); color: var(--teal); }
.liters-label { font-size: 12px; color: var(--navy-3); font-family: var(--font-mono); margin-bottom: 8px; }
input[type="range"] { width: 100%; accent-color: var(--teal); }
.calc-result { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; }
.calc-result .label { font-size: 12px; color: var(--navy-3); letter-spacing: .06em; font-family: var(--font-mono); }
.calc-result .value { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.calc-result .hint { font-size: 13px; color: var(--navy-3); margin-top: 6px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.about-grid p { font-size: 16px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 16px; }
.about-photo { height: 200px; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.billing-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; margin-top: 14px; }
.billing-card .title { font-weight: 800; margin-bottom: 14px; }
.billing-card .rows { display: grid; gap: 8px; font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.value-card .tag { font-family: var(--font-mono); font-size: 11px; color: var(--teal); letter-spacing: .08em; }
.value-card .title { font-weight: 700; margin: 8px 0 6px; font-size: 15px; }
.value-card .text { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.contact-card .title { font-weight: 800; margin-bottom: 12px; }
.contact-card .rows { display: grid; gap: 9px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.map-graphic {
  height: 180px; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--card-tile-a), var(--card-tile-b));
}
.map-graphic svg { width: 100%; height: 100%; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.contact-form-card .title { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.contact-form-card > p { margin: 0 0 20px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.form-stack { display: grid; gap: 12px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; }
.faq-q { cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; background: none; border: none; width: 100%; text-align: left; padding: 0; }
.faq-q .q { font-weight: 700; font-size: 15px; color: var(--ink); }
.faq-q .mark { color: var(--teal); font-size: 18px; font-weight: 800; flex: none; }
.faq-a { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 0; max-height: 0; overflow: hidden; transition: max-height .25s ease, margin-top .25s ease; }
.faq-item.open .faq-a { margin-top: 12px; max-height: 600px; }

/* Legal pages */
.legal-body h1 { font-size: 36px; letter-spacing: -.03em; margin: 0 0 10px; font-weight: 800; line-height: 1.15; }
.legal-updated { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-bottom: 28px; }
.legal-intro { font-size: 16px; line-height: 1.8; color: var(--ink); margin: 0 0 28px; font-weight: 500; }
.legal-section { margin-bottom: 26px; }
.legal-section h2 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 800; }
.legal-section p { font-size: 15px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 12px; }
.legal-footer-note { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.checkout-form { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: grid; gap: 22px; }
.checkout-form .block-title { font-weight: 800; margin-bottom: 14px; }
.summary-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; }
.summary-card .title { font-weight: 800; margin-bottom: 16px; }
.summary-lines { display: grid; gap: 12px; margin-bottom: 18px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.summary-line .name { color: var(--ink-soft); line-height: 1.4; }
.summary-line .sum { font-weight: 700; white-space: nowrap; }
.summary-totals { border-top: 1px solid var(--border); padding-top: 14px; display: grid; gap: 9px; font-size: 13px; color: var(--muted); }
.summary-totals .row { display: flex; justify-content: space-between; }
.summary-totals .grand { color: var(--ink); font-weight: 800; font-size: 18px; padding-top: 8px; }
.summary-hint { margin-top: 18px; font-size: 12px; color: var(--muted-2); line-height: 1.6; }
.order-success { background: #fff; border: 1px solid var(--teal-border); border-radius: 22px; padding: 52px 48px; text-align: center; }
.order-success .check {
  width: 56px; height: 56px; border-radius: 18px; background: var(--teal); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 26px; font-weight: 800; margin: 0 auto 20px;
}
.order-success h1 { font-size: 32px; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 800; }
.order-success p { margin: 0 auto 24px; color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 52ch; }
.cart-empty-page { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 48px; text-align: center; }
.cart-empty-page h1 { font-size: 28px; margin: 0 0 10px; font-weight: 800; }
.cart-empty-page p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
[data-checkout-state] { display: none; }
[data-checkout-state].active { display: block; }

/* Footer */
.site-footer { background: var(--navy); color: var(--navy-3); padding: 56px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .mark { width: 30px; height: 30px; border-radius: 10px; background: var(--teal); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.footer-brand .name { color: #fff; font-weight: 800; font-size: 16px; }
.site-footer > .container > p, .footer-desc { margin: 0 0 14px; font-size: 13px; line-height: 1.7; }
.footer-addr { font-size: 12px; line-height: 1.8; font-family: var(--font-mono); }
.footer-col-title { color: #fff; font-weight: 700; font-size: 13px; margin-bottom: 14px; letter-spacing: .04em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: var(--navy-3); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px; display: flex;
  justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px;
}

/* Cart drawer */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(13,34,49,.42); z-index: 60; display: none; justify-content: flex-end;
}
.cart-overlay.open { display: flex; }
.cart-overlay-bg { flex: 1; }
.cart-drawer {
  width: 420px; max-width: 92vw; background: var(--bg); height: 100%; display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(13,34,49,.2);
}
.cart-drawer-head { padding: 22px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: #fff; }
.cart-drawer-head .title { font-weight: 800; font-size: 18px; }
.cart-close { cursor: pointer; color: var(--muted-2); font-size: 22px; line-height: 1; background: none; border: none; }
.cart-drawer-body { flex: 1; overflow: auto; padding: 20px 24px; display: grid; gap: 12px; align-content: start; }
.cart-empty-msg { text-align: center; color: var(--muted-2); font-size: 14px; padding: 40px 0; line-height: 1.7; }
.cart-line { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: flex; gap: 12px; }
.cart-line-thumb { width: 56px; height: 56px; flex: none; border-radius: 10px; overflow: hidden; background: var(--card-tile-a); }
.cart-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name { font-weight: 700; font-size: 13px; line-height: 1.35; }
.cart-line-unit { font-size: 12px; color: var(--muted-2); margin: 4px 0 8px; }
.qty-row { display: flex; align-items: center; gap: 10px; }
.qty-btn { cursor: pointer; width: 26px; height: 26px; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; background: #fff; }
.qty-val { font-size: 13px; font-weight: 700; min-width: 16px; text-align: center; }
.remove-link { cursor: pointer; margin-left: auto; font-size: 12px; color: #a0b3c0; background: none; border: none; }
.cart-line-sum { font-weight: 800; font-size: 14px; white-space: nowrap; }
.cart-drawer-foot { border-top: 1px solid var(--border); background: #fff; padding: 20px 24px; }
.cart-totals { display: grid; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.cart-totals .row { display: flex; justify-content: space-between; }
.cart-totals .grand { color: var(--ink); font-weight: 800; font-size: 18px; }
.ship-hint { font-size: 12px; color: var(--teal); margin-bottom: 12px; font-family: var(--font-mono); }

/* Cookie consent */
.cookie-bar { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 70; display: none; justify-content: center; }
.cookie-bar.show { display: flex; }
.cookie-card {
  max-width: 900px; width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-card); padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center;
}
.cookie-card .title { font-weight: 800; margin-bottom: 6px; }
.cookie-card .text { font-size: 13px; color: var(--muted); line-height: 1.6; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .hero h1 { font-size: 40px; }
  .trust-grid, .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid, .review-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-box { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .planner-grid, .checkout-grid, .product-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .shop-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; position: fixed; inset: 61px 0 0 0; background: #fff; z-index: 50; flex-direction: column;
    padding: 24px; gap: 4px; overflow: auto; margin-left: 0; align-items: stretch;
  }
  .main-nav.open a { padding: 14px 4px; border-bottom: 1px solid var(--border-soft); }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 32px; }
  .hero-photos { grid-template-rows: 140px 140px; }
  .trust-grid, .cat-grid, .product-grid, .post-grid, .review-grid, .values-grid, .footer-grid { grid-template-columns: 1fr; }
  .shop-info-grid { grid-template-columns: 1fr; }
  section.pad, .hero { padding-left: 18px; padding-right: 18px; }
  .container, .container-narrow, .container-post, .container-legal, .container-checkout { padding: 0 18px; }
  .field-row { grid-template-columns: 1fr; }
  .cookie-card { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
