
/* ========================================
   Boutique Enhanced - CSS Dynamique
   ======================================== */

:root {
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --primary-color: #007bff;
    --secondary-color: #6c757d;
}

/* Application des polices */
.boutique-category-title,
.boutique-product-title,
.boutique-section-title {
    font-family: var(--font-primary) !important;
}

.boutique-description,
.boutique-price,
.boutique-text {
    font-family: var(--font-secondary) !important;
}

/* Headers avec la police principale */
.boutique-header h1,
.boutique-header h2,
.boutique-header h3 {
    font-family: var(--font-heading) !important;
}

/* Navigation avec la police secondaire */
.boutique-nav {
    font-family: var(--font-secondary) !important;
}

/* Boutons */
.boutique-btn {
    font-family: var(--font-secondary) !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.boutique-btn:hover {
    background-color: var(--primary-color);
    opacity: 0.9;
}

.boutique-btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Cards et composants */
.boutique-card {
    font-family: var(--font-secondary) !important;
}

.boutique-card-title {
    font-family: var(--font-primary) !important;
}

/* Formulaires */
.boutique-form {
    font-family: var(--font-secondary) !important;
}

.boutique-form label {
    font-family: var(--font-primary) !important;
    font-weight: 600;
}

/* Tableaux */
.boutique-table {
    font-family: var(--font-secondary) !important;
}

.boutique-table th {
    font-family: var(--font-primary) !important;
}

/* Modals */
.modal-title {
    font-family: var(--font-primary) !important;
}

.modal-body {
    font-family: var(--font-secondary) !important;
}

/* Breadcrumbs */
.breadcrumb {
    font-family: var(--font-secondary) !important;
}

/* Pagination */
.pagination {
    font-family: var(--font-secondary) !important;
}

/* Alerts */
.alert {
    font-family: var(--font-secondary) !important;
}

.alert-heading {
    font-family: var(--font-primary) !important;
}

/* Badges */
.badge {
    font-family: var(--font-secondary) !important;
}

/* Tooltips et Popovers */
.tooltip {
    font-family: var(--font-secondary) !important;
}

.popover {
    font-family: var(--font-secondary) !important;
}

.popover-header {
    font-family: var(--font-primary) !important;
}

/* Liste de prix */
.price-list {
    font-family: var(--font-secondary) !important;
}

.price-list .price-title {
    font-family: var(--font-primary) !important;
}

/* Checkout */
.checkout-section h3,
.checkout-section h4 {
    font-family: var(--font-primary) !important;
}

.checkout-form {
    font-family: var(--font-secondary) !important;
}

/* Panier */
.cart-item {
    font-family: var(--font-secondary) !important;
}

.cart-item-title {
    font-family: var(--font-primary) !important;
}

.cart-total {
    font-family: var(--font-primary) !important;
    font-weight: bold;
}

/* Footer spécifique boutique */
.boutique-footer {
    font-family: var(--font-secondary) !important;
}

.boutique-footer h4,
.boutique-footer h5 {
    font-family: var(--font-primary) !important;
}

/* ========================================
   Import du fichier boutique-enhanced.css
   Version bump: v2.1.0 - 2026-05-29 19:05:45   ======================================== */
@import url('/boutique/css/boutique-enhanced.css?v=2.4.1');

/* ========================================
   Classes additionnelles
   ======================================== */

/* Badge de promotion */
.boutique-promo-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-family: var(--font-secondary) !important;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Cartes de produits */
.boutique-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: var(--font-secondary) !important;
}

.boutique-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    transform: translateY(-5px);
}

.boutique-product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.boutique-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.boutique-product-card:hover .boutique-product-image {
    transform: scale(1.08);
}

.boutique-product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-secondary) !important;
}

.boutique-product-card:hover .boutique-product-overlay {
    transform: translateY(0);
}

.boutique-product-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.boutique-product-title {
    font-size: 1.1rem;
    font-family: var(--font-primary) !important;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.boutique-product-description {
    font-family: var(--font-secondary) !important;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.boutique-product-price {
    font-size: 1.5rem;
    font-family: var(--font-primary) !important;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.boutique-product-price-old {
    font-family: var(--font-secondary) !important;
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-left: 0.5rem;
}

/* Boutons améliorés */
.btn-boutique {
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-secondary) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

/* Effet de ripple sur les boutons */
.btn-boutique::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-boutique:active::before {
    width: 300px;
    height: 300px;
}

.btn-boutique-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.25);
}

.btn-boutique-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(74, 144, 226, 0.35);
}

.btn-boutique-cart {
    background: linear-gradient(135deg, #13f1fc 0%, #0470dc 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary) !important;
}

.btn-boutique-cart i {
    font-size: 1.1rem;
}

.btn-boutique-cart:hover {
    transform: scale(1.05);
}

/* Filtres */
.boutique-filters {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    font-family: var(--font-secondary) !important;
}

.boutique-filter-title {
    font-size: 1.2rem;
    font-family: var(--font-primary) !important;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E8F2FF;
}

.boutique-filter-item {
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-family: var(--font-secondary) !important;
}

.boutique-filter-item:hover {
    background: #E8F2FF;
    padding-left: calc(1rem + 5px);
}

.boutique-filter-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Panier flottant - désactivé mais styles conservés */
.boutique-floating-cart {
    display: none !important;
    /* Styles conservés mais désactivés
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    font-family: var(--font-secondary) !important;
    */
}

.boutique-floating-cart:hover {
    /* transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(0,0,0,0.2); */
}

.boutique-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #F67280;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-family: var(--font-secondary) !important;
    font-weight: 600;
}

/* Breadcrumb */
.boutique-breadcrumb {
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-family: var(--font-secondary) !important;
}

.boutique-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.boutique-breadcrumb a:hover {
    color: var(--primary-color);
}

.boutique-breadcrumb .separator {
    color: #dee2e6;
}

.boutique-breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}

/* Section de paiement */
.boutique-checkout {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    font-family: var(--font-secondary) !important;
}

.boutique-checkout-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    font-family: var(--font-secondary) !important;
}

.boutique-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary) !important;
    font-weight: 600;
    margin-right: 1.5rem;
}

.boutique-step-number.completed {
    background: linear-gradient(135deg, #13f1fc 0%, #0470dc 100%);
}

.boutique-step-title {
    font-size: 1.2rem;
    font-family: var(--font-primary) !important;
    font-weight: 600;
    color: #2c3e50;
}

/* Badges et étiquettes */
.boutique-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: var(--font-secondary) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.boutique-badge-new {
    background: linear-gradient(135deg, #13f1fc 0%, #0470dc 100%);
    color: white;
}

.boutique-badge-sale {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.boutique-badge-soldout {
    background: #6c757d;
    color: white;
}

/* Notifications */
.boutique-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    min-width: 300px;
    z-index: 2000;
    animation: slideInRight 0.3s ease;
    font-family: var(--font-secondary) !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.boutique-notification-success {
    border-left: 4px solid #5CB85C;
}

.boutique-notification-error {
    border-left: 4px solid #D9534F;
}

.boutique-notification-info {
    border-left: 4px solid var(--primary-color);
}

/* Loading skeleton */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Classes supplémentaires */
.boutique-wrapper {
    font-family: var(--font-primary);
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

/* En-tête de la boutique */
.boutique-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.boutique-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(35deg);
}

.boutique-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: fadeInDown 0.8s ease;
}

.boutique-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Cartes de catégories - MODIFIÉ pour hauteur fixe uniforme */
.boutique-category-card {
    background: white !important;
    border-radius: 20px !important;
    overflow: hidden;
    position: relative;
    height: 400px !important; /* Hauteur FIXE, pas min-height */
    min-height: unset !important;
    max-height: 400px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    font-family: var(--font-secondary) !important;
    display: flex !important;
    flex-direction: column !important;
}

.boutique-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.boutique-category-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 12px 48px rgba(0,0,0,0.2) !important;
}

.boutique-category-card:hover::before {
    opacity: 1;
}

.boutique-category-card .card-body {
    padding: 2rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Wrapper pour uniformiser la hauteur des images */
.boutique-category-image-wrapper {
    min-height: 200px !important;
    max-height: 200px !important;
    height: 200px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
    padding: 1rem !important;
    overflow: hidden !important;
}

.boutique-category-image {
    max-height: 180px !important; /* Un peu moins que le wrapper pour le padding */
    max-width: 90% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.boutique-category-card:hover .boutique-category-image {
    transform: scale(1.05); /* Réduit pour éviter le débordement */
}

.boutique-category-title {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin-top: 1.5rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Supprimer le soulignement des liens de catégories */
a:has(.boutique-category-title) {
    text-decoration: none !important;
}

/* Alternative pour les navigateurs qui ne supportent pas :has() */
.boutique-category-link {
    text-decoration: none !important;
}

.boutique-category-card:hover .boutique-category-title {
    color: var(--primary-color) !important;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .boutique-header h1 {
        font-size: 2rem;
    }
    
    .boutique-category-card {
        height: 350px !important;
        min-height: unset !important;
        max-height: 350px !important;
    }
    
    .boutique-category-image-wrapper {
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }
    
    .boutique-category-image {
        max-height: 130px !important;
    }
    
    .boutique-product-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .boutique-header {
        padding: 2rem 0;
    }
    
    .boutique-category-card {
        height: 320px !important;
        min-height: unset !important;
        max-height: 320px !important;
    }
    
    .boutique-category-image-wrapper {
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
        padding: 0.5rem !important;
    }
    
    .boutique-category-image {
        max-height: 100px !important;
    }
    
    .btn-boutique {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}