/* ===================== SHOP PAGE STYLES ===================== */
.sidebar-categories {
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    position: sticky;
    top: 5rem;
    /* Equivalent to top-20 */
    height: 100%;
}

.sidebar-title {
    font-size: 1.25rem;
    /* 20px */
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.category-filters-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filter-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    background: transparent;
    border: none;
    color: var(--accent-text);
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.category-filter-btn:hover,
.category-filter-btn.active {
    background-color: var(--green-default);
    color: var(--white);
}

.category-section-card {
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    background: var(--white);
}

.category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.category-section-title {
    font-size: clamp(1.125rem, 1.5vw, 2.375rem);
    /* clamp(18px,1.5vw,38px) */
    font-weight: 600;
    line-height: 1;
    margin: 0;
    color: var(--green-dark);
}

.view-all-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--green-default);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s, text-decoration 0.2s;
}

.view-all-link:hover {
    text-decoration: underline;
    color: var(--green-medium);
}

.view-all-link .arrow {
    font-size: 1.125rem;
    line-height: 1;
}


@media(max-width:1600px) {
    .shop-section-wrapper {
        max-width: 94%;
    }

    .product-grid-wrapper .product-card-wrapper {
        max-width: 33.33%;
        width: 33.33%;
        padding: 5px;
    }

    .shop-section-wrapper .shop-wrapper {
        padding: 0;
    }

    .product-grid-wrapper .btn-add-to-cart {
        font-size: 14px;
    }

    .product-grid-wrapper .product-card-title {
        font-size: 16px;
    }

    .product-grid-wrapper .product-card-price {
        font-size: 1.2rem;
    }

}

@media(max-width:1023px) {
    .product-grid-wrapper .product-card-wrapper {
        max-width: 50%;
        width: 50%;
        padding: 5px;
    }

    .shop-section-wrapper {
        max-width: 98%;
    }
}

@media(max-width:768px) {
    .product-grid-wrapper .product-card-wrapper {
        max-width: 100%;
        width: 100%;
        padding: 5px;
    }

    .shop-section-wrapper {
        max-width: 98%;
    }
}