 /* Стили для липкой шапки */
 .navbar {
     position: sticky;
     top: 0;
     z-index: 1020;
     box-shadow: 0px 7px 8px rgba(0, 0, 0, 0.2);
 }

 .logo {
     height: 50px;
 }


 /* Стили для слайдера */
 .hero-slider .item {
     height: 600px;
     background-size: cover;
     background-position: center;
     display: flex;
     align-items: center;
 }

 .hero-slider .item-content {
     background-color: rgba(0, 0, 0, 0.6);
     padding: 30px;
     max-width: 500px;
 }

 /* Стили для категорий товаров */
 .category-item {
     margin-bottom: 30px;
     transition: transform 0.3s;
 }

 .category-item:hover {
     transform: translateY(-5px);
 }

 .category-img {
     height: 200px;
     object-fit: cover;
     width: 100%;
     border-radius: 10px;
 }

 /* Стили для блока преимуществ */
 .benefit-icon {
     font-size: 40px;
     margin-bottom: 15px;
 }

 /* Стили для фотогалереи */
 .gallery-item {
     height: 250px;
     overflow: hidden;
 }

 .gallery-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.3s;
 }

 .gallery-item:hover img {
     transform: scale(1.05);
 }

 /* Стили для формы захвата */
 .capture-form {
     background-size: cover;
     background-position: center;
     padding: 80px 0;
 }

 .form {
     /* background-color: rgba(255, 255, 255, 0.5); */
     background-color: #fff;
 }

 .bonus-list {
     list-style-type: none;
     padding-left: 0;
 }

 .bonus-list li {
     margin-bottom: 15px;
     padding-left: 30px;
     position: relative;
 }

 .bonus-list li:before {
     content: "✓";
     position: absolute;
     left: 0;
     color: #28a745;
     font-weight: bold;
 }



 /* Стили для подвала */
 footer {
     background-color: #f8f9fa;
     padding: 50px 0 20px;
 }

 .footer-links {
     list-style-type: none;
     padding-left: 0;
 }

 .footer-links li {
     margin-bottom: 10px;
 }

 .social-links a {
     display: inline-block;
     margin-right: 10px;
 }

 /* Кнопка "Смотреть все работы" под каруселью */
 .btn-view-all {
     padding: 0.6rem 1.4rem;
     font-weight: 600;
 }

 /* Кнопка "Наверх" (скролл) */
 .scroll-top {
     position: fixed;
     left: 20px;
     bottom: 40px;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     background-color: #0d6efd;
     color: #fff;
     border: none;
     box-shadow: 0 6px 18px rgba(13, 110, 253, 0.24);
     cursor: pointer;
     z-index: 2000;
     opacity: 0;
     visibility: hidden;
     transform: translateY(8px);
     transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
 }

 .scroll-top.show {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 .scroll-top svg {
     width: 20px;
     height: 20px;
     display: block;
 }

 .mobile-phone-btn {
     width: 50px;
     height: 50px;
     position: fixed;
     background: #28d231 url(/images/phone.svg) center center no-repeat;
     background-repeat: no-repeat;
     background-size: 30px 30px;
     border-radius: 50%;
     bottom: 40px;
     right: 25px;
     z-index: 99999;
 }

 /* Страница категорий товаров */
 .product-image {
     height: 240px;
     object-fit: cover;
     width: 100%;
     cursor: pointer;
 }

 .product-card {
     height: 100%;
     transition: transform 0.3s;
 }

 .product-card:hover {
     transform: translateY(-5px);
 }

 .old-price {
     text-decoration: line-through;
     color: #6c757d;
 }

 .current-price {
     font-weight: bold;
     color: #dc3545;
     font-size: 1.5rem;
 }

    /* Страница продукта */
    .main-image {
        max-height: 600px;
        object-fit: contain;
        width: 100%;
        cursor: pointer;
    }

    .thumbnail-image {
        height: 150px;
        object-fit: cover;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.3s;
    }

    .thumbnail-image:hover,
    .thumbnail-image.active {
        opacity: 1;
    }

    .thumbnail-carousel {
        margin-top: 15px;
    }

     /* Стили для кнопки избранного */
    #add-to-favorite.favorited .heartRed {
        display: inline-block;
    }

    #add-to-favorite.favorited .heartWhite {
        display: none;
    }

    #add-to-favorite:not(.favorited) .heartRed {
        display: none;
    }
    #add-to-favorite:not(.favorited) .heartWhite {
        display: inline-block;
    }

    #add-to-favorite svg {
        transition: all 0.3s ease;
    }
        
    #add-to-favorite.favorited {
        border-color: #dc3545;
        color: #dc3545;
    }
    
    #add-to-favorite.favorited:hover {
        background-color: #dc3545;
        color: white;
    }
    

 /*  Стили для блога */
        .blog-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
        
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        }
        
        .blog-card-image {
            display: block;
            position: relative;
            overflow: hidden;
            height: 200px;
        }
        
        .blog-card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .blog-card:hover .blog-card-img {
            transform: scale(1.05);
        }
        
        .blog-badge-new {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #ffc107;
            color: #212529;
            padding: 3px 10px;
            font-size: 12px;
            font-weight: bold;
            border-radius: 0;
        }
        
        .blog-card-title {
            font-size: 1.1rem;
            line-height: 1.4;
            margin-bottom: 10px;
            min-height: 52px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Стили для пагинации */
        .pagination .page-link {
            border-radius: 0;
            border: 1px solid #dee2e6;
            color: #495057;
        }
        
        .pagination .page-link:hover {
            background-color: #f8f9fa;
            border-color: #dee2e6;
        }
        /* Стили для пагинации */
        .pagination .page-link {
            border-radius: 0;
            border: 1px solid #dee2e6;
            color: #495057;
        }
        
        .pagination .page-link:hover {
            background-color: #f8f9fa;
            border-color: #dee2e6;
        }
        
        .pagination .page-item.active .page-link {
            background-color: #ffc107;
            border-color: #ffc107;
            color: #212529;
        }
        
        /* Адаптивные стили */
        @media (max-width: 768px) {
            .blog-card-image {
                height: 180px;
            }
            
            .blog-card-title {
                font-size: 1rem;
                min-height: auto;
            }

             #mapa iframe{
                height:370px
             }
        }
        
        @media (max-width: 576px) {
            .blog-card-image {
                height: 160px;
            }
        }