.filter-sidebar {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.form-check-input {
    border-radius: 3px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.price-range-input {
    width: 100%;
}

.product-grid {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.product-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.product-image {
    height: auto;
    object-fit: cover;
    width: 100%;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.brand-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--dark-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    /* color: #daa300; */
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
}

.product-rating {
    color: var(--primary-color);
        font-size: 11px;
}

.btn-add-cart {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
}

.btn-add-cart:hover {
    background-color: #e6a200;
    border-color: #e6a200;
    color: var(--dark-color);
}

.sort-controls {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.pagination .page-link {
    color: var(--dark-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

.mobile-filter-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767.98px) {
    .mobile-filter-btn {
        display: block;
    }
    .desktop-filters {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-filter-btn {
        display: none;
    }
}

.offcanvas-header {
    background-color: var(--dark-color);
    color: white;
}

.clear-filters {
    color: var(--danger-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.clear-filters:hover {
    color: var(--danger-color);
    text-decoration: underline;
}

.results-info {
    color: #6c757d;
    font-size: 0.9rem;
}

/* List View Styles */
.list-view .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

.list-view .product-card {
    flex-direction: row;
    height: auto;
}

.list-view .product-image-container {
    width: 250px;
    flex-shrink: 0;
}

.list-view .product-image {
    height: 100%;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.list-view .product-card .brand-badge,
.list-view .product-card .discount-badge {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

.list-view .product-card .price-section {
    margin-top: 10px;
}

.list-view .product-card .btn-add-cart {
    width: auto;
    /*margin-top: 15px;*/
    align-self: flex-start;
}

.list-view .product-card .product-rating {
    margin-bottom: 10px;
}

@media (max-width: 767.98px) {
    .list-view .product-card {
        flex-direction: column;
    }
    .list-view .product-image-container {
        width: 100%;
    }
    .list-view .product-image {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
}

/* Additional Styles */
        .view-toggle {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .view-toggle-btn {
            background: transparent;
            border: 1px solid #ddd;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .view-toggle-btn.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--dark-color);
        }
        .view-toggle-btn:hover {
            background: #f0f0f0;
        }
        .view-toggle-btn.active:hover {
            background: var(--primary-color);
        }
        .list-view .product-card {
            display: flex;
            flex-direction: row;
            height: auto;
        }
        .list-view .product-image-container {
            width: 250px;
            flex-shrink: 0;
        }
        .list-view .product-image {
            height: 100%;
            border-radius: var(--border-radius) 0 0 var(--border-radius);
        }
        .list-view .card-body {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .list-view .product-card .brand-badge,
        .list-view .product-card .discount-badge {
            position: relative;
            top: auto;
            left: auto;
            right: auto;
            display: inline-block;
            margin-right: 10px;
            margin-bottom: 10px;
        }
        .list-view .product-card .price-section {
            margin-top: 10px;
        }
        .list-view .product-card .btn-add-cart {
            width: auto;
            /*margin-top: 15px;*/
            align-self: flex-start;
        }
        .list-view .product-card .product-rating {
            margin-bottom: 10px;
        }
        .filter-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }
        .filter-tag {
            background-color: var(--light-color);
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .filter-tag .remove-tag {
            cursor: pointer;
            color: var(--danger-color);
        }
        .price-inputs {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        .price-inputs input {
            flex: 1;
        }
        .size-selector {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 10px;
        }
        .size-option {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: center;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .size-option:hover {
            border-color: var(--primary-color);
        }
        .size-option.selected {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--dark-color);
            font-weight: 500;
        }
        .filter-section .form-check {
            margin-bottom: 8px;
        }
        .filter-section .form-check-label {
            display: flex;
            justify-content: space-between;
            width: 100%;
        }
        .filter-section .count {
            color: #6c757d;
        }

        /* Mobile Filters Specific Styles */
#mobileFilters .filter-sidebar {
    padding: 10px;
}

#mobileFilters .filter-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#mobileFilters .size-option {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

#mobileFilters .size-option.selected {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

#mobileFilters .price-inputs {
    display: flex;
    gap: 10px;
}

#mobileFilters .price-inputs input {
    flex: 1;
}

button#applyFilters {
    color: #000000;
    background: #ffc107;
    border: 1px solid #ffc107;
}

button#applyFilters:hover {
    color: #ebb000;
    background: #ffc10700;
    border: 1px solid #ffc107;
}

.product-card a,
.product-card button {
    z-index: 2;
    position: relative;
}
a.text-decoration-none.text-dark:hover {
    color: inherit;
}

.btn-animating {
    background-color: #ffffff !important;
    border-color: #28a745 !important;
    color: #28a745 !important;
    pointer-events: none;
    transition: background-color 0.3s ease;
}

.btn-view-cart {
    background-color: #ffffff;
    border-color: #ffc107;
    color: #ffc107;
}


/* THUMB IMAGES FOR PRODUCT QUICK VIEW */

  .thumb-image {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
  }

  .thumb-image:hover {
    border-color: #ffc107;
  }

