:root {
  --page: #ffffff;
  --surface: #f8f4ee;
  --surface-soft: #fbfaf8;
  --ink: #4e433c;
  --ink-strong: #2e2824;
  --muted: #8a8179;
  --line: #eee9e3;
  --line-strong: #dfd8cf;
  --accent: #9c3f32;
  --sale: #b24334;
  --catalog-font: "Helvetica Neue", Arial, sans-serif;
  --anchor-offset: 236px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--catalog-font);
  font-weight: 300;
  line-height: 1.45;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--catalog-font);
  font-weight: 300;
  color: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 0 clamp(28px, 4.2vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: center;
  color: #5b4d45;
  font-size: 24px;
  letter-spacing: 0;
  font-weight: 300;
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.city-link {
  color: #635750;
  font-size: 16px;
}

.header-link {
  color: #635750;
  font-size: 15px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #6b5d55;
}

.icon-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-trigger {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #5f544d;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.menu-button {
  justify-self: start;
  width: 36px;
  gap: 8px;
}

.menu-button span {
  display: block;
  width: 30px;
  height: 1px;
  background: #6b5d55;
}

.catalog-head {
  display: grid;
  align-content: end;
  min-height: 245px;
  padding: 22px clamp(28px, 4.2vw, 64px) 42px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 110px;
  color: #b8b1ab;
  font-size: 16px;
}

.breadcrumbs a {
  color: #6a5d55;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.catalog-head h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0;
}

.filter-bar {
  position: sticky;
  top: 84px;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 12px clamp(28px, 4.2vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-select,
.sort-button {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 0 15px;
  background: var(--page);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #665a52;
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
}

.filter-select::after,
.sort-button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 12px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.filter-select.active {
  color: var(--ink-strong);
  border-color: #b9afa5;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--page);
}

.search-field span {
  color: var(--muted);
  font-size: 14px;
}

.search-field input {
  width: 190px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 12px;
  padding: 8px clamp(18px, 3.6vw, 50px) 84px;
}

.product-card {
  min-width: 0;
  cursor: pointer;
  outline: 0;
}

.product-card:focus-visible .product-media {
  outline: 1px solid #8d8178;
  outline-offset: 3px;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--surface);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 420ms ease;
}

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

.bookmark-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #8b817a;
}

.bookmark-button svg {
  width: 24px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.product-info {
  display: grid;
  gap: 5px;
  padding-top: 11px;
}

.product-name {
  margin: 0;
  color: #5a4d46;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: 0;
}

.product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-width: 0;
}

.product-price {
  color: #9a362d;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.05;
  white-space: nowrap;
}

.product-old-price {
  color: #a8a09a;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.05;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

.product-note {
  color: #c29b6a;
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.15;
}

.color-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
  color: #5b4d45;
  font-size: 10px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.color-dots {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
}

.color-scale-label,
.color-scale-separator {
  color: #6d625a;
  font-size: 10px;
  font-weight: 300;
}

.color-option {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.swatch {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border: 1px solid #cfc7be;
  border-radius: 50%;
}

.product-info .swatch {
  width: 10px;
  height: 10px;
  border-color: transparent;
}

.swatch[data-color="черный"] {
  background: #171717;
}

.swatch[data-color="чернильно-синий"] {
  background: #172c4f;
}

.swatch[data-color="графит"] {
  background: #55565a;
}

.swatch[data-color="белый"] {
  background: #fff;
}

.swatch[data-color="голубой"] {
  background: #cbdce8;
}

.product-action {
  margin-top: 2px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #6b5d55;
  text-align: left;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 80px 0;
  color: var(--muted);
  text-align: center;
}

.editorial-block,
.info-section,
.request-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(420px, 1.3fr);
  gap: clamp(32px, 7vw, 110px);
  padding: 112px clamp(28px, 6vw, 110px);
  border-top: 1px solid var(--line);
}

.editorial-block[id],
.info-section[id],
.request-panel[id] {
  scroll-margin-top: var(--anchor-offset);
}

.editorial-copy h2,
.info-section h2,
.request-panel h2 {
  max-width: 620px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0;
}

.line-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.line-grid article {
  max-width: 410px;
}

.line-grid span {
  display: block;
  margin-bottom: 22px;
  color: #b49a7c;
  font-size: 13px;
}

.line-grid h3 {
  margin: 0 0 14px;
  color: var(--ink-strong);
  font-size: 24px;
  font-weight: 300;
}

.line-grid p,
.text-columns p,
.order-steps p,
.request-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.size-table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 16px;
  font-weight: 300;
}

th {
  color: var(--muted);
}

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

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

.delivery-columns span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-strong);
}

.contact-list {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.contact-list a {
  color: var(--ink-strong);
  font-size: 26px;
  line-height: 1.2;
}

.contact-list p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
}

.order-steps span {
  display: block;
  margin-bottom: 10px;
  color: #b49a7c;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.request-form label:nth-child(4),
.request-form button,
.form-status {
  grid-column: 1 / -1;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  outline: 0;
  background: transparent;
  color: var(--ink-strong);
  border-radius: 0;
}

.request-form button {
  justify-self: start;
  min-height: 52px;
  margin-top: 10px;
  padding: 0 26px;
  border: 1px solid var(--ink-strong);
  border-radius: 0;
  background: var(--ink-strong);
  color: #fff;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 42px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.product-dialog {
  width: min(560px, 100vw);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--page);
  color: #5f544d;
  font-family: var(--catalog-font);
  overflow: hidden;
}

.product-dialog.product-view {
  width: 100vw;
  height: 100dvh;
  margin: 0;
}

.product-dialog::backdrop {
  background: rgba(47, 42, 38, 0.34);
}

.dialog-close {
  position: absolute;
  top: 44px;
  left: 44px;
  z-index: 4;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0;
}

.dialog-close::before,
.dialog-close::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 1px;
  width: 25px;
  height: 1px;
  background: #6b5d55;
}

.dialog-close::before {
  transform: rotate(45deg);
}

.dialog-close::after {
  transform: rotate(-45deg);
}

.dialog-content {
  height: 100%;
  overflow-y: auto;
}

.product-view .dialog-content {
  background: var(--page);
}

.product-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
  align-items: start;
  min-height: 100%;
}

.product-page-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 86px 12px 46px clamp(22px, 4.2vw, 64px);
  background: #f8f4ee;
}

.product-page-shot {
  margin: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--surface);
}

.product-page-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-page-info {
  position: sticky;
  top: 0;
  display: grid;
  align-content: start;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  padding: 92px 48px 58px;
  background: var(--page);
  border-left: 1px solid var(--line);
}

.product-page-summary {
  display: grid;
  gap: 12px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee9e3;
}

.product-page-summary h2 {
  margin: 0;
  color: #554a43;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.16;
}

.product-gallery-count {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.drawer-shell {
  min-height: 100%;
  padding: 42px 48px 58px;
}

.drawer-header {
  min-height: 38px;
  margin: 0 0 54px 72px;
  display: flex;
  align-items: center;
}

.drawer-header h2 {
  margin: 0;
  color: #554a43;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0;
}

.drawer-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.drawer-gallery img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--surface);
}

.drawer-gallery img:only-child {
  grid-column: 1 / -1;
}

.drawer-product {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 0 0 30px;
  border-bottom: 1px solid #eee9e3;
}

.content-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 92px 28px 120px;
}

.content-page h1 {
  margin: 0 0 44px;
  color: var(--ink-strong);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.04;
}

.content-section {
  display: grid;
  gap: 14px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.content-section h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 24px;
  font-weight: 300;
}

.content-section p,
.content-section li {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.content-section ul {
  margin: 0;
  padding-left: 18px;
}

.drawer-product img {
  width: 98px;
  aspect-ratio: 3 / 4.25;
  object-fit: cover;
  background: var(--surface);
}

.drawer-category {
  margin: 0 0 8px;
  color: #c29b6a;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

.drawer-product h3 {
  margin: 0 0 10px;
  color: #554a43;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.2;
}

.drawer-price-row {
  margin-bottom: 11px;
  color: #9a362d;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.drawer-product .color-scale {
  margin-bottom: 12px;
}

.drawer-size {
  margin: 0;
  color: #8a8179;
  font-size: 13px;
  font-weight: 300;
}

.drawer-options {
  display: grid;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid #eee9e3;
}

.drawer-option-group p {
  margin: 0 0 12px;
  color: #3f3935;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

.drawer-option-group p span {
  color: #8a8179;
  text-transform: none;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dfd8cf;
  border-radius: 0;
  background: #fff;
  color: #5f544d;
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.choice-button.active {
  border-color: #5f544d;
  color: #3f3935;
}

.choice-button[data-option="color"] {
  padding-inline: 10px 13px;
  text-transform: none;
}

.choice-button[data-option="color"].active .swatch {
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #8d7a6d;
}

.size-grid .choice-button {
  min-width: 54px;
}

.drawer-actions {
  display: grid;
  gap: 10px;
}

.drawer-primary-button,
.drawer-secondary-button,
.kit-form button {
  min-height: 48px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
}

.drawer-primary-button,
.kit-form button {
  border: 1px solid #3f3935;
  background: #3f3935;
  color: #fff;
}

.drawer-secondary-button {
  border: 1px solid #dfd8cf;
  background: #fff;
  color: #5f544d;
}

.kit-form button:disabled {
  border-color: #dfd8cf;
  background: #eee9e3;
  color: #9c948d;
  cursor: default;
}

.drawer-action-status,
.kit-form-status {
  min-height: 18px;
  margin: 0;
  color: #c29b6a;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.35;
}

.drawer-sections {
  border-bottom: 1px solid #eee9e3;
}

.drawer-section {
  border-top: 1px solid #eee9e3;
}

.drawer-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  list-style: none;
  cursor: pointer;
  color: #3f3935;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.drawer-section summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1px solid #b9afa5;
  border-bottom: 1px solid #b9afa5;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 180ms ease;
}

.drawer-section[open] summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.drawer-section-body {
  padding: 0 0 28px;
  color: #817a74;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.48;
}

.drawer-section-body p {
  margin: 0 0 18px;
}

.drawer-section-body p:last-child {
  margin-bottom: 0;
}

.drawer-section-body ul {
  margin: 0;
  padding-left: 18px;
}

.drawer-section-body li + li {
  margin-top: 7px;
}

.measurement-table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.measurement-table th,
.measurement-table td {
  padding: 15px 8px;
  border-bottom: 1px solid #eee9e3;
  color: #5f544d;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.25;
}

.measurement-table th:first-child,
.measurement-table td:first-child {
  text-align: left;
}

.measurement-table thead th {
  border-top: 1px solid #6f625a;
  border-bottom: 1px solid #6f625a;
  color: #5f544d;
}

.drawer-help {
  color: #5f544d;
}

.kit-drawer .drawer-header {
  margin-bottom: 42px;
}

.kit-summary {
  padding-bottom: 28px;
  border-bottom: 1px solid #eee9e3;
}

.kit-summary p {
  margin: 0 0 8px;
  color: #554a43;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
}

.kit-summary span,
.kit-empty p {
  color: #817a74;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
}

.kit-empty {
  display: grid;
  gap: 10px;
  padding: 28px 0;
  border-bottom: 1px solid #eee9e3;
}

.kit-empty p {
  margin: 0;
}

.kit-list {
  border-bottom: 1px solid #eee9e3;
}

.kit-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #eee9e3;
}

.kit-item:last-child {
  border-bottom: 0;
}

.kit-item img {
  width: 86px;
  aspect-ratio: 3 / 4.25;
  object-fit: cover;
  background: var(--surface);
}

.kit-item-info h3 {
  margin: 0 0 8px;
  color: #554a43;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
}

.kit-item-info p {
  margin: 0 0 9px;
  color: #817a74;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.25;
}

.kit-item-info > span {
  display: block;
  margin-bottom: 14px;
  color: #9a362d;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.kit-quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.kit-quantity button {
  min-width: 32px;
  height: 32px;
  border: 1px solid #dfd8cf;
  border-radius: 0;
  background: #fff;
  color: #5f544d;
  font-size: 13px;
  font-weight: 300;
}

.kit-quantity span {
  min-width: 18px;
  color: #554a43;
  text-align: center;
  font-size: 13px;
}

.kit-quantity .kit-remove {
  width: auto;
  padding: 0 11px;
}

.kit-form {
  display: grid;
  gap: 18px;
  padding-top: 28px;
}

.kit-form label {
  display: grid;
  gap: 8px;
  color: #8a8179;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.2;
}

.kit-form input,
.kit-form textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #dfd8cf;
  outline: 0;
  background: transparent;
  color: #3f3935;
  font-size: 14px;
  font-weight: 300;
  resize: vertical;
}

@media (max-width: 1200px) {
  :root {
    --anchor-offset: 304px;
  }

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

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .search-field,
  .sort-button {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  :root {
    --anchor-offset: 298px;
  }

  .site-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .brand {
    font-size: 20px;
  }

  .city-link {
    display: none;
  }

  .header-tools {
    gap: 12px;
  }

  .product-dialog.product-view {
    width: 100vw;
  }

  .product-page-shell {
    grid-template-columns: 1fr;
  }

  .product-page-media {
    grid-template-columns: 1fr;
    padding: 78px 14px 18px;
  }

  .product-page-info {
    position: static;
    min-height: auto;
    max-height: none;
    padding: 34px 24px 56px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .filter-bar {
    top: 72px;
    padding: 14px 18px;
  }

  .filter-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-select,
  .sort-button {
    white-space: nowrap;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 12px;
    gap: 28px 8px;
  }

  .product-media img {
    padding: 0;
  }

  .product-price-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .editorial-block,
  .info-section,
  .request-panel,
  .dialog-content {
    grid-template-columns: 1fr;
  }

  .editorial-block,
  .info-section,
  .request-panel {
    padding: 76px 22px;
  }

  .line-grid,
  .text-columns,
  .order-steps,
  .request-form {
    grid-template-columns: 1fr;
  }

  .request-form label:nth-child(4),
  .request-form button,
  .form-status {
    grid-column: auto;
  }

  .dialog-media {
    min-height: 420px;
  }

  .dialog-info {
    padding: 36px 24px;
  }
}

@media (max-width: 520px) {
  .catalog-head {
    min-height: 210px;
    padding-bottom: 34px;
  }

  .breadcrumbs {
    gap: 10px;
    margin-bottom: 62px;
    font-size: 14px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}
