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

@import url('../fonts/fonts.css');

:root {
  --ink: #1c2a30;
  --link: #2f6f8f;
  --link-hover: #1f4d64;
  --bg: #f7fafb;
  --border: #e4ecef;
  --border-soft: #eef3f5;
  --muted: #66787f;
  --muted-2: #7e9099;
  --mono: #7fa3b3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
input, select, textarea, button { font-family: inherit; }
::selection { background: #cdeee2; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; }

.mono { font-family: 'IBM Plex Mono', monospace; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #1c3f4f; color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.page-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Promo bar ---------- */
.promo-bar {
  background: #1c3f4f; color: #e7f4f0; font-size: 14px; letter-spacing: 0.02em;
  text-align: center; padding: 10px 20px;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #ffffff; border-bottom: 1px solid #e3ebee; }
.site-header .wrap {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; margin-right: auto; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: #7fc9b0; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.brand-domain { font-size: 11px; color: var(--muted-2); font-family: 'IBM Plex Mono', monospace; }

.main-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.main-nav a { color: #33454d; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--link); text-decoration: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid #d7e3e8; border-radius: 9px; background: #f6fafb;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle svg { width: 20px; height: 20px; color: #33454d; }

.cart-button {
  display: flex; align-items: center; gap: 9px; cursor: pointer;
  border: 1px solid #d7e3e8; border-radius: 10px; padding: 9px 14px; background: #f6fafb;
}
.cart-button:hover { background: #eaf3f5; }
.cart-button .label { font-size: 14px; font-weight: 600; color: var(--ink); }
.cart-count {
  min-width: 22px; height: 22px; border-radius: 11px; background: #2f6f8f; color: #fff;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 6px;
}

/* ---------- Generic layout ---------- */
main { flex: 1; }
.wrap-1200 { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-1000 { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.wrap-860 { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.wrap-1100 { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #2f6f8f; background: #ffffff; border: 1px solid #d7e6ea;
  border-radius: 999px; padding: 7px 14px;
}
.eyebrow.plain { background: none; border: none; padding: 0; color: var(--mono); }

.page-header { max-width: 1200px; margin: 0 auto; padding: 52px 24px 0; }
.page-header h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.025em; margin: 12px 0 10px; }
.page-header p.lede { font-size: 17px; line-height: 1.6; color: #5b6e77; max-width: 700px; margin: 0 0 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; font-weight: 600; font-size: 16px; padding: 15px 26px;
  border-radius: 11px; border: none; text-align: center;
}
.btn-primary { background: #2f6f8f; color: #fff; }
.btn-primary:hover { background: #255a75; color: #fff; text-decoration: none; }
.btn-secondary { background: #ffffff; color: #1c2a30; border: 1px solid #d0dfe4; }
.btn-secondary:hover { background: #f3f8f9; text-decoration: none; }
.btn-dark { background: #1c3f4f; color: #fff; }
.btn-dark:hover { background: #12303d; color: #fff; text-decoration: none; }
.btn-mint { background: #7fc9b0; color: #10333f; font-weight: 700; }
.btn-mint:hover { background: #6fbfa2; text-decoration: none; }
.btn-small { font-size: 14px; padding: 10px 16px; border-radius: 9px; }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero { background: #eef5f7; border-bottom: 1px solid #e3ebee; }
.hero .wrap-1200 {
  padding: 70px 24px 76px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: 52px; line-height: 1.06; letter-spacing: -0.025em; font-weight: 700; margin: 22px 0 18px; }
.hero p.lede { font-size: 19px; line-height: 1.6; color: #4b5f68; margin: 0 0 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats .stat-num { font-size: 26px; font-weight: 700; }
.hero-stats .stat-label { font-size: 13px; color: var(--muted-2); }
.hero-media { border-radius: 18px; overflow: hidden; border: 1px solid #dde8ec; height: 440px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Feature strip ---------- */
.features { max-width: 1200px; margin: 0 auto; padding: 56px 24px 10px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.feature-card .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #7fc9b0; }
.feature-card .title { font-weight: 700; font-size: 17px; margin: 8px 0 6px; }
.feature-card .desc { font-size: 14px; line-height: 1.55; color: #5b6e77; }

/* ---------- Planner ---------- */
.planner-section { max-width: 1200px; margin: 0 auto; padding: 64px 24px 20px; }
.planner-card { background: #ffffff; border: 1px solid #dfe9ec; border-radius: 20px; overflow: hidden; }
.planner-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; }
.planner-left { padding: 38px 36px; border-right: 1px solid #e8eff1; background: #fbfdfd; }
.planner-right { padding: 38px 36px; }
.planner-left h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 10px; font-weight: 700; }
.planner-left > p { font-size: 15px; line-height: 1.6; color: #546770; margin: 0 0 28px; }
.field-label { font-size: 13px; font-weight: 600; color: #33454d; margin-bottom: 10px; }
.option-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.option-row {
  background: #ffffff; border: 1px solid #d8e5e9; border-radius: 11px; padding: 13px 16px; cursor: pointer;
  display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left;
}
.option-row:hover { border-color: #8fbccb; }
.option-row.is-active { background: #e6f3ef; }
.option-row .opt-label { font-size: 15px; font-weight: 600; }
.option-row .opt-hint { font-size: 12px; color: var(--muted-2); font-family: 'IBM Plex Mono', monospace; }
.range-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.range-row .range-label { font-size: 13px; font-weight: 600; color: #33454d; }
.range-row .range-val { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: #2f6f8f; }
input[type="range"] { width: 100%; accent-color: #2f6f8f; margin-bottom: 26px; }
.chip-list { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: #ffffff; border: 1px solid #d8e5e9; border-radius: 10px; padding: 11px 18px; cursor: pointer;
  font-size: 15px; font-weight: 600;
}
.chip:hover { border-color: #8fbccb; }
.chip.is-active { background: #e6f3ef; }

.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.plan-head h3 { font-size: 20px; font-weight: 700; margin: 0; }
.plan-summary { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted-2); }
.plan-tasks { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border-soft); }
.plan-task { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); align-items: baseline; }
.plan-task .slot { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #2f6f8f; }
.plan-task .title { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.plan-task .detail { font-size: 13px; line-height: 1.5; color: var(--muted); }
.plan-task .minutes { font-size: 13px; color: var(--muted-2); white-space: nowrap; }
.plan-products-box { margin-top: 26px; background: #f2f8f6; border: 1px solid #d9ebe4; border-radius: 14px; padding: 20px; }
.plan-products-box .heading { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.plan-products-list { display: flex; flex-direction: column; gap: 8px; }
.plan-product-row {
  display: flex; align-items: center; gap: 12px; background: #ffffff; border: 1px solid #e2ecec;
  border-radius: 10px; padding: 10px 14px;
}
.plan-product-row .name { font-size: 14px; flex: 1; }
.plan-product-row .price { font-size: 14px; font-weight: 600; font-family: 'IBM Plex Mono', monospace; }
.plan-product-row .add-btn {
  cursor: pointer; font-size: 13px; font-weight: 600; color: #2f6f8f; border: 1px solid #cfe1e7;
  border-radius: 8px; padding: 6px 12px; background: #fff;
}
.plan-product-row .add-btn:hover { background: #eaf3f5; }

/* ---------- Eco calculator ---------- */
.ecocalc-section { max-width: 1200px; margin: 0 auto; padding: 44px 24px; }
.ecocalc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.ecocalc-panel { background: #1c3f4f; color: #e9f3f4; border-radius: 20px; padding: 34px 32px; }
.ecocalc-panel .eyebrow.plain { color: #8fc7bb; }
.ecocalc-panel h2 { font-size: 28px; line-height: 1.2; margin: 12px 0 22px; font-weight: 700; }
.ecocalc-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.ecocalc-panel input[type="range"] { accent-color: #7fc9b0; margin-bottom: 20px; }
.ecocalc-note { font-size: 13px; color: #a9c6cd; margin-top: 18px; line-height: 1.55; }
.ecocalc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; justify-content: center;
}
.stat-card .value { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.stat-card .label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- Section heading row ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 34px 24px 10px; }
.section-lg-top { padding-top: 52px; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
.section-head-row h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.link-more { cursor: pointer; font-size: 15px; font-weight: 600; color: #2f6f8f; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product-media { height: 190px; position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-cat { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.product-name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.product-desc { font-size: 14px; line-height: 1.55; color: var(--muted); flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-price { font-size: 19px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
.btn-add {
  cursor: pointer; background: #2f6f8f; color: #fff; font-size: 14px; font-weight: 600; padding: 10px 16px;
  border-radius: 9px; border: none;
}
.btn-add:hover { background: #255a75; }

/* ---------- Topics ---------- */
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; cursor: pointer;
  display: block; width: 100%; text-align: left; color: inherit;
}
.topic-card:hover { border-color: #8fbccb; background: #fbfdfe; text-decoration: none; }
.topic-card .title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.topic-card .desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.topic-card .cta { font-size: 13px; font-weight: 600; color: #2f6f8f; margin-top: 14px; }

/* ---------- Posts ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.posts-grid.two-col { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; gap: 0; color: inherit; width: 100%; text-align: left;
}
.post-card:hover { border-color: #8fbccb; text-decoration: none; }
.post-card .post-media { height: 170px; }
.post-card .post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.post-card.plain .post-body { padding: 0; }
.post-meta { display: flex; gap: 10px; align-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.post-card .post-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.post-card .post-excerpt { font-size: 14px; line-height: 1.6; color: var(--muted); }
.posts-grid.two-col .post-title { font-size: 21px; }
.posts-grid.two-col .post-excerpt { font-size: 15px; }
.posts-grid.two-col .post-media { height: 170px; }

/* ---------- Newsletter ---------- */
.newsletter-section { max-width: 1200px; margin: 0 auto; padding: 56px 24px 70px; }
.newsletter-card {
  background: #e9f3ef; border: 1px solid #d6e8e1; border-radius: 20px; padding: 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center;
}
.newsletter-card h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 10px; }
.newsletter-card p { font-size: 15px; line-height: 1.6; color: #4f6a63; margin: 0; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1; border: 1px solid #cadfd7; border-radius: 11px; padding: 14px 16px; font-size: 15px;
  background: #fff; outline: none;
}
.form-note { font-size: 13px; color: #5b7871; margin-top: 10px; line-height: 1.5; }
.form-msg { font-size: 13px; color: #2f6f8f; margin-top: 8px; font-weight: 600; min-height: 18px; }

/* ---------- Shop ---------- */
.shop-categories { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.category-pill {
  background: #ffffff; color: #33454d; border: 1px solid #d8e5e9; border-radius: 999px; padding: 10px 18px;
  cursor: pointer; font-size: 14px; font-weight: 600;
}
.category-pill:hover { border-color: #8fbccb; }
.category-pill.is-active { background: #1c3f4f; color: #ffffff; }
.shop-info-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.info-card .title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.info-card .desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.info-card .cta { cursor: pointer; font-size: 13px; font-weight: 600; color: #2f6f8f; margin-top: 12px; display: inline-block; }

/* ---------- Cart / checkout ---------- */
.cart-page { max-width: 1000px; margin: 0 auto; padding: 52px 24px 70px; }
.cart-page h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 26px; }
.empty-cart { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 40px; text-align: center; }
.empty-cart .title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-cart .desc { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.cart-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 26px; align-items: start; }
.cart-items-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 8px 24px 24px; }
.cart-item-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border-soft); }
.cart-item-row .name { font-size: 16px; font-weight: 600; line-height: 1.35; }
.cart-item-row .unit-price { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.cart-item-row .remove { cursor: pointer; font-size: 13px; color: #a05252; margin-top: 6px; background: none; border: none; padding: 0; }
.qty-control { display: flex; align-items: center; gap: 10px; border: 1px solid #dfe9ec; border-radius: 10px; padding: 6px 10px; }
.qty-control button { cursor: pointer; font-size: 16px; color: #2f6f8f; width: 16px; text-align: center; background: none; border: none; }
.qty-control .qty-val { font-family: 'IBM Plex Mono', monospace; font-size: 14px; min-width: 16px; text-align: center; }
.cart-item-row .line-total { font-size: 16px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; min-width: 78px; text-align: right; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.checkout-fields.full { grid-template-columns: 1fr; }
.field-input, select.field-input, textarea.field-input {
  border: 1px solid #dfe9ec; border-radius: 10px; padding: 13px 14px; font-size: 15px; outline: none; background: #fff; width: 100%;
}
textarea.field-input { min-height: 80px; resize: vertical; }
.checkout-note { width: 100%; margin-top: 14px; }
.cart-summary { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: sticky; top: 96px; }
.cart-summary .title { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; padding: 8px 0; }
.summary-row.muted-label span:first-child { color: var(--muted); }
.summary-row.total { font-size: 19px; font-weight: 700; padding: 14px 0; border-top: 1px solid var(--border-soft); margin-top: 4px; }
.summary-note { font-size: 13px; color: #5b7871; background: #f1f8f5; border-radius: 9px; padding: 10px 12px; line-height: 1.5; }
.place-order-btn { cursor: pointer; margin-top: 18px; width: 100%; background: #2f6f8f; color: #fff; font-weight: 700; font-size: 16px; padding: 15px; border-radius: 11px; text-align: center; border: none; }
.place-order-btn:hover { background: #255a75; }
.fine-print { font-size: 12px; color: var(--muted-2); margin-top: 12px; line-height: 1.55; }

/* ---------- Blog / article ---------- */
.article-layout { max-width: 1200px; margin: 0 auto; padding: 44px 24px 70px; display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.article { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 44px 52px; }
.article .back-link { cursor: pointer; font-size: 14px; color: #2f6f8f; font-weight: 600; margin-bottom: 18px; display: inline-block; }
.article h1 { font-size: 38px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 26px; }
.article-media { height: 280px; border-radius: 14px; margin-bottom: 30px; overflow: hidden; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; margin: 34px 0 12px; }
.article p { font-size: 17px; line-height: 1.72; color: #33454d; margin: 0 0 18px; }
.article .note { background: #f2f8f6; border: 1px solid #d9ebe4; border-radius: 12px; padding: 18px 20px; margin: 8px 0 22px; font-size: 16px; line-height: 1.65; color: #2c4a44; }
.article .disclaimer { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border-soft); font-size: 14px; color: var(--muted-2); line-height: 1.6; }
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.sidebar-promo { background: #e9f3ef; border: 1px solid #d6e8e1; border-radius: 16px; padding: 22px; }
.sidebar-promo .title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.sidebar-promo .desc { font-size: 14px; line-height: 1.55; color: #4f6a63; margin-bottom: 14px; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.sidebar-card .title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.sidebar-topics { display: flex; flex-direction: column; gap: 10px; }
.sidebar-topics a { cursor: pointer; font-size: 14px; font-weight: 600; color: #33454d; border-bottom: 1px solid #f0f4f6; padding-bottom: 9px; display: block; }
.sidebar-topics a:hover { color: #2f6f8f; text-decoration: none; }

/* ---------- Guide / routines ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.routine-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.routine-card .tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #7fc9b0; }
.routine-card .title { font-size: 22px; font-weight: 700; margin: 10px 0 8px; }
.routine-card .desc { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }
.routine-items { display: flex; flex-direction: column; gap: 9px; }
.routine-item { display: flex; gap: 10px; align-items: baseline; font-size: 15px; line-height: 1.5; color: #33454d; }
.routine-item .dot { width: 7px; height: 7px; border-radius: 50%; background: #9fd3c3; flex: none; margin-top: 7px; }
.cta-banner {
  margin-top: 30px; background: #1c3f4f; color: #e9f3f4; border-radius: 18px; padding: 34px 36px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center;
}
.cta-banner .heading { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.cta-banner .desc { font-size: 15px; line-height: 1.6; color: #b8d2d8; }
.cta-banner .cta-side { text-align: right; }

/* ---------- About ---------- */
.about-media { height: 300px; border-radius: 18px; margin-bottom: 34px; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-body p { font-size: 18px; line-height: 1.72; color: #33454d; margin: 0 0 18px; }
.about-body h2 { font-size: 26px; font-weight: 700; margin: 34px 0 14px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.about-stats .stat-card2 { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.about-stats .num { font-size: 28px; font-weight: 700; }
.about-stats .label { font-size: 14px; color: var(--muted); margin-top: 6px; }
.billing-card { margin-top: 34px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.billing-card .title { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.billing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; font-size: 15px; line-height: 1.7; color: #42555d; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; }
.faq-question {
  cursor: pointer; display: flex; gap: 16px; align-items: baseline; justify-content: space-between;
  width: 100%; background: none; border: none; text-align: left; padding: 0;
}
.faq-question .q-text { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.faq-question .sign { font-size: 20px; color: #2f6f8f; flex: none; }
.faq-answer { font-size: 16px; line-height: 1.68; color: #546770; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); display: none; }
.faq-item.is-open .faq-answer { display: block; }
.faq-cta {
  margin-top: 30px; background: #e9f3ef; border: 1px solid #d6e8e1; border-radius: 16px; padding: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.faq-cta .title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.faq-cta .desc { font-size: 15px; color: #4f6a63; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.contact-form-fields { display: grid; gap: 14px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.55; }
.checkbox-row input { margin-top: 3px; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; font-size: 15px; line-height: 1.75; color: #42555d; }
.contact-info-card .title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.map-box {
  height: 220px; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; position: relative;
  background: #e6eff2;
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Legal ---------- */
.legal-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 40px 44px; }
.legal-card h2 { font-size: 21px; font-weight: 700; margin: 28px 0 10px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { font-size: 16px; line-height: 1.72; color: #42555d; margin: 0 0 14px; }
.legal-updated { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-soft); font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted-2); }
.legal-pills { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; font-size: 14px; font-weight: 600; }
.legal-pills a { background: #fff; border: 1px solid #dfe9ec; border-radius: 999px; padding: 9px 16px; color: #33454d; }
.legal-pills a:hover, .legal-pills a[aria-current="page"] { border-color: #8fbccb; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: #12303d; color: #c8dde2; margin-top: auto; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 52px 24px 30px; 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 .dot { width: 12px; height: 12px; border-radius: 50%; background: #7fc9b0; }
.footer-brand span { font-size: 18px; font-weight: 700; color: #ffffff; }
.footer-desc { font-size: 14px; line-height: 1.7; color: #9fbcc4; }
.footer-addr { font-size: 13px; line-height: 1.7; color: #7fa1aa; margin-top: 16px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-links a { color: #c8dde2; }
.footer-links a:hover { color: #7fc9b0; text-decoration: none; }
.footer-bottom-bar { border-top: 1px solid #1e4453; }
.footer-bottom-bar .row { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #7fa1aa; }

/* ---------- Cart drawer ---------- */
.cart-drawer-overlay {
  position: fixed; inset: 0; z-index: 60; display: none; justify-content: flex-end;
}
.cart-drawer-overlay.is-open { display: flex; }
.cart-drawer-backdrop { position: absolute; inset: 0; background: #0e242cb3; border: none; }
.cart-drawer {
  position: relative; width: 420px; max-width: 92vw; background: #ffffff; height: 100%;
  display: flex; flex-direction: column; box-shadow: -12px 0 40px #0d232b26;
}
.cart-drawer-head { padding: 22px 24px; border-bottom: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-head span.title { font-size: 18px; font-weight: 700; }
.cart-drawer-close { cursor: pointer; font-size: 20px; color: var(--muted-2); background: none; border: none; }
.cart-drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.cart-drawer-empty { padding: 34px 0; font-size: 15px; color: var(--muted); line-height: 1.6; }
.cart-drawer-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f1f5f7; }
.cart-drawer-item .name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.cart-drawer-item .unit-price { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.cart-drawer-item .qty-mini { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cart-drawer-item .qty-mini button {
  cursor: pointer; border: 1px solid #dfe9ec; border-radius: 7px; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center; color: #2f6f8f; background: #fff;
}
.cart-drawer-item .right { text-align: right; }
.cart-drawer-item .line-total { font-size: 15px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
.cart-drawer-item .remove { cursor: pointer; font-size: 12px; color: #a05252; margin-top: 8px; background: none; border: none; }
.cart-drawer-foot { padding: 20px 24px; border-top: 1px solid var(--border-soft); background: #fbfdfd; }
.cart-drawer-foot .row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cart-drawer-foot .note { font-size: 13px; color: #5b7871; margin-bottom: 14px; line-height: 1.5; }
.cart-drawer-foot .go-cart { display: block; cursor: pointer; background: #2f6f8f; color: #fff; font-weight: 700; font-size: 15px; padding: 14px; border-radius: 11px; text-align: center; }
.cart-drawer-foot .go-cart:hover { background: #255a75; text-decoration: none; }
.cart-drawer-foot .continue { cursor: pointer; text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; background: none; border: none; width: 100%; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 70; display: none; justify-content: center; }
.cookie-banner.is-visible { display: flex; }
.cookie-card {
  background: #ffffff; border: 1px solid #dae6ea; border-radius: 16px; box-shadow: 0 14px 40px #12303d24;
  padding: 22px 24px; max-width: 940px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.cookie-card .title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.cookie-card .desc { font-size: 14px; line-height: 1.6; color: #5b6e77; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .btn-reject { border: 1px solid #d7e3e8; border-radius: 10px; padding: 12px 18px; font-size: 14px; font-weight: 600; color: #33454d; white-space: nowrap; background: #fff; }
.cookie-actions .btn-reject:hover { background: #f2f7f9; }
.cookie-actions .btn-accept { background: #1c3f4f; color: #fff; border-radius: 10px; padding: 12px 18px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cookie-actions .btn-accept:hover { background: #12303d; }

/* ---------- Photo placeholder fallback (used only if an image fails) ---------- */
.photo-fallback {
  background: repeating-linear-gradient(45deg, #e6eff2 0 10px, #f3f8fa 10px 20px);
  display: flex; align-items: flex-end; justify-content: flex-start; width: 100%; height: 100%;
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .hero .wrap-1200 { grid-template-columns: 1fr; }
  .hero-media { height: 320px; order: -1; }
  .planner-grid { grid-template-columns: 1fr; }
  .planner-left { border-right: none; border-bottom: 1px solid #e8eff1; }
  .ecocalc-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid #e3ebee; flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 24px 14px;
  }
  .main-nav.is-open a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .site-header .wrap { position: relative; }
}

@media (max-width: 720px) {
  .hero h1 { font-size: 36px; }
  .page-header h1 { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .product-grid, .posts-grid, .posts-grid.two-col, .topics-grid, .guide-grid, .about-stats, .shop-info-grid { grid-template-columns: 1fr; }
  .newsletter-card { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; text-align: left; }
  .cta-banner .cta-side { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article { padding: 28px 22px; }
  .billing-grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; max-width: 100%; }
  .ecocalc-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cart-item-row { grid-template-columns: 1fr; }
  .cart-item-row .line-total { text-align: left; }
}
