/* ============================================
   MODAL PRODUIT DÉTAILLÉ
   ============================================ */

.product-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    background: rgba(0, 0, 0, 0.85) !important;
    z-index: 9999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    overflow-y: auto !important;
    margin: 0 !important;
    inset: 0 !important;
}

.product-modal-overlay[style*="display: flex"] {
    display: flex !important;
}

.product-modal-overlay.active {
    display: flex !important;
    animation: fadeIn 0.3s ease;
    overscroll-behavior: contain;
    pointer-events: auto !important;
}

/* Scroll géré uniquement par JavaScript inline styles */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.product-modal {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideUp 0.3s ease;
    margin: auto;
    z-index: 10000;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.product-modal::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop uniquement - Animation différente */
@media (min-width: 769px) {
    @keyframes modalSlideUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    z-index: 10002;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.product-modal-close:hover {
    background: white;
    color: #B8461F;
    transform: scale(1.1);
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    max-width: 100%;
    height: 100%;
}

/* Colonne Gauche - Images */
.product-modal-left {
    position: relative;
}

.product-carousel {
    position: relative;
    margin-bottom: 10px;
}

.product-main-image {
    width: 100%;
    height: 300px;
    background: #f8f8f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    z-index: 5;
}

.carousel-nav-btn:hover {
    background: linear-gradient(135deg, #B8461F 0%, #8B2F0F 100%);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
    left: 16px;
}

.carousel-nav-btn.next {
    right: 16px;
}

/* Mobile - Repositionner les boutons de navigation */
@media (max-width: 768px) {
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-nav-btn.prev {
        left: 8px;
    }
    
    .carousel-nav-btn.next {
        right: 8px;
    }
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 2px 0;
}

.thumbnail {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #f8f8f8;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.product-thumbnail:hover {
    border-color: #B8461F;
}

.product-thumbnail.active {
    border-color: #B8461F;
    box-shadow: 0 0 0 2px rgba(255, 245, 242, 0.95);
}

/* Colonne Droite - Infos */
.product-modal-right {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow: hidden;
}

.product-modal-header {
    margin-bottom: 10px;
    max-width: 100%;
    overflow: hidden;
}

.product-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.product-modal-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-stars {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: 1px;
}

.modal-reviews {
    font-size: 13px;
    color: #666;
}

.modal-reviews-link {
    color: #B8461F;
    text-decoration: none;
    font-weight: 500;
}

.modal-reviews-link:hover {
    text-decoration: underline;
}

.product-modal-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-price-current {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #B8461F 0%, #8B2F0F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-price-old {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.modal-discount-badge {
    padding: 6px 10px;
    background: #10b981;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

/* Sélecteurs */
.product-selector {
    margin-bottom: 12px;
}

.selector-label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: block;
}

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-option {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-option:hover {
    background: rgba(255, 245, 242, 0.95);
    border-color: #B8461F;
    color: #B8461F;
}

.size-option.active {
    background: linear-gradient(135deg, #B8461F 0%, #8B2F0F 100%);
    border-color: #B8461F;
    color: white;
}

.size-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 100%;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.color-options::-webkit-scrollbar {
    width: 4px;
}

.color-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.color-options::-webkit-scrollbar-thumb {
    background: rgba(184, 70, 31, 0.4);
    border-radius: 4px;
}

.color-options::-webkit-scrollbar-thumb:hover {
    background: #B8461F;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 6px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s;
    max-width: 100%;
    box-sizing: border-box;
}

.color-option:hover {
    border-color: #B8461F;
}

.color-option.selected {
    border-color: #B8461F;
    background: #fff5f2;
}

.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.color-option img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.color-option:hover .color-circle {
    border-color: #B8461F;
}

.color-option.active .color-circle {
    border-color: #B8461F;
    box-shadow: 0 0 0 2px rgba(255, 245, 242, 0.95);
}

.color-name {
    font-size: 10px;
    color: #666;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.color-option span {
    font-size: 10px;
    color: #666;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-input {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.quantity-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #e0e0e0;
    color: #B8461F;
}

.quantity-value {
    width: 50px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.stock-info {
    font-size: 13px;
    color: #10b981;
    font-weight: 500;
}

/* Bouton Ajouter au Panier */
.add-to-cart-modal {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #B8461F 0%, #8B2F0F 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(184, 70, 31, 0.35);
}

.add-to-cart-modal:hover {
    background: linear-gradient(135deg, #8B2F0F 0%, #B8461F 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(184, 70, 31, 0.35);
}

.add-to-cart-modal svg {
    width: 20px;
    height: 20px;
}

/* Description et Caractéristiques - MASQUÉ */
.product-tabs {
    display: none !important;
}

/* Desktop uniquement - Pas de scrollbar principale */
@media (min-width: 769px) {
    .product-modal-content::-webkit-scrollbar {
        display: none;
    }

    .product-modal-right {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .product-modal-right::-webkit-scrollbar {
        width: 6px;
    }

    .product-modal-right::-webkit-scrollbar-track {
        background: transparent;
    }

    .product-modal-right::-webkit-scrollbar-thumb {
        background: rgba(184, 70, 31, 0.3);
        border-radius: 10px;
    }

    .product-modal-right::-webkit-scrollbar-thumb:hover {
        background: #B8461F;
    }
    
    /* Forcer les styles desktop */
    .product-modal-overlay {
        align-items: center !important;
        padding: 0 !important;
    }
    
    .product-modal {
        border-radius: 20px !important;
        max-width: 900px !important;
        width: 90% !important;
        max-height: 90vh !important;
        margin: auto !important;
    }
    
    .product-modal-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        padding: 20px !important;
        overflow: hidden !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .product-modal-overlay {
        /* L'overlay couvre tout l'écran */
        padding: 0 !important;
        margin: 0 !important;
        align-items: flex-end;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.7) !important;
        z-index: 99999 !important;
    }
    
    .product-modal {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        margin: 0;
        padding: 0;
        transform: translateY(0);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        overscroll-behavior: contain;
        background: white;
    }
    
    .product-modal-close {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        font-size: 18px;
        z-index: 10002;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .product-modal-content {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 6px;
        padding-top: 35px;
        padding-bottom: 10px;
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        box-sizing: border-box;
        flex: 1;
        overscroll-behavior: contain;
        min-height: 0;
    }
    
    /* Scrollbar visible sur mobile */
    .product-modal-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .product-modal-content::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 3px;
    }
    
    .product-modal-content::-webkit-scrollbar-thumb {
        background: rgba(184, 70, 31, 0.4);
        border-radius: 3px;
    }
    
    .product-main-image {
        height: 180px;
        margin-bottom: 8px;
        position: relative;
    }
    
    .product-main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px 40px;
    }
    
    /* Boutons de navigation plus visibles sur mobile */
    .product-main-image .carousel-nav-btn {
        width: 34px;
        height: 34px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0,0,0,0.25);
        border: 1px solid rgba(184, 70, 31, 0.2);
    }
    
    .product-main-image .carousel-nav-btn.prev {
        left: 6px;
    }
    
    .product-main-image .carousel-nav-btn.next {
        right: 6px;
    }
    
    .product-main-image .carousel-nav-btn svg {
        width: 20px;
        height: 20px;
        stroke-width: 2.5;
    }
    
    .product-main-image .carousel-nav-btn:active {
        background: rgba(184, 70, 31, 0.1);
        transform: translateY(-50%) scale(0.95);
    }
    
    .product-modal-title {
        font-size: 13px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        padding-right: 40px;
        margin-bottom: 6px;
        font-weight: 700;
        color: #1a1a1a;
        display: block;
        max-height: none;
    }
    
    .product-modal-header {
        margin-bottom: 5px;
    }
    
    .product-modal-price {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    
    .modal-price-current {
        font-size: 18px;
    }
    
    .modal-price-old {
        font-size: 13px;
    }
    
    .modal-discount-badge {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .product-selector {
        margin-bottom: 6px;
    }
    
    .product-modal-meta {
        display: none !important;
    }
    
    .selector-label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .size-option {
        width: 38px;
        height: 38px;
        font-size: 11px;
    }
    
    .color-circle {
        width: 38px;
        height: 38px;
    }
    
    .color-option img,
    .color-swatch {
        width: 40px !important;
        height: 40px !important;
    }
    
    .product-thumbnails {
        gap: 6px;
        margin-bottom: 8px;
        padding: 3px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .thumbnail {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .thumbnail img {
        padding: 2px;
    }
    
    .product-thumbnails {
        margin-bottom: 8px;
    }
    
    .product-thumbnail {
        width: 55px;
        height: 55px;
    }
    
    .quantity-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    
    .quantity-value {
        width: 42px;
        font-size: 13px;
    }
    
    .quantity-selector {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .stock-info {
        font-size: 12px !important;
        font-weight: 600 !important;
        display: inline-block !important;
        white-space: nowrap !important;
    }
    
    .add-to-cart-modal {
        padding: 16px 20px;
        font-size: 15px;
        width: 100%;
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        margin-top: auto;
        background: linear-gradient(135deg, #B8461F 0%, #8B2F0F 100%);
        color: white;
        border: none;
        border-radius: 0;
        z-index: 10;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        gap: 8px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 60px;
        cursor: pointer;
        flex-shrink: 0;
    }
    
    .add-to-cart-modal svg {
        width: 18px;
        height: 18px;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 20px;
    }

    /* Amélioration tactile mobile */
    .size-option,
    .color-option,
    .quantity-btn,
    .carousel-nav-btn,
    .product-thumbnail {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Zone de toucher plus grande */
    .size-option,
    .quantity-btn {
        min-width: 44px;
        min-height: 44px;
    }

    /* Scroll horizontal fluide pour thumbnails */
    .product-thumbnails {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .product-thumbnail {
        scroll-snap-align: start;
    }

    /* Tabs scrollables */
    .tab-buttons {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tab-buttons::-webkit-scrollbar {
        display: none;
    }

    /* Animation d'ouverture modale depuis le bas */
    @keyframes modalSlideUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Gestion du scroll dans la modale */
    .product-modal {
        overscroll-behavior: contain;
    }

    /* Amélioration des zones cliquables */
    .tab-btn {
        padding: 12px 4px;
        min-width: 80px;
    }

    /* Espacement pour éviter le chevauchement avec les boutons système */
    .product-modal-content {
        padding-bottom: 40px;
    }
}

/* Très petits écrans (iPhone SE, etc.) */
@media (max-width: 480px) {
    .product-modal-overlay {
        /* L'overlay couvre toujours tout l'écran */
        padding: 0;
    }
    
    .product-modal {
        max-height: 94vh;
    }
    
    .product-modal-content {
        padding: 10px;
        gap: 8px;
        padding-bottom: 85px;
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        flex: 1;
        height: 100%;
        overscroll-behavior: contain;
    }

    .product-main-image {
        height: 200px;
    }
    
    .product-main-image img {
        padding: 6px 40px;
    }
    
    .product-main-image .carousel-nav-btn {
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    
    .product-main-image .carousel-nav-btn.prev {
        left: 5px;
    }
    
    .product-main-image .carousel-nav-btn.next {
        right: 5px;
    }
    
    .product-main-image .carousel-nav-btn svg {
        width: 18px;
        height: 18px;
    }

    .product-modal-title {
        font-size: 14px;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding-right: 40px;
    }

    .modal-price-current {
        font-size: 20px;
    }
    
    .modal-price-old {
        font-size: 16px;
    }
    
    .modal-discount-badge {
        padding: 5px 8px;
        font-size: 11px;
    }

    .size-options {
        gap: 6px;
    }

    .size-option {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .color-circle {
        width: 36px;
        height: 36px;
    }
    
    .product-thumbnails {
        gap: 6px;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .thumbnail img {
        padding: 3px;
    }
    
    .product-thumbnail {
        width: 48px;
        height: 48px;
    }
    
    .quantity-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    
    .quantity-value {
        width: 45px;
        font-size: 14px;
    }
    
    .add-to-cart-modal {
        padding: 14px 16px;
        font-size: 14px;
        bottom: 18px;
        min-height: 48px;
    }
    
    .product-selector {
        margin-bottom: 8px;
    }
    
    .selector-label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .product-modal-header {
        margin-bottom: 5px;
    }
    
    .product-modal-price {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
}

/* Mode paysage mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .product-modal-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 16px;
    }

    .product-main-image {
        height: 250px;
    }

    .product-modal-title {
        font-size: 20px;
    }

    .modal-price-current {
        font-size: 28px;
    }
}

/* Fix spécifique iOS Safari - viewport dynamique */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .product-modal-overlay {
            top: 0 !important;
            height: 100% !important;
        }
        
        .product-modal {
            height: 90vh !important;
            max-height: 90vh !important;
        }
        
        .product-modal-content {
            padding-bottom: 75px !important;
        }
        
        .add-to-cart-modal {
            bottom: max(15px, env(safe-area-inset-bottom, 15px)) !important;
        }
    }
    
    @media (max-width: 480px) {
        .product-modal {
            max-height: 90vh !important;
        }
        
        .product-modal-content {
            padding-bottom: 70px !important;
        }
    }
}



/* Optimisations supplémentaires pour mobile */
@media (max-width: 768px) {
    .product-modal-overlay {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    
    .product-modal {
        height: 98vh !important;
        max-height: 98vh !important;
        width: 100% !important;
        border-radius: 12px 12px 0 0 !important;
        margin: 0 !important;
    }
    
    .product-modal-content {
        padding: 10px !important;
        padding-top: 40px !important;
        padding-bottom: 75px !important;
        gap: 8px !important;
        overflow-y: auto !important;
    }
    
    .product-main-image {
        height: 180px !important;
        margin-bottom: 8px !important;
    }
    
    .product-thumbnails {
        display: flex !important;
        gap: 8px;
        margin-top: 8px;
        margin-bottom: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .thumbnail {
        width: 50px !important;
        height: 50px !important;
    }
    
    .product-modal-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        display: block !important;
        max-height: none !important;
        -webkit-line-clamp: unset !important;
    }
    
    .product-modal-meta {
        display: none !important;
    }
    
    .product-modal-price {
        margin-bottom: 6px !important;
        padding-bottom: 6px !important;
    }
    
    .modal-price-current {
        font-size: 24px !important;
    }
    
    .modal-price-old {
        font-size: 18px !important;
    }
    
    .product-selector {
        margin-bottom: 6px !important;
    }
    
    .selector-label {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }
    
    .color-options {
        gap: 8px !important;
    }
    
    .color-option {
        padding: 6px !important;
        max-width: 130px !important;
    }
    
    .color-option img,
    .color-swatch {
        width: 45px !important;
        height: 45px !important;
    }
    
    .color-option span {
        display: none !important;
    }
    
    .size-options {
        gap: 8px !important;
    }
    
    .size-option {
        min-width: 42px !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    
    .quantity-selector {
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
    }
    
    .quantity-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 18px !important;
    }
    
    .quantity-value {
        width: 50px !important;
        font-size: 15px !important;
    }
    
    .stock-info {
        font-size: 13px !important;
        font-weight: 600 !important;
        display: inline-block !important;
        white-space: nowrap !important;
    }
    
    .product-tabs {
        display: none !important;
    }
    
    /* Bouton ajouter au panier bien visible */
    .add-to-cart-modal {
        position: fixed !important;
        bottom: 12px !important;
        left: 8px !important;
        right: 8px !important;
        width: calc(100% - 16px) !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        z-index: 10001 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
        margin: 0 !important;
        background: linear-gradient(135deg, #B8461F 0%, #8B2F0F 100%) !important;
        color: white !important;
        border: none !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }
}
