.custom_container {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    padding: 40px 20px;
}

.text-content {
    flex: 1;
}

.gallery {
    flex: 0 0 480px;
    display: flex;
    gap: 16px;
}

.gallery-main {
    flex: 0 0 65%;
    height: 500px;
}

.gallery-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-side img {
    flex: 1;
    height: 240px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .custom_container {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
    }

    .gallery {
        flex: none;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .gallery-main,
    .gallery-side {
        height: 280px;
    }

    .gallery-side {
        display: flex;
        flex-direction: column;
        gap: 2vh;
    }

    .gallery-side img {
        height: 280px;
    }

    .text-content {
        font-size: 16px;
    }

    .text-content strong {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .gallery-main,
    .gallery-side img {
        height: 220px;
    }
}

.btn-3d-tour {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 48px;
    border: 2px solid #000;
    border-radius: 999px;      /* капсула */
    background: #fff;
    color: #000;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-3d-tour:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.btn-3d-tour:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.why-choose {
  padding: 60px 15px;
  background-color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.why-choose__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.why-choose__left {
  flex: 0 1 50%;
}

.why-choose__right {
  flex: 0 1 50%;
  display: flex;
  justify-content: center;
}

.why-choose__image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Заголовок */
.why-choose__title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 40px;
}

/* Элементы списка преимуществ */
.why-choose__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
}

.why-choose__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.why-choose__text {
  max-width: 430px;
}

.why-choose__subtitle {
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-size: 20px;
}

.why-choose__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

/* Адаптив */
@media (max-width: 991px) {
  .why-choose__inner {
    flex-direction: column;
    align-items: center;
  }

  .why-choose__left,
  .why-choose__right {
    flex: 0 0 100%;
  }

  .why-choose__title {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .why-choose {
    padding: 40px 15px;
  }

  .why-choose__title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .why-choose__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
  }

  .why-choose__subtitle {
    font-size: 18px;
  }

  .why-choose__text p {
    font-size: 14px;
  }
}


.shipping-payment {
  padding: 60px 15px 80px;
  background-color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shipping-payment__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.shipping-payment__title {
  font-size: 42px;
  letter-spacing: 0.06em;
  margin-bottom: 50px;
}

.shipping-payment__cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Карточка */
.shipping-payment__card {
  position: relative;
  flex: 0 1 45%;
  min-width: 260px;
  max-width: 520px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
}

.shipping-payment__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Затемнение и текст поверх */
.shipping-payment__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.55)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.shipping-payment__overlay span {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* Ховер‑эффект */
.shipping-payment__card:hover .shipping-payment__image {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}
.shipping-payment__cards .shipping-payment__card[href] .shipping-payment__overlay span {
    color: white !important;
}

.shipping-payment__cards .shipping-payment__card[href]:hover .shipping-payment__overlay span {
    color: white !important;
}

/* Адаптив */
@media (max-width: 991px) {
  .shipping-payment__title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .shipping-payment__cards {
    gap: 25px;
  }

  .shipping-payment__card {
    flex: 0 1 100%;
  }
}

@media (max-width: 575px) {
  .shipping-payment {
    padding: 40px 15px 60px;
  }

  .shipping-payment__title {
    font-size: 26px;
  }

  .shipping-payment__overlay span {
    font-size: 20px;
    letter-spacing: 0.08em;
  }
}

.map-section {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-block-end: 6vh;
  width: 100vw;              /* полная ширина окна */
  background-color: #f5f5f5; /* опционально фон */
}

.map-section__inner {
  width: 100%;
  position: relative;
}

.map-section__inner iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* по желанию адаптив по высоте */
@media (max-width: 767px) {
  .map-section__inner iframe {
    height: 350px;
  }
}

.contacts-block {
  max-width: 420px;
  padding: 32px 40px;
  background-color: #ffffff;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  position: absolute;
  top: 4vh;
  left: 14vw;
  z-index: 2;
  font-family: inherit;
  color: #111111;
}

.contacts-block__title {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.25;
}

.contacts-block__item {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.5;
}

.contacts-block__link {
  color: inherit;
  text-decoration: none;
}

.contacts-block__link:hover {
  text-decoration: underline;
}

.contacts-block__socials {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.contacts-block__social {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-block;
}


.contacts-block__social--yt {
  background-image: url("/wa-data/public/site/data/sem.green-demo.ru/img/youtube.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: 100%;
}

@media (max-width: 1024px) {
  .contacts-block {
    max-width: 340px;
    padding: 24px 28px;
    top: 24px;
    left: 24px;
  }

  .contacts-block__title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .contacts-block__item {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .contacts-block__social {
    width: 20px;
    height: 20px;
  }
}

/* телефоны */
@media (max-width: 768px) {
  .contacts-block {
    position: static;
    max-width: 100%;
    padding: 16px 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  .map-section__inner {
    display: flex;
    flex-direction: column;
  }

  .contacts-block__title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .contacts-block__item {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .contacts-block__social {
    width: 18px;
    height: 18px;
  }
}

.faq-container {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-block-end: 4rem;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none; /* Hide default triangle */
}

/* Hide default marker for webkit */
.faq-title::-webkit-details-marker {
    display: none;
}

.faq-title span:first-child {
    margin-right: 1rem;
}

/* Icon Container */
.icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-inline-end: 2rem;
}

/* Icons using pseudo-elements */
.icon::before,
.icon::after {
    content: '';
    position: absolute;
    background-color: #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* Horizontal line (always visible) */
.icon::before {
    width: 100%;
    height: 1.5px;
}


.icon::after {
    width: 1.5px;
    height: 100%;
}

/* Animation trigger */
details[open] .icon {
    transform: rotate(45deg); /* Turns the + into an x */
}



/* Smooth Content Animation using Grid */
.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

details[open] .faq-content {
    grid-template-rows: 1fr;
}

.faq-inner {
    overflow: hidden;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s ease, padding 0.3s ease;
}

details[open] .faq-inner {
    opacity: 1;
    padding-bottom: 1.5rem; /* Add padding only when open to avoid jumpiness */
}
/* Benefits List Styles */
.benefits-container {
    max-width: 100%;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3rem;
    /* Row gap, Column gap */
    box-sizing: border-box;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-image: url('/wa-data/public/site/data/sem.green-demo.ru/img/icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.benefit-text {
    font-size: 1rem;
    /* Consistent with FAQ text */
    color: #888;
    /* Lighter gray based on image */
    line-height: 1.5;
    font-weight: 300;
}

@media (max-width: 768px) {
    .benefits-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        /* Adjust padding for mobile */
        gap: 1.5rem;
    }
}
/* =====================================
   РЕМЕСЛЕННИЧЕСКАЯ ЦВЕТОВАЯ СХЕМА
   ===================================== */
:root {
    --color-primary: #8B4513;      /* Цвет дуба/бочки */
    --color-accent: #D4A574;       /* Янтарный/золотистый */
    --color-secondary: #2D5016;    /* Темно-зеленый */
    --color-bg-light: #F5F1ED;     /* Светлый бежевый фон */
    --color-text-dark: #2C1810;    /* Темно-коричневый текст */
    --color-border: #D4C4B0;       /* Светлая граница */
}

/* =====================================
   ШАПКА САЙТА (HEADER)
   ===================================== */

/* Sticky header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--color-primary) 0%, #6B3410 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Верхняя часть header - контакты */
.header-top {
    background: var(--color-text-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.header-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-contacts {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-contacts a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-contacts a:hover {
    color: #FFD700;
}

/* Основная часть header */
.header-main {
    padding: 15px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #6B3410 100%);
}

.header-main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Логотип */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-logo img {
    height: 50px;
    width: auto;
}

/* Навигация */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover {
    background: rgba(255,255,255,0.1);
}

.main-nav a:hover::after {
    width: 80%;
}

/* Иконки корзины и поиска */
.header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-icon {
    color: #fff;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.header-icon:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

/* Индикатор корзины */
.cart-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4444;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* =====================================
   ФУТЕР САЙТА (FOOTER)
   ===================================== */

footer {
    background: var(--color-text-dark);
    color: #D4C4B0;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(212,196,176,0.2);
}

.footer-column h3 {
    color: var(--color-accent);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #D4C4B0;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

/* Контакты в футере */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #D4C4B0;
}

.footer-contact-item i {
    color: var(--color-accent);
    font-size: 16px;
}

/* Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #999;
}

/* =====================================
   ОБЩИЕ УЛУЧШЕНИЯ
   ===================================== */

/* Кнопки */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #6B3410 100%);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    background: var(--color-accent);
    color: var(--color-text-dark);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

/* Плавность всех переходов */
* {
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Ссылки общие */
a {
    color: var(--color-primary);
}

a:hover {
    color: var(--color-accent);
}

/* =====================================
   АДАПТИВНОСТЬ
   ===================================== */

@media (max-width: 992px) {
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-main-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-contacts {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   СТИЛИ ДЛЯ СУЩЕСТВУЮЩЕЙ СТРУКТУРЫ WEBASYST
   ===================================== */

/* Header */
.header {
    background: linear-gradient(135deg, #8B4513 0%, #6B3410 100%) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

.header__top {
    background: #2C1810 !important;
}

/* Ссылки в меню */
.h-menu__link {
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.h-menu__link:hover {
    color: #D4A574 !important;
    background: rgba(255,255,255,0.1) !important;
}

/* Footer */
footer a {
    transition: color 0.3s ease !important;
}

footer a:hover {
    color: #D4A574 !important;
}

/* Кнопки на сайте */
button, .button, input[type="submit"] {
    transition: all 0.3s ease !important;
}

button:hover, .button:hover, input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* =====================================
   ТИПОГРАФИКА (TYPOGRAPHY)
   ===================================== */

/* Подключение Google Fonts - Playfair Display для заголовков */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

/* Применение шрифтов */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Oswald', Georgia, serif !important;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-dark);
}

/* Заголовки на странице */
h1, .h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2, .h2 {
    font-size: 2rem;
    margin-bottom: 0.875rem;
}

h3, .h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Логотип */
.site-logo,
.header a[href="/"] {
    font-family: 'Oswald', Georgia, serif !important;
    font-weight: 700;
}

/* Кнопки */
button, .button, input[type="submit"],
.btn, .btn-primary, .btn-secondary {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Навигация */
.h-menu__link,
nav a {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
}

/* Улучшенная читаемость */
p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Акцентный текст */
.accent-text {
    font-family: 'Oswald', Georgia, serif !important;
    font-style: italic;
    color: var(--color-accent);
}

/* =====================================
   ГЛАВНАЯ СТРАНИЦА (HOMEPAGE)
   ===================================== */


/* Секции страницы */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 20px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}


/* Блоки преимуществ */
.features-grid,
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-item,
.advantage-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover,
.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.15);
}

.feature-item h3,
.advantage-item h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-item p,
.advantage-item p {
    color: #666;
    line-height: 1.7;
}

/* Иконки в блоках */
.feature-item i,
.advantage-item i,
.feature-icon,
.advantage-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
}

/* Категории на главной */
.categories-grid,
.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.category-card,
.category-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.category-card:hover,
.category-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.category-card img,
.category-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img,
.category-item:hover img {
    transform: scale(1.1);
}

.category-card h3,
.category-item h3 {
    padding: 20px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.95), rgba(107, 52, 16, 0.95));
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Товары на главной */
.products-grid,
.items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card,
.item-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover,
.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card img,
.item-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.product-card .info,
.item-card .info {
    padding: 20px;
}

.product-card h4,
.item-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-text-dark);
    min-height: 50px;
}

.product-card .price,
.item-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 15px 0;
}

/* CTA блоки */
.cta-block {
    background: linear-gradient(135deg, var(--color-primary), #6B3410);
    color: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin: 60px 0;
}

.cta-block h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-block p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-block .button,
.cta-block button {
    background: var(--color-accent) !important;
    color: var(--color-text-dark) !important;
    padding: 15px 40px !important;
    font-size: 1.1rem !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.cta-block .button:hover,
.cta-block button:hover {
    background: #FFD700 !important;
    transform: scale(1.05);
}

/* Адаптивность для главной */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .features-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categories-grid,
    .category-list {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .items-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .cta-block {
        padding: 40px 20px;
    }
}
.button {
    background: #d8b057;
}
.button:hover:not(.in-loading):not(:disabled) {
    background: #d8b057;
}