/*
Theme Name: Kuzov
Description: Современная тема для интернет-магазина спортивной обуви и одежды. Создана на основе Tailwind CSS с полной поддержкой WooCommerce.
Author: Kuzov Team
Version: 1.0.0
Text Domain: kuzov
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, woocommerce, responsive, modern, sports, shoes, clothing
*/

/* Основные стили подключены через output.css */

/* Mobile Bottom Navigation Styles */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    z-index: 50;
    display: none;
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    /* Добавляем отступ снизу для контента, чтобы он не перекрывался мобильным меню */
    body {
        padding-bottom: 70px;
    }
}

/* Mobile Burger Menu Styles */
#mobile-burger-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-burger-menu.hidden {
    display: none !important;
}

#mobile-burger-menu:not(.hidden) {
    display: block !important;
}

/* Mobile Menu Content Styles */
#mobile-burger-menu .menu-content {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

#mobile-burger-menu .category-section {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

#mobile-burger-menu .category-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

#mobile-burger-menu .subcategory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

#mobile-burger-menu .subcategory-link {
    padding: 0.5rem 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

#mobile-burger-menu .subcategory-link:hover {
    background-color: #f9fafb;
    color: #1f2937;
}

/* Дополнительные стили для мобильного меню */
#mobile-burger-menu .subcategory-section {
    margin-bottom: 1.5rem;
}

#mobile-burger-menu .subcategory-section:last-child {
    margin-bottom: 0;
}

/* Улучшенная прокрутка для мобильного меню */
#mobile-burger-menu .menu-content {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Mobile Navigation Button Hover Effects */
.mobile-burger-btn:hover,
.mobile-wishlist-btn:hover,
.mobile-user-login-btn:hover {
    background-color: #f3f4f6;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

/* Mobile Cart Badge Animation */
.mobile-cart-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Contact Modal Styles */
#contact-modal {
    display: none;
}

#contact-modal.flex {
    display: flex;
}

#contact-modal .bg-white {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contact Modal Content */
#contact-modal img[src*="phone-contacts.png"] {
    display: block;
}

/* Floating Filter Button */
/* Animation removed */

/* Hide floating button on desktop */
@media (min-width: 768px) {
    #floating-filter-btn {
        display: none !important;
    }
}

/* Hide chaty channel when filter overlay is active */
.filter-overlay:not(.hidden) ~ .chaty-channel,
body:has(.filter-overlay:not(.hidden)) .chaty-channel {
    display: none !important;
}

/* Category Description Styles */


.category-description-content h1,
.category-description-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1E;
    margin-top: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.category-description-content h1:first-child,
.category-description-content h2:first-child,
.category-description-content p:first-child {
    margin-top: 0;
}

.category-description-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1C1C1E;
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.category-description-content p {
    font-size: 14px;
    color: #5F5F61;
    line-height: 1.7;
    margin-bottom: 16px;
}

.category-description-content ul,
.category-description-content ol {
    font-size: 14px;
    color: #5F5F61;
    margin-left: 20px;
    margin-bottom: 16px;
    margin-top: 12px;
    line-height: 1.7;
}

.category-description-content li {
    margin-bottom: 8px;
}

.category-description-content strong,
.category-description-content b {
    font-weight: 600;
    color: #1C1C1E;
}

.category-description-content a {
    color: #e62631;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.category-description-content a:hover {
    color: #e55a26;
}

/* Desktop styles */
@media (min-width: 768px) {
    .category-description-content {
        padding: 40px;
    }
    
    .category-description-content h1,
    .category-description-content h2 {
        font-size: 28px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    
    .category-description-content h3 {
        font-size: 22px;
        margin-top: 36px;
        margin-bottom: 16px;
    }
    
    .category-description-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .category-description-content ul,
    .category-description-content ol {
        font-size: 16px;
        margin-bottom: 20px;
        margin-top: 16px;
    }
    
    .category-description-content li {
        margin-bottom: 10px;
    }
}




