/* ==========================================================================
   АгроСемена — Nature-First eco palette
   ========================================================================== */
:root {
  /* --- Eco palette tokens --- */
  --color-sprout-cream:  #FBF9F4; /* основной фон страниц */
  --color-sprout-sand:   #F3EFE6; /* фон карточек, инпутов, плашек */
  --color-sprout-forest: #1A2E22; /* главный текст, заголовки */
  --color-sprout-earth:  #5A5248; /* вторичный текст, мета, иконки */
  --color-sprout-tomato: #D95D39; /* главная кнопка, акценты, скидки */
  --color-sprout-leaf:   #4E7A57; /* теги категорий, статус «в наличии» */

  /* derived */
  --tomato-deep: #C24A28;
  --leaf-deep:   #3E6346;
  --sand-line:   rgba(90, 82, 72, 0.10); /* мягкая граница earth/10 */
  --sand-line-2: rgba(90, 82, 72, 0.18);
  --shadow-sm: 0 1px 2px rgba(26, 46, 34, .04), 0 2px 8px rgba(26, 46, 34, .05);
  --shadow-md: 0 6px 22px rgba(26, 46, 34, .09);

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 16px;       /* rounded-2xl */
  --radius-sm: 12px;    /* rounded-xl */
  --wrap: 1240px;
}

/* --- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-sprout-forest);
  background: var(--color-sprout-cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-sprout-forest);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--color-sprout-earth); }
.section { padding: 56px 0; }
.section--tight { padding: 36px 0; }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 26px; border: none; border-radius: 999px;
  font-weight: 600; font-size: .97rem; line-height: 1;
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn--primary { background: var(--color-sprout-tomato); color: var(--color-sprout-cream); }
.btn--primary:hover { background: var(--tomato-deep); transform: translateY(-1px); }
.btn--leaf { background: var(--color-sprout-leaf); color: var(--color-sprout-cream); }
.btn--leaf:hover { background: var(--leaf-deep); }
.btn--ghost {
  background: transparent; color: var(--color-sprout-forest);
  border: 1px solid var(--sand-line-2);
}
.btn--ghost:hover { background: var(--color-sprout-sand); }
.btn--block { width: 100%; }

/* tags */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; letter-spacing: .01em;
  background: rgba(78, 122, 87, .12); color: var(--leaf-deep);
}
.tag--instock { color: var(--color-sprout-leaf); }
.tag--sale {
  background: var(--color-sprout-tomato); color: #fff;
  box-shadow: 0 1px 4px rgba(26, 46, 34, .28);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, .9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--sand-line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--wrap); margin: 0 auto; padding: 16px 24px;
}
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-serif); }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--color-sprout-leaf); color: var(--color-sprout-cream);
  display: grid; place-items: center; flex: 0 0 auto;
}
.logo__mark::before {
  content: ""; width: 24px; height: 24px;
  background: var(--color-sprout-cream);
  -webkit-mask: url(../img/vegetables-salad-svgrepo-com.svg) center / contain no-repeat;
          mask: url(../img/vegetables-salad-svgrepo-com.svg) center / contain no-repeat;
}
.logo__name { font-size: 1.3rem; font-weight: 700; color: var(--color-sprout-forest); letter-spacing: .01em; }
.logo__sub { display: block; font-family: var(--font-sans); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--color-sprout-earth); margin-top: 1px; }

.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a {
  padding: 9px 15px; border-radius: 10px; font-weight: 500; font-size: .96rem;
  color: var(--color-sprout-earth); transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--color-sprout-sand); color: var(--color-sprout-forest); }
.site-nav a.is-active { color: var(--color-sprout-forest); background: var(--color-sprout-sand); }

.header-tg {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
  border-radius: 999px; background: var(--color-sprout-leaf); color: var(--color-sprout-cream);
  font-weight: 600; font-size: .9rem;
}
.header-tg:hover { background: var(--leaf-deep); }

.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--color-sprout-forest); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ==========================================================================
   Top search strip
   ========================================================================== */
.search-strip { background: var(--color-sprout-sand); border-bottom: 1px solid var(--sand-line); }
.search-strip__inner { display: flex; align-items: center; gap: 18px; padding: 18px 24px; max-width: var(--wrap); margin: 0 auto; }
.search-strip__label { font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.searchbar { display: flex; gap: 10px; margin-left: auto; flex: 0 1 600px; }
.searchbar input {
  flex: 1; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--sand-line-2);
  background: var(--color-sprout-cream); font-size: 1rem; color: var(--color-sprout-forest);
}
.searchbar input:focus { outline: 2px solid var(--color-sprout-leaf); outline-offset: 1px; }

/* ==========================================================================
   Banner slider
   ========================================================================== */
.banners { padding: 28px 0 8px; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.slider__track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.slide { position: relative; flex: 0 0 100%; min-width: 100%; }
.slide img { display: block; width: 100%; height: clamp(300px, 30vw, 440px); object-fit: cover; }
.slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,46,34,.42) 0%, rgba(26,46,34,.22) 45%, rgba(26,46,34,0) 78%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(28px, 6vw, 80px); max-width: 760px;
}
.slide__overlay h2 { color: var(--color-sprout-cream); font-size: clamp(1.4rem, 3.4vw, 2.5rem); margin: 0 0 .35em;
  text-shadow: 0 2px 10px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.5); }
.slide__overlay p { color: var(--color-sprout-cream); font-size: clamp(.95rem, 1.6vw, 1.15rem); margin: 0 0 22px; max-width: 30em;
  text-shadow: 0 1px 8px rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.5); }
.slider__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 3; }
.slider__dots button { width: 10px; height: 10px; border-radius: 999px; border: none; background: rgba(251,249,244,.5); cursor: pointer; transition: all .2s; padding: 0; }
.slider__dots button.is-active { background: var(--color-sprout-cream); width: 26px; }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 999px; border: none; background: rgba(251,249,244,.85);
  color: var(--color-sprout-forest); display: grid; place-items: center; cursor: pointer; transition: background .15s;
}
.slider__arrow:hover { background: var(--color-sprout-cream); }
.slider__arrow svg { width: 20px; height: 20px; }
.slider__arrow--prev { left: 16px; }
.slider__arrow--next { right: 16px; }

/* ==========================================================================
   Hero (Main.png with fade)
   ========================================================================== */
.hero { position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: center; margin-top: 8px; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__fade {
  position: absolute; inset: 0; z-index: 1;
  /* лёгкая вуаль на весь баннер — только для читаемости текста, картинка хорошо видна */
  background: radial-gradient(125% 105% at 50% 50%, rgba(251,249,244,.66) 0%, rgba(251,249,244,.42) 55%, rgba(251,249,244,.16) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 56px clamp(20px, 3vw, 40px); max-width: 680px; margin: 0 auto; text-align: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--leaf-deep);
}
.hero h1 { margin-bottom: 18px; }
.hero p.lead { font-size: 1.12rem; color: var(--color-sprout-forest); max-width: 30em; margin: 0 auto 28px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
/* вторичная кнопка hero: сплошная тёмно-зелёная, читаемая на светлой вуали */
.hero__cta .btn--ghost {
  background: var(--leaf-deep); color: var(--color-sprout-cream);
  border-color: var(--leaf-deep);
}
.hero__cta .btn--ghost:hover { background: var(--color-sprout-leaf); border-color: var(--color-sprout-leaf); color: #fff; }

/* ==========================================================================
   Category grid (home)
   ========================================================================== */
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.section-head p { margin: 6px 0 0; color: var(--color-sprout-earth); }
.section-head a.more { color: var(--color-sprout-leaf); font-weight: 600; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.cat-card {
  background: #fff; border: 1px solid var(--sand-line); display: flex; flex-direction: column;
  text-align: center; border-radius: var(--radius-sm); padding: 18px 18px 16px; transition: transform .15s, box-shadow .18s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-card__icon {
  margin-bottom: 14px; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px;
  overflow: hidden; background: #fff; display: grid; place-items: center;
}
.cat-card__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cat-card__name {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-card__count { font-size: .85rem; color: var(--color-sprout-earth); margin-top: 1px; }

/* brand tiles */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 16px; }
.brand-card {
  background: #fff; border: 1px solid var(--sand-line); border-radius: var(--radius-sm);
  padding: 22px 18px; display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform .15s, box-shadow .18s;
}
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.brand-card__logo { height: 66px; display: grid; place-items: center; margin-bottom: 14px; }
.brand-card__logo img { max-width: 100%; max-height: 66px; object-fit: contain; }
.brand-card__txt { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--color-sprout-leaf); }
.brand-card__name { font-family: var(--font-serif); font-weight: 600; font-size: 1rem; color: var(--color-sprout-forest); }
.brand-card__count { font-size: .82rem; color: var(--color-sprout-earth); margin-top: 3px; }

/* ==========================================================================
   Product grid + cards
   ========================================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.pcard {
  display: flex; flex-direction: column;
  background: var(--color-sprout-sand); border: 1px solid var(--sand-line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .16s ease, box-shadow .2s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard__media {
  aspect-ratio: 1/1; background: var(--color-sprout-cream);
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__ph { color: var(--color-sprout-leaf); opacity: .5; }
.pcard__ph svg { width: 48px; height: 48px; }
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard__culture { font-size: .76rem; font-weight: 600; color: var(--color-sprout-leaf); margin-bottom: 7px; }
.pcard__title {
  font-family: var(--font-serif); font-size: 1.02rem; font-weight: 600; line-height: 1.32;
  color: var(--color-sprout-forest); margin-bottom: 8px; min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__man { font-size: .85rem; color: var(--color-sprout-earth); margin-bottom: 14px; }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard__price .now { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--color-sprout-forest); }
.pcard__price .was { font-size: .85rem; color: var(--color-sprout-earth); text-decoration: line-through; margin-left: 6px; }
.pcard__price .pack { display: block; font-size: .76rem; color: var(--color-sprout-earth); }
.pcard__buy {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--color-sprout-tomato); color: var(--color-sprout-cream);
  display: grid; place-items: center; border: none; transition: background .16s, transform .12s;
}
.pcard__buy:hover { background: var(--tomato-deep); transform: translateY(-1px); }
.pcard__buy svg { width: 20px; height: 20px; }

/* ==========================================================================
   Catalog layout (sidebar + main)
   ========================================================================== */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 34px; align-items: start; padding-top: 36px; padding-bottom: 64px; }
.sidebar {
  background: var(--color-sprout-sand); border: 1px solid var(--sand-line);
  border-radius: var(--radius); padding: 22px; position: sticky; top: 92px;
}
.sidebar__title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; margin: 0 0 12px; }
.sidebar__title:not(:first-child) { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--sand-line); }
.filter-list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow: auto; }
.filter-list li { margin: 1px 0; }
.filter-list a, .filter-list button {
  display: flex; justify-content: space-between; gap: 8px; width: 100%; text-align: left;
  padding: 8px 11px; border-radius: 9px; background: none; border: none; font-size: .92rem;
  color: var(--color-sprout-earth); transition: background .14s, color .14s;
}
.filter-list a:hover, .filter-list button:hover { background: var(--color-sprout-cream); color: var(--color-sprout-forest); }
.filter-list .is-active { background: var(--color-sprout-cream); color: var(--color-sprout-forest); font-weight: 600; }
.filter-list .c { color: var(--color-sprout-earth); font-size: .82rem; }

.toolbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.toolbar .search-mini { flex: 1; min-width: 200px; position: relative; }
.toolbar .search-mini input {
  width: 100%; padding: 11px 16px 11px 40px; border-radius: 999px;
  border: 1px solid var(--sand-line-2); background: var(--color-sprout-sand); font-size: .95rem; color: var(--color-sprout-forest);
}
.toolbar .search-mini svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--color-sprout-earth); }
.toolbar select {
  padding: 11px 14px; border-radius: 12px; border: 1px solid var(--sand-line-2);
  background: var(--color-sprout-sand); font-size: .92rem; color: var(--color-sprout-forest);
}
.summary { color: var(--color-sprout-earth); font-size: .92rem; margin: 0 0 18px; }

/* breadcrumbs */
.crumbs { font-size: .86rem; color: var(--color-sprout-earth); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--color-sprout-forest); }
.crumbs .sep { opacity: .5; }

/* pagination */
.pagination { display: flex; gap: 7px; justify-content: center; margin-top: 42px; flex-wrap: wrap; }
.pagination button {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 11px;
  border: 1px solid var(--sand-line-2); background: var(--color-sprout-sand);
  color: var(--color-sprout-forest); font-weight: 600; font-size: .92rem; transition: all .14s;
}
.pagination button:hover:not(:disabled) { background: var(--color-sprout-cream); border-color: var(--color-sprout-leaf); }
.pagination button.is-active { background: var(--color-sprout-leaf); color: var(--color-sprout-cream); border-color: var(--color-sprout-leaf); }
.pagination button:disabled { opacity: .4; cursor: default; }

/* empty state */
.empty { text-align: center; padding: 70px 20px; color: var(--color-sprout-earth); }

/* ==========================================================================
   Product detail
   ========================================================================== */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 24px 0 56px; align-items: start; }
.pdp__media {
  background: var(--color-sprout-sand); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1/1; display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__media .pcard__ph svg { width: 96px; height: 96px; }
.pdp__culture { color: var(--color-sprout-leaf); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.pdp h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pdp__man { color: var(--color-sprout-earth); margin: 0 0 22px; }
.pdp__pricebox {
  background: var(--color-sprout-sand); border: 1px solid var(--sand-line);
  border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
}
.pdp__price { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; }
.pdp__price .was { font-size: 1.1rem; color: var(--color-sprout-earth); text-decoration: line-through; margin-left: 10px; -webkit-text-fill-color: var(--color-sprout-earth); }
.pdp__pack { color: var(--color-sprout-earth); margin: 4px 0 18px; }
.pdp__buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pdp__tiers { margin-top: 18px; border-top: 1px solid var(--sand-line); padding-top: 16px; display: grid; gap: 7px; }
.pdp__tier { display: flex; justify-content: space-between; font-size: .92rem; color: var(--color-sprout-earth); }
.pdp__tier b { color: var(--color-sprout-forest); }

.specs { width: 100%; border-collapse: collapse; margin: 8px 0 26px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--sand-line); font-size: .95rem; vertical-align: top; }
.specs th { color: var(--color-sprout-earth); font-weight: 500; width: 42%; }
.specs td { color: var(--color-sprout-forest); font-weight: 500; }

/* product tabs */
.pdp-tabs { margin: 8px 0 8px; }
.pdp-tabs__nav { display: flex; gap: 8px; border-bottom: 1px solid var(--sand-line-2); margin-bottom: 0; flex-wrap: wrap; }
.pdp-tab {
  position: relative; background: none; border: none; padding: 14px 6px; margin-bottom: -1px;
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--color-sprout-earth);
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.pdp-tab:hover { color: var(--color-sprout-forest); }
.pdp-tab.is-active { color: var(--color-sprout-forest); border-bottom-color: var(--color-sprout-tomato); }
.pdp-tab__c { font-family: var(--font-sans); font-size: .72rem; font-weight: 600; color: var(--color-sprout-leaf);
  background: rgba(78,122,87,.12); border-radius: 999px; padding: 2px 8px; vertical-align: middle; margin-left: 4px; }
.pdp-tabs__panel {
  background: var(--color-sprout-sand); border: 1px solid var(--sand-line);
  border-radius: 0 0 var(--radius) var(--radius); border-top: none;
  padding: clamp(20px, 3vw, 34px);
}
.pdp-tabs__panel.is-hidden { display: none; }
.pdp-tabs__panel .specs { margin: 0; }
.pdp-tabs__panel .specs tr:last-child th, .pdp-tabs__panel .specs tr:last-child td { border-bottom: none; }

.prose { color: var(--color-sprout-earth); line-height: 1.75; }
.prose h2, .prose h3 { color: var(--color-sprout-forest); margin-top: 1.4em; }
.prose p { margin: 0 0 1em; }

/* ==========================================================================
   Content pages (oplata/dostavka/sertifikaty)
   ========================================================================== */
.page-hero { padding: 48px 0 8px; }
.page-hero .crumbs { margin-bottom: 14px; }
.content-card {
  background: var(--color-sprout-sand); border: 1px solid var(--sand-line);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); margin-bottom: 22px;
}
.content-card h2:first-child, .content-card h3:first-child { margin-top: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature {
  background: var(--color-sprout-cream); border: 1px solid var(--sand-line);
  border-radius: var(--radius-sm); padding: 22px;
}
.feature { text-align: center; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(78,122,87,.12); color: var(--color-sprout-leaf); margin: 0 auto 14px;
}
.feature__icon .feat-ico {
  width: 28px; height: 28px; background: var(--color-sprout-leaf);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--color-sprout-earth); font-size: .93rem; }
.feature .meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0; font-size: .86rem; }
.feature .meta b { color: var(--color-sprout-forest); }

.gost-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gost-list li {
  display: flex; gap: 14px; align-items: start; padding: 16px 18px;
  background: var(--color-sprout-cream); border: 1px solid var(--sand-line); border-radius: var(--radius-sm);
}
.gost-list .badge {
  flex: 0 0 auto; padding: 4px 10px; border-radius: 8px; font-size: .78rem; font-weight: 700;
  background: rgba(78,122,87,.14); color: var(--leaf-deep); white-space: nowrap;
}
.gost-list li > span:last-child { min-width: 0; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.cert {
  background: var(--color-sprout-cream); border: 1px solid var(--sand-line-2); border-radius: var(--radius-sm);
  aspect-ratio: 3/4; overflow: hidden; display: grid; place-items: center; color: var(--color-sprout-earth);
  transition: transform .15s, box-shadow .18s;
}
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert img { width: 100%; height: 100%; object-fit: cover; }
.cert__ph { text-align: center; padding: 16px; font-size: .85rem; }
.cert__ph svg { width: 40px; height: 40px; margin-bottom: 8px; opacity: .6; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-sprout-forest); color: rgba(251,249,244,.8); margin-top: 40px; }
.site-footer a { color: rgba(251,249,244,.8); }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 54px; padding-bottom: 38px; }
.site-footer__top h4 { color: var(--color-sprout-cream); font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: .94rem; }
.site-footer .logo__name { color: var(--color-sprout-cream); }
.site-footer .logo__sub { color: rgba(251,249,244,.55); }
.footer-about { font-size: .92rem; line-height: 1.7; margin: 16px 0 0; max-width: 28em; }
.footer-col a.footer-tg {
  display: inline-flex; width: fit-content; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 18px;
  border-radius: 999px; background: var(--color-sprout-leaf); color: var(--color-sprout-cream); font-weight: 600; font-size: .9rem;
}
.footer-col a.footer-tg:hover { background: var(--leaf-deep); color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(251,249,244,.12); padding-top: 20px; padding-bottom: 20px; font-size: .85rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(251,249,244,.6); }

/* ==========================================================================
   Toast (demo notice)
   ========================================================================== */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--color-sprout-forest); color: var(--color-sprout-cream);
  padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow-md);
  font-size: .92rem; font-weight: 500; opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  /* header: на средних экранах прячем Telegram-кнопку и поджимаем меню, чтобы шапка не вылезала за край */
  .header-tg { display: none; }
  .site-header__inner { gap: 16px; }
  .site-nav { gap: 2px; }
  .site-nav a { padding: 9px 11px; }
}
@media (max-width: 640px) {
  /* gost-list: бейдж над текстом, чтобы описание не вылезало за край */
  .gost-list li { flex-direction: column; gap: 8px; }
  /* hero: image on top, cream fade from bottom so text is readable */
  .hero { min-height: 0; flex-direction: column; }
  .hero__media { position: relative; height: 220px; }
  .hero__media img { object-position: center; }
  .hero__fade { background: linear-gradient(0deg, var(--color-sprout-cream) 18%, rgba(251,249,244,0) 60%); }
  .hero__content { padding: 0 24px 40px; max-width: 100%; }
  .search-strip__inner { flex-wrap: wrap; gap: 10px; }
  .search-strip__label { font-size: .98rem; }
  .searchbar { flex-basis: 100%; margin-left: 0; }
  .slide img { height: 260px; }
  .slide__overlay { padding: 0 20px; background: linear-gradient(90deg, rgba(26,46,34,.62) 0%, rgba(26,46,34,.3) 60%, rgba(26,46,34,0) 100%); }
  .slide__overlay h2 { font-size: 1.3rem; margin-bottom: .3em; }
  .slide__overlay p {
    font-size: .9rem; margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .slide__overlay .btn { padding: 10px 18px; font-size: .9rem; }
  .slider__arrow { display: none; }
}
@media (max-width: 860px) {
  .catalog { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar.is-collapsed .sidebar__body { display: none; }
  .sidebar__toggle { display: flex; }
}
@media (max-width: 720px) {
  .site-nav, .header-tg { display: none; }
  .site-nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-sprout-cream); border-bottom: 1px solid var(--sand-line); padding: 12px 24px 18px; gap: 2px;
  }
  .nav-toggle { display: block; margin-left: auto; }
  .hero__stats { gap: 22px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 24px; }
}
.sidebar__toggle { display: none; }
