/**
 * Styles Templates SEO - Allotelecommande
 * VERSION 7.2 - Badge TP + Filtres actifs + Pagination list
 */

:root {
    --allo-primary: #0b2e4a;
    --allo-primary-dark: #0b2e4a;
    --allo-secondary: #ff6d00;
    --allo-success: #00c853;
    --allo-danger: #ff1744;
    --allo-gray-50: #fafafa;
    --allo-gray-100: #f5f5f5;
    --allo-gray-200: #eeeeee;
    --allo-gray-300: #e0e0e0;
    --allo-gray-400: #bdbdbd;
    --allo-gray-500: #9e9e9e;
    --allo-gray-600: #757575;
    --allo-gray-700: #616161;
    --allo-gray-800: #424242;
    --allo-gray-900: #212121;
    --allo-radius-sm: 6px;
    --allo-radius-md: 8px;
    --allo-radius-lg: 12px;
    --allo-shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --allo-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --allo-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --allo-transition: all 0.2s ease;
}

/* RESET DIVI */
body:not(.home) .et-db #et-boc .et-l .et_pb_row { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
body:not(.home) .et-db #et-boc .et-l .et_pb_section { padding: 0 !important; }

.home  .et_pb_row_0_tb_header { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
/* ============================================================================
   LAYOUT
   ============================================================================ */
.allo-archive-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 1024px) { .allo-archive-container { grid-template-columns: 260px 1fr; gap: 20px; } }
@media (max-width: 768px) { .allo-archive-container { grid-template-columns: 1fr; } }

/* ============================================================================
   SIDEBAR FILTRES
   ============================================================================ */
.allo-sidebar-filters {
    background: #fff;
    border-radius: var(--allo-radius-lg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 100px;
    height: fit-content;
    overflow: hidden;
    border: 1px solid var(--allo-gray-200);
}

.allo-sidebar-inner { padding: 0; }

.allo-sidebar-header {
    padding: 16px 20px;
    background: var(--allo-gray-800);
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.allo-sidebar-header h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.allo-close-filters {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
}

/* ============================================================================
   GROUPES DE FILTRES
   ============================================================================ */
.allo-filter-group {
    border-bottom: 1px solid var(--allo-gray-200);
}

.allo-filter-group:last-of-type {
    border-bottom: none;
}

.allo-filter-title {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--allo-gray-800);
    padding: 14px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--allo-gray-50);
    border-bottom: 1px solid var(--allo-gray-200);
    margin: 0;
}

.allo-filter-content {
    padding: 12px 16px;
    background: #fff;
}

.allo-filter-scrollable {
    max-height: 200px;
    overflow-y: auto;
}

/* ============================================================================
   FILTRE PRIX
   ============================================================================ */
.widget_price_filter h2,
.widget_price_filter h3,
.widget_price_filter .widget-title,
.widget_price_filter .widgettitle,
.price_slider_wrapper h2,
.price_slider_wrapper h3,
h2.widgettitle,
.widgettitle {
    display: none !important;
}

.widget_price_filter {
    padding: 0 !important;
    margin: 0 !important;
}

.widget_price_filter form {
    margin: 0;
}

.price_slider_wrapper {
    padding: 0;
    margin: 0;
}

.widget_price_filter .price_slider_amount .button,
.widget_price_filter button[type="submit"] {
    display: none !important;
}

.widget_price_filter .price_slider,
.price_slider {
    margin: 10px 0 !important;
    height: 6px !important;
    background: var(--allo-gray-200) !important;
    border: none !important;
    border-radius: 3px !important;
    position: relative !important;
}

.widget_price_filter .price_slider .ui-slider-range,
.price_slider .ui-slider-range,
.ui-slider-range {
    background: linear-gradient(90deg, var(--allo-secondary), #ff8f00) !important;
    border-radius: 3px !important;
    height: 100% !important;
}

.widget_price_filter .price_slider .ui-slider-handle,
.price_slider .ui-slider-handle,
.ui-slider-handle {
    width: 20px !important;
    height: 20px !important;
    background: #fff !important;
    border: 3px solid var(--allo-secondary) !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-left: -10px !important;
    cursor: grab !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    outline: none !important;
    position: absolute !important;
}

.price_slider .ui-slider-handle:hover {
    border-color: #e65100 !important;
}

.price_slider_amount {
    margin-top: 10px !important;
    padding: 10px !important;
    background: var(--allo-gray-50) !important;
    border-radius: var(--allo-radius-sm) !important;
}

.price_slider_amount .price_label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0 !important;
    visibility: hidden;
}

.price_label .from,
.price_label .to {
    visibility: visible;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: var(--allo-secondary) !important;
}

.price_label .from::before {
    content: 'Min: ';
    font-weight: 500;
    color: var(--allo-gray-600);
    font-size: 0.8rem;
}

.price_label .to::before {
    content: 'Max: ';
    font-weight: 500;
    color: var(--allo-gray-600);
    font-size: 0.8rem;
}

/* ============================================================================
   CHECKBOX FILTRES
   ============================================================================ */
.allo-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--allo-gray-700);
    cursor: pointer;
    transition: var(--allo-transition);
}

.allo-filter-checkbox:hover {
    color: var(--allo-primary);
}

.allo-filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--allo-primary);
    cursor: pointer;
}

.allo-filter-checkbox .count {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--allo-gray-500);
    background: var(--allo-gray-100);
    padding: 2px 8px;
    border-radius: 10px;
}

/* ============================================================================
   ACTIONS FILTRES
   ============================================================================ */
.allo-filter-actions {
    display: flex;
    gap: 10px;
    padding: 16px;
    background: var(--allo-gray-50);
    border-top: 1px solid var(--allo-gray-200);
}

.allo-filter-actions .allo-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--allo-radius-sm);
    cursor: pointer;
    transition: var(--allo-transition);
    border: none;
    text-align: center;
}

.allo-filter-actions .allo-btn-primary {
    background: var(--allo-primary);
    color: #fff;
}

.allo-filter-actions .allo-btn-primary:hover {
    background: var(--allo-primary-dark);
}

.allo-filter-actions .allo-btn-secondary {
    background: #fff;
    color: var(--allo-gray-700);
    border: 1px solid var(--allo-gray-300);
}

.allo-filter-actions .allo-btn-secondary:hover {
    background: var(--allo-gray-50);
}

/* ============================================================================
   FILTRES ACTIFS (tags au-dessus de la grille)
   ============================================================================ */
.allo-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--allo-gray-50);
    border-radius: var(--allo-radius-md);
    border: 1px solid var(--allo-gray-200);
    font-size: 0.85rem;
}

.allo-active-filters-label {
    font-weight: 600;
    color: var(--allo-gray-700);
    margin-right: 4px;
}

.allo-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid var(--allo-gray-300);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--allo-gray-700);
}

.allo-active-tag .allo-remove-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--allo-gray-200);
    color: var(--allo-gray-600);
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    transition: var(--allo-transition);
}

.allo-active-tag .allo-remove-filter:hover {
    background: var(--allo-danger);
    color: #fff;
}

.allo-clear-all-filters {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--allo-danger);
    text-decoration: none;
    font-weight: 600;
}

.allo-clear-all-filters:hover {
    text-decoration: underline;
}

/* ============================================================================
   TRUSTPILOT WIDGET SIDEBAR
   ============================================================================ */
.allo-trustpilot-widget {
    margin: 16px;
    padding: 16px;
    background: #fff;
    border-radius: var(--allo-radius-md);
    border: 1px solid #00b67a;
}

.allo-trustpilot-widget .trustpilot-widget {
    margin: 0 !important;
}

.allo-trustpilot-widget iframe {
    max-height: 350px !important;
}
/* ============================================================================
   TRI SELECT
   ============================================================================ */
.allo-sort-select {
    padding: 8px 32px 8px 12px;
    font-size: 0.85rem;
    border: 1px solid var(--allo-gray-300);
    border-radius: var(--allo-radius-sm);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    color: var(--allo-gray-700);
    transition: var(--allo-transition);
}

.allo-sort-select:hover {
    border-color: var(--allo-primary);
}

.allo-sort-select:focus {
    outline: none;
    border-color: var(--allo-primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}
/* ============================================================================
   TRUSTPILOT BADGE COMPACT (overlay image, top-left)
   ============================================================================ */
.allo-tp-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 5px;
    padding: 4px 8px 4px 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    white-space: nowrap;
}

.allo-tp-badge svg {
    flex-shrink: 0;
    display: block;
}

.allo-tp-badge .allo-tp-note {
    color: var(--allo-gray-900);
}

.allo-tp-badge .allo-tp-count {
    color: var(--allo-gray-500);
    font-weight: 400;
    font-size: 0.65rem;
}

@media (max-width: 480px) {
    .allo-tp-badge {
        font-size: 0.65rem;
        padding: 3px 6px 3px 4px;
        gap: 3px;
    }
    .allo-tp-badge svg { width: 12px; height: 12px; }
}

/* ============================================================================
   HEADER CATÉGORIE
   ============================================================================ */
.allo-category-header {
    margin-bottom: 20px;
}

.allo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--allo-gray-500);
    margin-bottom: 10px;
}

.allo-breadcrumb a {
    color: var(--allo-gray-500);
    text-decoration: none;
}

.allo-breadcrumb a:hover {
    color: var(--allo-primary);
}

.allo-category-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--allo-gray-900);
}

.allo-category-intro {
    font-size: 0.95rem;
    color: var(--allo-gray-600);
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

/* ============================================================================
   SOUS-CATÉGORIES
   ============================================================================ */
.allo-subcategories {
    margin-bottom: 20px;
    padding: 14px;
    background: var(--allo-gray-50);
    border-radius: var(--allo-radius-md);
}

.allo-subcategories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.allo-subcategory-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border-radius: var(--allo-radius-sm);
    text-decoration: none;
    color: var(--allo-gray-700);
    font-size: 0.85rem;
    border: 1px solid var(--allo-gray-200);
    transition: var(--allo-transition);
}

.allo-subcategory-link:hover {
    border-color: var(--allo-primary);
    color: var(--allo-primary);
}

.allo-subcategory-link img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
}

.allo-subcategory-count {
    color: var(--allo-gray-400);
    font-size: 0.8rem;
}

/* ============================================================================
   TOOLBAR
   ============================================================================ */
.allo-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #fff;
    border-radius: var(--allo-radius-md);
    box-shadow: var(--allo-shadow-xs);
}

.allo-toolbar-left,
.allo-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* Toolbar mobile fix */
@media (max-width: 768px) {
    .allo-toolbar {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .allo-toolbar-left {
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    
    .allo-toolbar-left .allo-btn-filters {
        flex: 0 0 auto;
    }
    
    .allo-toolbar-left .woocommerce-result-count {
        flex: 1 1 auto;
        font-size: 12px;
        text-align: right;
    }
    
    .allo-toolbar-left .allo-sort-select {
        width: 100%;
        order: 3;
    }
    
    .allo-toolbar-right {
        display: none;
    }
}
/* Fix overlay grisé au clic filtres */
.sidebar-filters-overlay,
.allo-sidebar-overlay {
    z-index: 99990;
}

#sidebar-filters,
.allo-sidebar-filters {
    z-index: 99991;
}
body.filters-open #et-main-area {
    z-index: auto;
}

body.filters-open::after {
    z-index: 99998 !important;
}

#sidebar-filters {
    z-index: 99999 !important;
}
@media (max-width: 480px) {
    .allo-toolbar {
        position: relative;
        padding: 10px 0;
    }
    
    .allo-toolbar-left .woocommerce-result-count {
        width: 100%;
        text-align: left;
        order: 3;
        font-size: 11px;
        color: var(--allo-text-light);
    }
    
    .allo-toolbar-left .allo-sort-select {
        order: 4;
        font-size: 13px;
        padding: 10px 12px;
        border-radius: 6px;
    }
    
    .allo-toolbar-left .allo-btn-filters {
        flex: 1;
    }
    .allo-product-image img {
        max-width: 60% !important;
    }
}
.woocommerce-result-count {
    font-size: 0.85rem;
    color: var(--allo-gray-600);
    margin: 0 !important;
    max-width: 500px !important;
    position: unset !important;
}

.woocommerce-ordering {
    display: none !important;
}

/* View Toggle */
.allo-view-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--allo-gray-100);
    border-radius: var(--allo-radius-sm);
}

.allo-view-btn {
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var(--allo-gray-500);
    transition: var(--allo-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.allo-view-btn:hover {
    color: var(--allo-gray-700);
}

.allo-view-btn.active {
    background: #fff;
    color: var(--allo-primary);
    box-shadow: var(--allo-shadow-xs);
}

.allo-btn-filters {
    display: none;
    padding: 10px 16px;
    font-size: 0.85rem;
    background: var(--allo-primary);
    color: #fff;
    border: none;
    border-radius: var(--allo-radius-sm);
    cursor: pointer;
    gap: 8px;
    align-items: center;
}

@media (max-width: 768px) {
    .allo-btn-filters { display: flex; }
}

/* ============================================================================
   GRILLE PRODUITS
   ============================================================================ */
.allo-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Vue LISTE */
.allo-products-grid[data-view="list"] {
    grid-template-columns: 1fr;
    gap: 16px;
}

.allo-products-grid[data-view="list"] .allo-product-card {
    flex-direction: row;
}

.allo-products-grid[data-view="list"] .allo-product-inner {
    flex-direction: row;
    width: 100%;
}

.allo-products-grid[data-view="list"] .allo-product-image {
    width: 200px;
    min-width: 200px;
    height: auto;
}

.allo-products-grid[data-view="list"] .allo-product-info {
    flex: 1;
    padding: 16px 20px;
}

.allo-products-grid[data-view="list"] .allo-product-title {
    font-size: 1rem;
    min-height: auto;
    -webkit-line-clamp: unset;
}

.allo-products-grid[data-view="list"] .allo-product-actions {
    margin-top: 16px;
}

.allo-products-grid[data-view="list"] .allo-product-actions .allo-btn {
    width: auto;
    padding: 10px 24px;
}

@media (max-width: 1400px) { .allo-products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1200px) { .allo-products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .allo-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { 
    .allo-products-grid { grid-template-columns: 1fr; }
    .allo-products-grid[data-view="list"] .allo-product-inner { flex-direction: column; }
    .allo-products-grid[data-view="list"] .allo-product-image { width: 100%; }
    .tax-product_cat #page-container .product {
        width: 100% !important;
    }
}

/* ============================================================================
   CARTES PRODUITS
   ============================================================================ */
.allo-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--allo-radius-md);
    overflow: hidden;
    box-shadow: var(--allo-shadow-sm);
    transition: var(--allo-transition);
    border: 1px solid var(--allo-gray-100);
    position: relative;
}

.allo-product-card:hover {
    box-shadow: var(--allo-shadow-md);
    transform: translateY(-3px);
}

.allo-product-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* IMAGE */
.allo-product-image {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Hauteur fixe au lieu de min-height */
    height: 280px;
}

.allo-product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain !important;
    padding: 16px;
    transition: var(--allo-transition);
}

.allo-product-card:hover .allo-product-image img {
    transform: scale(1.05);
}

/* BADGES - sous le badge TP */
.allo-product-badges {
    position: absolute;
    top: 40px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.allo-badge {
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.allo-badge-sale {
    background: var(--allo-danger);
    color: #fff;
}

.allo-badge-outofstock {
    background: var(--allo-gray-700);
    color: #fff;
}

.allo-badge-new {
    background: var(--allo-primary);
    color: #fff;
}

.allo-badge-best {
    background: var(--allo-primary);
    color: #fff;
}

/* FAVORIS */
.allo-btn-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--allo-shadow-sm);
    color: var(--allo-gray-400);
    transition: var(--allo-transition);
    z-index: 1;
}

.allo-btn-favorite:hover {
    color: var(--allo-danger);
    transform: scale(1.1);
}

.allo-btn-favorite.active {
    color: var(--allo-danger);
}

/* FAVORIS — toggle pur CSS */
.allo-btn-favorite .heart-filled {
    display: none;
}

.allo-btn-favorite .heart-outline {
    display: block;
}

.allo-btn-favorite.active .heart-filled {
    display: block !important;
}

.allo-btn-favorite.active .heart-outline {
    display: none !important;
}

.allo-btn-favorite.active {
    color: var(--allo-danger);
}

/* INFOS PRODUIT */
.allo-product-info {
    display: flex;
    flex-direction: column;
    padding: 14px;
    flex-grow: 1;
}



/* Titre */
.allo-product-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px 0;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.allo-product-title a {
    color: var(--allo-gray-800);
    text-decoration: none;
}

.allo-product-title a:hover {
    color: var(--allo-primary);
}

/* Marque - SOUS le titre */
.allo-product-brand {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--allo-gray-500);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

/* Stock */
.allo-product-stock {
    margin-bottom: 8px;
}

.allo-stock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.allo-in-stock {
    color: var(--allo-success);
}

.allo-out-of-stock {
    color: var(--allo-danger);
}

/* Prix */
/* ============================================================================
   PRIX
   ============================================================================ */
.allo-product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.allo-price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--allo-gray-900);
}

/* Si promo → prix actuel en rouge */
.allo-price-current + .allo-price-regular {
    /* Le current qui précède un regular = c'est une promo */
}

.allo-price-regular {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--allo-gray-400);
    text-decoration: line-through;
}

/* Quand il y a un prix barré, le prix actuel passe en rouge */
.allo-product-price:has(.allo-price-regular) .allo-price-current {
    color: var(--allo-danger);
}
.allo-product-actions {
    margin-top: auto;
    padding-top: 8px;
}
/* BOUTONS */
.allo-product-actions .allo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: var(--allo-radius-sm);
    cursor: pointer;
    transition: var(--allo-transition);
    text-decoration: none;
}

.allo-btn-cart {
    background: #f59d1a;
    color: #fff;
}

.allo-btn-cart:hover {
    background: #c78016;
    transition: all 0.2s ease;
}

.allo-btn-cart.added {
    background: var(--allo-success);
}

.allo-btn-view {
    background: var(--allo-gray-600);
    color: #fff;
}

.allo-btn-view:hover {
    background: var(--allo-gray-700);
}

/* ============================================================================
   PAGINATION (type=list output from paginate_links)
   ============================================================================ */
.allo-pagination {
    margin-top: 30px;
    padding: 20px 0;
}

.allo-pagination ul,
.allo-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.allo-pagination li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.allo-pagination li a,
.allo-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border-radius: var(--allo-radius-sm);
    text-decoration: none;
    color: var(--allo-gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--allo-shadow-xs);
    border: 1px solid var(--allo-gray-200);
    transition: var(--allo-transition);
}

.allo-pagination li a:hover {
    background: var(--allo-primary);
    color: #fff;
    border-color: var(--allo-primary);
}

.allo-pagination li span.current {
    background: var(--allo-primary);
    color: #fff;
    border-color: var(--allo-primary);
}

.allo-pagination li .prev,
.allo-pagination li .next {
    font-size: 0.8rem;
    padding: 0 16px;
}

/* ============================================================================
   NO PRODUCTS
   ============================================================================ */
.allo-no-products {
    padding: 60px 20px;
    text-align: center;
    background: var(--allo-gray-50);
    border-radius: var(--allo-radius-lg);
    border: 1px solid var(--allo-gray-200);
}

.allo-no-products p {
    font-size: 1.1rem;
    color: var(--allo-gray-600);
    margin-bottom: 16px;
}

/* ============================================================================
   DESCRIPTION CATÉGORIE (BAS DE PAGE)
   ============================================================================ */
.allo-category-description {
    margin-top: 40px;
    padding: 30px;
    background: var(--allo-gray-50);
    border-radius: var(--allo-radius-lg);
    border: 1px solid var(--allo-gray-200);
}

.allo-description-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--allo-gray-700);
}

.allo-description-content h2,
.allo-description-content h3 {
    color: var(--allo-gray-900);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.allo-description-content h2 { font-size: 1.3rem; }
.allo-description-content h3 { font-size: 1.1rem; }
.allo-description-content p { margin-bottom: 1em; }

.allo-description-content ul,
.allo-description-content ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.allo-description-content a {
    color: var(--allo-primary);
}

/* ============================================================================
   MOBILE
   ============================================================================ */
@media (max-width: 768px) {
    .allo-sidebar-filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .allo-sidebar-filters.open {
        left: 0;
    }
    
    .allo-close-filters {
        display: flex;
    }
    
    body.filters-open {
        overflow: hidden;
    }
    
    body.filters-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .allo-active-filters {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
}

/* ============================================================================
   UTILITIES
   ============================================================================ */
.allo-obfuscated-link {
    cursor: pointer;
    display: block;
}

.site-header,
#main-header,
.et-fixed-header {
    z-index: 100 !important;
}