/*
Theme Name: Artusto Tajikistan Theme
Author: Программный партнер
Description: Простая тема для маркетплейса ремесленников на базе WooCommerce и Dokan.
Version: 1.0
*/

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9; /* Светлый фон */
    color: #333;
    margin: 0;
}

header {
    background-color: #ffffff;
    border-bottom: 3px solid #009739; /* Мягкий зеленый (флаг ТД) */
    padding: 20px;
    text-align: center;
}

h1, h2 {
    color: #c8102e; /* Мягкий красный акцент */
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

/* Стили для кнопок WooCommerce */
.button, .woocommerce-button {
    background-color: #009739 !important;
    color: white !important;
    border-radius: 4px;
    padding: 10px 20px;
    text-decoration: none;
}

.button:hover {
    background-color: #007a2e !important;
}

/* Стиль для красивого уведомления */
.custom-notice {
    background-color: #ffffff;
    border-left: 5px solid #009739; /* Зеленая полоса */
    border-right: 5px solid #c8102e; /* Красная полоса */
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.custom-notice h2 {
    margin-top: 0;
    font-size: 24px;
}

/* Сетка товаров */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.product {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
    text-align: center;
}

.product:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #009739; /* Зеленый при наведении */
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.woocommerce-loop-product__title {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
}

.price {
    color: #c8102e; /* Красный для цены */
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
/* Стили подвала */
.site-footer {
    background-color: #f1f1f1;
    border-top: 4px solid #009739; /* Зеленый акцент */
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h3, .footer-col h4 {
    color: #c8102e; /* Красный цвет для заголовков */
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #555;
}

.footer-col ul li a:hover {
    color: #009739;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #777;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.lang-switcher a:hover { color: #009739; }

.action-icons {
    display: flex;
    gap: 15px;
    font-size: 20px;
}

.action-icons a {
    color: #333;
    position: relative;
    text-decoration: none;
}

.action-icons a:hover { color: #c8102e; }

/* Счетчик корзины */
.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #009739;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

