:root {
  --red: #ffdf36;
  --red-dark: #f4c800;
  --yellow: #ffdf36;
  --dark: #111111;
  --text: #171717;
  --muted: #777777;
  --line: #e6e6e6;
  --soft: #f7f7f7;
  --footer: #f1f1f1;
  --shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  --deep-shadow: 0 12px 34px rgba(20, 24, 32, 0.18);
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "PT Sans Caption", Arial, sans-serif;
  background: #fff;
}

body.locked {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 30px));
  margin: 0 auto;
}

.top-menu {
  background: #f5f5f5;
  border-bottom: 1px solid #e9e9e9;
}

.top-menu__inner {
  min-height: 44px;
  display: flex;
  justify-content: center;
}

.top-menu nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.top-menu a {
  position: relative;
  color: #333;
}

.top-menu a::after,
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.top-menu a:hover::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(12px);
}

.header__main {
  background: #fff;
}

.header__grid {
  min-height: 86px;
  display: grid;
  grid-template-columns: 46px 270px 1fr auto auto;
  gap: 18px;
  align-items: center;
}

.hamburger {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  display: block;
  background: #333;
}

.brand,
.open-menu-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand {
  color: #101010;
}

.brand__mark {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(204, 164, 85, 0.48);
  border-radius: 8px;
  background: #091322;
  box-shadow: 0 8px 18px rgba(10, 14, 22, 0.16);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  object-position: 50% 56%;
  transform: scale(1.58);
}

.brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1;
}

.brand__text strong {
  color: #111;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand__text small {
  color: #9f7b37;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header__tagline {
  margin: 0;
  text-align: center;
  color: #333;
  font-size: 15px;
  font-weight: 700;
}

.header__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn--red {
  color: #fff;
  background: var(--red);
}

.btn--red:hover {
  background: var(--red-dark);
  box-shadow: var(--shadow);
}

.btn--light {
  color: #333;
  background: #fff;
  border-color: #d8d8d8;
}

.cart-mini {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.cart-mini::before {
  content: "";
  width: 19px;
  height: 22px;
  border: 2px solid #333;
  border-top-width: 5px;
  border-radius: 4px;
}

.cart-mini span {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 11px;
}

.contacts {
  display: grid;
  gap: 3px;
  min-width: 162px;
  font-weight: 800;
  text-align: right;
}

.contacts small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.main-nav-wrap {
  position: relative;
  border-top: 1px solid #efefef;
  background: rgba(255, 255, 255, 0.2);
}

.nav-row {
  height: 54px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
}

.search-icon {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-icon::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 6px auto 0;
  border: 2px solid #333;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  display: block;
  width: 9px;
  height: 2px;
  margin: -2px 0 0 22px;
  background: #333;
  transform: rotate(45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 100%;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 800;
}

.catalog-link {
  color: var(--red);
}

.social-dot {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #4c75a3;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.mega-menu {
  position: absolute;
  top: 54px;
  right: 0;
  left: 0;
  display: none;
  padding: 28px 0;
  background: #fff;
  box-shadow: var(--deep-shadow);
}

.mega-menu.is-open {
  display: block;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 22px;
}

.mega-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  min-height: 118px;
}

.mega-item__img,
.catalog-mini__img {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 5px 5px -5px rgba(34, 60, 80, 0.6);
}

.mega-item__img img,
.catalog-mini__img img {
  max-width: 70px;
  max-height: 70px;
  object-fit: contain;
}

.mega-item h3,
.catalog-mini h3 {
  margin: 2px 0 4px;
  font-size: 15px;
}

.mega-item small,
.catalog-mini small {
  color: var(--muted);
  font-size: 12px;
}

.mega-item ul {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.mega-item li {
  margin-bottom: 5px;
  color: #777;
  font-size: 12px;
}

.mobile-panel,
.search-overlay {
  display: none;
}

.hero-banners {
  padding: 150px 0 28px;
  background: #fff;
}

.hero-banners__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 20px;
}

.slider-card,
.side-banners a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 5px 5px -5px rgba(34, 60, 80, 0.6);
  transition: box-shadow 0.2s ease;
}

.slider-card:hover,
.side-banners a:hover,
.direction-card:hover,
.product-card:hover,
.project-card:hover {
  box-shadow: var(--shadow);
}

.slider-card {
  position: relative;
  min-height: 423px;
  background: #f2f2f2;
}

.slider-card img {
  width: 100%;
  height: 423px;
  object-fit: cover;
}

.side-banners {
  display: grid;
  gap: 18px;
}

.side-banners img {
  width: 100%;
  height: 202px;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 100px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.16);
  font-size: 48px;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-arrow--prev {
  left: 0;
}

.slider-arrow--next {
  right: 0;
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--red);
}

.catalog-search {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  padding-bottom: 24px;
}

.catalog-search__box {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr 180px 160px;
  gap: 14px;
  align-items: center;
  padding: 18px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--deep-shadow);
}

.catalog-search__box input,
.big-search input {
  width: 100%;
  height: 48px;
  border: 0;
  border-bottom: 2px solid #ddd;
  outline: 0;
  font-size: 16px;
}

.catalog-search__box small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.directions {
  padding: 30px 0 58px;
  background-image: url("https://artikul-mebel.ru/upload/cssinliner_webp/iblock/e7e/cy9gm068cwj90gxi8vernjb9gfcwwt36.webp");
  background-size: cover;
  background-position: center;
}

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

.direction-card {
  position: relative;
  min-height: 258px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
  box-shadow: 0 5px 5px -5px rgba(34, 60, 80, 0.6);
}

.direction-card img {
  width: 100%;
  height: 100%;
  min-height: 258px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.direction-card:hover img {
  transform: scale(1.04);
}

.direction-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.62));
}

.direction-card__text {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: #fff;
}

.direction-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
}

.direction-card span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  background: var(--red);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.dealer-banner,
.tender-banner {
  padding: 28px 0;
  background: #fff;
}

.dealer-banner__inner {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto 160px;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  padding: 24px 36px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(37, 38, 42, 0.9), rgba(37, 38, 42, 0.72)),
    url("https://artikul-mebel.ru/upload/cssinliner_webp/resize_cache/iblock/e8d/1600_900_1/e8d8f35bb38d3e8b2bd83d025a472037.webp");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.dealer-banner__inner--reverse {
  background:
    linear-gradient(90deg, rgba(37, 38, 42, 0.88), rgba(37, 38, 42, 0.62)),
    url("https://artikul-mebel.ru/upload/cssinliner_webp/resize_cache/iblock/bd9/1600_900_1/ydtr1z7p2uhsv4yfyvdimaahfav92v3k.webp");
  grid-template-columns: auto 1fr 160px;
}

.dealer-banner h2,
.tender-banner h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.dealer-banner p,
.tender-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.dealer-banner img,
.tender-banner img {
  align-self: end;
  max-height: 150px;
}

.section {
  padding: 55px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-title--center {
  justify-content: center;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  color: #25262a;
  font-size: 32px;
  line-height: 1.16;
}

.projects {
  background: #fff;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.project-card {
  min-width: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.project-card__img {
  height: 176px;
  background-size: cover;
  background-position: center;
}

.project-card__body {
  min-height: 160px;
  padding: 18px;
}

.project-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.project-card p {
  min-height: 42px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.date {
  color: #999;
  font-size: 12px;
}

.catalog-products {
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 458px;
  padding: 18px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card.is-hidden {
  display: none;
}

.product-card:hover {
  z-index: 2;
  transform: translateY(-2px);
}

.label-stack {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  gap: 5px;
}

.label {
  width: max-content;
  padding: 5px 8px;
  color: #fff;
  background: #2f9d50;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  text-transform: lowercase;
}

.label--new {
  background: #1ba9dc;
}

.label--minprom {
  background: linear-gradient(135deg, #e62249 0%, #005ca9 100%);
}

.label--hit {
  background: var(--red);
}

.product-card__image {
  height: 205px;
  display: grid;
  place-items: center;
}

.product-card__image img {
  max-height: 190px;
  object-fit: contain;
}

.article {
  color: #999;
  font-size: 12px;
  font-style: italic;
}

.product-card h3 {
  min-height: 48px;
  margin: 10px 0 12px;
  font-size: 15px;
  line-height: 1.35;
}

.price {
  margin-top: auto;
  font-size: 20px;
  font-weight: 900;
}

.unit {
  color: #777;
  font-size: 13px;
  font-weight: 400;
}

.wholesale {
  margin-top: 8px;
  padding: 9px 10px;
  color: #666;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 12px;
}

.wholesale b {
  color: #dc3545;
}

.buy-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  margin-top: 14px;
}

.qty {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qty button,
.qty input {
  width: 100%;
  border: 0;
  text-align: center;
  background: #fff;
}

.qty button {
  cursor: pointer;
}

.add-btn {
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--red);
  font-weight: 800;
  cursor: pointer;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.about {
  background: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: 240px 1fr 290px;
  gap: 34px;
  align-items: start;
}

.about h1 {
  margin: 0 0 18px;
  font-size: 32px;
}

.about p {
  color: #555;
  line-height: 1.72;
  text-align: justify;
}

.about-links {
  display: flex;
  gap: 22px;
  margin: 24px 0;
}

.about-links a,
.policy-links a,
.project-card a {
  border-bottom: 1px solid currentColor;
  color: #333;
  font-weight: 700;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.advantages-side {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.advantages-side div {
  position: relative;
  padding: 14px 0 14px 42px;
  border-bottom: 1px solid #eee;
  line-height: 1.35;
}

.advantages-side div::before {
  content: "✓";
  position: absolute;
  top: 11px;
  left: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.advantages {
  background: #fafafa;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.adv-grid article {
  padding: 24px 16px;
}

.adv-grid img {
  height: 88px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.adv-grid h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

.adv-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.partners {
  background: #fff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.partner-logo {
  height: 88px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo img {
  max-height: 52px;
}

.faq-section {
  background: #fafafa;
}

.faq-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 44px;
}

.faq-person {
  display: grid;
  gap: 18px;
  align-content: start;
}

.faq-person img {
  border-radius: 50%;
}

.faq h2,
.faq-grid h2 {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 22px;
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 0 18px;
  color: #666;
  font-style: italic;
  line-height: 1.62;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.catalog-bottom {
  background: #fff;
}

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

.catalog-mini {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 100px;
}

.catalog-mini__img {
  width: 100px;
  height: 100px;
}

.footer {
  padding: 44px 0 22px;
  background: var(--footer);
}

.footer-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid #dedede;
}

.footer h3 {
  margin: 0 0 14px;
  padding-left: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: #555;
  font-size: 14px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 40px;
  padding-top: 34px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand__text strong {
  font-size: 22px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 18px;
}

.footer-phone {
  color: #222 !important;
  font-size: 19px !important;
  font-weight: 900;
}

.footer-bottom p {
  color: #555;
  line-height: 1.65;
  text-align: justify;
}

.policy-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-badge {
  margin-bottom: 10px;
  padding: 13px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-weight: 800;
}

.soc {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.soc a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #4c75a3;
  border-radius: 50%;
  font-size: 11px;
}

.copyright {
  margin-top: 28px;
  color: #666;
  font-size: 13px;
}

.fly-cart {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 35;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  box-shadow: var(--deep-shadow);
  cursor: pointer;
}

.fly-cart::before {
  content: "";
  width: 26px;
  height: 30px;
  border: 3px solid #fff;
  border-top-width: 7px;
  border-radius: 5px;
}

.fly-cart span:first-child {
  position: absolute;
  top: 3px;
  right: 5px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--red);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.fly-cart span:last-child {
  position: absolute;
  right: 78px;
  width: 190px;
  display: none;
  padding: 10px 12px;
  color: #333;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
}

.fly-cart:hover span:last-child {
  display: block;
}

.modal,
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.modal {
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop,
.search-overlay::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.55);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
  padding: 30px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--deep-shadow);
}

.modal__dialog h2 {
  margin: 0;
}

.modal__dialog input,
.modal__dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  outline: 0;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 116px;
  z-index: 90;
  max-width: 340px;
  padding: 14px 18px;
  color: #fff;
  background: #25262a;
  border-radius: var(--radius);
  box-shadow: var(--deep-shadow);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.search-overlay {
  display: none;
}

.search-overlay.is-open {
  display: block;
}

.search-overlay__inner {
  position: relative;
  z-index: 1;
  margin-top: 110px;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
}

#closeSearch {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
}

.big-search {
  display: grid;
  gap: 16px;
}

.big-search div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.big-search small {
  color: var(--muted);
}

.big-search small button {
  border: 0;
  color: var(--red);
  background: transparent;
  cursor: pointer;
}

@media (max-width: 1160px) {
  .header__grid {
    grid-template-columns: 46px 250px 1fr auto;
  }

  .contacts {
    display: none;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .hero-banners {
    padding-top: 115px;
  }

  .direction-grid,
  .product-grid,
  .catalog-bottom-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .advantages-side {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .top-menu,
  .main-nav-wrap,
  .header__tagline,
  .header__actions {
    display: none;
  }

  .header__grid {
    min-height: 70px;
    grid-template-columns: 46px 1fr;
  }

  .brand {
    justify-self: center;
  }

  .brand__mark {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .brand__text strong {
    font-size: 22px;
  }

  .brand__text small {
    font-size: 10px;
  }

  .mobile-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: min(380px, 92vw);
    display: block;
    padding: 20px;
    background: #25262a;
    color: #fff;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }

  .mobile-panel.is-open {
    transform: translateX(0);
  }

  .mobile-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-panel__head img {
    max-width: 170px;
    filter: brightness(0) invert(1);
  }

  .mobile-panel__head button {
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 34px;
  }

  .mobile-search {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 8px;
    margin: 24px 0;
  }

  .mobile-search input,
  .mobile-search button {
    min-height: 42px;
    border: 0;
    border-radius: var(--radius);
    padding: 0 12px;
  }

  .mobile-search button {
    color: #fff;
    background: var(--red);
  }

  .mobile-links {
    display: grid;
  }

  .mobile-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-panel__foot {
    display: grid;
    gap: 14px;
    margin-top: 24px;
  }

  .hero-banners {
    padding-top: 24px;
  }

  .hero-banners__grid,
  .about__grid,
  .faq-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .slider-card,
  .slider-card img {
    min-height: 0;
    height: auto;
  }

  .side-banners {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-search__box {
    grid-template-columns: 1fr;
  }

  .direction-grid,
  .product-grid,
  .adv-grid,
  .partner-grid,
  .footer-menu-grid,
  .catalog-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dealer-banner__inner,
  .dealer-banner__inner--reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dealer-banner img,
  .tender-banner img {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .hero-banners__grid,
  .side-banners,
  .direction-grid,
  .product-grid,
  .adv-grid,
  .partner-grid,
  .footer-menu-grid,
  .catalog-bottom-grid,
  .advantages-side {
    grid-template-columns: 1fr;
  }

  .project-list {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .project-card {
    min-width: 0;
  }

  .section {
    padding: 42px 0;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title--center {
    align-items: center;
  }

  .section-title h2,
  .about h1 {
    font-size: 26px;
  }

  .buy-row {
    grid-template-columns: 1fr;
  }

  .fly-cart {
    width: 58px;
    height: 58px;
  }
}

/* Full catalog menu opened from the logo hamburger */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  overflow: auto;
  padding: 0;
  background: rgba(247, 247, 247, 0.94);
  color: #111;
  transform: none;
  backdrop-filter: blur(18px);
}

.mobile-panel.is-open {
  display: block;
}

.open-menu-head {
  min-height: 92px;
  display: grid;
  grid-template-columns: 250px minmax(260px, 360px) 1fr 48px 76px;
  gap: 34px;
  align-items: center;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  background: rgba(235, 235, 235, 0.92);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06);
}

.open-menu-logo .brand__mark {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.open-menu-logo .brand__text strong {
  font-size: 22px;
}

.open-menu-search {
  position: relative;
  display: block;
}

.open-menu-search input {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 4px;
  padding: 0 44px 0 18px;
  background: #fff;
  outline: 0;
}

.open-menu-search span {
  position: absolute;
  top: 8px;
  right: 14px;
  color: #d7d7d7;
  font-size: 34px;
  transform: rotate(-18deg);
}

.open-menu-head p {
  margin: 0;
  text-align: center;
  font-weight: 700;
  line-height: 1.35;
}

.open-menu-cart {
  justify-self: end;
}

.open-menu-close {
  width: 58px;
  height: 58px;
  border: 0;
  color: #666;
  background: transparent;
  font-size: 72px;
  font-weight: 200;
  line-height: 0.7;
  cursor: pointer;
}

.open-menu-body {
  width: min(1180px, calc(100% - 30px));
  margin: 0 auto;
  padding: 46px 0 70px;
}

.open-menu-catalog h2 {
  margin: 0 0 28px;
  font-size: 21px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.open-menu-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 58px;
}

.open-menu-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 92px;
}

.open-menu-card__img {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.open-menu-card__img img {
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.open-menu-card b,
.open-menu-links a {
  display: block;
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.open-menu-card small {
  display: block;
  margin-top: 7px;
  color: #111;
  font-size: 14px;
}

.open-menu-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 58px;
  margin-top: 66px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.open-menu-links > div {
  display: grid;
  gap: 22px;
  align-content: start;
}

.open-menu-links a {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.open-menu-links small {
  display: block;
  color: #333;
  font-size: 15px;
}

.open-menu-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .mobile-panel,
  .mobile-panel.is-open {
    width: auto;
    padding: 0;
    background: rgba(247, 247, 247, 0.96);
    color: #111;
    transform: none;
  }

  .open-menu-head {
    grid-template-columns: 1fr 56px;
    gap: 12px;
    min-height: auto;
    padding: 18px;
  }

  .open-menu-logo,
  .open-menu-head p,
  .open-menu-cart {
    display: none;
  }

  .open-menu-search {
    grid-column: 1;
  }

  .open-menu-close {
    grid-column: 2;
    grid-row: 1;
    width: 48px;
    height: 48px;
    font-size: 54px;
  }

  .open-menu-body {
    padding: 28px 0 42px;
  }

  .open-menu-catalog__grid,
  .open-menu-links {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .open-menu-links {
    margin-top: 34px;
  }

  .open-menu-card {
    grid-template-columns: 72px 1fr;
    min-height: 72px;
  }

  .open-menu-card__img {
    width: 72px;
    height: 72px;
  }

  .open-menu-card b,
  .open-menu-links a {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .open-menu-catalog__grid,
  .open-menu-links,
  .open-menu-bottom {
    grid-template-columns: 1fr;
  }

  .open-menu-bottom {
    display: grid;
  }
}

/* React shop polish */
.top-menu__inner {
  min-height: 62px;
}

.top-menu nav {
  gap: clamp(16px, 2.2vw, 36px);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-menu a,
.main-nav a {
  color: #111;
}

.top-menu a::after,
.main-nav a::after {
  background: var(--yellow);
}

.rainbow {
  background: linear-gradient(90deg, #006eff, #814cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.11);
  backdrop-filter: none;
}

.header__grid {
  min-height: 118px;
  grid-template-columns: 48px 280px minmax(190px, 1fr) auto 238px;
  gap: 22px;
}

.header__tagline {
  text-align: left;
  color: #111;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.btn--yellow,
.btn--red,
.add-btn {
  color: #080808;
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn--yellow:hover,
.btn--red:hover,
.add-btn:hover {
  color: #080808;
  background: var(--red-dark);
  box-shadow: 0 8px 18px rgba(255, 211, 31, 0.35);
}

.btn--light:hover {
  border-color: #111;
}

.lang-select {
  height: 42px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
  color: #111;
  font-weight: 900;
  cursor: pointer;
}

.lang-select--mobile {
  width: 100%;
  margin: 18px 0 12px;
}

.contacts {
  color: #050505;
  font-size: 28px;
  line-height: 1.1;
}

.contacts small {
  color: #111;
  font-size: 14px;
}

.cart-mini {
  border: 0;
}

.cart-mini span {
  top: 2px;
  right: 0;
  min-width: 24px;
  height: 24px;
  color: #fff;
  background: #9d9d9d;
  font-size: 13px;
}

.nav-row {
  height: 68px;
  grid-template-columns: 54px 1fr 130px;
}

.search-big {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #000;
  font-size: 52px;
  line-height: 0.8;
  transform: rotate(-18deg);
}

.main-nav {
  justify-content: flex-start;
  gap: clamp(18px, 2.2vw, 42px);
}

.main-nav a {
  font-size: 15px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.catalog-link {
  color: #111;
}

.socials-top {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
}

.socials-top span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.socials-top span:nth-child(1) {
  background: #2176e8;
}

.socials-top span:nth-child(2) {
  background: #ff3131;
}

.socials-top span:nth-child(3) {
  background: #24aeea;
}

.hero-banners {
  padding: 34px 0 28px;
}

.slider-card,
.side-banners a {
  position: relative;
  border-radius: 4px;
}

.slider-card::after,
.side-banners a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.33);
  pointer-events: none;
}

.slide-title,
.side-banners b {
  position: absolute;
  z-index: 1;
  right: 34px;
  left: 34px;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.slide-title {
  top: 50%;
  transform: translateY(-50%);
}

.side-banners b {
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(27px, 3.5vw, 42px);
}

.slider-dots button {
  width: 18px;
  height: 8px;
  border-radius: 3px;
}

.slider-dots button.is-active {
  background: var(--yellow);
}

.catalog-search {
  margin-top: 10px;
}

.catalog-search__box {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 22px 32px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.11);
}

.catalog-search__box input {
  font-size: 20px;
}

.catalog-search__box small {
  grid-column: auto;
  white-space: nowrap;
}

.direction-card span,
.advantages-side div::before,
.label--hit {
  background: var(--yellow);
  color: #111;
}

.name-element {
  min-height: 48px;
  margin: 10px 0 12px;
  color: #151515;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.product-card {
  min-height: 470px;
}

.wholesale b {
  color: #111;
}

.qty button:hover {
  background: #f2f2f2;
}

.page-hero {
  padding: 58px 0;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 12px;
  color: #111;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #666;
  font-size: 17px;
  line-height: 1.6;
}

.shop-layout {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 28px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 210px;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.filters h3 {
  margin: 0 0 10px;
}

.filters button {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  padding: 0 12px;
  background: #f6f6f6;
  color: #222;
  text-align: left;
  cursor: pointer;
}

.filters button small {
  min-width: 26px;
  display: inline-grid;
  place-items: center;
  padding: 3px 6px;
  color: #777;
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
}

.filters button.active,
.filters button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #111;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.shop-toolbar input {
  height: 48px;
  border: 1px solid var(--line);
  padding: 0 16px;
  outline: 0;
}

.shop-toolbar input:focus {
  border-color: #111;
}

.shop-toolbar span {
  color: var(--muted);
  white-space: nowrap;
}

.cart-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 116px auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.cart-item img {
  width: 110px;
  height: 88px;
  object-fit: contain;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.cart-item small,
.cart-item b {
  display: block;
  margin-top: 5px;
}

.remove {
  border: 0;
  color: #777;
  background: transparent;
  cursor: pointer;
}

.remove:hover {
  color: #000;
}

.cart-summary,
.empty-cart,
.info-page > div {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.cart-summary {
  position: sticky;
  top: 210px;
  display: grid;
  gap: 14px;
}

.cart-summary h2,
.empty-cart h2,
.info-page h2 {
  margin-top: 0;
}

.cart-summary div {
  font-size: 30px;
  font-weight: 900;
}

.empty-cart {
  grid-column: 1 / -1;
  text-align: center;
}

.product-detail {
  padding-top: 70px;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: 48px;
  align-items: center;
}

.product-detail__image {
  display: grid;
  place-items: center;
  min-height: 410px;
  padding: 35px;
  border: 1px solid var(--line);
  background: #fff;
}

.product-detail__image img {
  max-height: 340px;
  object-fit: contain;
}

.product-detail h1 {
  margin: 10px 0 18px;
  color: #111;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.product-detail p {
  color: #555;
  line-height: 1.7;
}

.price--big {
  margin: 24px 0 10px;
  font-size: 34px;
}

.info-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

details.faq-item {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 10px;
}

details.faq-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

details.faq-item summary::after {
  content: "+";
  font-size: 24px;
}

details.faq-item[open] summary::after {
  content: "-";
}

details.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: #666;
  line-height: 1.55;
}

.delivery-hero .delivery-phone {
  margin-top: 24px;
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

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

.delivery-card,
.delivery-contact {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.delivery-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--yellow);
  color: #111;
  border-radius: 50%;
  font-weight: 900;
}

.delivery-card h2,
.delivery-contact h2 {
  margin: 0 0 12px;
  color: #111;
  font-size: 22px;
}

.delivery-card p,
.delivery-contact p,
.delivery-contact small {
  margin: 0;
  color: #555;
  line-height: 1.65;
}

.delivery-contact {
  position: sticky;
  top: 210px;
  display: grid;
  gap: 14px;
}

.delivery-contact a {
  color: #111;
  font-size: 25px;
  font-weight: 900;
}

.delivery-map-section {
  padding: 30px 0 70px;
  background: #fafafa;
}

.tajikistan-map {
  overflow: hidden;
  height: 460px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #e9ecef;
}

.tajikistan-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.fly-cart {
  color: #111;
  background: var(--yellow);
}

.fly-cart::before {
  border-color: #111;
}

.fly-cart span:first-child {
  color: #fff;
  background: #9d9d9d;
}

.modal__dialog {
  border-top: 5px solid var(--yellow);
}

@media (max-width: 1160px) {
  .header__grid {
    grid-template-columns: 46px 260px minmax(150px, 1fr) auto;
  }

  .header__actions {
    grid-column: 3 / 5;
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .header__grid {
    grid-template-columns: 46px 1fr;
  }

  .mobile-panel {
    background: #151515;
  }

  .hero-banners {
    padding-top: 22px;
  }

  .shop-layout,
  .cart-page,
  .product-detail__grid,
  .info-page,
  .delivery-layout {
    grid-template-columns: 1fr;
  }

  .filters,
  .cart-summary,
  .delivery-contact {
    position: static;
  }

  .delivery-cards {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 88px 1fr;
  }

  .cart-item .qty,
  .cart-item .remove {
    grid-column: 2;
  }

  .slide-title {
    font-size: 34px;
  }

  .side-banners b {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .catalog-search__box,
  .shop-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-search__box small {
    white-space: normal;
  }

  .side-banners {
    grid-template-columns: 1fr;
  }

  .contacts {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .mobile-panel,
  .mobile-panel.is-open {
    background: rgba(247, 247, 247, 0.96);
    color: #111;
  }
}
