/* ============================================
   СТИЛИ ТЕМЫ
   ============================================ */

/* СБРОС */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* ============================================
   ШРИФТЫ
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* ============================================
   ХЕДЕР
   ============================================ */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 28px 0 14px 0;
    border-bottom: 1px solid rgba(200,180,170,0.08);
}

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

.logo {
    flex-shrink: 0;
}

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

.header-phone {
    flex-shrink: 0;
}

.header-phone a {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-phone a:hover {
    color: #7D9B76;
}

/* ============================================
   МЕНЮ
   ============================================ */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.main-nav ul li a {
    font-family: 'Rubik', 'Arial', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
    color: #2c2420 !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    text-decoration: none !important;
    display: block !important;
    white-space: nowrap !important;
}

.main-nav ul li a:hover {
    background: #7D9B76 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(121, 162, 6, 0.25) !important;
}

.main-nav ul li.current-menu-item a,
.main-nav ul li.current_page_item a,
.main-nav ul li.current_page_parent a {
    background: #7D9B76 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(121, 162, 6, 0.2) !important;
}

.main-nav ul li.current-menu-item a::after,
.main-nav ul li.current_page_item a::after,
.main-nav ul li.current_page_parent a::after {
    content: " 🌸" !important;
    font-size: 12px !important;
    display: inline-block !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid #2c2420;
    border-radius: 10px;
    font-size: 26px;
    cursor: pointer;
    color: #2c2420;
    padding: 4px 14px;
    transition: 0.3s;
    flex-shrink: 0;
}

.menu-toggle:hover {
    background: #7D9B76;
    color: #fff;
    border-color: #7D9B76;
}

/* ============================================
   ФУТЕР
   ============================================ */
.site-footer {
    background: #fcf8f5 !important;
    padding: 20px 0 0 0 !important;
    color: #2c2420 !important;
    border-radius: 24px 24px 0 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(200,180,170,0.12) !important;
    margin-top: 60px !important;
    font-family: 'Inter', Arial, sans-serif !important;
}

.site-footer .flower-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.06 !important;
}

.site-footer .flower-bg span {
    position: absolute !important;
    font-size: 30px !important;
}

.site-footer .flower-bg .f1 { top: 5%; left: 3%; font-size: 40px; transform: rotate(-10deg); }
.site-footer .flower-bg .f2 { top: 15%; right: 8%; font-size: 35px; transform: rotate(15deg); }
.site-footer .flower-bg .f3 { top: 45%; left: 1%; font-size: 50px; transform: rotate(5deg); }
.site-footer .flower-bg .f4 { top: 55%; right: 2%; font-size: 45px; transform: rotate(-20deg); }
.site-footer .flower-bg .f5 { bottom: 10%; left: 10%; font-size: 38px; transform: rotate(25deg); }
.site-footer .flower-bg .f6 { bottom: 5%; right: 7%; font-size: 42px; transform: rotate(-5deg); }
.site-footer .flower-bg .f7 { top: 30%; left: 50%; font-size: 55px; transform: rotate(-15deg); }
.site-footer .flower-bg .f8 { top: 70%; left: 30%; font-size: 35px; transform: rotate(10deg); }
.site-footer .flower-bg .f9 { top: 20%; left: 20%; font-size: 28px; transform: rotate(30deg); }
.site-footer .flower-bg .f10 { top: 80%; right: 25%; font-size: 32px; transform: rotate(-25deg); }

.site-footer .footer-main {
    position: relative !important;
    z-index: 1 !important;
    padding: 45px 30px 0 30px !important;
}

.site-footer .footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr !important;
    gap: 45px !important;
}

.site-footer .footer-col h4 {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    letter-spacing: 0.5px !important;
    color: #2c2420 !important;
    margin-bottom: 16px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid rgba(200,170,160,0.25) !important;
    display: inline-block !important;
}

.site-footer .footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer .footer-col ul li {
    margin-bottom: 8px !important;
}

.site-footer .footer-col ul li a {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #4a3f38 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    letter-spacing: 0.2px !important;
    position: relative !important;
    padding-left: 0 !important;
    opacity: 0.8 !important;
}

.site-footer .footer-col ul li a::before {
    content: '—' !important;
    opacity: 0 !important;
    margin-right: 4px !important;
    transition: all 0.25s ease !important;
    color: #b8a090 !important;
}

.site-footer .footer-col ul li a:hover {
    color: #b8a090 !important;
    opacity: 1 !important;
    padding-left: 12px !important;
}

.site-footer .footer-col ul li a:hover::before {
    opacity: 1 !important;
}

.site-footer .footer-phone {
    margin-bottom: 10px !important;
}

.site-footer .footer-phone a {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    font-size: 26px !important;
    color: #2c2420 !important;
    text-decoration: none !important;
    letter-spacing: -0.3px !important;
    transition: color 0.3s ease !important;
}

.site-footer .footer-phone a:hover {
    color: #b8a090 !important;
}

.site-footer .footer-worktime span {
    display: block !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #6a5e54 !important;
    margin: 3px 0 !important;
    letter-spacing: 0.2px !important;
}

.site-footer .footer-worktime span:first-child {
    font-weight: 500 !important;
    color: #2c2420 !important;
}

.site-footer .footer-social {
    margin-top: 18px !important;
    display: flex !important;
    gap: 12px !important;
}

.site-footer .footer-social a {
    font-size: 18px !important;
    text-decoration: none !important;
    color: #6a5e54 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.5) !important;
    border: 1px solid rgba(200,180,170,0.1) !important;
    transition: all 0.3s ease !important;
    opacity: 0.6 !important;
}

.site-footer .footer-social a:hover {
    color: #ffffff !important;
    opacity: 1 !important;
    transform: translateY(-3px) !important;
    background: #b8a090 !important;
    box-shadow: 0 6px 25px rgba(200,170,160,0.2) !important;
    border-color: transparent !important;
}

.site-footer .footer-bottom {
    background: rgba(255,255,255,0.3) !important;
    backdrop-filter: blur(4px) !important;
    padding: 16px 0 !important;
    margin-top: 45px !important;
    border-top: 1px solid rgba(200,180,170,0.08) !important;
}

.site-footer .footer-bottom-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.site-footer .footer-bottom-inner p {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #6a5e54 !important;
    margin: 0 !important;
    letter-spacing: 0.3px !important;
}

.site-footer .footer-bottom-inner p strong {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600 !important;
    color: #2c2420 !important;
    font-size: 14px !important;
}

/* ============================================
   АДАПТИВ
   ============================================ */
@media (max-width: 1024px) {
    .main-nav ul li a {
        font-size: 14px !important;
        padding: 6px 14px !important;
    }
    .header-inner {
        gap: 15px;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .main-nav ul li a {
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
    .header-inner {
        gap: 12px;
    }
    .site-footer .footer-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 0 10px 0;
    }
    
    .header-inner {
        flex-wrap: wrap;
        position: relative;
        padding: 0 15px;
        gap: 10px;
    }
    
    .logo {
        order: 1;
        flex: 0 0 auto;
    }
    .logo img {
        max-height: 40px;
    }
    
    .header-phone {
        order: 2;
        margin-right: auto;
        flex: 0 0 auto;
    }
    .header-phone a {
        font-size: 15px !important;
    }
    
    .menu-toggle {
        display: block;
        order: 3;
        font-size: 22px;
        padding: 3px 12px;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 4;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        background: #ffffff;
        padding: 16px 20px 20px 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        z-index: 999;
        border-radius: 0 0 20px 20px;
        border-top: 4px solid #7D9B76;
        justify-content: flex-start;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .main-nav ul li a {
        font-size: 16px !important;
        padding: 12px 20px !important;
        text-align: center !important;
        width: 100% !important;
        border-radius: 15px !important;
        white-space: normal !important;
    }
    
    .site-footer .footer-main {
        padding: 30px 15px 0 15px !important;
    }
    
    .site-footer .flower-bg {
        opacity: 0.04 !important;
    }
    
    .site-footer .flower-bg span {
        font-size: 20px !important;
    }
    
    .site-footer .footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 22px !important;
        padding: 0 !important;
    }
    
    .site-footer .footer-phone a {
        font-size: 22px !important;
    }
    
    .site-footer .footer-col h4 {
        font-size: 18px !important;
    }
    
    .site-footer .footer-col ul li a {
        font-size: 14px !important;
    }
    
    .site-footer .footer-bottom-inner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 0 15px !important;
        gap: 4px !important;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 32px;
    }
    
    .header-phone a {
        font-size: 13px !important;
    }
    
    .main-nav ul li a {
        font-size: 15px !important;
        padding: 10px 16px !important;
    }
    
    .menu-toggle {
        font-size: 18px;
        padding: 2px 10px;
    }
    
    .site-footer .footer-main {
        padding: 25px 12px 0 12px !important;
    }
    
    .site-footer .flower-bg {
        opacity: 0.03 !important;
    }
    
    .site-footer .flower-bg span {
        font-size: 16px !important;
    }
    
    .site-footer .footer-container {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    
    .site-footer .footer-phone a {
        font-size: 20px !important;
    }
    
    .site-footer .footer-col h4 {
        font-size: 17px !important;
    }
    
    .site-footer .footer-col ul li a {
        font-size: 13px !important;
    }
    
    .site-footer .footer-social a {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }
    
    .site-footer .footer-bottom-inner p {
        font-size: 12px !important;
    }
}
/* ===== ФИКС ФУТЕРА ===== */
.site-footer {
    margin-top: 20px !important;
    padding-top: 30px !important;
    clear: both !important;
    position: relative !important;
    z-index: 2 !important;
}

.testimonial_area {
    padding-bottom: 40px !important;
    margin-bottom: 0 !important;
}

.site-main {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}


/* ===== СЕТКА ТОВАРОВ НА ГЛАВНОЙ ===== */
.home-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home-product-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    border: 1px solid rgba(200,180,170,0.12) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04) !important;
    transition: all 0.5s ease !important;
    height: 100% !important;
}

.home-product-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08) !important;
}

.home-product-card img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    display: block !important;
}

.home-product-card .product-info {
    padding: 20px 15px 22px !important;
    text-align: center !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.home-product-card h3 {
    margin: 0 0 10px !important;
    font-family: "Caveat", "Lora", serif !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    line-height: 1.4 !important;
}

.home-product-card h3 a {
    color: #2c2420 !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #2c2420 0%, #5a4a3a 50%, #2c2420 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.home-product-price {
    font-family: "Caveat", "Rubik", sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    color: #79a206 !important;
}

/* АДАПТИВ */
@media (max-width: 1024px) {
    .home-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .home-product-card img {
        height: 220px !important;
    }
}

@media (max-width: 480px) {
    .home-products-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .home-product-card img {
        height: 200px !important;
    }
}


/* ===== Контейнер страниц ===== */
.page-container {
    padding: 40px 0 60px;
    background: #faf9f7;
}

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

.page-container .page-title {
    font-family: 'Caveat', cursive;
    font-size: 42px;
    color: #2c2420;
    margin: 0 0 30px;
    line-height: 1.2;
    text-align: left;
}

.page-container .page-content {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .page-container .container {
        padding: 0 15px;
    }
    .page-container .page-content {
        padding: 20px;
    }
    .page-container .page-title {
        font-size: 28px;
    }
}

/* ===== Таблицы ===== */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.page-content table th {
    background: #7D9B76;
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.page-content table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.page-content table tr:last-child td {
    border-bottom: none;
}

.page-content table tr:hover {
    background: #f9f9f9;
}

@media (max-width: 600px) {
    .page-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ===== Ссылки ===== */
.page-content a {
    color: #7D9B76;
    text-decoration: none;
    border-bottom: 1px dashed #7D9B76;
}

.page-content a:hover {
    color: #5a7353;
    border-bottom-style: solid;
}

.page-content a strong {
    color: #7D9B76;
}

/* ===== Заголовки ===== */
.page-content h2 {
    font-family: 'Caveat', cursive;
    font-size: 30px;
    color: #2c2420;
    margin: 35px 0 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.page-content h3 {
    font-size: 19px;
    color: #2c2420;
    margin: 25px 0 12px;
    font-weight: 600;
}

/* ===== Списки ===== */
.page-content ul,
.page-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}
