/* Menu de produtos */
.custom-menu-produtos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-menu-produtos .menu-parent {
    margin-bottom: 8px;
}

.custom-menu-produtos .menu-header-btn {
    display: flex;
    gap: 10px;
    width: 100%;
    background: none !important;
    border: none;
    text-align: left;
    font-weight: 700;
    color: #888;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    outline: none;
    transition: color 0.2s;
}

.custom-menu-produtos .menu-header-btn.active,
.custom-menu-produtos .menu-header-btn:focus,
.custom-menu-produtos .menu-header-btn:hover {
    color: var(--e-global-color-primary);
    background: none !important;
}

.custom-menu-produtos .menu-header-btn.active svg path,
.custom-menu-produtos .menu-header-btn:focus svg path {
    fill: var(--e-global-color-primary);
}

.custom-menu-produtos .menu-header-btn .arrow {
    display: inline-block;
}

.custom-menu-produtos .menu-header-btn.active .arrow {
    transform: rotate(90deg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-menu-produtos .menu-dropdown {
    display: none;
    margin-top: 2px;
    margin-bottom: 8px;
    list-style: none;
    padding-left: 20px;
}

.post-content p:has(strong) img {
    margin: 5px;
}

.post-content p:has(strong) strong {
    width: 20px;
}


.custom-menu-produtos .menu-parent.open .menu-dropdown {
    display: block;
}

.custom-menu-produtos .menu-dropdown li {
    margin: 0 0 4px;
}

.custom-menu-produtos .menu-dropdown a {
    color: #888;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    padding: 2px 0;
    transition: color 0.2s;
}

.custom-menu-produtos .menu-dropdown a:hover {
    color: #005080;
}

/*product content*/
.post-content h2 {
    font-size: 2rem;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.75rem;
    line-height: 1.35;
}

.post-content h4 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.post-content h5 {
    font-size: 1.25rem;
    line-height: 1.45;
}

.post-content h6 {
    font-size: 1.125rem;
    line-height: 1.5;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--e-global-color-primary) !important;
    margin-block: 30px;
    font-weight: 700;
    text-align: center;
}

.post-content h2 strong,
.post-content h2 b,
.post-content h3 strong,
.post-content h3 b,
.post-content h4 strong,
.post-content h4 b,
.post-content h5 strong,
.post-content h5 b,
.post-content h6 strong,
.post-content h6 b {
    font-weight: 700;
}

.post-content h2 span,
.post-content h3 span,
.post-content h4 span,
.post-content h5 span,
.post-content h6 span {
    color: var(--e-global-color-primary) !important;
}

.post-content h2 b,
.post-content h3 b,
.post-content h4 b,
.post-content h5 b,
.post-content h6 b {
    color: var(--e-global-color-primary) !important;
}

.post-content h2 strong,
.post-content h3 strong,
.post-content h4 strong,
.post-content h5 strong,
.post-content h6 strong {
    color: var(--e-global-color-primary) !important;
}

.post-content a {
    color: var(--e-global-color-secondary);
    font-weight: 600;
    transition: 0.25s ease-in-out;
}

.post-content a u {
    text-decoration: none;
}

.post-content a:hover {
    opacity: 0.8;
}

.post-content p:has(iframe) {
    height: 450px;
}

.post-content img {
    border-radius: 16px !important;
    margin-block: 25px;
}

@media (max-width: 768px) {
    .post-content p:has(iframe) {
        height: 250px;
    }
}

.post-content p:has(iframe) iframe {
    border-radius: 16px !important;
    height: 100%;
    width: 100%;
    margin-block: 15px;
}


.post-content .elementor-widget-theme-post-content img,
.post-content iframe {
    border-radius: 16px !important;
    height: 100%;
    width: 100%;
}

.post-content .wp-block-quote {
    background-color: var(--e-global-color-primary);
    margin: 15px;
    padding: 15px;
}

.post-content blockquote {
    border-left: 3px solid;
    background-color: var(--e-global-color-primary);
    border-color: #fff;
    padding-left: 10px;
    padding-block: 15px;
    margin-block: 30px;
    border-radius: 16px;
}

.post-content blockquote p {
    margin: 0 !important;
}


/*galeria de fotos */
.galeria-produto-interno-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.galeria-produto-interno-slider .gallery-title {
    margin-bottom: 12px;
    text-align: left;
}

.galeria-produto-interno-slider .gallery-title p {
    text-align: center;
    font-size: 28px !important;
    font-weight: 700 !important;
    font-family: 'Archivo', sans-serif;
    color: var(--e-global-color-primary) !important;
    margin-bottom: 30px !important;
}

.galeria-produto-interno-slider .glider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.galeria-produto-interno-slider .glider {
    display: flex;
    align-items: center;
    width: 100%;
}

.galeria-produto-interno-slider .glider-slide {
    min-width: 0;
    padding: 0 4px;
    position: relative;
}

.galeria-produto-interno-slider img {
    display: block;
    width: 100%;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: filter 0.2s;
}

@media (max-width: 768px) {
    .galeria-produto-interno-slider img {
        height: 250px;
    }
}

.post-content p:has(iframe) {
    margin-bottom: 45px;

}

.post-content p:has(iframe) iframe {
    margin-top: 0px !important;

}

.galeria-produto-interno-slider .galeria-img-link {
    position: relative;
    display: block;
    outline: none;
}

.galeria-produto-interno-slider .overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.2s;
    z-index: 2;
    text-align: center;
}

.galeria-produto-interno-slider .galeria-img-link:hover .overlay,
.galeria-produto-interno-slider .galeria-img-link:focus .overlay {
    opacity: 1;
}

.galeria-produto-interno-slider .glider-dots {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 0px !important;
}

.galeria-produto-interno-slider .glider-dot {
    display: inline-block;
    width: 12px !important;
    height: 12px !important;
    padding: 0;
    border-radius: 50%;
    background: #ccc;
}

.galeria-produto-interno-slider .glider-dot.active {
    background: var(--e-global-color-accent);
}

.glider-prev-mobile,
.glider-next-mobile,
.glider-prev-mobile-video,
.glider-next-mobile-video {
    display: none;
}

@media (max-width: 640px) {
    .galeria-produto-interno-slider .glider-dots {
        display: none !important;
    }

    .glider-prev-mobile,
    .glider-next-mobile,
    .glider-prev-mobile-video,
    .glider-next-mobile-video {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        color: var(--e-global-color-primary);
        font-size: 1.2em;
        padding-inline: 15px !important;
        cursor: pointer;
        z-index: 3;
        margin: 0;
        transition: none;
        opacity: 0.85;
    }


    .glider-prev-mobile,
    .glider-prev-mobile-video {
        left: 4px;
    }

    .glider-next-mobile,
    .glider-next-mobile-video {
        right: 4px;
    }

    .glider-prev-mobile:hover,
    .glider-prev-mobile-video:hover,
    .glider-prev-mobile:focus,
    .glider-prev-mobile-video:focus,
    .glider-prev-mobile:active,
    .glider-prev-mobile-video:active,
    .glider-next-mobile:hover,
    .glider-next-mobile-video:hover,
    .glider-next-mobile:focus,
    .glider-next-mobile-video:focus,
    .glider-next-mobile:active,
    .glider-next-mobile-video:active {
        background: #fff !important;
        color: var(--e-global-color-primary) !important;
        border: 1px solid #eee !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        outline: none !important;
        opacity: 0.85 !important;
        transition: none !important;
    }
}

@media (min-width: 1024px) {
    .galeria-produto-interno-slider .glider-slide {
        padding: 0 4px;
    }
}


@media(max-width: 768px) {

    .glider-prev-mobile-video,
    .glider-next-mobile-video {
        top: 60% !important;
    }
}


.fancybox__container {
    z-index: 999999999 !important;
}

.carousel__button {
    border: none !important;
    background: none !important;
}

/*videos*/
.slider-videos-produto-interno {
    position: relative;
}

.slider-videos-produto-interno .gallery-title {
    margin-bottom: 32px !important;
    margin-top: 32px !important;
}

.slider-videos-produto-interno .gallery-title p {
    text-align: center;
    font-size: 28px !important;
    font-weight: 700 !important;
    font-family: 'Archivo', sans-serif;
    color: var(--e-global-color-primary) !important;
    margin-bottom: 30px !important;
}

.slider-videos-produto-interno .glider {
    display: flex;
    align-items: stretch;
}

.slider-videos-produto-interno .glider-slide {
    min-width: 0;
    padding: 0 8px;
}

.slider-videos-produto-interno .video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    min-height: 250px;
}

.slider-videos-produto-interno iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.slider-videos-produto-interno .glider-dots {
    text-align: center;
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 0px !important;
}

@media (max-width: 768px) {
    .slider-videos-produto-interno .glider-dots {
        display: none !important;
    }
}

.slider-videos-produto-interno .glider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: #ccc;
}

.slider-videos-produto-interno .glider-dot.active {
    background: var(--e-global-color-primary, #005080);
}

.slider-videos-produto-interno .video-single-center {
    margin: 0 auto;
    max-width: 80%;
}

@media (max-width: 600px) {
    .slider-videos-produto-interno .video-single-center {
        max-width: 100%;
    }
}

@media (min-width: 900px) {
    .slider-videos-produto-interno .glider-slide {
        padding: 0 16px;
    }
}

/*dimensoes*/
.dimensoes-produto-container .dimensoes-title p {
    text-align: center;
    font-size: 28px !important;
    font-weight: 700 !important;
    font-family: 'Archivo', sans-serif;
    color: var(--e-global-color-primary) !important;
    margin-bottom: 30px !important;
}

.tabs-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 60px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none !important;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--e-global-color-primary);
    transition: all 0.2s ease;
    position: relative;
    text-transform: uppercase;
}

.tab-button:hover {
    background: rgba(25, 79, 146, 0.05);
    color: var(--e-global-color-primary);
}

.tab-button.active {
    background: var(--e-global-color-primary);
    color: #fff;
}

.tabs-content {
    padding: 2rem;
    min-height: 100px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-content {
    color: var(--e-global-color-primary);
    font-size: 1rem;
    line-height: 1.6;
}

.tab-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .tabs-header {
        flex-direction: column;
    }

    .tab-button {
        text-align: left;
        border-bottom: 1px solid #e5e7eb;
    }

    .tabs-content {
        padding: 1.5rem;
    }
}

.custom-menu-produtos .menu-link.active {
    color: #0A4766 !important;
}