/* ==========================================================================
   OSTOV — Material & Form (Direction C)
   Mineral Sage (#D2D5CA) · Forest Olive (#343E30) · Deep Moss (#222A20) · Citron (#D5E05B)
   ========================================================================== */

:root {
  --sage:        #D2D5CA;
  --sage-2:      #E4E6DE;
  --cream:       #F3F4EE;
  --moss:        #222A20;
  --olive:       #343E30;
  --olive-mut:   #4A5546;
  --citron:      #D5E05B;
  --citron-hov:  #C6D347;

  /* Map existing theme & ostov-core tokens to Material & Form */
  --sheet:       #F3F4EE;
  --sheet-2:     #E4E6DE;
  --sheet-3:     #D2D5CA;
  --paper:       #FFFFFF;
  --ink:         #222A20;
  --ink-2:       #4A5546;
  --ink-3:       #556150;
  --draft:       #343E30;
  --draft-soft:  #E4E6DE;
  --clay:        #222A20;
  --clay-soft:   #E4E6DE;
  --rule:        rgba(34, 42, 32, 0.18);
  --rule-2:      rgba(34, 42, 32, 0.10);
  --ok:          #343E30;
  --warn:        #8A6A1F;
  --radius:      0px;
  --maxw:        1440px;
  --pad:         48px;
}

@media (max-width: 1080px) {
  :root { --pad: 24px; }
}
@media (max-width: 640px) {
  :root { --pad: 18px; }
}

html, body, body.ostov {
  background: var(--cream);
  color: var(--moss);
  font-family: 'Onest', system-ui, -apple-system, sans-serif;
  overflow-x: clip;
}

/* Focus visibility */
body.ostov :focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

.mf-hero__editorial :focus-visible,
.footer :focus-visible,
.archive-head :focus-visible {
  outline: 2px solid var(--citron);
  outline-offset: 2px;
}

/* ---- Header (Mineral Sage) ---------------------------------------------- */
body.ostov .masthead {
  background: var(--sage);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
}

body.ostov .masthead__row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.ostov .brand__mark,
body.ostov .brand__mark a {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  text-decoration: none;
}

body.ostov .brand__note {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-mut);
  border-left: 1px solid var(--rule);
  padding-left: 12px;
  margin-left: 4px;
}

body.ostov .masthead .nav a,
body.ostov .masthead .wp-block-navigation-item__content {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--olive-mut);
  transition: color 180ms ease;
}

body.ostov .masthead .nav a:hover,
body.ostov .masthead .wp-block-navigation-item__content:hover {
  color: var(--moss);
}

body.ostov .masthead__end {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.ostov .masthead__end a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  padding: 8px 12px;
  border: 1px solid transparent;
}

body.ostov .masthead__end a:hover {
  border-color: var(--rule);
  background: rgba(255, 255, 255, 0.45);
}

/* Primary Cart Pill in Deep Moss + Citron */
body.ostov .masthead__end .ostov-cart-link,
body.ostov .masthead__end a[href*="/cart"] {
  background: var(--moss);
  color: var(--citron);
  border: 1px solid var(--moss);
  padding: 9px 16px;
}

body.ostov .masthead__end .ostov-cart-link:hover,
body.ostov .masthead__end a[href*="/cart"]:hover {
  background: var(--olive);
  color: var(--citron);
  border-color: var(--olive);
}

body.ostov .masthead__row .wp-block-woocommerce-mini-cart {
  display: none;
}

@media (max-width: 1080px) {
  html.has-js body.ostov .masthead__row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center !important;
    gap: 6px 10px;
    padding: 8px var(--pad);
    min-height: 0;
  }
  body.ostov .brand__note { display: none !important; }
  html.has-js body.ostov .masthead__row > .masthead__end {
    grid-column: 1 / -1;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid rgba(34, 42, 32, 0.14);
    gap: 8px;
    order: 3 !important;
    margin-left: 0;
  }
  body.ostov .masthead__end a.masthead__opt {
    display: inline-flex !important;
    min-height: 44px;
    font-size: 11.5px;
    padding: 6px 8px;
    align-items: center;
    white-space: nowrap;
  }
  body.ostov .masthead__end .ostov-cart-link,
  body.ostov .masthead__end a[href*="/cart"] {
    padding: 8px 14px;
    font-size: 11.5px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
  body.ostov .nav-toggle {
    min-height: 44px;
    border: 1px solid var(--moss);
    background: transparent;
    color: var(--moss);
    padding: 6px 10px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  html.has-js body.ostov .nav-area.is-open .nav {
    background: var(--olive);
    color: #EEF1E8;
    border-left: 1px solid var(--moss);
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.22s ease;
  }
  html.has-js body.ostov .nav-area.is-open .nav a,
  html.has-js body.ostov .nav-area.is-open .nav .wp-block-navigation-link a {
    color: #EEF1E8;
  }
  html.has-js body.ostov .nav-area.is-open .nav a:hover,
  html.has-js body.ostov .nav-area.is-open .nav .wp-block-navigation-link a:hover {
    color: var(--citron);
  }
  html.has-js body.ostov .nav-area .nav-close {
    color: #EEF1E8;
    border-bottom-color: rgba(238, 241, 232, 0.25);
  }
}

/* ---- Homepage Asymmetric Material & Form Hero --------------------------- */
.mf-hero-wrap {
  width: 100%;
  background: var(--sage);
  border-bottom: 1px solid var(--rule);
  margin: 0;
}

.mf-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  height: clamp(620px, calc(100vh - 68px), 780px);
}

.mf-hero__visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 175px;
  border-right: 1px solid var(--rule);
  min-height: 0;
  background: var(--sage-2);
}

.mf-hero__obj {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.mf-hero__obj > img,
.mf-hero__macro > img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 42% !important;
  display: block;
}

.mf-hero__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--moss);
  color: #EEF1E8;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  z-index: 2;
}

.mf-hero__macros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.mf-hero__macro {
  position: relative;
  overflow: hidden;
}

.mf-hero__macro:first-child {
  border-right: 1px solid var(--rule);
}

.mf-hero__macro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mf-hero__macro span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: rgba(34, 42, 32, 0.90);
  color: #F1F4EC;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.mf-hero__editorial {
  background: var(--olive);
  color: #EEF1E8;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.mf-hero__kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--citron);
  font-weight: 600;
  margin: 0;
}

.mf-hero__title {
  font-size: clamp(38px, 4.4vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: #EEF1E8;
  margin: 18px 0 0;
}

.mf-hero__lead {
  margin-top: 22px;
  font-size: 16.5px;
  color: #C5CCC0;
  max-width: 40ch;
  line-height: 1.6;
}

.mf-hero__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(238, 241, 232, 0.18);
  border-bottom: 1px solid rgba(238, 241, 232, 0.18);
}

.mf-hero__specs b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--citron);
  margin-bottom: 4px;
}

.mf-hero__specs a,
.mf-hero__specs span {
  font-size: 14.5px;
  color: #EEF1E8;
  text-decoration: none;
}

.mf-hero__specs a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mf-cta-citron {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 26px;
  background: var(--citron);
  color: var(--moss);
  border: 1px solid var(--citron);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease;
}

.mf-cta-citron:hover {
  background: var(--citron-hov);
  color: var(--moss);
}

@media (max-width: 960px) {
  .mf-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .mf-hero__visual {
    grid-template-rows: 290px 96px;
    border-right: 0;
  }
  .mf-hero__editorial {
    padding: 28px 20px;
    gap: 20px;
  }
  .mf-hero__title {
    font-size: 36px;
    line-height: 1.02;
  }
  .mf-hero__specs {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0;
  }
  .mf-hero__badge {
    top: 14px;
    left: 14px;
    font-size: 10.5px;
  }
  .mf-hero__macro span {
    left: 10px;
    bottom: 8px;
    font-size: 10px;
    padding: 3px 7px;
  }
}

/* ---- Main page containers ----------------------------------------------- */
body.ostov main.ostov-page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) 56px;
}

body.ostov main.ostov-page--home {
  max-width: none;
  margin-top: 0 !important;
  padding: 0 0 56px;
  display: block;
}

body.ostov .masthead + main.ostov-page--home {
  margin-top: 0 !important;
}

body.ostov main.ostov-page--home > .wp-block-shortcode {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

body.ostov main.ostov-page--home > .ostov-home-band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---- Catalog Header Band & Product Grid --------------------------------- */
body.ostov .archive-head {
  background: var(--olive);
  color: #EEF1E8;
  padding: 32px var(--pad);
  margin: 0 calc(var(--pad) * -1) 28px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

body.ostov .archive-head::before {
  content: "КАТАЛОГ МЕБЕЛЬНОГО АТЕЛЬЕ";
  display: block;
  width: 100%;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--citron);
  margin-bottom: -6px;
}

body.ostov .archive-head .archive-head__title,
body.ostov .archive-head h1 {
  color: #EEF1E8;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

body.ostov .shell--wide > .archive-head__title {
  color: var(--moss);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 28px 0 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

/* Accessibility fixes: filter empty contrast, hidden mini-cart focus */
body.ostov .ostov-filters__opt.is-empty {
  opacity: 1 !important;
}

body.ostov .ostov-filters__opt.is-empty .ostov-filters__name,
body.ostov .ostov-filters__opt.is-empty .ostov-filters__count {
  color: #556150 !important;
}

body.ostov .wc-block-mini-cart__drawer[aria-hidden="true"] {
  visibility: hidden !important;
}

body.ostov .ostov-conditions,
body.ostov .conditions {
  background: var(--sage-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 20px;
  margin-bottom: 28px;
}

body.ostov .ostov-plate,
body.ostov .plate {
  background: var(--paper);
  border: 1px solid var(--rule);
  transition: border-color 180ms ease;
}

body.ostov .ostov-plate:hover,
body.ostov .plate:hover {
  border-color: var(--moss);
}

body.ostov .ostov-plate__media,
body.ostov .plate__media {
  background: var(--sage-2);
  border-bottom: 1px solid var(--rule);
}

body.ostov .ostov-plate .plate__body,
body.ostov .ostov-plate__body,
body.ostov .plate__body {
  padding: 18px 20px 20px !important;
}

body.ostov .ostov-plate__badge,
body.ostov .plate__badge {
  background: var(--moss);
  color: #EEF1E8;
  border: 1px solid var(--moss);
}

body.ostov .ostov-demo-badge {
  color: #4A5546 !important;
  background: var(--sage-2);
  padding: 2px 8px;
  border: 1px solid var(--rule);
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.ostov [data-ostov-wishlist-toggle][aria-pressed="true"],
body.ostov .ostov-buy-panel__wishlist-toggle[aria-pressed="true"] {
  color: var(--moss);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--olive);
  text-underline-offset: 4px;
}

/* ---- Room Index & Interior Band ----------------------------------------- */
body.ostov .rooms {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: var(--rule);
  border: 1px solid var(--rule);
}

body.ostov .rooms li {
  background: var(--paper);
  transition: background 180ms ease;
}

body.ostov .rooms li:hover {
  background: var(--sage-2);
}

body.ostov main.ostov-page--home > .band.ostov-strip {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 0 var(--pad);
}

body.ostov main:not(.ostov-page--home) .band.ostov-strip {
  margin: 56px 0 0;
}

body.ostov .ostov-frontpage-interior img {
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--rule);
  display: block;
}

@media (max-width: 760px) {
  body.ostov .ostov-frontpage-interior img {
    aspect-ratio: 4 / 3;
    max-height: 360px;
  }
}

/* Filter chips & active pills */
body.ostov .ostov-filters__chip.is-active,
body.ostov .ostov-chip.is-active,
body.ostov .chip.is-active,
body.ostov .ostov-filter-pill.is-active {
  background: var(--moss);
  color: var(--citron);
  border-color: var(--moss);
}

/* ---- Product Detail, Gallery, Configurator & Drawing -------------------- */
body.ostov .crumbs {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

body.ostov .pdp__aside .ostov-buy-panel,
body.ostov .pdp__aside .ostov-buy,
body.ostov .pdp__aside .buy {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 28px;
}

@media (max-width: 640px) {
  body.ostov .pdp__aside .ostov-buy-panel,
  body.ostov .pdp__aside .ostov-buy,
  body.ostov .pdp__aside .buy {
    padding: 20px;
  }
}

body.ostov .ostov-buybar,
body.ostov [data-ostov-buybar] {
  background: var(--moss);
  color: #EEF1E8;
  border-top: 1px solid var(--olive);
}

body.ostov .ostov-buybar *,
body.ostov [data-ostov-buybar] * {
  color: #EEF1E8;
}

body.ostov .ostov-buybar .ostov-configurator__buybar-label,
body.ostov .ostov-buybar [data-ostov-bar-lead],
body.ostov .ostov-buybar .dim,
body.ostov [data-ostov-buybar] [data-ostov-bar-lead],
body.ostov [data-ostov-buybar] .dim {
  color: #C5CCC0 !important;
}

body.ostov .ostov-buybar strong,
body.ostov .ostov-buybar strong bdi,
body.ostov .ostov-buybar strong .woocommerce-Price-amount,
body.ostov .ostov-buybar strong .woocommerce-Price-currencySymbol,
body.ostov .ostov-buybar [data-ostov-bar-price] {
  color: #EEF1E8 !important;
}

body.ostov .ostov-buybar__cta,
body.ostov [data-ostov-buybar] [data-ostov-submit],
body.ostov .ostov-buybar button[data-ostov-submit] {
  background: var(--citron) !important;
  color: var(--moss) !important;
  border: 1px solid var(--citron) !important;
  min-height: 44px;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}

body.ostov .ostov-buybar__cta:hover,
body.ostov [data-ostov-buybar] [data-ostov-submit]:hover,
body.ostov .ostov-buybar button[data-ostov-submit]:hover {
  background: var(--citron-hov) !important;
  color: var(--moss) !important;
}

body.ostov .ostov-gallery__main,
body.ostov .gallery__main {
  background: var(--sage-2);
  border: 1px solid var(--rule);
}

body.ostov .ostov-gallery__thumb,
body.ostov .gallery__thumb {
  border: 1px solid var(--rule);
  background: var(--paper);
}

body.ostov .ostov-gallery__thumb.is-active,
body.ostov .gallery__thumb.is-active {
  border-color: var(--moss);
  box-shadow: inset 0 0 0 1px var(--moss);
}

/* Citron primary purchase CTA across PDP, Configurator, Cart & Checkout */
body.ostov .ostov-buy__submit,
body.ostov .single_add_to_cart_button,
body.ostov .ostov-configurator__submit,
body.ostov .wc-block-cart__submit-button,
body.ostov .wc-block-components-checkout-place-order-button,
body.ostov button.alt,
body.ostov .button.alt {
  background: var(--citron) !important;
  color: var(--moss) !important;
  border: 1px solid var(--moss) !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  min-height: 48px;
  cursor: pointer;
}

body.ostov .ostov-buy__submit:hover,
body.ostov .single_add_to_cart_button:hover,
body.ostov .ostov-configurator__submit:hover,
body.ostov .wc-block-cart__submit-button:hover,
body.ostov .wc-block-components-checkout-place-order-button:hover,
body.ostov button.alt:hover,
body.ostov .button.alt:hover {
  background: var(--citron-hov) !important;
  color: var(--moss) !important;
}

/* Variation & Configurator choice buttons */
body.ostov .ostov-buy__choice.is-selected,
body.ostov .ostov-buy__choice[aria-pressed="true"],
body.ostov .ostov-configurator__choice[aria-pressed="true"],
body.ostov .ostov-swatch.is-selected {
  background: var(--moss) !important;
  color: #EEF1E8 !important;
  border-color: var(--moss) !important;
}

body.ostov .ostov-configurator__summary {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--moss);
}

/* Technical SVG Drawing Card */
body.ostov .ostov-drawing,
body.ostov .drawing {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px;
}

body.ostov .ostov-drawing svg {
  color: var(--moss);
}

body.ostov .ostov-drawing svg [stroke="#1F4B99"],
body.ostov .ostov-drawing svg [stroke="#1f4b99"] {
  stroke: var(--olive);
}

body.ostov .ostov-drawing svg [fill="#1F4B99"],
body.ostov .ostov-drawing svg [fill="#1f4b99"] {
  fill: var(--olive);
}

/* ---- Cart, Checkout, Order Confirmation, Wishlist & Search -------------- */
body.ostov .wc-block-cart,
body.ostov .wc-block-checkout,
body.ostov .woocommerce-order,
body.ostov .ostov-wishlist {
  border-top: 1px solid var(--moss);
  padding-top: 24px;
}

body.ostov .wc-block-cart__main,
body.ostov .wc-block-checkout__main,
body.ostov .woocommerce-order-overview,
body.ostov .woocommerce-table--order-details,
body.ostov .woocommerce-customer-details address {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px;
}

body.ostov .wc-block-components-sidebar-layout__sidebar,
body.ostov .wc-block-checkout__sidebar {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px;
}

body.ostov .wc-block-components-text-input input,
body.ostov .wc-block-components-textarea textarea,
body.ostov .wc-block-components-select select,
body.ostov .search-form input[type="search"],
body.ostov .search-form input[type="text"] {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--moss);
}

body.ostov .search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

body.ostov .search-form .wp-block-search__button,
body.ostov .ostov-wishlist__remove {
  background: var(--moss);
  color: #EEF1E8;
  border: 1px solid var(--moss);
  border-radius: 0;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

body.ostov .search-form .wp-block-search__button:hover,
body.ostov .ostov-wishlist__remove:hover {
  background: var(--citron);
  color: var(--moss);
}

body.ostov .ostov-notice,
body.ostov .woocommerce-message,
body.ostov .woocommerce-info {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--olive);
  color: var(--moss);
  padding: 14px 18px;
}

/* ---- Deep Moss Footer --------------------------------------------------- */
body.ostov footer.footer {
  background: var(--moss);
  color: #EEF1E8;
  border-top: 1px solid rgba(238, 241, 232, 0.14);
  margin-top: 40px;
}

body.ostov footer.footer .shell--wide {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--pad) 32px;
}

body.ostov footer.footer .brand__mark,
body.ostov footer.footer .brand__mark a,
body.ostov footer.footer h4 {
  color: #EEF1E8;
}

body.ostov footer.footer .dim,
body.ostov footer.footer p,
body.ostov footer.footer a {
  color: #C5CCC0;
}

body.ostov footer.footer a:hover {
  color: var(--citron);
}

body.ostov footer.footer .footer__legal {
  border-top: 1px solid rgba(238, 241, 232, 0.16);
  margin-top: 32px;
  padding-top: 20px;
  color: #C5CCC0;
}

/* ---- Reduced Motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body.ostov *,
  body.ostov *::before,
  body.ostov *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
