/* Скоуп .ostium-scope. Integration layer в конце — не затирать при обновлении из design-system. */

@font-face {
  font-family: "Graphik LCG";
  src: url("fonts/GraphikLCG-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik LCG";
  src: url("fonts/GraphikLCG-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik LCG";
  src: url("fonts/GraphikLCG-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik LCG";
  src: url("fonts/GraphikLCG-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik LCG";
  src: url("fonts/GraphikLCG-Black.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
.ostium-scope { --orange-50: #fff4ec;
  --orange-100: #f7d2ba;
  --orange-500: #FF8834;
  --orange-600: #c44a0a;
  --orange-700: #9a3a08;

  --ink-300: #b7b1a8;
  --ink-500: #6f6a63;
  --ink-700: #3f3b36;
  --ink-900: #1c1a18;
  --ink-950: #141312;

  --stone-50: #faf8f5;
  --stone-100: #f3efe9;
  --stone-200: #e7e2da;
  --white: #ffffff;
  --line: #ddd6cc;

  --danger: #b42318;

  --color-bg: var(--stone-200);
  --color-bg-elevated: var(--stone-50);
  --color-bg-muted: var(--stone-100);
  --color-bg-inverse: var(--ink-950);
  --color-fg: var(--ink-900);
  --color-fg-muted: var(--ink-500);
  --color-fg-inverse: var(--stone-50);
  --color-accent: var(--orange-500);
  --color-accent-hover: var(--orange-600);
  --color-accent-active: var(--orange-700);
  --color-accent-soft: var(--orange-50);
  --color-border: var(--line);
  --color-ring: var(--orange-600);
  --color-danger: var(--danger);

  --font: "Graphik LCG", Inter, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(36px, 4.2vw, 56px);
  --fs-h1: clamp(28px, 3vw, 40px);
  --fs-h2: clamp(22px, 2.2vw, 28px);
  --fs-h3: 18px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 13px;
  --fs-eyebrow: 11px;

  --lh-display: 1.08;
  --lh-title: 1.12;
  --lh-body: 1.6;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 96px;

  --page: 1200px;
  --gutter: 20px;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-pill: 999px;

  --shadow-card: 0 16px 40px -24px rgba(20, 19, 18, 0.28);
  --shadow-modal: 0 24px 64px -20px rgba(20, 19, 18, 0.4);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 200ms;

  --header-utility: 40px;
  --header-nav: 72px; }
@media (min-width: 768px) {
  .ostium-scope { --gutter: 28px; }
}
@media (min-width: 1024px) {
  .ostium-scope { --gutter: 40px; }
}

.ostium-scope, .ostium-scope *, .ostium-scope *::before, .ostium-scope *::after { box-sizing: border-box; }
.ostium-scope { margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  min-width: 320px; }
.ostium-scope img { max-width: 100%; display: block; }
.ostium-scope dl, .ostium-scope dt, .ostium-scope dd { margin: 0; padding: 0; }
.ostium-scope a { color: var(--color-accent-hover); text-decoration: none; }
.ostium-scope a:hover { color: var(--color-accent-active); }
.ostium-scope :focus-visible { outline: none; }
.ostium-scope .wrap { width: min(var(--page), calc(100% - var(--gutter) * 2));
  margin-inline: auto; }
.ostium-scope .eyebrow { font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  margin: 0 0 12px; }
.ostium-scope h1, .ostium-scope .h1 { font-size: var(--fs-h1);
  font-weight: 700;
  line-height: var(--lh-title);
  letter-spacing: -0.015em;
  margin: 0 0 16px; }
.ostium-scope h2, .ostium-scope .h2 { font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 20px; }
.ostium-scope h3, .ostium-scope .h3 { font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 8px; }
.ostium-scope .lead { font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-700);
  margin: 0; }
.ostium-scope code { font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--color-bg-elevated);
  padding: 0.1em 0.35em;
  border-radius: 3px; }
.ostium-scope .muted { color: var(--color-fg-muted); }
.ostium-scope .small { font-size: var(--fs-small); font-weight: 500; line-height: 1.4; }
.ostium-scope .tabular { font-variant-numeric: tabular-nums; }
.ostium-scope .utility { display: flex;
  align-items: center;
  min-height: var(--header-utility);
  height: auto;
  padding: 7px 0;
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
  line-height: 1.2;
  color: var(--ink-700); }
.ostium-scope .utility .wrap, .ostium-scope .nav .wrap { display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px; }
.ostium-scope .nav .wrap { height: 100%; }
.ostium-scope .utility-cities { display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0; }
.ostium-scope .utility-cities span { white-space: nowrap; }
.ostium-scope .utility-cities b { color: var(--color-fg); font-weight: 600; }
.ostium-scope .utility-cities a { color: inherit; }
.ostium-scope .utility-cities a:hover { color: var(--color-accent-hover); }
.ostium-scope .utility-actions { display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0; }
.ostium-scope .nav-tools .nav-cta { display: none; }
.ostium-scope .nav { height: var(--header-nav);
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20; }
/* Отступ под липкую шапку при переходе по якорю. */
.ostium-scope section[id],
.ostium-scope[id],
.ostium-scope [id="lead-form"],
.ostium-scope [id="site-contacts"] { scroll-margin-top: 92px; }
.ostium-scope .nav-links, .ostium-scope .nav-tools { display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  flex: 1; }
.ostium-scope .nav-tools { justify-content: flex-end; color: var(--ink-700); }
.ostium-scope .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ostium-scope .nav-search {
  display: flex;
  align-items: center;
  min-width: 0;
}
.ostium-scope .nav-search input {
  width: 168px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-fg);
  font: inherit;
  font-size: 13px;
  outline: none;
  box-shadow: none;
}
.ostium-scope .nav-search input:focus,
.ostium-scope .nav-search input:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: var(--color-border);
}
.ostium-scope .nav-search button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--stone-100);
  color: var(--ink-700);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}
.ostium-scope .nav-search button:focus,
.ostium-scope .nav-search button:focus-visible {
  outline: none;
  box-shadow: none;
}
.ostium-scope .nav-search-mobile { display: none; }
.ostium-scope .nav-search-panel { display: none; }
.ostium-scope .nav-links a, .ostium-scope .nav-tools a:not(.btn) { color: var(--color-fg); }
.ostium-scope .nav-links a:hover, .ostium-scope .nav-tools a:not(.btn):hover { color: var(--color-accent-hover); }
.ostium-scope .nav-links a.is-muted { color: var(--ink-500); font-weight: 500; }
.ostium-scope .wordmark { text-align: center;
  line-height: 1;
  flex: none; }
.ostium-scope .wordmark img { height: 40px; width: auto; margin-inline: auto; }
.ostium-scope .wordmark-text { font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em; }
.ostium-scope .wordmark-sub { display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink-500); }
.ostium-scope .btn { display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none; }
.ostium-scope .btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.ostium-scope .btn-compact { height: 30px;
  min-height: 30px;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
  border-width: 1px;
  white-space: nowrap;
  flex-shrink: 0; }
.ostium-scope .btn-primary { background: var(--color-accent);
  color: var(--white); }
.ostium-scope .btn-primary:hover { background: var(--color-accent-hover);
  color: var(--white); }
.ostium-scope .btn-primary:active { background: var(--color-accent-active); }
.ostium-scope .btn-secondary { background: transparent;
  color: var(--color-fg);
  border-color: var(--ink-900); }
.ostium-scope .btn-secondary:hover { background: var(--ink-900); color: var(--white); }
.ostium-scope .btn-ghost { background: transparent;
  color: var(--ink-700);
  padding-inline: 8px; }
.ostium-scope .btn-ghost:hover { color: var(--color-accent-hover); }
.ostium-scope .btn-inverse { background: var(--white);
  color: var(--ink-900); }
.ostium-scope .btn-inverse:hover { background: var(--stone-100); color: var(--ink-900); }
.ostium-scope .btn-secondary-inverse { background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55); }
.ostium-scope .btn-secondary-inverse:hover { border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white); }
.ostium-scope .btn:disabled, .ostium-scope .btn.is-disabled { opacity: 0.4;
  pointer-events: none; }
.ostium-scope .field { display: flex; flex-direction: column; gap: 6px; }
.ostium-scope .field label { font-size: var(--fs-small); font-weight: 500; }
.ostium-scope .input, .ostium-scope .select, .ostium-scope .file { height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-elevated);
  font-family: inherit;
  font-size: 16px;
  color: var(--color-fg); }
.ostium-scope .input:focus, .ostium-scope .select:focus { outline: none; border-color: var(--ink-900); }
.ostium-scope .input::placeholder { color: var(--ink-300); }
.ostium-scope .field.is-error .input { border-color: var(--color-danger); }
.ostium-scope .field-error { color: var(--color-danger); font-size: var(--fs-small); }
.ostium-scope .file { height: auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  color: var(--ink-500);
  font-size: var(--fs-small);
  font-weight: 500;
  cursor: pointer; }
.ostium-scope .file:hover { background: var(--color-bg-muted); }
.ostium-scope .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ostium-scope .chip { display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-fg);
  cursor: pointer; }
.ostium-scope .chip:hover { border-color: var(--ink-700); }
.ostium-scope .chip.is-active { background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--white); }
.ostium-scope .product-card { background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ostium-scope .product-card:hover { transform: translateY(-4px);
  box-shadow: var(--shadow-card); }
.ostium-scope .product-card .media { aspect-ratio: 4 / 5;
  background: #efebe4;
  overflow: hidden; }
.ostium-scope .product-card .media img { width: 100%;
  height: 100%;
  object-fit: cover; }
.ostium-scope .product-card .body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ostium-scope .product-card .specs { color: var(--ink-500); font-size: var(--fs-small); font-weight: 500; }
.ostium-scope .product-card .price { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ostium-scope .product-card .more { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.ostium-scope .product-card .more:hover { color: var(--color-accent-hover); }
.ostium-scope .project-card .media { position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--stone-100); }
.ostium-scope .project-card .media img { position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center; }
.ostium-scope .project-card .eyebrow { margin: 10px 0 4px; }
.ostium-scope .project-card p { margin: 0; font-weight: 500; font-size: 14px; }
.ostium-scope .sector-card { position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  padding: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-muted);
  color: var(--white); }
.ostium-scope .sector-card img { position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; }
.ostium-scope .sector-card::after { content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 18, 0.05) 20%, rgba(20, 19, 18, 0.72) 100%); }
.ostium-scope .sector-card > span:not(.card-arrow) { position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3; }
.ostium-scope .hero { position: relative;
  background: var(--color-bg-inverse);
  color: var(--color-fg-inverse);
  min-height: 460px;
  overflow: hidden; }
.ostium-scope .hero-photo { position: absolute;
  inset: 0 0 0 42%; }
.ostium-scope .hero-photo img { width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center; }
.ostium-scope .hero-fade { position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #141312 0%, rgba(20, 19, 18, 0.88) 38%, rgba(20, 19, 18, 0.15) 72%, transparent 100%); }
.ostium-scope .hero-copy { position: relative;
  padding: 64px 0 56px;
  max-width: 620px; }
.ostium-scope .hero h1 { font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: -0.02em;
  margin-bottom: 18px; }
.ostium-scope .hero .lead { color: #c4bdb3; margin-bottom: 28px; }
.ostium-scope .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.ostium-scope .hero-meta { display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: #c4bdb3; }
.ostium-scope .hero-meta b { color: var(--white); font-weight: 600; }
.ostium-scope .hero-meta .sep { opacity: 0.35; }
.ostium-scope .partner-pill { border: 1px solid #555048;
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 11px;
  color: #c4bdb3; }
.ostium-scope .band-dark { background: var(--color-bg-inverse);
  color: var(--color-fg-inverse);
  padding: 36px 0; }
.ostium-scope .band-muted { background: var(--color-bg-muted); }
.ostium-scope .notice { background: var(--color-accent-soft);
  border: 1px solid var(--orange-100);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px; }
.ostium-scope .trust { background: var(--ink-950);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  font-size: 14px;
  font-weight: 600; }
.ostium-scope .trust span { display: flex; align-items: center; gap: 8px; }
.ostium-scope .trust i { color: var(--color-accent);
  font-style: normal;
  font-weight: 700; }

.ostium-scope .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--ink-500);
}
.ostium-scope .breadcrumbs li { display: inline-flex; }
.ostium-scope .breadcrumbs a { color: var(--ink-500); }
.ostium-scope .breadcrumbs a:hover { color: var(--color-accent-hover); }
.ostium-scope .breadcrumbs li[aria-current] { color: var(--ink-700); font-weight: 500; }
.ostium-scope .breadcrumbs i { font-style: normal; opacity: 0.6; }

.ostium-scope .steps { display: grid; gap: 16px; }
.ostium-scope .step { display: flex; gap: 16px; align-items: flex-start; }
.ostium-scope .step-number {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--stone-200);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.ostium-scope .step p { margin: 0; padding-top: 8px; color: var(--ink-700); }
@media (min-width: 768px) {
  .ostium-scope .steps { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
}

.ostium-scope .filter-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 28px;
}
.ostium-scope .filter-strip-label { font-size: var(--fs-small); font-weight: 600; color: var(--ink-700); }
.ostium-scope .filter-strip-more { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--color-accent-hover); }
.ostium-scope .filter-strip-more:hover { color: var(--orange-700); }

/* Category: included services + process rail */
.ostium-scope #included,
.ostium-scope #process {
  scroll-margin-top: 140px;
}
.ostium-scope .included-copy {
  margin-bottom: 32px;
}
.ostium-scope .included-copy h2 {
  margin: 0;
}
.ostium-scope .included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ostium-scope .included-grid > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.ostium-scope .included-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  background: var(--stone-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.ostium-scope .included-icon svg {
  width: 24px;
  height: 24px;
}
.ostium-scope .included-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-900);
  max-width: 12em;
}

@media (min-width: 768px) {
  .ostium-scope .included-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
  }
  .ostium-scope .included-grid > li {
    padding: 0 18px;
    border-right: 1px solid var(--color-border);
  }
  .ostium-scope .included-grid > li:first-child {
    padding-left: 0;
  }
  .ostium-scope .included-grid > li:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

.ostium-scope .process .section-heading {
  margin-bottom: 36px;
}
.ostium-scope .process-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ostium-scope .process-rail > li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  padding: 0 0 28px 18px;
  border-left: 1px solid var(--color-border);
}
.ostium-scope .process-rail > li:last-child {
  padding-bottom: 0;
}
.ostium-scope .process-index {
  grid-row: 1 / span 2;
  align-self: start;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-300);
  font-variant-numeric: tabular-nums;
}
.ostium-scope .process-name {
  padding-top: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-900);
}
.ostium-scope .process-note {
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-500);
}

@media (min-width: 768px) {
  .ostium-scope .process-rail {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 36px;
  }
  .ostium-scope .process-rail > li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0;
    border-left: 0;
  }
  .ostium-scope .process-rail > li::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: -20px;
    height: 1px;
    background: var(--color-border);
    pointer-events: none;
  }
  .ostium-scope .process-rail > li:nth-child(2n)::after {
    content: none;
  }
  .ostium-scope .process-index {
    position: relative;
    z-index: 1;
    grid-row: auto;
    padding-right: 10px;
    background: var(--stone-50);
    font-size: 40px;
  }
  .ostium-scope .process-name {
    padding-top: 0;
  }
}

@media (min-width: 1024px) {
  .ostium-scope .process-rail {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 28px;
  }
  .ostium-scope .process-rail > li:nth-child(2n)::after {
    content: "";
  }
  .ostium-scope .process-rail > li:nth-child(4n)::after {
    content: none;
  }
}

.ostium-scope .catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}
.ostium-scope .catalog-filters .select {
  min-width: 160px;
  width: auto;
  height: 40px;
  padding-right: 34px;
  font-size: 13px;
  color: var(--ink-700);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236F6A63' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.ostium-scope .catalog-filters .select:hover { border-color: var(--ink-700); }
.ostium-scope .catalog-filters-reset { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.ostium-scope .catalog-filters-reset:hover { color: var(--color-accent-hover); }

.ostium-scope .pg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.ostium-scope .pg-pages { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 4px; }
.ostium-scope .pg-page,
.ostium-scope .pg-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 4px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-700);
}
.ostium-scope a.pg-page:hover { background: var(--stone-100); color: var(--ink-900); }
.ostium-scope .pg-page.is-active { background: var(--ink-900); color: var(--white); }
.ostium-scope .pg-dots { color: var(--ink-300); }
.ostium-scope .pg-arrow {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--ink-900);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
}
.ostium-scope a.pg-arrow:hover { background: var(--ink-900); color: var(--white); }
.ostium-scope .pg-arrow.is-disabled { border-color: var(--color-border); color: var(--ink-300); }

/* Каталог: квадратное фото, карточки на главной не трогаем. */
.ostium-scope .catalog-grid .product-card .media { aspect-ratio: 1 / 1; }
.ostium-scope .catalog-grid .product-card .body { padding: 14px 14px 16px; gap: 8px; }
.ostium-scope .catalog-grid .product-card h3 { font-size: 16px; }
.ostium-scope .catalog-grid .product-card .price { font-size: 17px; }

.ostium-scope .site-footer { background: var(--color-bg-inverse);
  color: var(--ink-300);
  padding: 28px 0;
  font-size: 13px; }
.ostium-scope .site-footer .wrap { display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px; }
.ostium-scope .site-footer img { height: 28px; width: auto; }
.ostium-scope .sg-section { padding: var(--space-6) 0; }
.ostium-scope .sg-kicker { font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  margin: 0 0 8px; }
.ostium-scope .swatches { display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px; }
.ostium-scope .swatch { border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border); }
.ostium-scope .swatch-chip { height: 72px; }
.ostium-scope .swatch figcaption { padding: 10px 12px 12px; }
.ostium-scope .swatch strong { display: block; font-size: 13px; font-weight: 600; }
.ostium-scope .swatch code { font-size: 11px; color: var(--ink-500); }
.ostium-scope .grid-2 { display: grid; gap: 16px; }
.ostium-scope .grid-3 { display: grid; gap: 16px; }
.ostium-scope .grid-4 { display: grid; gap: 16px; }
.ostium-scope .grid-6 { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .ostium-scope .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .ostium-scope .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .ostium-scope .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ostium-scope .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .ostium-scope .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .ostium-scope .grid-6 { grid-template-columns: repeat(6, 1fr); }
}
.ostium-scope .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ostium-scope .type-row { display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: baseline; }
.ostium-scope .type-row dt { font-size: 12px; color: var(--ink-500); font-weight: 500; }
@media (max-width: 767px) {
  .ostium-scope .utility { display: none; }
  .ostium-scope .nav { height: 64px; }
  .ostium-scope .nav-links { display: none; }
  .ostium-scope .nav-contacts { display: none; }
  .ostium-scope .nav-tools .nav-cta { display: inline-flex; }
  .ostium-scope .hero-photo { inset: 40% 0 0 0; }
  .ostium-scope .hero-fade { background: linear-gradient(180deg, #141312 0%, rgba(20, 19, 18, 0.88) 42%, rgba(20, 19, 18, 0.35) 100%); }
  .ostium-scope .hero { min-height: 560px; }
  .ostium-scope .hero-copy { padding: 40px 0 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .ostium-scope, .ostium-scope *, .ostium-scope *::before, .ostium-scope *::after { transition: none !important;
    animation: none !important; }
  .ostium-scope .product-card:hover,
  .ostium-scope .product-card:focus-within { transform: none; }
}

/* Homepage integration layer */

.ostium-home-page {
  background: var(--stone-50, #faf8f5);
}

.ostium-home-page .ostium-home-shell {
  padding: 0;
  background: #faf8f5;
  /* overflow-x: clip ломает sticky у .nav (свой scroll-container). */
}

.ostium-home-page .ostium-scope {
  max-width: 100%;
  min-width: 0;
}

.ostium-home-page .ostium-home-shell > header,
.ostium-home-page .ostium-home-shell > #main-content,
.ostium-home-page .ostium-home-shell > footer {
  margin: 0;
}

/* sticky на .nav не работает: containing block — короткий <header>. Фиксируем header целиком. */
.ostium-home-shell > header.ostium-scope {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}
.ostium-home-shell > #main-content {
  /* Не var(--header-*): токены только внутри .ostium-scope, #main-content вне него. */
  padding-top: 126px;
}
@media (max-width: 767px) {
  .ostium-home-shell > #main-content { padding-top: 64px; }
}

.ostium-home-shell .ostium-scope section,
.ostium-home-shell section.ostium-scope {
  margin: 0;
}

.ostium-scope .row {
  margin-right: 0;
  margin-left: 0;
}

.ostium-scope p,
.ostium-scope figure,
.ostium-scope ul,
.ostium-scope ol,
.ostium-scope label {
  margin-top: 0;
}

.ostium-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2147483647;
  padding: 12px 16px;
  color: #fff;
  background: #141312;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.ostium-skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

/* Header */

.ostium-scope .utility {
  background: #f8f6f2;
}

.ostium-scope .utility .wrap {
  height: auto;
  min-height: 30px;
  font-variant-numeric: tabular-nums;
}

.ostium-scope .utility-actions > a:not(.btn) {
  color: var(--orange-600);
  line-height: 1;
}

.ostium-scope .utility-actions .btn,
.ostium-scope .nav-tools .btn-compact,
.ostium-scope a.nav-cta {
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  margin: 0;
  padding: 0 14px;
  border-width: 1px;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1;
  appearance: none;
}

.ostium-scope .utility-actions .btn:hover,
.ostium-scope .utility-actions .btn:focus,
.ostium-scope .nav-tools .btn-compact:hover,
.ostium-scope .nav-tools .btn-compact:focus,
.ostium-scope .btn-compact:hover,
.ostium-scope .btn-compact:focus {
  transform: none;
  box-shadow: none;
}

.ostium-scope .nav-tools .btn-primary,
.ostium-scope .nav-tools .btn-primary:hover {
  color: var(--white);
}

.ostium-scope .nav {
  height: 78px;
  box-shadow: 0 8px 30px rgba(28, 26, 24, 0.025);
}

.ostium-scope .nav .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.ostium-scope .nav-links,
.ostium-scope .nav-tools {
  gap: 26px;
}

.ostium-scope .nav-links a,
.ostium-scope .nav-tools a:not(.btn),
.ostium-scope .ostium-menu-trigger {
  position: relative;
  font-size: 14px;
  line-height: 1;
}

.ostium-scope .nav-links a::after,
.ostium-scope .nav-tools a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.ostium-scope .nav-links a:hover::after,
.ostium-scope .nav-tools a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ostium-scope .ostium-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  color: var(--color-fg);
  font-family: inherit;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.ostium-scope .menu-icon {
  display: grid;
  width: 18px;
  gap: 5px;
}

.ostium-scope .menu-icon i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: width 180ms var(--ease);
}

.ostium-scope .menu-icon i:last-child {
  width: 12px;
}

.ostium-scope .ostium-menu-trigger:hover .menu-icon i:last-child {
  width: 18px;
}

.ostium-scope .wordmark img {
  height: 44px;
}

/* Common headings and controls */

.ostium-scope {
  --page: 1240px;
  --radius-sm: 3px;
  --radius-md: 5px;
  --shadow-card: 0 22px 54px -30px rgba(20, 19, 18, 0.46);
}

.ostium-scope .section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.ostium-scope .section-heading-row {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.ostium-scope .section-heading h2,
.ostium-scope .section-heading-row h2 {
  margin-bottom: 0;
}

.ostium-scope .section-heading > p:last-child {
  max-width: 660px;
  margin: 12px 0 0;
  color: var(--ink-500);
  font-size: 15px;
}

.ostium-scope .section-kicker,
.ostium-scope .hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--orange-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ostium-scope .section-kicker::before,
.ostium-scope .hero-kicker::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.ostium-scope .btn {
  border-radius: 3px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.ostium-scope .btn:hover {
  text-decoration: none;
}

.ostium-scope .btn.btn-compact:hover,
.ostium-scope .btn.btn-compact:focus {
  transform: none;
  box-shadow: none;
}

.ostium-scope .btn-ghost {
  min-height: 42px;
  border-bottom: 1px solid var(--ink-300);
  border-radius: 0;
}

/* Hero */

.ostium-scope .hero {
  min-height: 550px;
  isolation: isolate;
}

.ostium-scope .hero::after {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.45);
  content: "OSTIUM / PROJECT DOORS";
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.ostium-scope .hero-photo {
  inset: 0 0 0 42%;
}

.ostium-scope .hero-photo img {
  filter: saturate(0.78) contrast(1.04);
  transform: scale(1.005);
}

.ostium-scope .hero-fade {
  z-index: 1;
  background:
    linear-gradient(90deg, #11100f 0%, #11100f 34%, rgba(17, 16, 15, 0.88) 45%, rgba(17, 16, 15, 0.15) 76%, rgba(17, 16, 15, 0.16) 100%),
    linear-gradient(0deg, rgba(17, 16, 15, 0.34), transparent 45%);
}

.ostium-scope .hero .wrap {
  position: relative;
  z-index: 2;
}

.ostium-scope .hero-copy {
  max-width: 670px;
  padding: 62px 0 44px;
}

.ostium-scope .hero-kicker {
  margin-bottom: 18px;
  color: #eaa174;
}

.ostium-scope .hero h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(40px, 3.9vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.ostium-scope .hero .lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: #d0cbc4;
}

.ostium-scope .hero-actions {
  margin-bottom: 34px;
}

.ostium-scope .hero-meta {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0;
  padding: 0;
  color: #beb8af;
  list-style: none;
}

.ostium-scope .hero-meta > li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.ostium-scope .hero-meta > li:first-child {
  padding-left: 0;
  border-left: 0;
}

.ostium-scope .hero-meta b {
  color: #fff;
  font-size: 13px;
}

.ostium-scope .hero-meta li > span {
  font-size: 10px;
  line-height: 1.35;
}

.ostium-scope .hero-meta .hero-clients {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
}

.ostium-scope .hero-meta .hero-clients span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
}

/* Content sections */

.ostium-scope .sg-section {
  position: relative;
  padding: 92px 0;
  background: var(--stone-50);
}

.ostium-scope .sg-section.band-muted {
  background: var(--stone-100);
}

.ostium-scope .sg-section.process-section {
  background: var(--stone-50);
}

.ostium-scope .seo-text {
  max-width: 780px;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-700);
}
.ostium-scope .seo-text > *:first-child { margin-top: 0; }
.ostium-scope .seo-text p { margin: 0 0 14px; }
.ostium-scope .seo-text h2,
.ostium-scope .seo-text h3 {
  margin: 32px 0 14px;
  color: var(--ink-900);
  font-size: var(--fs-h3);
  font-weight: 700;
}
.ostium-scope .seo-text img { border-radius: var(--radius-md); margin: 4px 0 14px; height: auto; }
.ostium-scope .seo-text table { width: 100% !important; margin: 0 0 20px; border-collapse: collapse; font-size: 14px; }
.ostium-scope .seo-text td, .ostium-scope .seo-text th { border: 1px solid var(--color-border); padding: 8px 12px; text-align: left; }
.ostium-scope .seo-text ul, .ostium-scope .seo-text ol { padding-left: 20px; margin: 0 0 14px; }

.ostium-scope .cat-seo-section {
  border-top: 1px solid var(--line);
}

.ostium-scope .cat-seo {
  columns: 2;
  column-gap: 40px;
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.ostium-scope .cat-seo > *:first-child {
  margin-top: 0 !important;
}

.ostium-scope .cat-seo * {
  max-width: 100%;
  box-sizing: border-box;
}

.ostium-scope .cat-seo p,
.ostium-scope .cat-seo li,
.ostium-scope .cat-seo td,
.ostium-scope .cat-seo th,
.ostium-scope .cat-seo span,
.ostium-scope .cat-seo font,
.ostium-scope .cat-seo strong,
.ostium-scope .cat-seo em,
.ostium-scope .cat-seo b,
.ostium-scope .cat-seo i {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  background: transparent !important;
  text-align: left !important;
}

.ostium-scope .cat-seo p {
  margin: 0 0 14px !important;
  padding: 0 !important;
}

.ostium-scope .cat-seo > p:first-child {
  column-span: all;
}

.ostium-scope .cat-seo p:empty {
  display: none;
}

.ostium-scope .cat-seo a {
  color: var(--orange-600) !important;
  font-family: inherit !important;
  font-size: inherit !important;
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ostium-scope .cat-seo h1,
.ostium-scope .cat-seo h2,
.ostium-scope .cat-seo h3,
.ostium-scope .cat-seo h4 {
  column-span: all;
  margin: 28px 0 14px !important;
  padding: 0 !important;
  color: var(--ink-900) !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
  background: none !important;
  text-align: left !important;
}

.ostium-scope .cat-seo h3,
.ostium-scope .cat-seo h4 {
  font-size: 18px !important;
  font-weight: 600 !important;
}

.ostium-scope .cat-seo ul,
.ostium-scope .cat-seo ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.ostium-scope .cat-seo li {
  margin: 0 0 6px;
}

.ostium-scope .cat-seo img {
  column-span: none;
  display: block;
  width: auto !important;
  max-width: min(100%, 420px);
  height: auto !important;
  margin: 8px 0 16px;
  border-radius: var(--radius-md);
  background: var(--stone-100);
}

.ostium-scope .cat-seo table {
  column-span: all;
  width: 100% !important;
  margin: 8px 0 20px;
  border-collapse: collapse;
  font-size: 14px !important;
  color: var(--ink-700);
  break-inside: avoid;
}

.ostium-scope .cat-seo td,
.ostium-scope .cat-seo th {
  border: 1px solid var(--color-border);
  padding: 8px 12px;
  vertical-align: top;
}

.ostium-scope .cat-seo th {
  font-weight: 600;
  color: var(--ink-900) !important;
  background: var(--stone-100) !important;
}

.ostium-scope .grid-3,
.ostium-scope .grid-4 {
  gap: 20px;
}

/* Card tracks sit in .wrap on desktop; on mobile they become a full-bleed snap slider. */
.ostium-scope .home-slider {
  width: min(var(--page), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* Sector cards */

.ostium-scope .sector-card {
  min-height: 228px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 60%),
    repeating-linear-gradient(135deg, #26231f 0, #26231f 12px, #211f1c 12px, #211f1c 24px);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(20, 19, 18, 0.08);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.ostium-scope .sector-card::after {
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 19, 18, 0.02) 20%, rgba(20, 19, 18, 0.84) 100%);
  transition: background 300ms var(--ease);
}

.ostium-scope .sector-card img {
  transition: transform 650ms var(--ease), filter 350ms var(--ease);
}

.ostium-scope .sector-card:hover {
  color: #fff;
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.ostium-scope .sector-card:hover img {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.ostium-scope .sector-card > span.sector-card-label {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 46px);
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}

.ostium-scope .card-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  transition: color 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}

.ostium-scope .sector-card:hover .card-arrow,
.ostium-scope .project-card:hover .card-arrow {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: rotate(45deg);
}

/* Products — sample plate from a factory catalog */

.ostium-scope .product-card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg-elevated);
  box-shadow: 0 1px 0 rgba(20, 19, 18, 0.04);
}

.ostium-scope .product-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 2px;
  background: var(--color-accent);
  content: "";
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.ostium-scope .product-card:hover,
.ostium-scope .product-card:focus-within {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.ostium-scope .product-card:hover::before,
.ostium-scope .product-card:focus-within::before {
  opacity: 1;
}

.ostium-scope .product-card-link,
.ostium-scope .product-card-link:hover {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.ostium-scope .product-card-link:focus,
.ostium-scope .product-card-link:focus-visible {
  outline: none;
}

.ostium-scope .product-card .media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, #f4f0e9 0%, #ebe6dd 100%);
  overflow: hidden;
}

.ostium-scope .product-card .media::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 3px 6px;
  color: var(--ink-500);
  content: "OSTIUM";
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: rgba(250, 248, 245, 0.82);
}

.ostium-scope .product-card .media img {
  object-fit: contain;
  transition: transform 500ms var(--ease);
}

.ostium-scope .product-card:hover .media img,
.ostium-scope .product-card:focus-within .media img {
  transform: scale(1.03);
}

/* DUO: исходники с широкими белыми полями, без зума дверь выглядит мельче соседних. */
.ostium-scope .product-card .media-zoom-duo img { transform: scale(1.6); }
.ostium-scope .product-card:hover .media-zoom-duo img,
.ostium-scope .product-card:focus-within .media-zoom-duo img { transform: scale(1.65); }

.ostium-scope .product-card .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 16px 16px 18px;
}

.ostium-scope .product-card h3 {
  margin: 0;
  color: var(--ink-900);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ostium-scope .product-card .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 0;
  line-height: 1;
}

.ostium-scope .product-card .spec-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--stone-100);
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ostium-scope .product-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  color: var(--ink-900);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.ostium-scope .product-card .price-from {
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ostium-scope .product-card .price-request {
  font-size: 15px;
  font-weight: 600;
}

.ostium-scope .product-card .more {
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 600;
}

.ostium-scope .product-card-link:hover .more,
.ostium-scope .product-card-link:focus-visible .more,
.ostium-scope .product-card .more:hover,
.ostium-scope .product-card .more:focus-visible {
  color: var(--color-accent-hover);
}

.ostium-scope .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.ostium-scope .product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ostium-scope .product-card-task {
  display: block;
  margin: 0;
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ostium-scope .product-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  flex-wrap: nowrap;
}

/* Lead and designer bands */

.ostium-scope .band-dark {
  position: relative;
  padding: 58px 0;
  background:
    radial-gradient(circle at 82% -30%, rgba(232, 90, 18, 0.16), transparent 37%),
    var(--ink-950);
  overflow: hidden;
}

.ostium-scope .lead-band-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(560px, 1.2fr);
  gap: 64px;
  align-items: start;
}

.ostium-scope .lead-band-copy h2 {
  max-width: 530px;
  margin-bottom: 12px;
  font-size: clamp(25px, 2.25vw, 34px);
}

.ostium-scope .lead-band-copy > p:last-child {
  margin-bottom: 0;
  color: #aaa39a;
}

.ostium-scope .lead-form {
  width: 100%;
  min-width: 0;
}

.ostium-scope .lead-form-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.ostium-scope .lead-form-fields .btn {
  grid-column: 3;
  width: 100%;
}

.ostium-scope .field-file {
  grid-column: 1 / 3;
}

.ostium-scope .file-attach {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1.5px dashed rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  color: #bdb6ad;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color 220ms var(--ease), color 220ms var(--ease), background 220ms var(--ease);
}

.ostium-scope .file-attach:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.055);
}

.ostium-scope .file-attach-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ostium-scope .file-attach-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ostium-scope .field label {
  margin: 0;
  color: #bdb6ad;
}

.ostium-scope .file-on-dark {
  width: 100%;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}

.ostium-scope .file-on-dark:hover,
.ostium-scope .file-on-dark:focus {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
}

.ostium-scope .lead-form-meta {
  margin-top: 14px;
}

.ostium-scope .agreement {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 10px 0 0;
  color: #aaa39a;
  font-size: 11px;
  line-height: 1.45;
}

.ostium-scope .agreement input {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--color-accent);
}

.ostium-scope .agreement a {
  color: #d2ccc4;
  text-decoration: underline;
}

.ostium-scope .honeypot {
  position: absolute;
  left: -9999px;
}

.ostium-scope .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ostium-scope .designer-band {
  padding: 48px 0;
}

.ostium-scope .designer-band-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
}

.ostium-scope .designer-band h2 {
  margin-bottom: 6px;
}

.ostium-scope .designer-band p {
  margin: 0;
  color: #c4bdb3;
}

.ostium-scope .designer-form {
  flex: 0 0 auto;
  min-width: min(100%, 360px);
}

.ostium-scope .designer-form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ostium-scope .designer-form .input {
  width: 220px;
  color: #fff;
  background: #2a2724;
  border-color: #444038;
}

.ostium-scope .designer-form .input:focus {
  border-color: rgba(255, 255, 255, 0.62);
}

.ostium-scope .designer-form .input::placeholder {
  color: #8a837a;
}

.ostium-scope .designer-form .btn {
  flex: 0 0 auto;
}

.ostium-scope .designer-form-meta {
  margin-top: 14px;
}

.ostium-scope .band-dark .answer {
  margin: 12px 0;
}

.ostium-scope .band-dark .answer.success {
  color: #b7e0c2;
}

.ostium-scope .band-dark .answer.error {
  color: #f0a8a0;
  padding-left: 18px;
}

/* Projects */

.ostium-scope .project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  color: var(--color-fg);
}

.ostium-scope .project-card .media {
  position: relative;
  aspect-ratio: 4 / 3.15;
  border-radius: 4px;
  overflow: hidden;
}

.ostium-scope .project-card .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82);
  transition: transform 600ms var(--ease), filter 300ms var(--ease);
}

.ostium-scope .project-card:hover .media img {
  filter: saturate(1);
  transform: scale(1.04);
}

.ostium-scope .project-card-copy {
  position: relative;
  min-height: 78px;
  height: 78px;
  padding: 14px 48px 0 0;
}

.ostium-scope .project-card-copy .eyebrow {
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ostium-scope .project-card-copy > p:last-of-type {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  max-height: 2.7em;
}

.ostium-scope .project-card .card-arrow {
  right: 0;
  bottom: 5px;
  color: var(--ink-700);
  border-color: var(--line);
}

/* About */

.ostium-scope #about {
  border-top: 1px solid var(--line);
}

.ostium-scope .about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8vw;
  align-items: start;
}

.ostium-scope .about-heading h2 {
  max-width: 560px;
  margin-bottom: 34px;
  font-size: clamp(30px, 3.3vw, 48px);
}

.ostium-scope .about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 28px;
  max-width: 520px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ostium-scope .about-stats > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ostium-scope .about-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-accent);
  font-size: clamp(44px, 4.8vw, 64px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.85;
}

.ostium-scope .about-mark span {
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ostium-scope .about-copy {
  min-width: 0;
  max-width: 100%;
  padding-top: 30px;
  color: var(--ink-700);
  font-size: 17px;
  line-height: 1.72;
}

.ostium-scope .about-copy p {
  margin: 0 0 20px;
  padding-left: 0;
  padding-right: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: break-word;
}

.ostium-scope .text-link {
  display: inline-flex;
  margin-top: 6px;
  padding-bottom: 4px;
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink-300);
}

/* Footer */

.ostium-scope.site-footer {
  padding: 56px 0 30px;
  color: var(--ink-300);
  background: var(--color-bg-inverse);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ostium-scope .footer-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
}

.ostium-scope .footer-contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(520px, 1.25fr);
  gap: 7vw;
}

.ostium-scope .footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.ostium-scope .footer-brand p {
  max-width: 380px;
  margin: 0;
  color: var(--ink-300);
  font-size: 13px;
  line-height: 1.55;
}

.ostium-scope .footer-columns {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.65fr;
  gap: 28px;
}

.ostium-scope .footer-column {
  min-width: 0;
}

.ostium-scope .footer-column > span {
  display: block;
  margin-bottom: 9px;
  color: var(--ink-500);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ostium-scope .footer-column a,
.ostium-scope .footer-column p,
.ostium-scope .footer-legal a {
  display: block;
  margin: 0 0 4px;
  color: var(--ink-300);
  font-size: 13px;
  line-height: 1.45;
}

.ostium-scope .footer-column a:hover,
.ostium-scope .footer-legal a:hover {
  color: #fff;
}

.ostium-scope .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ostium-scope .footer-copy {
  color: var(--ink-500);
  font-size: 12px;
}

.ostium-scope .footer-retail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 12px;
}

.ostium-scope .footer-retail a,
.ostium-scope .footer-retail button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-500);
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
  text-decoration: none;
}

.ostium-scope .footer-retail a:hover,
.ostium-scope .footer-retail button:hover {
  color: #fff;
}

@media (max-width: 1050px) {
  .ostium-scope .nav-links,
  .ostium-scope .nav-tools {
    gap: 17px;
  }

  .ostium-scope .lead-band-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ostium-scope .lead-band-copy h2 {
    max-width: 760px;
  }
}

@media (max-width: 920px) {
  .ostium-scope .utility-cities span:last-child,
  .ostium-scope .nav-links .is-muted {
    display: none;
  }

  .ostium-scope .hero h1 {
    font-size: clamp(38px, 5.8vw, 54px);
  }

  .ostium-scope .footer-contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .ostium-scope {
    --gutter: 20px;
  }

  /* Мобильная шапка ниже — меньше запас под якоря. */
  .ostium-scope section[id],
  .ostium-scope[id],
  .ostium-scope [id="lead-form"],
  .ostium-scope [id="site-contacts"] {
    scroll-margin-top: 80px;
  }

  .ostium-scope .nav {
    height: 68px;
  }

  .ostium-scope .nav .wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .ostium-scope .nav-links {
    display: flex;
  }

  .ostium-scope .nav-links > a {
    display: none;
  }

  .ostium-scope .ostium-menu-trigger > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .ostium-scope .nav-contacts {
    display: none;
  }

  .ostium-scope .nav-search {
    display: none;
  }

  .ostium-scope .nav-search-mobile {
    display: inline-flex;
  }

  .ostium-scope .nav-search-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 21;
    overflow: hidden;
    max-height: 0;
    visibility: hidden;
    pointer-events: none;
    background: var(--color-bg-elevated);
    transition: max-height 220ms var(--ease), visibility 220ms var(--ease);
  }

  .ostium-scope .nav.is-search-open .nav-search-panel {
    max-height: 80px;
    visibility: visible;
    pointer-events: auto;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 16px 32px -18px rgba(20, 19, 18, 0.38);
  }

  .ostium-scope .nav-search-panel-inner {
    width: min(var(--page), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
    padding: 12px 0;
  }

  .ostium-scope .nav-search-panel-form {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .ostium-scope .nav-search-panel-form input {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-right: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-fg);
    font: inherit;
    font-size: 15px;
    line-height: 1.2;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
  }

  .ostium-scope .nav-search-panel-form input:focus,
  .ostium-scope .nav-search-panel-form input:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: var(--color-border);
  }

  .ostium-scope .nav-search-panel-form button {
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--color-border);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--stone-100);
    color: var(--ink-700);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    outline: none;
    box-shadow: none;
  }

  .ostium-scope .nav-search-mobile.is-active {
    color: var(--color-accent-hover);
  }

  .ostium-scope .nav-search-mobile.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .ostium-scope .nav-tools .nav-cta {
    display: inline-flex;
  }

  .ostium-scope .wordmark img {
    height: 38px;
  }

  .ostium-scope .hero {
    min-height: 690px;
  }

  .ostium-scope .hero::after {
    display: none;
  }

  .ostium-scope .hero-photo {
    inset: 43% 0 0 0;
  }

  .ostium-scope .hero-photo img {
    object-position: 68% center;
  }

  .ostium-scope .hero-fade {
    background: linear-gradient(180deg, #11100f 0%, #11100f 36%, rgba(17, 16, 15, 0.88) 48%, rgba(17, 16, 15, 0.2) 76%, rgba(17, 16, 15, 0.48) 100%);
  }

  .ostium-scope .hero-copy {
    padding: 42px 0 250px;
  }

  .ostium-scope .hero h1 {
    font-size: clamp(34px, 10.4vw, 48px);
  }

  .ostium-scope .hero .lead {
    font-size: 16px;
  }

  .ostium-scope .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ostium-scope .hero-actions .btn {
    width: 100%;
  }

  .ostium-scope .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ostium-scope .hero-meta > li {
    padding: 0 0 0 14px;
  }

  .ostium-scope .hero-meta > li:first-child {
    padding-left: 0;
  }

  .ostium-scope .hero-meta .hero-clients {
    display: none;
  }

  .ostium-scope .sg-section {
    padding: 66px 0;
  }

  .ostium-scope .section-heading {
    margin-bottom: 26px;
  }

  .ostium-scope .section-heading-row {
    align-items: baseline;
    gap: 12px;
  }

  .ostium-scope .section-heading-row .btn {
    flex-shrink: 0;
    min-height: 0;
    padding: 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .ostium-scope .grid-3,
  .ostium-scope .grid-4 {
    gap: 14px;
  }

  .ostium-scope .home-slider {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding-inline: var(--gutter);
    padding-bottom: 2px;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .ostium-scope .home-slider::-webkit-scrollbar {
    display: none;
  }

  .ostium-scope .home-slider .sector-card,
  .ostium-scope .home-slider .product-card,
  .ostium-scope .home-slider .project-card {
    flex: 0 0 min(78vw, 320px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .ostium-scope .home-slider .sector-card {
    min-height: 240px;
  }

  .ostium-scope .home-slider .product-card {
    display: flex;
    flex-direction: column;
  }

  .ostium-scope .home-slider .sector-card:hover,
  .ostium-scope .home-slider .product-card:hover,
  .ostium-scope .home-slider .product-card:focus-within {
    transform: none;
  }

  .ostium-scope .sector-card {
    min-height: 210px;
  }

  .ostium-scope .lead-form-fields {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .ostium-scope .lead-form-fields .btn,
  .ostium-scope .field-file {
    grid-column: 1 / -1;
  }

  .ostium-scope .file-attach {
    height: auto;
    min-height: 48px;
    white-space: normal;
  }

  .ostium-scope .file-attach-text {
    white-space: normal;
    line-height: 1.35;
  }

  .ostium-scope .lead-form-fields .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .ostium-scope .lead-form-meta {
    max-width: 100%;
    overflow-x: auto;
  }

  .ostium-scope .band-dark {
    padding: 50px 0;
  }

  .ostium-scope .designer-band-grid,
  .ostium-scope .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .ostium-scope .designer-form-fields {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ostium-scope .designer-form .input,
  .ostium-scope .designer-band .btn {
    width: 100%;
  }

  .ostium-scope .about-heading h2 {
    margin-bottom: 28px;
  }

  .ostium-scope .about-stats {
    max-width: none;
    column-gap: 20px;
    row-gap: 22px;
  }

  .ostium-scope .about-copy {
    padding-top: 0;
    font-size: 16px;
  }

  .ostium-scope .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .ostium-scope .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .ostium-scope .nav-contacts {
    font-size: 0;
  }

  .ostium-scope .nav-contacts::before {
    content: "Связаться";
    font-size: 12px;
  }

  .ostium-scope .hero-kicker {
    font-size: 9px;
  }

  .ostium-scope .hero h1 {
    font-size: 35px;
  }

  .ostium-scope .hero-copy {
    padding-top: 34px;
  }

  .ostium-scope .footer-columns {
    grid-template-columns: 1fr;
  }

  .ostium-scope .footer-column:last-child {
    grid-column: auto;
  }
}

/* Шапка v2 внутри .b-inner: фиксируем, padding-top — в header-style.css. */
.b-inner > header.ostium-scope {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

/* Product page (PDP) */

.ostium-scope .pdp-hero {
  padding-top: 40px;
  padding-bottom: 24px;
}

.ostium-scope .pdp-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-top: 16px;
}

.ostium-scope .pdp-gallery {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ostium-scope .pdp-buy {
  position: relative;
  z-index: 5;
  min-width: 0;
}

.ostium-scope .pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

.ostium-scope .pdp-thumb {
  display: block;
  width: 56px;
  height: 72px;
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--stone-100);
  cursor: pointer;
}

.ostium-scope .pdp-thumb.is-active {
  border-color: var(--ink-900);
  box-shadow: 0 0 0 1px var(--ink-900);
}

.ostium-scope .pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ostium-scope .pdp-stage {
  flex: 1;
  min-width: 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stone-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ostium-scope .pdp-stage #mainDoorImage {
  opacity: 1 !important;
}

.ostium-scope .pdp-stage .b-new-card-image__wrap {
  margin-bottom: 0;
}

/* DUO: contain даёт 261px в боксе 362×522; центрирование сдвигает полотно относительно короба. */
.ostium-scope .pdp-stage .b-new-card-image__wrap.dvu .img_polotno,
.ostium-scope .pdp-stage .b-new-card-image__wrap.dvu .furnitura .b-card-img__color {
  background-position: left center;
}

/* DUO: заливка короба не на всю ширину бокса (362), а на ширину короба (257+2). */
.ostium-scope .pdp-stage .b-new-card-image__wrap.dvu .b-card-img.korobka .korobka__color {
  width: 257px;
  left: 2px;
}

.ostium-scope .pdp-stage.is-photo .pdp-stage-coloring {
  display: none;
}

.ostium-scope .pdp-stage-photo {
  display: none;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.ostium-scope .pdp-stage.is-photo .pdp-stage-photo {
  display: block;
}

.ostium-scope .pdp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.ostium-scope .pdp-head h1 {
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1.15;
}

.ostium-scope .pdp-measure {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 500;
}

.ostium-scope .pdp-measure:hover {
  color: var(--color-accent-hover);
}

.ostium-scope .pdp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.ostium-scope .pdp-chips .spec-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--stone-100);
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ostium-scope .pdp-price {
  flex: none;
  max-width: 290px;
  text-align: right;
}

.ostium-scope .pdp-price-note {
  display: block;
  color: var(--ink-500);
  font-size: 12px;
}

.ostium-scope .pdp-price-value {
  margin: 5px 0 7px;
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ostium-scope .pdp-price p {
  margin: 0;
  color: var(--ink-500);
  font-size: 11.5px;
  line-height: 1.4;
}

.ostium-scope .pdp-compare {
  margin-top: 10px;
}

.ostium-scope .pdp-compare .b-section-item-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink-500);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ostium-scope .pdp-compare .b-section-item-btn:hover {
  color: var(--color-accent-hover);
}

.ostium-scope .pdp-kit-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}

.ostium-scope .pdp-kit-link:hover {
  color: var(--color-accent-hover);
}

.ostium-scope .pdp-specs {
  margin-bottom: 16px;
}

.ostium-scope .pdp-specs-title,
.ostium-scope .pdp-config-title,
.ostium-scope .pdp-trust-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.ostium-scope .pdp-specs .b-card-item__wrap {
  display: block !important;
}

.ostium-scope .pdp-specs .b-card-item__wrap ul {
  height: 148px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ostium-scope .pdp-specs .b-card-item__wrap ul.active {
  height: auto;
}

.ostium-scope .pdp-specs .b-card-item__wrap ul li {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-700);
}

.ostium-scope .pdp-specs .b-card-item__wrap ul li b {
  font-weight: 600;
  color: var(--ink-900);
  text-align: right;
}

.ostium-scope .pdp-specs .show-list {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-700);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ostium-scope .pdp-specs .show-list:hover {
  color: var(--color-accent-hover);
}

.ostium-scope .pdp-kit table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ostium-scope .pdp-kit th,
.ostium-scope .pdp-kit td {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.ostium-scope .pdp-kit a {
  color: var(--ink-700);
}

.ostium-scope .pdp-kit a:hover {
  color: var(--color-accent-hover);
}

.ostium-scope .pdp-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ostium-scope .pdp-icons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.ostium-scope .pdp-config {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--stone-50);
  margin-bottom: 16px;
  overflow: visible;
}

.ostium-scope .pdp-config .b-card-item {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  overflow: visible;
}

.ostium-scope .pdp-config .b-filter-item,
.ostium-scope .pdp-config .select-label {
  position: relative;
  z-index: 1;
}

.ostium-scope .pdp-config .b-card-item:has(.vs--open),
.ostium-scope .pdp-config .b-filter-item:has(.vs--open),
.ostium-scope .pdp-config .select-label:has(.vs--open),
.ostium-scope .pdp-config .b-card-item:has([data-tooltip]:hover) {
  z-index: 20;
}

.ostium-scope .pdp-config [data-tooltip],
.ostium-scope .pdp-config .info-ico {
  overflow: visible;
}

.ostium-scope .pdp-config [data-tooltip]::after,
.ostium-scope .pdp-config .info-ico_cust::after {
  left: 0 !important;
  right: auto;
  top: calc(100% + 8px) !important;
  width: 300px !important;
  min-width: 300px !important;
  max-width: none !important;
  box-sizing: border-box;
  white-space: normal;
  line-height: 1.4;
  z-index: 40;
}

.ostium-scope .pdp-config .b-card-item__2 > .b-card-item__top,
.ostium-scope .pdp-config .b-card-item__3 > .b-card-item__top {
  display: none;
}

.ostium-scope .pdp-config .label-name {
  display: none;
}

.ostium-scope .pdp-config .b-card-item__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.ostium-scope .pdp-config .b-card-item__row .b-filter-item {
  margin: 0;
  width: auto;
  overflow: visible;
  max-height: none;
}

.ostium-scope .pdp-config .maxheight,
.ostium-scope .pdp-config .showChanged {
  overflow: visible;
  max-height: none;
}

.ostium-scope .pdp-config .select-label {
  display: block;
  width: 100%;
}

.ostium-scope .pdp-config .v-select {
  width: 100%;
  position: relative;
}

.ostium-scope .pdp-config .v-select.vs--open {
  z-index: 30;
}

.ostium-scope .pdp-config .vs__dropdown-toggle {
  display: flex !important;
  align-items: center !important;
  min-height: 48px !important;
  padding: 10px 12px !important;
  background: var(--white) !important;
  border: 1px solid var(--color-border) !important;
  border-bottom: 1px solid var(--color-border) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}

.ostium-scope .pdp-config .vs__selected-options {
  display: flex;
  align-items: center;
  padding: 0 !important;
  min-height: 0;
}

.ostium-scope .pdp-config .vs__selected {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--ink-900) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.ostium-scope .pdp-config .vs__search,
.ostium-scope .pdp-config .vs__search:focus {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ink-900);
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
}

.ostium-scope .pdp-config .vs__search::placeholder {
  color: var(--ink-500);
}

.ostium-scope .pdp-config .vs__actions {
  padding: 0 0 0 8px;
}

.ostium-scope .pdp-config .vs__clear {
  display: none !important;
}

.ostium-scope .pdp-config .vs__open-indicator {
  fill: var(--ink-500);
  transform: scale(0.85);
}

.ostium-scope .pdp-config .vs__dropdown-menu {
  top: calc(100% + 4px) !important;
  padding: 6px 0 !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-sm) !important;
  background: #fff !important;
  background-color: #fff !important;
  box-shadow: 0 16px 32px -16px rgba(28, 26, 24, 0.35);
  z-index: 80 !important;
}

.ostium-scope .pdp-config .vs__dropdown-option,
.ostium-scope .pdp-config .vs__dropdown-menu li {
  padding: 10px 14px !important;
  border-bottom: 0 !important;
  background: #fff !important;
  background-color: #fff !important;
  color: var(--ink-900) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.ostium-scope .pdp-config .vs__dropdown-option:hover,
.ostium-scope .pdp-config .vs__dropdown-option--highlight {
  background: var(--stone-100) !important;
  background-color: var(--stone-100) !important;
  color: var(--ink-900) !important;
}

.ostium-scope .pdp-config .b-card-item__4 .b-card-item__row {
  display: flex;
  gap: 26px;
}

.ostium-scope .pdp-config .b-card-item__col {
  flex: 1;
  min-width: 0;
}

.ostium-scope .pdp-config .b-card-item__top {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
}

.ostium-scope .pdp-config .b-card-color input[type="radio"] + label span {
  border-radius: 4px;
}

.ostium-scope .pdp-config .slick-slider {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.ostium-scope .pdp-config .b-card-btns {
  display: none !important;
}

.ostium-scope .pdp-config .b-card-btn {
  width: auto;
  height: 48px;
  border: 1.5px solid var(--ink-300);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-900);
  font-weight: 600;
  font-size: 15px;
}

.ostium-scope .pdp-config .b-card-btn:hover,
.ostium-scope .pdp-config .b-card-cart:hover,
.ostium-scope .pdp-config .b-card-order:hover {
  background: var(--ink-900);
  color: var(--white);
}

.ostium-scope .pdp-config .b-card-order {
  background: transparent;
  color: var(--ink-900);
}

.ostium-scope .pdp--partition .pdp-config .b-card-item__2,
.ostium-scope .pdp--partition .pdp-config .b-card-item__3,
.ostium-scope .pdp--partition .pdp-config .b-card-item__4 {
  display: none !important;
}

.ostium-scope .pdp-notice {
  background: var(--color-accent-soft);
  border: 1px solid var(--orange-100);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.ostium-scope .pdp-cta {
  width: 100%;
  min-height: 56px;
  margin-bottom: 12px;
  font-size: 18px;
}

.ostium-scope .pdp-messengers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ostium-scope .pdp-messengers .btn {
  width: 100%;
}

.ostium-scope .pdp-trust-section {
  padding-top: 0;
}

.ostium-scope .pdp-trust {
  display: flex;
  gap: 26px;
  align-items: stretch;
  background: var(--stone-100);
  border-radius: var(--radius-md);
  padding: 24px;
}

.ostium-scope .pdp-trust-certs {
  flex: 1;
}

.ostium-scope .pdp-trust-certs ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ostium-scope .pdp-trust-certs li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink-500);
  font-size: 11.5px;
  line-height: 1.35;
}

.ostium-scope .pdp-cert-tile {
  flex: none;
  width: 66px;
  height: 52px;
  border: 1px solid var(--color-border);
  background: var(--white);
  border-radius: 5px;
  overflow: hidden;
}

.ostium-scope .pdp-cert-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ostium-scope .pdp-cert-fallback {
  flex: none;
  width: 66px;
  border: 1px solid var(--color-border);
  background: var(--white);
  border-radius: 5px;
  padding: 9px 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-700);
  text-align: center;
}

.ostium-scope .pdp-trust-projects {
  flex: 1.3;
  min-width: 0;
}

.ostium-scope .pdp-trust-empty {
  margin: 8px 0 0;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.45;
}

.ostium-scope .pdp-trust-empty a {
  color: var(--ink-900);
  font-weight: 600;
}

.ostium-scope .pdp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ostium-scope .pdp-trust-project {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.ostium-scope .pdp-trust-project .media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--stone-200);
}

.ostium-scope .pdp-trust-project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82);
  transition: transform 600ms var(--ease), filter 300ms var(--ease);
}

.ostium-scope .pdp-trust-project:hover img,
.ostium-scope .pdp-trust-project:focus-visible img {
  filter: saturate(1);
  transform: scale(1.04);
}

.ostium-scope .pdp-trust-project-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
  min-height: 34px;
}

.ostium-scope .pdp-trust-project-name {
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ostium-scope .pdp-trust-project-city {
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ostium-scope .pdp-dwg {
  flex: none;
  align-self: center;
  gap: 8px;
  background: var(--ink-900);
  color: var(--white);
  border-color: var(--ink-900);
  white-space: nowrap;
}

.ostium-scope .pdp-dwg-ico {
  flex: none;
}

.ostium-scope .pdp-dwg:hover {
  background: var(--ink-700);
  color: var(--white);
}

.ostium-scope .pdp-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid var(--color-border);
}

.ostium-scope .pdp-tab {
  margin: 0 0 -1px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--ink-500);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.ostium-scope .pdp-tab.is-active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  font-weight: 700;
}

.ostium-scope .pdp-pane {
  display: none;
  padding-top: 14px;
  max-width: 720px;
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.6;
}

.ostium-scope .pdp-pane.is-active {
  display: block;
}

.ostium-scope .pdp-pane[data-pdp-pane="specs"] {
  max-width: none;
}

.ostium-scope .pdp-spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin: 0;
  padding: 0 !important;
  list-style: none;
  max-width: 880px;
}

.ostium-scope .pdp-spec-list li {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-700);
}

.ostium-scope .pdp-spec-list li b {
  font-weight: 600;
  color: var(--ink-900);
  text-align: right;
}

.ostium-scope .pdp-pane img {
  max-width: 100%;
  height: auto;
}

.ostium-scope .pdp-pane ul,
.ostium-scope .pdp-pane ol {
  padding-left: 1.2em;
}

.ostium-scope .pdp-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: none;
}

.ostium-scope .pdp-media-grid figure,
.ostium-scope .pdp-video {
  margin: 0;
}

.ostium-scope .pdp-media-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: var(--stone-100);
}

.ostium-scope .pdp-media-grid figcaption,
.ostium-scope .pdp-video span {
  display: block;
  margin-top: 8px;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 500;
}

.ostium-scope .pdp-video {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.ostium-scope .pdp-hw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: none;
}

.ostium-scope .pdp-hw-grid img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.ostium-scope .pdp-related-section h2,
.ostium-scope .pdp-seo-section h2 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.25;
}

.ostium-scope .pdp-seo {
  columns: 2;
  column-gap: 34px;
  color: var(--ink-500);
  font-size: 13.5px;
  line-height: 1.65;
}

.ostium-scope .pdp-seo p {
  margin: 0 0 12px;
}

.ostium-scope .pdp-seo-cms {
  columns: 2;
}

.ostium-scope .pdp-seo-cms img {
  max-width: 100%;
  height: auto;
}

.ostium-scope .pdp-quote {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ostium-scope .pdp-quote[hidden] {
  display: none !important;
}

.ostium-scope .pdp-quote-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 18, 0.46);
}

.ostium-scope .pdp-quote-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--stone-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-modal);
  padding: 28px;
}

.ostium-scope .pdp-quote-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.ostium-scope .pdp-quote-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.ostium-scope .pdp-quote-head p {
  margin: 0;
  color: var(--ink-500);
  font-size: 14px;
}

.ostium-scope .pdp-quote-close {
  flex: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.ostium-scope .pdp-quote-close:hover {
  color: var(--ink-900);
}

.ostium-scope .pdp-quote-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ostium-scope .pdp-quote-media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #efebe4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ostium-scope .pdp-quote-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ostium-scope .pdp-quote-coloring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ostium-scope .pdp-quote-coloring[hidden] {
  display: none !important;
}

.ostium-scope .pdp-quote-product h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.ostium-scope .pdp-quote-price {
  margin: 10px 0 14px;
  font-size: 18px;
  font-weight: 700;
}

.ostium-scope .pdp-quote-params {
  margin: 0;
}

.ostium-scope .pdp-quote-params > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
}

.ostium-scope .pdp-quote-params dt {
  color: var(--ink-500);
  font-weight: 500;
}

.ostium-scope .pdp-quote-params dd {
  margin: 0;
  color: var(--ink-900);
  font-weight: 600;
  text-align: right;
}

.ostium-scope .pdp-quote-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ostium-scope .pdp-quote-form .btn {
  width: 100%;
  margin-top: 4px;
}

.ostium-scope .pdp-quote-file {
  position: relative;
  overflow: hidden;
}

.ostium-scope .pdp-quote-note {
  margin: 0;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.45;
}

.ostium-scope .pdp-quote-ok-dialog {
  width: min(420px, 100%);
  text-align: center;
  padding: 36px 32px 28px;
}

.ostium-scope .pdp-quote-ok-dialog .pdp-quote-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.ostium-scope .pdp-quote-ok-ico {
  display: block;
  margin: 0 auto 16px;
  color: var(--orange-600);
}

.ostium-scope .pdp-quote-ok-dialog h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.ostium-scope .pdp-quote-ok-dialog p {
  margin: 0 0 22px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.5;
}

.ostium-scope .pdp-quote-ok-dialog .btn {
  min-width: 160px;
}

/* Капча/согласие в модалке — на светлом фоне. */
.ostium-scope .pdp-quote-form #smart-captcha-container-quote:not(:empty) {
  margin-top: 2px;
}

.ostium-scope .pdp-quote-form .agreement {
  margin: 0;
  color: var(--ink-500);
}

.ostium-scope .pdp-quote-form .agreement a {
  color: var(--orange-600);
}

.ostium-scope .pdp-quote-form .answer {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.45;
  list-style: none;
}

.ostium-scope .pdp-quote-form .answer.success {
  color: #2f7d4f;
}

.ostium-scope .pdp-quote-form .answer.error {
  color: #c0392b;
}

body.pdp-quote-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .ostium-scope .pdp-layout {
    grid-template-columns: 1fr;
  }

  .ostium-scope .pdp-quote-grid {
    grid-template-columns: 1fr;
  }

  .ostium-scope .pdp-quote-media {
    max-width: 180px;
  }

  .ostium-scope .pdp-dwg {
    align-self: stretch;
  }

  .ostium-scope .pdp-trust {
    flex-wrap: wrap;
  }

  .ostium-scope .pdp-trust-certs {
    flex: 1 1 220px;
  }

  .ostium-scope .pdp-trust-projects {
    flex: 1 1 280px;
  }
}

@media (max-width: 767px) {
  .ostium-scope .pdp-gallery {
    flex-direction: column-reverse;
  }

  .ostium-scope .pdp-thumbs {
    flex-direction: row;
    overflow-x: auto;
  }

  .ostium-scope .pdp-head {
    flex-direction: column;
  }

  .ostium-scope .pdp-price {
    max-width: none;
    text-align: left;
  }

  .ostium-scope .pdp-config .b-card-item__row,
  .ostium-scope .pdp-config .b-card-item__4 .b-card-item__row,
  .ostium-scope .pdp-messengers {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ostium-scope .pdp-media-grid,
  .ostium-scope .pdp-hw-grid,
  .ostium-scope .pdp-seo,
  .ostium-scope .pdp-seo-cms,
  .ostium-scope .pdp-spec-list,
  .ostium-scope .cat-seo {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .ostium-scope .pdp-trust-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(148px, 1fr);
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

