/* ============================================
   СТИЛИ ТОЛЬКО ДЛЯ ФРОНТЕНДА (САЙТА)
   ============================================ */

/* ШРИФТЫ */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Rubik:wght@300;400;500;600;700&display=swap');

/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', Arial, sans-serif;
    color: #2c2420;
    background: #ffffff;
    line-height: 1.6;
}

/* ===== ХЕДЕР ===== */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    max-height: 50px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #7D9B76;
}

.header-phone a {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #e94560;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .header-inner {
        flex-wrap: wrap;
        position: relative;
    }
}

/* ===== ТОВАРЫ ===== */
.product_name a,
.woocommerce-loop-product__title {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 17px;
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product_name a:hover {
    color: #79a206;
}

.price_box .current_price,
.woocommerce-Price-amount {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #79a206;
}

.price_box .old_price,
del .woocommerce-Price-amount {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #e94560;
    text-decoration: line-through;
}

/* ===== КНОПКИ ===== */
.button,
.btn,
.add_to_cart_button {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 500;
    background: #79a206;
    color: #ffffff;
    border-radius: 50px;
    padding: 12px 32px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button:hover,
.btn:hover,
.add_to_cart_button:hover {
    background: #1a1a2e;
    transform: translateY(-2px);
}
