/**
 * Roesch Filters - Premium Style System
 * Design: Modern Glassmorphism & Minimalist
 * Version: 2.0 (UX Overhaul)
 */

:root {
    /* --- Modern Color Palette --- */
    --rf-primary: #007dc1;       /* Requested Primary Tone */
    --rf-primary-hover: #006bb3;
    --rf-secondary: #0a4084;     /* Requested Secondary Tone */
    --rf-accent: #3b82f6;        /* Modern Blue */
    --rf-success: #10b981;
    
    --rf-bg-body: #f9fafb;
    --rf-bg-surface: #ffffff;
    --rf-bg-glass: rgba(255, 255, 255, 0.8);
    
    --rf-text-main: #1f2937;
    --rf-text-muted: #6b7280;
    --rf-text-light: #9ca3af;

    --rf-border: #e5e7eb;
    --rf-border-hover: #d1d5db;

    /* --- Spacing & Radius --- */
    --rf-radius-sm: 8px;
    --rf-radius-md: 12px;
    --rf-radius-lg: 16px;
    --rf-radius-pill: 9999px;

    /* --- Shadows --- */
    --rf-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --rf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --rf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --rf-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* --- Transitions --- */
    --rf-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.roesch-filters-wrapper {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--rf-secondary); /* Text: #0a4084 */
    width: 100%;
}

.roesch-filters-wrapper a {
    color: var(--rf-primary);
    text-decoration: none;
    transition: var(--rf-transition);
}

.roesch-filters-wrapper a:hover {
    color: var(--rf-primary-hover);
    text-decoration: underline;
}

/* =========================================
   1. LAYOUT CONTAINERS
   ========================================= */

/* Desktop: Filters Left, Content Right */
@media (min-width: 1024px) {
    .roesch-layout-horizontal .roesch-filters-horizontal-layout {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    
    .roesch-layout-horizontal .roesch-filters-sidebar {
        flex: 0 0 280px;
        position: sticky;
        top: 100px;
    }
    
    .roesch-products-main {
        flex: 1;
        min-width: 0;
    }
}

/* Mobile/Tablet: Filters Off-Canvas (Premium Bottom Sheet / Sidebar) */
@media (max-width: 1023px) {
    .roesch-filters-sidebar {
        margin-bottom: 24px;
        position: relative;
        z-index: 50;
    }
    
    .roesch-filters-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 24px;
        background: var(--rf-primary); /* Blue Filter Button */
        color: #ffffff; /* White text */
        border: 1px solid var(--rf-primary);
        border-radius: var(--rf-radius-pill);
        font-weight: 600;
        cursor: pointer;
        transition: var(--rf-transition);
        box-shadow: var(--rf-shadow-sm);
    }

    .roesch-filters-toggle:hover {
        border-color: var(--rf-primary-hover);
        background: var(--rf-primary-hover);
    }
    
    /* Off-Canvas Container */
    .roesch-filters-container {
        position: fixed;
        top: 0;
        left: -100%; /* Hidden by default */
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: var(--rf-primary); /* Blue Sidebar Background */
        color: #ffffff; /* White text for sidebar */
        z-index: 1000;
        padding: 80px 24px 24px; /* Top padding for close button */
        overflow-y: auto;
        transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
        box-shadow: 10px 0 25px rgba(0,0,0,0.1);
        display: block !important; /* Force display for transition */
    }
    
    .roesch-filters-container.active {
        left: 0; /* Slide in */
    }

    /* Backdrop */
    .roesch-filters-container.active::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        backdrop-filter: blur(4px);
        z-index: -1;
        width: 100vw;
        height: 100vh;
        left: 0; /* Adjust relative to container if needed, but fixed works better */
    }

    /* "Filtros" Title inside Mobile Menu */
    .roesch-filters-container::after {
        content: 'Filtros';
        position: absolute;
        top: 24px;
        left: 24px;
        font-size: 1.25rem;
        font-weight: 700;
        color: #ffffff; /* White title for blue bg */
    }


    /* Close Button */
    .roesch-filters-close {
        position: absolute;
        top: 24px;
        right: 24px;
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.8);
        cursor: pointer;
        padding: 4px;
        border-radius: 50%;
        transition: var(--rf-transition);
        display: flex; /* Ensure it shows flex */
    }

    .roesch-filters-close:hover {
        background: rgba(255,255,255,0.1);
        color: #ffffff;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 1023px) {
    .mobile-only {
        display: block;
    }
}

/* Mobile Grid Optimizations (< 768px) */
@media (max-width: 768px) {
    /* Allow 2 columns on mobile for grid views */
    .roesch-products-grid { 
        gap: 16px !important; 
    }

    /* Override the generic 1fr !important for grid views */
    .roesch-view-grid-2, 
    .roesch-view-grid-3,
    .roesch-view-grid-4, 
    .roesch-view-grid-5 { 
        grid-template-columns: repeat(2, 1fr) !important; 
    }

    /* Force visibility on mobile to prevent animation lock */
    .roesch-product-card {
        opacity: 1 !important;
        transform: translateY(0) !important;
        animation: none !important;
    }
    
    /* Keep List view as 1 column */
    .roesch-view-list {
        grid-template-columns: 1fr !important;
    }

    /* Hide the "5 Columnas" button on mobile as it makes no sense */
    .roesch-view-button[data-view="grid-5"] {
        display: none;
    }

    /* Adjust Card Styles for Mobile Grid */
    .roesch-view-grid-2 .roesch-product-content,
    .roesch-view-grid-3 .roesch-product-content {
        padding: 12px;
    }

    .roesch-product-title {
        font-size: 0.9rem;
    }

    .roesch-price-range {
        flex-direction: column;
    }
}

/* =========================================
   2. FILTERS STYLING (Sidebar)
   ========================================= */
.roesch-filter {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rf-border);
}

.roesch-filter:last-child {
    border-bottom: none;
}

.roesch-filter-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Inputs & Selects */
.roesch-filter-input, 
.roesch-filter-select,
.roesch-brand-search-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius-sm);
    font-size: 0.9rem;
    transition: var(--rf-transition);
    background: var(--rf-bg-surface);
}

.roesch-filter-input:focus,
.roesch-filter-select:focus,
.roesch-brand-search-input:focus {
    border-color: var(--rf-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

/* Checkboxes (Brands/Categories) */
.roesch-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 0;
    transition: var(--rf-transition);
}

.roesch-checkbox-label:hover {
    color: var(--rf-primary);
}

.roesch-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--rf-border);
    border-radius: 4px;
    display: grid;
    place-items: center;
    transition: var(--rf-transition);
    background: var(--rf-bg-surface);
}

.roesch-filter-checkbox:checked + .roesch-checkbox-custom {
    background: var(--rf-primary);
    border-color: var(--rf-primary);
}

.roesch-filter-checkbox:checked + .roesch-checkbox-custom::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg) translate(1px, -1px);
}

/* Price Range */
.roesch-price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.roesch-price-separator {
    color: var(--rf-text-muted);
}

/* =========================================
   3. TOOLBAR (View Switcher & Results)
   ========================================= */
.roesch-view-buttons {
    display: inline-flex;
    background: var(--rf-bg-surface);
    border: 1px solid var(--rf-border);
    padding: 8px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--rf-shadow-sm);
}

.roesch-view-button {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--rf-secondary); /* Category/Brand #0a4084 */
    margin-bottom: 4px;
    display: block;
    transition: var(--rf-transition);
}

.roesch-view-button:hover {
    background: var(--rf-primary);
    color: #ffffff;
}

.roesch-view-button.active {
    background: var(--rf-primary);
    color: #ffffff;
    box-shadow: var(--rf-shadow-sm);
}

/* Sorting Wrapper */
.roesch-sorting-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

/* =========================================
   4. PRODUCT GRID & CARDS
   ========================================= */
.roesch-products-grid {
    display: grid;
    gap: 24px;
    width: 100%;
    transition: opacity 0.3s ease;
}

/* Changing state for animation */
.roesch-products-grid.changing {
    opacity: 0.5;
    pointer-events: none;
}

/* --- GRID VIEWS --- */
/* Default Mobile: 1 Column */
@media (max-width: 767px) {
    .roesch-products-grid { grid-template-columns: 1fr !important; }
}

/* Views overrides (Desktop/Tablet) */
@media (min-width: 768px) {
    .roesch-products-grid {
        display: grid;
        gap: 24px;
    }
    .roesch-view-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .roesch-view-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
    .roesch-view-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
    .roesch-view-grid-5 { grid-template-columns: repeat(5, 1fr) !important; }
    .roesch-view-list { grid-template-columns: 1fr !important; }
}

/* --- PRODUCT CARD (Vertical) --- */
.roesch-product-card {
    background: var(--rf-bg-surface);
    border: 1px solid transparent;
    border-radius: var(--rf-radius-lg);
    overflow: hidden;
    position: relative;
    transition: var(--rf-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.roesch-product-card:hover {
    border-color: var(--rf-border);
    box-shadow: var(--rf-shadow-hover);
    transform: translateY(-4px);
}

/* Image Wrapper */
.roesch-product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #f3f4f6;
    overflow: hidden;
}

.roesch-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Action Buttons Positioning */
.roesch-product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    transition: var(--rf-transition);
}

/* List View Override */
.roesch-view-list .roesch-product-actions {
    position: static;
    margin-left: auto; /* Push to far right */
    align-self: center;
    opacity: 1;
    transform: none;
    margin-right: 8px;
}

.roesch-add-to-cart-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rf-primary); /* Blue Background Default */
    color: #ffffff; /* White Icon Default */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--rf-shadow-md);
    transition: var(--rf-transition);
}

.roesch-add-to-cart-button:hover {
    background: var(--rf-primary-hover); /* Darker Blue on Hover */
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: var(--rf-shadow-lg);
}

.roesch-add-to-cart-button svg {
    stroke: #ffffff !important;
}

.roesch-view-grid-5 .roesch-add-to-cart-button svg,
.roesch-view-grid-5 .roesch-add-to-cart-button {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Content */
.roesch-product-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roesch-product-meta {
    font-size: 0.75rem;
    color: var(--rf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.roesch-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--rf-primary); /* Title #007dc1 */
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.roesch-product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rf-secondary); /* Price #0a4084 */
    margin-top: auto;
}

/* --- LIST VIEW OVERRIDES --- */
.roesch-view-list .roesch-product-card {
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 24px;
}

.roesch-view-list .roesch-product-image-wrapper {
    width: 160px;
    flex: 0 0 160px;
    padding-top: 0;
    height: 160px;
    border-radius: var(--rf-radius-md);
}

.roesch-view-list .roesch-product-actions {
    position: static;
    opacity: 1;
    transform: none;
    margin-left: auto; /* Push to right */
}

.roesch-view-list .roesch-add-to-cart-button {
    width: auto;
    height: auto;
    padding: 10px 20px;
    border-radius: var(--rf-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
}

/* =========================================
   5. UTILITIES (Loading, Errors)
   ========================================= */
.roesch-loading-spinner,
.roesch-infinite-loading {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    width: 100%;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: var(--rf-primary);
    animation: rfSpin 1s linear infinite;
}

@keyframes rfSpin { to { transform: rotate(360deg); } }
@keyframes rfSlideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.roesch-load-more-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto;
    padding: 12px 24px;
    background: var(--rf-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--rf-radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--rf-transition);
    box-shadow: var(--rf-shadow-md);
    text-align: center;
    /* Mobile Optimization */
    position: relative;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.roesch-load-more-button:hover {
    background: var(--rf-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--rf-shadow-lg);
}

/* Mobile Optimizations */
/* Mobile Optimizations - Enforce 3-Column Card Layout */
@media (max-width: 768px) {
    /* Hide View Switcher Buttons */
    .roesch-view-buttons {
        display: none !important;
    }

    /* Force Grid to 1 Column Container */
    .roesch-products-grid,
    .roesch-view-grid-2,
    .roesch-view-grid-3,
    .roesch-view-grid-4,
    .roesch-view-grid-5 { 
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* 3-Column Grid Layout for Card */
    /* Col 1: Image | Col 2: Content (Meta, Title, Price) | Col 3: Button */
    /* 3-Column Grid Layout for Card */
    /* Col 1: Image | Col 2: Content (Meta, Title, Price) | Col 3: Button */
    .roesch-product-card {
        display: grid !important;
        grid-template-columns: 80px 1fr 44px !important; /* Fixed widths for stability */
        grid-template-rows: auto;
        animation: rfFadeInUp 0.6s ease backwards;

        align-items: center;
        padding: 12px;
        gap: 12px;
        height: auto;
        border-bottom: 1px solid var(--rf-border); /* Separator look */
        border-radius: 0;
        box-shadow: none; /* Cleaner list look */
        background: var(--rf-bg-surface);
    }
    
    /* Column 1: Image */
    .roesch-product-image-wrapper {
        width: 100% !important;
        height: 90px !important;
        padding-top: 0 !important;
        flex: none !important;
        border-radius: var(--rf-radius-md);
        background: transparent;
        aspect-ratio: 1/1; /* Ensure square */
    }

    .roesch-product-image {
        position: relative;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    /* Column 2: Content */
    .roesch-product-content {
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        min-width: 0; /* Prevent flex overflow */
    }

    /* Order inside Content */
    .roesch-product-meta {
        font-size: 0.75rem;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .roesch-product-title {
        font-size: 0.95rem;
        margin: 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
    line-clamp: 2;
        line-clamp: 2; /* Fix lint */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .roesch-product-price {
        font-size: 1rem;
        margin: 0;
    }

    /* Column 3: Actions */
    .roesch-product-actions {
        position: static !important;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .roesch-add-to-cart-button {
        width: 44px; /* Larger touch target */
        height: 44px;
        box-shadow: none;
        border: none;
        background: var(--rf-primary);
        color: #ffffff;
        border-radius: 50%; /* Ensure circular */
        padding: 0;
        justify-self: end; /* Align to right edge */
    }
}
 
 /* Desktop Layout Protection */
 @media (min-width: 1024px) {
     /* Ensure cards are vertical and relative on desktop */
     /* Ensure Grid cards are vertical */
    .roesch-product-card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    
    .roesch-product-image-wrapper {
        width: 100% !important;
        height: auto !important;
        padding-top: 100% !important;
        margin: 0 !important;
        flex: none !important;
    }
    
    .roesch-product-content {
        padding: 16px !important;
        display: flex !important;
    }
    
    .roesch-product-actions {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        margin: 0 !important;
    }

    /* Hide Filter Toggle on Desktop */
    .roesch-filters-toggle {
        display: none !important;
    }

    /* --- DESKTOP 3-COLUMN VIEW OVERRIDE (Horizontal Cards) --- */
    /* User request: 3 columns grid, horizontal cards (Image | Content | Button) */
    .roesch-view-grid-3 .roesch-product-card {
        display: grid !important;
        grid-template-columns: 90px 1fr 44px !important; /* Col 1: Image, Col 2: Content, Col 3: Button */
        grid-template-rows: auto !important;
        align-items: center !important;
        gap: 12px !important;
        height: auto !important;
        padding: 12px !important; /* Add padding back for clean look */
    }

    .roesch-view-grid-3 .roesch-product-image-wrapper {
        width: 100% !important;
        height: 100% !important;
        padding-top: 0 !important;
        flex: none !important;
        margin: 0 !important;
        aspect-ratio: 1/1 !important;
        border-radius: var(--rf-radius-sm) !important;
    }

    .roesch-view-grid-3 .roesch-product-content {
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 4px !important;
        height: auto !important;
    }

    .roesch-view-grid-3 .roesch-product-title {
        font-size: 0.95rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    /* Move Actions to 3rd Column */
    .roesch-view-grid-3 .roesch-product-actions {
        position: static !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .roesch-view-grid-3 .roesch-add-to-cart-button {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: #fff !important;
        border: 1px solid var(--rf-border) !important;
        color: var(--rf-primary) !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    /* --- DESKTOP LIST VIEW OVERRIDE (Match Mobile Layout) --- */
    /* Must override the generic desktop protection above */
    .roesch-view-list .roesch-product-card {
        display: grid !important;
        grid-template-columns: 80px 1fr 44px !important;
        grid-template-rows: auto !important;
        align-items: center !important;
        gap: 16px !important;
        padding: 12px !important;
        height: auto !important;
        background: transparent !important; /* Clean look */
        border-bottom: 1px solid var(--rf-border) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
/* =========================================
   6. ANIMATIONS (Stagger)
   ========================================= */
@keyframes rfFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.roesch-product-card {
    /* Ensures animation logic is ready */
    animation: rfFadeInUp 0.6s ease backwards;
}

/* Initial Load Stagger (for SSR/first paint) */
.roesch-products-grid .roesch-product-card:nth-child(1) { animation-delay: 100ms; }
.roesch-products-grid .roesch-product-card:nth-child(2) { animation-delay: 200ms; }
.roesch-products-grid .roesch-product-card:nth-child(3) { animation-delay: 300ms; }
.roesch-products-grid .roesch-product-card:nth-child(4) { animation-delay: 400ms; }
.roesch-products-grid .roesch-product-card:nth-child(5) { animation-delay: 500ms; }
.roesch-products-grid .roesch-product-card:nth-child(6) { animation-delay: 600ms; }
.roesch-products-grid .roesch-product-card:nth-child(7) { animation-delay: 700ms; }
.roesch-products-grid .roesch-product-card:nth-child(8) { animation-delay: 800ms; }
.roesch-products-grid .roesch-product-card:nth-child(9) { animation-delay: 900ms; }
.roesch-products-grid .roesch-product-card:nth-child(10) { animation-delay: 1000ms; }
.roesch-products-grid .roesch-product-card:nth-child(11) { animation-delay: 1100ms; }
.roesch-products-grid .roesch-product-card:nth-child(12) { animation-delay: 1200ms; }

/* Force clean state for subsequent items if no JS */
.roesch-products-grid .roesch-product-card:nth-child(n+13) { 
    animation-delay: 0ms; 
}
    .roesch-view-list .roesch-product-image-wrapper {
        width: 100% !important;
        height: 80px !important;
        padding-top: 0 !important;
        border-radius: var(--rf-radius-md) !important;
        flex: none !important;
        aspect-ratio: 1/1 !important;
    }

    .roesch-view-list .roesch-product-content {
        padding: 0 !important;
        flex-direction: column !important;
        gap: 4px !important;
        justify-content: center !important;
    }

    .roesch-view-list .roesch-product-title {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }

    .roesch-view-list .roesch-product-actions {
        position: static !important;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .roesch-view-list .roesch-add-to-cart-button {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--rf-primary) !important;
        color: #ffffff !important;
    }
 }
