/* 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: 10px;
}

.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: 12px;
    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: flex-end;
    gap: 10px;
    margin-bottom: 25px;
}

.price-field {
    flex: 1;
}

.price-field span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.price-field input {
    width: 100%;
    height: 40px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #475569;
    text-align: center;
}

.price-range-inputs .separator {
    padding-bottom: 12px;
    color: #94a3b8;
    font-weight: 600;
}

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

.price-apply-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.dual-range-slider {
    position: relative;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 35px 0 20px;
}

.slider-track {
    position: absolute;
    height: 100%;
    background: var(--navy-800);
    border-radius: 2px;
}

.dual-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 4px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 2;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: var(--navy-800);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.dual-range-slider input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--navy-800);
    pointer-events: auto;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Pagination */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.pagination-info {
    font-size: 14px;
    color: #64748b;
}

.snol-pagination {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.snol-pagination .page-item .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.snol-pagination .page-item.active .page-link {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}

.snol-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--navy-800);
}

.snol-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

.snol-pagination .page-item .page-link i {
    font-size: 20px;
}
