/* ============================================================
   BOUTIQUE — EPI Côte d'Ivoire
   ============================================================ */

/* ---- Hero ---- */
.shop-hero {
    background: linear-gradient(135deg, var(--epi-dark) 0%, #1c0305 60%, var(--epi-dark) 100%);
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}
.shop-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(227,6,19,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.shop-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(227,6,19,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.shop-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.shop-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(227,6,19,0.15);
    border: 1px solid rgba(227,6,19,0.3);
    color: #ff8089;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.shop-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.shop-hero h1 span { color: #ff8089; }
.shop-hero-sub {
    color: rgba(255,255,255,0.55);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
}
.shop-hero-search {
    max-width: 500px;
    margin: 0 auto 28px;
    position: relative;
}
.shop-hero-search input {
    width: 100%;
    padding: 14px 56px 14px 20px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.shop-hero-search input::placeholder { color: rgba(255,255,255,0.35); }
.shop-hero-search input:focus {
    border-color: rgba(227,6,19,0.5);
    background: rgba(255,255,255,0.1);
}
.shop-hero-search .sh-search-btn {
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    background: var(--epi-red);
    border-radius: 50%;
    border: none;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.shop-hero-search .sh-search-btn:hover { background: var(--epi-red-dark); transform: translateY(-50%) scale(1.05); }
.shop-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.shop-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 600;
}
.shop-hero-stat i { color: var(--epi-red); font-size: 15px; }
.shop-hero-stat strong { color: #fff; }

/* ---- Breadcrumb ---- */
.shop-breadcrumb {
    padding: 12px 0;
    background: var(--epi-gray);
    border-bottom: 1px solid var(--epi-gray-2);
}
.shop-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0; padding: 0;
    font-size: 13px;
}
.shop-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.shop-breadcrumb li a { color: var(--epi-text-muted); text-decoration: none; transition: color 0.2s; }
.shop-breadcrumb li a:hover { color: var(--epi-red); }
.shop-breadcrumb li.active { color: var(--epi-text); font-weight: 600; }
.shop-breadcrumb .sep { color: var(--epi-gray-2); font-size: 11px; }

/* ---- Layout principal ---- */
.shop-layout {
    display: grid;
    grid-template-columns: 272px 1fr;
    gap: 28px;
    padding: 32px 0 60px;
}
@media(max-width:992px){ .shop-layout { grid-template-columns: 1fr; } }

/* ---- SIDEBAR ---- */
.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media(max-width:992px){ .shop-sidebar { display: none; } }

.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--epi-gray-2);
    overflow: hidden;
}
.sidebar-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--epi-gray-2);
    cursor: pointer;
    user-select: none;
}
.sidebar-widget-head h3 {
    font-size: 13px;
    font-weight: 800;
    color: var(--epi-text);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-widget-head h3 i { color: var(--epi-red); font-size: 14px; }
.sidebar-widget-head .sw-toggle {
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    color: var(--epi-text-muted);
    font-size: 12px;
    transition: transform 0.3s ease;
}
.sidebar-widget.collapsed .sw-toggle { transform: rotate(-90deg); }
.sidebar-widget-body { padding: 16px 20px; }

/* Catégories sidebar */
.sw-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.sw-cat-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--epi-text-muted);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.sw-cat-item a:hover,
.sw-cat-item.active a {
    background: var(--epi-red-pale);
    color: var(--epi-red);
}
.sw-cat-item a .cat-count {
    background: var(--epi-gray-2);
    color: var(--epi-text-muted);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    transition: all 0.2s;
}
.sw-cat-item a:hover .cat-count,
.sw-cat-item.active a .cat-count {
    background: rgba(227,6,19,0.12);
    color: var(--epi-red);
}
.sw-cat-child a {
    padding-left: 28px;
    font-size: 12px;
    font-weight: 500;
}

/* Produits vedette sidebar */
.sw-feat-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--epi-gray-2);
    text-decoration: none;
    transition: all 0.2s ease;
}
.sw-feat-item:last-child { border-bottom: none; }
.sw-feat-item:hover { opacity: 0.85; }
.sw-feat-thumb {
    width: 60px; height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--epi-gray);
}
.sw-feat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sw-feat-info { flex: 1; min-width: 0; }
.sw-feat-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--epi-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 4px;
}
.sw-feat-price {
    font-size: 12px;
    font-weight: 800;
    color: var(--epi-red);
}
.sw-feat-devis {
    font-size: 11px;
    color: var(--epi-text-muted);
}

/* Livraison sidebar */
.sw-delivery-list { display: flex; flex-direction: column; gap: 14px; }
.sw-delivery-item { display: flex; align-items: flex-start; gap: 12px; }
.sw-delivery-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--epi-red-pale);
    display: flex; align-items: center; justify-content: center;
    color: var(--epi-red);
    font-size: 16px;
    flex-shrink: 0;
}
.sw-delivery-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--epi-text);
    margin-bottom: 2px;
}
.sw-delivery-text p { font-size: 11px; color: var(--epi-text-muted); margin: 0; line-height: 1.4; }

/* Galerie sidebar */
.sw-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sw-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    display: block;
    position: relative;
}
.sw-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sw-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(227,6,19,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sw-gallery-item:hover img { transform: scale(1.1); }
.sw-gallery-item:hover::after { opacity: 1; }

/* Réseaux sociaux sidebar */
.sw-social-list { display: flex; gap: 8px; flex-wrap: wrap; }
.sw-social-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--epi-gray-2);
    color: var(--epi-text-muted);
}
.sw-social-btn:hover { background: var(--epi-red); border-color: var(--epi-red); color: #fff; transform: translateY(-2px); }

/* ---- CONTROLS BAR ---- */
.shop-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--epi-gray-2);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.scb-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.scb-right { display: flex; align-items: center; gap: 12px; }
.scb-count {
    font-size: 13px;
    color: var(--epi-text-muted);
    font-weight: 600;
    white-space: nowrap;
}
.scb-count strong { color: var(--epi-red); }

.scb-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid var(--epi-gray-2);
    background: transparent;
    color: var(--epi-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.scb-filter-btn:hover,
.scb-filter-btn.active {
    border-color: var(--epi-red);
    color: var(--epi-red);
    background: var(--epi-red-pale);
}
.scb-filter-btn i { font-size: 14px; }

/* Layouts switcher */
.scb-layouts { display: flex; gap: 4px; }
.scb-layout-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--epi-gray-2);
    background: transparent;
    color: var(--epi-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}
.scb-layout-btn:hover { border-color: var(--epi-red); color: var(--epi-red); }
.scb-layout-btn.active { background: var(--epi-red); border-color: var(--epi-red); color: #fff; }

/* Sort dropdown */
.scb-sort { position: relative; }
.scb-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid var(--epi-gray-2);
    background: #fff;
    color: var(--epi-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.scb-sort-btn:hover { border-color: var(--epi-red); color: var(--epi-red); }
.scb-sort-btn i.sort-arrow { margin-left: 2px; font-size: 10px; transition: transform 0.2s; }
.scb-sort.open .sort-arrow { transform: rotate(180deg); }
.scb-sort-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid var(--epi-gray-2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 6px;
    z-index: 100;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.2s ease;
}
.scb-sort.open .scb-sort-menu { opacity: 1; transform: translateY(0); pointer-events: all; }
.scb-sort-item {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--epi-text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex; align-items: center; gap: 8px;
}
.scb-sort-item:hover { background: var(--epi-red-pale); color: var(--epi-red); }
.scb-sort-item.active { background: var(--epi-red-pale); color: var(--epi-red); }
.scb-sort-item.active::after { content: '✓'; margin-left: auto; font-weight: 800; }

/* Filtres actifs */
.active-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--epi-red-pale);
    color: var(--epi-red);
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(227,6,19,0.15);
}
.filter-tag .rm-filter {
    background: none; border: none; padding: 0;
    color: inherit; cursor: pointer; font-size: 13px; line-height: 1;
    display: flex; align-items: center;
}
.clear-all-btn {
    font-size: 11px;
    font-weight: 700;
    color: var(--epi-text-muted);
    background: none;
    border: 1px solid var(--epi-gray-2);
    padding: 3px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.clear-all-btn:hover { border-color: var(--epi-red); color: var(--epi-red); }

/* ---- PRODUCT CARDS (GRILLE) ---- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.shop-grid.grid-col-2 { grid-template-columns: repeat(2, 1fr); }
.shop-grid.grid-col-4 { grid-template-columns: repeat(4, 1fr); }
@media(max-width:1200px){ .shop-grid { grid-template-columns: repeat(3, 1fr); } .shop-grid.grid-col-4 { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:768px)  { .shop-grid, .shop-grid.grid-col-2, .shop-grid.grid-col-4 { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:480px)  { .shop-grid, .shop-grid.grid-col-2, .shop-grid.grid-col-4 { grid-template-columns: 1fr; } }

.sp-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--epi-gray-2);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transform: translateY(16px);
}
.sp-card.card-revealed { opacity: 1; transform: translateY(0); }
.sp-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(227,6,19,0.12);
    border-color: rgba(227,6,19,0.2);
}

.sp-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--epi-gray);
}
@media(max-width:480px){ .sp-card-img { height: 180px; } }
.sp-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.sp-card:hover .sp-card-img img { transform: scale(1.08); }

.sp-card-badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.spb-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    line-height: 1.4;
}
.spb-new   { background: var(--epi-red); color: #fff; }
.spb-stock { background: #fff; color: var(--epi-text-muted); border: 1px solid var(--epi-gray-2); }
.spb-out   { background: #f1f5f9; color: #94a3b8; border: 1px solid #e2e8f0; }

.sp-card-actions {
    position: absolute;
    top: 10px; right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.3s ease;
    z-index: 2;
}
.sp-card:hover .sp-card-actions { opacity: 1; transform: translateX(0); }
.sp-action-btn {
    width: 34px; height: 34px;
    background: #fff;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    color: var(--epi-text);
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.sp-action-btn:hover { background: var(--epi-red); color: #fff; }

.sp-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(184,0,15,0.7) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 20px;
    gap: 10px;
    z-index: 1;
}
.sp-card:hover .sp-card-overlay { opacity: 1; }
.sp-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    transform: translateY(8px);
    border: none;
    cursor: pointer;
}
.sp-card:hover .sp-overlay-btn { transform: translateY(0); }
.sp-overlay-primary { background: #fff; color: var(--epi-red); }
.sp-overlay-primary:hover { background: var(--epi-red); color: #fff; }
.sp-overlay-ghost {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
}
.sp-overlay-ghost:hover { background: rgba(255,255,255,0.25); color: #fff; }

.sp-card-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.sp-card-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--epi-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.sp-card-name:hover { color: var(--epi-red); }
.sp-card-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--epi-red);
    margin-bottom: 10px;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sp-card-footer {
    padding: 0 16px 14px;
    display: flex;
    gap: 8px;
}
.sp-footer-btn {
    flex: 1;
    padding: 8px 0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sp-footer-primary {
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    color: #fff;
}
.sp-footer-primary:hover { color: #fff; box-shadow: 0 4px 16px var(--epi-red-20); transform: translateY(-1px); }
.sp-footer-secondary {
    background: var(--epi-gray);
    color: var(--epi-text-muted);
    border: 1px solid var(--epi-gray-2) !important;
    flex: 0 0 38px;
}
.sp-footer-secondary:hover { background: var(--epi-red-pale); color: var(--epi-red); border-color: rgba(227,6,19,0.2) !important; }

/* ---- LIST LAYOUT ---- */
.shop-list { display: flex; flex-direction: column; gap: 14px; }
.sp-list-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--epi-gray-2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    overflow: hidden;
    transition: all 0.3s ease;
}
.sp-list-card:hover {
    box-shadow: 0 12px 32px rgba(227,6,19,0.1);
    border-color: rgba(227,6,19,0.2);
    transform: translateY(-2px);
}
.sp-list-img {
    width: 180px;
    min-height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: var(--epi-gray);
}
@media(max-width:600px){ .sp-list-img { width: 110px; min-height: 110px; } }
.sp-list-img a { display: block; width: 100%; height: 100%; }
.sp-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sp-list-card:hover .sp-list-img img { transform: scale(1.07); }
.sp-list-body {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.sp-list-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--epi-text);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 6px;
    transition: color 0.2s;
    display: block;
}
.sp-list-name:hover { color: var(--epi-red); }
.sp-list-meta { font-size: 12px; color: var(--epi-text-muted); margin-bottom: 12px; }
.sp-list-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--epi-red);
    margin-bottom: 12px;
}
.sp-list-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.sp-list-btn-primary {
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    color: #fff;
}
.sp-list-btn-primary:hover { color: #fff; box-shadow: 0 4px 16px var(--epi-red-20); }
.sp-list-btn-secondary {
    background: var(--epi-gray);
    color: var(--epi-text-muted);
    border: 1px solid var(--epi-gray-2) !important;
}
.sp-list-btn-secondary:hover { background: var(--epi-red-pale); color: var(--epi-red); border-color: rgba(227,6,19,0.2) !important; }

/* ---- PAGINATION ---- */
.shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.sp-page-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--epi-gray-2);
    color: var(--epi-text-muted);
    background: #fff;
}
.sp-page-btn:hover { border-color: var(--epi-red); color: var(--epi-red); background: var(--epi-red-pale); }
.sp-page-btn.active { background: var(--epi-red); border-color: var(--epi-red); color: #fff; pointer-events: none; }
.sp-page-btn.disabled { opacity: 0.3; pointer-events: none; }
.sp-page-ellipsis { padding: 0 4px; color: var(--epi-text-muted); font-size: 13px; }

/* ---- EMPTY STATE ---- */
.shop-empty {
    text-align: center;
    padding: 80px 20px;
}
.shop-empty-icon {
    font-size: 64px;
    color: var(--epi-gray-2);
    margin-bottom: 16px;
}
.shop-empty h3 { font-size: 20px; font-weight: 800; color: var(--epi-text); margin-bottom: 8px; }
.shop-empty p { color: var(--epi-text-muted); font-size: 14px; }

/* ---- OFFCANVAS FILTER ---- */
#filterDrawer { width: 340px; max-width: 100vw; }
#filterDrawer .offcanvas-header {
    background: var(--epi-dark);
    color: #fff;
    padding: 20px 24px;
}
#filterDrawer .offcanvas-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
#filterDrawer .offcanvas-title i { color: var(--epi-red); }
#filterDrawer .btn-close { filter: invert(1); opacity: 0.7; }
#filterDrawer .offcanvas-body { padding: 20px; }

.filter-section { margin-bottom: 24px; }
.filter-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--epi-text-muted);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--epi-gray-2);
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.2s;
}
.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    accent-color: var(--epi-red);
    width: 15px; height: 15px;
    cursor: pointer;
}
.filter-option label {
    font-size: 13px;
    font-weight: 600;
    color: var(--epi-text);
    cursor: pointer;
    flex: 1;
}
.filter-size-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-size-tag {
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid var(--epi-gray-2);
    font-size: 12px;
    font-weight: 700;
    color: var(--epi-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.filter-size-tag.selected { background: var(--epi-red-pale); border-color: var(--epi-red); color: var(--epi-red); }
.filter-color-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-color-swatch {
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}
.filter-color-swatch.selected { border-color: var(--epi-red); transform: scale(1.15); }
.filter-actions {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--epi-gray-2);
}
.filter-reset-btn {
    flex: 1;
    padding: 11px;
    border-radius: 10px;
    border: 1px solid var(--epi-gray-2);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: var(--epi-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.filter-reset-btn:hover { border-color: var(--epi-red); color: var(--epi-red); }
.filter-apply-btn {
    flex: 2;
    padding: 11px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-apply-btn:hover { box-shadow: 0 6px 20px var(--epi-red-20); }

/* ---- Mobile filter btn ---- */
.shop-mobile-filter {
    display: none;
    padding: 0 0 16px;
}
@media(max-width:992px){ .shop-mobile-filter { display: flex; gap: 10px; } }
