﻿/* ==========================================================================
   Фокстрот — base v3 (шрифты, скролл, сброс)
   Заменяет main.min.css на публичных страницах v3
   ========================================================================== */

@font-face {
  font-family: "OpenSans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/OpenSans-Regular.woff") format("woff");
}

@font-face {
  font-family: "OpenSans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/opensans-bold.woff") format("woff");
}

@font-face {
  font-family: "Gotham Pro";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/GothamPro-Light.woff") format("woff");
}

@font-face {
  font-family: "Gotham Pro";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/GothamPro.woff") format("woff");
}

@font-face {
  font-family: "Gotham Pro";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/GothamPro-Black.woff") format("woff");
}

body.site-v3,
body.page-home-v3 {
  overflow-x: hidden;
  font-family: "OpenSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.site-v3 ::-webkit-scrollbar,
body.page-home-v3 ::-webkit-scrollbar {
  width: 10px;
  background-color: #e8e8ea;
}

body.site-v3 ::-webkit-scrollbar-thumb,
body.page-home-v3 ::-webkit-scrollbar-thumb {
  background-color: #c20051;
  border-radius: 999px;
}

body.site-v3 .v-h,
body.page-home-v3 .v-h {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

body.site-v3 .d-n,
body.page-home-v3 .d-n {
  display: none !important;
}

/* ==========================================================================
   Фокстрот — header v3 (header-v3.css)
   ========================================================================== */

:root {
  --sh-brand: #c20051;
  --sh-dark: #1a1a1a;
  --sh-line: #e8e8ea;
  --sh-bg: #f5f5f7;
  --sh-white: #fff;
  --sh-mobile-h: 64px;
}

body {
  padding-top: 0;
}

@media (max-width: 991px) {
  body {
    padding-top: var(--sh-mobile-h);
  }
}

/* --- Desktop header --- */

.sh-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--sh-white);
  box-shadow: 0 4px 24px rgba(26, 26, 26, 0.06);
  overflow: visible;
}

.sh-top {
  background: var(--sh-dark);
  color: var(--sh-white);
  font-size: 0.8125rem;
  overflow: visible;
}

.sh-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  line-height: 1.5;
}

.sh-top__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

.sh-top__contacts a {
  color: var(--sh-white);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.5;
  transition: opacity 0.2s;
}

.sh-top__contacts a:hover {
  opacity: 0.85;
  text-decoration: none;
  color: var(--sh-white);
}

.sh-top__contacts a i {
  margin-right: 0.35rem;
  font-size: 0.75rem;
  opacity: 1;
}

.sh-top__sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

.sh-top__nav {
  display: flex;
  gap: 1.25rem;
}

.sh-top__nav a {
  color: var(--sh-white);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.5;
  transition: opacity 0.2s;
}

.sh-top__nav a:hover {
  opacity: 0.85;
  color: var(--sh-white);
  text-decoration: none;
}

.sh-main {
  position: relative;
  z-index: 3;
  overflow: visible;
  border-bottom: 1px solid var(--sh-line);
}

.sh-main__decor {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(540px, 50%);
  background: url('/assets/img/v1.png') no-repeat left center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
  border-bottom: none;
}

.sh-main .container {
  position: relative;
  z-index: 1;
}

.sh-main__inner {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(160px, 1fr) auto;
  align-items: center;
  gap: 1rem 1.25rem;
  min-height: 96px;
  padding: 0.75rem 0;
}

.sh-logo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.sh-search {
  position: relative;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  justify-self: center;
}

.sh-search input {
  width: 100%;
  height: 44px;
  padding: 0 3rem 0 1.1rem;
  border: 1px solid var(--sh-line);
  border-radius: 999px;
  background: var(--sh-bg);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.sh-search input:focus {
  outline: none;
  border-color: var(--sh-brand);
  background: var(--sh-white);
  box-shadow: 0 0 0 3px rgba(194, 0, 81, 0.12);
}

.sh-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--sh-brand);
  color: var(--sh-white);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.sh-search button:hover {
  background: #9a003f;
  transform: scale(1.04);
}

.sh-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  justify-self: end;
  position: relative;
  z-index: 5;
}

.sh-cart {
  position: relative;
  z-index: 30;
}

.sh-cart::before {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 100%;
  height: 14px;
}

.sh-phone-block {
  text-align: right;
  line-height: 1.35;
}

.sh-phone__link {
  display: block;
  color: var(--sh-dark);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}

.sh-phone__link:hover {
  color: var(--sh-brand);
  text-decoration: none;
}

.sh-phone__link--alt {
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
  margin-top: 0.15rem;
}

.sh-phone__link--alt:hover {
  color: var(--sh-brand);
}

.sh-cart__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sh-line);
  color: #888;
  font-size: 1.1rem;
  text-decoration: none;
  position: relative;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.sh-cart__btn:hover {
  border-color: var(--sh-brand);
  color: var(--sh-brand);
  text-decoration: none;
}

.sh-cart__btn--active {
  border-color: var(--sh-brand);
  color: var(--sh-brand);
  background: rgba(194, 0, 81, 0.06);
}

.sh-cart__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--sh-brand);
  color: var(--sh-white);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.sh-cart__drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  padding: 0.9rem 1rem 1rem;
  background: var(--sh-white);
  border: 1px solid var(--sh-line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  font-size: 0.875rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 300;
}

.sh-cart__drop p {
  margin: 0 0 0.4rem;
  color: var(--sh-dark);
}

.sh-cart__empty {
  color: #666;
}

.sh-cart__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  margin-top: 0.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--sh-brand);
  color: var(--sh-white) !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
}

.sh-cart__go:hover {
  background: #9a003f;
  color: var(--sh-white) !important;
}

.sh-cart:hover .sh-cart__drop,
.sh-cart:focus-within .sh-cart__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.sh-nav {
  position: relative;
  z-index: 1;
  background: var(--sh-bg);
  border-bottom: 1px solid var(--sh-line);
}

.sh-nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 46px;
}

.sh-nav__list a {
  display: block;
  padding: 0.65rem 0.5rem;
  color: var(--sh-dark);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}

.sh-nav__list a::after {
  content: '';
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--sh-brand);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.sh-nav__list a:hover {
  color: var(--sh-brand);
  text-decoration: none;
}

.sh-nav__list a:hover::after {
  transform: scaleX(1);
}

/* --- Mobile bar --- */

.sh-mobile__bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.5rem;
  height: var(--sh-mobile-h);
  padding: 0 12px;
  background: var(--sh-white);
  border-bottom: 1px solid var(--sh-line);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.sh-mobile .header-mobile-btn {
  position: relative;
  top: auto;
  transform: none;
  width: 36px;
  height: 32px;
  cursor: pointer;
  flex-shrink: 0;
}

.sh-mobile .header-mobile-btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--sh-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease, width 0.25s ease, left 0.25s ease;
}

.sh-mobile .header-mobile-btn span:nth-child(1) {
  top: 0;
}

.sh-mobile .header-mobile-btn span:nth-child(2),
.sh-mobile .header-mobile-btn span:nth-child(3) {
  top: 14px;
}

.sh-mobile .header-mobile-btn span:nth-child(4) {
  top: 28px;
}

.sh-mobile .header-mobile-btn.open span {
  background: var(--sh-brand);
}

.sh-mobile__logo {
  justify-self: center;
  text-align: center;
}

.sh-mobile__logo img {
  height: 38px;
  width: auto;
  max-width: 160px;
}

.sh-mobile__cart {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #888;
  font-size: 1.15rem;
  text-decoration: none;
  position: relative;
}

.sh-mobile__cart--active {
  color: var(--sh-brand);
}

/* --- Mobile drawer --- */

.mobile-menu.sh-drawer {
  position: fixed;
  top: var(--sh-mobile-h);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: calc(100% - var(--sh-mobile-h));
  background: var(--sh-white);
  z-index: 205;
  overflow-y: auto;
  transform: translate3d(-100%, 0, 0);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.sh-drawer.open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

.sh-drawer__search {
  position: relative;
  padding: 1rem;
  background: var(--sh-bg);
  border-bottom: 1px solid var(--sh-line);
}

.sh-drawer__search input {
  width: 100%;
  height: 44px;
  padding: 0 3rem 0 1rem;
  border: 1px solid var(--sh-line);
  border-radius: 999px;
  background: var(--sh-white);
  font-size: 1rem;
}

.sh-drawer__search input:focus {
  outline: none;
  border-color: var(--sh-brand);
}

.sh-drawer__search button {
  position: absolute;
  top: calc(1rem + 4px);
  right: calc(1rem + 4px);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--sh-brand);
  color: var(--sh-white);
}

.sh-drawer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh-drawer__list li {
  border-bottom: 1px solid var(--sh-line);
}

.sh-drawer__list a {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--sh-dark);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.sh-drawer__list a::after {
  display: none;
}

.sh-drawer__list a:hover {
  background: var(--sh-bg);
  color: var(--sh-brand);
}

.sh-drawer__services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  background: var(--sh-bg);
}

.sh-drawer__services a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem;
  border-radius: 10px;
  background: var(--sh-white);
  border: 1px solid var(--sh-line);
  color: var(--sh-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.sh-drawer__services a:hover {
  border-color: var(--sh-brand);
  color: var(--sh-brand);
}

.sh-drawer__phone {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sh-drawer__phone a {
  color: var(--sh-dark);
  font-weight: 600;
  text-decoration: none;
}

.sh-drawer__phone a i {
  color: var(--sh-brand);
  margin-right: 0.4rem;
}

/* --- Drawer backdrop --- */

.sh-drawer-backdrop {
  position: fixed;
  inset: 0;
  top: var(--sh-mobile-h);
  z-index: 204;
  background: rgba(26, 26, 26, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sh-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

body.sh-menu-open {
  overflow: hidden;
}

/* Hamburger → крестик */

.sh-mobile .header-mobile-btn.open span:nth-child(1) {
  top: 14px;
  width: 0;
  left: 50%;
}

.sh-mobile .header-mobile-btn.open span:nth-child(4) {
  top: 14px;
  width: 0;
  left: 50%;
}

.sh-mobile .header-mobile-btn.open span:nth-child(2) {
  transform: rotate(45deg);
}

.sh-mobile .header-mobile-btn.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* --- Responsive tweaks --- */

@media (max-width: 1199px) {
  .sh-logo img {
    width: 190px;
  }

  .sh-main__inner {
    grid-template-columns: minmax(140px, 180px) minmax(140px, 1fr) auto;
    gap: 0.75rem;
  }

  .sh-phone__link {
    font-size: 0.9rem;
  }

  .sh-phone__link--alt {
    font-size: 0.8rem;
  }

  .sh-nav__list a {
    font-size: 0.875rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
}

@media (min-width: 992px) {
  body {
    padding-top: 0 !important;
  }
}

/* ==========================================================================
   Фокстрот — footer v3 (footer-v3.css)
   ========================================================================== */

.sf-footer {
  --sf-brand: #c20051;
  --sf-dark: #1a1a1a;
  --sf-dark-2: #242424;
  --sf-line: rgba(255, 255, 255, 0.08);
  --sf-text: rgba(255, 255, 255, 0.72);
  --sf-text-muted: rgba(255, 255, 255, 0.45);
  --sf-white: #fff;
  margin-top: 3rem;
}

body.site-v3 .sf-footer {
  margin-top: 0;
}

.sf-footer__main {
  background: var(--sf-dark);
  color: var(--sf-text);
  padding: 3rem 0 2.5rem;
}

.sf-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 2rem 2.5rem;
}

@media (max-width: 991px) {
  .sf-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .sf-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .sf-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.sf-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.sf-footer__logo img {
  height: 44px;
  width: auto;
  opacity: 0.95;
}

.sf-footer__tagline {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--sf-text-muted);
  max-width: 280px;
}

.sf-footer__title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sf-white);
}

.sf-footer__title--sub {
  margin-top: 1.5rem;
}

.sf-footer__links,
.sf-footer__contacts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-footer__links li,
.sf-footer__contacts-list li {
  margin-bottom: 0.45rem;
}

.sf-footer__links a,
.sf-footer__contacts-list a {
  color: var(--sf-text);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: color 0.2s;
}

.sf-footer__links a:hover,
.sf-footer__contacts-list a:hover {
  color: var(--sf-white);
}

.sf-footer__contacts-list a i {
  width: 1.1rem;
  margin-right: 0.4rem;
  font-size: 0.75rem;
  color: var(--sf-brand);
}

.sf-footer__note {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--sf-text-muted);
}

.sf-footer__bottom {
  background: var(--sf-dark-2);
  border-top: 1px solid var(--sf-line);
  padding: 1rem 0;
}

.sf-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--sf-text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .sf-footer__copy {
    text-align: left;
  }
}

/* Главная — чуть больше отступ сверху после секций */

.page-home-v3 .sf-footer {
  margin-top: 0;
}

.page-home-v3 .hx-main + .sf-footer,
.page-home-v3 main + .sf-footer {
  margin-top: 0;
}

/* ==========================================================================
   Фокстрот — внутренние страницы (site-v3.css)
   body.site-v3 — всё кроме главной (.page-home-v3)
   ========================================================================== */

body.site-v3 {
  --sv-brand: #c20051;
  --sv-brand-dark: #9a003f;
  --sv-accent: #ff0018;
  --sv-dark: #1a1a1a;
  --sv-text: #3d3d3d;
  --sv-muted: #6b7280;
  --sv-line: #e8e8ea;
  --sv-bg: #f5f5f7;
  --sv-white: #ffffff;
  --sv-radius: 20px;
  --sv-radius-sm: 12px;
  --sv-shadow: 0 20px 50px rgba(26, 26, 26, 0.08);
  --sv-shadow-sm: 0 8px 24px rgba(26, 26, 26, 0.06);
  --sv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--sv-bg);
  color: var(--sv-text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Футер прижат к низу при коротком контенте (корзина, контакты и т.д.) */
body.site-v3 > .sf-footer {
  margin-top: auto;
  padding-top: 3rem;
}

/* --- Breadcrumbs --- */

body.site-v3 .breadcrumbs {
  background: transparent;
  padding: 0.75rem 0 0;
  margin-top: 0;
}

body.site-v3 .breadcrumb {
  background: var(--sv-white);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  box-shadow: var(--sv-shadow-sm);
  font-size: 0.875rem;
  flex-wrap: wrap;
}

body.site-v3 .breadcrumb-item a {
  color: var(--sv-muted);
  text-decoration: none;
  transition: color 0.2s;
}

body.site-v3 .breadcrumb-item a:hover {
  color: var(--sv-brand);
}

body.site-v3 .breadcrumb-item.active {
  color: var(--sv-dark);
  font-weight: 600;
}

body.site-v3 .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--sv-line);
  padding: 0 0.5rem;
  position: static;
  top: auto;
}

/* --- Заголовки страниц --- */

body.site-v3 .default-h2,
body.site-v3 .default-h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--sv-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.site-v3 section.catalog,
body.site-v3 section.about-us,
body.site-v3 section.installation,
body.site-v3 section.articles,
body.site-v3 section.cart,
body.site-v3 section.sample {
  padding-bottom: 3rem;
}

/* --- Контентные страницы --- */

body.site-v3 .about-us .par,
body.site-v3 section.sample > .container > .row > .col > p,
body.site-v3 .text-indent {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sv-muted);
  text-indent: 0;
}

body.site-v3 .about-us__info-block {
  background: var(--sv-white);
  border-radius: var(--sv-radius-sm);
  padding: 1.5rem;
  box-shadow: var(--sv-shadow-sm);
  height: 100%;
  transition: transform 0.3s var(--sv-ease), box-shadow 0.3s var(--sv-ease);
}

body.site-v3 .about-us__info-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--sv-shadow);
}

body.site-v3 .about-us__info-block p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

body.site-v3 .about-us__info-block strong {
  color: var(--sv-dark);
}

body.site-v3 .about-us .y-map {
  border-radius: var(--sv-radius);
  overflow: hidden;
  box-shadow: var(--sv-shadow);
}

/* --- Прайс-листы (доставка, установка) --- */

body.site-v3 .fork-def-list {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  padding: 0.5rem 0;
  box-shadow: var(--sv-shadow-sm);
  overflow: hidden;
}

body.site-v3 .fork-def-list li {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--sv-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

body.site-v3 .fork-def-list li:last-child {
  border-bottom: none;
}

body.site-v3 .fork-def-list .def-list-name {
  width: auto;
  flex: 1 1 60%;
  color: var(--sv-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

body.site-v3 .fork-def-list .def-list-value {
  width: auto;
  flex: 0 0 auto;
  text-align: right;
  color: var(--sv-brand);
  white-space: nowrap;
}

body.site-v3 .fork-def-list strong {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--sv-dark);
}

/* --- Статьи (список) --- */

body.site-v3 .all-articles {
  padding: 0;
}

body.site-v3 .articles-block {
  padding: 0;
  margin-bottom: 1.5rem;
  background: var(--sv-white);
  border-radius: var(--sv-radius-sm);
  overflow: hidden;
  box-shadow: var(--sv-shadow-sm);
  transition: transform 0.3s var(--sv-ease), box-shadow 0.3s var(--sv-ease);
  height: calc(100% - 1.5rem);
  display: flex;
  flex-direction: column;
}

body.site-v3 .articles a:hover .articles-block {
  transform: translateY(-4px);
  box-shadow: var(--sv-shadow);
}

body.site-v3 .articles-title {
  background: transparent;
  padding: 1.15rem 1.25rem 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sv-dark);
  line-height: 1.35;
  order: 2;
}

body.site-v3 .articles-img {
  order: 1;
  aspect-ratio: 16 / 10;
}

body.site-v3 .articles-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--sv-ease);
}

body.site-v3 .articles a:hover .articles-img img {
  transform: scale(1.05);
}

body.site-v3 .articles-text {
  background: transparent;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--sv-muted);
  flex: 1;
  order: 3;
}

/* --- Статья (одиночная) --- */

body.site-v3 .article {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-sm);
  padding: 2rem;
  margin-bottom: 2rem;
}

body.site-v3 .article-img {
  border-radius: var(--sv-radius-sm);
  overflow: hidden;
}

body.site-v3 .article-content {
  margin-top: 1.5rem;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sv-text);
}

body.site-v3 .article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--sv-radius-sm);
}

body.site-v3 .article-content h2,
body.site-v3 .article-content h3 {
  color: var(--sv-dark);
  font-weight: 700;
  margin-top: 1.75rem;
}

body.site-v3 .article-social-share {
  margin-top: 2rem;
  margin-right: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sv-line);
}

body.site-v3 .article-social-share a {
  background: var(--sv-dark);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

body.site-v3 .article-social-share a:hover {
  background: var(--sv-brand);
  transform: translateY(-2px);
}

body.site-v3 .article-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sv-line);
}

body.site-v3 .article-prev a,
body.site-v3 .article-next a {
  color: var(--sv-brand);
  font-weight: 600;
  text-decoration: none;
}

body.site-v3 .article-catalog-cta {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-sm);
}

body.site-v3 .article-catalog-cta a {
  background: var(--sv-bg);
  border-radius: var(--sv-radius-sm);
  padding: 0.85rem 1rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--sv-dark) !important;
  transition: background 0.2s, color 0.2s;
}

body.site-v3 .article-catalog-cta a:hover {
  background: var(--sv-brand);
  color: var(--sv-white) !important;
}

/* --- Поиск --- */

body.site-v3 .search-section {
  padding-bottom: 3rem;
}

body.site-v3 .search-form form {
  display: inline-flex;
  align-items: stretch;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background: var(--sv-white);
  border-radius: 999px;
  box-shadow: var(--sv-shadow-sm);
  overflow: hidden;
  border: 1px solid var(--sv-line);
}

body.site-v3 .search-form input[type="text"] {
  flex: 1;
  border: none;
  padding: 0.85rem 1.25rem;
  font-size: 0.9375rem;
  outline: none;
  background: transparent;
}

body.site-v3 .search-form button {
  border: none;
  background: var(--sv-brand);
  color: var(--sv-white);
  padding: 0 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

body.site-v3 .search-form button:hover {
  background: var(--sv-brand-dark);
}

/* --- SweetAlert (каталог / товар) --- */

body.site-v3 .swal2-popup .swal2-styled.swal2-confirm {
  background-color: var(--sv-brand) !important;
}

body.site-v3 .swal2-popup .swal2-styled.swal2-confirm:hover {
  background-color: var(--sv-brand-dark) !important;
}

body.site-v3 .swal2-popup .swal2-styled.swal2-cancel {
  background-color: var(--sv-bg) !important;
  color: var(--sv-dark) !important;
  border: 1px solid var(--sv-line) !important;
}

body.site-v3 .swal2-popup .swal2-styled.swal2-cancel:hover {
  background-color: var(--sv-white) !important;
  border-color: var(--sv-brand) !important;
  color: var(--sv-brand) !important;
}

/* --- Модалка «Товар в корзине» --- */

body.site-v3 .swal2-container.swal2-shown {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.site-v3 .swal2-popup.sv-cart-swal {
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius);
  padding: 2rem 1.75rem 1.5rem;
  max-width: 420px;
  width: calc(100% - 2rem);
  box-shadow: 0 24px 64px rgba(26, 26, 26, 0.18);
  text-align: center;
  font-family: "OpenSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.site-v3 .sv-cart-swal .swal2-header {
  padding: 0;
  margin: 0;
}

body.site-v3 .sv-cart-swal .swal2-icon {
  display: none !important;
}

body.site-v3 .sv-cart-swal .swal2-title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

body.site-v3 .sv-cart-swal .swal2-content,
body.site-v3 .sv-cart-swal .swal2-html-container {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--sv-text);
}

body.site-v3 .sv-cart-swal__body {
  padding: 0 0.25rem;
}

body.site-v3 .sv-cart-swal__icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto;
}

body.site-v3 .sv-cart-swal__icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(194, 0, 81, 0.14);
  animation: sv-cart-swal-pulse 2.4s ease-in-out infinite;
}

body.site-v3 .sv-cart-swal__icon {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sv-brand) 0%, var(--sv-brand-dark) 100%);
  color: var(--sv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 14px 32px rgba(194, 0, 81, 0.32);
}

body.site-v3 .sv-cart-swal__heading {
  margin: 1.15rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--sv-dark);
}

body.site-v3 .sv-cart-swal__lead {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  color: var(--sv-muted);
  line-height: 1.55;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

body.site-v3 .sv-cart-swal .swal2-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--sv-line);
}

body.site-v3 .sv-cart-swal .swal2-actions button {
  width: 100%;
  margin: 0 !important;
  float: none !important;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

body.site-v3 .swal2-popup.sv-cart-swal .swal2-confirm,
body.site-v3 .swal2-popup.sv-cart-swal .swal2-cancel {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0.9rem 1.5rem !important;
  border-radius: 999px !important;
  font-family: "OpenSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.2s var(--sv-ease), color 0.2s var(--sv-ease), border-color 0.2s var(--sv-ease), transform 0.2s var(--sv-ease), box-shadow 0.2s var(--sv-ease) !important;
}

body.site-v3 .swal2-popup.sv-cart-swal .swal2-confirm {
  background: var(--sv-brand) !important;
  color: var(--sv-white) !important;
  border: 2px solid var(--sv-brand) !important;
  box-shadow: 0 8px 24px rgba(194, 0, 81, 0.28) !important;
}

body.site-v3 .swal2-popup.sv-cart-swal .swal2-confirm:hover,
body.site-v3 .swal2-popup.sv-cart-swal .swal2-confirm:focus {
  background: var(--sv-brand-dark) !important;
  border-color: var(--sv-brand-dark) !important;
  color: var(--sv-white) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(194, 0, 81, 0.35) !important;
}

body.site-v3 .swal2-popup.sv-cart-swal .swal2-cancel {
  background: var(--sv-white) !important;
  color: var(--sv-dark) !important;
  border: 2px solid var(--sv-line) !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

body.site-v3 .swal2-popup.sv-cart-swal .swal2-cancel:hover,
body.site-v3 .swal2-popup.sv-cart-swal .swal2-cancel:focus {
  background: var(--sv-bg) !important;
  border-color: var(--sv-brand) !important;
  color: var(--sv-brand) !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}

body.site-v3 .swal2-popup.sv-cart-swal .swal2-confirm:active,
body.site-v3 .swal2-popup.sv-cart-swal .swal2-cancel:active {
  transform: scale(0.98) !important;
}

body.site-v3 .swal2-popup.sv-cart-swal .swal2-close {
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--sv-bg);
  color: var(--sv-muted);
  font-size: 1.35rem;
  line-height: 2.25rem;
  transition: background 0.2s, color 0.2s;
}

body.site-v3 .swal2-popup.sv-cart-swal .swal2-close:hover {
  background: var(--sv-line);
  color: var(--sv-dark);
  transform: none;
}

@keyframes sv-cart-swal-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.45;
  }
}

@media (min-width: 480px) {
  body.site-v3 .sv-cart-swal .swal2-actions {
    flex-direction: row;
    justify-content: stretch;
    gap: 0.75rem;
  }

  body.site-v3 .sv-cart-swal .swal2-actions button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  body.site-v3 .swal2-popup.sv-cart-swal .swal2-confirm {
    order: 2;
  }

  body.site-v3 .swal2-popup.sv-cart-swal .swal2-cancel {
    order: 1;
  }
}


/* --- Pagination --- */

body.site-v3 .catalog-pagination {
  text-align: center;
  margin: 2rem 0 1rem;
}

body.site-v3 .catalog-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
}

body.site-v3 .catalog-pagination li {
  display: inline-block;
  margin: 0;
  color: var(--sv-muted);
  font-weight: 600;
  font-size: 0.9375rem;
}

body.site-v3 .catalog-pagination li.disabled a {
  color: var(--sv-line);
  pointer-events: none;
}

body.site-v3 .catalog-pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

body.site-v3 .catalog-pagination li.active a,
body.site-v3 .catalog-pagination li a:hover {
  background: var(--sv-brand);
  color: var(--sv-white) !important;
  text-decoration: none;
}

/* --- Текстовые категории (templates/) --- */

body.site-v3 .catalog .item-block {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-sm);
  padding: 1.75rem;
}

body.site-v3 .catalog .item-block .text-indent,
body.site-v3 .catalog .item-project p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--sv-text);
  text-indent: 0;
  margin-bottom: 1rem;
}

body.site-v3 .catalog .item-block img {
  border-radius: var(--sv-radius-sm);
}

body.site-v3 .catalog .item-project ul {
  padding-left: 0;
  list-style: none;
  margin: 1.25rem 0;
}

body.site-v3 .catalog .item-project li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  line-height: 1.6;
  text-indent: 0;
}

body.site-v3 .catalog .item-project li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sv-brand);
}

/* --- Форма «Заявка на расчёт» --- */

body.site-v3 .item-project__form {
  background: var(--sv-bg);
  border-radius: var(--sv-radius-sm);
  padding: 1.75rem 1.5rem;
  margin-top: 1.5rem;
}

body.site-v3 .item-project__form ul {
  padding: 0;
  margin: 0;
}

body.site-v3 .item-project__form input {
  width: 100%;
  max-width: 360px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sv-line);
  border-radius: 999px;
  background: var(--sv-white);
  text-align: center;
  color: var(--sv-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.site-v3 .item-project__form input:focus {
  outline: none;
  border-color: var(--sv-brand);
  box-shadow: 0 0 0 3px rgba(194, 0, 81, 0.12);
}

body.site-v3 .item-project__btn {
  background: var(--sv-brand) !important;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 2.5rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

body.site-v3 .item-project__btn:hover {
  background: var(--sv-brand-dark) !important;
  transform: translateY(-1px);
}

/* --- Блок «Другие товары» --- */

body.site-v3 .item-pick-up {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-sm);
  padding: 1.75rem 1.25rem;
  clear: both;
  position: relative;
  z-index: 1;
}

body.site-v3.page-product .item-pick-up {
  margin-top: 0;
}

body.site-v3.page-product .item-pick-up + .item-pick-up {
  margin-top: 2rem;
}

body.site-v3 .pick-up-caption h5 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--sv-dark);
}

body.site-v3 .pick-up-caption p {
  color: var(--sv-muted);
  font-size: 0.9375rem;
}

body.site-v3 .item-pick-up a {
  display: block;
  text-decoration: none;
  border-radius: var(--sv-radius-sm);
  overflow: hidden;
  transition: transform 0.3s var(--sv-ease), box-shadow 0.3s;
}

body.site-v3 .item-pick-up a:hover {
  transform: translateY(-3px);
  box-shadow: var(--sv-shadow-sm);
}

body.site-v3 .item-pick-up img {
  width: 100%;
  border-radius: var(--sv-radius-sm);
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--sv-bg);
}

body.site-v3 .pick-up-text {
  padding: 0.65rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sv-dark);
}

/* --- Замер: стили в pages-v3.css (.page-froze) --- */

/* --- Сотрудничество --- */

body.site-v3 section.cooperation {
  padding-bottom: 3rem;
}

body.site-v3 section.cooperation .container > .row > .col > p,
body.site-v3 section.cooperation li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--sv-muted);
}

/* --- Карта на контактах --- */

body.site-v3 .y-map iframe {
  width: 100% !important;
  max-width: 100%;
  height: min(990px, 75vh) !important;
  min-height: 320px;
  border: 0;
  display: block;
}

/* --- Алерты --- */

body.site-v3 .alert-secondary {
  background: var(--sv-white);
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius-sm);
  color: var(--sv-muted);
}

/* --- Контакты: стили в contacts-v3.css (.page-contacts) --- */

/* ==========================================================================
   Фокстрот — типовые внутренние страницы (pages-v3.css)
   ========================================================================== */

/* --- Заголовок страницы --- */

.sv-page-hero {
  padding: 0.5rem 0 1.25rem;
}

.sv-page-hero .default-h3 {
  margin-bottom: 0;
}

.sv-page-hero__lead {
  max-width: 640px;
  margin: 0.85rem auto 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sv-muted);
}

/* --- Сервисные страницы (доставка, установка) --- */

body.site-v3.page-service section.installation,
body.site-v3.page-service section.cooperation,
body.site-v3.page-service section.sample {
  padding-bottom: 2rem;
}

body.site-v3.page-service section.installation > .container > .row > .col > p,
body.site-v3.page-service section.cooperation p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sv-text);
  max-width: 820px;
}

body.site-v3.page-service section.cooperation ul {
  padding-left: 0;
  list-style: none;
  margin: 1rem 0 0;
}

body.site-v3.page-service section.cooperation li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--sv-text);
}

body.site-v3.page-service section.cooperation a {
  color: var(--sv-brand);
  font-weight: 600;
  text-decoration: none;
}

body.site-v3.page-service section.cooperation a:hover {
  text-decoration: underline;
}

body.site-v3.page-service .sv-content-card {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-sm);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

body.site-v3.page-service .fork-def-list {
  margin-top: 0 !important;
}

/* --- Установка: двухколоночный прайс (installation-v3.css) --- */

/* --- Страница «Замер» --- */

body.site-v3.page-froze .froze-section {
  padding-bottom: 2.5rem;
}

body.site-v3.page-froze .froze-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}

@media (min-width: 992px) {
  body.site-v3.page-froze .froze-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  }
}

@media (max-width: 991px) {
  body.site-v3.page-froze .froze-layout__aside {
    order: -1;
  }
}

body.site-v3.page-froze .froze-layout__main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

body.site-v3.page-froze .froze-layout__main .sv-content-card {
  margin-bottom: 0;
}

body.site-v3.page-froze .froze-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sv-text);
  margin: 0;
}

body.site-v3.page-froze .froze-block-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--sv-dark);
  margin: 0 0 1rem;
}

body.site-v3.page-froze .froze-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.site-v3.page-froze .froze-checklist li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--sv-text);
}

body.site-v3.page-froze .froze-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(194, 0, 81, 0.12);
  border: 2px solid var(--sv-brand);
}

body.site-v3.page-froze .froze-checklist li::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.58rem;
  width: 0.45rem;
  height: 0.25rem;
  border-left: 2px solid var(--sv-brand);
  border-bottom: 2px solid var(--sv-brand);
  transform: rotate(-45deg);
}

body.site-v3.page-froze .froze-form-card {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow);
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--sv-line);
}

@media (min-width: 992px) {
  body.site-v3.page-froze .froze-form-card {
    position: sticky;
    top: 96px;
  }
}

body.site-v3.page-froze .froze-form-card__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

body.site-v3.page-froze .froze-form-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sv-brand) 0%, var(--sv-brand-dark) 100%);
  color: var(--sv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(194, 0, 81, 0.28);
}

body.site-v3.page-froze .froze-form-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sv-dark);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

body.site-v3.page-froze .froze-form-card__lead {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--sv-muted);
  margin: 0;
}

body.site-v3.page-froze .froze-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

body.site-v3.page-froze .froze-field {
  display: block;
}

body.site-v3.page-froze .froze-field__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sv-muted);
  margin-bottom: 0.4rem;
}

body.site-v3.page-froze .froze-field__input,
body.site-v3.page-froze .froze-field__textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius-sm);
  background: var(--sv-bg);
  color: var(--sv-dark);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

body.site-v3.page-froze .froze-field__input {
  border-radius: 999px;
}

body.site-v3.page-froze .froze-field__textarea {
  min-height: 96px;
  resize: vertical;
}

body.site-v3.page-froze .froze-field__input:focus,
body.site-v3.page-froze .froze-field__textarea:focus {
  outline: none;
  border-color: var(--sv-brand);
  background: var(--sv-white);
  box-shadow: 0 0 0 3px rgba(194, 0, 81, 0.12);
}

body.site-v3.page-froze .froze-form-btn {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: var(--sv-brand);
  color: var(--sv-white);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(194, 0, 81, 0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

body.site-v3.page-froze .froze-form-btn:hover {
  background: var(--sv-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 0, 81, 0.35);
}

body.site-v3.page-froze .froze-form-btn:active {
  transform: scale(0.98);
}

@media (max-width: 991px) {
  body.site-v3.page-froze .froze-form-card {
    position: static;
    top: auto;
  }
}


.sv-service-cta {
  margin: 0 0 3rem;
}

.sv-service-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(135deg, var(--sv-dark) 0%, #2a2a2a 100%);
  color: var(--sv-white);
  border-radius: var(--sv-radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--sv-shadow);
}

.sv-service-cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sv-service-cta__text strong {
  font-size: 1.0625rem;
}

.sv-service-cta__text span {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
}

.sv-service-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sv-service-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: var(--sv-brand);
  color: var(--sv-white);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.sv-service-cta__btn:hover {
  background: var(--sv-brand-dark);
  transform: translateY(-1px);
  color: var(--sv-white);
  text-decoration: none;
}

.sv-service-cta__btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.sv-service-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* --- 404 --- */

body.site-v3.page-404 .section-404 {
  padding: 3rem 0 4rem;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

body.site-v3.page-404 .page-404 {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--sv-shadow);
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

body.site-v3.page-404 .page-404 img {
  max-width: 180px;
  height: auto;
}

body.site-v3.page-404 .page-404__code {
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--sv-brand);
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

body.site-v3.page-404 .page-404__text p {
  font-size: 1.0625rem;
  color: var(--sv-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

body.site-v3.page-404 .page-404__text p:first-child {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sv-dark);
}

body.site-v3.page-404 .page-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

body.site-v3.page-404 .page-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

body.site-v3.page-404 .page-404__btn--primary {
  background: var(--sv-brand);
  color: var(--sv-white);
}

body.site-v3.page-404 .page-404__btn--primary:hover {
  background: var(--sv-brand-dark);
  color: var(--sv-white);
  transform: translateY(-1px);
  text-decoration: none;
}

body.site-v3.page-404 .page-404__btn--ghost {
  background: var(--sv-bg);
  color: var(--sv-dark);
  border: 1px solid var(--sv-line);
}

body.site-v3.page-404 .page-404__btn--ghost:hover {
  border-color: var(--sv-brand);
  color: var(--sv-brand);
  text-decoration: none;
}

/* --- О компании --- */

body.site-v3.page-about .about-us {
  padding-bottom: 3rem;
}

/* --- Статья (одиночная) --- */

body.site-v3.page-article section.article-block {
  padding-bottom: 2rem;
}

body.site-v3.page-article .article-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

body.site-v3.page-article .article-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

body.site-v3.page-article .article-prev,
body.site-v3.page-article .article-next {
  flex: 1 1 280px;
  max-width: 100%;
}

body.site-v3.page-article .article-prev a,
body.site-v3.page-article .article-next a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--sv-bg);
  border-radius: var(--sv-radius-sm);
  font-size: 0.875rem;
  line-height: 1.4;
  transition: background 0.2s, color 0.2s;
}

body.site-v3.page-article .article-prev a:hover,
body.site-v3.page-article .article-next a:hover {
  background: rgba(194, 0, 81, 0.08);
  color: var(--sv-brand);
  text-decoration: none;
}

body.site-v3.page-article .article-next {
  text-align: right;
}

body.site-v3.page-article .article-next a {
  justify-content: flex-end;
}

body.site-v3.page-article .article-social-share {
  text-align: left;
}

body.site-v3.page-article .article-social-share span {
  font-size: 0.875rem;
  color: var(--sv-muted);
  margin-right: 0.75rem;
}

/* --- Поиск --- */

body.site-v3.page-search .search-section {
  padding-bottom: 3rem;
}

body.site-v3.page-search .sv-search-panel {
  max-width: 560px;
  margin: 0 auto 2rem;
}

body.site-v3.page-search .sv-search-panel form {
  display: flex;
  align-items: stretch;
  background: var(--sv-white);
  border-radius: 999px;
  box-shadow: var(--sv-shadow-sm);
  border: 1px solid var(--sv-line);
  overflow: hidden;
}

body.site-v3.page-search .sv-search-panel input[type="text"] {
  flex: 1;
  border: none;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  outline: none;
  background: transparent;
}

body.site-v3.page-search .sv-search-panel button {
  border: none;
  background: var(--sv-brand);
  color: var(--sv-white);
  padding: 0 1.35rem;
  cursor: pointer;
  transition: background 0.2s;
}

body.site-v3.page-search .sv-search-panel button:hover {
  background: var(--sv-brand-dark);
}

body.site-v3.page-search .sv-search-meta {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--sv-muted);
}

body.site-v3.page-search .sv-search-meta strong {
  color: var(--sv-dark);
}

body.site-v3.page-search .sv-search-empty {
  text-align: center;
  background: var(--sv-white);
  border-radius: var(--sv-radius-sm);
  box-shadow: var(--sv-shadow-sm);
  padding: 2.5rem 1.5rem;
  max-width: 480px;
  margin: 0 auto;
  color: var(--sv-muted);
}

body.site-v3.page-search .search-products.col {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

body.site-v3.page-search .sv-search-empty a {
  color: var(--sv-brand);
  font-weight: 600;
  text-decoration: none;
}

body.site-v3.page-search .sv-search-empty a:hover {
  text-decoration: underline;
}

body.site-v3.page-search .catalog-pagination {
  margin-top: 2rem;
}

body.site-v3.page-articles section.articles {
  padding-bottom: 3rem;
}

body.site-v3.page-cart .cart-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

/* --- Контакты --- */

body.site-v3.page-contacts .contacts-section {
  padding-bottom: 3rem;
}

body.site-v3.page-contacts .sv-content-card {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow);
  padding: 1.75rem;
  border: 1px solid var(--sv-line);
}

body.site-v3.page-contacts .contacts-intro {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

body.site-v3.page-contacts .contacts-intro .par {
  margin: 0;
  text-indent: 0;
}

body.site-v3.page-contacts .contacts-layout.row {
  display: flex !important;
  flex-wrap: wrap !important;
  row-gap: 1.5rem;
}

body.site-v3.page-contacts .contacts-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

body.site-v3.page-contacts .contacts-card.about-us__info-block {
  margin-top: 0 !important;
  height: auto !important;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.site-v3.page-contacts .contacts-card.about-us__info-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--sv-shadow);
}

body.site-v3.page-contacts .contacts-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

body.site-v3.page-contacts .contacts-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sv-brand) 0%, var(--sv-brand-dark) 100%);
  color: var(--sv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(194, 0, 81, 0.22);
}

body.site-v3.page-contacts .contacts-card__head p {
  margin: 0 !important;
}

body.site-v3.page-contacts .contacts-card.about-us__info-block strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--sv-dark);
  line-height: 1.35;
}

body.site-v3.page-contacts .contacts-card.about-us__info-block p {
  margin-bottom: 0.5rem;
  line-height: 1.55;
  color: var(--sv-text);
}

body.site-v3.page-contacts .contacts-card.about-us__info-block p:last-child {
  margin-bottom: 0;
}

body.site-v3.page-contacts .contacts-map {
  position: sticky;
  top: 96px;
  border-radius: var(--sv-radius);
  overflow: hidden;
  box-shadow: var(--sv-shadow);
  border: 1px solid var(--sv-line);
  background: var(--sv-bg);
  min-height: 480px;
}

body.site-v3.page-contacts .contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

body.site-v3.page-contacts .contacts-footer {
  margin-top: 2.5rem;
}

body.site-v3.page-contacts .contacts-footer .par {
  text-indent: 0;
  margin-bottom: 1rem;
}

body.site-v3.page-contacts .contacts-footer .par:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  body.site-v3.page-contacts .contacts-map {
    position: static;
    top: auto;
    min-height: 300px;
  }

  body.site-v3.page-contacts .contacts-map iframe {
    min-height: 300px;
  }
}

@media (max-width: 767px) {
  .sv-service-cta__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .sv-service-cta__actions {
    justify-content: center;
  }
}

/* ==========================================================================
   Фокстрот — каталог, поиск, корзина (catalog-v3.css)
   ========================================================================== */

/* --- Сетка: сайдбар + товары --- */

body.site-v3 section.catalog .catalog-layout {
  align-items: flex-start;
}

body.site-v3 section.catalog .catalog-layout__main {
  min-width: 0;
}

body.site-v3 section.catalog .catalog-layout__sidebar {
  align-self: flex-start;
  flex: 0 0 auto;
}

/* --- Сайдбар категорий --- */

body.site-v3 .catalog-categories-block {
  background: var(--sv-white);
  border-radius: var(--sv-radius-sm);
  box-shadow: var(--sv-shadow-sm);
  padding: 1.25rem;
  max-height: calc(100vh - 180px);
  position: sticky;
  top: 100px;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
}

/* --- Фильтр по цене --- */

body.site-v3 .cat-filter {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--sv-line);
}

body.site-v3 .cat-filter__title,
body.site-v3 .cat-tree__title {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sv-muted);
  margin-bottom: 0.85rem;
}

body.site-v3 .cat-tree__title {
  margin-bottom: 0.65rem;
}

body.site-v3 .cat-filter__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0 !important;
}

body.site-v3 .cat-filter__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
}

body.site-v3 .cat-filter__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sv-muted);
  line-height: 1;
}

body.site-v3 .cat-filter__inputs input,
body.site-v3 .input-min-max-price input,
body.site-v3 .m-input-min-max-price input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--sv-bg);
  border-radius: 10px;
  border: 1px solid var(--sv-line);
  text-align: center;
  padding: 0.55rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sv-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.site-v3 .cat-filter__inputs input:focus,
body.site-v3 .input-min-max-price input:focus,
body.site-v3 .m-input-min-max-price input:focus {
  outline: none;
  border-color: var(--sv-brand);
  box-shadow: 0 0 0 3px rgba(194, 0, 81, 0.12);
}

body.site-v3 .cat-filter__slider {
  padding: 1rem 0.35rem 0.25rem;
}

body.site-v3 .slider-range-price .slider-range,
body.site-v3 .m-slider-range-price .m-slider-range {
  width: 100%;
  height: 6px;
  border: none;
  border-radius: 999px;
  background: var(--sv-line);
  margin: 0.85rem 0 0;
  cursor: pointer;
}

body.site-v3 .slider-range-price .slider-range.ui-slider,
body.site-v3 .m-slider-range-price .m-slider-range.ui-slider {
  position: relative;
}

body.site-v3 .ui-slider-range {
  height: 100% !important;
  top: 0 !important;
  transform: none;
  background-color: var(--sv-brand) !important;
  border-radius: 999px;
}

body.site-v3 .slider-range-price .ui-slider-handle,
body.site-v3 .m-slider-range-price .ui-slider-handle {
  width: 18px !important;
  height: 18px !important;
  top: 50% !important;
  margin-top: -9px !important;
  margin-left: -9px !important;
  border-radius: 50% !important;
  background: var(--sv-white) !important;
  border: 3px solid var(--sv-brand) !important;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.15) !important;
  cursor: grab;
  outline: none;
}

body.site-v3 .slider-range-price .ui-slider-handle:active,
body.site-v3 .m-slider-range-price .ui-slider-handle:active {
  cursor: grabbing;
}

/* --- Дерево категорий --- */

body.site-v3 .cat-tree {
  padding-top: 0;
}

body.site-v3 .catalog-categories ul,
body.site-v3 .product-categories,
body.site-v3 .product-categories ul {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

body.site-v3 .product-categories > li {
  margin: 0;
}

body.site-v3 .product-categories ul.children {
  display: none;
  margin: 0.15rem 0 0.35rem 0.65rem;
  padding-left: 0.65rem;
  border-left: 2px solid var(--sv-line);
}

body.site-v3 .product-categories li.active > ul.children {
  display: block;
}

body.site-v3 .product-categories li {
  position: relative;
  margin: 0.1rem 0;
}

body.site-v3 .product-categories li > a {
  display: block;
  position: relative;
  padding: 0.45rem 0.5rem 0.45rem 1.35rem;
  border-radius: 8px;
  color: var(--sv-text);
  font-size: 0.875rem;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  word-break: break-word;
}

body.site-v3 .product-categories > li > a {
  font-weight: 700;
  font-size: 0.9375rem;
}

body.site-v3 .product-categories li > a:hover {
  background: var(--sv-bg);
  color: var(--sv-brand);
}

body.site-v3 .product-categories li > a.current-cat {
  background: rgba(194, 0, 81, 0.08);
  color: var(--sv-brand);
  font-weight: 700;
}

body.site-v3 .product-categories li.has-children > a::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0.35rem;
  top: 0.55rem;
  font-size: 0.55rem;
  color: var(--sv-muted);
  transition: transform 0.2s, color 0.2s;
}

body.site-v3 .product-categories li.has-children.active > a::before {
  transform: rotate(90deg);
  color: var(--sv-brand);
}

body.site-v3 .product-categories li.has-children > a:hover::before {
  color: var(--sv-brand);
}

body.site-v3 .product-categories a.current-cat::after {
  display: none;
}

body.site-v3 .product-categories > li::before {
  display: none;
}

body.site-v3 .catalog-categories ul li {
  margin: 0;
}

body.site-v3 .catalog-categories ul li.active ul.children {
  display: block;
}

/* --- Сортировка --- */

body.site-v3 .catalog-sort {
  position: relative;
  background: var(--sv-white);
  border-radius: var(--sv-radius-sm);
  box-shadow: var(--sv-shadow-sm);
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--sv-muted);
  z-index: 5;
}

body.site-v3 .catalog-sort .selectBox {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  margin-top: 0;
  flex: 0 1 auto;
  min-width: 200px;
}

body.site-v3 .catalog-sort .valueTag {
  background: var(--sv-bg);
  border-radius: 999px;
  color: var(--sv-brand);
  font-weight: 600;
  width: auto;
  min-width: 200px;
  border: 1px solid var(--sv-line);
  cursor: pointer;
  margin-bottom: 0;
  padding: 0.5rem 2rem 0.5rem 1rem;
  position: relative;
}

body.site-v3 .catalog-sort .valueTag::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--sv-muted);
  pointer-events: none;
}

body.site-v3 .catalog-sort .valueTag:hover {
  background: var(--sv-line);
}

body.site-v3 .catalog-sort .selectMenuBox {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 100%;
  z-index: 30;
  margin: 0;
  list-style: none;
  background: var(--sv-white);
  border-radius: var(--sv-radius-sm);
  border: 1px solid var(--sv-line);
  box-shadow: var(--sv-shadow);
  padding: 0.5rem;
}

body.site-v3 .catalog-sort .selectMenuBox[hidden] {
  display: none !important;
}

body.site-v3 .catalog-sort .selectMenuBox.active {
  display: block;
}

body.site-v3 .catalog-sort .selectMenuBox > li:first-child {
  display: none;
}

body.site-v3 .catalog-sort .selectMenuBox li {
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 2px;
  transition: background 0.15s;
  cursor: pointer;
}

body.site-v3 .catalog-sort .selectMenuBox li:hover {
  background: var(--sv-bg);
}

body.site-v3 .catalog-sort .selectMenuBox li.active {
  color: var(--sv-brand);
  font-weight: 600;
}

/* --- Сетка товаров --- */

body.site-v3 .catalog-items,
body.site-v3 .search-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  justify-content: stretch;
}

@media (max-width: 1199px) {
  body.site-v3 .catalog-items,
  body.site-v3 .search-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body.site-v3 .catalog-items,
  body.site-v3 .search-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.site-v3 .catalog-items,
  body.site-v3 .search-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

body.site-v3 .card-item-wrapper {
  width: auto;
  padding: 0;
  margin-bottom: 0;
}

body.site-v3 .card-item {
  background: var(--sv-white);
  border-radius: var(--sv-radius-sm);
  border: 1px solid transparent;
  overflow: hidden;
  box-shadow: var(--sv-shadow-sm);
  transition: transform 0.3s var(--sv-ease), box-shadow 0.3s var(--sv-ease), border-color 0.3s;
}

body.site-v3 .card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sv-shadow);
  border-color: var(--sv-line);
}

body.site-v3 .card-item a {
  color: var(--sv-dark);
}

body.site-v3 .card-item a:hover {
  color: var(--sv-brand);
}

body.site-v3 .card-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sv-bg);
}

body.site-v3 .card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  max-height: none;
  transition: transform 0.4s var(--sv-ease);
}

body.site-v3 .card-item:hover .card-img img {
  transform: scale(1.03);
}

body.site-v3 .card-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0 0.25rem;
}

body.site-v3 .card-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--sv-brand);
  padding-bottom: 0.75rem;
}

body.site-v3 .card-price a {
  color: var(--sv-brand);
}

/* --- Подкатегории с картинками --- */

body.site-v3 section.catalog .row > [class*="col"] > a {
  display: block;
  height: 100%;
  text-decoration: none;
}

body.site-v3 .inter-doors-ind-block {
  position: relative;
  display: block;
  height: 100%;
  border-radius: var(--sv-radius-sm);
  overflow: hidden;
  box-shadow: var(--sv-shadow-sm);
  transition: transform 0.3s var(--sv-ease), box-shadow 0.3s var(--sv-ease);
}

body.site-v3 .inter-doors-ind-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--sv-shadow);
}

body.site-v3 .inter-doors-ind-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sv-bg);
}

body.site-v3 .inter-doors-ind-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--sv-bg);
  transition: transform 0.35s var(--sv-ease);
}

body.site-v3 .inter-doors-ind-block:hover .inter-doors-ind-img img {
  transform: scale(1.06);
}

body.site-v3 .inter-doors-ind-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: var(--sv-white);
  text-align: center;
  transform: none;
  padding: 2rem 1rem 1rem;
  text-transform: none;
  font-weight: 700;
  line-height: 1.3;
}

body.site-v3 .inter-doors-ind-block:hover .inter-doors-ind-name {
  background: linear-gradient(transparent, rgba(194, 0, 81, 0.88));
}

body.site-v3 .catalog-dop-info {
  background: var(--sv-white);
  border-radius: var(--sv-radius-sm);
  padding: 0;
  margin-bottom: 1.25rem;
  box-shadow: var(--sv-shadow-sm);
  overflow: hidden;
}

body.site-v3 .catalog-dop-info img.catalog-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  margin: 0;
}

body.site-v3 .catalog-dop-info > p {
  margin: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--sv-text);
}

@media (min-width: 992px) {
  body.site-v3 .catalog-layout__main > .catalog-dop-info,
  body.site-v3 section.catalog > .container > .row:not(.catalog-layout) .catalog-dop-info {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem);
  }
}

/* --- Моб. кнопка категорий --- */

body.site-v3 .mob-category-btn {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 45px;
  right: 25px;
  width: 50px;
  height: 50px;
  font-size: 1.15rem;
  background: var(--sv-brand);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(194, 0, 81, 0.35);
  font-weight: 600;
  z-index: 150;
  border: none;
  color: var(--sv-white);
  transition: transform 0.2s var(--sv-ease);
}

body.site-v3 .mob-category-btn:focus {
  outline: none;
}

body.site-v3 .mob-category-btn.active {
  transform: translateX(-245px);
}

body.site-v3 .mob-categories-block {
  position: fixed;
  top: 60px;
  right: 0;
  z-index: 149;
  width: 270px;
  height: calc(100% - 60px);
  overflow-y: auto;
  background: var(--sv-white);
  box-shadow: -8px 0 40px rgba(26, 26, 26, 0.12);
  border-left: 1px solid var(--sv-line);
  transform: translateX(100%);
  transition: transform 0.2s var(--sv-ease);
}

body.site-v3 .mob-categories-block.opened {
  transform: translateX(0);
}

body.site-v3 .mob-categories-block .catalog-categories-block {
  position: static;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}

body.site-v3 .catalog .alert-danger {
  background: var(--sv-white);
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius-sm);
  color: var(--sv-muted);
}

/* ==========================================================================
   Фокстрот — карточка товара (product-v3.css)
   ========================================================================== */

body.site-v3.page-product section.catalog {
  padding-bottom: 3rem;
}

body.site-v3.page-product section.catalog > .container > .row:first-of-type .default-h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-top: 0.5rem !important;
}

/* --- Основной блок --- */

body.site-v3.page-product .item-block {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-sm);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

body.site-v3.page-product .item-block > .row {
  align-items: flex-start;
}

@media (min-width: 992px) {
  body.site-v3.page-product .item-block > .row > .col-sm-4 {
    position: static;
    top: auto;
    align-self: flex-start;
  }

  body.site-v3.page-product .item-img {
    position: sticky;
    top: 92px;
    z-index: 1;
  }
}

/* --- Галерея / покупка (левая колонка) --- */

body.site-v3.page-product .item-img {
  background: var(--sv-bg);
  border-radius: var(--sv-radius-sm);
  padding: 1.25rem;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.site-v3.page-product .item-img img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

body.site-v3.page-product .item-name h1 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sv-dark);
  line-height: 1.35;
  margin: 0;
}

body.site-v3.page-product .item-price-cloth {
  font-size: 0.875rem;
  color: var(--sv-muted);
  margin-top: 0.5rem;
}

body.site-v3.page-product .item-price-cloth span {
  font-size: 1.125rem !important;
  font-weight: 800;
  color: var(--sv-dark);
}

body.site-v3.page-product .item-count {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--sv-line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--sv-white);
}

body.site-v3.page-product .item-count button {
  width: 42px;
  height: 42px;
  border: none;
  background: var(--sv-bg);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sv-dark);
  transition: background 0.2s, color 0.2s;
}

body.site-v3.page-product .item-count button:hover {
  background: var(--sv-brand);
  color: var(--sv-white);
}

body.site-v3.page-product .item-count-input {
  width: 48px;
  height: 42px;
  border: none;
  border-left: 1px solid var(--sv-line);
  border-right: 1px solid var(--sv-line);
  background: var(--sv-white);
  font-weight: 700;
  text-align: center;
}

body.site-v3.page-product .item-price-block {
  background: linear-gradient(135deg, var(--sv-bg) 0%, rgba(194, 0, 81, 0.06) 100%);
  border-radius: var(--sv-radius-sm);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border: 1px solid var(--sv-line);
}

body.site-v3.page-product .item-price-set {
  font-size: 0.875rem;
  color: var(--sv-muted);
}

body.site-v3.page-product .item-price-set p {
  margin: 0.25rem 0 0;
}

body.site-v3.page-product .item-price-block span {
  color: var(--sv-brand) !important;
  font-size: 1.75rem !important;
  font-weight: 800;
}

body.site-v3.page-product .item-to-cart {
  margin-top: 0.5rem;
}

body.site-v3.page-product .add-to-cart {
  width: 100%;
  max-width: 280px;
  background: var(--sv-brand);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.9rem 1.5rem;
  box-shadow: 0 8px 24px rgba(194, 0, 81, 0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

body.site-v3.page-product .add-to-cart:hover {
  background: var(--sv-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 0, 81, 0.35);
}

/* --- Опции (правая колонка) --- */

body.site-v3.page-product .item-chose-block {
  background: var(--sv-bg);
  border-radius: var(--sv-radius-sm);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

body.site-v3.page-product .item-chose-block p {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sv-muted);
  text-indent: 0;
  margin-bottom: 0.85rem !important;
}

body.site-v3.page-product .item-canvas-size {
  display: block;
}

body.site-v3.page-product .item-canvas-btn {
  background: var(--sv-white);
  border: 2px solid var(--sv-line);
  border-radius: var(--sv-radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  min-width: 120px;
  margin: 0 0.5rem 0.5rem 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

body.site-v3.page-product .item-canvas-btn.active,
body.site-v3.page-product .item-canvas-btn:hover {
  background: var(--sv-brand);
  border-color: var(--sv-brand);
  color: var(--sv-white);
  transform: translateY(-1px);
}

body.site-v3.page-product .item-colors,
body.site-v3.page-product .item-glasses,
body.site-v3.page-product .item-panels {
  gap: 0.65rem;
  background: transparent;
  padding: 0;
}

body.site-v3.page-product .item-color,
body.site-v3.page-product .item-glass,
body.site-v3.page-product .item-panel {
  width: 72px;
  cursor: pointer;
  transition: transform 0.2s;
}

body.site-v3.page-product .item-color:hover,
body.site-v3.page-product .item-glass:hover,
body.site-v3.page-product .item-panel:hover {
  transform: translateY(-2px);
}

body.site-v3.page-product .item-color-img,
body.site-v3.page-product .item-glass-img,
body.site-v3.page-product .item-panel-img {
  border: 3px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

body.site-v3.page-product .item-color-img img,
body.site-v3.page-product .item-glass-img img,
body.site-v3.page-product .item-panel-img img {
  width: 100%;
  display: block;
}

body.site-v3.page-product .item-color.active .item-color-img,
body.site-v3.page-product .item-glass.active .item-glass-img,
body.site-v3.page-product .item-panel.active .item-panel-img {
  border-color: var(--sv-brand);
  box-shadow: 0 0 0 2px rgba(194, 0, 81, 0.2);
}

body.site-v3.page-product .item-color-name,
body.site-v3.page-product .item-glass-name,
body.site-v3.page-product .item-panel-name {
  font-size: 0.6875rem;
  line-height: 1.3;
  color: var(--sv-muted);
  margin-top: 0.35rem;
}

body.site-v3.page-product .item-color.active .item-color-name,
body.site-v3.page-product .item-glass.active .item-glass-name,
body.site-v3.page-product .item-panel.active .item-panel-name {
  color: var(--sv-brand);
  font-weight: 700;
}

body.site-v3.page-product .item-glass-block,
body.site-v3.page-product .item-panel-block {
  height: auto;
}

body.site-v3.page-product .item-select-block {
  text-align: left;
}

body.site-v3.page-product .item-select {
  width: 100%;
  max-width: 360px;
  appearance: none;
  background: var(--sv-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius-sm);
  padding: 0.65rem 2.5rem 0.65rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sv-dark);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.site-v3.page-product .item-select:focus {
  outline: none;
  border-color: var(--sv-brand);
  box-shadow: 0 0 0 3px rgba(194, 0, 81, 0.12);
}

/* --- Описание --- */

body.site-v3.page-product .item-info {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-sm);
  padding: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  clear: both;
  display: flow-root;
  position: relative;
  z-index: 2;
}

body.site-v3.page-product .item-info > .row {
  margin-left: 0;
  margin-right: 0;
}

body.site-v3.page-product .item-info > .row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

body.site-v3.page-product .item-info h5 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--sv-dark);
  margin-bottom: 1.25rem !important;
}

body.site-v3.page-product .item-info p,
body.site-v3.page-product .item-info li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--sv-text);
}

body.site-v3.page-product .item-info img {
  max-width: 100%;
  height: auto;
  border-radius: var(--sv-radius-sm);
}

body.site-v3.page-product .dimension-img-block {
  margin-top: 1rem;
  text-align: center;
}

body.site-v3.page-product .dimension-img-block img {
  max-width: 100%;
  border-radius: var(--sv-radius-sm);
  box-shadow: var(--sv-shadow-sm);
}

/* --- Мобильная вёрстка --- */

@media (max-width: 991px) {
  body.site-v3.page-product .item-block {
    padding: 1rem;
  }

  body.site-v3.page-product .item-block > .row > .col-sm-4 {
    margin-bottom: 1.5rem;
  }

  body.site-v3.page-product .item-canvas-btn {
    width: calc(50% - 0.5rem);
    min-width: 0;
    margin-right: 0.25rem;
  }

  body.site-v3.page-product .add-to-cart {
    max-width: none;
  }

  body.site-v3.page-product .item-chose-block {
    text-align: center;
  }

  body.site-v3.page-product .item-select-block {
    text-align: center;
  }

  body.site-v3.page-product .item-select {
    margin: 0 auto;
    display: block;
  }
}
