/* ===== Переменные темы (пока покрывают меню) ===== */

/* div {
  border: 1px solid red;
} */

:root {
  --nav-bg: #efefef;
  --pill-bg: #ffffff;
  --nav-text: #c7c7c7;
  --nav-text-active: #ff8a2a;
  --theme-btn: #e6e3e3;
  --theme-btn-hover: #222;
}
[data-theme="dark"] {
  --nav-bg: #242424;
  --pill-bg: #3a3a3f;
  --nav-text: rgba(255, 255, 255, 0.6);
  --nav-text-active: #ff8a2a;
  --theme-btn: rgba(255, 255, 255, 0.55);
  --theme-btn-hover: #fff;
}
a.logo {
  max-width: 260px;
}

a.logo img {
  width: 100%;
  height: auto;
}
.sfoot__logo img {
  max-width: 100%;
  height: auto;
}

/* ===== Тултип праздничного логотипа ===== */
.logo[data-tip],
.sfoot__logo[data-tip] {
  position: relative;
  display: inline-block;
}
.logo[data-tip]::after,
.sfoot__logo[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translate(-50%, 4px);
  padding: 8px 14px;
  border-radius: 8px;
  background: #ff8a2a;
  color: #fff;
  font: 600 16px/1.2 "Akrobat", Arial, sans-serif;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}
.logo[data-tip]:hover::after,
.sfoot__logo[data-tip]:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* в футере тултип над логотипом */
.sfoot__logo[data-tip]::after {
  top: auto;
  bottom: calc(100% + 10px);
}
.hero-info {
  position: static;
}
.page-home .hero-info {
  position: absolute;
  z-index: 9999;
  left: 0;
  right: 0;
  background-color: #24242454;
  backdrop-filter: blur(10px);
  width: 100%;
}
.my-container {
  max-width: 1440px;
  margin: 0 auto 60px;
  padding: 0;
  width: 100%;
}
.icons-block {
  width: 100%;
  max-width: 1440px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  height: auto;
  margin: 60px auto 40px;
}
@media (max-width: 900px) {
  .icons-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Плиточный каталог на главной (.cat-tiles): 6 в ряд, дальше 4/3/2/1 */
.cat-tiles {
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.cat-tiles .icons-cat {
  width: auto;
}
@media (max-width: 1200px) {
  .cat-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  .cat-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .cat-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* иконки */
.icons {
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
}
.icons img {
  width: 70px;
  height: 70px;
}
.icons p {
  font-size: 18px;
  text-align: left;
  line-height: 26px;
  margin-top: 20px;
  max-width: 280px;
  font-weight: 600;
}

.accent {
  font-size: 28px;
  text-align: left;
  position: relative;
  margin: 60px 0 0;
}
.accent span {
  font-weight: 700;
}
.lines {
  background-image: url(../img/lines.png);
  width: 100%;
  max-width: 450px;
  height: 21px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
  margin-left: -60px;
}
.ads {
  width: 100%;
  height: auto;
}

.banner-1440 {
  background-image: url(../img/banner-bg.jpg);
  width: 100%;
  max-width: 1440px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 120px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.ban-h1 {
  font-size: 42px;
  color: #ff8a2a;
  font-weight: 300;
}
.ban-h2 {
  font-size: 24px;
  color: #fff;
  margin: 0 80px;
}
.ban-un {
    font-size: 14px;
    color: #ffffff;
    font-weight: 300;
    margin: 44px 0 0;
}
.orange-btn {
  background-color: #ff8a2a;
  color: #242424;
  padding: 14px 80px;
  text-align: center;
  max-width: 360px;
  width: 360px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  border: 1px solid #ff8a2a;
  cursor: pointer;
  font-size: 16px;
  font-family: "Akrobat", Arial, sans-serif;
  border-radius: 40px;
}
.orange-btn-sm {
  background-color: #ff8a2a;
  color: #242424;
  font-size: 14px;
  padding: 14px 0;
  text-align: center;
  max-width: 220px;
  width: 220px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  border-radius: 40px;
}
.orange-btn:hover {
  background-color: #f4f4f4;
  border: 1px solid #000;
}
.orange-btn-sm:hover {
  background-color: #f4f4f4;
}

.orange-btn .arrow,
.orange-btn-sm .arrow {
  transition: transform 0.3s ease;
}

.orange-btn:hover .arrow,
.orange-btn-sm:hover .arrow {
  transform: translateX(8px);
}
.icons-cat {
  width: 234px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px 10px;
  text-align: center;
  margin-bottom: 7px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #242424;
  border: 1px solid #d3d4d4;
}
.icons-cat:hover {
  opacity: 0.5;
}
.icons-cat p {
  height: 40px;
  width: 100%;
  pointer-events: none;
}
#ico-025 {
  background-image: url(../img/icon/001.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-026 {
  background-image: url(../img/icon/002.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-027 {
  background-image: url(../img/icon/003.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-028 {
  background-image: url(../img/icon/004.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-001 {
  background-image: url(../img/icon/005.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-002 {
  background-image: url(../img/icon/006.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-003 {
  background-image: url(../img/icon/007.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-004 {
  background-image: url(../img/icon/008.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-005 {
  background-image: url(../img/icon/009.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-006 {
  background-image: url(../img/icon/010.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-007 {
  background-image: url(../img/icon/011.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-008 {
  background-image: url(../img/icon/012.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-009 {
  background-image: url(../img/icon/013.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-010 {
  background-image: url(../img/icon/014.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-011 {
  background-image: url(../img/icon/015.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-012 {
  background-image: url(../img/icon/016.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-013 {
  background-image: url(../img/icon/017.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-014 {
  background-image: url(../img/icon/018.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-015 {
  background-image: url(../img/icon/019.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-016 {
  background-image: url(../img/icon/020.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-017 {
  background-image: url(../img/icon/021.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-018 {
  background-image: url(../img/icon/022.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-019 {
  background-image: url(../img/icon/023.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-020 {
  background-image: url(../img/icon/024.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-021 {
  background-image: url(../img/icon/025.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-022 {
  background-image: url(../img/icon/026.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-023 {
  background-image: url(../img/icon/027.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ico-024 {
  background-image: url(../img/icon/028.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.product-info {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 40px;
  flex-wrap: wrap;
}

.product-tabs-switcher {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.product-tab-btn {
  flex: 1 1 220px;
  min-width: 220px;
  text-align: center;
}

.dop {
  width: 100%;
  max-width: 1440px;
  margin: 20px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 26px;
  background: #fff7ef;
  border: 1px solid #f4d3b0;
}
.dop svg {
  flex-shrink: 0; /* ключевое — не сжимать */
  width: 24px; /* дублируем в CSS, чтобы перебить любые внешние правила */
  height: 24px;
}
.dop p {
  color: #242424;
  margin-right: 20px;
  font-size: 18px;
}
.dop a {
  color: #242424;
}
/* =======================================================
   МОБИЛЬНАЯ ШАПКА (≤980): бургер + поиск-иконка,
   панели выпадают вниз
   ======================================================= */

/* иконки бургер/поиск в ряду навигации */
.nav-burger,
.nav-search__toggle {
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  color: var(--theme-btn, #fff);
  cursor: pointer;
}
.nav-burger:hover,
.nav-search__toggle:hover {
  opacity: 0.6;
}
.nav-burger {
  display: none;
}
.nav-search {
  display: none;
  position: static;
}
.nav-search__toggle {
  display: flex;
}

@media (max-width: 980px) {
  .nav-inner > a:not(.cart-link),
  .nav-pill {
    display: none;
  }
  .nav-info {
    display: none !important;
  }
  .nav-burger {
    display: flex;
  }
  .nav-search {
    display: inline-flex;
  }
  .my-header-block > div:not(.head-contact) {
    display: none;
  } /* десктоп-поиск */
}

/* --- Общая выпадающая панель (меню и поиск) --- */
.nav-drawer,
.nav-search__sheet {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
}
.nav-drawer.is-open,
.nav-search.is-open .nav-search__sheet {
  visibility: visible;
}

.nav-drawer__overlay,
.nav-search__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-drawer.is-open .nav-drawer__overlay,
.nav-search.is-open .nav-search__overlay {
  opacity: 1;
}

.nav-drawer__panel,
.nav-search__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #242424;
  transform: translateY(-100%);
  transition: transform 0.32s ease;
  max-height: 100vh;
  overflow-y: auto;
}
.nav-drawer.is-open .nav-drawer__panel,
.nav-search.is-open .nav-search__panel {
  transform: translateY(0);
}

/* заголовок панели: подпись + крестик */
.nav-drawer__head,
.nav-search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-drawer__title,
.nav-search__title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-drawer__close,
.nav-search__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.nav-drawer__close:hover,
.nav-search__close:hover {
  color: #f2851a;
}

/* меню: пункты в колонки */
.nav-drawer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 20px 26px;
}
.nav-drawer__links a {
  padding: 12px 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-drawer__links a:hover,
.nav-drawer__links a.active {
  color: #f2851a;
}
@media (max-width: 560px) {
  .nav-drawer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .nav-drawer__links {
    grid-template-columns: 1fr;
  }
}

/* поиск: крупное поле по центру */
.nav-search__body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 20px 32px;
}
.nav-search__body .search-form-header {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}
.nav-search__body .search-input {
  width: 100%;
  height: 52px;
  font-size: 16px;
}
.nav-search__body .lupa,
.nav-search__body .search-clear {
  top: 50%;
  transform: translateY(-50%);
}
.nav-search__body .search-btn {
  top: 50%;
  transform: translateY(-50%);
}

/* ===== Меню с плашкой + переключатель темы ===== */
/* Полоса-фон на всю ширину */
.nav {
  width: 100%;
  margin: 0;
  /* background: var(--nav-bg); */
  transition: background 0.4s ease;
}

/* Содержимое меню — 1450 по центру */
.nav-inner {
  position: relative;
  max-width: 1450px;
  margin: 0 auto 4px;
  display: flex;
  flex-direction: row;
  align-items: center;
  /* gap: 4px; */
  padding: 6px;
  /* border-left: 1px solid #c7c7c7;
  border-right: 1px solid #c7c7c7;
  border-bottom: 1px solid #c7c7c7; */
}
.nav a {
  position: relative;
  z-index: 2;
  padding: 4px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--nav-text);
  text-decoration: none;
  transition: color 0.3s ease;
  border-left: 1px solid #c7c7c7;
}
.nav a.active {
  color: var(--nav-text-active);
}

/* Плашка, едущая под пунктами */
.nav-pill {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  background: var(--pill-bg);
  opacity: 0;
  z-index: 1;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    width 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.3s ease,
    background 0.4s ease;
}

.nav .cart-link {
  margin-left: auto;
  position: relative;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-btn);
  transition: color 0.3s ease;
  border: none;
}
.nav .cart-link:hover {
  opacity: 0.5;
}
.cart-badge {
  position: absolute;
  top: -1px;
  right: 5px;
  min-width: 20px;
  height: 20px;
  width: 20px;
  padding: 7px 1px;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 8px;
  text-align: center;
  pointer-events: none;
}
[data-theme="light"] .cart-badge {
  background: transparent;
}
.cart-badge[hidden] {
  display: none;
}

.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--theme-btn);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease;
}
.theme-btn:hover {
  opacity: 0.5;
}
.theme-icon {
  position: relative;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.theme-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.4s ease;
}
.theme-icon .sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}
.theme-icon .moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}
[data-theme="dark"] .theme-icon .sun {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}
[data-theme="dark"] .theme-icon .moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}
[data-theme="dark"] .page-product .cn-crumbs-sticky {
  background: #242424;
}
[data-theme="dark"] .dop {
  background: #696868;
}
[data-theme="dark"] .dop p {
  color: #ffffff;
}
[data-theme="dark"] .dop a {
  color: #ffffff;
}
[data-theme="dark"] .substanceCard__mark {
  background: #553e2c;
  color: #fff;
}
.hero {
  width: 100%;
  height: 850px;
  background-image: url(../img/hero-1920.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  margin: 0 auto;
}

.hero-info {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-color: #242424bd;
  backdrop-filter: blur(10px);
  width: 100%;
}
.hero-info-wrap {
  width: 100%;
  height: auto;
}
.hero-info-inner {
  max-width: 1440px;
  width: 100%;
  margin: 20px auto 10px;
}

.my-header-block {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 0;
  margin: 0 auto;
}

.head-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.head-contact-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  margin-right: 20px;
}

.head-phone {
  font-size: 20px;
  font-weight: 300;
  text-decoration: none;
  color: #fff;
}

.head-mail {
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
  color: #fff;
  margin-top: 6px;
}
.head-phone:hover,
.head-mail:hover {
  opacity: 0.5;
}

.hero-block {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 540px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 260px;
}

.hero-block-info {
  width: 100%;
  max-width: 500px;
}
.hero-block-info h1 {
  color: #fff;
  font-size: 90px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 90px;
}
.hero-block-info h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin: 40px 0;
  line-height: 36px;
}

.tw-years {
  width: 320px;
  height: 200px;
  background-image: url(../img/20-years.png);
  background-position: top center;
  background-repeat: no-repeat;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  text-align: left;
  padding: 0 20px 20px 40px;
  font-size: 24px;
}
.tw-years-sm {
  display: none;
}
.top-filters__wrap {
  width: 100%;
  height: auto;
  background-color: #fff;
  min-height: 60px;
  padding: 10px 30px;
  margin-bottom: 20px;
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
body.page-catalog-list {
  background: #efefef;
}
body.page-catalog {
  background: #fff;
}
.links {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}
.links a {
  color: #242424;
  margin: 0 10px;
}

.utp {
  width: 100%;
  max-width: 1440px;
  height: 495px;
  margin: 0 auto;
  background-image: url(../img/utp.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
}
.utp-info-all {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  margin-right: 40px;
}
.utp-info {
  width: 680px;
  height: auto;
  background-color: #ffffff14;
  backdrop-filter: blur(14px);
  padding: 28px 40px;
  margin-bottom: 18px;
}
.utp-info-txt {
  font-size: 36px;
  color: #fff;
  font-weight: 600;
  line-height: 40px;
}
.utp-info-txt span {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 20px;
}
.utp-info p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}
.utp-info hr {
  opacity: 0;
  padding: 3px 0;
}

.siz {
  padding: 70px 0 80px;
}

.siz,
.siz * {
  box-sizing: border-box;
}

.siz__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.siz__title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #4a4a4a;
}

.siz__sub {
  margin: 0 0 34px;
  font-size: 19px;
  font-weight: 700;
  color: #333;
}

.siz__cols {
  display: grid;
  grid-template-columns: 532px minmax(0, 1fr);
  gap: 21px;
  align-items: start;
  margin: 40px auto 0;
}

.siz__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 532/483;
  object-fit: cover;
}

/* ---- аккордеон ---- */
.siz__acc {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.siz__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 66px;
  padding: 14px 36px 14px 24px;
  font: inherit;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  color: #333;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.2s;
  font-weight: 600;
}

.siz__head:hover {
  border-color: #cfcfcf;
}
.siz__head:focus-visible {
  outline: 2px solid #f58220;
  outline-offset: 2px;
}

.siz__icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1.5px solid #f58220;
  border-radius: 50%;
  transition: transform 0.28s ease;
}

.siz__icon::before,
.siz__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #f58220;
  transform: translate(-50%, -50%);
}

.siz__icon::before {
  width: 12px;
  height: 1.5px;
}
.siz__icon::after {
  width: 1.5px;
  height: 12px;
}

.siz__item.is-open .siz__icon {
  transform: rotate(45deg);
}

.siz__panel {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  border: 1px solid transparent;
  background: transparent;
  transition:
    grid-template-rows 0.28s ease,
    margin-top 0.28s ease,
    border-color 0.28s ease;
}

.siz__panel-in {
  overflow: hidden;
}

.siz__item.is-open .siz__panel {
  grid-template-rows: 1fr;
  margin-top: 4px;
  border-color: #e4e4e4;
  background: #f5f5f5;
}

.siz__panel p {
  margin: 0;
  padding: 26px 40px 28px 28px;
  font-size: 18px;
  line-height: 1.65;
  color: #4a4a4a;
}

#cookie_note {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: auto;
  max-width: 100%;
  border-radius: 20px;
  border: 1px solid #ff8a2a;
  background-color: #565654;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  gap: 40px;
}

.cook-txt a {
  color: #fff;
}

.cook-txt a:hover {
  opacity: 0.5;
}

.cookie_accept {
  width: 200px;
  height: 40px;
  cursor: pointer;
  border-radius: 20px;
  border: none;
  background-color: #ff8a2a;
}

.cookie_accept:hover {
  opacity: 0.5;
}

.cook-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.cook-txt p {
  font-size: 16px;
  color: #fff;
  line-height: 24px;
  padding: 0;
  margin: 0;
}

.cookie {
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
}

@media (min-width: 576px) {
  #cookie_note.show {
    display: flex;
  }
}

@media (max-width: 910px) {
  #cookie_note {
    left: 15px;
  }
}

@media (max-width: 575px) {
  #cookie_note.show {
    display: block;
    text-align: left;
  }

  .cookie_accept {
    margin-top: 20px;
  }

  .cook-txt p {
    font-size: 14px;
    color: #fff;
    line-height: 20px;
    padding: 0;
    margin: 0;
  }

  .cookie {
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
  }
}

/* ---- адаптив ----
   1920 → блок 1440px по центру
   1440 → отступы 40px
    960 → картинка над аккордеоном
    680 → отступы 20px
    480 → отступы 10px                       */

@media (max-width: 1439px) {
  .hero-info-inner,
  .nav-inner,
  .hero-block,
  .my-container,
  .utp,
  .siz__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1200px) {
  a.logo {
    max-width: 200px;
  }
  a.orange-btn-sm {
    width: auto;
    height: auto;
    padding: 8px 24px;
  }
}

@media (max-width: 980px) {
  .page-home h2 {
    text-align: center;
    font-size: 32px;
  }
  .page-home h3 {
    text-align: center;
    margin-bottom: 4px;
    font-size: 24px;
    font-weight: 400;
  }
  .hero {
    display: flex;
    align-items: flex-end;
  }
  .tw-years {
    position: absolute;
    right: 0;
    top: 200px;
  }
  .hero-block {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 460px;
    background-color: #000000a1;
    padding: 20px 0;
  }
  .hero-block-info {
    width: 100%;
    max-width: 100%;
  }
  .hero-block-info h1 {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 60px;
    text-align: center;
  }
  .hero-block-info h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto;
    line-height: 36px;
    text-align: center;
    margin-bottom: 20px;
  }
  .hero-block-info .orange-btn {
    margin: 0 auto;
  }
  .page-home .categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .my-container a.orange-btn {
    margin: 0 auto;
  }
}
@media (max-width: 960px) {
  .siz {
    padding: 56px 0 64px;
  }
  .siz__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .siz__img {
    aspect-ratio: 16/9;
  }
  .utp-info-all {
    margin-right: 0;
  }
  .utp-info {
    padding: 20px;
    width: auto;
  }
  .tw-years {
    bottom: 180px;
    top: auto;
  }
}

@media (max-width: 680px) {
  .siz {
    padding: 44px 0 52px;
  }
  .siz__inner {
    padding: 0 20px;
  }
  .siz__title {
    font-size: 24px;
  }
  .siz__sub {
    font-size: 17px;
    margin-bottom: 26px;
  }
  .siz__head {
    min-height: 0;
    padding: 16px 20px;
    font-size: 15px;
    gap: 14px;
  }
  .siz__icon {
    width: 24px;
    height: 24px;
  }
  .siz__panel p {
    padding: 20px;
    font-size: 14px;
  }
  .banner-1440 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }
  .ban-h2 {
    font-size: 24px;
    color: #fff;
    margin: 0 80px;
    padding: 10px 0;
  }
  .orange-btn {
    margin-bottom: 10px;
  }
  .head-contact a.orange-btn-sm {
    display: none;
  }
  .head-contact-link {
    margin-right: 0;
  }

  .hero-block {
    height: auto;
  }
  .hero-block-info h2 {
    padding: 0 40px;
  }
  .page-home .container {
    margin: 40px auto 20px;
  }

  .utp {
    background-position: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding-top: 160px;
    background-image: url(../img/utp-sm.jpg);
  }
  .utp-info {
    padding: 20px;
    width: auto;
    width: 100%;
  }
  .utp-info-all .orange-btn {
    margin: 0 auto 20px;
  }
  .tw-years {
    bottom: 230px;
    top: auto;
    border: none;
  }
  .links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
@media (max-width: 540px) {
  .tw-years {
    position: absolute;
    right: 10px;
    top: auto;
    bottom: 200px;
    width: 240px;
    font-size: 18px;
    height: 150px;
    text-align: center;
    background-size: contain;
  }
  .hero-block-info h1 {
    font-size: 40px;
  }
  .dop p {
    color: #242424;
    margin-right: 0;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .page-home .categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 10px auto 0;
    gap: 4px;
  }
  .siz__inner {
    padding: 0 10px;
  }
  .siz__title {
    font-size: 21px;
  }
  .siz__head {
    padding: 14px 14px;
    font-size: 14px;
  }
  .siz__icon {
    width: 22px;
    height: 22px;
  }
  .siz__panel p {
    padding: 16px 14px;
  }
  .hero-block-info h1 {
    font-size: 30px;
  }
  .hero-block-info h2 {
    font-size: 20px;
    line-height: 24px;
  }
  .page-home h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .lines {
    margin-left: 0;
  }
  .hero-block-info .orange-btn {
    margin: 0 auto;
    max-width: 100%;
  }
  .page-home .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-home h3 {
    margin-bottom: 0;
    font-size: 18px;
  }
  .icons-block {
    margin: 20px auto 0;
  }
  section.siz {
    padding: 0;
  }
  .siz__cols {
    margin: 20px auto;
  }
  .accent {
    font-size: 24px;
    text-align: center;
    position: relative;
    margin: 20px auto 0;
  }
  .utp-info-txt {
    font-size: 20px;
  }
  .utp-info-txt span {
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 0;
    line-height: 18px;
  }
  .utp-info p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  .icons p {
    font-size: 16px;
    line-height: 20px;
    margin-top: 10px;
  }
  .icons-block {
    gap: 4px;
  }
  .icons-cat {
    margin-bottom: 0;
  }
  .tw-years {
    position: absolute;
    right: 10px;
    top: auto;
    bottom: 160px;
    width: 240px;
    font-size: 18px;
    height: 150px;
    text-align: center;
    background-size: contain;
  }
  .hero-info-inner {
    margin: 0 auto 6px;
  }
  #ver {
    margin-bottom: 0;
  }
  .icons img {
    width: 40px;
    height: 40px;
  }
  .hero-block-info h2 {
    font-size: 20px;
    line-height: 24px;
    padding: 0 10px;
  }
  .nav-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-info-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero {
    width: 100%;
    height: 680px;
  }
  .tw-years {
    display: none;
  }
  .tw-years-sm {
    display: block;
    position: absolute;
    right: 10px;
    top: 47%;
  }
  .dop {
    max-width: 96%;
  }
}
@media (max-width: 400px) {
  .icons p {
    font-size: 14px;
    line-height: 18px;
  }
  .utp-info p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
  .banner-1440 {
    width: 100%;
    border-radius: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
    background-position: right;
  }
  .banner-1440 a.orange-btn {
    max-width: 100%;
    width: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .siz__panel,
  .siz__icon {
    transition: none;
  }
}

.nav-info {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: stretch;
}

.nav-info-trigger {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 20px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--nav-text);
  background: transparent;
  border: none;
  border-left: 1px solid #c7c7c7;
  cursor: pointer;
  transition: color 0.3s ease;
}
.nav-info-trigger:hover,
.nav-info.open .nav-info-trigger,
.nav-info-trigger.active {
  color: var(--nav-text-active);
}

.nav-info-caret {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition:
    transform 0.25s ease,
    margin-top 0.25s ease;
}
.nav-info.open .nav-info-caret {
  margin-top: 2px;
  transform: rotate(-135deg);
}

.nav-info-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  background: var(--pill-bg);
  border: 1px solid #c7c7c7;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  z-index: 50;
}
.nav-info.open .nav-info-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-info-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--nav-text);
  text-decoration: none;
  white-space: nowrap;
  border: none;
  border-radius: 6px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.nav-info-menu a:hover,
.nav-info-menu a.active {
  color: var(--nav-text-active);
  background: var(--nav-bg);
}

.hero-info {
  position: relative;
  z-index: 50;
}

.nav a:not(.cart-link):hover {
  color: var(--nav-text-active);
}
