/* Общие стили */
html {
  scroll-behavior: smooth;
}

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

/* Глобальные адаптивные стили */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

input,
textarea,
select,
button {
  max-width: 100%;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

/* Header Styles */
.header-top {
  background-color: #fff;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Навигация в header на обычных страницах скрыта */
.header-nav {
  display: none !important;
}

/* Header на странице товара - все в одну линию, логотип справа */
body.product-page-layout .header-content {
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 0 !important;
  position: relative !important;
}

/* Увеличиваем ширину контейнера на странице товара */
body.product-page-layout .header-top .container {
  max-width: 1600px !important;
}

body.product-page-layout .header-left {
  order: 1 !important;
  flex: 0 0 auto !important;
  margin-right: 20px !important;
  gap: 8px !important;
}

body.product-page-layout .header-left .header-btn {
  font-size: 12px !important;
  padding: 6px 12px !important;
  white-space: nowrap !important;
}

body.product-page-layout .header-left .header-btn i {
  font-size: 12px !important;
}

body.product-page-layout .header-left .header-btn .fa-chevron-down {
  font-size: 10px !important;
}

body.product-page-layout .header-nav {
  order: 2 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 15px !important;
  min-width: 0 !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: calc(100% - 400px) !important;
}

body.product-page-layout .header-nav ul {
  display: flex !important;
  list-style: none !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

body.product-page-layout .header-nav ul li {
  margin: 0 !important;
}

body.product-page-layout .header-nav ul li a {
  font-family: Inter, sans-serif !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  line-height: 100% !important;
  letter-spacing: 0 !important;
  color: #666 !important;
  text-decoration: none !important;
  transition: color 0.3s !important;
  white-space: nowrap !important;
}

body.product-page-layout .header-nav ul li a:hover {
  color: #8B4513 !important;
  text-decoration: none !important;
}

body.product-page-layout .header-right {
  display: flex !important;
  order: 3 !important;
  flex: 0 0 auto !important;
  margin-right: 20px !important;
  gap: 10px !important;
}

body.product-page-layout .logo-container {
  order: 4 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  margin-left: auto !important;
}

/* Показываем только корзину на странице товара */
body.product-page-layout .header-right .mobile-menu-btn,
body.product-page-layout .header-right .mobile-search-btn,
body.product-page-layout .header-right .mobile-phone-btn {
  display: none !important;
}

body.product-page-layout .header-right .mobile-cart-btn {
  display: flex !important;
}

body.product-page-layout .header-right .mobile-cart-btn .btn-text {
  display: inline-block !important;
}

body.product-page-layout .main-nav:not(.active) {
  display: none !important;
}

/* Скрываем лишние fixed элементы на странице товара */
body.product-page-layout [style*="position: fixed"][style*="bottom"]:not(.floating-messenger):not(.floating-messenger *),
body.product-page-layout [style*="position:fixed"][style*="bottom"]:not(.floating-messenger):not(.floating-messenger *) {
  display: none !important;
}

/* Скрываем плавающие виджеты справа внизу (обратная связь, чаты и т.д.) */
div[style*="position: fixed"][style*="right"][style*="bottom"]:not(.floating-messenger):not(.floating-messenger *),
div[style*="position:fixed"][style*="right"][style*="bottom"]:not(.floating-messenger):not(.floating-messenger *),
div[style*="position: fixed"][style*="bottom"][style*="right"]:not(.floating-messenger):not(.floating-messenger *),
div[style*="position:fixed"][style*="bottom"][style*="right"]:not(.floating-messenger):not(.floating-messenger *),
iframe[style*="position: fixed"],
iframe[style*="position:fixed"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Скрываем кнопку мессенджеров на странице товара */
body.product-page-layout .floating-messenger,
body.product-page-layout .floating-messenger * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Адаптивная верстка для страницы товара - используем стандартные стили главной страницы */
@media (max-width: 768px) {
  /* Убираем все специальные стили для страницы товара на мобильных */
  body.product-page-layout .header-content {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 15px !important;
    width: 100% !important;
  }

  body.product-page-layout .header-left {
    order: 2 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 15px !important;
    gap: 0 !important;
  }

  body.product-page-layout .header-nav {
    display: none !important;
  }

  body.product-page-layout .logo-container {
    order: 1 !important;
    margin: 0 0 10px 0 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    text-align: center !important;
  }

  body.product-page-layout .header-right {
    order: 3 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 15px !important;
  }

  body.product-page-layout .header-right .header-btn {
    flex: 1 !important;
    max-width: none !important;
    height: 50px !important;
    min-width: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  body.product-page-layout .header-right .header-btn .btn-text {
    display: none !important;
  }

  body.product-page-layout .header-right .header-btn i {
    font-size: 22px !important;
    margin: 0 !important;
    display: block !important;
  }
}

.header-left,
.header-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Скрываем только меню и телефон на десктопе, корзину и поиск оставляем */
.mobile-menu-btn,
.mobile-phone-btn {
  display: none !important;
}

/* Показываем кнопки поиска и корзины на десктопе */
.mobile-search-btn,
.mobile-cart-btn {
  display: inline-flex !important;
}

/* Показываем текст в кнопках поиска и корзины на десктопе */
.mobile-search-btn .btn-text,
.mobile-cart-btn .btn-text {
  display: inline-block;
}

.logo-container {
  text-align: center;
  flex: 1;
  margin: 0 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.3s;
}

.logo-container:hover {
  opacity: 0.8;
  text-decoration: none;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-icon {
  width: 150px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}

.logo-text {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #654321;
  letter-spacing: 2px;
  margin: 0;
}

.header-btn {
  font-family: Inter, sans-serif;
  font-weight: 400;
  background-color: #654321;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  transition: background-color 0.3s;
}

/* Убеждаемся что кнопка каталога такая же как остальные */
.header-btn.catalog-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.header-btn:hover {
  background-color: #4A3328;
  color: #fff;
  text-decoration: none;
}

.header-btn i {
  font-size: 14px;
}

.header-btn .fa-chevron-down {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.3s;
}

.catalog-dropdown {
  position: relative;
}

.catalog-dropdown:hover .catalog-menu,
.catalog-dropdown.active .catalog-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.catalog-dropdown:hover .catalog-btn .fa-chevron-down,
.catalog-dropdown.active .catalog-btn .fa-chevron-down {
  transform: rotate(180deg);
}

.catalog-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  width: 90vw;
  max-width: 900px;
  min-width: 320px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #e0e0e0;
}

.catalog-menu-content {
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.catalog-menu-content:empty::before {
  content: 'Категории не найдены';
  padding: 20px;
  text-align: center;
  color: #999;
}

.catalog-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

/* Создаем невидимый "мостик" между элементом меню и подменю для плавного перехода курсора */
.catalog-menu-item::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 0;
  width: 0;
  height: 100%;
  z-index: 1000;
  pointer-events: none;
}

.catalog-main-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
  border: 1px solid transparent;
  background: #fafafa;
  flex: 1;
  cursor: pointer;
}

.catalog-submenu-toggle {
  background: transparent;
  border: none;
  padding: 12px;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: all 0.3s;
  border-radius: 0 8px 8px 0;
  flex-shrink: 0;
  z-index: 10;
  position: relative;
  min-width: 40px;
}

.catalog-submenu-toggle:hover {
  background: #f0f0f0;
  color: #654321;
}

.catalog-menu-item.active .catalog-submenu-toggle {
  color: #654321;
  background: #f0f0f0;
}

.catalog-menu-item.active .catalog-submenu-toggle .catalog-menu-arrow {
  transform: rotate(90deg);
}

.catalog-menu-item.has-submenu .catalog-submenu-toggle {
  display: flex !important;
}

.catalog-menu-item:not(.has-submenu) .catalog-submenu-toggle {
  display: none !important;
}

.catalog-main-link:hover {
  background: #f0f0f0;
  border-color: #654321;
  text-decoration: none;
  color: #654321;
}

.catalog-menu-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.catalog-menu-img-placeholder {
  width: 50px;
  height: 50px;
  background: #e0e0e0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  flex-shrink: 0;
}

.catalog-menu-name {
  flex: 1;
  font-weight: 600;
  font-size: 16px;
}

.catalog-menu-arrow {
  font-size: 12px;
  color: #999;
  transition: transform 0.3s;
  display: inline-block;
}

.catalog-menu-item:hover .catalog-menu-arrow {
  color: #654321;
}

@media (min-width: 769px) {
  .catalog-menu-item:hover .catalog-menu-arrow {
    transform: translateX(4px);
  }
}

.catalog-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  max-width: 250px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  border: 1px solid #e0e0e0;
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 400px;
  overflow-y: auto;
  /* Убираем промежуток, чтобы курсор не терялся при переходе к подменю */
  pointer-events: auto;
}

/* Если подменю не помещается справа, открываем слева */
.catalog-menu-item:last-child .catalog-submenu,
.catalog-menu-item:nth-last-child(2) .catalog-submenu,
.catalog-submenu.submenu-left {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* На десктопе подменю открывается при наведении ИЛИ при активном состоянии (клик на кнопку) */
@media (min-width: 769px) {
  .catalog-menu-item:hover .catalog-submenu,
  .catalog-menu-item.active .catalog-submenu,
  .catalog-submenu:hover {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  
  /* При наведении на подменю - оставляем родительский элемент активным */
  .catalog-submenu:hover ~ *,
  .catalog-submenu:hover {
    pointer-events: auto;
  }
}

.catalog-submenu-link {
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: all 0.3s;
  display: block;
}

.catalog-submenu-link:hover {
  background: #f5f5f5;
  color: #654321;
  text-decoration: none;
  padding-left: 16px;
}

/* Улучшение видимости для меню с подкатегориями */
.catalog-menu-item .catalog-main-link {
  position: relative;
}

.catalog-menu-item:hover .catalog-main-link {
  background: #f8f5f0;
  border-color: #654321;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
  .catalog-menu {
    width: 85vw;
    max-width: 700px;
  }

  .catalog-menu-content {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .catalog-submenu {
    min-width: 160px;
    max-width: 200px;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .catalog-menu {
    width: calc(100vw - 30px);
    max-width: calc(100vw - 30px);
    min-width: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
  }

  .catalog-dropdown:hover .catalog-menu,
  .catalog-dropdown.active .catalog-menu {
    transform: translateX(-50%) translateY(0);
  }

  .catalog-menu-content {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 8px;
  }

  .catalog-main-link {
    padding: 10px;
    gap: 10px;
  }

  .catalog-menu-img,
  .catalog-menu-img-placeholder {
    width: 40px;
    height: 40px;
  }

  .catalog-menu-name {
    font-size: 14px;
  }

  .catalog-submenu {
    position: static;
    margin-left: 0;
    margin-top: 8px;
    box-shadow: none;
    border: none;
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    max-height: none;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
  }

  .catalog-menu-item:hover .catalog-submenu {
    display: none;
  }

  .catalog-menu-item.active .catalog-submenu {
    display: block;
  }

  .catalog-menu-item:last-child .catalog-submenu,
  .catalog-menu-item:nth-last-child(2) .catalog-submenu {
    left: auto;
    right: auto;
    margin-right: 0;
  }

  .catalog-submenu-toggle {
    padding: 12px 8px;
  }

  .catalog-menu-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .catalog-menu-item .catalog-main-link {
    flex: 1 1 auto;
  }

  .catalog-menu-item .catalog-submenu-toggle {
    flex: 0 0 auto;
  }

  .catalog-menu-item .catalog-submenu {
    flex: 1 1 100%;
    order: 10;
    width: 100%;
    margin-top: 8px;
  }
}

/* Main Navigation */
.main-nav {
  background-color: #fff;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #8B4513;
  text-decoration: none;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #8B4513;
  transition: width 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.hero-section .row {
  min-height: 400px;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 600px;
}

.hero-slider-container {
  position: relative;
  min-height: 600px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  min-height: 600px;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-slide[data-type="2"] {
  min-height: 700px;
  padding: 100px 0;
}

.hero-slide[data-type="2"].no-text {
  padding: 0;
  min-height: 650px;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Для слайдов с изображением без текста - используем cover для полного заполнения */
.hero-slide[data-type="2"].no-text .hero-slide-bg {
  background-size: cover;
}

.hero-slide[data-type="2"] .hero-slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.hero-slide[data-type="2"].no-text .hero-slide-bg::after {
  display: none;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-slide[data-type="2"] .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-subtitle {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 20px;
}

.hero-slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.hero-slider-prev,
.hero-slider-next {
  background: rgba(101, 67, 33, 0.8);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 20px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: rgba(101, 67, 33, 1);
  transform: scale(1.1);
}

.hero-slider-dots {
  display: flex;
  gap: 10px;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid rgba(101, 67, 33, 0.5);
}

.hero-slider-dot.active {
  background: #654321;
  border-color: #654321;
  transform: scale(1.2);
}

.hero-title {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 30px;
  max-width: 90%;
}

.hero-title-line1 {
  display: block;
  font-size: 56px;
}

.hero-title-line2 {
  display: block;
  font-size: 48px;
  margin-top: 8px;
}

.hero-address {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 40px;
}

.btn-hero {
  font-family: Inter, sans-serif;
  font-weight: 400;
  background-color: #654321;
  color: #fff;
  padding: 20px 50px;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-hero:hover {
  background-color: #4A3328;
  color: #fff;
  text-decoration: none;
}

.hero-words {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.hero-word {
  font-size: 72px;
  font-weight: bold;
  color: #d0d0d0;
  line-height: 1;
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 5px;
}

/* Section Titles */
.section-title {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #000;
  text-align: left;
  margin-bottom: 50px;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: #fff;
}

.about-section .container {
  max-width: 1400px;
  width: 100%;
  box-sizing: border-box;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 70px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.about-block {
  position: relative;
  height: 220px;
  width: 100%;
}

.about-us-section .about-block {
  height: 270px;
  min-height: 270px;
}

.about-block .block-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: fill;
  pointer-events: none;
}

.about-grid-full .about-block .block-shape {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.about-block .block-content {
  position: relative;
  z-index: 1;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-block h3,
.about-block .block-content h3 {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 15px;
  white-space: normal;
}

.about-block p,
.about-block .block-content p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
  color: #000;
  margin: 0;
}

/* Левые блоки - выравнивание влево */
.b1 .block-content,
.b3 .block-content,
.b5 .block-content,
.b7 .block-content {
  text-align: left;
  padding-left: 30px;
  padding-right: 60px;
  max-width: 85%;
  margin-right: auto;
}

/* Правые блоки - выравнивание вправо */
.b2 .block-content,
.b4 .block-content,
.b6 .block-content,
.b8 .block-content {
  text-align: right;
  padding-left: 60px;
  padding-right: 30px;
  max-width: 85%;
  margin-left: auto;
  margin-right: 0;
}

/* About Us Full Page Section */
.about-us-section {
  padding: 80px 0;
  background-color: #fff;
}

.about-us-section .container {
  max-width: 1400px;
  width: 100%;
  box-sizing: border-box;
}

.about-us-section .section-title {
  margin-bottom: 50px;
}

.about-grid-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 70px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Адаптивность для about-grid на всех экранах меньше 992px */
@media (max-width: 991px) {

  .about-grid,
  .about-grid-full {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-section .container,
  .about-us-section .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
  }
}

.about-grid-full .about-block {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Also We Section */
.also-we-section {
  padding: 80px 0;
  background-color: #fff;
}

.also-we-section .section-title {
  margin-bottom: 50px;
}

.also-we-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.also-we-block {
  background-color: #E8E2DB;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.also-we-block h3 {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 15px;
}

.also-we-block p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin: 0;
}

/* Production Gallery Section */
.production-gallery-section {
  padding: 80px 0;
  background-color: #fff;
}

.production-gallery-section .section-title {
  margin-bottom: 50px;
}

.production-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #e0e0e0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Payment and Delivery Section */
.payment-delivery-section {
  padding: 80px 0;
  background-color: #fff;
}

.payment-delivery-section .section-title {
  margin-bottom: 50px;
}

.payment-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.payment-block {
  background-color: #E8E2DB;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.payment-block h3 {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #654321;
  margin-bottom: 20px;
}

.payment-content {
  flex: 1;
  margin-bottom: 20px;
}

.payment-content p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 15px;
}

.payment-content p:last-child {
  margin-bottom: 0;
}

.payment-content strong {
  font-family: Inter, sans-serif;
  font-weight: 600;
  color: #000;
}

.payment-methods {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.payment-methods-title {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 10px;
}

.payment-methods ol {
  margin-left: 20px;
  margin-bottom: 0;
  color: #000;
}

.payment-methods ol li {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 8px;
}

.payment-methods ol li:last-child {
  margin-bottom: 0;
}

.btn-select-products {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #E8E2DB;
  color: #654321;
  padding: 12px 30px;
  border: 1px solid #654321;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s;
  margin-top: auto;
  align-self: flex-start;
}

.btn-select-products:hover {
  background-color: #654321;
  color: #fff;
  text-decoration: none;
}

.payment-contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  border-top: 1px solid #e0e0e0;
}

.contact-left p,
.contact-right p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 10px;
}

.contact-left p:first-child {
  margin-bottom: 15px;
}

.contact-phone {
  margin-bottom: 8px !important;
}

.contact-phone a {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #654321;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-phone a:hover {
  color: #4A3328;
  text-decoration: underline;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: #fff;
}

.services-section .section-title {
  margin-bottom: 20px;
}

.services-subtitle {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.services-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.service-block {
  background-color: #E8E2DB;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(101, 67, 33, 0.2);
}

.service-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #e0e0e0;
}

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

.service-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 15px;
}

.service-content p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin: 0;
  flex: 1;
}

.service-block .btn-select-products {
  margin: 0 30px 30px;
  align-self: stretch;
  text-align: center;
  background-color: #654321;
  color: #fff;
  border: 1px solid #654321;
}

.service-block .btn-select-products:hover {
  background-color: #4A3328;
  border-color: #4A3328;
  color: #fff;
}

/* Dealers Section */
.dealers-section {
  padding: 80px 0;
  background-color: #fff;
}

.dealers-section .section-title {
  margin-bottom: 50px;
}

.dealers-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.dealer-block-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}

.dealer-block {
  position: relative;
  min-height: 150px;
  flex: 1;
  max-width: 900px;
  width: 100%;
  background-color: #E8E2DB;
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dealer-block .block-content {
  position: relative;
  z-index: 1;
}

.dealer-block .block-content p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin: 0;
}

/* Левые блоки - выравнивание влево */
.d1 .block-content,
.d3 .block-content {
  text-align: left;
}

.d1 .block-content p,
.d3 .block-content p {
  text-align: left;
}

/* Правые блоки - выравнивание вправо */
.d2 .block-content,
.d4 .block-content {
  text-align: right;
}

.d2 .block-content p,
.d4 .block-content p {
  text-align: right;
}

.dealer-number {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #000;
  opacity: 0.3;
  flex-shrink: 0;
  min-width: 150px;
  text-align: center;
  position: relative;
  z-index: 0;
}

/* Cooperation Form Section */
.cooperation-section {
  padding: 80px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.cooperation-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 400px;
}

.cooperation-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.cooperation-title {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 40px;
}

.cooperation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.cooperation-form .form-row {
  width: 100%;
  margin-bottom: 0;
}

.form-row {
  width: 100%;
}

.form-control {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #654321;
  border-radius: 8px;
  background-color: #fff;
  color: #000;
  outline: none;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: #4A3328;
}

.form-control::placeholder {
  color: #999;
}

.form-control:invalid {
  border-color: #654321;
}

.form-control:valid {
  border-color: #654321;
}

/* Fix for select dropdown display - гарантируем видимость выбранного значения */
select,
select.form-control,
select:focus,
select:active,
select:hover,
select:enabled,
select:disabled,
select.form-control:focus,
select.form-control:active,
select.form-control:hover,
select.form-control:enabled,
select.form-control:disabled {
  color: #000000 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #000000 !important;
  text-fill-color: #000000 !important;
  background-color: #fff !important;
}

select:invalid,
select:valid,
select:required:invalid,
select:required:valid,
select.form-control:invalid,
select.form-control:valid,
select.form-control:required:invalid,
select.form-control:required:valid {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-fill-color: #000000 !important;
}

select *,
select.form-control * {
  color: #000000 !important;
}

select.form-control option {
  color: #000000 !important;
  background: #fff !important;
  padding: 8px;
}

select.form-control option:checked,
select.form-control option[selected] {
  color: #000000 !important;
  background: rgba(74, 51, 40, 0.1) !important;
  font-weight: 500;
}

.form-footer {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.checkbox-label {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  flex: 1;
  min-width: 280px;
}

.checkbox-label span {
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #654321;
}

.btn-submit {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #654321;
  color: #fff;
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.btn-submit:hover {
  background-color: #4A3328;
}

.cooperation-pattern {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  height: 100%;
}

.pattern-text {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0;
  color: #000;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  margin-bottom: 20px;
}

.pattern-number {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 200px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #000;
}

/* Contacts Section */
.contacts-section {
  padding: 80px 0;
  background-color: #fff;
}

.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contacts-content {
  display: flex;
  flex-direction: column;
}

.contacts-section .section-title {
  margin-bottom: 20px;
}

.contacts-description {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 40px;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-icon i {
  font-size: 20px;
  color: #654321;
}

.contact-info {
  flex: 1;
}

.contact-info p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin: 0;
}

.contact-link {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #654321;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.contact-link:last-child {
  margin-bottom: 0;
}

.contact-link:hover {
  color: #4A3328;
  text-decoration: underline;
}

.btn-call {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #654321;
  color: #fff;
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s;
  margin-bottom: 40px;
  align-self: flex-start;
}

.btn-call:hover {
  background-color: #4A3328;
  color: #fff;
  text-decoration: none;
}

.company-details {
  margin-top: auto;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.company-details p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #666;
  margin: 0 0 5px 0;
}

.company-details p:last-child {
  margin-bottom: 0;
}

.contacts-map {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d0d0;
}

.map-placeholder span {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  color: #999;
}


.btn-about-more {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #fff;
  color: #000;
  padding: 12px 30px;
  border: 1px solid #654321;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: none;
}

.btn-about-more:hover {
  background-color: #fff;
  border-color: #654321;
  color: #000;
  text-decoration: none;
  box-shadow: none;
}

/* Why Us Section */
.why-us-section {
  padding: 80px 0;
  background-color: #fff;
}

.why-block {
  background-color: #E8E2DB;
  padding: 30px;
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.why-block h3 {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 20px;
}

.why-content {
  flex: 1;
  margin-bottom: 20px;
}

.why-content p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 15px;
  color: #000;
}

.why-content strong {
  font-family: Inter, sans-serif;
  font-weight: 600;
  color: #000;
}

.why-content ol {
  margin-left: 20px;
  margin-bottom: 15px;
  color: #000;
}

.why-content ol li {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 8px;
  color: #000;
}

.btn-outline-brown {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  margin-top: auto;
  background-color: #654321;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s;
  box-shadow: none;
}

.btn-outline-brown:hover {
  background-color: #4A3328;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
}

/* Catalog Section */
.catalog-section {
  padding: 80px 0;
  background-color: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Bestsellers Section */
.bestsellers-section {
  padding: 80px 0;
  background-color: #fff;
}

/* New Arrivals Section */
.new-arrivals-section {
  padding: 80px 0;
  background-color: #fff;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: #fff;
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.faq-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq-contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-text {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  margin: 0;
}

.btn-faq {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #654321;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 15px;
  align-self: flex-start;
}

.btn-faq:hover {
  background-color: #4A3328;
}

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: #E8E2DB;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-number {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #888;
  min-width: 30px;
}

.faq-question {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  margin: 0;
  flex: 1;
}

.faq-toggle {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  min-width: 24px;
  text-align: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 15px;
}

.faq-answer p {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin: 0;
}

/* Articles Section */
.articles-section {
  padding: 80px 0;
  background-color: #fff;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.article-card {
  background-color: #E8E2DB;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-image {
  width: 100%;
  height: 200px;
  background-color: #e0e0e0;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-title {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 10px 0;
}

.article-tags {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #666;
  margin: 0 0 15px 0;
}

.article-description {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 20px 0;
  flex: 1;
}

.btn-article {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #E8E2DB;
  color: #000;
  border: 1px solid #654321;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  transition: all 0.3s;
  align-self: flex-start;
  margin-top: auto;
}

.btn-article:hover {
  background-color: #d0c9c0;
}

.btn-all-articles {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: transparent;
  color: #654321;
  border: 1px solid #654321;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-all-articles:hover {
  background-color: #654321;
  color: #fff;
  text-decoration: none;
}

/* Footer */
.footer {
  background-color: #E8E2DB;
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-catalog {
  justify-content: flex-start;
}

.footer-email-wrapper {
  margin-top: auto;
  padding-top: 20px;
}

.footer-catalog-btn {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #654321;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}

.footer-catalog-btn:hover {
  background-color: #4A3328;
}

.footer-catalog-btn i {
  font-size: 18px;
}

.footer-email {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-logo-container:hover {
  opacity: 0.8;
  text-decoration: none;
}

.footer-logo-container .logo-wrapper {
  margin-bottom: 0;
}

.footer-logo-container .logo-text {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #654321;
}

.footer-title {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 15px 0;
}

.footer-address {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 20px 0;
}

.footer-subtitle {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 10px 0;
}

.footer-phone {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-phone:hover {
  color: #654321;
}

.footer-map {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.footer-description {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 20px 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.newsletter-input {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #fff;
  border: 1px solid #654321;
  border-radius: 8px;
  padding: 12px 15px;
  color: #000;
  outline: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.newsletter-input::placeholder {
  color: #666;
}

.newsletter-input:focus {
  border-color: #4A3328;
}

.newsletter-btn {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #654321;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.newsletter-btn:hover {
  background-color: #4A3328;
}

.bestsellers-container {
  position: relative;
}

.bestsellers-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  position: relative;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.bestsellers-slider::-webkit-scrollbar {
  display: none;
}

.bestsellers-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-card {
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.product-image {
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  background-color: #e0e0e0;
  border-radius: 8px 8px 0 0;
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-badges-container {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 10;
}

.product-badge {
  background-color: #654321;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  position: relative;
}

.product-info {
  padding: 0 15px 15px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 120px;
}

.product-name {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 8px;
  min-height: 46px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #666;
  margin-bottom: 15px;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
}

.btn-buy {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #654321;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-buy:hover {
  background-color: #4A3328;
}

.bestsellers-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  background-color: #E8E2DB;
  border: none;
  border-radius: 4px;
  font-size: 24px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 10;
}

.nav-arrow:hover {
  background-color: #d0c9c0;
}

.nav-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background-color: #E8E2DB;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #654321;
}

.catalog-btn {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  background-color: #654321;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
  display: block;
}

.catalog-btn:hover {
  background-color: #4A3328;
  color: #fff;
  text-decoration: none;
}

.catalog-btn-tall {
  grid-row: 1 / 3;
  grid-column: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.footer {
  background-color: #E8E2DB;
  padding: 30px 0;
  text-align: center;
  color: #666;
  margin-top: 0;
}

main {
  min-height: calc(100vh - 200px);
}

/* Мобильная нижняя навигационная панель - скрыта по умолчанию */
.mobile-bottom-nav {
  display: none;
}

/* Utility classes */
.text-right {
  text-align: right;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Responsive Design */

/* Large Tablets and Small Desktops (1200px and below) */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  .about-section .container,
  .about-us-section .container {
    max-width: 100%;
  }

  .about-grid,
  .about-grid-full {
    gap: 40px 50px;
  }

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

  .also-we-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .production-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .hero-title {
    font-size: 48px;
  }

  .hero-title-line1 {
    font-size: 48px;
  }

  .hero-title-line2 {
    font-size: 42px;
  }

  .hero-word {
    font-size: 64px;
  }

  .hero-slider,
  .hero-slider-container,
  .hero-slide {
    min-height: 500px;
  }

  .hero-slide[data-type="2"] {
    min-height: 600px;
  }

  .hero-slide[data-type="2"].no-text {
    min-height: 550px;
  }
}

/* Tablets (992px and below) */
@media (max-width: 992px) {
  .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .about-grid,
  .about-grid-full {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .faq-container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .about-section .container,
  .about-us-section .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 15px;
  }

  .header-left,
  .header-right {
    flex-wrap: wrap;
  }

  .logo-container {
    order: 2;
    flex: 1 1 100%;
    margin: 10px 0;
  }

  .logo-icon {
    width: 120px;
    max-height: 120px;
  }

  .header-btn {
    font-size: 18px;
    padding: 8px 16px;
  }

  .main-nav ul {
    gap: 20px;
  }

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

  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-title-line1 {
    font-size: 40px;
  }

  .hero-title-line2 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-word {
    font-size: 56px;
  }

  .hero-address {
    font-size: 18px;
  }

  .btn-hero {
    font-size: 20px;
    padding: 18px 40px;
  }

  .hero-slider,
  .hero-slider-container,
  .hero-slide {
    min-height: 450px;
  }

  .hero-slide[data-type="2"] {
    min-height: 550px;
    padding: 80px 0;
  }

  .hero-slide[data-type="2"].no-text {
    min-height: 500px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .about-section,
  .about-us-section,
  .also-we-section,
  .production-gallery-section,
  .payment-delivery-section,
  .services-section,
  .dealers-section,
  .cooperation-section,
  .contacts-section,
  .why-us-section,
  .catalog-section {
    padding: 60px 0;
  }

  .about-grid,
  .about-grid-full {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-block {
    height: 200px;
  }

  .about-us-section .about-block {
    height: 250px;
    min-height: 250px;
  }

  .about-block h3,
  .about-block .block-content h3 {
    font-size: 24px;
  }

  .about-block p,
  .about-block .block-content p {
    font-size: 16px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .catalog-btn-tall {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .b1,
  .b2,
  .b3,
  .b4,
  .b5,
  .b6,
  .b7,
  .b8 {
    grid-column: 1;
  }

  .b1 {
    grid-row: 1;
  }

  .b2 {
    grid-row: 2;
  }

  .b3 {
    grid-row: 3;
  }

  .b4 {
    grid-row: 4;
  }

  .b5 {
    grid-row: 5;
  }

  .b6 {
    grid-row: 6;
  }

  .b7 {
    grid-row: 7;
  }

  .b8 {
    grid-row: 8;
  }

  .b1 .block-content,
  .b3 .block-content,
  .b5 .block-content,
  .b7 .block-content,
  .b2 .block-content,
  .b4 .block-content,
  .b6 .block-content,
  .b8 .block-content {
    padding-left: 30px;
    padding-right: 30px;
    max-width: 100%;
    text-align: center;
  }

  .also-we-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .also-we-block h3 {
    font-size: 42px;
  }

  .also-we-block p {
    font-size: 16px;
  }

  .production-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery-item {
    height: 280px;
  }

  .payment-blocks {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .payment-contact-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-blocks {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-image {
    height: 220px;
  }

  .service-content h3 {
    font-size: 22px;
  }

  .service-content p {
    font-size: 16px;
  }

  .dealer-block-wrapper {
    gap: 20px;
  }

  .dealer-number {
    font-size: 100px;
    min-width: 120px;
  }

  .dealer-block .block-content p {
    font-size: 16px;
  }

  .cooperation-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cooperation-title {
    font-size: 28px;
  }

  .cooperation-pattern {
    position: relative;
    transform: none;
    opacity: 0.05;
    margin-top: 40px;
    right: auto;
    top: auto;
  }

  .pattern-text {
    font-size: 56px;
  }

  .pattern-number {
    font-size: 160px;
  }

  .contacts-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts-map {
    height: 450px;
    order: -1;
  }

  .why-block h3 {
    font-size: 28px;
  }

  .why-content p,
  .why-content ol li {
    font-size: 18px;
  }

  .product-card {
    padding: 20px;
  }

  .product-title {
    font-size: 20px;
  }

  .product-price {
    font-size: 22px;
  }

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

/* Mobile Landscape and Small Tablets (768px and below) */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Исправляем обрезание элементов */
  .also-we-grid,
  .services-blocks,
  .payment-blocks,
  .about-grid,
  .about-grid-full,
  .production-gallery,
  .products-grid,
  .faq-container,
  .articles-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
    grid-template-columns: 1fr !important;
  }

  /* Каталог - 2 колонки на мобильных */
  .catalog-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .catalog-btn-tall {
    grid-row: auto !important;
    grid-column: 1 / -1 !important;
  }

  .also-we-block,
  .service-block,
  .payment-block,
  .about-block,
  .product-card,
  .article-card,
  .faq-left,
  .faq-right {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .header-top {
    padding: 20px 0 15px;
  }

  .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    width: 100%;
  }

  /* Логотип по центру вверху */
  .logo-container {
    order: 1;
    margin: 0 0 10px 0;
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
  }

  .logo-icon {
    width: 140px;
    max-height: 140px;
    height: auto;
  }

  /* Скрываем header-left на мобильных (кнопка каталога будет отдельно) */
  .header-left {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 0;
    padding: 0 15px;
    gap: 0;
  }

  /* Каталог dropdown на всю ширину */
  .header-left .catalog-dropdown {
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
  }

  /* Большая кнопка Каталог под логотипом - только текст, без иконок */
  .header-left .catalog-dropdown .catalog-btn,
  .header-left .catalog-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 16px 20px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background-color: #654321 !important;
    color: #fff !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    flex: 1 1 100% !important;
    margin: 0 !important;
  }

  .header-left .catalog-btn i,
  .header-left .catalog-dropdown .catalog-btn i {
    display: none !important;
  }

  .header-left .catalog-btn .fa-bars,
  .header-left .catalog-btn .fa-chevron-down,
  .header-left .catalog-dropdown .catalog-btn .fa-bars,
  .header-left .catalog-dropdown .catalog-btn .fa-chevron-down {
    display: none !important;
  }

  /* Скрываем телефон в header-left на мобильных */
  .header-left .header-btn:not(.catalog-btn) {
    display: none;
  }

  /* Ряд из 4 иконок - равномерно распределены */
  .header-right {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 15px;
  }

  /* Показываем мобильные кнопки на мобильных устройствах */
  .mobile-menu-btn,
  .mobile-search-btn,
  .mobile-phone-btn,
  .mobile-cart-btn {
    display: flex !important;
  }

  .header-right .header-btn {
    flex: 1;
    max-width: none;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0 !important;
    border-radius: 8px;
    background-color: #654321;
    color: #fff;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
  }

  .header-right .header-btn i {
    font-size: 22px;
    margin: 0;
    display: block;
  }

  /* Скрываем все текстовые элементы в header-right на мобильных */
  .header-right .header-btn::after,
  .header-right .header-btn span:not(#cart-count) {
    display: none !important;
  }

  /* Скрываем текст в кнопках на мобильных */
  .header-right .header-btn .btn-text {
    display: none !important;
  }

  /* Корзина с бейджем на мобильных */
  .header-right .header-btn[style*="position: relative"],
  .header-right .header-btn:has(#cart-count) {
    position: relative !important;
  }

  .header-right #cart-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #d32f2f !important;
    color: white !important;
    border-radius: 50% !important;
    font-weight: 600 !important;
  }


  /* Мобильное меню - выпадающий список */
  .site-header {
    position: relative !important;
  }

  .main-nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #fff !important;
    z-index: 2000 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    border-top: 1px solid #e0e0e0 !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    width: 100% !important;
  }

  .main-nav.active,
  .site-header .main-nav.active,
  body .main-nav.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Переопределяем правило для product-page-layout */
  body.product-page-layout .main-nav.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .main-nav .container {
    padding: 10px 15px;
  }

  .main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .main-nav ul li {
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .main-nav ul li:last-child {
    border-bottom: none;
  }

  .main-nav ul li a {
    display: block;
    padding: 15px 10px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
  }

  .main-nav ul li a:hover {
    background-color: #f5f5f5;
    color: #654321;
  }

  /* Скрываем header-nav на мобильных (кроме страницы товара) */
  body:not(.product-page-layout) .header-nav {
    display: none !important;
  }

  /* Мобильная нижняя навигационная панель - показываем на мобильных */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    z-index: 1000;
    flex-direction: column;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  /* Мобильная нижняя навигационная панель - скрыта на десктопе */
  .mobile-bottom-nav {
    display: none !important;
  }

  .mobile-bottom-nav-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }

  .mobile-nav-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #654321;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.3s;
  }

  .mobile-nav-icon:hover {
    background-color: #4A3328;
    color: #fff;
    text-decoration: none;
  }

  .mobile-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .mobile-logo-icon {
    width: 80px;
    height: auto;
    max-height: 40px;
  }

  .mobile-bottom-catalog-btn {
    width: 100%;
    padding: 15px 20px;
    background-color: #654321;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s;
  }

  .mobile-bottom-catalog-btn:hover {
    background-color: #4A3328;
    color: #fff;
    text-decoration: none;
  }

  /* Добавляем отступ снизу для main, чтобы контент не перекрывался нижней панелью */
  main {
    padding-bottom: 140px;
  }

  .hero-section {
    padding: 10px 0;
  }

  .hero-section .row {
    min-height: auto;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.2;
  }

  .hero-title-line1 {
    font-size: 28px;
  }

  .hero-title-line2 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .hero-word {
    font-size: 48px;
  }

  .hero-words {
    gap: 15px;
  }

  .hero-address {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .btn-hero {
    font-size: 16px;
    padding: 12px 30px;
  }

  .hero-slider,
  .hero-slider-container,
  .hero-slide {
    min-height: 200px;
    height: auto;
  }

  .hero-slide[data-type="2"] {
    min-height: 200px;
    padding: 15px 0;
    height: auto;
  }

  .hero-slide[data-type="2"].no-text {
    min-height: 200px;
    height: auto;
  }

  /* Исправляем отображение фонового изображения на мобильных - contain чтобы поместилось полностью */
  .hero-slide-bg {
    background-size: contain !important;
    background-position: center center !important;
  }

  /* Уменьшаем отступы контейнера на мобильных */
  .hero-slide .container {
    padding: 10px 15px;
  }

  .hero-slide[data-type="2"] .container {
    height: auto;
    min-height: auto;
    padding: 10px 15px;
  }

  .hero-slider-controls {
    bottom: 20px;
    gap: 15px;
  }

  .hero-slider-prev,
  .hero-slider-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .hero-slider-dot {
    width: 10px;
    height: 10px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .about-section,
  .about-us-section,
  .also-we-section,
  .production-gallery-section,
  .payment-delivery-section,
  .services-section,
  .dealers-section,
  .cooperation-section,
  .contacts-section,
  .why-us-section,
  .catalog-section {
    padding: 50px 0;
  }

  .about-grid,
  .about-grid-full {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .about-section .container,
  .about-us-section .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
  }

  .about-block {
    height: auto !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 8px;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .about-us-section .about-block {
    height: auto !important;
    min-height: auto !important;
  }

  .about-block .block-shape {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
  }

  .about-block .block-content {
    padding: 45px 40px 45px 30px !important;
    position: relative;
    z-index: 1;
    height: auto !important;
    min-height: auto !important;
    text-align: left !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow: hidden !important;
  }

  /* На мобильных блоки b1, b3 выравниваем влево, b2, b4 - вправо */
  .b1 .block-content,
  .b3 .block-content,
  .b5 .block-content,
  .b7 .block-content {
    text-align: left !important;
    padding-left: 30px !important;
    padding-right: 40px !important;
    padding-top: 45px !important;
    padding-bottom: 45px !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow: hidden !important;
  }

  .b2 .block-content,
  .b4 .block-content,
  .b6 .block-content,
  .b8 .block-content {
    text-align: right !important;
    padding-left: 30px !important;
    padding-right: 40px !important;
    padding-top: 45px !important;
    padding-bottom: 45px !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow: hidden !important;
  }

  .about-block h3,
  .about-block .block-content h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 85% !important;
    box-sizing: border-box !important;
  }

  /* Выравнивание заголовков по стрелкам в мобильной версии */
  .b1 .block-content h3,
  .b3 .block-content h3 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .b2 .block-content h3,
  .b4 .block-content h3 {
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: block !important;
  }

  .about-block p,
  .about-block .block-content p {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 80% !important;
    box-sizing: border-box !important;
  }

  /* Выравнивание параграфов вправо для b2 и b4 */
  .b2 .block-content p,
  .b4 .block-content p {
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  /* Скрываем перенос на десктопе */
  .mobile-br {
    display: none !important;
  }

  /* Показываем перенос на мобильных через ::after */
  @media (max-width: 768px) {
    .mobile-br {
      display: inline !important;
    }

    .mobile-br::after {
      content: "\A";
      white-space: pre;
    }

    .mobile-br br {
      display: none !important;
    }
  }

  /* Кнопка "Подробнее о нас" на мобильных */
  .btn-about-more {
    font-size: 16px !important;
    padding: 12px 30px !important;
    margin-top: 20px !important;
    width: auto !important;
    display: inline-block !important;
  }

  .text-center {
    text-align: center !important;
    margin-top: 30px !important;
  }

  .b1 .block-content,
  .b3 .block-content,
  .b5 .block-content,
  .b7 .block-content,
  .b2 .block-content,
  .b4 .block-content,
  .b6 .block-content,
  .b8 .block-content {
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .catalog-btn {
    font-size: 18px;
    padding: 18px;
  }

  .text-right {
    text-align: center;
    margin-top: 30px;
  }

  .also-we-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .also-we-block {
    padding: 25px;
  }

  .also-we-block h3 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .also-we-block p {
    font-size: 16px;
  }

  .production-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item {
    height: 250px;
  }

  .payment-blocks {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .payment-block {
    padding: 25px;
  }

  .payment-block h3 {
    font-size: 24px;
  }

  .payment-content p,
  .payment-methods ol li {
    font-size: 16px;
  }

  .payment-contact-info {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 0;
  }

  .contact-left p,
  .contact-right p {
    font-size: 16px;
  }

  .contact-phone a {
    font-size: 18px;
  }

  .services-blocks {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .service-image {
    height: 200px;
  }

  .service-content {
    padding: 25px;
  }

  .service-content h3 {
    font-size: 20px;
  }

  .service-content p {
    font-size: 16px;
  }

  .service-block .btn-select-products {
    margin: 0 25px 25px;
    font-size: 16px;
  }

  .dealer-block-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .dealer-number {
    font-size: 80px;
    min-width: auto;
    order: -1;
  }

  .dealer-block {
    padding: 25px;
  }

  .dealer-block .block-content p {
    font-size: 16px;
    text-align: center;
  }

  .d1 .block-content,
  .d2 .block-content,
  .d3 .block-content,
  .d4 .block-content {
    text-align: center;
  }

  .cooperation-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .cooperation-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .cooperation-form {
    gap: 15px;
  }

  .form-control {
    font-size: 16px;
    padding: 12px 18px;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .checkbox-label {
    min-width: auto;
    font-size: 14px;
  }

  .btn-submit {
    width: 100%;
    font-size: 16px;
    padding: 12px 30px;
  }

  .cooperation-pattern {
    position: relative;
    transform: none;
    opacity: 0.05;
    margin-top: 30px;
  }

  .pattern-text {
    font-size: 48px;
  }

  .pattern-number {
    font-size: 120px;
  }

  .contacts-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacts-section .section-title {
    font-size: 24px;
  }

  .contacts-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .contacts-list {
    gap: 25px;
    margin-bottom: 30px;
  }

  .contact-item {
    gap: 15px;
  }

  .contact-info p,
  .contact-link {
    font-size: 16px;
  }

  .btn-call {
    font-size: 16px;
    padding: 12px 30px;
    margin-bottom: 30px;
  }

  .contacts-map {
    height: 400px;
    order: -1;
  }

  .company-details {
    padding-top: 30px;
  }

  .company-details p {
    font-size: 13px;
  }

  .why-block {
    padding: 25px;
  }

  .why-block h3 {
    font-size: 24px;
  }

  .why-content p,
  .why-content ol li {
    font-size: 16px;
  }

  .btn-outline-brown {
    font-size: 18px;
    padding: 10px 25px;
  }

  .product-card {
    padding: 15px;
  }

  .product-title {
    font-size: 18px;
  }

  .product-specs {
    font-size: 14px;
  }

  .product-price {
    font-size: 20px;
  }

  .btn-buy {
    font-size: 14px;
    padding: 8px 16px;
  }

  .bestsellers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .bestsellers-nav {
    margin-top: 25px;
    gap: 15px;
  }

  .nav-arrow {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .dot {
    width: 35px;
  }

  .footer {
    padding: 25px 0;
  }

  .footer-logo-container .logo-icon {
    width: 100px;
    max-height: 100px;
  }

  /* Footer адаптив */
  .footer {
    padding: 40px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-catalog {
    order: 1;
  }

  .footer-center {
    order: 2;
  }

  .footer-right {
    order: 3;
  }

  .footer-catalog-btn {
    font-size: 18px;
    padding: 10px 18px;
    margin-bottom: 15px;
  }

  .footer-email-wrapper {
    margin-top: 0;
    padding-top: 0;
  }

  .footer-logo-container {
    margin-bottom: 15px;
  }

  .footer-nav {
    gap: 8px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-address,
  .footer-phone,
  .footer-subtitle,
  .footer-description {
    font-size: 14px;
  }

  .newsletter-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .newsletter-input {
    font-size: 14px;
    padding: 10px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .newsletter-btn {
    font-size: 14px;
    padding: 10px 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Mobile Portrait (576px and below) */
@media (max-width: 576px) {
  .container {
    padding: 0 12px;
  }

  .articles-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .logo-icon {
    width: 130px;
    max-height: 130px;
  }

  .header-btn {
    font-size: 14px;
    padding: 6px 12px;
  }

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

  .hero-title {
    font-size: 28px;
  }

  .hero-title-line1 {
    font-size: 28px;
  }

  .hero-title-line2 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-word {
    font-size: 40px;
  }

  .hero-address {
    font-size: 14px;
  }

  .btn-hero {
    font-size: 16px;
    padding: 12px 30px;
  }

  .hero-slider,
  .hero-slider-container,
  .hero-slide {
    min-height: 180px;
    height: auto;
  }

  .hero-slide[data-type="2"] {
    min-height: 180px;
    padding: 15px 0;
    height: auto;
  }

  .hero-slide[data-type="2"].no-text {
    min-height: 180px;
    height: auto;
  }

  /* Исправляем отображение фонового изображения на маленьких экранах */
  .hero-slide-bg {
    background-size: contain !important;
    background-position: center center !important;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .about-section,
  .about-us-section,
  .also-we-section,
  .production-gallery-section,
  .payment-delivery-section,
  .services-section,
  .dealers-section,
  .cooperation-section,
  .contacts-section,
  .why-us-section,
  .catalog-section {
    padding: 40px 0;
  }

  .about-block .block-content {
    padding: 40px 35px 40px 25px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow: hidden !important;
  }

  .about-block h3,
  .about-block .block-content h3 {
    font-size: 20px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 85% !important;
    box-sizing: border-box !important;
  }

  .about-block p,
  .about-block .block-content p {
    font-size: 15px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 80% !important;
    box-sizing: border-box !important;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .catalog-btn {
    font-size: 16px;
    padding: 15px;
  }

  .also-we-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .also-we-block h3 {
    font-size: 32px;
  }

  .production-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-item {
    height: 250px;
  }

  .payment-block h3 {
    font-size: 22px;
  }

  .service-image {
    height: 180px;
  }

  .dealer-number {
    font-size: 60px;
  }

  .cooperation-title {
    font-size: 22px;
  }

  .bestsellers-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .logo-icon {
    width: 130px;
    max-height: 130px;
  }

  .header-btn {
    font-size: 12px;
    padding: 5px 10px;
  }

  .header-btn i {
    font-size: 14px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-title-line1 {
    font-size: 24px;
  }

  .hero-title-line2 {
    font-size: 20px;
  }

  .hero-word {
    font-size: 36px;
  }

  .hero-slider,
  .hero-slider-container,
  .hero-slide {
    min-height: 160px;
    height: auto;
  }

  .hero-slide[data-type="2"] {
    min-height: 160px;
    padding: 10px 0;
    height: auto;
  }

  .hero-slide[data-type="2"].no-text {
    min-height: 160px;
    height: auto;
  }

  /* Исправляем отображение фонового изображения на очень маленьких экранах */
  .hero-slide-bg {
    background-size: contain !important;
    background-position: center center !important;
  }

  .hero-slider-prev,
  .hero-slider-next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .about-section,
  .about-us-section,
  .also-we-section,
  .production-gallery-section,
  .payment-delivery-section,
  .services-section,
  .dealers-section,
  .cooperation-section,
  .contacts-section,
  .why-us-section,
  .catalog-section {
    padding: 35px 0;
  }

  .about-block .block-content {
    padding: 38px 32px 38px 24px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow: hidden !important;
  }

  .about-block h3,
  .about-block .block-content h3 {
    font-size: 20px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 85% !important;
    box-sizing: border-box !important;
  }

  .about-block p,
  .about-block .block-content p {
    font-size: 15px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 80% !important;
    box-sizing: border-box !important;
  }

  .catalog-btn {
    font-size: 14px;
    padding: 12px;
  }

  .also-we-block {
    padding: 20px;
  }

  .also-we-block h3 {
    font-size: 28px;
  }

  .also-we-block p {
    font-size: 14px;
  }

  .gallery-item {
    height: 220px;
  }

  .payment-block {
    padding: 20px;
  }

  .payment-block h3 {
    font-size: 20px;
  }

  .payment-content p,
  .payment-methods ol li {
    font-size: 14px;
  }

  .service-content {
    padding: 20px;
  }

  .service-content h3 {
    font-size: 18px;
  }

  .service-content p {
    font-size: 14px;
  }

  .service-image {
    height: 160px;
  }

  .dealer-block {
    padding: 20px;
  }

  .dealer-number {
    font-size: 50px;
  }

  .dealer-block .block-content p {
    font-size: 14px;
  }

  .cooperation-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .form-control {
    font-size: 14px;
    padding: 10px 15px;
  }

  .checkbox-label {
    font-size: 13px;
  }

  .btn-submit {
    font-size: 14px;
    padding: 10px 25px;
  }

  .pattern-text {
    font-size: 40px;
  }

  .pattern-number {
    font-size: 100px;
  }

  .contacts-section .section-title {
    font-size: 20px;
  }

  .contacts-description {
    font-size: 14px;
  }

  .contact-info p,
  .contact-link {
    font-size: 14px;
  }

  .btn-call {
    font-size: 14px;
    padding: 10px 25px;
  }

  .contacts-map {
    height: 350px;
  }

  .why-block {
    padding: 20px;
  }

  .why-block h3 {
    font-size: 20px;
  }

  .why-content p,
  .why-content ol li {
    font-size: 14px;
  }

  .btn-outline-brown {
    font-size: 16px;
    padding: 8px 20px;
  }

  .product-card {
    padding: 12px;
  }

  .product-title {
    font-size: 16px;
  }

  .product-specs {
    font-size: 13px;
  }

  .product-price {
    font-size: 18px;
  }

  .btn-buy {
    font-size: 13px;
    padding: 6px 14px;
  }

  .nav-arrow {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .dot {
    width: 30px;
    height: 3px;
  }

  .footer-logo-container .logo-icon {
    width: 70px;
    max-height: 70px;
  }

  /* Footer адаптив для маленьких экранов */
  .footer {
    padding: 30px 0 20px;
  }

  .footer-content {
    gap: 20px;
  }

  .footer-catalog-btn {
    font-size: 16px;
    padding: 8px 15px;
  }

  .footer-title {
    font-size: 16px;
  }

  .footer-address,
  .footer-phone,
  .footer-subtitle,
  .footer-description,
  .footer-nav a {
    font-size: 13px;
  }

  .newsletter-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .newsletter-input,
  .newsletter-btn {
    font-size: 13px;
    padding: 8px 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .logo-icon {
    width: 120px;
    max-height: 120px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-title-line1 {
    font-size: 20px;
  }

  .hero-title-line2 {
    font-size: 18px;
  }

  .hero-word {
    font-size: 32px;
  }

  .section-title {
    font-size: 18px;
  }

  .about-block h3,
  .about-block .block-content h3 {
    font-size: 16px;
  }

  .also-we-block h3 {
    font-size: 24px;
  }

  .payment-block h3 {
    font-size: 18px;
  }

  .service-content h3 {
    font-size: 16px;
  }

  .cooperation-title {
    font-size: 18px;
  }

  .why-block h3 {
    font-size: 18px;
  }
}

/* Всплывающая кнопка WhatsApp и Telegram */
.floating-messenger {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  z-index: 999999 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Пульсирующая анимация для кнопки мессенджеров */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.4), 0 0 0 0 rgba(101, 67, 33, 0.7);
  }
  50% {
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.4), 0 0 0 10px rgba(101, 67, 33, 0);
  }
  100% {
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.4), 0 0 0 0 rgba(101, 67, 33, 0);
  }
}

.floating-messenger-btn {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background-color: #654321 !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
  font-size: 24px !important;
  z-index: 100001 !important;
  position: relative !important;
  animation: pulse 2s infinite !important;
}

.floating-messenger-btn:hover {
  background-color: #8B4513;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.floating-messenger-btn.active {
  background-color: #8B4513;
  transform: rotate(45deg);
  animation: none !important;
}

.floating-messenger-menu {
  position: absolute;
  bottom: 80px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-messenger-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.floating-messenger-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.floating-messenger-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Модальное окно поиска */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.search-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.search-modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
  transform: scale(1);
}

.search-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.search-modal-close:hover {
  background-color: #f0f0f0;
  color: #333;
}

.search-form {
  width: 100%;
}

.search-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: Inter, sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: #654321;
}

.search-submit-btn {
  padding: 15px 25px;
  background-color: #654321;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit-btn:hover {
  background-color: #4A3328;
}

/* Страница поиска */
.search-page-section {
  padding: 40px 0;
  min-height: 60vh;
}

.search-form-container {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-form-page {
  width: 100%;
}

.search-form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-end;
}

.search-input-group {
  flex: 1;
}

.search-input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.search-input-field {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: Inter, sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input-field:focus {
  border-color: #654321;
}

.search-submit-button {
  padding: 12px 30px;
  background-color: #654321;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.search-submit-button:hover {
  background-color: #4A3328;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid #e0e0e0;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.filter-select,
.filter-input {
  padding: 10px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: Inter, sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
  background: #fff;
}

.filter-select:focus,
.filter-input:focus {
  border-color: #654321;
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  grid-column: 1 / -1;
}

.btn-filter-apply {
  padding: 10px 20px;
  background-color: #654321;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-filter-apply:hover {
  background-color: #4A3328;
}

.btn-filter-reset {
  padding: 10px 20px;
  background-color: #f5f5f5;
  color: #666;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-filter-reset:hover {
  background-color: #e0e0e0;
  color: #333;
}

.search-results {
  margin-top: 30px;
}

/* Сетка товаров на странице поиска - используем те же стили, что и в каталоге */
.search-results .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.search-results .product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}

.search-results .product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.search-results .product-link {
  text-decoration: none;
  display: block;
}

.search-results .product-image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  background: #f5f5f5;
  overflow: hidden;
}

.search-results .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-results .product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #ccc;
}

.search-results .product-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FF3B30;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
}

.search-results .product-info {
  padding: 15px;
}

.search-results .product-name {
  font-size: 18px;
  font-weight: 600;
  color: #654321;
  margin-bottom: 10px;
}

.search-results .product-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  min-height: 40px;
}

.search-results .product-price-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.search-results .product-old-price {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
}

.search-results .product-price {
  font-size: 24px;
  font-weight: 700;
  color: #654321;
}

.search-results .product-sku {
  font-size: 13px;
  color: #999;
}

/* Страница результатов поиска (старые стили для совместимости) */
.search-results-section {
  padding: 40px 0;
  min-height: 60vh;
}

.search-query {
  color: #654321;
  font-weight: 600;
}

.search-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.search-empty-icon {
  font-size: 64px;
  color: #ccc;
  margin-bottom: 20px;
}

.search-empty p {
  font-size: 16px;
  margin-bottom: 10px;
}

.search-section {
  margin-bottom: 40px;
}

.search-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #654321;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-section-title i {
  color: #654321;
}

.results-count {
  font-size: 18px;
  font-weight: 400;
  color: #999;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.article-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #654321;
}

.article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.article-item:hover .article-title {
  color: #654321;
}

.article-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #999;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-date i {
  font-size: 12px;
}

@media (max-width: 768px) {
  .search-form-container {
    padding: 20px;
  }

  .search-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-submit-button {
    width: 100%;
    justify-content: center;
  }

  .search-filters {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    flex-direction: column;
  }

  .btn-filter-apply,
  .btn-filter-reset {
    width: 100%;
    justify-content: center;
  }

  .search-section-title {
    font-size: 20px;
  }

  .article-title {
    font-size: 18px;
  }

  .search-results .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .search-results .product-image-wrapper {
    height: 200px;
  }

  .search-results .product-name {
    font-size: 16px;
  }

  .search-results .product-price {
    font-size: 20px;
  }
}

.floating-messenger-whatsapp {
  background-color: #25D366;
}

.floating-messenger-whatsapp:hover {
  background-color: #20BA5A;
}

.floating-messenger-telegram {
  background-color: #0088cc;
}

.floating-messenger-telegram:hover {
  background-color: #0077B5;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .floating-messenger {
    bottom: 20px !important;
    right: 20px !important;
  }

  .floating-messenger-btn {
    width: 55px !important;
    height: 55px !important;
    font-size: 22px !important;
  }

  .floating-messenger-item {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .floating-messenger-menu {
    bottom: 70px;
    gap: 12px;
  }
}
