/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.2;
    color: #2c3e50;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 600;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    font-weight: 500;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #b7975c;
}

h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Секции */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: #f8f9fa;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #b7975c;
    color: #ffffff;
}

.btn-primary:hover {
    background: #a17e4a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(183, 151, 92, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #b7975c;
}

.btn-secondary:hover {
    background: #b7975c;
    color: #ffffff;
}

.btn-text {
    color: #b7975c;
    text-decoration: none;
    font-weight: 500;
    padding: 0;
    position: relative;
}

.btn-text:after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.btn-text:hover:after {
    margin-left: 10px;
}

/* Слайдер */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #f8f9fa;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    color: #2c3e50;
    max-width: 600px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    margin-left: 10%;
}

.slide-content h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #5a6b7a;
}

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

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-prev:hover,
.slider-next:hover {
    background: #b7975c;
    color: #ffffff;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.dot.active {
    background: #b7975c;
    transform: scale(1.2);
}

/* Категории каталога */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: #ffffff;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-image {
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-info {
    padding: 20px;
    text-align: center;
}

.category-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.category-info .btn-text {
    display: inline-block;
    margin-top: 10px;
}

/* Преимущества */
.preim-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.preim-item {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.preim-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(183, 151, 92, 0.1);
}

.preim-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.preim-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preim-item h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.preim-item p {
    color: #7f8c8d;
    font-size: 0.95em;
}

/* Товары */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.product-price {
    font-size: 1.4em;
    color: #b7975c;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Статьи */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.article-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85em;
    color: #2c3e50;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.article-content p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Футер */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.2em;
    font-weight: 500;
}

.footer-col h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #b7975c;
    margin-top: 10px;
}

.footer-col p {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #b7975c;
    padding-left: 5px;
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 15px;
    color: #bdc3c7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contacts i {
    color: #b7975c;
    width: 20px;
}

.footer-contacts a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: #b7975c;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #b7975c;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
}

.footer-bottom a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #b7975c;
}

/* Попап */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.8);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.popup-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.popup-form.active {
    display: block;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #b7975c;
}

.popup-form h3 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.6em;
    text-align: center;
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.popup-form input:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: #b7975c;
    box-shadow: 0 0 0 3px rgba(183, 151, 92, 0.1);
}

.popup-form textarea {
    height: 120px;
    resize: vertical;
}

.popup-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preim-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    
    h2 {
        font-size: 2em;
    }
    
    section {
        padding: 50px 0;
    }
    
    .categories-grid,
    .preim-grid,
    .products-grid,
    .articles-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-content {
        margin: 20px;
        padding: 25px;
    }
    
    .slide-content h1 {
        font-size: 1.8em;
    }
    
    .popup-form {
        padding: 25px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

/* Добавить в конец файла style.css */

/* Сетка для 8 преимуществ */
.preim-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Адаптация для преимуществ */
@media (max-width: 992px) {
    .preim-grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .preim-grid-8 {
        grid-template-columns: 1fr;
    }
}

/* Стили для преимуществ как на оригинальном сайте */
.preim-item {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preim-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(183, 151, 92, 0.1);
}

.preim-item-title {
    font-size: 1.3em;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 20px;
}

.preim-item-img {
    margin-bottom: 20px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preim-item-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.preim-item-text {
    color: #7f8c8d;
    font-size: 0.95em;
    line-height: 1.6;
    flex-grow: 1;
}

/* Анимации WOW */
.wow {
    visibility: hidden;
}

.animate__animated {
    visibility: visible;
}

/* Стили для слайдера */
.slide-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.slide-content h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.slide-content p {
    color: #5a6b7a;
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Категории */
.category-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(183, 151, 92, 0.15);
}

.category-image {
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-info {
    padding: 25px;
    text-align: center;
}

.category-info h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Товары */
.product-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(183, 151, 92, 0.15);
}

.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.2em;
}

.product-price {
    font-size: 1.4em;
    color: #b7975c;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Статьи */
.article-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85em;
    color: #2c3e50;
    font-weight: 500;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.2em;
}

.article-content p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Кнопки */
.btn-primary {
    background: #b7975c;
    border: 2px solid #b7975c;
}

.btn-primary:hover {
    background: #a17e4a;
    border-color: #a17e4a;
}

.btn-secondary {
    border: 2px solid #b7975c;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #b7975c;
    color: #ffffff;
}

.btn-text {
    color: #b7975c;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.btn-text:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #b7975c;
    transition: width 0.3s ease;
}

.btn-text:hover:after {
    width: 100%;
}

/* Добавить в style.css */

/* Сетка для товаров - 4 карточки в ряд */
.products-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

/* Адаптация для разных экранов */
@media (max-width: 1200px) {
    .products-grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .products-grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Стили для карточки товара */
.product-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(183, 151, 92, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.btn-raboty {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(183, 151, 92, 0.9);
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.product-card:hover .btn-raboty {
    opacity: 1;
}

.btn-raboty:hover {
    background: #b7975c;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(183, 151, 92, 0.3);
}

.btn-raboty i {
    font-size: 12px;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.4;
    flex-grow: 1;
}

.product-price {
    font-size: 1.3em;
    color: #b7975c;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-info .btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    margin-top: auto;
}

/* Стили для заглушки загрузки */
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: #b7975c;
    font-size: 18px;
}

.loading-spinner i {
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .btn-raboty {
        opacity: 1;
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-info h3 {
        font-size: 1em;
    }
    
    .product-price {
        font-size: 1.1em;
    }
}

/* Попап стили */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: block;
    opacity: 1;
}

.popup-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
}

.popup-form.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

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

.popup-close:hover {
    color: #b7975c;
    background: #f5f5f5;
}

.popup-form h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.popup-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b7975c;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(183, 151, 92, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9em;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-text a {
    color: #b7975c;
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Анимации */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .popup-form {
        padding: 30px 20px;
        width: 95%;
    }
    
    .popup-form h3 {
        font-size: 1.5em;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .popup-form {
        padding: 25px 15px;
    }
    
    .popup-form h3 {
        font-size: 1.3em;
    }
}




/* Базовые эффекты без использования современных селекторов */
.product-image img,
.category-image img,
.article-image img,
.preim-item-img img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.product-card:hover .product-image img,
.category-card:hover .category-image img,
.article-card:hover .article-image img,
.preim-item:hover .preim-item-img img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

/* Для слайдера */
.hero-slider .slide {
    -webkit-filter: grayscale(70%);
    filter: grayscale(70%);
    transition: all 0.5s ease;
}

.hero-slider .slide:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}