/* ============================================
   LOOMS by Nowshin — Products Page Styles
   ============================================ */

/* ============================================
   Products Hero
   ============================================ */
.products-hero {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.products-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero/products-hero.jpg') center/cover no-repeat;
    transform: scale(1.05);
}

.products-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.75), rgba(44, 44, 44, 0.6));
}

.products-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.products-hero-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--looms-white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.products-hero .section-kicker {
    color: var(--looms-gold-light);
}

.products-hero-text {
    font-size: 1.05rem;
    color: var(--looms-taupe);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb-nav {
    background: var(--looms-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--looms-taupe);
}

.breadcrumb {
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--looms-slate);
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--looms-sage);
}

.breadcrumb-item.active {
    color: var(--looms-charcoal);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--looms-silver);
    content: "›";
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    padding: 2.5rem 0 4rem;
    background: var(--looms-cream);
}

/* ============================================
   Filters Sidebar
   ============================================ */
.filters-sidebar {
    position: sticky;
    top: 100px;
}

.filters-toggle {
    width: 100%;
    background: var(--looms-white);
    border: 1px solid var(--looms-taupe);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--looms-charcoal);
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    transition: all var(--transition-fast);
}

.filters-toggle:hover {
    border-color: var(--looms-sage);
}

.filters-toggle[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.filters-toggle i {
    transition: transform var(--transition-fast);
}

.filters-content {
    background: var(--looms-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--looms-taupe);
    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--looms-taupe);
}

.filter-group:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--looms-charcoal);
    margin-bottom: 1rem;
}

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

.filter-list li {
    margin-bottom: 0.5rem;
}

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

.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--looms-graphite);
    transition: all var(--transition-fast);
}

.filter-link:hover {
    background: var(--looms-pearl);
    color: var(--looms-charcoal);
}

.filter-link.active {
    background: var(--looms-sage);
    color: var(--looms-white);
}

.filter-link.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--looms-white);
}

.filter-count {
    font-size: 0.75rem;
    background: var(--looms-pearl);
    color: var(--looms-slate);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
}

/* Price Range Filter */
.price-range-wrapper {
    padding-top: 0.5rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-input-group {
    flex: 1;
    position: relative;
}

.price-currency {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--looms-slate);
    font-size: 0.85rem;
}

.price-input {
    padding-left: 28px;
    font-size: 0.85rem;
}

.price-separator {
    color: var(--looms-silver);
}

.price-slider {
    width: 100%;
}

.price-slider::-webkit-slider-thumb {
    background: var(--looms-sage);
}

.price-slider::-moz-range-thumb {
    background: var(--looms-sage);
}

/* Filter Checkbox */
.filter-check {
    margin-bottom: 0.5rem;
}

.filter-check .form-check-input {
    border-color: var(--looms-taupe);
}

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

.filter-check .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(139, 157, 134, 0.2);
}

.filter-check .form-check-label {
    font-size: 0.9rem;
    color: var(--looms-graphite);
}

.clear-filters-btn {
    font-size: 0.8rem;
}

/* ============================================
   Products Toolbar
   ============================================ */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--looms-taupe);
}

.toolbar-left {
    flex: 1;
}

.results-count {
    font-size: 0.9rem;
    color: var(--looms-slate);
}

.count-number {
    font-weight: 600;
    color: var(--looms-charcoal);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* View Toggle */
.view-toggle {
    display: flex;
    background: var(--looms-white);
    border: 1px solid var(--looms-taupe);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.view-btn {
    width: 40px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--looms-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.view-btn:hover {
    color: var(--looms-charcoal);
}

.view-btn.active {
    background: var(--looms-sage);
    color: var(--looms-white);
}

/* Sort Dropdown */
.sort-dropdown {
    min-width: 180px;
}

.sort-select {
    font-size: 0.85rem;
    border-color: var(--looms-taupe);
    padding: 0.5rem 2rem 0.5rem 1rem;
    background-color: var(--looms-white);
}

.sort-select:focus {
    border-color: var(--looms-sage);
    box-shadow: 0 0 0 3px rgba(139, 157, 134, 0.15);
}

/* ============================================
   Active Filters
   ============================================ */
.active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--looms-pearl);
    border-radius: var(--radius-md);
}

.active-filters-label {
    font-size: 0.85rem;
    color: var(--looms-slate);
    font-weight: 500;
}

.active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.active-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: var(--looms-white);
    border: 1px solid var(--looms-taupe);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--looms-charcoal);
}

.active-tag button {
    background: none;
    border: none;
    padding: 0;
    color: var(--looms-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.active-tag button:hover {
    color: var(--looms-error);
}

/* ============================================
   Products Grid
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card-wrapper {
    max-width: none;
}

.products-grid.list-view .product-card {
    flex-direction: row;
}

.products-grid.list-view .product-image-link {
    width: 280px;
    flex-shrink: 0;
}

.products-grid.list-view .product-image,
.products-grid.list-view .product-image-hover {
    height: 220px;
}

.products-grid.list-view .product-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

.products-grid.list-view .product-title {
    font-size: 1.3rem;
}

.products-grid.list-view .product-actions {
    flex-direction: row;
    opacity: 1;
    transform: none;
}

/* ============================================
   Product Card (Enhanced)
   ============================================ */
.product-card-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-card-wrapper.hidden {
    display: none;
}

.product-card-wrapper.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.product-card {
    background: var(--looms-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--looms-taupe);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all var(--transition-base);
}

.product-card:hover {
    border-color: var(--looms-sage-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Product Wishlist */
.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--looms-white);
    border: 1px solid var(--looms-taupe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--looms-slate);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.product-wishlist:hover,
.product-wishlist.active {
    background: var(--looms-sage);
    border-color: var(--looms-sage);
    color: var(--looms-white);
}

.product-wishlist.active i {
    font-weight: 900;
}

/* Product Image */
.product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-image,
.product-image-hover {
    height: 260px;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-image-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card:hover .product-image-hover {
    opacity: 1;
}

/* Product Hover Actions (Bottom of Image) */
.product-hover-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 5;
}

.product-card:hover .product-hover-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-hover-actions .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
}

.product-hover-actions .btn-looms-outline {
    background: rgba(255, 255, 255, 0.95);
    border-color: transparent;
    color: var(--looms-charcoal);
}

.product-hover-actions .btn-looms-outline:hover {
    background: var(--looms-white);
}

/* Product Body */
.product-body {
    padding: 1.1rem 1.25rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--looms-slate);
    margin-bottom: 0.35rem;
}

.product-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.product-title a {
    color: var(--looms-charcoal);
    transition: color var(--transition-fast);
}

.product-title a:hover {
    color: var(--looms-sage);
}

.product-price-row {
    margin-bottom: 0.85rem;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--looms-sage);
}

.product-price-old {
    font-size: 0.9rem;
    color: var(--looms-silver);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.add-to-cart-btn {
    flex: 1;
    font-size: 0.75rem;
    padding: 0.55rem 0.75rem;
}

.btn-quick-view {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--looms-pearl);
    border: 1px solid var(--looms-taupe);
    border-radius: var(--radius-sm);
    color: var(--looms-graphite);
    transition: all var(--transition-fast);
}

.btn-quick-view:hover {
    background: var(--looms-charcoal);
    border-color: var(--looms-charcoal);
    color: var(--looms-white);
}

/* ============================================
   No Results
   ============================================ */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--looms-white);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--looms-taupe);
}

.no-results-icon {
    font-size: 3.5rem;
    color: var(--looms-taupe);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--looms-charcoal);
}

.no-results p {
    color: var(--looms-slate);
    margin-bottom: 1.5rem;
}

/* ============================================
   Pagination
   ============================================ */
.products-pagination {
    margin-top: 3rem;
}

.pagination {
    gap: 0.35rem;
}

.page-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--looms-taupe);
    background: var(--looms-white);
    color: var(--looms-graphite);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.page-link:hover {
    background: var(--looms-pearl);
    border-color: var(--looms-sage);
    color: var(--looms-sage);
}

.page-item.active .page-link {
    background: var(--looms-sage);
    border-color: var(--looms-sage);
    color: var(--looms-white);
}

.page-item.disabled .page-link {
    background: var(--looms-pearl);
    color: var(--looms-silver);
    cursor: not-allowed;
}

/* ============================================
   Quick View Modal
   ============================================ */
#quickViewModal .modal-content {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background-color: var(--looms-white);
    border: 1px solid var(--looms-taupe);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233D3D3D'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.75em;
}

.modal-close-btn:hover {
    background-color: var(--looms-charcoal);
    border-color: var(--looms-charcoal);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

.quick-view-image {
    height: 100%;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-color: var(--looms-pearl);
}

.quick-view-content {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quick-view-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--looms-charcoal);
}

.quick-view-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--looms-sage);
    margin-bottom: 1rem;
}

.quick-view-description {
    font-size: 0.95rem;
    color: var(--looms-graphite);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.quick-view-qty {
    margin-bottom: 1.5rem;
}

.quick-view-qty .form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--looms-charcoal);
    margin-bottom: 0.5rem;
}

.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--looms-taupe);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-selector .qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--looms-pearl);
    color: var(--looms-charcoal);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.qty-selector .qty-btn:hover {
    background: var(--looms-sage);
    color: var(--looms-white);
}

.qty-selector .qty-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    -moz-appearance: textfield;
}

.qty-selector .qty-input::-webkit-outer-spin-button,
.qty-selector .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quick-view-actions {
    margin-top: auto;
}

/* ============================================
   Variant Selection Modal
   ============================================ */
#variantModal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

#variantModal .modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    padding: 0;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233D3D3D'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.7em;
}

#variantModal .modal-close-btn:hover {
    background-color: #3D3D3D;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

.variant-modal-content {
    display: flex;
    flex-direction: column;
}

.variant-modal-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: #FAF8F5;
}

.variant-modal-details {
    padding: 1.5rem;
}

.variant-modal-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 0.35rem;
}

.variant-modal-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #8B9D86;
    margin-bottom: 1.25rem;
}

.variant-option-group {
    margin-bottom: 1rem;
}

.variant-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 0.5rem;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-option {
    padding: 0.5rem 1rem;
    border: 2px solid #E8E3DC;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4A5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-option:hover {
    border-color: #8B9D86;
    color: #8B9D86;
}

.variant-option.selected {
    background: #8B9D86;
    border-color: #8B9D86;
    color: #ffffff;
}

.variant-qty-group {
    margin-bottom: 1.25rem;
}

.variant-qty-group .qty-selector {
    margin-top: 0.5rem;
}

.variant-modal-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.variant-view-link {
    font-size: 0.9rem;
    color: #6B7B8C;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.variant-view-link:hover {
    color: #8B9D86;
}

/* ============================================
   Media Queries
   ============================================ */
@media (max-width: 1199.98px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .products-hero {
        padding: 5rem 0 3rem;
        min-height: 280px;
    }

    .products-hero-title {
        font-size: 2.4rem;
    }

    .filters-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 1.5rem;
    }

    .filters-content {
        margin-top: 0.5rem;
    }

    .products-grid.list-view .product-card {
        flex-direction: column;
    }

    .products-grid.list-view .product-image-link {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .products-hero {
        padding: 4rem 0 2.5rem;
        min-height: auto;
    }

    .products-hero-title {
        font-size: 2rem;
    }

    .products-hero-text {
        font-size: 0.95rem;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-left {
        text-align: center;
    }

    .toolbar-right {
        justify-content: space-between;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-image,
    .product-image-hover {
        height: 200px;
    }

    .product-body {
        padding: 0.9rem 1rem 1.1rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-actions {
        opacity: 1;
        transform: none;
        flex-direction: column;
    }

    .btn-quick-view {
        width: 100%;
    }

    .quick-view-image {
        min-height: 280px;
    }

    .quick-view-content {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image,
    .product-image-hover {
        height: 240px;
    }

    .view-toggle {
        display: none;
    }

    .sort-dropdown {
        min-width: 100%;
    }
}