    /* Controle de exibição da galeria */
    .gallery-mobile {
        display: flex !important;
    }
    .gallery-desktop {
        display: none !important;
    }
    
    @media (min-width: 768px) {
        .gallery-mobile {
            display: none !important;
        }
        .gallery-desktop {
            display: flex !important;
        }
    }


     .carousel-thumb.active { 
        border-color: #d4af37 !important; 
        opacity: 1 !important; 
        transform: scale(1.1);
        box-shadow: 0 0 12px rgba(212,175,55,0.5);
    }
    #carouselInner { 
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); 
    }
    .overflow-x-auto::-webkit-scrollbar {
        height: 4px;
    }
    .overflow-x-auto::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
        border-radius: 4px;
    }
    .overflow-x-auto::-webkit-scrollbar-thumb {
        background: rgba(212,175,55,0.5);
        border-radius: 4px;
    }
    @keyframes fadeSlide {
        from { opacity: 0.6; transform: scale(0.98); }
        to   { opacity: 1;   transform: scale(1); }
    }
    .carousel-item img:not([aria-hidden="true"]) { 
        animation: fadeSlide 0.3s ease-out; 
    }
    
    /* Garantir que o modal ocupe toda a tela no desktop */
    #galleryModal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        z-index: 9999;
    }
    
    /* Melhorar o container do carrossel no desktop */
    @media (min-width: 768px) {
        #carouselInner .carousel-item {
            height: 65vh !important;
            min-height: 450px;
        }
    }
    
    @media (min-width: 1024px) {
        #carouselInner .carousel-item {
            height: 70vh !important;
            min-height: 500px;
        }
    }
    
    /* Ajuste para imagens que não preenchem completamente */
    .carousel-item .relative.z-10 img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }