/* ========= AGROALEM — стили (по макету Figma, ширина 1440, контейнер 1360) ========= */
:root {
  --green: #008000;
  --green-dark: #004000;
  --lime: #2fc509;
  --red: #f53b49;
  --blue: #4b7ee8;
  --star: #f99808;
  --ink: #1a1a25;
  --text: #384255;
  --gray: #858fa4;
  --gray-2: #909cb5;
  --bg: #f6f6f6;
  --line: rgba(133, 143, 164, .2);
  --line-soft: rgba(133, 143, 164, .15);
  --brand: #1c3a2b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; font-size: 14px; line-height: 20px; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: 700; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 47px; padding: 0 18px; border-radius: 8px; font-weight: 700; font-size: 15px; line-height: 18px; border: 1px solid transparent; transition: .2s; white-space: nowrap; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #006a00; }
.btn--white { background: #fff; color: var(--green); }
.btn--white:hover { background: #eef7ee; }
.btn--outline-white { border-color: #fff; color: #fff; padding: 0 18px; }
.btn--outline-white:hover { background: rgba(255, 255, 255, .15); }
.btn--outline-green { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline-green:hover { background: rgba(0, 128, 0, .06); }
.btn--sm { font-size: 14px; line-height: 17px; }
.btn--catalog { height: 49px; padding: 0 20px; gap: 6px; font-size: 14px; line-height: 17px; }
.btn--catalog svg { margin-right: 4px; }

/* ---------- шапка ---------- */
.header { background: #fff; }
.header__top-in { display: flex; align-items: center; justify-content: space-between; height: 82px; padding-top: 16px; padding-bottom: 16px; }
.logo img { width: 228px; height: 50px; }
.header__right { display: flex; align-items: center; gap: 30px; }
.header__call { display: flex; align-items: center; gap: 26px; }
.header__phone { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; line-height: 17px; }
.tri { display: inline-block; width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 5px solid var(--ink); margin-left: 0; }
.header__callback { color: var(--green); }
.vsep { width: 1px; height: 30px; background: var(--line-soft); border-radius: 1px; }
.socials { display: flex; gap: 12px; }
.header__login { display: inline-flex; align-items: center; gap: 14px; }
.header__nav { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.header__nav-in { display: flex; align-items: center; justify-content: space-between; height: 81px; padding-top: 16px; padding-bottom: 16px; }
.header__nav-left { display: flex; align-items: center; gap: 32px; }
.search { display: flex; align-items: center; justify-content: flex-start; width: 54px; height: 40px; padding-left: 0; margin-left: 20px; border-right: 1px solid var(--line-soft); padding-right: 32px; box-sizing: content-box; width: 21px; }
.nav { display: flex; }
.nav a { display: block; padding: 12px 14px 13px; border-radius: 4px; transition: .2s; }
.nav a:hover { color: var(--green); background: rgba(0, 128, 0, .05); }
.header__actions { display: flex; gap: 24px; }
.hico { position: relative; display: flex; align-items: center; height: 28px; width: 41px; }
.hico__img { margin-top: 2px; }
.count { position: absolute; top: 2px; right: 0; display: grid; place-items: center; min-width: 16px; height: 16px; border-radius: 8px; background: var(--green); border: 2px solid #fff; color: #fff; font: 400 10px/12px 'Inter', sans-serif; font-style: normal; box-sizing: content-box; padding: 0; width: 12px; }

/* ---------- бейджи ---------- */
.badge { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 900; font-size: 11px; line-height: 13px; margin-left: -6px; border: 0; }
.badge:first-child { margin-left: 0; }
.badge--sale { background: var(--red); }
.badge--like { background: var(--blue); }
.badge--new { background: var(--lime); }
.badge--lg { margin-left: 0; }

/* ---------- карточка товара ---------- */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-width: 0; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 8px 28px rgba(26, 26, 37, .1); }
.card__media { position: relative; display: block; aspect-ratio: 1 / 1; background-size: cover; background-position: center; background-repeat: no-repeat; padding: 16px; border-bottom: 1px solid var(--line); }
.card__badges { display: flex; }
.card__tools { position: absolute; top: 26px; right: 16px; display: flex; gap: 10px; align-items: center; }
.icon-btn { display: grid; place-items: center; width: 20px; height: 20px; opacity: .9; }
.icon-btn:hover { opacity: 1; transform: scale(1.1); }
.icon-btn.is-on img { filter: invert(23%) sepia(94%) saturate(4000%) hue-rotate(340deg); }
.card__body { display: flex; flex-direction: column; justify-content: space-between; flex: 1; padding: 20px 20px 26px; }
.card__info { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; }
.card__stock { display: flex; align-items: center; gap: 6px; color: var(--lime); font-weight: 500; font-size: 12px; line-height: 15px; }
.card__stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-left: 0; }
.card__stock span { margin-right: 0; }
.card__stock i + i { margin-left: -4px; }
.card__title { display: block; margin-top: 4px; font-weight: 700; font-size: 16px; line-height: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__title:hover { color: var(--green); }
.card__info > .card__stock + .card__title { margin-top: -12px; }
.card__props { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.card__props li span { color: var(--gray); }
.rating { display: flex; align-items: center; gap: 2px; }
.rating span { color: var(--gray-2); font-weight: 500; font-size: 12px; line-height: 15px; margin-right: 4px; }
.card__buy { display: flex; align-items: center; justify-content: space-between; gap: 21px; }
.price { display: flex; flex-direction: column; }
.price b { font-size: 17px; line-height: 23px; font-weight: 700; }
.price s { color: var(--gray); font-size: 15px; line-height: 20px; }
.card__buy .btn { width: 103px; padding: 0 12px; gap: 4px; height: 47px; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--hits { grid-template-columns: repeat(5, 322px); }

/* ---------- секции главной ---------- */
.home { padding-top: 40px; display: flex; flex-direction: column; gap: 64px; padding-bottom: 40px; }
.hero { display: grid; grid-template-columns: 990fr 346fr; gap: 24px; height: 468px; }
.hero__main { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; color: #fff; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 128, 0, .9) 0%, rgba(0, 128, 0, .7) 50%, rgba(0, 128, 0, .3) 100%); }
.hero__body, .hero__foot { position: relative; }
.hero__body h1 { font-family: 'Inter Tight', 'Inter', sans-serif; font-weight: 700; font-size: 48px; line-height: 48px; margin-bottom: 24px; max-width: 520px; }
.hero__body p { font-size: 16px; line-height: 24px; max-width: 380px; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; }
.hero__btns { display: flex; gap: 16px; }
.dots { display: flex; gap: 8px; }
.dots i { width: 8px; height: 8px; border-radius: 2px; background: #fff; opacity: .5; }
.dots i.is-active { opacity: 1; }
.hero__promo { position: relative; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; background-color: var(--green); padding: 24px; }

.section { display: flex; flex-direction: column; gap: 40px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; min-height: 50px; }
.section__head h2 { font-size: 32px; line-height: 35px; }
.tabs { display: flex; align-items: flex-end; gap: 40px; }
.tabs .tab { font-weight: 700; font-size: 24px; line-height: 26px; color: var(--gray); transition: .2s; padding: 0; }
.tabs .tab:hover { color: var(--ink); }
.arrows { display: flex; gap: 16px; }
.arrow { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(26, 26, 37, .06); transition: .2s; }
.arrow:hover { background: var(--green); }
.arrow:hover svg { stroke: #fff; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat { display: flex; flex-direction: column; height: 240px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s; }
.cat:hover { box-shadow: 0 8px 28px rgba(26, 26, 37, .1); }
.cat__img { flex: 0 0 179px; background-size: cover; background-position: center; border-bottom: 1px solid var(--line-soft); }
.cat__name { flex: 1; display: flex; align-items: center; padding: 0 20px; font-weight: 700; font-size: 16px; line-height: 21px; }
.cat-cta { position: relative; grid-column: span 3; display: grid; place-items: center; height: 240px; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; color: #fff; font-weight: 700; font-size: 16px; }
.cat-cta::before { content: ''; position: absolute; inset: 0; background: rgba(0, 150, 0, .82); }
.cat-cta span { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.cat-cta:hover::before { background: rgba(0, 128, 0, .9); }

.hits-viewport { margin-right: -40px; overflow: hidden; }
.hits-viewport .grid { width: max-content; }

/* о компании */
.about { display: grid; grid-template-columns: 668px 1fr; gap: 120px; align-items: center; height: 725px; }
.about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.about h2 { font-family: 'Inter Tight', 'Inter', sans-serif; font-weight: 800; font-size: 34.89px; line-height: 42px; color: var(--brand); }
.about p { font-size: 16px; line-height: 24px; }
.about hr { width: 100%; border: 0; height: 1px; background: var(--line-soft); }
.stats { display: flex; gap: 40px; width: 100%; }
.stats > div { display: flex; flex-direction: column; gap: 5px; padding-right: 40px; border-right: 1px solid var(--line-soft); }
.stats > div:last-child { border: 0; }
.stats b { font-size: 32px; line-height: 35px; color: var(--green); font-weight: 700; }
.stats span { font-size: 14px; color: var(--gray); }
.about__map { position: relative; height: 725px; overflow: hidden; }
.map { position: absolute; left: 0; top: 0; width: 1321px; height: 726px; }
.map > img { width: 1321px; max-width: none; height: 726px; }
.map__lbl { position: absolute; font: 700 18px/20px Arial, sans-serif; color: #222; white-space: nowrap; transform: translate(-0px, 0); }
.map__dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid #fff; box-sizing: content-box; margin: -2px; }

/* преимущества */
.features { display: flex; align-items: flex-end; margin-top: -64px; }
.feat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 30px 24px 40px; background: #fff; border: 1px solid #e5e7ea; text-align: center; }
.feat > img { width: 40px; height: 40px; }
.feat h3 { font-size: 16px; line-height: 21px; }
.feat p { font-size: 14px; line-height: 20px; color: var(--text); }
.feat--active { background: var(--green); border-color: var(--green); color: #fff; }
.feat--active p { color: #fff; }
.feat--active .btn { width: 292px; }
.feat .inv { filter: none; }

/* CTA */
.cta { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 348px; padding: 48px; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; color: #fff; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 128, 0, .9) 0%, rgba(0, 128, 0, .7) 50%, rgba(0, 128, 0, .3) 100%); }
.cta__body, .cta .btn { position: relative; }
.cta .btn { align-self: flex-start; }
.cta__body { max-width: 629px; display: flex; flex-direction: column; gap: 24px; }
.cta__body span { font-weight: 500; opacity: .7; }
.cta__body h2 { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 48px; line-height: 48px; }
.cta__body p { font-size: 16px; line-height: 24px; }

/* подкатегории (макет «Главная | под категорий») */
.subcat { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(0, 0, 0, .5); }
.subcat[hidden] { display: none; }
.subcat__box { display: grid; grid-template-columns: repeat(3, 322px); gap: 24px; padding: 80px; background: var(--bg); }

/* ---------- футер ---------- */
.footer { margin-top: 40px; background: var(--green-dark); color: #fff; padding: 80px 0 40px; }
.footer__cols { display: grid; grid-template-columns: minmax(0, 372fr) minmax(0, 373fr) minmax(0, 293fr) minmax(0, 322fr); gap: 0 16px; justify-content: start; }
.footer__cols .footer__contacts { margin-left: 0; }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h4 { font-size: 16px; line-height: 21px; font-weight: 500; margin-bottom: 15px; }
.footer__col a { font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .6); transition: .2s; }
.footer__col a:hover { color: #fff; }
.footer__contacts { gap: 0; }
.footer__contacts > a { margin-bottom: 8px; }
.footer .footer__small { font-size: 14px; line-height: 20px; color: #fff; margin-bottom: 28px; margin-top: -4px; }
.footer .footer__mail { margin-top: 0; }
.footer .footer__legal { font-size: 14px; color: #fff; text-decoration: underline; margin-bottom: 8px; }
.footer__line { height: 1px; background: rgba(255, 255, 255, .15); margin: 32px 0; }
.footer__bottom { display: flex; align-items: flex-start; justify-content: space-between; }
.footer__brand { width: 641px; }
.footer__brand p { margin-top: 24px; color: rgba(255, 255, 255, .5); }
.footer__soc { display: flex; gap: 16px; margin-right: auto; }
.footer__soc img { filter: brightness(0) invert(.7); }
.footer__pay { display: flex; align-items: center; gap: 30px; }

/* ---------- шапка страниц (хлебные крошки + заголовок) ---------- */
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); margin-top: 0; }
.crumbs { display: flex; align-items: center; gap: 12px; padding-top: 60px; color: rgba(56, 66, 85, .6); }
.crumbs a:hover { color: var(--green); }
.crumbs__home { display: flex; margin-right: -4px; }
.page-head__row { display: flex; align-items: flex-end; justify-content: space-between; padding: 30px 0 20px; }
.page-head h1, .page-head--product h1 { font-weight: 800; font-size: 38px; line-height: 42px; }
.page-head--product h1 { padding: 30px 0 20px; }
.sort { display: flex; align-items: center; gap: 15px; padding-bottom: 0; }
.sort__item { display: inline-flex; align-items: center; gap: 2px; color: var(--text); }
.sort__item.is-active { font-weight: 700; }
.sort__item:hover { color: var(--green); }

/* ---------- каталог ---------- */
.catalog { display: flex; gap: 24px; padding-top: 40px; padding-bottom: 40px; align-items: flex-start; }
.filters { flex: 0 0 322px; width: 322px; min-width: 0; max-width: 322px; }
.filters__title { font-size: 14px; line-height: 17px; color: var(--text); padding-bottom: 16px; border-bottom: 1px solid #111; margin-bottom: 16px; }
.tree { margin-bottom: 0; }
.tree__row { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 6px 8px 0; color: var(--text); }
.tree__row a { flex: 1; }
.tree__row.is-active > a { color: var(--green); text-decoration: underline; }
.tree__row:hover > a { color: var(--green); }
.tree__row--l2 { padding-left: 24px; }
.tree__row--l3 { padding-left: 48px; }
.chev { flex: 0 0 24px; margin-right: -2px; }
.filters__block { margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(26, 26, 37, .15); }
.filters__block > .filters__title { border: 0; padding: 0; margin-bottom: 12px; color: var(--ink); }
.filters__block--last { padding-top: 32px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--text); cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check i { position: relative; width: 12px; height: 12px; border: 1px solid var(--gray); border-radius: 2px; background: #fff; flex: none; }
.check input:checked + i { background: var(--lime); border-color: var(--lime); }
.check input:checked + i::after { content: ''; position: absolute; left: 3px; top: 0; width: 3px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.range-inputs { display: flex; align-items: center; gap: 12px; }
.range-inputs input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: inherit; font-size: 12px; color: var(--text); }
.range-inputs span { width: 12px; height: 1px; background: var(--gray); flex: none; }
.range { position: relative; height: 12px; margin: 18px 0 0; }
.range::before { content: ''; position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; background: var(--green); }
.range i { position: absolute; top: 0; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--green); background: #fff; box-sizing: border-box; }
.range i:first-child { left: 0; }
.range i:last-child { right: 0; }
.filters .btn--outline-green { height: 39px; padding: 0 20px; }
.catalog__main { flex: 1; min-width: 0; }
.more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 32px; }
.more__btn { color: var(--green); font-weight: 700; }
.pager { display: flex; align-items: center; gap: 6px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 4px; color: var(--green); font-weight: 700; }
.pager span { color: var(--gray); font-weight: 400; }
.pager a.is-active { background: #fff; color: var(--ink); }

/* ---------- страница товара ---------- */
.product { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.p-top { display: flex; gap: 80px; align-items: flex-start; }
.p-gallery { flex: 0 0 577px; display: flex; flex-direction: column; gap: 24px; }
.p-gallery__main { width: 577px; height: 577px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.p-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.p-gallery__thumbs { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.thumb { width: 70px; height: 70px; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.thumb.is-active { border-color: var(--green); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-arrow { display: grid; place-items: center; width: 11px; height: 29px; }
.p-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; position: relative; }
.p-info > hr { border: 0; height: 1px; background: var(--gray); opacity: .6; }
.p-info__head { display: flex; justify-content: space-between; align-items: flex-start; }
.p-brand { width: 162px; height: 57px; object-fit: contain; }
.p-flags { display: flex; gap: 12px; }
.p-flags > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.p-flags b { font-weight: 900; font-size: 11px; line-height: 13px; }
.p-cols { display: flex; gap: 24px; }
.p-meta { flex: 0 0 340px; display: flex; flex-direction: column; gap: 20px; }
.p-meta__acts { display: flex; gap: 30px; }
.link-ico { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.link-ico:hover { color: var(--green); }
.p-props { display: flex; flex-direction: column; gap: 4px; }
.p-props > div { display: flex; gap: 6px; }
.p-props dt { color: var(--gray); }
.p-all { color: var(--green); }
.p-all:hover, .p-ship a:hover, .p-install:hover { text-decoration: underline; }
.p-buy { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.p-buy__box { display: flex; flex-direction: column; gap: 6px; padding: 30px 20px 20px; background: var(--bg); border-radius: 6px; }
.p-price { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 14px; }
.p-price b { font-size: 24px; line-height: 29px; }
.p-price s { color: var(--gray); font-size: 15px; }
.p-buy__row { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 20px; height: 20px; border: 1px solid var(--gray); border-radius: 50%; display: grid; place-items: center; font-size: 14px; line-height: 1; color: var(--text); }
.qty span { width: 28px; text-align: center; color: var(--gray); }
.p-buy__row .btn { flex: 1; height: 38px; font-size: 14px; }
.p-install { color: var(--green); font-weight: 700; font-size: 12px; line-height: 15px; }
.p-soc { display: flex; justify-content: center; gap: 16px; }
.p-ship { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 30px; background: var(--bg); border-radius: 6px; font-size: 12px; line-height: 16px; color: var(--text); }
.p-ship__col { display: flex; gap: 10px; }
.p-ship__col svg { flex: none; margin-top: 3px; }
.p-ship a { color: var(--green); }
.tip { position: absolute; left: 36%; top: 6px; width: 140px; padding: 14px 12px; background: #fff; border-radius: 6px; box-shadow: 0 6px 20px rgba(26, 26, 37, .18); font-size: 12px; line-height: 16px; }
.tip button { position: absolute; right: 8px; top: 6px; color: var(--gray); font-size: 11px; }

/* аккордеоны */
.acc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.acc__head { display: flex; align-items: center; justify-content: space-between; }
.acc__head h2 { font-size: 24px; line-height: 26px; }
.acc__toggle { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--green); flex: none; }
.acc__toggle::before { content: ''; position: absolute; left: 11px; top: 11px; width: 8px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); transition: .2s; }
.acc.is-open .acc__toggle::before { transform: rotate(-135deg) translate(-1px, -1px); }
.acc__body { display: none; margin-top: 24px; }
.acc.is-open .acc__body { display: block; }
.acc.is-open .acc__body.reviews { display: flex; }
.text h4 { font-size: 16px; line-height: 21px; margin: 24px 0 16px; }
.text h4:first-child { margin-top: 0; }
.text p { font-size: 18px; line-height: 27px; margin-bottom: 20px; }
.slider { position: relative; margin: 24px -24px 0; overflow: hidden; height: 530px; }
.slider__track { display: flex; gap: 24px; height: 100%; transition: transform .4s; }
.slide { flex: 0 0 auto; background-size: cover; background-position: center; border-radius: 8px; }
.slide:nth-child(2) { width: 930px; }
.slide:not(:nth-child(2)) { width: 465px; }
.slider__btn { position: absolute; top: 50%; margin-top: -25px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(26, 26, 37, .15); }
.slider__btn--prev { left: 245px; }
.slider__btn--next { right: 245px; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
.specs td { padding: 15px 24px; border-bottom: 1px solid var(--line-soft); width: 50%; }
.specs tr:last-child td { border-bottom: 0; }
.specs tr:nth-child(even) td { background: #fafafa; }
.specs td:first-child { border-right: 1px solid var(--line-soft); }

/* отзывы */
.reviews { display: flex; gap: 60px; align-items: flex-start; }
.reviews__list { flex: 1; display: flex; flex-direction: column; gap: 56px; }
.review { display: flex; gap: 12px; }
.review__ava { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #d9dce3; }
.review__main { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 21px; color: var(--text); }
.review__main h5 { font-size: 14px; line-height: 17px; display: inline; color: var(--ink); }
.review__main time { font-size: 11px; color: var(--gray); margin-top: -4px; }
.review__rates { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 11px; line-height: 14px; margin: 2px 0; }
.review__rates span { display: inline-flex; align-items: center; gap: 4px; }
.stars { display: inline-flex; gap: 1px; }
.stars img { width: 10px; height: 10px; }
.stars--input img { width: 14px; height: 14px; filter: grayscale(1) opacity(.5); cursor: pointer; }
.stars--input img:hover { filter: none; }
.review__reply { margin-top: 20px; padding-left: 40px; }
.review__reply b { display: block; margin-bottom: 4px; color: var(--ink); }
.reviews__sum { flex: 0 0 360px; display: flex; flex-direction: column; gap: 24px; padding-top: 20px; }
.reviews__avg { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 8px; }
.reviews__avg b { font-size: 24px; line-height: 29px; grid-row: span 2; }
.reviews__avg small { color: var(--gray); font-size: 11px; }
.reviews__dist { display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.reviews__dist li { display: flex; align-items: center; gap: 12px; }
.reviews__sum .btn { align-self: flex-start; height: 34px; }
.rform { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.rform h3 { font-size: 24px; line-height: 26px; }
.rform__rates { display: flex; gap: 28px; font-size: 12px; }
.rform__rates span { display: inline-flex; align-items: center; gap: 6px; }
.rform__grid { display: grid; grid-template-columns: 480px 1fr; gap: 30px; align-items: start; }
.rform__fields { display: flex; flex-direction: column; gap: 14px; }
.rform label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.rform input[type=text], .rform input[type=tel], .rform input[type=email], .rform textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; background: #fff; outline: none; }
.rform input:focus, .rform textarea:focus { border-color: var(--green); }
.rform textarea { resize: vertical; min-height: 120px; }
.rform__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rform__note { font-size: 11px; line-height: 14px; color: var(--gray); max-width: 250px; margin-top: 62px; }
.captcha { display: flex; align-items: center; justify-content: space-between; width: 300px; height: 74px; padding: 0 12px; background: #f9f9f9; border: 1px solid #d3d3d3; border-radius: 3px; }
.captcha label { flex-direction: row; align-items: center; gap: 12px; font-size: 13px; }
.captcha input { width: 24px; height: 24px; }
.captcha img { width: 60px; height: auto; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-cta { grid-column: span 2; }
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero__promo { min-height: 420px; }
  .about { grid-template-columns: 1fr; height: auto; gap: 40px; }
  .features { flex-wrap: wrap; margin-top: 0; }
  .feat { flex: 1 1 45%; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__cols .footer__contacts { margin-left: 0; }
  .catalog { flex-direction: column; }
  .filters { flex-basis: auto; width: 100%; }
  .p-top, .p-cols, .reviews, .rform__grid { flex-direction: column; grid-template-columns: 1fr; }
  .p-gallery, .p-gallery__main { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 1; }
  .header__nav-left .nav, .header__call, .socials { display: none; }
  .hero__body h1 { font-size: 34px; line-height: 38px; }
}
