/*
Theme Name: UrbanStep
Description: Современная тема для интернет-магазина спортивной обуви и одежды. Создана на основе Tailwind CSS с полной поддержкой WooCommerce.
Author: UrbanStep Team
Version: 1.0.0
Text Domain: urbanstep
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;
}




