/* Базовые стили для chip */
.mobile-category-chip {
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 10px 16px;
    background: #F8F5F2;
    border-radius: 25px;
    border: 1px solid rgba(124, 87, 71, 0.1);
    color: #7C5747;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.mobile-category-chip i {
    color: #009640;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Активное состояние */
.mobile-category-chip.active {
    background: linear-gradient(135deg, #009640, #5D9C59);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(0, 150, 64, 0.25);
    transform: translateY(-1px);
}

.mobile-category-chip.active i {
    color: white;
}

/* Эффект при наведении */
.mobile-category-chip:hover {
    background: rgba(0, 150, 64, 0.1);
    border-color: #009640;
    transform: translateY(-2px);
}

.mobile-category-chip.active:hover {
    background: linear-gradient(135deg, #009640, #5D9C59);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 150, 64, 0.35);
}

/* Скролл контейнер */
.mobile-categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 15px 0px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mobile-categories-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-categories-scroll a {
    text-decoration: none;
}

/* Заголовок категории */
.mobile-category-header {
    padding: 15px 0 10px;
}

.mobile-category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3C2E24;
    margin-bottom: 8px;
}

.mobile-category-header p {
    color: #7C5747;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Стили для заглушки в мобильной версии */
.mobile-empty-products {
    padding: 40px 20px 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 87, 71, 0.03), rgba(60, 46, 36, 0.03));
    border-radius: 24px;
    margin: 20px 0;
    border: 1px solid rgba(124, 87, 71, 0.1);
    animation: fadeInUp 0.5s ease;
}

.mobile-empty-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 150, 64, 0.1), rgba(93, 156, 89, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: #009640;
    animation: pulse 2s infinite;
}

.mobile-empty-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3C2E24;
    margin-bottom: 12px;
    line-height: 1.3;
}

.mobile-empty-text {
    font-size: 1rem;
    color: #7C5747;
    max-width: 280px;
    margin: 0 auto 25px;
    line-height: 1.5;
}

.mobile-suggestions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(124, 87, 71, 0.1);
}

.mobile-suggestions p {
    color: #7C5747;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mobile-suggestion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: white;
    border-radius: 16px;
    color: #3C2E24;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(124, 87, 71, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.mobile-suggestion-item:hover {
    background: #009640;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 150, 64, 0.25);
}

.suggestion-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 150, 64, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-suggestion-item:hover .suggestion-icon {
    background: rgba(255, 255, 255, 0.2);
}

.suggestion-icon i {
    font-size: 1.3rem;
    color: #009640;
    transition: all 0.3s ease;
}

.mobile-suggestion-item:hover .suggestion-icon i {
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 150, 64, 0.3);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(0, 150, 64, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 150, 64, 0);
    }
}

/* Адаптивность для маленьких экранов */
@media (max-width: 576px) {
    .mobile-category-chip {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .mobile-empty-icon {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }

    .mobile-empty-title {
        font-size: 1.2rem;
    }

    .mobile-suggestions-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mobile-suggestion-item {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .mobile-empty-products {
        padding: 30px 15px;
    }

    .mobile-empty-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

.mobile-categories-scroll{
    display:flex;
    overflow-x:auto;
    gap:10px;
    padding:10px;
}

.mobile-category-chip{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border:1px solid #ddd;
    border-radius:30px;
    white-space:nowrap;
    text-decoration:none;
    color:#222;
    font-size:14px;
    transition:.3s;
}

.mobile-icon svg{
    width:60px;
    height:60px;
    stroke:#222;
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.mobile-category-chip.active{
    background:#111;
    color:#fff;
    border-color:#111;
}

.mobile-category-chip.active svg{
    stroke:#fff;
}

.mobile-category-chip:hover{
    background:#f5f5f5;
}
