/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #A0522D;
    --light-color: #FAF3E0;
    --dark-color: #5C4033;
    --success-color: #4CAF50;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

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

/* ===== ШАПКА ===== */
header {
    background: linear-gradient(rgba(91, 64, 51, 0.9), rgba(91, 64, 51, 0.9)), url('https://images.unsplash.com/photo-1579389083046-e81c11713a2f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.logo-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    color: var(--light-color);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.main-content {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0;
    gap: 40px;
}

.info-section, .form-section {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

h3 {
    color: var(--accent-color);
    margin: 25px 0 15px;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.benefits-list {
    list-style-type: none;
}

.benefits-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.benefits-list i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ===== КАРТОЧКИ ТОВАРОВ ===== */
.product-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0d6c2;
}

.product-card h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0;
}

.weight {
    color: var(--accent-color);
    font-weight: 600;
}

/* ===== ФОРМА ===== */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

button {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

button:hover {
    background: linear-gradient(to right, var(--dark-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* ===== КОНТАКТЫ ===== */
.contact-info {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* ===== ПОДВАЛ ===== */
footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    display: none;
    animation: slideIn 0.5s ease;
}

.success {
    background-color: var(--success-color);
}

.error {
    background-color: #f44336;
}

.warning {
    background-color: #ff9800;
}

@keyframes slideIn {
    from {transform: translateX(100%); opacity: 0;}
    to {transform: translateX(0); opacity: 1;}
}

/* ===== АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}



.berry-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 15px;
    font-family: 'Segoe UI', sans-serif; /* Или уберите, чтобы был шрифт сайта */
}

.berry-header {
    text-align: center;
    margin-bottom: 40px;
}

.berry-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.berry-nav-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    color: #555;
}

.berry-nav-btn.active, .berry-nav-btn:hover {
    background: #8e24aa; /* Цвет ягоды */
    color: #fff;
    border-color: #8e24aa;
}

/* Сетка товаров */
.berry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Карточка товара */
.berry-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s;
    border: 1px solid #eee;
    display: flex;       /* Чтобы футер прижимался к низу */
    flex-direction: column;
}

.berry-item:hover {
    transform: translateY(-5px);
}

/* Скрытие карточек при фильтре */
.berry-item.berry-hide {
    display: none;
}

.berry-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.berry-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.berry-badge {
    font-size: 12px;
    text-transform: uppercase;
    color: #8e24aa;
    font-weight: bold;
    margin-bottom: 5px;
}

.berry-name {
    font-size: 20px;
    margin: 5px 0 10px;
    color: #333;
}

.berry-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    flex-grow: 1;
}

.berry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Прижимает цену и кнопку к низу */
}

.berry-price {
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

.berry-btn {
    background: #4caf50; /* Зеленая кнопка как у вас */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.berry-btn:hover {
    background: #43a047;
}

.berry-btn.preorder {
    background: #607d8b; /* Серый для предзаказа */
}



/* ===== ТАБЛИЦЫ ДЛЯ ДИКОРОСОВ ===== */
.product-category {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-category h3 {
    margin-top: 0;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

.product-table {
    margin-top: 10px;
}

.product-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.product-row:last-child {
    border-bottom: none;
}

.product-name {
    font-weight: 600;
    color: var(--dark-color);
    min-width: 120px;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 80px;
}

.product-min {
    color: #888;
    font-size: 0.9rem;
    min-width: 80px;
}

.info-note {
    background: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.95rem;
    border-left: 3px solid var(--success-color);
}

@media (max-width: 480px) {
    .product-row {
        flex-direction: column;
        align-items: flex-start;
    }
}




/* Таблицы для дикоросов */
.product-category {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-category h3 {
    margin-top: 0;
    border-left: 4px solid #D2691E;
    padding-left: 15px;
}

.product-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.product-name {
    font-weight: 600;
    color: #5C4033;
    min-width: 120px;
}

.product-price {
    color: #8B4513;
    font-weight: bold;
    min-width: 80px;
}

.product-min {
    color: #888;
    font-size: 0.9rem;
    min-width: 80px;
}

.info-note {
    background: #FAF3E0;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 3px solid #4CAF50;
}



/* ===== ДИКОРОСЫ 2026 ===== */
.berries-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0e8 100%);
    border-radius: 24px;
    padding: 40px 30px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.berries-header {
    text-align: center;
    margin-bottom: 30px;
}

.berries-header h2 {
    font-size: 2.2rem;
    color: #2d4a1e;
    margin-bottom: 10px;
}

.berries-header p {
    color: #5a6e4a;
    font-size: 1.1rem;
}

/* Акцентный баннер сезона */
.season-banner {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
    border-radius: 60px;
    padding: 15px 25px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 20px rgba(252,74,26,0.3);
}

.season-banner-icon {
    font-size: 2rem;
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.season-banner-text {
    font-size: 1rem;
    text-align: center;
}

/* Сетка карточек */
.berries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Карточка товара */
.berry-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.berry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Свежие ягоды — дополнительный акцент */
.berry-card.fresh-card {
    border: 2px solid #f7b733;
    box-shadow: 0 8px 25px rgba(247,183,51,0.2);
}

/* Бейджи */
.berry-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}

.fresh-badge {
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
}

.frozen-badge {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

.dried-badge {
    background: linear-gradient(135deg, #8b5a2b, #c29b4a);
}

/* Изображение */
.berry-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.berry-card:hover .berry-card-img {
    transform: scale(1.05);
}

/* Контент карточки */
.berry-card-content {
    padding: 20px;
}

.berry-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #2d4a1e;
}

.berry-card-desc {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.berry-card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.berry-card-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e67e22;
}

.berry-card-min {
    font-size: 0.8rem;
    color: #888;
}

.berry-card-btn {
    width: 100%;
    background: linear-gradient(135deg, #2d4a1e, #4a7c2e);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.berry-card-btn:hover {
    background: linear-gradient(135deg, #1e3a12, #3a6622);
    transform: scale(1.02);
}

/* Информация о доставке */
.delivery-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    background: #2d4a1e;
    border-radius: 20px;
    padding: 30px;
    color: white;
    margin-top: 20px;
}

.delivery-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.delivery-item i {
    font-size: 2rem;
    color: #f7b733;
}

.delivery-item h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.delivery-item p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Адаптив */
@media (max-width: 768px) {
    .berries-section {
        padding: 25px 15px;
    }
    
    .berries-header h2 {
        font-size: 1.6rem;
    }
    
    .berry-card-price {
        font-size: 1.2rem;
    }
    
    .delivery-info {
        flex-direction: column;
    }
}