/* Styles pour la nouvelle boutique DM TECH */

/* Améliorations de visibilité pour la navbar et le footer */
.navbar .nav-link {
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.navbar .nav-link:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.navbar .admin-link {
    background: rgba(255, 255, 255, 0.15) !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.navbar .admin-link:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: var(--accent-color) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.navbar .nav-logo {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Footer amélioré */
.footer {
    background: var(--primary-color) !important;
}

.footer .footer-logo {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.footer .footer-section h3 {
    color: var(--accent-color) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.footer .footer-section p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.footer .footer-section ul li a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.footer .footer-section ul li a:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.footer .footer-bottom {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Bouton panier moderne */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cart-icon i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.cart-icon:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite;
    line-height: 1;
    text-align: center;
    padding: 0;
    margin: 0;
}

.cart-count:empty {
    display: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
}

/* Animation d'ajout au panier */
.cart-icon.added {
    animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2) rotate(-5deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    75% {
        transform: scale(1.15) rotate(-2deg);
    }
    100% {
        transform: scale(1);
    }
}

/* Navigation mobile améliorée */
@media (max-width: 768px) {
    .navbar .nav-menu .nav-link {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }
    
    .navbar .nav-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--accent-color) !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    }
    
    .cart-icon {
        width: 44px;
        height: 44px;
    }
    
    .cart-icon i {
        font-size: 16px;
    }
    
    .cart-count {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
        top: -6px;
        right: -6px;
        line-height: 1;
        text-align: center;
        padding: 0;
        margin: 0;
    }
}

/* Variables CSS */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --background-color: #f8fafc;
    --card-background: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section Boutique */
.boutique-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.boutique-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    color: #fbbf24;
}

.boutique-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.boutique-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Filtres et recherche */
.boutique-filters {
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    box-shadow: var(--shadow-sm);
}

.filters-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-section {
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 16px;
    background: var(--background-color);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-box input::placeholder {
    color: var(--text-primary);
    opacity: 0.6;
    font-weight: 500;
}

.search-box i:first-child {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

.filters-section {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 150px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-group select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: var(--card-background);
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.filter-actions {
    display: flex;
    gap: 12px;
    align-items: end;
}

.btn-filter-reset,
.btn-filter-toggle {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: var(--card-background);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-filter-reset:hover,
.btn-filter-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Section des produits */
.products-section {
    padding: 60px 0;
    background: var(--background-color);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.products-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.products-title p {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    opacity: 0.8;
}

.view-toggle {
    display: flex;
    background: var(--card-background);
    border-radius: var(--border-radius-sm);
    padding: 4px;
    border: 2px solid var(--border-color);
}

.view-btn {
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn.active,
.view-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Grille des produits */
.products-container {
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Carte de produit */
.product-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-card.list-view {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.product-image {
    position: relative;
    height: 200px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.product-card.list-view .product-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: var(--border-radius-sm);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-image i {
    font-size: 3rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.product-card:hover .product-image img,
.product-card:hover .product-image i {
    transform: scale(1.1);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.popular {
    background: #fbbf24;
    color: #92400e;
}

.product-badge.new {
    background: var(--success-color);
    color: white;
}

.product-badge.sale {
    background: var(--error-color);
    color: white;
}

.product-info {
    padding: 20px;
}

.product-card.list-view .product-info {
    flex: 1;
    padding: 0;
}

.product-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-description {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
    font-weight: 500;
}

.product-card.list-view .product-description {
    -webkit-line-clamp: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.product-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--background-color);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-weight: 600;
    background: transparent;
    color: var(--text-primary);
}

.btn-add-to-cart {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-add-to-cart:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

/* Vue liste */
.product-card.list-view .product-actions {
    flex-direction: column;
    align-items: stretch;
    min-width: 200px;
}

.product-card.list-view .quantity-selector {
    margin-bottom: 12px;
}

/* Aucun produit trouvé */
.no-products {
    text-align: center;
    padding: 80px 20px;
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.no-products-content i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.no-products-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.no-products-content p {
    color: var(--text-primary);
    opacity: 0.8;
    font-weight: 500;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Panier flottant */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--card-background);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: white;
}

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--background-color);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--card-background);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.cart-item-image i {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    background: var(--card-background);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.cart-item-quantity button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cart-item-quantity input {
    width: 40px;
    height: 28px;
    border: none;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.remove-item:hover {
    background: var(--error-color);
    color: white;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--background-color);
}

.cart-summary {
    margin-bottom: 20px;
}

.cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cart-shipping {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success-color);
    font-size: 14px;
    font-weight: 500;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal de produit */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.product-detail-image {
    position: relative;
}

.product-detail-img-container {
    width: 100%;
    height: 400px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-img-container i {
    font-size: 4rem;
    color: var(--text-secondary);
}

.product-detail-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail-category {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-detail-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.product-detail-description {
    color: var(--text-primary);
    opacity: 0.8;
    font-weight: 500;
    line-height: 1.6;
    font-size: 16px;
}

.product-detail-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-detail-stock {
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-align: center;
}

.product-detail-stock.in-stock {
    background: #dcfce7;
    color: #166534;
}

.product-detail-stock.low-stock {
    background: #fef3c7;
    color: #92400e;
}

.product-detail-stock.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.product-detail-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.product-detail-actions .quantity-selector {
    background: var(--background-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.product-detail-actions .quantity-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.product-detail-actions .quantity-input {
    width: 60px;
    height: 48px;
    font-size: 16px;
}

.product-detail-actions .btn-add-to-cart {
    flex: 1;
    height: 48px;
    font-size: 16px;
}

.product-detail-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature i {
    color: var(--success-color);
    width: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .cart-sidebar {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .boutique-hero {
        padding: 80px 0 40px;
    }
    
    .boutique-hero h1 {
        font-size: 2.5rem;
    }
    
    .boutique-hero p {
        font-size: 1.125rem;
    }
    
    .filters-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .boutique-filters {
        padding: 16px 0;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .products-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .product-card.list-view {
        flex-direction: column;
        text-align: center;
    }
    
    .product-card.list-view .product-image {
        width: 100%;
        height: 200px;
    }
    
    .product-card.list-view .product-actions {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .product-detail-img-container {
        height: 300px;
    }
    
    .product-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .boutique-hero h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box input {
        padding: 12px 16px 12px 40px;
        font-size: 14px;
    }
    
    .filter-group select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .product-detail {
        padding: 20px;
    }
    
    .product-detail-name {
        font-size: 1.5rem;
    }
    
    .product-detail-price {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: slideInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* États de chargement */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Améliorations d'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible pour l'accessibilité */
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mode sombre (optionnel) */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #0f172a;
        --card-background: #1e293b;
        --text-primary: #f1f5f9;
        --text-secondary: #94a3b8;
        --border-color: #334155;
    }
}
