@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,700&display=swap");

/* ═══════════════════════════════════════════
   В Беседки.Ру — чистый светлый ателье-дизайн
   без орнаментов, без грязного фона, без «шейпов»
═══════════════════════════════════════════ */
:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --chip: #f3f2ef;
  --ink: #1c1b19;
  --fg: #1c1b19;
  --muted: #5f5a52;
  --line: #e4dfd6;
  --border: #e4dfd6;
  --primary: #1c1b19;
  --accent: #2f5d45;
  --accent-deep: #244a37;
  --accent-soft: rgba(47, 93, 69, 0.1);
  --secondary: #2f5d45;
  --card: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-text: #1c1b19;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: none;
  --shadow-lift: 0 12px 28px rgba(28, 27, 25, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --space-section: clamp(28px, 4vw, 44px);
  --space-section-sm: clamp(18px, 3vw, 28px);
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3, .h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.container, .c-container {
  width: min(100% - 28px, var(--container));
  margin-inline: auto;
}

.section, .c-section {
  padding: var(--space-section) 0;
  position: relative;
  background: transparent;
}

/* hide legacy plant / ornament assets if any remain */
.plant-decor,
.ui-decor,
.ui-divider,
.plant-ivy-left,
.plant-leaves-top,
.plant-herbs-right,
.plant-palm-right,
.plant-leaf-accent-left,
.plant-leaf-accent-right,
.plant-branch-left {
  display: none !important;
}

/* ─── Buttons: soft rectangle, not pills ─── */
.btn, .c-button {
  --btn-bg: var(--ink);
  --btn-fg: #fbfaf8;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--btn-bd);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover, .c-button:hover {
  transform: translateY(-1px);
  color: var(--btn-fg);
}

.btn:focus-visible, .c-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-accent, .btn-primary, .c-button--accent, .c-button--primary {
  --btn-bg: var(--accent);
  --btn-fg: #ffffff;
  --btn-bd: var(--accent);
}

.btn-accent:hover, .btn-primary:hover, .c-button--accent:hover {
  --btn-bg: var(--accent-deep);
  --btn-bd: var(--accent-deep);
  --btn-fg: #ffffff;
}

.btn-outline, .btn-secondary, .c-button--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(28, 27, 25, 0.22);
}

.btn-outline:hover, .btn-secondary:hover, .c-button--outline:hover {
  --btn-bg: rgba(28, 27, 25, 0.04);
  --btn-fg: var(--ink);
}

.actions, .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ─── Eyebrow / headings ─── */
.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 640px;
  margin-bottom: clamp(14px, 2vw, 22px);
}

.section-heading h2 { margin-bottom: 0.35em; }
.section-heading p { font-size: 1.05rem; }

/* ─── Header ─── */
.site-header, .c-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 27, 25, 0.08);
  color: var(--header-text);
}

.header-main-row {
  width: min(100% - 28px, var(--container));
  margin: 0 auto;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  gap: 2px;
}

.brand-wordmark strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-wordmark span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-brand-info,
.header-slogan,
.header-hours { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}

.main-nav > a {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.main-nav > a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.nav-extra { display: none; }

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-contact-group { display: flex; flex-direction: column; align-items: flex-end; }
.header-phone {
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(28, 27, 25, 0.16);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle-lines {
  position: relative;
  width: 18px;
  height: 12px;
  display: block;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after,
.nav-toggle-lines {
  background: transparent;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.nav-toggle-lines::before {
  top: 0;
  box-shadow: 0 5px 0 var(--ink);
}
.nav-toggle-lines::after { bottom: 0; }
.nav-toggle-label { font-size: 0.9rem; line-height: 1; }

.site-header .btn, .site-header .c-button {
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

body.nav-open { overflow: hidden; }

@media (max-width: 1100px) {
  .header-main-row {
    grid-template-columns: 1fr auto;
    min-height: 60px;
    gap: 12px;
  }
  .header-left { min-width: 0; }
  .header-phone,
  .header-callback { display: none !important; }
  .header-right { gap: 0; }
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    max-height: calc(100vh - 88px);
    overflow: auto;
    z-index: 60;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a {
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
  }
  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-extra-phone {
    font-weight: 800;
    text-decoration: none;
    color: var(--ink);
    font-size: 1.05rem;
  }
  .nav-extra-email { font-size: 0.9rem; color: var(--muted); }
  .nav-extra .btn,
  .nav-extra .c-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .brand-wordmark span { display: none; }
  .brand-wordmark strong { font-size: 1.05rem; }
  .brand img { width: 36px; height: 36px; }
  .nav-toggle {
    padding: 0 12px 0 10px;
  }
}

@media (max-width: 420px) {
  .nav-toggle-label { display: none; }
  .nav-toggle {
    width: 44px;
    padding: 0;
  }
}

/* ─── Clean hero: big type + gazebo cutout ─── */
.hero, .hero--home, .hero--bright {
  position: relative;
  width: 100%;
  min-height: min(72vh, 680px);
  padding: clamp(24px, 4vh, 40px) 0 clamp(20px, 3vh, 32px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 70% at 82% 48%, rgba(186, 214, 196, 0.35), transparent 68%),
    linear-gradient(160deg, #ffffff 0%, #f7faf7 45%, #eef5f0 100%);
}

.hero.container,
.hero.c-container,
.hero.section {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero::after { display: none; }

.hero-bg-fades,
.hero-accents,
.hero-orb,
.hero-halo,
.hero-chip,
.hero-points {
  display: none !important;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  width: min(100% - 28px, var(--container));
  margin: 0 auto;
}

.hero-copy, .hero-content {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 640px;
  margin: 0;
  padding: 0;
  color: var(--ink);
}

.hero-brand {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--ink);
}

.hero-copy .eyebrow, .hero-content .eyebrow { color: var(--accent); }

.hero--home h1,
.hero h1,
main#top > section.hero h1 {
  color: var(--accent-deep);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 600;
  max-width: 16ch;
  margin: 0 0 0.45em;
  font-family: var(--font-body);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero-copy p, .hero-content p {
  color: var(--muted);
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.45;
  max-width: 34ch;
  margin: 0 0 1.1rem;
}

.hero .actions {
  gap: 12px;
}

.hero .btn, .hero .c-button {
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  font-size: 1.02rem;
}

.hero .btn-outline, .hero .c-button--outline {
  --btn-fg: var(--ink);
  --btn-bd: rgba(28, 27, 25, 0.18);
  --btn-bg: #fff;
}

.hero .btn-outline:hover, .hero .c-button--outline:hover {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(56vh, 560px);
}

.hero-cutout {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  height: auto;
  background: transparent;
  filter: drop-shadow(0 24px 36px rgba(47, 93, 69, 0.16));
  animation: floatGazebo 7s ease-in-out infinite;
}

.hero-slider-dots { display: none; }
.slider-dot { display: none; }

@media (max-width: 900px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .hero-visual { min-height: 0; order: -1; }
  .hero-cutout { width: min(86%, 420px); }
  .hero-brand { font-size: clamp(2.8rem, 12vw, 4rem); }
}

.hero-stats-wrap {
  width: min(100% - 28px, 780px);
  margin: 0 auto;
  padding: clamp(10px, 1.5vw, 18px) 0 clamp(6px, 1vw, 12px);
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: clamp(18px, 2.4vw, 26px) clamp(10px, 1.5vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(47, 93, 69, 0.05), rgba(47, 93, 69, 0.02)),
    var(--bg);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 16px;
  text-align: center;
  border-right: 1px solid rgba(228, 223, 214, 0.95);
}

.hero-stat:last-child { border-right: 0; }

.hero-stat strong {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.8vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.hero-stat span {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
  max-width: 11.5em;
}

.hero-stats { display: contents; }

@keyframes floatGazebo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulseSoft {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.04); opacity: 1; }
}
@keyframes driftA {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-8px); }
}
@keyframes driftB {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(9deg) translateY(8px); }
}

@media (max-width: 920px) {
  .hero-stage { grid-template-columns: 1fr; text-align: left; }
  .hero-copy, .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-visual { order: -1; min-height: 340px; }
  .hero-cutout { width: min(78%, 380px); }
}

@media (max-width: 720px) {
  .hero, .hero--home, .hero--bright { min-height: auto; }

  .hero-stats-wrap {
    width: min(100% - 24px, 420px);
    padding-block: 8px 4px;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr;
    padding: 6px 10px;
  }

  .hero-stat {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    padding: 14px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(228, 223, 214, 0.95);
  }

  .hero-stat:last-child { border-bottom: 0; }

  .hero-stat strong {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
    min-width: 3.4em;
    text-align: right;
  }

  .hero-stat span {
    max-width: none;
    text-align: left;
  }
}

/* legacy */
.hero-bg, .hero > .hero-image, .hero-slider-viewport.hero-bg { display: none; }
.hero-image:not(.hero-bg) { display: none; }

/* ─── Products ─── */
.product-slider-section { overflow: hidden; }

.product-slider-viewport {
  overflow: hidden;
  margin: 0;
  touch-action: pan-y;
}

.product-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.product-slider-track > .product-card {
  flex: 0 0 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 93, 69, 0.35);
}

.product-card-media,
.product-card > a:first-of-type {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--chip);
}

.product-card img,
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover img { transform: scale(1.03); }

.product-card-body,
.product-card > div:not(.product-badges) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 14px;
  flex: 1;
}

.product-card h3, .product-card .h3 { margin: 0; font-size: 1.02rem; }
.product-card h3 a, .product-card .h3 a {
  text-decoration: none;
  color: var(--ink);
}
.product-card h3 a:hover { color: var(--accent); }
.product-card p { font-size: 0.9rem; margin: 0; }

.product-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: var(--chip);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-price {
  margin-top: auto !important;
  font-family: var(--font-display);
  font-size: 1.3rem !important;
  font-weight: 700;
  color: var(--ink) !important;
}

.product-price small {
  font-size: 0.7em;
  font-weight: 700;
  color: var(--muted);
  font-family: var(--font-body);
}

.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.product-actions .btn, .product-actions .c-button {
  flex: 1;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  font-size: 0.84rem;
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
}

.pill-hit { background: var(--accent); }
.pill-recommend { background: #3d4f43; }
.pill-new { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.product-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.product-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.05rem;
}

.product-slider-btn:hover:not(:disabled) { border-color: var(--accent); }
.product-slider-btn:disabled { opacity: 0.35; cursor: not-allowed; }

@media (max-width: 980px) {
  .product-slider-track > .product-card {
    flex-basis: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 720px) {
  .product-slider-section {
    overflow: visible;
  }

  .product-slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
    width: 100vw;
    max-width: 100vw;
  }

  .product-slider-viewport::-webkit-scrollbar {
    display: none;
  }

  .product-slider-track {
    gap: 12px;
    width: max-content;
    margin-inline: auto;
    padding-inline: max(16px, calc((100vw - min(86vw, 360px)) / 2));
    transform: none !important;
    transition: none;
  }

  .product-slider-track > .product-card {
    flex: 0 0 min(86vw, 360px);
    max-width: min(86vw, 360px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .product-slider-controls {
    justify-content: center;
  }

  [data-catalog-grid],
  .catalog-grid,
  .product-grid {
    justify-items: center;
  }

  [data-catalog-grid] > .product-card,
  .catalog-grid > .product-card,
  .product-grid > .product-card {
    width: min(100%, 420px);
  }

  .blog-preview-grid,
  .blog-grid {
    justify-items: center;
  }

  .blog-card,
  article.blog-card {
    width: min(100%, 520px);
  }

  .reviews-grid {
    justify-items: center;
  }

  .review-card {
    width: min(100%, 520px);
  }

  .bento-grid {
    justify-items: center;
  }

  .bento-card {
    width: min(100%, 520px);
  }

  /* Center all button groups on mobile */
  .actions,
  .row,
  .hero .actions,
  .about-copy .row,
  .product-actions,
  .product-summary-actions,
  .product-cta-box,
  .article-footer-cta__actions,
  .cta-panel .actions,
  .section .actions,
  .page-main .actions,
  .catalog-result {
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .product-actions .btn,
  .product-actions .c-button,
  .product-summary-actions .btn,
  .product-summary-actions .c-button,
  .actions .btn,
  .actions .c-button,
  .row .btn,
  .row .c-button,
  .article-footer-cta__actions .btn,
  .article-footer-cta__actions .c-button,
  .hero .actions .btn,
  .hero .actions .c-button {
    justify-content: center;
  }

  .product-cta-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-cta-box .row,
  .product-cta-box .actions {
    width: 100%;
    justify-content: center;
  }

  .cta-panel {
    text-align: center;
  }

  .cta-panel .contact-lines {
    text-align: left;
  }

  .article-footer-cta {
    text-align: center;
  }

  .article-footer-cta__actions {
    width: 100%;
  }

  .catalog-filters,
  [data-catalog-filters] {
    justify-items: stretch;
  }

  .catalog-filters .btn,
  [data-catalog-filters] .btn,
  .catalog-filters .c-button,
  [data-catalog-filters] .c-button {
    width: 100%;
    justify-content: center;
  }
}

.catalog-toolbar { display: grid; gap: 10px; margin-bottom: 14px; }
.catalog-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

[data-catalog-grid], .catalog-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 980px) {
  [data-catalog-grid], .catalog-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  [data-catalog-grid], .catalog-grid, .product-grid { grid-template-columns: 1fr; }
}

.catalog-filters, [data-catalog-filters] {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 6px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.input, .textarea, select.input, .filter-field select,
.lead-form input, .lead-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.textarea, .lead-form textarea { min-height: 110px; resize: vertical; }

.input:focus, .textarea:focus, select:focus,
.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

@media (max-width: 900px) {
  .catalog-filters, [data-catalog-filters] { grid-template-columns: 1fr 1fr; }
}

/* ─── About ─── */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(14px, 2.5vw, 28px);
  align-items: center;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-copy .row { margin-top: 0.75rem; }

@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; }
}

/* ─── Advantages ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.bento-card {
  padding: 14px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.bento-card span {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.bento-card h3 { margin-bottom: 0.35em; }
.bento-card p { font-size: 0.94rem; }

@media (max-width: 980px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento-grid { grid-template-columns: 1fr; } }

/* ─── FAQ ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: none;
}

.faq-item p {
  max-width: 72ch;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
}

.faq-item[open] { border-color: rgba(47, 93, 69, 0.35); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 11px 0;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 11px; margin: 0; }

/* ─── Reviews ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.review-card {
  margin: 0;
  padding: 14px 14px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.review-card p {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.review-card cite {
  display: block;
  font-style: normal;
  font-weight: 800;
}

.review-card .meta {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ─── Blog ─── */
.blog-preview-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.blog-card, article.blog-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 93, 69, 0.35);
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}

.blog-card > div, .blog-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-card h2, .blog-card h3, .blog-card .h3 { margin: 0; }
.blog-card a { text-decoration: none; }

.blog-card .meta, .blog-card-body .meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 860px) {
  .blog-preview-grid, .blog-grid { grid-template-columns: 1fr; }
  .blog-card, article.blog-card { grid-template-columns: 1fr; }
  .blog-card img { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ─── CTA ─── */
.cta-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(14px, 2.5vw, 24px);
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: var(--radius-lg);
  background: #1e2a23;
  color: #f3f6f3;
  overflow: hidden;
}

.cta-panel .eyebrow { color: #a8c4b4; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(243, 246, 243, 0.78); }

.contact-lines {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-lines li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  font-size: 0.95rem;
}

.contact-lines strong {
  color: rgba(243, 246, 243, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 0.25rem;
}

.contact-lines a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.lead-form {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.lead-form .field { display: grid; gap: 6px; }
.lead-form label { font-size: 0.85rem; font-weight: 600; color: rgba(243,246,243,.8); }
.lead-form .input, .lead-form .textarea, .lead-form input, .lead-form textarea {
  background: #fff;
  border-color: transparent;
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(243, 246, 243, 0.78);
}

.checkbox-field a { color: #c5dbc9; }
.field-honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.lead-form-message { font-size: 0.9rem; margin: 0; }

@media (max-width: 860px) {
  .cta-panel { grid-template-columns: 1fr; }
  .contact-lines li { grid-template-columns: 1fr; gap: 2px; }
}

.page-main .lead-form,
.catalog-section .lead-form:not(.cta-panel .lead-form) {
  background: var(--surface);
  border: 1px solid var(--line);
}
.page-main .lead-form label { color: var(--muted); }
.page-main .checkbox-field { color: var(--muted); }

/* ─── Footer ─── */
.site-footer, .c-footer {
  margin-top: auto;
  padding: 28px 0 16px;
  background: #171614;
  color: rgba(247, 246, 243, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand-wordmark strong { color: #fff; }
.site-footer .brand-wordmark span { color: rgba(247, 246, 243, 0.5); }
.site-footer p { color: rgba(247, 246, 243, 0.62); max-width: 36ch; }
.footer-contacts { margin-top: 14px; line-height: 1.7; }
.footer-contacts a { color: #fff; text-decoration: none; font-weight: 600; }

.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  align-content: start;
}

.site-footer nav a {
  text-decoration: none;
  color: rgba(247, 246, 243, 0.75);
  font-weight: 600;
}
.site-footer nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 0.88rem;
}
.footer-bottom a { color: rgba(247, 246, 243, 0.6); }

@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── Inner pages ─── */
.page-main, main.page-main, main#top {
  flex: 1;
  position: relative;
  background: var(--bg);
}

.page-main, main.page-main { padding-bottom: var(--space-section-sm); }

.page-hero, .od-page-hero { padding: clamp(14px, 2.5vw, 24px) 0 8px; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead, .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 52ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 10px 0 4px;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumbs a { text-decoration: none; font-weight: 600; color: var(--accent); }

.prose-flow, .od-content { max-width: 760px; }
.prose-flow h2 { margin-top: 1.15em; }
.prose-flow img {
  border-radius: var(--radius-lg);
  margin: 0.8em 0;
  border: 1px solid var(--line);
}

/* Product page */
.product-hero, .product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(12px, 2vw, 22px);
  align-items: start;
  margin: 8px 0 20px;
}

.product-gallery, [data-product-gallery] { display: grid; gap: 10px; }

.product-gallery-main {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--chip);
}

.product-gallery-main img, [data-gallery-main] {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

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

.product-gallery-thumb, .product-thumbs button, [data-gallery-thumb] {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.product-gallery-thumb.is-active,
.product-thumbs button.is-active,
[data-gallery-thumb].is-active { border-color: var(--accent); }

.product-gallery-thumb img, .product-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  display: block;
}

.product-summary .product-price {
  margin: 0.4rem 0 0.8rem !important;
  font-size: clamp(1.55rem, 3vw, 1.9rem) !important;
}

.product-summary-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.product-block {
  margin: 14px 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.product-block h2 { margin-top: 0; }

.product-cta-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: #1e2a23 !important;
  color: #f3f6f3 !important;
  border: 0 !important;
}
.product-cta-box h2, .product-cta-box .eyebrow { color: #fff !important; }
.product-cta-box p { color: rgba(243, 246, 243, 0.75) !important; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.specs-table th, .specs-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.95rem;
}
.specs-table th { width: 42%; color: var(--muted); font-weight: 600; }

.complect-list, .product-complect {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.complect-list li { margin: 0.35em 0; }

@media (max-width: 900px) {
  .product-hero, .product-layout { grid-template-columns: 1fr; }
}

.projects-showcase,
.projects-slider,
[data-projects-slider] {
  position: relative;
}

.hero-slider-viewport,
.projects-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  touch-action: pan-y;
}

.hero-slider-track,
.projects-slider-track {
  display: flex;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.hero-slide,
.projects-slider-track > .hero-slide {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0;
}

.hero-slide img,
.projects-slider-track img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.projects-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lift);
}
.projects-slider-btn--prev { left: 12px; }
.projects-slider-btn--next { right: 12px; }
.projects-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.projects-slider-dots .slider-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
}
.projects-slider-dots .slider-dot.is-active { background: var(--accent); }
.projects-slider-caption {
  text-align: center;
  margin: 8px 0 0;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .hero-slider-viewport,
  .projects-slider-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
  }
  .hero-slider-viewport::-webkit-scrollbar,
  .projects-slider-viewport::-webkit-scrollbar { display: none; }
  .hero-slider-track,
  .projects-slider-track {
    transform: none !important;
    transition: none;
  }
  .hero-slide,
  .projects-slider-track > .hero-slide {
    scroll-snap-align: center;
  }
}

/* Modals */
.lead-modal[hidden] { display: none !important; }
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(3px);
}
.lead-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 26px 22px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.lead-modal-dialog h2 { margin-bottom: 0.3em; }
.lead-modal-desc { margin-bottom: 1rem; }
.lead-modal-dialog .lead-form {
  background: transparent;
  border: 0;
  padding: 0;
}
.lead-modal-dialog .lead-form label { color: var(--muted); }
.lead-modal-dialog .checkbox-field { color: var(--muted); }
.lead-modal-dialog .checkbox-field a { color: var(--accent); }
.lead-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--chip);
  cursor: pointer;
  font-size: 1.15rem;
}

/* Cookie */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent-inner {
  width: min(100%, 720px);
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--ink);
  color: #f7f6f3;
  border-radius: 14px;
  box-shadow: var(--shadow-lift);
}
.cookie-consent-inner p { margin: 0; color: rgba(247,246,243,.85); font-size: 0.9rem; }
.cookie-consent-inner a { color: #b7d0c2; }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.delay-1.is-visible { transition-delay: 0.06s; }
.reveal.delay-2.is-visible { transition-delay: 0.12s; }
.reveal.delay-3.is-visible { transition-delay: 0.18s; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
[data-motion="fade-down"] { animation: fadeDown 0.5s var(--ease) both; }

.price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.9rem;
  margin-right: 0.4rem;
}

.catalog-count, [data-catalog-count] {
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--muted);
}

.catalog-empty, [data-catalog-empty] {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

.article-body h2 { margin-top: 1.1em; }
.article-header h1 { max-width: 22ch; }
.article-content--wide { max-width: none; width: 100%; }
.article-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 16px;
}
.article-column {
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.article-column h2 {
  margin: 0 0 0.35em;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.article-column p {
  margin: 0;
  font-size: 0.95rem;
}
.article-intro {
  display: grid;
  gap: 0.55em;
  margin: 0 0 16px;
  max-width: 72ch;
}
.article-intro p { margin: 0; color: var(--ink); font-size: 1.05rem; }
.article-text { max-width: 72ch; }
.article-text h2 { margin-top: 1.15em; }
.article-faq,
.article-popular {
  width: 100%;
  max-width: none;
  margin-top: 22px;
}
.article-faq .faq-list,
.faq-list--wide {
  width: 100%;
  max-width: none;
}
.article-faq .faq-item p { max-width: none; }
.article-popular .product-grid { margin-top: 8px; }

.article-footer-cta {
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: clamp(12px, 2vw, 22px);
  align-items: center;
  margin: 22px 0 4px;
  padding: clamp(16px, 2.5vw, 24px) clamp(16px, 2.5vw, 24px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(168, 214, 186, 0.18), transparent 55%),
    linear-gradient(135deg, #1e2a23 0%, #24352c 55%, #1a2420 100%);
  color: #f3f6f3;
  overflow: hidden;
}
.article-footer-cta__copy { min-width: 0; }
.article-footer-cta .eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #a8c4b4;
}
.article-footer-cta h2 {
  margin: 0 0 0.4em;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  max-width: 16ch;
}
.article-footer-cta p {
  margin: 0;
  color: rgba(243, 246, 243, 0.78);
  max-width: 40ch;
  font-size: 1.02rem;
}
.article-footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.article-footer-cta .btn-accent,
.article-footer-cta .c-button--accent {
  --btn-bg: #fff;
  --btn-fg: #1e2a23;
  --btn-bd: #fff;
  background: #fff;
  color: #1e2a23;
  border-color: #fff;
}
.article-footer-cta .btn-accent:hover,
.article-footer-cta .c-button--accent:hover {
  background: #eef5f0;
  color: #1e2a23;
}
.article-footer-cta .btn-outline,
.article-footer-cta .c-button--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.article-footer-cta .btn-outline:hover,
.article-footer-cta .c-button--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
@media (max-width: 720px) {
  .article-footer-cta {
    grid-template-columns: 1fr;
    padding: 16px 14px;
    text-align: center;
  }
  .article-footer-cta__actions {
    justify-content: center;
    width: 100%;
  }
  .article-footer-cta h2 {
    max-width: none;
    margin-inline: auto;
  }
  .article-footer-cta p {
    margin-inline: auto;
  }
}

.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0.6rem 0 1rem;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
@media (max-width: 860px) {
  .article-columns { grid-template-columns: 1fr; }
}

.seo-related { margin-top: 16px; }
.seo-related a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.seo-related a:hover { text-decoration: underline; }

main#top, main.page-main:has(> .plant-ivy-left) {
  background-image: none;
}
