@font-face {
  font-family: 'Inter-Regular';
  src: url('../fonts/Inter/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-main: 'Inter-Regular', Arial, sans-serif;

  --fs-h1: 40px;
  --fs-h2: 22px;
  --fs-base: 16px;

  --border: #c7c7c7;
  --primary-color: #f0813a;
  --secondary-color: #47242e;
  --bg: #f6f7f7;
  --bg2: #efefef;
  --header-color: #1e2230;
  --gap: 24px;
  --container: 1280px;
}

/* ==============================
   RESET / BASE
   ============================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  line-height: 1.5;
  background-color: var(--bg);
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
}

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

h1,
h2,
h3 {
  color: var(--secondary-color);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: var(--fs-h1); }
h2, h3 { font-size: var(--fs-h2); }

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(54, 99, 250, 0.9);
}

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

/* ==============================
   BUTTONS
   ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 97px;
  width: fit-content;
  height: 32px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary,
.btn--primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transition: opacity 0.3s ease;
}

.btn-primary:hover,
.btn--primary:hover {
  opacity: 0.85;
}

.btn--lg {
  padding: 14px 22px;
}

/* ==============================
   LAYOUT
   ============================== */

.wrapper {
  width: 100%;
  max-width: var(--container);
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  position: relative;
  flex: 1 0 auto;
}

.container.top__header,
.container.footer,
.breadcrumbs,
.breadcrumbs--overlay,
.factory-about-section,
.factory-advantages-section,
.factory-video-section,
.factory-awards-section,
.factory-cta-section,
.content-library,
.content-access,
.where-buy-intro,
.where-buy-section {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

/* ==============================
   HEADER
   ============================== */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
}

.container.top__header,
.container.footer {
  width: 100%;
  min-height: 64px;
  display: flex;
  flex-direction: row;
}

.container.top__header {
  background: #ffffff0d;
  backdrop-filter: blur(64px);
}

.container.sub__header {
  display: flex;
  align-items: center;
  height: 42px;
  margin-top: 8px;
}

nav.products_menu {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--primary-color);
  border-radius: 10px;
}

.products_menu .header-menu,
#second_menu,
.header-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.products_menu .header-menu a,
#second_menu a {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.4px;
}

a.logo-link {
  display: flex;
  align-items: center;
  padding-left: 10px;
  padding-right: 40px;
  margin-right: 40px;
}

img.logo,
img.custom-logo {
  height: 50px;
}

div.header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

ul.header-menu {
  display: flex;
  flex-direction: row;
  gap: var(--gap);
}

.header li { list-style: none; }

ul.header-menu a {
  color: var(--secondary-color);
  font-size: var(--fs-base);
  font-weight: 500;
  transition: opacity 0.3s ease;
}

nav.header-nav a:hover,
ul.header-menu a:hover {
  opacity: 0.7;
}

ul#second_menu {
  display: flex;
  align-items: center;
  height: 42px;
  padding-right: 8px;
}

ul#second_menu li {
  height: 100%;
  padding: 0 15px;
  transition: background-color 0.3s ease;
}

ul#second_menu a {
  display: flex;
  align-items: center;
  height: 100%;
  color: #fff;
  text-transform: uppercase;
}

ul#second_menu li:hover {
  background-color: color-mix(in srgb, var(--primary-color), white 30%);
}

ul#second_menu > li:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

/* dropdown */
.header-menu li { position: relative; }

.header-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: none;
  padding: 8px 0;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 50;
}

.header-menu li:hover > .sub-menu { display: block; }

.header-menu .sub-menu li {
  height: auto;
  padding: 0;
}

.header-menu .sub-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--secondary-color);
  white-space: nowrap;
}

#second_menu .sub-menu a { color: var(--secondary-color); }

.menu-link-disabled { cursor: default; }

/* controls */
.header-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: -8px;
}

.header-btn .btn { height: 40px; }

a.btn.logout span { color: var(--primary-color); }

.header-btn .btn.login,
a.btn.logout {
  background: #fff;
  transition: background-color 0.3s ease;
}

.header-btn .btn.login:hover,
a.btn.logout:hover {
  background: var(--bg2);
}

div.btn-search {
  border-radius: 8px;
  padding: 10px 16px;
}

.btn-search {
  display: flex;
  gap: 6px;
  margin-right: 50px;
  padding: 6px;
  color: var(--primary-color);
  font-size: var(--fs-base);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.header-btn .btn-search:hover { background: #ffece0; }

.btn-search::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  -webkit-mask: url('../images/icons/search.svg') no-repeat center;
  mask: url('../images/icons/search.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.header-search-form { display: none; }

.search-active .header-search-form {
  display: flex;
  position: relative;
  width: 100%;
  margin-right: 50px;
}

.search-active .header-nav,
.search-active .btn-search { display: none; }

.header-search-field {
  width: 100%;
  min-height: 40px;
  padding: 10px 16px 10px 40px;
  background: #ffece0;
  color: var(--secondary-color);
  font-size: var(--fs-base);
  font-weight: 500;
  font-family: var(--font-main);
  border: none;
  border-radius: 8px;
}

.header-search-submit { display: none; }

.search_icon-close {
  position: absolute;
  top: calc(50% - 6px);
  right: 15px;
  z-index: 2;
  width: 12px;
  height: 12px;
  cursor: pointer;
  background-color: var(--primary-color);
  -webkit-mask: url('../images/icons/icon-close.svg') no-repeat center;
  mask: url('../images/icons/icon-close.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* overlay header (единый для внутренних страниц) */
.header--overlay {
  position: relative;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
}

.admin-bar .header--overlay { top: 32px; }

.header--overlay .container.top__header {
  position: relative;
  min-height: 102px;
  padding: 10px 16px 0;
  background: transparent;
  backdrop-filter: none;
}

.header--overlay a.logo-link {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  border: 0;
  z-index: 2;
}

.header--overlay .header-btn {
  position: absolute;
  top: 24px;
  right: 16px;
  margin: 0;
  z-index: 2;
}

.header--overlay .header-search-form {
  position: absolute;
  top: 24px;
  left: 16px;
  z-index: 2;
  display: flex;
  width: 320px;
  margin: 0;
}

.header--overlay .btn-search { display: none; }

.header--overlay .header-nav {
  position: relative;
  width: 100%;
  padding-top: 60px;
  display: flex;
  justify-content: center;
}

.header--overlay .header-menu {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.header--overlay .header-menu li {
  height: auto;
  padding: 0;
}

.header--overlay .header-nav .header-menu a,
.header--overlay .header-menu .sub-menu a {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.2;
  color: var(--secondary-color);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.header--overlay img.logo,
.header--overlay img.custom-logo {
  height: 44px;
}

.header--overlay .header-search-field {
  height: 24px;
  line-height: 24px;
  padding: 6px 40px;
  background: #f0f0f0;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  box-shadow: none;
  font-size: 14px;
}

.header--overlay .header-search-field::placeholder {
  color: #666666;
  opacity: 1;
}

.header--overlay .search_icon-close {
  right: 14px;
  top: calc(50% - 6px);
  width: 12px;
  height: 12px;
  background-color: #999999;
}

/* ==============================
   BREADCRUMBS
   ============================== */

.breadcrumbs,
.breadcrumbs--overlay {
  max-width: var(--container);
  margin: 0 auto 6px;
  font-size: 14px;
  line-height: 1.4;
  color: #7d7d7d;
}

.breadcrumbs a,
.breadcrumbs--overlay a {
  color: #7d7d7d;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs--overlay a:hover {
  color: var(--secondary-color);
}

.breadcrumbs span,
.breadcrumbs--overlay span {
  color: #7d7d7d;
}

/* ==============================
   FOOTER
   ============================== */

footer {
  margin-top: auto;
  padding: 20px 0;
  background: var(--secondary-color);
}

footer p,
footer a {
  font-size: 12px;
  color: #fff;
}

div#footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: inherit;
}

footer img.logo {
  filter: brightness(0) invert(1);
  border: none;
}

/* ==============================
   NEWS
   ============================== */

section.news {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.items_news {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

section.news .all_news {
  display: flex;
  justify-content: space-between;
}

section.news .all_news .btn {
  font-size: 12px;
  color: var(--secondary-color);
  transition: background-color 0.3s ease;
}

section.news .all_news .btn:hover {
  background-color: var(--bg2);
}

.item_news_link {
  flex: 1;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.item_news_link:hover { opacity: 0.7; }

.item_news {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 10px 10px 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.item_news span.item_news_cat_name,
span.sku {
  width: max-content;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--border);
  border: 1px solid var(--border);
  border-radius: 5px;
}

.item_news_title {
  width: 100%;
  min-height: 44px;
  margin: 10px 0 5px;
  padding-bottom: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border);
}

.item_news p {
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12px;
  line-height: 1.45;
  color: #7d7d7d;
  font-weight: 500;
}

/* ==============================
   BANNER (старый блок секции banner)
   ============================== */

section.banner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 15px;
  grid-row-gap: 15px;
}

.ban {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.ban::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #313131 0%, transparent 30%);
}

.title-ban {
  position: relative;
  z-index: 2;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.3s ease;
}

a.ban:hover .title-ban { opacity: 0.6; }

.main-banner-slider {
  grid-area: 1 / 1 / 3 / 5;
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
}

.main-banner-slider .main-banner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.65s ease;
}

.main-banner-slider .main-banner.is-active {
  z-index: 3;
  transform: translateX(0);
  pointer-events: auto;
}

.main-banner-slider .title-ban {
  position: absolute;
  left: 15px;
  bottom: 15px;
  z-index: 5;
}

.banner-slider-controls {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.banner-slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 20px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.banner-slider-btn span {
  position: relative;
  top: -2px;
}

body:not(.logged-in) .banner {
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 500px;
}

body:not(.logged-in) .main-banner-slider {
  grid-area: 1 / 1 / 2 / 6;
  height: 500px;
}

.ban2 { grid-area: 1 / 5 / 2 / 7; aspect-ratio: 16 / 9; }
.ban3 { grid-area: 2 / 5 / 3 / 7; aspect-ratio: 16 / 9; }

/* ==============================
   INFORMATION
   ============================== */

section.information {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
}

section.information:not(.product) div.information_main { width: 85%; }

section.information p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

section.information .information_items { width: 20%; }

section.information .information_item {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: 20px;
  border: 1px solid #ffd3b8;
  border-radius: 15px;
}

section.information h3 {
  font-size: var(--fs-h2);
  color: #f0813a;
}

/* ==============================
   PRODUCTS
   ============================== */

section.new_products,
section.catalog-product {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

span.product-badge {
  position: absolute;
  z-index: 2;
  width: max-content;
  padding: 5px 10px;
  font-size: 12px;
  color: #fff;
  border-radius: 5px;
}

span.product-badge.novinka {
  background-image: linear-gradient(to top, #e6b980 0%, #eacda3 100%);
}

section.new_products .products-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

section.catalog-product .products-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

section.new_products a.product-item,
section.catalog-product a.product-item {
  position: relative;
  overflow: hidden;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
}

section.new_products .product-item-img,
section.catalog-product .product-item-img {
  position: relative;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

section.new_products .product-item-img img,
section.catalog-product .product-item-img img {
  max-width: 100%;
  min-height: 212px;
  object-fit: contain;
}

section.new_products .product-item h3,
section.catalog-product .product-item h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

section.new_products span.sku,
section.catalog-product span.sku {
  position: absolute;
  right: 0;
  z-index: 2;
  background: #fff;
}

section.new_products a.product-item .open-product,
section.catalog-product a.product-item .open-product {
  position: absolute;
  left: 0;
  bottom: -52px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background-color: var(--primary-color);
  transition: bottom 0.5s ease;
}

section.new_products a.product-item:hover .open-product,
section.catalog-product a.product-item:hover .open-product {
  bottom: 0;
}

section.new_products a.product-item .open-product::before,
section.catalog-product a.product-item .open-product::before {
  content: "";
  position: absolute;
  top: -15px;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  border-radius: 100%;
}

section.new_products .product-hover-gallery,
section.catalog-product .product-hover-gallery,
section.search-page .product-hover-gallery {
  position: relative;
  height: 212px;
  overflow: hidden;
  background: #fff;
}

section.new_products .product-hover-gallery .product-hover-gallery__image,
section.catalog-product .product-hover-gallery .product-hover-gallery__image,
section.search-page .product-hover-gallery .product-hover-gallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s ease;
}

section.new_products .product-hover-gallery .product-hover-gallery__image.active,
section.catalog-product .product-hover-gallery .product-hover-gallery__image.active,
section.search-page .product-hover-gallery .product-hover-gallery__image.active {
  opacity: 1;
}

/* ==============================
   FORMS
   ============================== */

input,
button,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--secondary-color);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s ease;
}

/* ==============================
   COOPERATION (базовый стиль)
   ============================== */

section.cooperation {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 350px;
  padding: 0 80px;
  background: url("../images/ceh.png") no-repeat center;
  border: 1px solid var(--border);
  border-radius: 15px;
}

section.cooperation div.title-cooperation { width: 50%; }

section.cooperation h2 {
  margin-bottom: 20px;
  font-size: 40px;
  color: #393939;
}

section.cooperation form {
  display: flex;
  width: 50%;
  gap: 15px;
}

/* ==============================
   SEARCH PAGE
   ============================== */

section.search-page.new_products h1 { position: relative; }

section.search-page.new_products h1.page-title::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  display: block;
  width: 100px;
  height: 100px;
  background-image: url('../images/cat/search-cat.png');
  background-size: contain;
}

/* =========================================
   PAGE: ABOUT COMPANY / FACTORY
   ========================================= */

.page-hero,
.factory-about-section,
.factory-advantages-section,
.factory-video-section,
.factory-awards-section,
.factory-cta-section {
  width: 100%;
  max-width: 1280px;
  margin: 10px auto;
  padding: 0;
}

.container.sub__header + .page-hero { margin-top: 10px; }

/* ---------- Hero ---------- */

.page-hero { position: relative; }

.page-hero__bg {
  width: 100%;
  height: 330px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
}

.page-hero__content {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: flex-start;
}

.about-hero {
  --hero-w: 520px;
  width: var(--hero-w);
  max-width: 60%;
  padding: 28px 28px 24px;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(2px);
  background: transparent;
}

.page-hero .about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.66) 45%,
    rgba(0, 0, 0, 0.34) 100%
  );
}

.page-hero .about-hero > * {
  position: relative;
  z-index: 1;
}

.about-hero__title {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.2;
  color: #fff;
}

.about-hero__lead {
  margin: 0 0 14px;
  font-size: 22px;
  color: #ffb184;
}

.about-hero__text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.92;
}

.about-stats {
  position: absolute;
  left: calc(24px + var(--hero-w) + 16px);
  right: 24px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(3, 220px);
  gap: 16px;
  justify-content: start;
}

.stat-card {
  position: relative;
  min-height: 72px;
  padding: 14px 16px 14px 56px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  opacity: 0.98;
}

.stat-card__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  object-fit: contain;
}

.stat-card__num {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  color: #f0813a;
}

.stat-card__label {
  font-size: 16px;
  line-height: 1.3;
  color: #666;
}

/* ---------- About section ---------- */

.factory-about-section__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start;
  width: 100%;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.factory-about-section__text { color: #2f2f2f; }

.factory-about-section__title,
.factory-advantages-section__title,
.factory-video-section__title,
.factory-awards-section__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: #222;
}

.factory-about-section__line,
.factory-advantages-section__line,
.factory-video-section__line {
  width: 42px;
  height: 3px;
  margin-bottom: 24px;
  background: #f0813a;
  border-radius: 999px;
}

.factory-about-section__text p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: #3d3d3d;
}

.factory-about-section__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.factory-about-section__image {
  overflow: hidden;
  background: #f4f4f4;
  border-radius: 18px;
}

.factory-about-section__image img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.factory-about-section__image:hover img { transform: scale(1.02); }

/* ---------- Advantages ---------- */

.factory-advantages-section__inner {
  width: 100%;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.factory-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.factory-adv-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: 24px 22px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.factory-adv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.factory-adv-card__icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  object-fit: contain;
}

.factory-adv-card__title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
}

.factory-adv-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #444;
}

/* ---------- Video ---------- */

.factory-video-section__inner {
  width: 100%;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.factory-video-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.factory-video-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
  padding: 18px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 18px;
}

.factory-video-card__media video {
  width: 100%;
  display: block;
  background: #000;
  border-radius: 14px;
}

.factory-video-card__zoom {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.factory-video-card__content h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.factory-video-card__content p {
  margin: 0;
  color: #555;
  line-height: 1.55;
}

/* ---------- Awards ---------- */

.factory-awards-section__inner {
  width: 100%;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Основная раскладка: 3 части в одну линию */
.factory-awards-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  width: 100%;
}

.factory-awards-panel__award {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 1 360px;
  min-width: 0;
}

.factory-awards-panel__medal { /* если где-то всё ещё используется "звезда" */
  width: 78px;
  height: 78px;
  min-width: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #b88a1b;
  background: linear-gradient(135deg, #f5d46c, #c99617);
  border-radius: 50%;
  box-shadow: inset 0 2px 8px rgba(255,255,255,.35);
}

/* новый логотип */
.factory-awards-panel__medal-img {
  width: 78px;
  height: 78px;
  min-width: 78px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
}

.factory-awards-panel__text {
  max-width: 260px;
  font-size: 16px;
  line-height: 1.45;
  color: #333;
}

.factory-awards-panel__certs {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.factory-awards-panel__cert {
  display: block;
  width: 140px;
  height: 193px;
  flex: 0 0 140px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.factory-awards-panel__cert:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.factory-awards-panel__cert img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.factory-awards-panel__gost {
  margin-left: auto;
  flex: 0 0 520px;
  max-width: 520px;
  min-height: 180px;
  padding: 28px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.factory-awards-panel__gost-title {
  margin-bottom: 14px;
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
}

.factory-awards-panel__gost-text {
  max-width: 360px;
  font-size: 17px;
  line-height: 1.45;
  color: #444;
}

/* ---------- CTA ---------- */

.factory-cta-section__inner {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* бежевый градиент слева -> прозрачный вправо */
.factory-cta-section__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(246, 238, 226, 0.98) 0%,
    rgba(246, 238, 226, 0.78) 40%,
    rgba(246, 238, 226, 0.35) 50%,
    rgba(246, 238, 226, 0.00) 55%
  );
}

.factory-cta-section__content {
  position: relative;
  z-index: 2;
  max-width: 430px;
  padding: 28px 30px;
  background: transparent;
  box-shadow: none;
  border-radius: 22px;
}

.factory-cta-section__content h2 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.1;
  color: var(--secondary-color);
}

.factory-cta-section__content p {
  margin: 0 0 20px;
  color: #4b4b4b;
}

.factory-cta-section__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.factory-cta-section__secondary {
  color: var(--secondary-color);
  background: #fff;
  border: 1px solid #ddd;
}

/* ==============================
   CONTENT PAGE
   ============================== */

.content-library,
.content-access {
  width: 100%;
  max-width: var(--container);
  padding: 0 16px;
  margin: 12px auto 32px;
}

.content-library__intro {
  position: relative;
  overflow: hidden;
  max-width: var(--container);
  margin: 0 0 38px;
  padding: 34px 40px;
  background:
    radial-gradient(circle at top right, rgba(240, 129, 58, 0.16) 0, rgba(240, 129, 58, 0) 34%),
    radial-gradient(circle at bottom left, rgba(71, 36, 46, 0.10) 0, rgba(71, 36, 46, 0) 38%),
    linear-gradient(135deg, #fff8f3 0%, #ffffff 58%, #fff6ef 100%);
  border: 1px solid rgba(240, 129, 58, 0.18);
  border-radius: 28px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.content-library__intro::before,
.content-library__intro::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.content-library__intro::before {
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  background: rgba(240, 129, 58, 0.10);
  filter: blur(8px);
}

.content-library__intro::after {
  left: -60px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  background: rgba(71, 36, 46, 0.06);
  filter: blur(10px);
}

.content-library__title {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--secondary-color);
}

.content-library__title::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 14px;
  background: var(--primary-color);
  border-radius: 999px;
}

.content-library__text {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #4b4b4b;
}

.content-access__inner {
  padding: 28px 36px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.content-access__title {
  margin: 0 0 16px;
  font-size: 40px;
}

.content-access__text {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.content-access__btn { margin: 0 auto; }

.content-library__grid {
  display: grid;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-rows: 230px 230px;
  grid-template-areas:
    "catalogs leaflets instructions"
    "catalogs posters instructions";
  gap: 28px;
  align-items: stretch;
}

.content-tile {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 230px;
  overflow: hidden;
  background-color: #2d6f90;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.content-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  opacity: 0.98;
}

.content-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(49, 49, 49, 0.65) 0%, rgba(49, 49, 49, 0) 45%);
}

.content-tile__title {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.content-tile--catalogs { grid-area: catalogs; }
.content-tile--leaflets { grid-area: leaflets; }
.content-tile--posters { grid-area: posters; }
.content-tile--instructions { grid-area: instructions; }

/* ==============================
   WHERE TO BUY PAGE
   ============================== */

.where-buy-page { gap: 16px; }

.where-buy-intro,
.where-buy-section {
  width: 100%;
  max-width: 1280px;
  margin: 10px auto;
  padding: 0;
}

.where-buy-intro__inner,
.where-buy-section__inner {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 28px 32px;
}

.where-buy-intro__title,
.where-buy-section__title {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--secondary-color);
}

.where-buy-intro__text {
  max-width: 900px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #4b4b4b;
}

.where-buy-section__title {
  font-size: 28px;
  margin-bottom: 24px;
}

.where-buy-topline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
}

.where-buy-topline__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.where-buy-topline__item span {
  font-size: 14px;
  color: #7a7a7a;
}

.where-buy-topline__item a {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
}

.where-buy-list {
  display: flex;
  flex-direction: column;
}

.where-buy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid #e6e6e6;
}

.where-buy-row:first-child { padding-top: 0; }
.where-buy-row:last-child { border-bottom: 0; padding-bottom: 0; }

.where-buy-row__left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.where-buy-row__name {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  color: #1f1f1f;
}

.where-buy-row__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.where-buy-row__links a {
  font-size: 16px;
  color: var(--secondary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.where-buy-row__right a {
  font-size: 22px;
  font-weight: 500;
  color: var(--secondary-color);
  white-space: nowrap;
}

/* ==============================
   TEMPLATE-SPECIFIC TWEAKS
   (О компании: плотнее расстояния и баннер как в Коллекциях)
   ============================== */

.page-template-page-about-factory .wrapper,
.page-template-page-overlay-header .wrapper {
  gap: 8px;
}

.page-template-page-about-factory .page-hero,
.page-template-page-about-factory .factory-about-section,
.page-template-page-about-factory .factory-advantages-section,
.page-template-page-about-factory .factory-video-section,
.page-template-page-about-factory .factory-awards-section,
.page-template-page-about-factory .factory-cta-section,
.page-template-page-overlay-header .page-hero,
.page-template-page-overlay-header .factory-about-section,
.page-template-page-overlay-header .factory-advantages-section,
.page-template-page-overlay-header .factory-video-section,
.page-template-page-overlay-header .factory-awards-section,
.page-template-page-overlay-header .factory-cta-section {
  margin-top: 0;
  margin-bottom: 0;
}

/* Баннер О компании — как на Коллекциях */
.page-template-page-about-factory .page-hero__bg,
.page-template-page-overlay-header .page-hero__bg {
  height: 520px;
  border-radius: 18px;
}

@media (min-width: 1400px) {
  .page-template-page-about-factory .page-hero__bg,
  .page-template-page-overlay-header .page-hero__bg {
    height: 720px;
  }
}

@media (max-width: 992px) {
  .page-template-page-about-factory .page-hero__bg,
  .page-template-page-overlay-header .page-hero__bg {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .page-template-page-about-factory .page-hero__bg,
  .page-template-page-overlay-header .page-hero__bg {
    height: 380px;
    border-radius: 12px;
  }
}

/* Убрать тени у секций на странице О компании */
.page-template-page-about-factory .factory-about-section__inner,
.page-template-page-about-factory .factory-advantages-section__inner,
.page-template-page-about-factory .factory-video-section__inner,
.page-template-page-about-factory .factory-awards-section__inner,
.page-template-page-about-factory .factory-cta-section__inner,
.page-template-page-overlay-header .factory-about-section__inner,
.page-template-page-overlay-header .factory-advantages-section__inner,
.page-template-page-overlay-header .factory-video-section__inner,
.page-template-page-overlay-header .factory-awards-section__inner,
.page-template-page-overlay-header .factory-cta-section__inner {
  box-shadow: none;
}



/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1150px) {
  .about-stats {
    grid-template-columns: repeat(3, 180px);
  }
}

@media (max-width: 1100px) {
  .factory-about-section__inner {
    grid-template-columns: 1fr;
  }

  .factory-advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .factory-video-card {
    grid-template-columns: 1fr;
  }

  /* awards stack */
  .factory-awards-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .factory-awards-panel__certs {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .factory-awards-panel__gost {
    margin-left: 0;
    max-width: none;
    flex: none;
  }
}

@media (max-width: 992px) {
  :root {
    --fs-h1: 34px;
    --fs-h2: 20px;
  }

  .header--overlay .header-search-form {
    width: 220px;
  }

  .header--overlay img.logo,
  .header--overlay img.custom-logo {
    height: 40px;
  }

  .about-hero {
    --hero-w: 460px;
    width: var(--hero-w);
  }

  .about-stats {
    left: auto;
    right: 24px;
    bottom: 16px;
    justify-content: center;
    grid-template-columns: repeat(2, 220px);
  }

  .content-library__intro {
    padding: 28px 28px;
    margin-bottom: 34px;
  }

  .content-library__title,
  .where-buy-intro__title {
    font-size: 34px;
  }

  .content-library__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
    grid-template-areas:
      "catalogs instructions"
      "leaflets leaflets"
      "posters posters";
  }

  .content-tile { min-height: 220px; }

  .where-buy-section__title { font-size: 24px; }

  .where-buy-topline {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .where-buy-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .where-buy-row__right a { white-space: normal; }
}

@media (max-width: 782px) {
  .admin-bar .header--overlay { top: 46px; }
}

@media (max-width: 768px) {
  :root {
    --fs-h1: 28px;
    --fs-h2: 20px;
  }

  .header--overlay a.logo-link,
  .header--overlay .header-btn,
  .header--overlay .header-search-form {
    position: static;
    display: flex;
    width: 100%;
    margin: 6px 0;
    transform: none;
    justify-content: center;
  }

  .header--overlay .header-btn { justify-content: flex-end; }

  .header--overlay .header-nav {
    width: 100%;
    padding-top: 20px;
  }

  .header--overlay .header-search-form { width: 100%; }

  .page-hero__bg {
    height: 380px;
    border-radius: 12px;
  }

  .page-hero__content { padding: 16px; }

  .about-hero {
    width: auto;
    max-width: 100%;
  }

  .about-hero__title { font-size: 28px; }

  .about-stats {
    left: 16px;
    right: 16px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .stat-card { padding-left: 52px; }
  .stat-card__icon { width: 26px; height: 26px; }

  .factory-about-section,
  .factory-advantages-section,
  .factory-video-section,
  .factory-awards-section,
  .factory-cta-section,
  .content-library,
  .content-access,
  .where-buy-intro,
  .where-buy-section {
    margin: 10px auto;
    padding: 0 12px;
  }

  .factory-about-section__inner,
  .factory-advantages-section__inner,
  .factory-video-section__inner,
  .factory-awards-section__inner,
  .where-buy-intro__inner,
  .where-buy-section__inner {
    padding: 20px;
    border-radius: 18px;
  }

  .factory-about-section__gallery { grid-template-columns: 1fr; }

  .factory-about-section__image img { height: 220px; }

  .factory-advantages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .factory-adv-card {
    min-height: auto;
    padding: 20px 18px;
  }

  .factory-adv-card__title,
  .factory-video-card__content h3 {
    font-size: 20px;
  }

  .factory-cta-section__inner {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .factory-cta-section__content {
    max-width: 100%;
    padding: 20px 18px;
    border-radius: 18px;
  }

  .factory-cta-section__content h2 { font-size: 28px; }

  .factory-awards-panel__cert {
    width: 110px;
    height: 152px;
    flex-basis: 110px;
  }

  .factory-awards-panel__gost {
    min-height: 150px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .factory-awards-panel__gost-title { font-size: 42px; }
  .factory-awards-panel__gost-text { font-size: 16px; }

  .content-library__intro {
    padding: 22px 18px;
    border-radius: 20px;
    margin-bottom: 26px;
  }

  .content-library__title { font-size: 28px; }

  .content-library__title::after {
    width: 46px;
    height: 3px;
    margin-top: 10px;
  }

  .content-library__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 220px 220px 220px;
    grid-template-areas:
      "catalogs"
      "leaflets"
      "posters"
      "instructions";
    gap: 18px;
  }

  .content-tile {
    min-height: 220px;
    border-radius: 22px;
  }

  .content-tile__title {
    left: 18px;
    bottom: 18px;
    font-size: 20px;
  }

  .where-buy-intro__title { font-size: 28px; }

  .where-buy-section__title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .where-buy-row { padding: 18px 0; }
  .where-buy-row__name { font-size: 18px; }
  .where-buy-row__right a { font-size: 18px; }
}

.page-template-page-about-factory .page-hero__bg,
.page-template-page-overlay-header .page-hero__bg {
  position: relative; /* нужно для ::before */
}

.page-template-page-about-factory .page-hero__bg::before,
.page-template-page-overlay-header .page-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  /* тёмный градиент слева -> прозрачный вправо */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.62) 34%,
    rgba(0, 0, 0, 0.28) 52%,
    rgba(0, 0, 0, 0.00) 68%
  );
}

/* 2) Контент (текст) поверх градиента */
.page-template-page-about-factory .page-hero__content,
.page-template-page-overlay-header .page-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* 3) Убираем "тёмное окно" у about-hero: делаем прозрачным */
.page-template-page-about-factory .page-hero .about-hero,
.page-template-page-overlay-header .page-hero .about-hero {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Если ранее делали градиент через about-hero::before — выключаем его */
.page-template-page-about-factory .page-hero .about-hero::before,
.page-template-page-overlay-header .page-hero .about-hero::before {
  display: none;
}

/* 4) Читаемость текста на градиенте */
.page-template-page-about-factory .about-hero__title,
.page-template-page-about-factory .about-hero__text,
.page-template-page-overlay-header .about-hero__title,
.page-template-page-overlay-header .about-hero__text {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.page-template-page-about-factory .about-hero__lead,
.page-template-page-overlay-header .about-hero__lead {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* ===== Баннер О фабрике: градиент слева на баннере, без тёмного окна ===== */

/* Градиент рисуем поверх фоновой картинки */
.page-hero__bg {
  position: relative;
}

.page-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  /* тёмный градиент слева -> прозрачный вправо */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.62) 34%,
    rgba(0, 0, 0, 0.28) 52%,
    rgba(0, 0, 0, 0.00) 68%
  );
}

/* Убираем "тёмное окно" полностью */
.page-hero .about-hero {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Если тёмная подложка была сделана через псевдо-элемент — отключаем */
.page-hero .about-hero::before,
.page-hero .about-hero::after {
  display: none;
}

/* Текст читаемый поверх градиента */
.page-hero .about-hero__title,
.page-hero .about-hero__lead,
.page-hero .about-hero__text {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* ===== О фабрике: убрать ВСЕ тени под блоками/карточками ===== */

.page-template-page-about-factory .factory-about-section__inner,
.page-template-page-about-factory .factory-advantages-section__inner,
.page-template-page-about-factory .factory-video-section__inner,
.page-template-page-about-factory .factory-awards-section__inner,
.page-template-page-about-factory .factory-cta-section__inner,
.page-template-page-overlay-header .factory-about-section__inner,
.page-template-page-overlay-header .factory-advantages-section__inner,
.page-template-page-overlay-header .factory-video-section__inner,
.page-template-page-overlay-header .factory-awards-section__inner,
.page-template-page-overlay-header .factory-cta-section__inner {
  box-shadow: none;
}

/* тени у карточек внутри секций */
.page-template-page-about-factory .stat-card,
.page-template-page-about-factory .factory-adv-card,
.page-template-page-about-factory .factory-video-card,
.page-template-page-about-factory .factory-awards-panel__cert,
.page-template-page-about-factory .factory-awards-panel__gost,
.page-template-page-overlay-header .stat-card,
.page-template-page-overlay-header .factory-adv-card,
.page-template-page-overlay-header .factory-video-card,
.page-template-page-overlay-header .factory-awards-panel__cert,
.page-template-page-overlay-header .factory-awards-panel__gost {
  box-shadow: none;
}

/* убрать “ховер”-тени, чтобы не возвращались при наведении */
.page-template-page-about-factory .stat-card:hover,
.page-template-page-about-factory .factory-adv-card:hover,
.page-template-page-about-factory .factory-awards-panel__cert:hover,
.page-template-page-overlay-header .stat-card:hover,
.page-template-page-overlay-header .factory-adv-card:hover,
.page-template-page-overlay-header .factory-awards-panel__cert:hover {
  box-shadow: none;
}

.where-buy-page-v2 {
  gap: 18px;
}

.where-buy-block {
  width: 100%;
}

.where-buy-h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  margin: 0;
}

.where-buy-h2 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  margin: 0 0 18px;
}

.where-buy-divider {
  height: 4px;
  width: 100%;
  border-radius: 999px;
  background: var(--primary-color);
  margin: 6px 0 10px;
}

.where-buy-subtitle {
  margin: 18px 0 10px;
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--secondary-color);
}

.where-buy-rows {
  display: flex;
  flex-direction: column;
}

.where-buy-row-v2 {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 24px;
  padding: 22px 6px;
  border-bottom: 1px solid rgba(71, 36, 46, 0.18);
}

.where-buy-row-v2:first-child {
  padding-top: 8px;
}

.where-buy-row-v2__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.3;
}

.where-buy-row-v2__right {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: start;
}

.where-buy-item span {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  color: rgba(71, 36, 46, 0.65);
  margin-bottom: 4px;
}

.where-buy-item a {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--secondary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.where-buy-text {
  font-size: var(--fs-base);
  color: rgba(71, 36, 46, 0.85);
}

.where-buy-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.where-buy-links a {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--secondary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* адаптив */
@media (max-width: 992px) {
  .where-buy-row-v2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .where-buy-h2 {
    font-size: 28px;
  }
  .where-buy-row-v2 {
    padding: 18px 2px;
  }
}