/* ==========================================
   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: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    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);
}

.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 SPÉCIFIQUE 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;
}

/* ====================================================
   MODAL EN SAVOIR + TARIFS et FAQ SPÉCIFIQUE KATAGAMI
   ==================================================== */

.modal-overlay-katagami-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-katagami-unified.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-katagami-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-katagami-unified::-webkit-scrollbar {
    display: none;
}

.modal-content-katagami-unified {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-close-katagami-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-katagami-unified:hover {
    opacity: 0.6;
}

/* ==========================================
   MENU DE NAVIGATION STICKY
   ========================================== */

.modal-nav-katagami {
    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 {
    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: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.active {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   CONTENU DE LA MODAL
   ========================================== */

.modal-body-katagami {
    padding: 40px;
}

/* ==========================================
   SECTION EN SAVOIR +
   ========================================== */

.section-savoir {
    margin-bottom: 60px;
}

.modal-title-katagami-unified {
    font-size: 2.3125rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-align: left;
}

.modal-title-katagami-unified.centered-bold {
    font-weight: 700;
    text-align: center;
}

.modal-title-katagami-unified strong {
    font-weight: 700;
}

.modal-title-katagami-unified.bold-only {
    font-weight: 700;
}

/* Bloc 3 icônes */
.icons-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.icon-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-item p {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bloc 3 photos verticales */

.modal-section-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.modal-benefit-card {
    display: flex;
    flex-direction: column;
}

.modal-benefit-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    margin-bottom: 16px;
}

.modal-benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-benefit-overlay {
    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 h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-benefit-overlay p {
    font-size: 30px;
    line-height: 1.2;
    margin: 0;
    font-weight: 500;
}

.modal-benefit-text {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

/* Photo horizontale */

.modal-section-horizontal {
    margin-bottom: 40px;
}

.modal-horizontal-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
}

.modal-horizontal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-horizontal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.modal-horizontal-overlay p {
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0 40px;
}

.modal-horizontal-overlay strong {
    font-weight: 700;
    color: #000;
}

/* Comment ça marche */

.modal-section-howto {
    margin-bottom: 40px;
}

.modal-section-title {
    font-size: 2.0625rem;
    font-weight: 400;
    margin-bottom: 32px;
    color: #1a1a1a;
    text-align: left;
}

.modal-section-title strong {
    font-weight: 700;
}

.modal-howto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.modal-howto-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
}

.modal-howto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-howto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: none;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal-howto-overlay h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-howto-overlay p {
    font-size: 30px;
    line-height: 1.2;
    margin: 0;
    font-weight: 500;
}

/* ==========================================
   SECTION TARIFS
   ========================================== */

.section-tarifs {
    margin-bottom: 60px;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.tarif-card {
    display: flex;
    flex-direction: column;
}

.tarif-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.tarif-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tarif-overlay {
    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 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #fff;
}

.tarif-usage {
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: #fff;
}

.tarif-info {
    background: transparent;
    border-radius: 0;
    padding: 16px 0;
    color: #000;
}

.tarif-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #000;
}

.tarif-dimension {
    font-size: 12px;
    margin: 0 0 4px 0;
    color: #999;
}

.tarif-prices {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #ddd;
}

.tarif-prices p {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #000;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
}

/* ==========================================
   SECTION FAQ
   ========================================== */

.section-faq {
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    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: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 {
    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:hover {
    opacity: 0.8;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: transparent;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    font-weight: 400;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ==========================================
   MODAL EN SAVOIR + KATAGAMI RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .tarifs-grid {
grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .modal-content-katagami-unified {
max-width: 95%;
    }
    
    .modal-body-katagami {
padding: 30px 20px;
    }
    
    .modal-nav-katagami {
padding: 16px 20px;
gap: 8px;
flex-wrap: wrap;
    }
    
    .modal-nav-btn {
font-size: 0.85rem;
padding: 8px 16px;
    }
    
    .modal-title-katagami-unified {
font-size: 1.5rem;
margin-bottom: 30px;
    }
    
    .icons-block {
grid-template-columns: repeat(3, 1fr);
gap: 16px;
    }
    
    .icon-item img {
width: 48px;
height: 48px;
    }
    
    .icon-item p {
font-size: 0.75rem;
    }
    
    .modal-section-benefits {
grid-template-columns: 1fr;
gap: 20px;
    }
    
    .modal-benefit-image {
height: 350px;
    }
    
    .modal-benefit-overlay p {
font-size: 20px;
    }
    
    .modal-horizontal-image {
height: 300px;
    }
    
    .modal-horizontal-overlay p {
font-size: 20px;
    }
    
    .modal-section-title {
font-size: 1.25rem;
    }
    
    .modal-howto-grid {
grid-template-columns: 1fr;
    }
    
    .modal-howto-card {
height: 350px;
    }
    
    .modal-howto-overlay p {
font-size: 18px;
    }
    
    .tarifs-grid {
grid-template-columns: 1fr;
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@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;
        padding-bottom: 8px;
    }
    
    .product-gallery__thumbnail {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}
    
    .product-info__title {
        font-size: 1.5rem;
    }
    
}

/* ==========================================
   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;
    }
}