:root {
  --green: #1b8a3e;
  --green-hover: #157a35;
  --green-soft: #eaf6ee;
  --ink: #1b1e22;
  --muted: #5b636b;
  --line: #e7e9eb;
  --bg: #f5f6f4;
  --white: #fff;
  --dark: #16181c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 24, 28, 0.08);
  --header-h: 78px;
  --container: 1180px;
  --font: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1, h2, h3 {
  margin: 0 0 0.45em;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 10000;
  background: var(--green);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: var(--green-hover);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline {
  background: #fff;
  color: var(--green);
  border: 1px solid var(--green);
}

.btn--outline:hover {
  background: var(--green-soft);
}

.btn--lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #8ddea6;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.section-head__text {
  color: var(--muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-bar {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 58px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.logo--footer img {
  height: 72px;
  width: auto;
  max-width: none;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 6px 10px;
}

.region-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: var(--bg);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

.region-btn:hover {
  background: var(--green-soft);
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 4px;
  margin-left: 8px;
}

.nav__link {
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--green);
}

.nav__drop {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.nav__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}

.nav__drop:hover .nav__menu,
.nav__drop:focus-within .nav__menu,
.nav__drop.is-open .nav__menu {
  display: block;
}

.nav__menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav__menu a:hover {
  background: var(--green-soft);
  color: var(--green);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.header__actions .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.header__hours {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
  text-align: right;
}

.header__phone {
  font-weight: 800;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--green);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 11px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  color: #fff;
  padding-top: 20px;
}

.hero__frame {
  position: relative;
}

.hero__slider {
  position: relative;
  overflow: hidden;
  height: min(42vh, 380px);
  border-radius: 18px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: #1a1c18 center / cover no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 12, 0.72) 0%, rgba(10, 12, 12, 0.38) 55%, rgba(10, 12, 12, 0.2) 100%);
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 48px;
}

.hero h1,
.hero h2 {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 12px;
}

.hero h2.hero__title--long {
  font-size: clamp(20px, 2.4vw, 28px);
  max-width: 22ch;
  letter-spacing: 0.01em;
}

.hero__lead {
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
}

.hero__content .btn {
  min-width: 180px;
}

.hero__controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}

.hero__arrow svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hero__arrow--prev {
  left: 18px;
}

.hero__arrow--next {
  right: 18px;
}

.hero__arrow:hover {
  background: none;
  color: #c8f0d2;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.hero__dot {
  width: 42px;
  height: 3px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.hero__dot.is-active {
  background: var(--green);
  width: 42px;
  border-radius: 2px;
}

.utp {
  padding: 28px 0 8px;
  background: transparent;
}

.utp__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
  position: relative;
  z-index: 3;
}

.utp__card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 14px;
  box-shadow: var(--shadow);
  border: 1px solid #fff;
  color: inherit;
  text-decoration: none;
}

a.utp__card:hover {
  border-color: var(--green);
}

.utp__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
}

.utp__card h3 {
  font-size: 16px;
  color: var(--green);
  margin: 0;
}

.utp__card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.utp--scroll {
  padding: 0 0 18px;
}

.utp--scroll .utp__grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  margin-top: 0;
}

.utp--scroll .utp__card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
}

@media (max-width: 760px) {
  .utp--scroll {
    padding: 0 0 12px;
  }

  .utp--scroll .utp__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .utp--scroll .utp__card {
    flex: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 8px 4px;
    min-width: 0;
    box-shadow: none;
  }

  .utp--scroll .utp__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .utp--scroll .utp__icon svg {
    width: 18px;
    height: 18px;
  }

  .utp--scroll .utp__card h3 {
    font-size: 11px;
    line-height: 1.2;
    margin: 0;
  }

  .utp--scroll .utp__card p {
    display: none;
  }
}

.catalog {
  padding: 28px 0 48px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border-radius: 14px;
  min-height: 150px;
  padding: 20px 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cat-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cat-card::after {
  display: none;
}

.cat-card span {
  position: static;
  left: auto;
  bottom: auto;
  z-index: 1;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-shadow: none;
  color: var(--ink);
}

.cat-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.cat-card:hover img {
  transform: scale(1.06);
}

.company {
  padding: 56px 0 8px;
}

.company__text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.company__text h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.3;
}

.company__text h2:not(:first-of-type) {
  font-size: 22px;
  margin: 28px 0 12px;
}

.company__text p {
  margin: 0 0 1em;
}

.company__text p:last-child {
  margin-bottom: 0;
}

.company__text ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.company__text li {
  margin: 0 0 0.4em;
}

.faq {
  padding: 48px 0 80px;
  background: var(--white);
}

.faq__list {
  display: grid;
  gap: 10px;
}

.faq .section-head {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq__item summary:hover {
  color: var(--green);
}

.faq__item p {
  padding: 0 22px 18px;
  color: var(--muted);
  margin: 0;
}

.faq__item a {
  color: var(--green);
  font-weight: 700;
}

.footer {
  background: var(--dark);
  color: #c5cbc7;
  padding: 48px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2b2f34;
}

.footer h3 {
  color: #fff;
  font-size: 16px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  font-size: 13px;
}

.region-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.region-modal.is-open {
  display: flex;
}

.region-modal__box {
  width: min(100%, 520px);
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}

.region-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
}

.region-search input {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 16px;
}

.region-example {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 22px;
}

.region-example button {
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.region-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.region-list button {
  border: 0;
  background: none;
  padding: 4px 0;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
}

.region-list button:hover,
.region-list button.is-current {
  color: var(--green);
  font-weight: 700;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1240px) {
  .logo img {
    height: 50px;
  }

  .nav__link {
    padding: 8px 8px;
  }
}

@media (max-width: 1100px) {
  .header__phone,
  .header__hours {
    display: none;
  }

  .utp__grid,
  .catalog__grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1020px) {
  .burger {
    display: block;
    margin-left: 8px;
  }

  .header__actions .btn {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__drop {
    display: block;
    align-self: auto;
  }

  .nav__menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
  }

  .nav__menu::before {
    content: none;
  }

  .nav__drop.is-open .nav__menu {
    display: block;
  }

  .hero__slider {
    height: min(38vh, 320px);
  }

  .hero__content {
    padding: 0 40px 36px;
  }

  .hero__arrow--prev {
    left: 6px;
  }

  .hero__arrow--next {
    right: 6px;
  }

  .utp__grid {
    margin-top: 16px;
    grid-template-columns: 1fr;
  }

  .catalog,
  .faq {
    padding: 48px 0;
  }

  .catalog__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .cat-card {
    min-height: 130px;
    padding: 16px 10px 14px;
    gap: 10px;
  }

  .cat-card img {
    width: 56px;
    height: 56px;
  }

  .cat-card span {
    font-size: 13px;
  }

  .footer__bottom {
    display: grid;
  }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 560px) {
  .logo img {
    height: 46px;
  }

  .hero h1,
  .hero h2 {
    font-size: 22px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .region-list {
    grid-template-columns: 1fr;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
  }
}

.cat-page {
  padding: 28px 0 64px;
  background: var(--bg);
}

.cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  margin: 0 0 8px;
}

.cat-title__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.cat-subs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.cat-sub {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--ink);
}

.cat-sub img {
  width: 56px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
  grid-row: 1 / span 2;
}

.cat-sub span {
  font-weight: 700;
  font-size: 14px;
}

.cat-sub small {
  color: var(--muted);
  font-size: 12px;
}

.cat-sub.is-active,
.cat-sub:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.cat-layout {
  display: grid;
  gap: 16px;
}

.cat-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 8px;
}

.cat-seo {
  margin-top: 28px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.cat-seo h2 {
  margin: 1.4em 0 0.6em;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
}

.cat-seo h2:first-child {
  margin-top: 0;
}

.cat-seo p,
.cat-seo ul,
.cat-seo ol {
  margin: 0 0 1em;
}

.cat-seo p:last-child,
.cat-seo ul:last-child,
.cat-seo ol:last-child {
  margin-bottom: 0;
}

.cat-seo li {
  margin: 0 0 0.4em;
}

.cat-seo strong {
  color: var(--ink);
}

@media (max-width: 760px) {
  .cat-seo {
    margin-top: 20px;
    padding: 20px 16px;
    font-size: 15px;
  }

  .cat-seo h2 {
    font-size: 19px;
  }
}

.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.cat-sort {
  margin-left: auto;
}

.cat-sort select,
.cat-filters select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.cat-selectall {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 10px;
}

.p-list {
  display: grid;
}

.p-row {
  display: grid;
  grid-template-columns: 28px 72px 1fr 170px 180px;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.p-row[hidden] {
  display: none;
}

.p-row__check input {
  width: 16px;
  height: 16px;
}

.p-row img {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}

.p-row__info h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.p-row__info h3 a:hover {
  color: var(--green);
}

.p-row__photo {
  display: block;
  width: 72px;
}

.p-row__info p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.p-row__stock {
  color: var(--green) !important;
  font-weight: 600;
  margin-top: 4px !important;
}

.p-row__qty span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  width: 118px;
}

.stepper button {
  width: 32px;
  height: 34px;
  border: 0;
  background: var(--bg);
  cursor: pointer;
}

.stepper input {
  width: 54px;
  border: 0;
  text-align: center;
  height: 34px;
}

.p-row__bar {
  display: contents;
}

.p-row__buy {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.p-row__sum {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.p-row__price {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.p-row__m2 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
  text-align: right;
}

.p-row__buy .btn {
  min-height: 40px;
}

@media (max-width: 1100px) {
  .cat-subs {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-row {
    display: grid;
    grid-template-columns: 24px 56px 1fr;
    grid-template-areas:
      "check photo info"
      "bar bar bar";
    gap: 10px 8px;
    align-items: center;
  }

  .p-row__check {
    grid-area: check;
  }

  .p-row__photo,
  .p-row > img {
    grid-area: photo;
    width: 56px;
  }

  .p-row__photo img,
  .p-row img {
    width: 56px;
    height: 42px;
  }

  .p-row__info {
    grid-area: info;
    min-width: 0;
  }

  .p-row__bar {
    display: flex;
    grid-area: bar;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .p-row__qty {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .p-row__qty span {
    display: none;
  }

  .p-row__buy {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .p-row__sum {
    min-width: 0;
  }

  .p-row__price {
    text-align: right;
    white-space: nowrap;
    font-size: 13px;
    margin: 0;
  }

  .p-row__m2 {
    font-size: 11px;
  }

  .p-row__buy .btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0 12px;
    min-height: 34px;
    font-size: 13px;
  }

  .stepper {
    width: 96px;
    flex-shrink: 0;
  }
}

@media (max-width: 560px) {
  .cat-subs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .cat-sub {
    grid-template-columns: 44px 1fr;
    padding: 8px 10px;
    column-gap: 8px;
  }

  .cat-sub img {
    width: 44px;
    height: 40px;
  }
  }

  .cat-sub span {
    font-size: 13px;
  }

  .cat-title {
    font-size: 24px;
  }

  .p-row {
    column-gap: 8px;
  }

  .p-row__bar {
    gap: 6px;
  }

  .stepper {
    width: 84px;
  }

  .stepper button {
    width: 26px;
    height: 32px;
  }

  .stepper input {
    width: 32px;
    height: 32px;
  }

  .p-row__price {
    font-size: 12px;
  }

  .p-row__buy .btn {
    min-height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }
}

.info-page {
  padding: 28px 0 80px;
  background: var(--bg);
}

.info-card + .info-card {
  margin-top: 16px;
}

.info-grid + .info-card {
  margin-top: 16px;
}

.info-card .info-grid {
  margin-top: 0;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 32px;
}

.info-card p {
  margin: 0 0 1em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 561px) {
  .info-grid > .info-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.info-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}

.info-tile h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.info-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--ink);
}

.info-section-title {
  margin: 28px 0 0;
  font-size: 22px;
  color: var(--ink);
}

.info-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.info-tile p + p {
  margin-top: 0.85em;
}

.info-tile ul,
.info-tile ol {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.info-tile li {
  margin: 0 0 0.35em;
}

.info-tile a {
  color: var(--green);
}

.info-cta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-btn:hover {
  background: var(--green-soft);
  color: var(--green-hover);
}

.cart-btn__count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.cart-btn__count[hidden] {
  display: none;
}

body.cart-open {
  overflow: hidden;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.4);
  display: none;
}

.cart-drawer.is-open {
  display: block;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(22, 24, 28, 0.16);
  animation: cartIn 0.28s ease;
}

@keyframes cartIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  margin: 0;
  font-size: 22px;
}

.cart-drawer__close {
  border: 0;
  background: none;
  font-size: 32px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}

.cart-drawer__empty {
  margin: 0;
  padding: 28px 20px;
  color: var(--muted);
}

.cart-drawer__empty a {
  color: var(--green);
  font-weight: 700;
}

.cart-drawer__list {
  flex: 1;
  overflow: auto;
  padding: 8px 20px 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item__info h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.cart-item__info p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.cart-item__unit {
  margin-top: 4px;
}

.cart-item__m2 {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.cart-item__remove {
  border: 0;
  background: none;
  color: #999;
  font-size: 22px;
  cursor: pointer;
  height: 24px;
  line-height: 1;
}

.cart-drawer__footer {
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  margin-bottom: 8px;
}

.cart-drawer__hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}

.cart-form {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.cart-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.cart-drawer__thanks {
  margin: 10px 0 0;
  color: var(--green);
  font-weight: 700;
}

.product-page {
  padding: 28px 0 80px;
  background: var(--bg);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(240px, 0.9fr) 300px;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.product-hero__photo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-hero__photo img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.product-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}

.product-field b {
  color: var(--ink);
}

.product-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-chips button {
  min-width: 72px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.product-chips button.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.product-chars h2 {
  margin: 8px 0 12px;
  font-size: 16px;
}

.product-chars dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.product-chars dl div {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.product-chars dt {
  color: var(--muted);
}

.product-chars dt::after {
  content: " —";
}

.product-chars dd {
  margin: 0;
  font-weight: 700;
}

.product-chars__more {
  margin-top: 12px;
  border: 0;
  background: none;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.product-buy {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px 16px;
  background: #fbfcfb;
  align-self: start;
}

.product-buy__qtylabel {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.product-buy__stepper {
  width: 100%;
  margin-bottom: 14px;
}

.product-buy__stepper input {
  flex: 1;
  width: auto;
}

.product-buy__price {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
}

.product-buy__unit {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.product-buy__m2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.product-buy__stock {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.product-buy__stock::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
}

.product-buy__oneclick {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.product-buy__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.product-bottom {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  margin-top: 22px;
}

.product-tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 24px 24px;
}

.product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.product-tabs__nav button {
  border: 0;
  background: none;
  padding: 14px 0 12px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.product-tabs__nav button.is-active {
  color: var(--ink);
  border-bottom-color: var(--green);
}

.product-tabs__panel {
  display: none;
  color: var(--muted);
  line-height: 1.7;
}

.product-tabs__panel.is-active {
  display: block;
}

.product-tabs__panel a {
  color: var(--green);
  font-weight: 700;
}

.spec-table {
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.spec-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 8px;
  font-size: 15px;
}

.spec-row span {
  color: var(--muted);
}

.spec-row i {
  border-bottom: 1px dotted #cfd3d6;
  height: 0.7em;
}

.spec-row b {
  font-weight: 800;
  color: var(--ink);
}

.product-help {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  align-self: start;
}

.product-help__icon {
  display: inline-flex;
  color: var(--green);
  margin-bottom: 8px;
}

.product-help h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.product-help p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

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

  .product-buy {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

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

  .product-buy {
    max-width: none;
  }
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.2fr);
  gap: 16px;
  align-items: stretch;
}

.contacts-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 22px;
}

.contacts-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contacts-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.contacts-list__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contacts-list p {
  margin: 0;
  line-height: 1.45;
}

.contacts-list__label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px !important;
}

.contacts-list a {
  font-weight: 800;
}

.contacts-list a:hover {
  color: var(--green);
}

.contacts-map {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
}

.contacts-map > ymaps,
.contacts-map iframe {
  display: block;
  width: 100% !important;
}

.contacts-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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