.mobile-catalog {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.mobile-catalog.active {
    right: 0;
}

.mobile-catalog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-catalog-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-catalog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.mobile-catalog-close {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.mobile-catalog-close:active {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-catalog-close svg {
    width: 24px;
    height: 24px;
    stroke: #333;
}

.mobile-catalog-content {
    padding: 8px 0;
    min-height: calc(100vh - 70px);
}

.mobile-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-bottom: 20px;
}

.mobile-category-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-category-item[data-category-type="women"],
.mobile-category-item[data-category-type="men"],
.mobile-category-item[data-category-type="couple"] {
    background: rgba(220, 53, 69, 0.04);
}

.mobile-category-toggle,
.mobile-category-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.mobile-category-toggle:active,
.mobile-category-link:active {
    background: rgba(220, 53, 69, 0.05);
}

.category-name {
    flex: 1;
}

.category-arrow {
    width: 20px;
    height: 20px;
    stroke: #999;
    transition: transform 0.3s ease;
}

.mobile-category-item.active .category-arrow {
    transform: rotate(90deg);
}

.mobile-subcategories-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    background: #fafafa;
    transition: max-height 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.mobile-category-item.active .mobile-subcategories-list {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
}

.mobile-subcategory-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-subcategory-item:last-child {
    border-bottom: none;
}

.mobile-subcategory-link {
    display: block;
    padding: 14px 20px 14px 40px;
    color: #555;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-subcategory-link:active {
    background: rgba(220, 53, 69, 0.08);
    color: var(--color-brand-primary);
    padding-left: 44px;
}

.mobile-category-item.info-menu .mobile-category-toggle {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.1) 100%);
    border-left: 4px solid #dc3545;
    color: #dc3545;
    font-weight: 600;
}

.mobile-category-item.info-menu .mobile-category-toggle:active {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(200, 35, 51, 0.15) 100%);
}

.mobile-category-item.info-menu .category-arrow {
    stroke: #dc3545;
}

.mobile-category-item.info-menu .mobile-subcategories-list {
    background: rgba(220, 53, 69, 0.05);
}

.mobile-category-item.info-menu .mobile-subcategory-link:active {
    color: #dc3545;
}

@media (max-width: 767px) {
    .mobile-catalog {
        display: block;
    }
    
    .mobile-catalog-overlay {
        display: block;
    }
}

@media (min-width: 768px) {
    .mobile-catalog,
    .mobile-catalog-overlay {
        display: none;
    }
}

