/* public/assets/css/customer/shop.css */
.shop-wrapper {
    padding: 30px 0 60px;
    background: #f8fafc;
}

.shop-sidebar {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 12px;
    background: #f8fafc;
    transition: all 0.2s;
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--sky);
    background: #fff;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 280px;
    overflow-y: auto;
}

.filter-list::-webkit-scrollbar {
    width: 4px;
}
.filter-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    padding: 8px 0;
    transition: all 0.2s;
}

.filter-link:hover, .filter-link.active {
    color: var(--primary);
    padding-left: 5px;
}

.filter-link .count {
    font-size: 11px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Product Card */
.product-card-premium {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    border-color: var(--sky);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-image-wrap {
    position: relative;
    padding-top: 100%;
    background: #ffffff;
}

.product-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--navy-800);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 1;
}

.product-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 10px;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
    transition: color 0.2s;
}

.product-name:hover {
    color: var(--sky);
}

.product-price-wrap {
    margin-top: auto;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.product-old-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 6px;
}

/* Top Bar Styling */
.shop-top-bar {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.search-field-wrap {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-field-wrap input {
    width: 100%;
    height: 40px;
    padding: 0 45px 0 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    background: #f8fafc;
}

.search-field-wrap .search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 40px;
    background: var(--navy-800);
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-filter-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.select-filter-wrap select {
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0 35px 0 15px;
    font-size: 13px;
    color: #475569;
    background: #fff;
}

/* Price Range Slider */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.price-range-inputs input {
    width: 100%;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 13px;
    text-align: center;
}

.price-apply-btn {
    width: 36px;
    height: 36px;
    background: var(--navy-800);
    color: #fff;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
