/* --- LAYOUT BOUTIQUE --- */
.store-layout-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --- EN-TETE BOUTIQUE --- */
.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.store-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark, #0f172a);
    margin-bottom: 0.5rem;
}
.store-subtitle {
    color: var(--text-muted, #64748b);
    font-size: 1rem;
}
.store-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.glass-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}
.glass-input-wrapper input {
    padding-left: 2.5rem;
    min-width: 250px;
}
.sort-select {
    cursor: pointer;
    min-width: 180px;
}

/* --- GRILLE PRINCIPALE --- */
.store-main-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 992px) {
    .store-main-grid {
        grid-template-columns: 1fr;
    }
}

/* --- BARRE LATERALE --- */
.store-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.filter-widget {
    padding: 1.5rem;
    border-radius: 12px;
}
.filter-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark, #0f172a);
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
    padding-bottom: 0.5rem;
}
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter-list li {
    margin-bottom: 0.5rem;
}
.filter-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted, #64748b);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}
.filter-link:hover, .filter-link.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary, #3b82f6);
}
.price-range-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.range-slider {
    width: 100%;
    accent-color: var(--primary, #3b82f6);
}
.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* --- GRILLE PRODUITS --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.product-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.product-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f1f5f9;
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}
.badge-promo { background: #ef4444; color: white; }
.badge-soldout { background: #64748b; color: white; }

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay {
    opacity: 1;
}
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--primary, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}
.btn-icon:hover {
    background: var(--primary, #3b82f6);
    color: white;
    transform: scale(1.1);
}
.product-details {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}
.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}
.product-name a {
    color: inherit;
    text-decoration: none;
}
.product-name a:hover {
    color: var(--primary, #3b82f6);
}
.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
}
.price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark, #0f172a);
}
.price-old {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* --- ETATS VIDES & PAGINATION --- */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 16px;
}
.empty-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}
.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}
.btn-page {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-page:hover:not(.disabled) {
    background: #f1f5f9;
}
.btn-page.active {
    background: var(--primary, #3b82f6);
    color: white;
    border-color: var(--primary, #3b82f6);
}
.btn-page.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}