/*@font-face {
  font-family: 'Montserrat';
  src: url('css/fonts/ofont.ru_Montserrat.ttf') format('ttf'),
  font-style: normal;
}*/

/*body {
  font-family: 'Montserrat', sans-serif;
}*/

    body {
      font-family: sans-serif;
      background: #fff;
      color: #333;
    }

*/
/* Переменные цветов */
:root {
    --primary-color: #2a7f62; /* Основной зеленый */
    --secondary-color: #f8b400; /* Акцентный желтый */
    --dark-color: #1a2e35; /* Темный сине-зеленый */
    --light-color: #f8f9fa; /* Светлый фон */
}

/* Header стили */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header_logo {
  width: 250px;
}

.navbar {
    padding: 15px 0;
    border-bottom: 5px solid #C56146;
}

.navbar-brand {
    font-weight: 700;
    color: var(--dark-color) !important;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    padding: 8px 0 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #ACA732;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Кастомная кнопка */
.btn-primary-custom {
    background-color: #C66146!important;
    color: white;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-primary-custom:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Адаптивность */
@media (max-width: 992px) {
    .navbar-collapse {
        padding-top: 20px;
    }
    footer {
  padding-bottom: 78px; /* высота мобильного меню */
    }
    
    .nav-link {
        margin: 5px 0;
        padding: 10px 0 !important;
    }
    .header_logo {
  width: 150px;
}

}

/*блок услуг*/

.ecosystem {
  padding: 40px 20px;
  background: #e4e4e485;
  font-family: sans-serif;
}

.ecosystem-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.eco-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eco-card:hover {
  transform: translateY(-4px);
}

.eco-icon {
  width: 110px;

}

.eco-card h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bolder;
}

.eco-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #9A9793;
  font-weight: bold;
}

/* Большой блок */
.eco-card--big {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.btn-primary-custom {
    background-color:#ACA732;
}

.eco-card--big .eco-card__text {
  max-width: 60%;
}

.eco-card--big h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  font-weight: bolder;
}

.eco-card--big p {
  margin: 0;
  font-size: 1rem;
}

.eco-card--big .eco-card__img img {
  max-height: 220px;
  object-fit: contain;
}

/* Адаптив */
@media (max-width: 576px) {
  .ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .eco-card {
    padding: 12px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .eco-card h4 {
    font-size: 0.9rem;
    text-align: center;
  }

  .eco-card p {
    font-size: 0.75rem;
    text-align: center;
  }

  .eco-icon {
    width: 60px;
    margin: 0 auto;
  }

  .eco-card--big {
    grid-column: span 2;
    flex-direction: column;
    text-align: center;
    padding: 14px;
  }

  .eco-card--big h3 {
    font-size: 1.4rem;
  }

  .eco-card--big p {
    font-size: 0.85rem;
  }

  .eco-card--big .eco-card__img img {
    max-width: 100%;
    height: auto;
  }

  .eco-card--big .eco-card__text {
    max-width: 100%;
  }
  .ecosystem {
  padding: 10px 5px;

}
}
/*блок услуг*/

/*products*/
.container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .cart {
            position: relative;
            cursor: pointer;
        }
        
        .cart-count {
            position: absolute;
            top: -10px;
            right: -10px;
            background: #e74c3c;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }
        
        /* Основной контент */
        .product-page {
            padding: 20px 0;
        }
        
        .product-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
        }
        
        .product-gallery {
            flex: 1;
            min-width: 300px;
        }
        
        .main-image {
            width: 100%;
            height: 400px;
            object-fit: contain;
            border: 1px solid #eee;
            margin-bottom: 15px;
            cursor: zoom-in;
        }
        
        .thumbnail-container {
            display: flex;
            gap: 10px;
        }
        
        .thumbnail {
            width: 70px;
            height: 70px;
            object-fit: cover;
            border: 1px solid #ddd;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .thumbnail:hover {
            border-color: #3498db;
        }
        
        .product-info {
            flex: 1;
            min-width: 300px;
        }
        
        .product-title {
            font-size: 28px;
            margin-bottom: 10px;
        }
        
        .product-rating {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .stars {
            color: #f1c40f;
            margin-right: 10px;
        }
        
        .reviews {
            color: #3498db;
            text-decoration: none;
        }
        
        .price-container {
            margin: 20px 0;
        }
        
        .current-price {
            font-size: 32px;
            font-weight: bold;
            color: #e74c3c;
        }
        
        .old-price {
            font-size: 20px;
            text-decoration: line-through;
            color: #95a5a6;
            margin-left: 10px;
        }
        
        .discount {
            background: #e74c3c;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 14px;
            margin-left: 10px;
        }
        
        .availability {
            color: #27ae60;
            font-weight: bold;
            margin-bottom: 20px;
        }
        
        .options {
            margin-bottom: 20px;
        }
        
        .option-title {
            font-weight: bold;
            margin-bottom: 8px;
        }
        
        .color-options, .size-options {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .color-option, .size-option {
            border: 1px solid #ddd;
            padding: 5px 10px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .color-option:hover, .size-option:hover,
        .color-option.selected, .size-option.selected {
            border-color: #3498db;
            background: #f0f8ff;
        }
        
        .quantity {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .qty-btn {
            width: 30px;
            height: 30px;
            background: #f1f1f1;
            border: none;
            font-size: 16px;
            cursor: pointer;
        }
        
        .qty-input {
            width: 50px;
            height: 30px;
            text-align: center;
            border: 1px solid #ddd;
            margin: 0 5px;
        }
        
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .add-to-cart, .buy-now {
            padding: 12px 25px;
            font-size: 16px;
            font-weight: bold;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .add-to-cart {
            background: #3498db;
            color: white;
        }
        
        .add-to-cart:hover {
            background: #2980b9;
        }
        
        .buy-now {
            background: #27ae60;
            color: white;
        }
        
        .buy-now:hover {
            background: #219653;
        }
        
        .wishlist {
            display: flex;
            align-items: center;
            color: #7f8c8d;
            cursor: pointer;
            margin-bottom: 30px;
        }
        
        .wishlist i {
            margin-right: 8px;
        }
        
        .delivery-info {
            background: #f9f9f9;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 30px;
        }
        
        .delivery-row {
            display: flex;
            margin-bottom: 10px;
        }
        
        .delivery-icon {
            margin-right: 10px;
            color: #3498db;
        }
        
        /* Табы с описанием */
        .tabs {
            margin-top: 50px;
        }
        
        .tab-header {
            display: flex;
            border-bottom: 1px solid #ddd;
            margin-bottom: 20px;
        }
        
        .tab-link {
            padding: 10px 20px;
            cursor: pointer;
            position: relative;
        }
        
        .tab-link.active {
            font-weight: bold;
        }
        
        .tab-link.active:after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #3498db;
        }
        
        .tab-content {
            display: none;
            padding: 15px 0;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .specifications table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .specifications tr:nth-child(even) {
            background: #f9f9f9;
        }
        
        .specifications td {
            padding: 10px;
            border: 1px solid #eee;
        }
        
        .specifications td:first-child {
            font-weight: bold;
            width: 30%;
        }
        
        /* Отзывы */
        .reviews-container {
            margin-top: 20px;
        }
        
        .review {
            border-bottom: 1px solid #eee;
            padding: 20px 0;
        }
        
        .review-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .review-author {
            font-weight: bold;
        }
        
        .review-date {
            color: #95a5a6;
        }
        
        .review-rating {
            color: #f1c40f;
            margin-bottom: 10px;
        }
        
        /* Похожие товары */
        .related-products {
            margin-top: 50px;
        }
        
        .section-title {
            font-size: 24px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .product-card {
            border: 1px solid #eee;
            padding: 15px;
            transition: all 0.3s;
        }
        
        .product-card:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .product-card-img {
            width: 100%;
            height: 200px;
            object-fit: contain;
            margin-bottom: 15px;
        }
        
        .product-card-title {
            font-size: 16px;
            margin-bottom: 10px;
            height: 40px;
            overflow: hidden;
        }
        
        .product-card-price {
            font-weight: bold;
            color: #e74c3c;
        }
        

        
        .copyright {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #34495e;
            color: #bdc3c7;
        }
        
        /* Модальное окно */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            overflow: auto;
        }
        
        .modal-content {
            object-fit: cover;
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 90%;
            margin-top: 50px;
        }
        .close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .product-container {
                flex-direction: column;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .add-to-cart, .buy-now {
                width: 100%;
            }
        }

        .tab-link {

            padding: 7px 7px;
        }
        

        .city-name {
            color: #CC6633;
            font-weight: bold!important;
            font-size: 18px!important;

            transition: 0.8s;
        }

.section-citi-bg {
  position: relative;
  overflow: hidden; /* для красоты */
}

.section-citi-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/regions/2846ad02-ab21-41f9-970d-f4ae03dc2313.webp'); /* путь к твоей картинке */
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.5); /* блюр + затемнение */
  z-index: 0;
}

.section-citi-bg > * {
  position: relative;
  z-index: 1;
}

.city-card {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid white;
    border-radius: 0px!important;
}

.city-card:hover .city-name {
    color: white;
    transition: transform 0.8s ease;
    transition: 0.8s;
    
}


/* Блеск по блоку */
.info-strip {
  background-color: #354736;
  color: white;
  padding: 8px 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  overflow: hidden;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Блеск по блоку */
.info-strip::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 2;
}

/* Запускаем блеск */
.info-strip.shine::after {
  animation: shineStrip 0.9s ease-out forwards;
}

@keyframes shineStrip {
  from {
    left: -100%;
  }
  to {
    left: 150%;
  }
}

/* Текст остаётся над бликом */
.info-strip-text {
  z-index: 3;
  position: relative;
  transition: opacity 0.5s ease-in-out;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .info-strip-text {
    font-size: 0.70rem;
  }
}
@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  40% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

.city-select-section {
  background-color: #f7f7f7;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.section-title {
  font-size: 1.8rem;
  color: #333;
}

.city-link {
  display: block;
  text-align: center;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  background: #fff;
  color: #222;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.city-link:hover {
  background-color: #eee;
  border-color: #bbb;
  color: #000;
}

.city-link.active {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/*///////////////////////////////////////////////////////////*/

    /* ===== Общие стили для секции и заголовка ===== */
.gallery-section {
  background-color: #F8F8F8;
}
.gallery-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #333333;
}

/* ===== Стили для .gallery-block и .gallery-item ===== */
.gallery-block .gallery-item {
  position: relative;
  overflow: hidden;
}

/* Базовые стили для изображения */
.gallery-block .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
  transition: transform .3s ease, box-shadow .3s ease;
  max-height: 200px; /* мобильное */
}

/* Адаптивные максимумы по высоте */
@media (min-width: 768px) {
  .gallery-block .gallery-item img {
    max-height: 220px; /* планшет */
  }
}
@media (min-width: 992px) {
  .gallery-block .gallery-item img {
    max-height: 250px; /* десктоп */
  }
}

/* Hover-эффект: масштабирование + усиление тени */
.gallery-block .gallery-item:hover img {
  transform: scale(1.03);
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
}

/* ===== Иконка-лупа ===== */
.gallery-block .gallery-item .overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.gallery-block .gallery-item:hover .overlay-icon {
  transform: translate(-50%, -50%) scale(3);
  opacity: 1;
}
/*//////////////////////////////////////////////////////////