/*
  Пакет 1. Изолированный фундамент каталога и карточки.
  Корень: .gdv2. Файл никуда не подключён.
  Откат: удалить assets/css/gdv2.css и assets/js/gdv2.js.
*/

.gdv2 {
  --gdv2-text: #252621;
  --gdv2-muted: #6d706b;
  --gdv2-line: #e6e2dc;
  --gdv2-bg: #f3f1ec;
  --gdv2-surface: #fff;
  --gdv2-soft: #f7f5f1;
  --gdv2-accent: #e94f3d;
  --gdv2-font: "Segoe UI", system-ui, Arial, sans-serif;
  --gdv2-space-1: 4px;
  --gdv2-space-2: 8px;
  --gdv2-space-3: 12px;
  --gdv2-space-4: 16px;
  --gdv2-space-5: 28px;
  --gdv2-radius-s: 12px;
  --gdv2-radius-m: 16px;
  --gdv2-radius-l: 18px;
  --gdv2-radius-xl: 27px;
  --gdv2-text-s: 13px;
  --gdv2-text-m: 15px;
  --gdv2-text-l: 16px;
  --gdv2-title: clamp(30px, 2vw + 24px, 42px);
  --gdv2-display: "Cormorant Garamond", Georgia, serif;
  --gdv2-hit: 44px;
  color: var(--gdv2-text);
  background: var(--gdv2-bg);
  font: var(--gdv2-text-l) / 1.45 var(--gdv2-font);
}

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

.gdv2 .gdv2-title {
  margin: 0;
  color: var(--gdv2-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--gdv2-title);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.gdv2 .gdv2-kicker {
  margin: 0;
  color: var(--gdv2-muted);
  font-size: var(--gdv2-text-s);
  font-weight: 400;
  line-height: 1.4;
}
.gdv2 .gdv2-note {
  margin: var(--gdv2-space-2) 0 0;
  color: var(--gdv2-muted);
  font-size: 14px;
  line-height: 1.4;
}

.gdv2 .gdv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--gdv2-hit);
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gdv2-text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.gdv2 .gdv2-btn:focus-visible {
  outline: 2px solid var(--gdv2-text);
  outline-offset: 3px;
}
.gdv2 .gdv2-btn--go {
  min-height: 49px;
  padding: 0 18px;
  background: var(--gdv2-accent);
  color: #fff;
  font-weight: 600;
}
.gdv2 .gdv2-btn--quiet {
  min-height: var(--gdv2-hit);
  padding: 0 8px;
  color: var(--gdv2-muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gdv2 .gdv2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.gdv2 .gdv2-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--gdv2-radius-l);
  background: var(--gdv2-surface);
  color: inherit;
  text-decoration: none;
}
.gdv2 .gdv2-photo {
  display: flex;
  gap: var(--gdv2-space-1);
  margin: var(--gdv2-space-3) var(--gdv2-space-3) 0;
  padding: 6px 4px 0;
  overflow: hidden;
  aspect-ratio: 143 / 141;
  border-radius: var(--gdv2-radius-s);
  background: var(--gdv2-soft);
}
.gdv2 .gdv2-photo .gdv2-pane {
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}
.gdv2 .gdv2-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.gdv2 .gdv2-photo figcaption {
  margin: 0;
  padding: 1px 0 4px;
  color: var(--gdv2-muted);
  font-size: 9px;
  line-height: 1.3;
  text-align: center;
}
.gdv2 .gdv2-photo--single .gdv2-pane { flex-basis: 100%; }
.gdv2 .gdv2-photo--leaf { position: relative; }
.gdv2 .gdv2-photo--leaf .gdv2-pane {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: var(--gdv2-space-2);
}
.gdv2 .gdv2-card .gdv2-brand {
  display: block;
  margin: var(--gdv2-space-2) var(--gdv2-space-3) 0;
  color: var(--gdv2-muted);
  font-size: 9px;
  line-height: 1.4;
}
.gdv2 .gdv2-card .gdv2-name {
  display: -webkit-box;
  margin: 2px var(--gdv2-space-3) 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.gdv2 .gdv2-card .gdv2-mark {
  display: block;
  margin: 2px var(--gdv2-space-3) 0;
  color: var(--gdv2-muted);
  font-size: 12px;
  line-height: 1.3;
}
.gdv2 .gdv2-card .gdv2-price {
  margin: 6px var(--gdv2-space-3) var(--gdv2-space-4);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
}

.gdv2 .gdv2-layout {
  display: block;
  padding: var(--gdv2-space-3) var(--gdv2-space-4) 40px;
}
.gdv2 .gdv2-filters {
  background: transparent;
}
.gdv2 .gdv2-filters-head,
.gdv2 .gdv2-filters-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gdv2-space-2);
}
.gdv2 .gdv2-group { margin: 0 0 var(--gdv2-space-4); }
.gdv2 .gdv2-group .gdv2-label {
  margin: 0 0 var(--gdv2-space-2);
  font-size: 14px;
  font-weight: 600;
}
.gdv2 .gdv2-chips { display: flex; flex-wrap: wrap; gap: var(--gdv2-space-2); }
.gdv2 .gdv2-chip {
  min-height: 40px;
  padding: 0 var(--gdv2-space-3);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
}
.gdv2 .gdv2-chip.gdv2-is-on {
  background: var(--gdv2-surface);
  box-shadow: inset 0 0 0 1.5px var(--gdv2-text);
}
.gdv2 .gdv2-check {
  display: flex;
  align-items: center;
  min-height: var(--gdv2-hit);
  gap: 6px;
  font-size: 14px;
}

.gdv2 .gdv2-sheet { background: var(--gdv2-surface); }
.gdv2 .gdv2-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--gdv2-surface);
}
.gdv2 .gdv2-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 var(--gdv2-space-2) 0 var(--gdv2-space-3);
  background: var(--gdv2-surface);
}
.gdv2 .gdv2-scroll {
  flex: 1;
  overflow: auto;
  padding: 0 var(--gdv2-space-4) var(--gdv2-space-5);
}
.gdv2 .gdv2-gallery {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gdv2-space-2);
  height: 280px;
  max-height: none;
  margin: 0 0 var(--gdv2-space-2);
  overflow: hidden;
  border-radius: var(--gdv2-radius-m);
  background: var(--gdv2-soft);
}
.gdv2 .gdv2-gallery .gdv2-pane {
  display: flex;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 0;
  margin: 0;
}
.gdv2 .gdv2-gallery img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.gdv2 .gdv2-gallery.gdv2-is-single [data-gdv2-pane="in"] { display: none; }
.gdv2 .gdv2-sides { display: flex; gap: var(--gdv2-space-2); margin: 0 0 var(--gdv2-space-3); }
.gdv2 .gdv2-sides[hidden] { display: none; }
.gdv2 .gdv2-side {
  min-height: var(--gdv2-hit);
  padding: 0 14px;
  border: 1px solid var(--gdv2-line);
  border-radius: 999px;
  background: var(--gdv2-surface);
  color: inherit;
  font: inherit;
  font-size: 14px;
}
.gdv2 .gdv2-side[aria-pressed="true"] {
  border-color: var(--gdv2-text);
  font-weight: 600;
}
.gdv2 .gdv2-swatches { display: flex; flex-wrap: wrap; gap: var(--gdv2-space-2); margin: 0 0 var(--gdv2-space-3); }
.gdv2 .gdv2-swatch {
  min-height: 40px;
  padding: 0 var(--gdv2-space-3);
  border: 0;
  border-radius: 14px;
  background: var(--gdv2-soft);
  color: inherit;
  font: inherit;
  font-size: var(--gdv2-text-s);
}
.gdv2 .gdv2-swatch.gdv2-is-on {
  background: var(--gdv2-surface);
  box-shadow: inset 0 0 0 1.5px var(--gdv2-text);
}
.gdv2 .gdv2-product-title,
#gdSheetTitle,
.gd-sheet-title,
body.gd-product.gdv2-on h1,
body.op-page.gdv2-on h1,
body.pe-page h1.gdv2-product-title,
body.phpHiddenProduct.gdv2-on h1.phpHiddenTitle {
  margin: var(--gdv2-space-1) 0 0;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(30px, 2vw + 24px, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.gdv2 .gdv2-price-line {
  display: flex;
  align-items: baseline;
  gap: var(--gdv2-space-2);
  margin-top: var(--gdv2-space-1);
  font-size: clamp(22px, 1vw + 18px, 26px);
  font-weight: 600;
}
.gdv2 .gdv2-price-line i {
  color: var(--gdv2-muted);
  font-size: var(--gdv2-text-s);
  font-style: normal;
  font-weight: 500;
}
.gdv2 .gdv2-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gdv2-space-2) 14px;
  margin: 0 0 var(--gdv2-space-4);
}
.gdv2 .gdv2-facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.gdv2 .gdv2-facts th,
.gdv2 .gdv2-facts td {
  padding: var(--gdv2-space-2) 0;
  border-top: 1px solid var(--gdv2-line);
  font-weight: 500;
  text-align: left;
  vertical-align: top;
}
.gdv2 .gdv2-facts th {
  width: 46%;
  padding-right: var(--gdv2-space-3);
  color: var(--gdv2-muted);
  font-weight: 400;
}
.gdv2 .gdv2-story { margin: var(--gdv2-space-3) 0 0; }
.gdv2 .gdv2-story .gdv2-label {
  margin: 0 0 6px;
  font-size: var(--gdv2-text-l);
  font-weight: 600;
}
.gdv2 .gdv2-story-text {
  margin: 0;
  color: var(--gdv2-text);
  font-size: var(--gdv2-text-m);
  line-height: 1.45;
}
.gdv2 .gdv2-story-text.gdv2-is-clamped {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.gdv2 .gdv2-sec { border-top: 1px solid var(--gdv2-line); }
.gdv2 .gdv2-sec > .gdv2-sec-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gdv2-space-3);
  width: 100%;
  min-height: var(--gdv2-hit);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--gdv2-text-m);
  font-weight: 600;
  text-align: left;
}
.gdv2 .gdv2-sec > .gdv2-sec-btn::after {
  color: var(--gdv2-muted);
  content: "+";
  font-weight: 500;
}
.gdv2 .gdv2-sec > .gdv2-sec-btn[aria-expanded="true"]::after { content: "–"; }
.gdv2 .gdv2-sec-body { padding: 0 0 var(--gdv2-space-2); }
.gdv2 .gdv2-calc,
.gdv2 .gdv2-try {
  margin: var(--gdv2-space-2) 0 0;
  padding: 10px var(--gdv2-space-3);
  border-radius: var(--gdv2-radius-s);
  background: var(--gdv2-soft);
  color: var(--gdv2-muted);
  font-size: 14px;
}
.gdv2 .gdv2-chat {
  position: absolute;
  z-index: 4;
  right: var(--gdv2-space-3);
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  left: var(--gdv2-space-3);
  display: flex;
  flex-direction: column;
  max-height: min(360px, calc(100% - 160px));
  overflow: hidden;
  border: 1px solid var(--gdv2-line);
  border-radius: var(--gdv2-radius-m);
  background: var(--gdv2-surface);
}
.gdv2 .gdv2-chat[hidden] { display: none; }
.gdv2 .gdv2-chat-bar,
.gdv2 .gdv2-chat-form {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--gdv2-space-2);
  padding: var(--gdv2-space-2) var(--gdv2-space-3);
}
.gdv2 .gdv2-chat-bar { justify-content: space-between; border-bottom: 1px solid var(--gdv2-line); }
.gdv2 .gdv2-chat-log {
  flex: none;
  min-height: 72px;
  max-height: 96px;
  overflow: auto;
  padding: var(--gdv2-space-2) var(--gdv2-space-3);
  font-size: 14px;
  line-height: 1.4;
}
.gdv2 .gdv2-chat-quick {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: var(--gdv2-space-2);
  min-height: 0;
  overflow: auto;
  padding: 0 var(--gdv2-space-3) var(--gdv2-space-2);
}
.gdv2 .gdv2-chat-quick .gdv2-btn {
  border-radius: 14px;
  background: var(--gdv2-soft);
  text-align: left;
}
.gdv2 .gdv2-chat-form input {
  flex: 1;
  min-width: 0;
  min-height: var(--gdv2-hit);
  padding: 0 var(--gdv2-space-3);
  border: 0;
  border-radius: var(--gdv2-radius-s);
  background: var(--gdv2-soft);
  color: inherit;
  font: inherit;
}
.gdv2 .gdv2-dock {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--gdv2-space-3);
  padding: 10px var(--gdv2-space-4) calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--gdv2-line);
  background: var(--gdv2-surface);
}
.gdv2 .gdv2-dock b { font-size: var(--gdv2-text-l); font-weight: 600; }
.gdv2 .gdv2-dock span {
  display: block;
  color: var(--gdv2-muted);
  font-size: 12px;
  line-height: 1.3;
}

@media (max-width: 1023px) {
  .gdv2 .gdv2-filters.gdv2-is-on {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    border-radius: var(--gdv2-radius-xl) var(--gdv2-radius-xl) 0 0;
    background: var(--gdv2-surface);
  }
  .gdv2 .gdv2-gallery {
    position: static;
    height: 280px;
    max-height: none;
  }
  .gdv2 .gdv2-gallery:not(.gdv2-is-single) .gdv2-pane:not(.gdv2-is-on) { display: none; }
}

@media (min-width: 1024px) {
  .gdv2 .gdv2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
  .gdv2 .gdv2-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--gdv2-space-5);
  }
  .gdv2 .gdv2-photo {
    height: 195px;
    aspect-ratio: auto;
  }
  .gdv2 .gdv2-card .gdv2-brand { font-size: 10px; line-height: 15.5px; }
  .gdv2 .gdv2-card .gdv2-name { font-size: 14px; line-height: 20.3px; }
  .gdv2 .gdv2-scroll {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
    gap: var(--gdv2-space-5);
    align-items: start;
    padding: var(--gdv2-space-2) var(--gdv2-space-5) var(--gdv2-space-5);
  }
  .gdv2 .gdv2-gallery {
    position: sticky;
    top: 8px;
    z-index: 1;
    align-self: start;
    grid-column: 1;
    height: calc(min(910px, 100vh - 48px) - 52px - 70px - 44px);
    max-height: calc(min(910px, 100vh - 48px) - 52px - 70px - 44px);
  }
  .gdv2 .gdv2-info { grid-column: 2; }
  .gdv2 .gdv2-sides { display: none; }
  .gdv2 .gdv2-product-title {
    font-size: clamp(30px, 2vw + 24px, 42px);
    font-weight: 500;
    letter-spacing: -0.045em;
  }
  .gdv2 .gdv2-sheet {
    width: min(1160px, calc(100vw - 48px));
    height: min(910px, calc(100vh - 48px));
    margin: 24px auto;
    overflow: hidden;
    border-radius: var(--gdv2-radius-xl);
  }
}

@media (min-width: 1280px) {
  .gdv2 .gdv2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Каталог входных. [hidden] иначе проигрывает display:flex и показывает отложенные карточки. */
.gdv2 .gdv2-card[hidden] { display: none !important; }

.gdv2.gdv2-catalog,
.gdv2.gdv2-catalog .gdv2-grid,
.gdv2.gdv2-catalog .gdv2-card,
.gdv2.gdv2-catalog .gdv2-photo,
.gdv2.gdv2-catalog .gdv2-pane,
.gdv2.gdv2-catalog .gdv2-photo picture,
.gdv2.gdv2-catalog .gdv2-photo img {
  min-width: 0;
  max-width: 100%;
}
.gdv2.gdv2-catalog { background: transparent; }
.gdv2.gdv2-catalog .gdv2-grid { width: 100%; }
.gdv2.gdv2-catalog .gdv2-quick {
  display: flex;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 12px;
  overflow-x: auto;
}
.gdv2.gdv2-catalog .gdv2-quick a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--gdv2-line);
  border-radius: 999px;
  background: var(--gdv2-surface);
  color: var(--gdv2-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.gdv2.gdv2-catalog .gdv2-quick a[aria-current="page"] { border-color: var(--gdv2-text); }
.gdv2.gdv2-catalog .gdv2-card .gdv2-price { font-weight: 600; }
.gdv2.gdv2-catalog .gdv2-mark {
  display: block;
  margin: 2px 12px 0;
  color: var(--gdv2-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}
.gdv2.gdv2-catalog .gdv2-photo .gdv2-pane { min-height: 0; }
.gdv2.gdv2-catalog .gdv2-photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100% - 14px);
  flex: 0 1 auto;
}
.gdv2.gdv2-catalog .gdv2-name,
.gdv2.gdv2-catalog .gdv2-brand,
.gdv2.gdv2-catalog .gdv2-mark { overflow-wrap: anywhere; }
.gdv2.gdv2-catalog .gdv2-help {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: var(--gdv2-radius-l);
  background: var(--gdv2-surface);
}
.gdv2.gdv2-catalog .gdv2-help h2 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}
.gdv2.gdv2-catalog .gdv2-help p { margin: 0; color: var(--gdv2-muted); font-size: 14px; }
.gdv2.gdv2-catalog .gdv2-help div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gdv2.gdv2-catalog .gdv2-help a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--gdv2-text);
  font-size: 14px;
}

.gdv2.gdv2-filters { background: transparent; }
.gdv2.gdv2-filters .filterToggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--gdv2-hit);
  margin: 0 0 8px;
  padding: 0 14px;
  border: 1px solid var(--gdv2-line);
  border-radius: 999px;
  background: var(--gdv2-surface);
  color: var(--gdv2-text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.gdv2.gdv2-filters .filterTitle {
  margin: 0 0 8px;
  color: var(--gdv2-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.gdv2.gdv2-filters .filterLink {
  min-height: 40px;
  color: var(--gdv2-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.gdv2.gdv2-filters .filterLink:focus-visible,
.gdv2.gdv2-filters .filterToggle:focus-visible,
.gdv2.gdv2-filters .ds-drawer-close:focus-visible,
.gdv2.gdv2-filters .ds-drawer-apply:focus-visible,
.gdv2.gdv2-filters .ds-drawer-reset:focus-visible,
.gdv2.gdv2-catalog .gdv2-card:focus-visible {
  outline: 2px solid var(--gdv2-text);
  outline-offset: 3px;
}
.gdv2.gdv2-filters .ds-drawer-head,
.gdv2.gdv2-filters .ds-drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gdv2.gdv2-filters .ds-drawer-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.gdv2.gdv2-filters .ds-drawer-close,
.gdv2.gdv2-filters .ds-drawer-reset {
  min-width: 44px;
  min-height: var(--gdv2-hit);
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--gdv2-muted);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
body.page-catalog-entrance .gdv2.gdv2-filters .filterLink.active {
  /* gd-ds.css: body.gd-ds.page-catalog-entrance .filterLink.active с !important. */
  box-shadow: none !important;
}
.gdv2.gdv2-filters .ds-drawer-apply {
  flex: 1;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  /* gd-ds.css красит эту кнопку акцентом через !important. В каталоге она тёмная. */
  background: var(--gdv2-text) !important;
  border-color: var(--gdv2-text) !important;
  color: #fff !important;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .gdv2.gdv2-filters:not(.is-filters-open) > .filterGroup,
  .gdv2.gdv2-filters:not(.is-filters-open) > .filterExtras,
  .gdv2.gdv2-filters:not(.is-filters-open) > .ds-drawer-head,
  .gdv2.gdv2-filters:not(.is-filters-open) > .ds-drawer-foot { display: none; }
  .gdv2.gdv2-filters.is-filters-open {
    position: fixed;
    z-index: 1100;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100dvh - 64px - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 64px - env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0;
    background: var(--gdv2-surface);
    padding: 8px 16px 12px;
  }
  .gdv2.gdv2-filters.is-filters-open .ds-drawer-foot {
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding-top: 8px;
    background: var(--gdv2-surface);
  }
}
@media (min-width: 1024px) {
  .gdv2.gdv2-catalog .gdv2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gdv2.gdv2-catalog .gdv2-card .gdv2-price { margin: 6px 16px 24px; font-size: 15px; }
  .gdv2.gdv2-catalog .gdv2-mark { margin: 2px 16px 0; }
  .gdv2.gdv2-filters .filterToggle,
  .gdv2.gdv2-filters .ds-drawer-head,
  .gdv2.gdv2-filters .ds-drawer-foot { display: none; }
  .gdv2.gdv2-filters .filterExtras { display: block; }
  .gdv2.gdv2-filters { position: static; max-height: none; overflow: visible; background: transparent; }
}

/* Страница входной двери. Рамка галереи и sticky не относятся к каталогу. */
.gdv2.gdv2-product {
  background: transparent;
  font-size: 15px;
}
.gdv2.gdv2-product .gdv2-product-grid {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gdv2.gdv2-product .gdv2-info-head,
.gdv2.gdv2-product .gdv2-gallery-col,
.gdv2.gdv2-product .gdv2-info,
.gdv2.gdv2-product .gdv2-specs { min-width: 0; max-width: 100%; }
.gdv2.gdv2-product .gdv2-kicker { margin: 0 0 4px; }
.gdv2.gdv2-product .gdv2-product-title {
  overflow-wrap: anywhere;
  max-width: 100%;
}
.gdv2.gdv2-product .gdv2-price-line { margin: 8px 0 12px; }
.gdv2.gdv2-product .gdv2-gallery {
  height: 400px;
  max-height: 400px;
  margin: 0 0 8px;
  padding: 14px;
  border: 1px solid var(--gdv2-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}
.gdv2.gdv2-product .gdv2-gallery .gdv2-pane {
  flex-direction: column;
  gap: 6px;
}
.gdv2.gdv2-product .gdv2-gallery .gdv2-pane { height: 100%; min-height: 0; }
.gdv2.gdv2-product .gdv2-gallery picture {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100% - 18px);
  min-height: 0;
}
.gdv2.gdv2-product .gdv2-gallery img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.gdv2.gdv2-product .gdv2-gallery figcaption {
  flex: none;
  margin: 0;
  background: transparent;
  color: var(--gdv2-muted);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}
.gdv2.gdv2-product .gdv2-side { min-height: 44px; }
.gdv2.gdv2-product .gdv2-actions { margin-top: 12px; }
.gdv2.gdv2-product .gdv2-actions .toWrap { width: auto; margin: 0; }
.gdv2.gdv2-product .toBtn {
  width: auto;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gdv2-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gdv2.gdv2-product .gdv2-note a { color: inherit; }
.gdv2.gdv2-product .gdv2-sec-btn,
.gdv2.gdv2-product .gdv2-story { scroll-margin-bottom: 96px; }
.gdv2.gdv2-product .gdv2-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  box-shadow: none;
}
.gdv2.gdv2-product .gdv2-dock.is-hidden { display: none; }
.gdv2.gdv2-product .gdv2-dock .gdv2-btn--go { min-height: 48px; }
body.pe-page .pe-wrap { padding-bottom: 96px; }
body.pe-page #measure { scroll-margin-top: 72px; scroll-margin-bottom: 96px; }

@media (max-width: 1023px) {
  .gdv2.gdv2-product .gdv2-copy { display: contents; }
  .gdv2.gdv2-product .gdv2-info-head { order: 1; }
  .gdv2.gdv2-product .gdv2-gallery-col { order: 2; }
  .gdv2.gdv2-product .gdv2-info { order: 3; }
  .gdv2.gdv2-product .gdv2-specs { order: 4; }
  .gdv2.gdv2-product .gdv2-gallery {
    position: static;
    top: auto;
    height: 400px;
    max-height: 400px;
  }
}

@media (min-width: 1024px) {
  .gdv2.gdv2-product .gdv2-product-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    column-gap: 28px;
    align-items: stretch;
  }
  .gdv2.gdv2-product .gdv2-gallery-col { grid-column: 1; min-height: 0; }
  .gdv2.gdv2-product .gdv2-copy { grid-column: 2; min-width: 0; }
  .gdv2.gdv2-product .gdv2-gallery {
    position: sticky;
    top: 16px;
    z-index: 1;
    align-self: start;
    height: calc(100vh - 16px - 84px);
    max-height: 760px;
  }
  .gdv2.gdv2-product .gdv2-gallery:not(.gdv2-is-single) .gdv2-pane { display: flex; }
  .gdv2.gdv2-product .gdv2-sides { display: none; }
}

/* Каталог межкомнатных. Не относится к входным, скрытым и стеклянным. */
.gdv2.gdv2-interior .gdv2-card {
  height: 100%;
  border: 1px solid var(--gdv2-line);
  box-shadow: none;
}
.gdv2.gdv2-interior .gdv2-photo {
  background: var(--gdv2-soft);
}
.gdv2.gdv2-interior .gdv2-photo--leaf picture,
.gdv2.gdv2-interior .gdv2-photo--leaf .gdv2-pane {
  width: 100%;
  height: 100%;
}
.gdv2.gdv2-interior .gdv2-photo--leaf picture {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gdv2.gdv2-interior .gdv2-photo--leaf img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.gdv2.gdv2-interior .gdv2-photo-miss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  color: var(--gdv2-muted);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}
.gdv2.gdv2-interior .gdv2-name {
  font-size: 12px;
  font-weight: 500;
  min-height: 2.9em;
  overflow-wrap: anywhere;
}
.gdv2.gdv2-interior .gdv2-price {
  margin-top: auto;
  font-weight: 500;
}
body.page-catalog-unified .gdv2-more {
  min-height: 48px;
  border: 1px solid var(--gdv2-line) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}
body.page-catalog-unified .gdv2.gdv2-filters .filterLink.active {
  background: #fff !important;
  color: var(--gdv2-text) !important;
  box-shadow: inset 3px 0 0 var(--gdv2-text) !important;
}
@media (max-width: 1023px) {
  .gdv2.gdv2-interior .gdv2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  body.page-catalog-unified .gdv2.gdv2-interior { padding-bottom: 88px; }
}
@media (min-width: 1024px) {
  .gdv2.gdv2-interior .gdv2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gdv2.gdv2-interior .gdv2-name { font-size: 14px; }
}

/* Interior product pages. Entrance .gdv2-product and catalog .gdv2-interior stay as they are. */
body.gd-product.gdv2-on,
body.op-page.gdv2-on { background: #fff; }
body.gd-product.gdv2-on .mobileProductSummary,
body.op-page.gdv2-on .mobileProductSummary { display: none !important; }
body.gd-product.gdv2-on .gd-price-card { display: contents !important; }
body.gd-product.gdv2-on .gd-price-card > .cardOffer,
body.gd-product.gdv2-on .gd-price-card > .cardMeta,
body.gd-product.gdv2-on .gd-price-card > .gd-price-final,
body.gd-product.gdv2-on .gd-price-card > .priceNote,
body.gd-product.gdv2-on .gd-price-card > .card {
  order: 40 !important;
}
body.gd-product.gdv2-on .gd-price-card > .gdv2-kitline {
  order: 3 !important;
}
body.gd-product.gdv2-on .gd-price-card > h2,
body.gd-product.gdv2-on .gd-price-card > .gd-price-final,
body.gd-product.gdv2-on .gd-price-card > .gdv2-actions,
body.gd-product.gdv2-on .gd-quote { display: block !important; }
body.gd-product.gdv2-on .gd-price-card > .priceGrid,
body.op-page.gdv2-on .op-prices { display: grid !important; }
body.gd-product.gdv2-on .gd-sticky { display: none !important; }
body.gd-product.gdv2-on .gd-quote__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: #e94f3d;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
body.gd-product.gdv2-on .gd-quote input,
body.gd-product.gdv2-on .gd-quote select,
body.op-page.gdv2-on .gd-quote input,
body.op-page.gdv2-on .gd-quote select,
body.pe-page .gd-quote input,
body.pe-page .gd-quote select {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(28, 28, 28, .18);
  border-radius: 12px;
  background: #fff;
  color: #1c1c1c;
  font: 16px/1.4 "Segoe UI", system-ui, Arial, sans-serif;
}
body.gd-product.gdv2-on .gd-quote textarea,
body.op-page.gdv2-on .gd-quote textarea,
body.pe-page .gd-quote textarea {
  width: 100%;
  min-height: 96px;
  box-sizing: border-box;
  border: 1px solid rgba(28, 28, 28, .18);
  border-radius: 12px;
  font: 16px/1.5 "Segoe UI", system-ui, Arial, sans-serif;
}
body.gd-product.gdv2-on .photoBox,
body.gd-product.gdv2-on .phpHiddenPhoto,
body.op-page.gdv2-on .op-photo {
  background: #fff !important;
  border: 1px solid rgba(28, 28, 28, .14);
  border-radius: 18px;
  box-shadow: none !important;
  padding: 14px;
  box-sizing: border-box;
  width: 100%;
  height: 400px;
  max-height: 400px;
}
body.gd-product.gdv2-on .photoBox {
  min-height: 0 !important;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.gd-product.gdv2-on .photoBox > div[style*="position:absolute"] { display: none !important; }
body.gd-product.gdv2-on .phpHiddenZoom { display: none; }
body.gd-product.gdv2-on .photoBox picture,
body.gd-product.gdv2-on .phpHiddenPhoto picture,
body.op-page.gdv2-on .op-photo picture,
body.op-page.gdv2-on .op-photo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}
body.gd-product.gdv2-on #mainPhoto,
body.gd-product.gdv2-on .photoBox img,
body.op-page.gdv2-on .op-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  background: #fff;
}
body.op-page.gdv2-on .op-photo-frame { height: 100%; min-height: 0; max-height: none; }
body.gd-product.gdv2-on .gdv2-facts,
body.op-page.gdv2-on .gdv2-facts,
body.gd-product.gdv2-on .gdv2-acc table,
body.op-page.gdv2-on .gdv2-acc table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.4;
}
@media (max-width: 1023px) {
  body.gd-product.gdv2-on .gd-stack > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}
body.gd-product.gdv2-on .gdv2-facts th,
body.op-page.gdv2-on .gdv2-facts th {
  text-align: left;
  font-weight: 500;
  color: #555;
  padding: 7px 12px 7px 0;
  width: 42%;
  vertical-align: top;
}
body.gd-product.gdv2-on .gdv2-facts td,
body.op-page.gdv2-on .gdv2-facts td {
  padding: 7px 0;
  color: #1c1c1c;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.gd-product.gdv2-on .desc.is-clamped,
body.gd-product.gdv2-on .phpHiddenLead.is-clamped,
body.op-page.gdv2-on .op-note.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.gd-product.gdv2-on .gdv2-more,
body.op-page.gdv2-on .gdv2-more {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1c1c1c;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.gd-product.gdv2-on .gdv2-specs { margin: 8px 0 24px; }
body.gd-product.gdv2-on .gdv2-acc,
body.op-page.gdv2-on .gdv2-acc {
  border-top: 1px solid rgba(28, 28, 28, .12);
  background: #fff;
}
body.gd-product.gdv2-on .gdv2-acc:last-child,
body.op-page.gdv2-on .gdv2-acc:last-child { border-bottom: 1px solid rgba(28, 28, 28, .12); }
body.gd-product.gdv2-on .gdv2-acc summary,
body.op-page.gdv2-on .gdv2-acc summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
body.gd-product.gdv2-on .gdv2-acc summary::-webkit-details-marker,
body.op-page.gdv2-on .gdv2-acc summary::-webkit-details-marker { display: none; }
body.gd-product.gdv2-on .gdv2-acc summary::after,
body.op-page.gdv2-on .gdv2-acc summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #1c1c1c;
  border-bottom: 1.5px solid #1c1c1c;
  transform: rotate(45deg);
}
body.gd-product.gdv2-on .gdv2-acc[open] summary::after,
body.op-page.gdv2-on .gdv2-acc[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
body.gd-product.gdv2-on .gdv2-acc table,
body.op-page.gdv2-on .gdv2-acc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px;
  font-size: 15px;
}
body.gd-product.gdv2-on .gdv2-acc th,
body.op-page.gdv2-on .gdv2-acc th {
  text-align: left;
  font-weight: 500;
  color: #555;
  width: 46%;
  padding: 8px 12px 8px 0;
  vertical-align: top;
}
body.gd-product.gdv2-on .gdv2-acc td,
body.op-page.gdv2-on .gdv2-acc td { padding: 8px 0; color: #1c1c1c; }
body.gd-product.gdv2-on .variant.active,
body.gd-product.gdv2-on .matrixColorBtn.active,
body.gd-product.gdv2-on .matrixGlassBtn.active,
body.gd-product.gdv2-on .phpHiddenThumb.is-active,
body.op-page.gdv2-on .op-edge.is-active,
body.op-page.gdv2-on .op-dd-item.is-active {
  outline: 2px solid #1c1c1c;
  outline-offset: 2px;
}
body.gd-product.gdv2-on .variant,
body.gd-product.gdv2-on .matrixColorBtn,
body.gd-product.gdv2-on .matrixGlassBtn,
body.gd-product.gdv2-on .phpHiddenThumb,
body.op-page.gdv2-on .op-edge,
body.gd-product.gdv2-on .gdv2-dock .gdv2-go,
body.op-page.gdv2-on .gdv2-dock .gdv2-go,
body.gd-product.gdv2-on .gd-quote__go,
body.gd-product.gdv2-on .phpHiddenBtn {
  min-height: 48px;
  box-sizing: border-box;
}
body.gd-product.gdv2-on a:focus-visible,
body.gd-product.gdv2-on button:focus-visible,
body.gd-product.gdv2-on summary:focus-visible,
body.op-page.gdv2-on a:focus-visible,
body.op-page.gdv2-on button:focus-visible,
body.op-page.gdv2-on summary:focus-visible {
  outline: 2px solid #1c1c1c;
  outline-offset: 3px;
}
body.gd-product.gdv2-on .gdv2-dock,
body.op-page.gdv2-on .gdv2-dock,
body.pe-page .gdv2-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  transition: transform .2s ease, opacity .2s ease;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid rgba(28, 28, 28, .12);
}
body.gd-product.gdv2-on .gdv2-dock span,
body.op-page.gdv2-on .gdv2-dock span {
  display: block;
  color: #555;
  font-size: 13px;
  font-weight: 500;
}
body.gd-product.gdv2-on .gdv2-dock b,
body.op-page.gdv2-on .gdv2-dock b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}
body.gd-product.gdv2-on .gdv2-dock .gdv2-go,
body.op-page.gdv2-on .gdv2-dock .gdv2-go,
body.pe-page .gdv2-dock .gdv2-btn--go,
body.pe-page .gdv2-actions .gdv2-btn--go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  background: #e94f3d !important;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
body.gd-product.gdv2-on .toBtn,
body.op-page.gdv2-on .toBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--gdv2-line);
  background: transparent !important;
  color: var(--gdv2-text) !important;
  text-decoration: none;
  font-weight: 600;
}
body.gd-product.gdv2-on .gdv2-dock.is-hidden,
body.op-page.gdv2-on .gdv2-dock.is-hidden,
body.pe-page .gdv2.gdv2-product .gdv2-dock.is-hidden {
  display: flex;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
body.gd-product.gdv2-on h1,
body.op-page.gdv2-on h1 {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}
body.gd-product.gdv2-on .gdv2-kitline {
  margin: 8px 0 0;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}
body.phpHiddenProduct.gdv2-on .phpHiddenSpecs { display: none !important; }
body.phpHiddenProduct.gdv2-on .phpHiddenPhoto,
body.phpHiddenProduct.gdv2-on .photoBox.phpHiddenPhoto {
  background: #fff !important;
  border: 1px solid rgba(28, 28, 28, .14) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  padding: 14px !important;
}
body.phpHiddenProduct.gdv2-on .phpHiddenPhoto,
body.phpHiddenProduct.gdv2-on .photoBox.phpHiddenPhoto {
  width: 100%;
  box-sizing: border-box;
}
body.phpHiddenProduct.gdv2-on .phpHiddenPhoto img,
body.phpHiddenProduct.gdv2-on .phpHiddenPhoto #mainPhoto,
body.phpHiddenProduct.gdv2-on .phpHiddenPhoto.is-showing-interior img,
body.phpHiddenProduct.gdv2-on .phpHiddenPhoto.is-showing-interior #mainPhoto {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
body.phpHiddenProduct.gdv2-on .phpHiddenThumbs {
  display: flex;
  gap: 8px;
  margin: 8px 0 0;
}
body.phpHiddenProduct.gdv2-on .phpHiddenThumb {
  flex: 0 0 72px;
  height: 64px;
  min-height: 0;
  padding: 4px;
  border: 1px solid rgba(28, 28, 28, .14);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
body.phpHiddenProduct.gdv2-on .phpHiddenThumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.op-page.gdv2-on .op-layout > main {
  display: flex;
  flex-direction: column;
}
body.op-page.gdv2-on .op-layout > main > .op-tag { order: 1 !important; }
body.op-page.gdv2-on .op-layout > main > h1 { order: 2 !important; }
body.op-page.gdv2-on .op-prices,
body.op-page.gdv2-on .op-layout > main > .gd-price-final { order: 3 !important; }
body.op-page.gdv2-on .op-layout > main > .gdv2-facts { order: 5 !important; }
body.op-page.gdv2-on .op-promo,
body.op-page.gdv2-on .op-choice { order: 6 !important; }
body.op-page.gdv2-on .op-cta { order: 7 !important; }
body.op-page.gdv2-on .toWrap { order: 8 !important; }
body.op-page.gdv2-on .op-layout > main > .op-note,
body.op-page.gdv2-on .gdv2-more { order: 9 !important; }
body.op-page.gdv2-on .gdv2-specs { order: 12 !important; }
body.op-page.gdv2-on .op-measure { order: 20 !important; }
@media (max-width: 767px) {
  body.gd-product.gdv2-on .gd-stack .layout,
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div,
  body.gd-product.gdv2-on .gd-exec-card,
  body.phpHiddenProduct.gdv2-on .gd-exec-card {
    min-width: 0;
    max-width: 100%;
  }
  body.gd-product.gdv2-on .gd-price-card > h2,
  body.gd-product.gdv2-on .priceBox .priceNote,
  body.gd-product.gdv2-on .gd-price-final,
  body.gd-ds.gd-product.gdv2-on .gd-quote__title,
  body.gd-ds.gd-product.gdv2-on .gd-quote__lead,
  body.gd-product.gdv2-on .gd-quote__title,
  body.gd-product.gdv2-on .gd-quote__lead,
  body.gd-product.gdv2-on .gd-quote__call { display: none !important; }
  body.gd-ds.gd-product.gdv2-on .gd-quote,
  body.gd-product.gdv2-on .gd-quote {
    display: block !important;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  body.gd-product.gdv2-on .priceGrid,
  body.op-page.gdv2-on .op-prices {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
  }
  body.gd-product.gdv2-on .priceGrid--single {
    grid-template-columns: minmax(0, max-content) !important;
    width: max-content;
    max-width: 100%;
  }
  body.gd-product.gdv2-on .priceBox,
  body.op-page.gdv2-on .op-price {
    margin: 0;
    min-height: 0;
    padding: 8px 10px;
    border: 1px solid rgba(28, 28, 28, .12);
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
  }
  body.gd-product.gdv2-on .priceLabel,
  body.op-page.gdv2-on .op-price span {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
  }
  body.gd-product.gdv2-on .priceValue,
  body.op-page.gdv2-on .op-price b {
    font-size: clamp(22px, 1vw + 18px, 26px);
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
  }
  body.gd-product.gdv2-on .gdv2-kitline {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
  }
  body.gd-product.gdv2-on .variants {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    -webkit-overflow-scrolling: touch;
  }
  body.gd-product.gdv2-on .variant {
    flex: 0 0 168px;
    width: 168px;
    max-width: calc(100% - 36px);
    height: auto;
    min-height: 44px;
    max-height: none;
    scroll-snap-align: start;
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(28, 28, 28, .18) !important;
    border-radius: 14px;
    background: #fff;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
  }
  body.gd-product.gdv2-on .variant > div { min-width: 0; }
  body.gd-product.gdv2-on .variantTitle { font-size: 14px; font-weight: 600; line-height: 1.25; }
  body.gd-product.gdv2-on .variantText { font-size: 12px; line-height: 1.3; margin-top: 2px; }
  body.gd-product.gdv2-on .variant.active {
    border-color: #1c1c1c !important;
    outline: none !important;
    box-shadow: none !important;
    background: #fff;
  }
  body.gd-product.gdv2-on .variant picture,
  body.gd-product.gdv2-on .variant img {
    width: 72px !important;
    height: 96px !important;
    max-width: 72px !important;
    max-height: 96px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }
  body.gd-product.gdv2-on .variantTitle,
  body.gd-product.gdv2-on .variantText {
    overflow-wrap: anywhere;
  }
  body.gd-product.gdv2-on .variantText {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.op-page.gdv2-on .op-layout {
    display: flex !important;
    flex-direction: column;
  }
  body.op-page.gdv2-on .op-photo,
  body.op-page.gdv2-on .op-photo-frame {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1;
  }
  body.op-page.gdv2-on .op-photo {
    height: 400px;
    max-height: 400px;
    box-sizing: border-box;
  }
  body.op-page.gdv2-on .op-photo-frame {
    height: 100%;
    max-height: none;
  }
  body.op-page.gdv2-on .op-photo img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
  }
  body.phpHiddenProduct.gdv2-on .phpHiddenPrice {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(28, 28, 28, .12);
    border-radius: 14px;
  }
  body.phpHiddenProduct.gdv2-on .phpHiddenPrice__label {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }
  body.phpHiddenProduct.gdv2-on .phpHiddenPrice__value { font-size: 22px; font-weight: 600; line-height: 1.15; }
  body.phpHiddenProduct.gdv2-on .phpHiddenPrice__note,
  body.phpHiddenProduct.gdv2-on .phpHiddenPrice__alt {
    flex-basis: 100%;
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.4;
  }
  body.phpHiddenProduct.gdv2-on .phpHiddenKit {
    margin: 6px 0 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
  }
  body.phpHiddenProduct.gdv2-on .phpHiddenKit__title {
    display: inline;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
  }
  body.phpHiddenProduct.gdv2-on .phpHiddenKit__title::after { content: ": "; }
  body.phpHiddenProduct.gdv2-on .phpHiddenKit__list { display: inline; margin: 0; padding: 0; list-style: none; }
  body.phpHiddenProduct.gdv2-on .phpHiddenKit__list li { display: inline; padding-left: 0; }
  body.phpHiddenProduct.gdv2-on .phpHiddenKit__list li::before { content: none; }
  body.phpHiddenProduct.gdv2-on .phpHiddenKit__list li:not(:last-child)::after { content: ", "; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.gd-product.gdv2-on .priceGrid,
  body.op-page.gdv2-on .op-prices {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body.gd-product.gdv2-on .priceGrid--single {
    grid-template-columns: minmax(0, max-content) !important;
    width: max-content;
    max-width: 100%;
  }
  body.gd-product.gdv2-on .variants {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  body.gd-product.gdv2-on .variant {
    width: auto;
    max-width: none;
    flex: none;
    height: auto;
    max-height: 140px;
  }
}
@media (min-width: 768px) {
  body.gd-product.gdv2-on .gdv2-kitline { display: none; }
}
@media (max-width: 991px) {
  body.gd-product.gdv2-on .section--u-igre3lyju,
  body.op-page.gdv2-on .section--u-igre3lyju {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  body.gd-product.gdv2-on .container--u-ipohw2etj:not(.container--fixed-clone),
  body.op-page.gdv2-on .container--u-ipohw2etj:not(.container--fixed-clone) {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    grid-template-rows: 56px !important;
    align-items: center;
    width: 100% !important;
    max-width: none !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 40;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
  }
  body.gd-product.gdv2-on .container--fixed-clone,
  body.op-page.gdv2-on .container--fixed-clone,
  body.gd-product.gdv2-on .div--u-ip9s4a51c,
  body.op-page.gdv2-on .div--u-ip9s4a51c,
  body.gd-product.gdv2-on .mobile-header-mini,
  body.op-page.gdv2-on .mobile-header-mini,
  body.gd-product.gdv2-on .site-search-icon,
  body.op-page.gdv2-on .site-search-icon,
  body.gd-product.gdv2-on .div--u-ivjojqes0,
  body.op-page.gdv2-on .div--u-ivjojqes0 { display: none !important; }
  body.gd-product.gdv2-on .side-panel > .side-panel__button-open,
  body.op-page.gdv2-on .side-panel > .side-panel__button-open { display: none !important; }
  body.gd-product.gdv2-on #ipohw2etj_0 > button.side-panel__button-open,
  body.op-page.gdv2-on #ipohw2etj_0 > button.side-panel__button-open {
    grid-column: 1;
    grid-row: 1;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    justify-self: center;
    align-self: center;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 12px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
  }
  body.gd-product.gdv2-on #ipohw2etj_0 > button.side-panel__button-open::before,
  body.op-page.gdv2-on #ipohw2etj_0 > button.side-panel__button-open::before { content: none !important; }
  body.gd-product.gdv2-on .side-panel__icon--open,
  body.op-page.gdv2-on .side-panel__icon--open { display: flex !important; }
  body.gd-product.gdv2-on .side-panel__icon--open svg rect,
  body.op-page.gdv2-on .side-panel__icon--open svg rect { fill: #1c1c1c; }
  body.gd-product.gdv2-on .div--u-i4r46zlmg,
  body.op-page.gdv2-on .div--u-i4r46zlmg {
    grid-column: 2;
    grid-row: 1;
    position: relative !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    justify-content: center !important;
  }
  body.gd-product.gdv2-on .text--u-i1fu49eny,
  body.op-page.gdv2-on .text--u-i1fu49eny,
  body.gd-product.gdv2-on .text--u-i1fu49eny .text-block-wrap-div,
  body.op-page.gdv2-on .text--u-i1fu49eny .text-block-wrap-div {
    font-size: 16px !important;
    line-height: 56px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  body.gd-product.gdv2-on .div--u-iez70y914,
  body.op-page.gdv2-on .div--u-iez70y914 {
    grid-column: 3;
    grid-row: 1;
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    max-width: 44px !important;
    height: 56px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }
  body.gd-product.gdv2-on .link-universal--u-iubx4z6cl,
  body.op-page.gdv2-on .link-universal--u-iubx4z6cl {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px !important;
    height: 44px !important;
    color: #1c1c1c;
  }
  body.gd-product.gdv2-on .link-universal--u-iubx4z6cl::before,
  body.op-page.gdv2-on .link-universal--u-iubx4z6cl::before {
    content: "";
    width: 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cpath fill='black' d='M22.142 15.623H17.441a3.013 3.013 0 0 0-2.3.6 1.986 1.986 0 0 0-.548 1.413 8.34 8.34 0 0 1-7.226-7.225 1.984 1.984 0 0 0 1.414-.548 3.018 3.018 0 0 0 .6-2.3v-4.7a3.018 3.018 0 0 0-.6-2.3A2.008 2.008 0 0 0 7.296.01H3.129A3.128 3.128 0 0 0 .004 3.135v4.166A17.727 17.727 0 0 0 17.708 25h4.167A3.128 3.128 0 0 0 25 21.876v-4.168a2.007 2.007 0 0 0-.554-1.484 3.029 3.029 0 0 0-2.304-.601z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cpath fill='black' d='M22.142 15.623H17.441a3.013 3.013 0 0 0-2.3.6 1.986 1.986 0 0 0-.548 1.413 8.34 8.34 0 0 1-7.226-7.225 1.984 1.984 0 0 0 1.414-.548 3.018 3.018 0 0 0 .6-2.3v-4.7a3.018 3.018 0 0 0-.6-2.3A2.008 2.008 0 0 0 7.296.01H3.129A3.128 3.128 0 0 0 .004 3.135v4.166A17.727 17.727 0 0 0 17.708 25h4.167A3.128 3.128 0 0 0 25 21.876v-4.168a2.007 2.007 0 0 0-.554-1.484 3.029 3.029 0 0 0-2.304-.601z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  body.gd-product.gdv2-on .text--u-i7kq4zg36,
  body.op-page.gdv2-on .text--u-i7kq4zg36 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
  }
}
@media (min-width: 992px) {
  body.gd-product.gdv2-on #ipohw2etj_0 > button.side-panel__button-open,
  body.op-page.gdv2-on #ipohw2etj_0 > button.side-panel__button-open { display: none !important; }
}
@media (max-width: 1023px) {
  body.gd-product.gdv2-on .wrap,
  body.op-page.gdv2-on .op-wrap { padding-bottom: 108px; }
  body.gd-product.gdv2-on .photoCol,
  body.gd-product.gdv2-on .layout > div:first-child,
  body.op-page.gdv2-on .op-photo,
  body.phpHiddenProduct.gdv2-on .phpHiddenPhotoCol {
    position: relative !important;
    top: auto !important;
  }
  body.gd-product.gdv2-on .gd-stack { display: flex; flex-direction: column; }
  body.gd-product.gdv2-on .gd-stack > .layout,
  body.ds-pilot.gd-product.gdv2-on .gd-stack > .layout { display: contents !important; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div,
  body.ds-pilot.gd-product.gdv2-on .gd-stack .layout > .photoCol + div { display: contents; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > *,
  body.ds-pilot.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > * { order: 30 !important; }
  body.gd-product.gdv2-on .gd-price-card > * { order: 10 !important; }
  body.gd-product.gdv2-on .gd-price-card > h2,
  body.gd-product.gdv2-on .gd-price-card > .priceGrid,
  body.gd-product.gdv2-on .gd-price-card > .gdv2-kitline { order: 3 !important; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > .kicker { order: 1 !important; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > h1,
  body.ds-pilot.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > h1 { order: 2 !important; }
  body.gd-product.gdv2-on .gd-stack .photoCol { order: 4 !important; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > .gdv2-facts { order: 5 !important; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > .gd-exec-card { order: 6 !important; }
  body.gd-product.gdv2-on .gd-price-card > .gdv2-actions,
  body.gd-product.gdv2-on .gd-price-card > .gd-quote { order: 7 !important; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > .toWrap { order: 8 !important; }
  body.gd-product.gdv2-on .desc,
  body.gd-product.gdv2-on .gdv2-more { order: 9 !important; }
  body.phpHiddenProduct.gdv2-on .phpHiddenLayout {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  body.phpHiddenProduct.gdv2-on .phpHiddenPhoto,
  body.phpHiddenProduct.gdv2-on .photoBox.phpHiddenPhoto {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
  }
  body.phpHiddenProduct.gdv2-on .phpHiddenPhotoCol,
  body.phpHiddenProduct.gdv2-on .phpHiddenInfo { display: contents !important; }
  body.phpHiddenProduct.gdv2-on .phpHiddenInfo > * { order: 30 !important; }
  body.phpHiddenProduct.gdv2-on .phpHiddenEyebrow { order: 1 !important; }
  body.phpHiddenProduct.gdv2-on .phpHiddenTitle { order: 2 !important; }
  body.phpHiddenProduct.gdv2-on .phpHiddenPrice,
  body.phpHiddenProduct.gdv2-on .phpHiddenKit { order: 3 !important; }
  body.phpHiddenProduct.gdv2-on .phpHiddenPhoto,
  body.phpHiddenProduct.gdv2-on .phpHiddenThumbs { order: 4 !important; }
  body.phpHiddenProduct.gdv2-on .gdv2-facts { order: 5 !important; }
  body.phpHiddenProduct.gdv2-on .phpHiddenActions { order: 7 !important; }
  body.phpHiddenProduct.gdv2-on .toWrap { order: 8 !important; }
  body.phpHiddenProduct.gdv2-on .phpHiddenLead,
  body.phpHiddenProduct.gdv2-on .gdv2-more { order: 9 !important; }
  body.op-page.gdv2-on .op-layout {
    display: flex !important;
    flex-direction: column;
  }
  body.op-page.gdv2-on .op-layout > main { display: contents !important; }
  body.op-page.gdv2-on .op-photo { order: 4 !important; width: 100% !important; max-width: 100% !important; }
  body.op-page.gdv2-on .op-layout { grid-template-columns: minmax(0, 1fr) !important; width: 100% !important; }
}
@media (min-width: 1024px) {
  body.gd-product.gdv2-on .gdv2-dock,
  body.op-page.gdv2-on .gdv2-dock,
  body.pe-page .gdv2-dock { display: none; }
  body.gd-product.gdv2-on .layout,
  body.phpHiddenProduct.gdv2-on .phpHiddenLayout {
    display: grid !important;
    grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr) !important;
    gap: 28px !important;
    align-items: start !important;
  }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div,
  body.phpHiddenProduct.gdv2-on .phpHiddenInfo {
    display: flex !important;
    flex-direction: column;
  }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > * { order: 30; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > .kicker { order: 1; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > h1,
  body.ds-pilot.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > h1 { order: 2; }
  body.gd-product.gdv2-on .gd-price-card > .priceGrid,
  body.gd-product.gdv2-on .gd-price-card > h2 { order: 3; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > .gdv2-facts { order: 5; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > .gd-exec-card { order: 6; }
  body.gd-product.gdv2-on .gd-price-card > .gdv2-actions,
  body.gd-product.gdv2-on .gd-price-card > .gd-quote { order: 7; }
  body.gd-product.gdv2-on .gd-stack .layout > .photoCol + div > .toWrap { order: 8; }
  body.gd-product.gdv2-on .desc,
  body.gd-product.gdv2-on .gdv2-more { order: 9; }
  body.phpHiddenProduct.gdv2-on .phpHiddenInfo > * { order: 30; }
  body.phpHiddenProduct.gdv2-on .phpHiddenEyebrow { order: 1; }
  body.phpHiddenProduct.gdv2-on .phpHiddenTitle { order: 2; }
  body.phpHiddenProduct.gdv2-on .phpHiddenPrice,
  body.phpHiddenProduct.gdv2-on .phpHiddenKit { order: 3; }
  body.phpHiddenProduct.gdv2-on .gdv2-facts { order: 5; }
  body.phpHiddenProduct.gdv2-on .phpHiddenActions { order: 7; }
  body.phpHiddenProduct.gdv2-on .toWrap { order: 8; }
  body.phpHiddenProduct.gdv2-on .phpHiddenLead,
  body.phpHiddenProduct.gdv2-on .gdv2-more { order: 9; }
  body.gd-product.gdv2-on .photoCol,
  body.phpHiddenProduct.gd-product.gdv2-on .phpHiddenPhotoCol,
  body.gd-product.gdv2-on .phpHiddenPhotoCol,
  body.op-page.gdv2-on .op-photo {
    position: sticky !important;
    top: 16px !important;
    align-self: start !important;
  }
  body.gd-product.gdv2-on .photoBox,
  body.op-page.gdv2-on .op-photo,
  body.op-page.gdv2-on .op-photo-frame {
    height: calc(100vh - 16px - 84px);
    max-height: 760px;
  }
  body.op-page.gdv2-on .op-photo-frame {
    height: 100%;
    max-height: none;
  }
  body.phpHiddenProduct.gdv2-on .phpHiddenPhoto,
  body.phpHiddenProduct.gdv2-on .photoBox.phpHiddenPhoto {
    width: 100%;
    height: calc(100vh - 16px - 84px) !important;
    max-height: 760px !important;
  }
}

/* Карточка: только товарный док. Общая нижняя навигация остаётся у каталогов. */
@media (max-width: 991px) {
  body.gd-product .mob-bottom-bar,
  body.op-page .mob-bottom-bar,
  body.pe-page .mob-bottom-bar,
  body.gd-sheet-open .mob-bottom-bar {
    display: none;
  }
  body.page-catalog-entrance #ip9s4a51c_0,
  body.page-catalog-unified #ip9s4a51c_0 {
    display: none;
  }
}

/* Одна ширина каталожной сетки на посадочных одного типа. */
@media (max-width: 1023px) {
  body.page-catalog-unified .wrap,
  body.page-catalog-unified.ds-pilot .wrap,
  body.interiorLanding.page-catalog-unified .wrap,
  body.page-catalog-entrance .wrap,
  body.agatLanding.page-catalog-entrance .wrap,
  body.centurionLanding.page-catalog-entrance .wrap,
  body.edLanding.page-catalog-entrance .wrap,
  body.tdLanding.page-catalog-entrance .wrap,
  body.adLanding.page-catalog-entrance .wrap {
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
  body.page-catalog-unified .unifiedLayout,
  body.page-catalog-entrance .unifiedLayout,
  body.agatLanding .unifiedLayout,
  body.centurionLanding .unifiedLayout,
  body.edLanding .unifiedLayout,
  body.tdLanding .unifiedLayout,
  body.adLanding .unifiedLayout {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
  }
  body.page-catalog-unified .unifiedMain,
  body.page-catalog-entrance .unifiedMain,
  body.page-catalog-unified .gdv2.gdv2-interior,
  body.page-catalog-unified .gdv2.gdv2-catalog,
  body.page-catalog-entrance .gdv2.gdv2-catalog {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  body.page-catalog-unified .gdv2-grid,
  body.page-catalog-entrance .gdv2-grid {
    width: 100%;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.page-catalog-unified .gdv2-photo,
  body.page-catalog-entrance .gdv2-photo {
    box-sizing: border-box;
    width: auto;
    margin: 8px 8px 0;
    padding: 8px;
    aspect-ratio: 143 / 141;
  }
  body.page-catalog-unified .gdv2-photo img,
  body.page-catalog-entrance .gdv2-photo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }
  body.page-catalog-entrance .gdv2.gdv2-catalog .gdv2-photo .gdv2-pane {
    flex: 1 1 0;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
  }
  body.page-catalog-entrance .gdv2.gdv2-catalog .gdv2-photo .gdv2-pane picture {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 0;
  }
  body.page-catalog-entrance .gdv2.gdv2-catalog .gdv2-photo img {
    flex: 1 1 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }
  body.phpHiddenProduct.gd-product .phpHiddenLayout {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 1024px) {
  body.page-catalog-unified .wrap,
  body.page-catalog-unified.ds-pilot .wrap,
  body.interiorLanding.page-catalog-unified .wrap,
  body.page-catalog-entrance .wrap,
  body.agatLanding.page-catalog-entrance .wrap,
  body.centurionLanding.page-catalog-entrance .wrap,
  body.edLanding.page-catalog-entrance .wrap,
  body.tdLanding.page-catalog-entrance .wrap,
  body.adLanding.page-catalog-entrance .wrap {
    width: min(1200px, calc(100% - 48px));
    max-width: min(1200px, calc(100% - 48px));
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
  body.page-catalog-unified .unifiedLayout,
  body.page-catalog-entrance .unifiedLayout,
  body.agatLanding .unifiedLayout,
  body.centurionLanding .unifiedLayout,
  body.edLanding .unifiedLayout,
  body.tdLanding .unifiedLayout,
  body.adLanding .unifiedLayout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
  }
  body.page-catalog-unified .unifiedMain,
  body.page-catalog-entrance .unifiedMain {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
