/* ==========================================
   GALERIE PHOTOS - GLASSMORPHISM
   ========================================== */

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: fit-content;
}

/* Grande photo en haut - 3:2 */
.product-gallery__main {
    width: 100%;
    aspect-ratio: 3 / 2;
    position: relative;
    background: var(--glass-bg-light);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);

}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dots - GLASSMORPHISM */
.product-gallery__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 8px 12px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.product-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.product-gallery__dot.active {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.3);
}

/* Wrapper pour masquer les miniatures qui dépassent */
.product-gallery__thumbnails-wrapper {
    position: relative;
    width: 100%;
}

.product-gallery__thumbnails-wrapper::before,
.product-gallery__thumbnails-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    pointer-events: none;
}

.product-gallery__thumbnails-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.product-gallery__thumbnails-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Miniatures HORIZONTALES SOUS LE CONTAINER */
.product-gallery__thumbnails {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

/* Masquer scrollbar complètement */
.product-gallery__thumbnails::-webkit-scrollbar {
    display: none;
}

.product-gallery__thumbnails {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-gallery__thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(200, 200, 200, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.product-gallery__thumbnail:hover {
    border-color: rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.product-gallery__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================================================
   INSTRUCTIONS PERSONNALISATION COMMUN (PRODUIT KATAGAMI + KIT KATAGAMI
   ====================================================================== */
.product-instructions {
    margin-bottom: 24px;
    text-align: left;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(200, 200, 200, 0.3);
    padding: 20px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.product-instructions__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1a1a1a;
    text-align: center;
}

.product-instructions__list {
    margin: 0;
    padding-left: 24px;
    list-style-type: disc;
}

.product-instructions__list li {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 8px;
    color: #666;
}

.product-instructions__list li:last-child {
    margin-bottom: 0;
}


/* ==========================================
   GALERIE VIDÉOS SPÉCIFIQUE KIT KATAGAMI
   ========================================== */
   
.product-videos {
    margin-bottom: 24px;
    text-align: center;
    width: 100%;
    background: transparent;
}

.product-videos__title {
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 16px 0;
    color: #1a1a1a;
}

.product-videos__title strong {
    font-weight: 700;
}

.product-videos__grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    padding: 8px 0;
}

.product-video-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(200, 200, 200, 0.3);
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-video-wrapper:hover {
    transform: scale(1.05);
    border-color: rgba(200, 200, 200, 0.5);
}

.product-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   MODAL VIDÉO
   ========================================== */

.modal-video-overlay {
    background: rgba(0, 0, 0, 0.9);
}

.modal-video-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.modal-video-content video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 12px;
}

.modal-video-content .modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
}

/* ========================================================
   MODAL EN SAVOIR + TARIFS et FAQ SPÉCIFIQUE KIT KATAGAMI
   ======================================================== */

.modal-overlay-kit-unified {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay-kit-unified.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-kit-unified {
    background: #ffffff;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(200, 200, 200, 0.3);
    padding: 0;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 
0 20px 60px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Masquer scrollbar */
.modal-content-kit-unified::-webkit-scrollbar {
    display: none;
}

.modal-content-kit-unified {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-close-kit-unified {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #1a1a1a;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: opacity 0.2s ease;
    z-index: 10001;
}

.modal-close-kit-unified:hover {
    opacity: 0.6;
}

/* ==========================================
   MENU DE NAVIGATION STICKY
   ========================================== */

.modal-nav-kit {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.modal-nav-btn-kit {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(200, 200, 200, 0.3);
    border-radius: 20px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a1a;
    box-shadow: 
0 4px 16px rgba(0, 0, 0, 0.06),
inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-nav-btn-kit:hover {
    transform: translateY(-2px);
    box-shadow: 
0 8px 24px rgba(0, 0, 0, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(200, 200, 200, 0.4);
}

.modal-nav-btn-kit.active {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   CONTENU DE LA MODAL
   ========================================== */

.modal-body-kit {
    padding: 40px;
}

/* ==========================================
   SECTION EN SAVOIR +
   ========================================== */

.section-savoir-kit {
    margin-bottom: 60px;
}

.modal-title-kit-unified {
    font-size: 2.3125rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-align: left;
}

.modal-title-kit-unified.centered-bold {
    font-weight: 700;
    text-align: center;
}

.modal-title-kit-unified strong {
    font-weight: 700;
}

.modal-title-kit-unified.bold-only {
    font-weight: 700;
}

/* Bloc 3 icônes */
.icons-block-kit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.icon-item-kit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.icon-item-kit img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-item-kit p {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bloc photo carrée + texte */
.modal-section-square {
    display: grid;
    grid-template-columns: 40% 60%; /* Avant : 1fr 1fr (50/50) */
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.modal-square-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.modal-square-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-square-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-square-text h3 {
    font-size: 3rem; /* Avant : 2rem → x1.5 = 3rem */
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    color: #1a1a1a;
    display: flex;
    flex-direction: column; /* Pour mettre sur 2 lignes */
}

.modal-square-text h3 .first-line {
    display: block;
}

/* Design ultra léger sur la deuxième ligne */
.modal-square-text h3 .gray-text {
    color: #666;
}

.modal-square-text h3 .gray-text {
    color: #666;
}

.modal-square-text p {
    font-size: 30px; 
    line-height: 1.5;
    margin: 0;
    color: #333;
}

/* Bloc 3 photos verticales */

.modal-section-benefits-kit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.modal-benefit-card-kit {
    display: flex;
    flex-direction: column;
}

.modal-benefit-image-kit {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    margin-bottom: 16px;
}

.modal-benefit-image-kit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-benefit-overlay-kit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal-benefit-overlay-kit h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-benefit-overlay-kit p {
    font-size: 30px;
    line-height: 1.2;
    margin: 0;
    font-weight: 500;
}

.modal-benefit-text-kit {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

/* Photo horizontale */

.modal-section-horizontal-kit {
    margin-bottom: 40px;
}

.modal-horizontal-image-kit {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
}

.modal-horizontal-image-kit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-horizontal-overlay-kit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.modal-horizontal-overlay-kit p {
    font-size: 64px; 
    font-weight: 400;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0 40px;
}

.modal-horizontal-overlay-kit strong {
    font-weight: 700;
    color: #000;
}

/* Bloc "Ajoute des..." avec texte sur 2 lignes */

.modal-section-add-kit {
    margin-bottom: 40px;
}

.modal-add-grid-kit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.modal-add-card-kit {
    display: flex;
    flex-direction: column;
}

.modal-add-image-kit {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    margin-bottom: 16px;
}

.modal-add-image-kit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-add-overlay-kit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal-add-overlay-kit p {
    margin: 0;
    line-height: 1.2;
}

.modal-add-overlay-kit .add-small {
    font-size: 24px; 
    font-weight: 700; 
}

.modal-add-overlay-kit .add-large {
    font-size: 36px;
    font-weight: 700;
    margin-top: 4px;
}

.modal-add-text-kit {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

/* Vidéo */

.modal-section-video-kit {
    margin-bottom: 40px;
    max-width: 1000px; 
    margin-left: auto;
    margin-right: auto;
}

.modal-video-kit {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Section title */
.modal-section-title-kit {
    font-size: 2.0625rem;
    font-weight: 400;
    margin-bottom: 32px;
    color: #1a1a1a;
    text-align: left;
}

.modal-section-title-kit strong {
    font-weight: 700;
}

/* ==========================================
   SECTION TARIFS
   ========================================== */

.section-tarifs-kit {
    margin-bottom: 60px;
}

.tarifs-grid-kit {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.tarif-card-kit {
    display: flex;
    flex-direction: column;
}

.tarif-image-kit {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.tarif-image-kit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tarif-overlay-kit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.tarif-size-kit {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #fff;
}

.tarif-usage-kit {
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: #fff;
}

.tarif-info-kit {
    background: transparent;
    border-radius: 0;
    padding: 16px 0;
    color: #000;
}

.tarif-name-kit {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #000;
}

.tarif-description-kit {
    font-size: 12px;
    margin: 0 0 8px 0;
    color: #999;
    line-height: 1.4;
}

.tarif-prices-kit {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #ddd;
}

.tarif-prices-kit p {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #000;
}

/* ==========================================
   SECTION FAQ
   ========================================== */

.section-faq-kit {
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-list-kit {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item-kit {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(200, 200, 200, 0.3);
    overflow: hidden;
    box-shadow: 
0 8px 32px rgba(0, 0, 0, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.faq-item-kit:hover {
    transform: translateY(-2px);
    box-shadow: 
0 12px 40px rgba(0, 0, 0, 0.12),
inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(200, 200, 200, 0.4);
}

.faq-question-kit {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    transition: opacity 0.2s ease;
}

.faq-question-kit:hover {
    opacity: 0.8;
}

.faq-answer-kit {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: transparent;
}

.faq-answer-kit p {
    padding: 0 20px 20px 20px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    font-weight: 400;
}

.faq-item-kit.active .faq-answer-kit {
    max-height: 300px;
}




/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .tarifs-grid-kit {
grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .modal-content-kit-unified {
max-width: 95%;
    }
    
    .modal-body-kit {
padding: 30px 20px;
    }
    
    .modal-nav-kit {
padding: 16px 20px;
gap: 8px;
flex-wrap: wrap;
    }
    
    .modal-nav-btn-kit {
font-size: 0.85rem;
padding: 8px 16px;
    }
    
    .modal-title-kit-unified {
font-size: 1.5rem;
margin-bottom: 30px;
    }
    
    .icons-block-kit {
grid-template-columns: repeat(3, 1fr);
gap: 16px;
    }
    
    .icon-item-kit img {
width: 48px;
height: 48px;
    }
    
    .icon-item-kit p {
font-size: 0.75rem;
    }
    
    .modal-section-square {
grid-template-columns: 1fr;
gap: 24px;
    }
    
    .modal-square-text h3 {
font-size: 2rem;
    }
    
    .modal-section-benefits-kit {
grid-template-columns: 1fr;
gap: 20px;
    }
    
    .modal-benefit-image-kit {
height: 350px;
    }
    
    .modal-benefit-overlay-kit p {
font-size: 20px;
    }
    
    .modal-horizontal-image-kit {
height: 300px;
    }
    
    .modal-horizontal-overlay-kit p {
font-size: 32px;
    }
    
    .modal-section-title-kit {
font-size: 1.25rem;
    }
    
    .modal-add-grid-kit {
grid-template-columns: 1fr;
    }
    
    .modal-add-image-kit {
height: 350px;
    }
    
    .modal-add-overlay-kit .add-large {
font-size: 24px;
    }
    
    .tarifs-grid-kit {
grid-template-columns: 1fr;
    }

    @media (max-width: 768px) {
    .modal-section-square {
grid-template-columns: 1fr;
gap: 24px;
    }
    
    .modal-square-text h3 {
font-size: 2rem;
    }
    
    .modal-square-text p {
font-size: 18px;
    }
    
    .modal-horizontal-overlay-kit p {
font-size: 32px;
    }
    
    .modal-add-overlay-kit .add-small {
font-size: 18px;
    }
    }
}

/* ==========================================
   RESPONSIVE SPÉCIFIQUE KIT KATAGAMI
   ========================================== */

@media (max-width: 768px) {
    .product-page {
        padding: 80px 0 50px;
    }
    
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    /* Désactiver sticky sur mobile */
    .product-gallery {
        position: static;
    }
    
    .product-gallery__thumbnails {
        gap: 8px;
        overflow-x: auto;
    }
    
    .product-gallery__thumbnail {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .product-info {
        align-items: stretch;
        text-align: left;
    }
    
    .product-info__title {
        font-size: 1.5rem;
    }
    
    .product-video-wrapper {
        width: 70px;
        height: 70px;
    }

    .product-video {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

}

/* ==========================================
   FIX MOBILE - Carousel miniatures
   À ajouter à la fin de kit-katagami.css
   ========================================== */

@media (max-width: 768px) {
    .product-gallery {
        overflow: hidden;
    }

     .product-gallery__main {
        box-shadow: none; /* ← Enlève complètement l'ombre */
    }
    
    .product-gallery__thumbnails-wrapper {
        overflow: hidden;
        padding: 0 16px;
        
    }
    
    .product-gallery__thumbnails-wrapper::before,
    .product-gallery__thumbnails-wrapper::after {
        display: none;
    }
    
    .product-gallery__thumbnails {
        gap: 8px;
        padding: 8px 0;
        justify-content: flex-start;
    }
    
    .product-gallery__thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .product-info {
        align-items: center !important;
        text-align: center !important;
    }
}