/* ========================================
   Products List Page - Modern Elegant Style
   ======================================== */

/* Page Load Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Skeleton */
.product-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 16px;
}

/* Smooth transitions for all interactive elements */
.product-card,
.action-icon,
.category-pill,
.view-btn,
.page-numbers a,
.feature-item {
    will-change: transform, box-shadow;
}

/* Enhanced hover states */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: 16px;
}

.product-card:hover::before {
    opacity: 1;
}

/* Image loading placeholder */
.product-image {
    background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
}

.product-image img {
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger animation for grid items */
.products-grid .product-card {
    animation: fadeInUp 0.6s ease backwards;
}

.products-grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.3s; }
.products-grid .product-card:nth-child(7) { animation-delay: 0.35s; }
.products-grid .product-card:nth-child(8) { animation-delay: 0.4s; }
.products-grid .product-card:nth-child(9) { animation-delay: 0.45s; }
.products-grid .product-card:nth-child(10) { animation-delay: 0.5s; }
.products-grid .product-card:nth-child(11) { animation-delay: 0.55s; }
.products-grid .product-card:nth-child(12) { animation-delay: 0.6s; }

/* Enhanced badge animations */
.badge {
    animation: slideInRight 0.4s ease backwards;
}

.badge:nth-child(2) {
    animation-delay: 0.1s;
}

/* Focus states for accessibility */
.action-icon:focus,
.view-btn:focus,
.category-pill:focus,
.page-numbers a:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* Active states */
.action-icon:active {
    transform: scale(0.95);
}

.category-pill:active {
    transform: translateY(0) scale(0.98);
}

/* Enhanced scrollbar styling for category filter */
.category-scroll {
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.category-scroll::-webkit-scrollbar {
    height: 4px;
}

.category-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.category-scroll::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Empty state styling */
.woocommerce-no-products-found {
    text-align: center;
    padding: 100px 40px;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.woocommerce-no-products-found::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 64px;
    color: #ddd;
    display: block;
    margin-bottom: 24px;
}

.woocommerce-no-products-found .woocommerce-info {
    font-size: 18px;
    color: #666;
    background: transparent;
    border: none;
    padding: 0;
}

/* Loading state for buttons */
.add-to-cart-ajax.loading {
    pointer-events: none;
}

.add-to-cart-ajax.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced list view styles */
.products-grid[data-view="list"] .product-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: stretch;
    min-height: 280px;
}

.products-grid[data-view="list"] .product-image {
    aspect-ratio: auto;
    margin-bottom: 0;
    border-radius: 16px 0 0 16px;
}

.products-grid[data-view="list"] .product-info {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-grid[data-view="list"] .product-name {
    font-size: 22px;
    margin-bottom: 12px;
}

.products-grid[data-view="list"] .product-category {
    font-size: 14px;
    margin-bottom: 16px;
}

.products-grid[data-view="list"] .product-footer {
    margin-top: auto;
    padding-top: 20px;
}

.products-grid[data-view="list"] .product-price {
    font-size: 20px;
}

.products-grid[data-view="list"] .product-actions {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    margin-top: 20px;
    justify-content: flex-start;
}

.products-grid[data-view="list"] .action-icon {
    width: 52px;
    height: 52px;
    font-size: 18px;
}

/* Responsive list view */
@media (max-width: 992px) {
    .products-grid[data-view="list"] .product-card {
        grid-template-columns: 240px 1fr;
        min-height: 220px;
    }
    
    .products-grid[data-view="list"] .product-info {
        padding: 24px 28px;
    }
    
    .products-grid[data-view="list"] .product-name {
        font-size: 18px;
    }
    
    .products-grid[data-view="list"] .product-price {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .products-grid[data-view="list"] .product-card {
        grid-template-columns: 160px 1fr;
        min-height: 180px;
    }
    
    .products-grid[data-view="list"] .product-info {
        padding: 16px 20px;
    }
    
    .products-grid[data-view="list"] .product-name {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .products-grid[data-view="list"] .product-category {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .products-grid[data-view="list"] .product-footer {
        padding-top: 12px;
    }
    
    .products-grid[data-view="list"] .product-price {
        font-size: 15px;
    }
    
    .products-grid[data-view="list"] .product-actions {
        margin-top: 12px;
    }
    
    .products-grid[data-view="list"] .action-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Print styles */
@media print {
    .page-banner,
    .category-filter-bar,
    .products-toolbar,
    .product-actions,
    .shop-features,
    .pagination-wrapper {
        display: none !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Cart & Checkout Page Banner Override */
.woocommerce-cart .page-banner,
.woocommerce-checkout .page-banner {
    height: 200px !important;
    min-height: 200px !important;
}

.woocommerce-cart .page-banner .banner-content h1,
.woocommerce-checkout .page-banner .banner-content h1 {
    font-size: 40px !important;
}

/* ========================================
   Page Banner - Modern Style
   ======================================== */
.page-banner {
    position: relative;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #1a1a1a;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(26, 26, 26, 0.4) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.breadcrumb .current {
    color: #fff;
}

.banner-content h1 {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.banner-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   Category Filter Bar
   ======================================== */
.category-filter-bar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 40px 0 30px;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
}

.category-scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f8f8;
    border-radius: 50px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.category-pill:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

.category-pill.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.category-pill.active:hover {
    background: #1a1a1a;
    color: #fff;
}

.pill-icon {
    font-size: 13px;
}

.pill-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.category-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   Products Page Layout
   ======================================== */
.products-page {
    padding: 60px 0 100px;
    background: #fafafa;
    min-height: 600px;
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ========================================
   Products Toolbar - Modern Style
   ======================================== */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.results-info {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.results-count {
    color: #1a1a1a;
    font-weight: 600;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* View Switcher */
.view-switcher {
    display: flex;
    gap: 4px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    border-radius: 8px;
}

.view-btn:hover {
    color: #666;
    background: rgba(255, 255, 255, 0.5);
}

.view-btn.active {
    color: #1a1a1a;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Sort Dropdown */
.sort-dropdown {
    position: relative;
}

.sort-dropdown select {
    padding: 12px 48px 12px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 14px;
    color: #555;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    min-width: 200px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sort-dropdown select:hover {
    border-color: #ddd;
}

.sort-dropdown select:focus {
    outline: none;
    border-color: #1a1a1a;
}

/* ========================================
   Products Grid - Modern Style
   ======================================== */
.products-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Remove WooCommerce default list styles */
.products-grid::before,
.products-grid::after {
    display: none !important;
}

.products-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.products-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.products-grid[data-view="list"] {
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Ensure product cards are direct children */
.products-grid > .product-card {
    width: 100%;
    margin: 0;
    float: none;
}

/* ========================================
   Product Card - Modern Elegant
   ======================================== */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* List View Styles */
.products-grid[data-view="list"] .product-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
}

.products-grid[data-view="list"] .product-image {
    aspect-ratio: 1;
    margin-bottom: 0;
}

.products-grid[data-view="list"] .product-info {
    padding: 30px 40px;
}

/* Badges - Modern Style */
.product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.badge {
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 50px;
}

.badge.new {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
}

.badge.discount {
    background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
    color: #fff;
}

.badge.hot {
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    color: #fff;
}

/* Product Image - Modern Style */
.product-image {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Actions - Top Right Style */
.product-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
}

.product-card:hover .product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.action-icon {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transform: scale(0.9);
}

.action-icon:hover {
    background: #1a1a1a;
    color: #fff;
    transform: scale(1);
}

.action-icon.wishlist-toggle:hover {
    background: #e63946;
    color: #fff;
}

.action-icon.wishlist-toggle.active {
    background: #e63946;
    color: #fff;
}

.action-icon.wishlist-toggle.active i {
    font-weight: 900;
}

.action-icon i {
    pointer-events: none;
}

/* Product Info - Modern Style */
.product-info {
    padding: 20px 20px 24px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #666;
}

.product-category {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f5f5f5;
}

.product-price {
    font-size: 17px;
    font-weight: 700;
    color: #B85C38;
}

.product-price.sale {
    color: #e63946;
}

/* Regular price (strikethrough) in product list */
.product-price .woocommerce-Price-amount {
    color: #B85C38;
}

.product-price del .woocommerce-Price-amount {
    color: #999;
    text-decoration: line-through;
}

.price-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

/* Rating - Modern Style */
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    background: #f8f8f8;
    padding: 6px 12px;
    border-radius: 20px;
}

.rating-value {
    color: #1a1a1a;
    font-weight: 600;
}

.product-rating i {
    color: #f4a261;
    font-size: 12px;
}

/* ========================================
   Pagination - Modern Style
   ======================================== */
.pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination-wrapper .woocommerce-pagination {
    display: flex;
    gap: 8px;
}

.pagination-wrapper .page-numbers {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-wrapper .page-numbers li {
    margin: 0;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    color: #666;
    background: #fff;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pagination-wrapper .page-numbers a:hover {
    color: #1a1a1a;
    background: #f5f5f5;
    transform: translateY(-2px);
}

.pagination-wrapper .page-numbers .current {
    color: #fff;
    background: #1a1a1a;
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.3);
}

.pagination-wrapper .page-numbers .next,
.pagination-wrapper .page-numbers .prev {
    width: auto;
    padding: 0 24px;
    font-weight: 600;
}

/* ========================================
   Shop Features Section
   ======================================== */
.shop-features {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 0;
    margin-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c9a96e 0%, #b8985e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ========================================
   No Products Found
   ======================================== */
.woocommerce-no-products-found {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.woocommerce-no-products-found .woocommerce-info {
    font-size: 18px;
    color: #666;
    background: transparent;
    border: none;
    padding: 0;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1400px) {
    .container-wide {
        padding: 0 40px;
    }
    
    .banner-content {
        padding: 0 40px;
    }
    
    .products-grid {
        gap: 24px;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid[data-columns="3"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-content h1 {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .page-banner {
        height: 360px;
    }
    
    .banner-content h1 {
        font-size: 40px;
    }
    
    .banner-description {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid[data-view="list"] {
        grid-template-columns: 1fr;
    }
    
    .products-grid[data-view="list"] .product-card {
        grid-template-columns: 200px 1fr;
    }
    
    .products-grid[data-view="list"] .product-info {
        padding: 20px 24px;
    }
    
    .container-wide {
        padding: 0 24px;
    }
    
    .products-toolbar {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .shop-features {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .products-grid[data-view="list"] .product-card {
        grid-template-columns: 140px 1fr;
    }
    
    .products-grid[data-view="list"] .product-info {
        padding: 16px;
    }
    
    .products-grid[data-view="list"] .product-name {
        font-size: 14px;
    }
    
    .products-grid[data-view="list"] .product-category {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .page-banner {
        height: 300px;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .banner-description {
        font-size: 14px;
    }
    
    .category-filter-bar {
        padding: 16px 0;
    }
    
    .category-pill {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .products-page {
        padding: 40px 0 60px;
    }
    
    .products-toolbar {
        padding: 16px;
    }
    
    .toolbar-right {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .sort-dropdown select {
        min-width: 160px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .container-wide {
        padding: 0 16px;
    }
    
    .product-info {
        padding: 16px 16px 20px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .product-category {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .product-price {
        font-size: 15px;
    }
    
    .old-price {
        font-size: 13px;
    }
    
    .product-rating {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .product-actions {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        top: 12px;
        right: 12px;
        gap: 6px;
    }
    
    .action-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .product-badges {
        top: 12px;
        left: 12px;
        gap: 6px;
    }
    
    .badge {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .pagination-wrapper .page-numbers a,
    .pagination-wrapper .page-numbers span {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }
    
    .pagination-wrapper .page-numbers .next,
    .pagination-wrapper .page-numbers .prev {
        padding: 0 16px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .feature-content h4 {
        font-size: 16px;
    }
    
    .feature-content p {
        font-size: 13px;
    }
}
