   /* ===== VARIABLES ET RESET ===== */
   :root {
    --primary-mc: #ff6b00;
    --primary-dark-mc: #e55a00;
    --primary-light-mc: #fff0e6;
    --secondary-mc: #2ecc71;
    --accent-mc: #3498db;
    --danger-mc: #e74c3c;
    --warning-mc: #f39c12;
    --dark-mc: #2c3e50;
    --gray-dark-mc: #7f8c8d;
    --gray-mc: #95a5a6;
    --gray-light-mc: #ecf0f1;
    --light-mc: #f8f9fa;
    --white-mc: #ffffff;
    --border-mc: #e0e0e0;
    --shadow-sm-mc: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md-mc: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg-mc: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm-mc: 4px;
    --radius-md-mc: 8px;
    --radius-lg-mc: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background-color: var(--light-mc);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-wrapper {
    background: var(--white-mc);
    border-bottom: 1px solid var(--border-mc);
    padding: 12px 0;
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--gray-dark-mc);
}

.breadcrumb a {
    color: var(--gray-dark-mc);
    transition: color 0.2s;
}

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

.breadcrumb span {
    color: var(--dark-mc);
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--gray-mc);
}

/* ===== PRODUCT MAIN LAYOUT ===== */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== PRODUCT IMAGE GALLERY ===== */
.image-section {
    background: var(--white-mc);
    border-radius: var(--radius-lg-mc);
    padding: 20px;
    box-shadow: var(--shadow-sm-mc);
}

.main-image-container {
    position: relative;
    margin-bottom: 15px;
    border: 1px solid var(--border-mc);
    border-radius: var(--radius-md-mc);
    overflow: hidden;
    background: var(--light-mc);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    padding: 20px;
    cursor: zoom-in;
}

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

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white-mc);
}

.badge-discount {
    background: var(--danger-mc);
}

.badge-new {
    background: var(--secondary-mc);
}

.badge-eco {
    background: var(--secondary-mc);
}

.thumbnail-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: var(--gray-light-mc);
    border-radius: 2px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: var(--gray-mc);
    border-radius: 2px;
}

.thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm-mc);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--light-mc);
}

.thumbnail:hover {
    border-color: var(--primary-mc);
}

.thumbnail.active {
    border-color: var(--primary-mc);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-mc);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--light-mc);
    border: 1px solid var(--border-mc);
    border-radius: var(--radius-sm-mc);
    font-size: 14px;
    color: var(--dark-mc);
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--white-mc);
    border-color: var(--primary-mc);
    color: var(--primary-mc);
}

.action-btn i {
    font-size: 16px;
}

/* ===== PRODUCT INFO ===== */
.info-section {
    background: var(--white-mc);
    border-radius: var(--radius-lg-mc);
    padding: 25px;
    box-shadow: var(--shadow-sm-mc);
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-mc);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-mc);
}

.brand-link {
    color: var(--accent-mc);
    font-size: 14px;
    transition: color 0.2s;
}

.brand-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: var(--warning-mc);
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
    color: var(--gray-dark-mc);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-light-mc);
    color: var(--primary-mc);
    padding: 4px 8px;
    border-radius: var(--radius-sm-mc);
    font-size: 12px;
    font-weight: 500;
    margin-top: 10px;
}

/* ===== PRICE SECTION ===== */
.price-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-mc);
    margin-bottom: 20px;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-mc);
    margin-right: 15px;
}

.original-price {
    font-size: 18px;
    color: var(--gray-dark-mc);
    text-decoration: line-through;
    margin-right: 15px;
}

.discount-percent {
    background: var(--danger-mc);
    color: var(--white-mc);
    padding: 4px 10px;
    border-radius: var(--radius-sm-mc);
    font-size: 14px;
    font-weight: 600;
}

.price-note {
    font-size: 13px;
    color: var(--gray-dark-mc);
    margin-top: 8px;
}

/* ===== DELIVERY INFO ===== */
.delivery-info-card {
    background: var(--light-mc);
    border-radius: var(--radius-md-mc);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-mc);
}

.delivery-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.delivery-header i {
    color: var(--primary-mc);
    font-size: 18px;
}

.delivery-title {
    font-weight: 600;
    color: var(--dark-mc);
}

.delivery-details {
    font-size: 14px;
    color: var(--gray-dark-mc);
    line-height: 1.5;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 8px;
    background: var(--white-mc);
    border-radius: var(--radius-sm-mc);
    border: 1px solid var(--border-mc);
}

.delivery-option i {
    color: var(--secondary-mc);
}

/* ===== SIZE SELECTION ===== */
.size-section {
    margin-bottom: 25px;
}

.section-label {
    display: block;
    font-weight: 600;
    color: var(--dark-mc);
    margin-bottom: 12px;
    font-size: 15px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-option {
    min-width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-mc);
    border-radius: var(--radius-sm-mc);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white-mc);
    position: relative;
}

.size-option:hover {
    border-color: var(--primary-mc);
    color: var(--primary-mc);
}

.size-option.selected {
    background: var(--primary-mc);
    border-color: var(--primary-mc);
    color: var(--white-mc);
}

.size-option.unavailable {
    background: var(--gray-light-mc);
    color: var(--gray-mc);
    cursor: not-allowed;
    text-decoration: line-through;
}

.size-option.unavailable::after {
    content: '×';
    position: absolute;
    color: var(--danger-mc);
    font-size: 20px;
    font-weight: bold;
}

/* ===== QUANTITY SELECTOR ===== */
.quantity-section {
    margin-bottom: 25px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-mc);
    background: var(--white);
    border-radius: var(--radius-sm-mc);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quantity-btn:hover {
    border-color: var(--primary-mc);
    color: var(--primary-mc);
}

.quantity-input {
    width: 60px;
    height: 36px;
    border: 1px solid var(--border-mc);
    border-radius: var(--radius-sm-mc);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.stock-info {
    font-size: 13px;
    color: var(--gray-dark-mc);
    margin-top: 8px;
}

.stock-warning {
    color: var(--danger-mc);
    font-weight: 500;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-md-mc);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--primary-dark-mc);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md-mc);
}

.btn-secondary {
    background: var(--white-mc);
    color: var(--dark-mc);
    border: 2px solid var(--border-mc);
}

.btn-secondary:hover {
    border-color: var(--primary-mc);
    color: var(--primary-mc);
}

.btn-wishlist {
    background: var(--white-mc);
    color: var(--dark-mc);
    border: 2px solid var(--border-mc);
}

.btn-wishlist:hover {
    border-color: var(--danger-mc);
    color: var(--danger-mc);
}
 form {
    grid-column: 1 / -1;
	}
.carateristique {
	margin: 20px 0 10px 0; 
	color: var(--dark);
	}
/* ===== PAYMENT OPTIONS ===== */
.payment-options {
    background: var(--light-mc);
    border-radius: var(--radius-md-mc);
    padding: 15px;
    margin-bottom: 25px;
}

.payment-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-mc);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--white-mc);
    border: 1px solid var(--border-mc);
    border-radius: var(--radius-sm-mc);
    font-size: 12px;
}

/* ===== SOCIAL SHARE ===== */
.social-share-section {
    padding-top: 20px;
    border-top: 1px solid var(--border-mc);
}

.social-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-mc);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-mc);
    font-size: 16px;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.facebook {
    background: #1877f2;
}

.whatsapp {
    background: #25d366;
}

.twitter {
    background: #1da1f2;
}

/* ===== TABS SECTION ===== */
.product-tabs {
    background: var(--white-mc);
    border-radius: var(--radius-lg-mc);
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm-mc);
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--border-mc);
    overflow-x: auto;
}

.tab-header {
    padding: 15px 25px;
    font-weight: 600;
    color: var(--gray-dark-mc);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.tab-header:hover {
    color: var(--dark-mc);
}

.tab-header.active {
    color: var(--primary-mc);
    border-bottom-color: var(--primary-mc);
}

.tab-content {
    padding: 25px;
}

.tab-pane {
    display: none;
}
.mobile-bottom-nav{ display: none;}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== DESCRIPTION ===== */
.description-content {
    line-height: 1.8;
    color: var(--gray-dark-mc);
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-mc);
    font-size: 20px;
}

/* ===== SPECIFICATIONS TABLE ===== */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-mc);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th {
    text-align: left;
    padding: 15px;
    width: 30%;
    font-weight: 600;
    color: var(--dark-mc);
    background: var(--light-mc);
}

.specs-table td {
    padding: 15px;
    color: var(--gray-dark-mc);
}

/* ===== REVIEWS ===== */
.rating-overview {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-mc);
    border-radius: var(--radius-md-mc);
}

.average-rating {
    text-align: center;
}

.rating-score {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-mc);
    line-height: 1;
}

.rating-stars {
    color: var(--warning-mc);
    margin: 10px 0;
}

.rating-count {
    color: var(--gray-dark-mc);
    font-size: 14px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.star-label {
    width: 80px;
    font-size: 14px;
    color: var(--gray-dark-mc);
}

.bar-container {
    flex: 1;
    height: 8px;
    background: var(--border-mc);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--warning-mc);
}
.bar-fill-65 { width: 65%; }
.bar-fill-20 { width: 20%; }
.bar-fill-8 { width: 8%; }
.bar-fill-4 { width: 4%; }
.bar-fill-3 { width: 3%; }

.review-title {
	margin-bottom: 10px; 
	color: var(--dark);
	}

.bar-count {
    width: 30px;
    text-align: right;
    font-size: 14px;
    color: var(--gray-dark-mc);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    border: 1px solid var(--border-mc);
    border-radius: var(--radius-md-mc);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: var(--dark-mc);
}
#modalImage {
	width: 100%; 
	height: auto;
	}

.review-date {
    color: var(--gray-mc);
    font-size: 13px;
}

.review-rating {
    color: var(--warning-mc);
    margin-bottom: 10px;
}

.review-text {
    color: var(--gray-dark-mc);
    line-height: 1.6;
}
.centered-block {
	text-align: center; 
	padding: 40px 20px;
	}

.icon-large {
    font-size: 48px; 
    color: var(--gray); 
    margin-bottom: 20px;
   }
.quiz {
  	color: var(--dark); 
	margin-bottom: 10px;
	}
.list-quiz {
	color: var(--gray-dark); 
	margin-bottom: 20px;
}

/* ===== SIMILAR PRODUCTS ===== */
/* === SECTION PRODUITS SIMILAIRES === */
.similar-products-section {
    margin-bottom: 60px;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-mc);
}

.view-all-link {
    color: var(--primary-mc);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* === CONTENEUR SLIDER CSS POUR MOBILE === */
.products-slider-container {
    position: relative;
    overflow: hidden;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

/* === CARTES PLUS PETITES === */
.product-card {
    background: var(--white-mc);
    border-radius: var(--radius-md-mc);
    overflow: hidden;
    box-shadow: var(--shadow-sm-mc);
    transition: all 0.3s;
    position: relative;
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg-mc);
}

.product-image {
    position: relative;
    height: 150px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger-mc);
    color: var(--white-mc);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-mc);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.current-price-card {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-mc);
}

.original-price-card {
    font-size: 13px;
    color: var(--gray-mc);
    text-decoration: line-through;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    font-size: 11px;
    flex-shrink: 0;
}

.product-card-stars {
    color: var(--warning-mc);
    font-size: 12px;
}

.product-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border-light-mc, #f0f0f0);
}

.add-to-cart-btn {
    flex: 1;
    padding: 6px 8px;
    background: var(--primary-mc);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm-mc);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background: var(--primary-dark-mc);
}

.quick-view-btn {
    width: 32px;
    height: 32px;
    background: var(--light-mc);
    border: 1px solid var(--border-mc);
    border-radius: var(--radius-sm-mc);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.quick-view-btn:hover {
    border-color: var(--primary-mc);
    color: var(--primary-mc);
}

/* === MOBILE SLIDER SANS JS === */
@media (max-width: 768px) {
    .products-slider-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* Pour le scroll fluide iOS */
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        padding-bottom: 10px;
        margin: 0 -16px;
        padding: 0 16px 10px;
    }

    .products-slider-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    .products-grid {
        display: flex;
        gap: 12px;
        width: max-content;
        padding-right: 16px;
    }
    
    .product-card {
        flex: 0 0 160px; /* Largeur fixe des cartes sur mobile */
        scroll-snap-align: start;
        min-height: 260px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .section-header {
        padding: 0 16px;
    }
    
    /* Indicateurs de scroll visuels */
    .products-slider-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(90deg, transparent, var(--white-mc));
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    /* Montrer l'indicateur quand on peut scroller */
    .products-slider-container:not(:hover)::after {
        opacity: 1;
    }
}

/* === TABLETTE === */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 18px;
    }
    
    .product-card {
        min-height: 290px;
    }
    
    .product-image {
        height: 160px;
    }
}

/* === OPTIMISATION TOUCH === */
.product-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* === ANIMATION DE SCROLL MOBILE === */
@keyframes scroll-hint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Indicateur de scroll sur mobile */
@media (max-width: 768px) {
    .section-header::after {
        content: '→';
        color: var(--primary-mc);
        margin-left: 8px;
        animation: scroll-hint 2s ease-in-out infinite;
        display: inline-block;
    }
	.action-buttons-section{display: none;}
}

/* === ACCESSIBILITÉ === */
.add-to-cart-btn:focus,
.quick-view-btn:focus,
.product-card:focus-within {
    outline: 2px solid var(--primary-mc);
    outline-offset: 2px;
}

/* === MESSAGE POUR UTILISATEURS TOUCH === */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm-mc);
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .add-to-cart-btn:active,
    .quick-view-btn:active {
        transform: scale(0.95);
    }
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--white-mc);
    border-left: 4px solid var(--secondary-mc);
    padding: 15px 20px;
    border-radius: var(--radius-md-mc);
    box-shadow: var(--shadow-lg-mc);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    max-width: 350px;
    animation: slideInRight 0.3s ease-out;
}

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

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.error {
    border-left-color: var(--danger-mc);
}

.notification-icon {
    font-size: 20px;
}

.notification.success .notification-icon {
    color: var(--secondary-mc);
}

.notification.error .notification-icon {
    color: var(--danger-mc);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-mc);
}

.notification-message {
    font-size: 14px;
    color: var(--gray-dark-mc);
}

.close-notification {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--gray-mc);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-notification:hover {
    color: var(--dark-mc);
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: var(--white-mc);
    border-radius: var(--radius-lg-mc);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-mc);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-mc);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-mc);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--dark-mc);
}

.modal-body {
    padding: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .product-title {
        font-size: 20px;
    }
     
    .current-price {
        font-size: 28px;
    }

    .rating-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .action-buttons-section {
        grid-template-columns: 1fr;
    }

    .tab-headers {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .tab-header {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .product-detail-wrapper {
        padding: 0;
    }

    .image-section,
    .info-section {
        padding: 15px;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .main-image {
        height: 300px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* ===== UTILITY CLASSES ===== */
.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden {
    display: none !important;
}


/*===================== Bouton ajt pn bottom====================*/

 /* mobile-product-footer.css */
/* Footer mobile pour les boutons d'action produit */

.mobile-product-actions {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9997;
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-product-actions.show {
    transform: translateY(0);
}

.actions-container {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.add-to-cart-mobile {
    flex: 1;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

.add-to-cart-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.add-to-cart-mobile:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.add-to-cart-mobile i {
    font-size: 18px;
}

.add-to-cart-mobile::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.add-to-cart-mobile:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.wishlist-btn-mobile {
    width: 56px;
    height: 56px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn-mobile:hover {
    transform: translateY(-2px);
    border-color: #f43f5e;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
}

.wishlist-btn-mobile.active {
    background: #fecdd3;
    border-color: #f43f5e;
    animation: heartBeat 0.6s ease;
}

.wishlist-btn-mobile i {
    font-size: 22px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.wishlist-btn-mobile.active i {
    color: #f43f5e;
}

.wishlist-btn-mobile:hover i {
    color: #f43f5e;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.quantity-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #22c55e;
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
}

.cart-animation {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    animation: flyToCart 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes flyToCart {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(1.2) translate(0, -20px);
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: scale(0.5) translate(var(--end-x), var(--end-y));
        opacity: 0;
    }
}

.cart-notification {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10001;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cart-notification i {
    font-size: 20px;
}

@media (max-width: 1024px) {
    .mobile-product-actions, .action-buttons-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-product-actions {
        padding: 10px 14px;
    }
    
    .actions-container {
        gap: 10px;
    }
    
    .add-to-cart-mobile {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .wishlist-btn-mobile {
        width: 52px;
        height: 52px;
    }
    
    .wishlist-btn-mobile i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .mobile-product-actions {
        padding: 8px 12px;
    }
    
    .add-to-cart-mobile {
        padding: 12px 14px;
        font-size: 14px;
        gap: 6px;
    }
    
    .add-to-cart-mobile i {
        font-size: 16px;
    }
    
    .wishlist-btn-mobile {
        width: 48px;
        height: 48px;
    }
    
    .wishlist-btn-mobile i {
        font-size: 18px;
    }
}

[data-theme="dark"] .mobile-product-actions {
    background: #1f2937;
    border-top-color: #374151;
}

[data-theme="dark"] .wishlist-btn-mobile {
    background: #374151;
    border-color: #4b5563;
}

[data-theme="dark"] .wishlist-btn-mobile i {
    color: #9ca3af;
}

[data-theme="dark"] .cart-notification {
    background: #059669;
}

.cart-notification.error {
    background: #ef4444;
}

.cart-notification.error i {
    color: #fee2e2;
}