/*
Theme Name: vf-shoping
*/

body {
    font-family: Arial, sans-serif;
    background: #faf6f0;
    color: #2a241e;
    margin: 0;
    padding: 0;
}

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

/* ===== ШАПКА ===== */
.site-header {
    background: #fcf8f3;
    border-bottom: 4px solid #b45f3a;
    padding: 15px 0;
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 300;
    color: #3e2c1b;
}
.logo h1 span {
    font-weight: 800;
    color: #b45f3a;
}

/* ===== ГОРИЗОНТАЛЬНОЕ МЕНЮ (ДЛЯ КЛАССА PRIMARY) ===== */
.primary {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 15px 25px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.primary li {
    display: inline-block !important;
}

.primary a {
    display: inline-block !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    color: #5a4a3a !important;
    text-decoration: none !important;
    transition: 0.3s !important;
}

.primary a:hover {
    color: #b45f3a !important;
    background: #f5ede4 !important;
}

/* ===== БАННЕР (НОВЫЙ) ===== */
.hero-banner-new {
    background: linear-gradient(135deg, #fcf8f3, #f0e8de);
    border-radius: 30px;
    padding: 40px 30px;
    margin: 10px 0 30px;
    text-align: center;
    border: 1px solid #e1d4c8;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 300;
    color: #2d241b;
}
.hero-content h1 span {
    font-weight: 700;
    color: #b45f3a;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 30px;
    margin: 20px 0 30px;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 18px;
    border-radius: 60px;
    border: 1px solid #e1d4c8;
}

.hero-features span i {
    color: #b45f3a;
}

/* ===== СЕТКА ТОВАРОВ ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    border: 1px solid #e1d4c8;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    border-color: #b45f3a;
}

.product-image {
    aspect-ratio: 1/1;
    background: #f5ede4;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
}

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

.add-to-cart {
    display: block;
    background: #1e1e1e;
    color: #fff;
    padding: 10px;
    border-radius: 60px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.add-to-cart:hover {
    background: #b45f3a;
}

/* ===== ФУТЕР ===== */
.site-footer {
    border-top: 2px solid #e1d4c8;
    padding: 40px 0 20px;
    margin-top: 50px;
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.footer-grid h4 {
    color: #2d241b;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
}

.footer-grid ul li {
    padding: 4px 0;
}

.footer-grid ul li a {
    color: #5a4a3a;
    transition: 0.3s;
    text-decoration: none;
}

.footer-grid ul li a:hover {
    color: #b45f3a;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .primary {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .primary a {
        width: 100% !important;
        text-align: center !important;
        padding: 10px !important;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    .hero-features span {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}