:root {
  color-scheme: light;
  --ink: #1f2725;
  --muted: #61706b;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dce5df;
  --green: #246b57;
  --green-dark: #164838;
  --coral: #d45d4c;
  --gold: #e4bb5f;
  --sky: #d8edf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
footer,
.contact-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-logo {
  display: block;
  width: 210px;
  height: auto;
  max-width: 100%;
}

.footer-logo { display: block; width: 160px; height: auto; }

.store-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
}
.store-profile-button svg { width: 22px; height: 22px; }
.store-profile-button:hover { background: #edf3f1; }
.store-profile-button:focus-visible { outline: 2px solid #258b7d; outline-offset: 2px; }
@media (max-width: 700px) {
  .store-profile-button { display: none; }
}

@media (max-width: 680px) {
  .brand-logo { width: 165px; }
  .site-header .brand { min-width: 0; flex: 0 1 165px; }
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
}

.nav {
  gap: clamp(14px, 4vw, 34px);
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a:hover,
footer a:hover {
  color: var(--green);
}

.header-action,
.button,
.order-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.header-action {
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(34px, 6vw, 80px) clamp(18px, 6vw, 80px) clamp(28px, 5vw, 58px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-copy p,
.service p,
.order-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  padding: 0 22px;
}

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

.secondary {
  border: 1px solid var(--line);
  background: var(--panel);
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(130deg, rgba(216, 237, 240, 0.9), rgba(255, 255, 255, 0.2)),
    linear-gradient(0deg, #eef4ec, #fff8ef);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(31, 39, 37, 0.12);
}

.shelf {
  position: absolute;
  left: 11%;
  width: 78%;
  height: 18px;
  border-radius: 8px;
  background: var(--green-dark);
}

.shelf::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 5%;
  width: 90%;
  height: 95px;
  background: linear-gradient(180deg, rgba(22, 72, 56, 0.15), rgba(22, 72, 56, 0));
}

.shelf-one {
  top: 38%;
}

.shelf-two {
  top: 69%;
}

.product {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(31, 39, 37, 0.16);
}

.tall {
  left: 17%;
  top: 17%;
  width: 22%;
  height: 21%;
  background: linear-gradient(180deg, var(--coral), #f0a086);
}

.box {
  right: 18%;
  top: 22%;
  width: 28%;
  height: 16%;
  background: linear-gradient(145deg, var(--green), #64a38d);
}

.round {
  left: 30%;
  bottom: 16%;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1bf, var(--gold));
}

.wide {
  right: 14%;
  bottom: 18%;
  width: 32%;
  height: 18%;
  background: linear-gradient(145deg, #f6f1e7, #b7d7d1);
}

.catalog,
.service,
.order,
.contacts {
  padding: clamp(52px, 8vw, 108px) clamp(18px, 6vw, 80px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--sky);
  font-weight: 900;
}

.product-card p,
.steps span,
.form-note,
.contacts span {
  color: var(--muted);
  line-height: 1.6;
}

.service,
.order {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  gap: 8px;
  padding: 22px 22px 22px 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--coral);
  font-weight: 900;
}

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

.order .eyebrow {
  color: var(--gold);
}

.order-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.order-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfaf7;
}

textarea {
  resize: vertical;
}

.order-form button {
  border: 0;
  color: #fff;
  background: var(--coral);
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.contacts {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 720px;
}

.contacts > div:first-child { max-width: 350px; }
.contacts h2 { font-size: 40px; line-height: 1.1; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 116px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: border-color 160ms, box-shadow 160ms;
}
.contact-item:hover { border-color: var(--green); box-shadow: 0 6px 20px #1f27250d; }
.contact-item:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.contact-item .contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 8px;
  color: #246b57;
  background: #e8f3ed;
}
.telegram-contact .contact-icon { color: #1977a3; background: #e6f3fa; }
.instagram-contact .contact-icon { color: #be3e78; background: #fbeaf2; }
.address-contact .contact-icon { color: #b94f3e; background: #fcece7; }
.phone-contact .contact-icon { color: #48534f; background: #eef1f0; }
.contact-item .contact-text { display: grid; gap: 5px; min-width: 0; line-height: 1.4; }
.contact-text small { font-size: 13px; font-weight: 500; color: var(--muted); }
.contact-text strong { font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.contact-item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-item .contact-arrow { flex: 0 0 18px; width: 18px; height: 18px; margin-left: auto; color: var(--muted); }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (max-width: 680px) {
  .contact-list { grid-template-columns: 1fr; }
  .contacts h2 { font-size: 32px; }
}

footer {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-domain { font-size: 14px; line-height: 1.5; }
.cart-icon-button { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; padding: 8px; background: transparent; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); cursor: pointer; }
.cart-icon-button svg { width: 22px; height: 22px; }
.cart-count { position: absolute; right: -6px; top: -6px; min-width: 20px; padding: 2px 4px; background: var(--green); color: white; border-radius: 50%; font-size: 11px; }
.cart-dialog { width: min(740px, 94vw); max-height: 90vh; padding: 28px; border: 0; border-radius: 8px; color: var(--ink); }
.cart-dialog::backdrop { background: #0008; }
.cart-heading, .cart-total { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.cart-heading h2 { font-size: 28px; margin: 0; }
.cart-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-row > img { width: 88px; height: 88px; object-fit: contain; }
.cart-row h3 { font-size: 16px; line-height: 1.4; }
.cart-row p { font-size: 14px; color: var(--muted); }
.quantity-control { display: flex; align-items: center; gap: 8px; }
.quantity-control input { width: 68px; padding: 10px; text-align: center; }
.cart-row-total { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.cart-bottom { padding-top: 24px; }
.cart-total { margin-bottom: 24px; font-size: 22px; }
.cart-bottom > a { width: 100%; }
.cart-bottom .form-note { margin-top: 14px; }
.cart-empty { padding: 48px 0; }
.product-purchase { display: flex; gap: 16px; align-items: flex-end; margin-bottom: 24px; }
.purchase-quantity { font-size: 13px; }
.purchase-quantity input { width: 90px; }
.product-purchase button, .catalog-add { font: inherit; cursor: pointer; border: 0; }
.store-product-wrapper { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.store-product-wrapper > .store-product { border: 0; flex: 1; }
.catalog-add { margin: 0 18px 18px; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:has(>svg) { display: inline-flex; align-items: center; gap: 8px; }
:is(button,a)>svg { display: block; flex-shrink: 0; vertical-align: middle; }
:is(button,a).centered-icon-control { display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; gap: 0 !important; box-sizing: border-box; }
.centered-icon-control svg { display: block; margin: 0 !important; flex-shrink: 0; }
.centered-icon-control[hidden] { display: none !important; }
@media (max-width: 680px) {
  .cart-dialog { padding: 20px; }
  .cart-row { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .cart-row > img { width: 64px; height: 64px; }
  .cart-row-total { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .catalog-add { margin: 0 12px 12px; font-size: 14px; padding: 0 10px; }
  .home-page .site-header .header-action { display: none; }
}

.product-brand-badge { display: flex; align-items: center; min-height: 40px; }
.product-brand-logo { display: block; width: 120px; height: 40px; max-width: 100%; object-fit: contain; object-position: left center; }
#product-status .product-brand-logo { width: 150px; height: 50px; }
[hidden] { display: none !important; }
.store-main { min-height: 70vh; padding: 36px clamp(18px, 4vw, 56px) 64px; }
.store-heading h1 { font-size: 40px; line-height: 1.2; }
.store-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; margin-top: 32px; }
.store-sidebar h2, .results-heading h2, .product-info h2 { font-size: 22px; line-height: 1.3; }
#categories { display: grid; gap: 4px; }
.catalog-filters { display: grid; gap: 18px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.catalog-filters label { font-size: 13px; }
.catalog-filters select { width: 100%; min-width: 0; padding: 10px; font: inherit; border: 1px solid var(--line); border-radius: 4px; background: white; }
.catalog-price-range { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.catalog-price-range input { min-width: 0; padding: 10px; }
.catalog-filters .catalog-stock-filter { display: flex; align-items: center; gap: 10px; }
.catalog-stock-filter input { width: 18px; height: 18px; margin: 0; }
.catalog-filters > button { background: white; border: 1px solid var(--line); border-radius: 4px; padding: 10px; font: inherit; font-size: 13px; cursor: pointer; }
#categories.catalog-tree { display: block; }
.catalog-tree-root, .catalog-tree-branch { list-style: none; padding: 0; margin: 0; }
.catalog-tree-branch { margin-left: 14px; padding-left: 8px; border-left: 1px solid var(--line); }
.catalog-tree-branch[hidden] { display: none; }
.catalog-tree-row { display: flex; align-items: center; }
.catalog-tree-row .category-button { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.catalog-tree-toggle, .catalog-tree-spacer { width: 26px; height: 36px; flex: 0 0 26px; }
.catalog-tree-toggle { border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.catalog-tree-toggle::before { content: ''; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.catalog-tree-toggle[aria-expanded="true"]::before { transform: rotate(135deg); }
.category-button { text-align: left; padding: 12px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.category-button:hover { background: #edf2ef; }
.category-button[aria-pressed="true"] { background: var(--green); color: white; }
.store-search { margin-bottom: 26px; }
.store-search label { font-size: 14px; margin-bottom: 8px; }
.store-search > div { display: flex; gap: 12px; }
.store-search input { background: white; min-width: 0; }
.store-search button { font: inherit; cursor: pointer; }
.results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.results-heading span { color: var(--muted); font-size: 14px; }
.store-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 280px)); gap: 18px; align-items: stretch; }
.store-product-wrapper { width: 100%; max-width: 280px; min-width: 0; }
.store-product { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.store-product:hover { border-color: var(--green); }
.store-product-photo { width: 100%; height: auto; max-height: 220px; aspect-ratio: 1; object-fit: contain; background: white; margin-bottom: 16px; }
.store-product-status { color: var(--coral); font-size: 12px; margin-bottom: 10px; }
.store-product h3 { font-size: 18px; }
.store-product p { color: var(--muted); line-height: 1.5; font-size: 14px; }
.store-product strong { font-size: 16px; margin-top: auto; }
.store-product-link { color: var(--green); margin-top: 18px; font-size: 14px; }
.store-empty { padding: 48px 0; border-top: 1px solid var(--line); }
.store-empty p { color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.breadcrumbs a:hover { color: var(--green); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.product-main-image { display: block; width: 100%; max-width: 480px; aspect-ratio: 1; margin-inline: auto; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 8px; cursor: zoom-in; }
.product-main-image img { width: 100%; height: 100%; object-fit: contain; }
.photo-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.photo-thumbnail { width: 72px; height: 72px; padding: 5px; border: 1px solid var(--line); border-radius: 4px; background: white; cursor: pointer; }
.photo-thumbnail[aria-pressed="true"] { border: 2px solid var(--green); }
.photo-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.product-summary { padding-top: 20px; }
.product-summary h1 { font-size: 36px; line-height: 1.2; }
.product-summary > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.product-summary .product-price { color: var(--ink); font-size: 22px; font-weight: 700; margin: 32px 0 24px; }
.product-call { display: block; margin-top: 18px; color: var(--green); }
.product-stock { display: block; margin: 12px 0 20px; font-size: 14px; line-height: 1.5; }
.stock-available { color: var(--green); }
.stock-unknown { color: var(--muted); }
.stock-empty { color: #b94f3e; }
.store-product .product-stock { margin-bottom: 0; }
.product-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.product-info p { line-height: 1.7; color: var(--muted); }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; }
.photo-dialog { width: min(900px, 94vw); max-height: 92vh; padding: 36px; border: 0; border-radius: 8px; background: white; }
.photo-dialog::backdrop { background: #0009; }
.photo-dialog > img { display: block; width: 100%; max-height: 76vh; object-fit: contain; }
.photo-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; font-size: 28px; border: 0; background: transparent; cursor: pointer; }
button:focus-visible, .store-product:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
@media (max-width: 1100px) { .store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .store-heading h1 { font-size: 30px; }
  .store-layout, .product-detail, .product-info { grid-template-columns: 1fr; gap: 24px; }
  #categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .category-button { font-size: 13px; border: 1px solid var(--line); overflow-wrap: anywhere; }
  .store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .store-product { padding: 12px; }
  .store-product h3 { font-size: 16px; }
  .store-product p { font-size: 13px; }
  .product-summary h1 { font-size: 28px; }
}

.nav { flex-wrap: wrap; }
.nav [aria-current="page"] { color: var(--green); font-weight: 800; }
.project-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 64px clamp(18px, 6vw, 80px); background: #eaf2ee; }
.project-intro > div:first-child { max-width: 700px; }
.project-intro h2 { font-size: 36px; line-height: 1.15; }
.project-intro p, .works-main p { color: var(--muted); line-height: 1.7; }
.project-intro .hero-actions { margin-top: 0; }
.works-heading, .object-types, .portfolio-list { padding: 52px clamp(18px, 6vw, 80px); }
.works-heading { border-bottom: 1px solid var(--line); }
.works-heading h1 { font-size: 64px; line-height: 1.1; }
.works-heading > p:last-child { max-width: 760px; font-size: 19px; }
.back-link { display: inline-block; margin-bottom: 36px; color: var(--green); }
.works-main h2 { font-size: 32px; line-height: 1.2; }
.object-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.object-type-grid article { padding-top: 24px; border-top: 2px solid var(--green); }
.object-number { display: block; margin-bottom: 20px; color: var(--coral); font-size: 14px; font-weight: 800; }
.portfolio-list { border-top: 1px solid var(--line); }
.portfolio-empty { margin: 24px 0 0; }
.completed-project { max-width: 720px; margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.project-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 26px; color: var(--green); font-size: 14px; }
.completed-project h3 { font-size: 28px; }
.completed-project p { margin-bottom: 0; }
.project-services-title { margin: 26px 0 14px; font-size: 16px; }
.project-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.6; }
.project-services li::marker { color: var(--green); }
@media (max-width: 680px) {
  .project-services { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .works-heading h1 { font-size: 40px; }
  .works-main h2, .project-intro h2 { font-size: 28px; }
  .object-type-grid { grid-template-columns: 1fr; }
  .nav { justify-content: flex-start; }
}

@media (max-width: 980px) {
  .hero,
  .service,
  .order {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
    order: 2;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .header-action {
    min-height: 38px;
  }

  .hero-media {
    min-height: 340px;
  }

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

  .section-heading {
    display: block;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.2rem);
  }
}
.catalog-pagination{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;padding:24px 0}.catalog-pagination>span:first-child{margin-right:auto;color:#71808a;font-size:13px}.catalog-pagination button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #dce3e7;border-radius:6px;background:#fff;color:#344d59;cursor:pointer}.catalog-pagination button[aria-current=page]{background:#168b75;border-color:#168b75;color:#fff}.catalog-pagination button:disabled{opacity:.4;cursor:default}.catalog-pagination button:focus-visible{outline:2px solid #168b75;outline-offset:2px}@media(max-width:700px){.catalog-pagination>span:first-child{flex-basis:100%}.catalog-pagination{justify-content:center}}
