/* ==========================================================
   DUAH FRAMEWORK - SINGLE PRODUCT PREMIUM
   Sprint 3.6.1
========================================================== */

body.single-product {
    background: #ffffff;
    color: #40352f;
}

body.single-product .woocommerce div.product,
body.single-product .elementor-location-single,
body.single-product .site-main {
    color: #40352f;
}

/* ==========================================================
   AREA PRINCIPAL
========================================================== */

body.single-product .duah-product-gallery,
body.single-product .duah-product-header,
body.single-product .duah-product-summary,
body.single-product .duah-product-chips,
body.single-product .duah-product-specifications,
body.single-product .duah-product-cta {
    box-sizing: border-box;
}

/* Quando o Elementor estiver sem classe no container */
body.single-product .elementor-widget-shortcode:has(.duah-product-gallery),
body.single-product .elementor-widget-shortcode:has(.duah-product-header) {
    width: 100%;
}

/* ==========================================================
   BREADCRUMB
========================================================== */

.duah-product-breadcrumb,
body.single-product .woocommerce-breadcrumb {
    margin: 0 0 14px;
    font-family: Inter, Arial, sans-serif;
    color: #dd2b68;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
}

.duah-product-breadcrumb a,
body.single-product .woocommerce-breadcrumb a {
    color: #dd2b68 !important;
    text-decoration: none !important;
}

.duah-product-breadcrumb .delimiter,
.duah-product-breadcrumb span,
body.single-product .woocommerce-breadcrumb span {
    color: #7a6659;
}

/* ==========================================================
   CABEÇALHO DO PRODUTO
========================================================== */

.duah-product-header {
    margin: 0 0 18px;
}

.duah-product-header h1,
body.single-product .product_title.entry-title {
    margin: 8px 0 16px !important;
    color: #463833 !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4.8vw, 66px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.045em !important;
}

.duah-product-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f6f1ea;
    color: #dd2b68;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .04em;
}

.duah-product-title-line {
    display: none;
}

/* ==========================================================
   GALERIA PREMIUM
========================================================== */

.duah-product-gallery {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    width: 100%;
    max-width: 590px;
}

.duah-product-gallery-main {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #f7f2ec;
    box-shadow: 0 18px 50px rgba(80, 55, 35, .08);
}

.duah-product-gallery-main::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(120, 92, 70, .14);
    border-radius: inherit;
    pointer-events: none;
}

.duah-product-gallery-main img {
    width: 100%;
    height: auto;
    min-height: 520px;
    max-height: 690px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.duah-product-gallery-thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.duah-product-thumb {
    width: 82px;
    height: 82px;
    padding: 0 !important;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(120, 92, 70, .16) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.duah-product-thumb:hover,
.duah-product-thumb.is-active {
    transform: translateY(-1px);
    border-color: rgba(173, 98, 69, .55) !important;
    box-shadow: 0 12px 28px rgba(80, 55, 35, .10) !important;
}

.duah-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================
   TEXTOS / RESUMO / DETALHES
========================================================== */

.duah-product-summary,
body.single-product div.product .woocommerce-product-details__short-description {
    color: #5d5049;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.82;
}

.duah-product-summary p,
body.single-product div.product .woocommerce-product-details__short-description p {
    margin: 0 0 12px;
}

.duah-product-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 16px 0 22px;
}

.duah-product-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(120, 92, 70, .14);
    background: #fff;
    color: #6f5a48;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.duah-product-specifications {
    margin: 20px 0;
    color: #5d5049;
    font-family: Inter, Arial, sans-serif;
}

.duah-product-specifications h3 {
    margin: 0 0 14px;
    color: #463833;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 500;
}

.duah-product-specifications dl {
    margin: 0;
    border-top: 1px solid rgba(120, 92, 70, .12);
}

.duah-product-specifications dl > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(120, 92, 70, .12);
}

.duah-product-specifications dt {
    color: #463833;
    font-weight: 700;
}

.duah-product-specifications dd {
    margin: 0;
    color: #6b5d56;
}

/* ==========================================================
   CTA
========================================================== */

.duah-product-cta {
    margin: 28px 0 22px;
}

.duah-product-cta-button,
body.single-product .single_add_to_cart_button,
body.single-product .button.alt {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 0 32px !important;
    border-radius: 0 !important;
    border: 1px solid #c9a354 !important;
    background: #c9a354 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.duah-product-cta-button:hover,
body.single-product .single_add_to_cart_button:hover,
body.single-product .button.alt:hover {
    transform: translateY(-1px);
    background: #ad6245 !important;
    border-color: #ad6245 !important;
    box-shadow: 0 18px 42px rgba(173, 98, 69, .18) !important;
    color: #fff !important;
}

/* ==========================================================
   RELACIONADOS - USA O MESMO CARD DA LOJA
========================================================== */

.duah-single-related,
.duah-product-related {
    width: 100%;
    max-width: 1180px;
    margin: 86px auto 0;
    padding: 0 20px;
}

.duah-single-related-head {
    margin: 0 0 28px;
}

.duah-single-related-head span {
    display: block;
    margin: 0 0 8px;
    color: #9b8063;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
}

.duah-single-related-head h2,
.duah-product-related > h2,
.duah-product-related .related > h2,
.duah-product-related section.related > h2 {
    margin: 0 0 10px !important;
    color: #463833 !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 48px) !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
}

.duah-single-related-head p {
    margin: 0;
    color: #6b5d56;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.duah-single-related-grid {
    display: grid !important;
    gap: 28px !important;
}

.duah-single-related-grid.duah-am-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.duah-single-related-grid.duah-am-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.duah-single-related-grid.duah-am-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Fallback se WooCommerce renderizar cards padrão */
.duah-product-related ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 30px 0 0 !important;
    padding: 0 !important;
}

.duah-product-related ul.products::before,
.duah-product-related ul.products::after {
    display: none !important;
}

.duah-product-related ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(120, 92, 70, .12);
    background: #fff;
    box-shadow: 0 18px 45px rgba(80, 55, 35, .07);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.duah-product-related ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(80, 55, 35, .13);
    border-color: rgba(120, 92, 70, .24);
}

.duah-product-related ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 1 / 1.05;
    height: auto !important;
    object-fit: cover;
    margin: 0 !important;
    display: block;
}

.duah-product-related ul.products li.product .woocommerce-loop-product__title {
    margin: 18px 18px 8px !important;
    padding: 0 !important;
    color: #463833;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px !important;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -.02em;
}

.duah-product-related ul.products li.product .price {
    display: none !important;
}

.duah-product-related ul.products li.product .button,
.duah-product-related ul.products li.product .added_to_cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 12px 18px 20px !important;
    padding: 9px 18px !important;
    border-radius: 999px;
    background: #f6f1ea !important;
    color: #2c241f !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none !important;
}

/* ==========================================================
   AJUSTE GLOBAL DOS CARDS DA LOJA/HOME
   Remove a faixa branca entre imagem e conteúdo
========================================================== */

.duah-am-product-card .duah-am-product-image {
    margin-bottom: 0 !important;
}

.duah-am-product-card .duah-am-product-content {
    padding-top: 18px !important;
}

.duah-am-product-card .duah-am-product-chips {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

.duah-am-product-card .duah-am-product-actions {
    margin-top: 22px !important;
}

.duah-am-product-card .duah-am-btn,
.duah-am-product-card .duah-btn {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    line-height: 1.2 !important;
    min-height: 38px !important;
}

/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 1024px) {
    .duah-product-gallery {
        max-width: 100%;
    }

    .duah-product-gallery-main img {
        min-height: 420px;
    }

    .duah-single-related-grid.duah-am-cols-3,
    .duah-single-related-grid.duah-am-cols-4,
    .duah-single-related-grid.duah-am-cols-5,
    .duah-product-related ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.33 — Proporção original das fotografias
   Não força altura nem aspect-ratio: 1920x2880 permanece 2:3.
========================================================== */
html body.single-product .woocommerce-product-gallery,
html body.single-product .woocommerce-product-gallery .flex-viewport,
html body.single-product .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a,
html body.single-product .duah-product-gallery,
html body.single-product .duah-product-gallery-main,
html body.single-product .duah-product-gallery-list,
html body.single-product .duah-product-gallery-item {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img:not(.zoomImg),
html body.single-product .duah-product-gallery-main img,
html body.single-product .duah-product-gallery-item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* 5.4.31 — garante 50vw por coluna mesmo com larguras inline do Elementor */
@media (min-width: 1025px) {
    html body.single-product .duah-single-sticky-boundary > *:has(.duah-product-gallery),
    html body.single-product .duah-single-sticky-boundary > *:has(.woocommerce-product-gallery) {
        width: 50vw !important;
        min-width: 50vw !important;
        max-width: 50vw !important;
        flex: 0 0 50vw !important;
    }

    html body.single-product .duah-single-sticky-summary {
        width: 50vw !important;
        min-width: 50vw !important;
        max-width: 50vw !important;
        flex: 0 0 50vw !important;
    }
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.32 — Estrutura real do Elementor
   Contêiner
   ├── Container Galeria > Product Images
   └── Container Produto > Shortcode
========================================================== */
@media (min-width: 1025px) {
    html body.single-product .elementor-location-single,
    html body.single-product .elementor-location-single > .elementor,
    html body.single-product .elementor-location-single .e-con,
    html body.single-product main.site-main {
        overflow: visible !important;
        overflow-x: visible !important;
    }

    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images) {
        --width: 100vw !important;
        --content-width: 100vw !important;
        --container-max-width: 100vw !important;

        position: relative !important;
        left: 50% !important;

        display: grid !important;
        grid-template-columns: 50vw 50vw !important;
        align-items: start !important;

        box-sizing: border-box !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;

        margin: 120px 0 0 !important;
        padding: 0 !important;
        gap: 0 !important;

        overflow: visible !important;
        transform: translateX(-50%) !important;
    }

    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images)
    > .e-con:first-child {
        --width: 50vw !important;
        --min-height: 0 !important;
        --flex-grow: 0 !important;
        --flex-shrink: 0 !important;

        grid-column: 1 !important;
        grid-row: 1 !important;

        box-sizing: border-box !important;
        width: 50vw !important;
        min-width: 50vw !important;
        max-width: 50vw !important;
        flex: 0 0 50vw !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images)
    > .e-con:nth-child(2) {
        --width: 50vw !important;
        --flex-grow: 0 !important;
        --flex-shrink: 0 !important;

        grid-column: 2 !important;
        grid-row: 1 !important;

        box-sizing: border-box !important;
        width: 50vw !important;
        min-width: 50vw !important;
        max-width: 50vw !important;
        flex: 0 0 50vw !important;

        margin: 0 !important;
        padding: clamp(42px, 6vw, 116px) clamp(34px, 8vw, 154px) 70px clamp(48px, 10vw, 192px) !important;
    }

    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images)
    .elementor-widget-woocommerce-product-images,
    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images)
    .elementor-widget-container,
    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images)
    .woocommerce-product-gallery,
    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images)
    .woocommerce-product-gallery .flex-viewport,
    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images)
    .woocommerce-product-gallery__wrapper,
    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images)
    .woocommerce-product-gallery__image {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 1024px) {
    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images) {
        position: relative !important;
        left: auto !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    html body.single-product
    .e-con:has(> .e-con > .elementor-widget-woocommerce-product-images)
    > .e-con {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex-basis: auto !important;
    }
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.24 — Lightbox único acima do menu
========================================================== */
html body.single-product .pswp,
html body.single-product .pswp.pswp--open {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483000 !important;
}

html body.single-product .pswp__bg,
html body.single-product .pswp__scroll-wrap,
html body.single-product .pswp__container {
    position: absolute !important;
    inset: 0 !important;
}

html body.single-product .pswp__img {
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
}

/* A imagem da página não aparece por trás da imagem ampliada. */
html body.single-product:has(.pswp.pswp--open) .woocommerce-product-gallery,
html body.single-product.duah-lightbox-open .woocommerce-product-gallery {
    visibility: hidden !important;
}

/* Caso o Elementor tente abrir junto, prevalece o lightbox do WooCommerce. */
html body.single-product:has(.pswp.pswp--open) .elementor-lightbox,
html body.single-product:has(.pswp.pswp--open) .dialog-lightbox-widget,
html body.single-product.duah-lightbox-open .elementor-lightbox,
html body.single-product.duah-lightbox-open .dialog-lightbox-widget {
    display: none !important;
}

/* DUAH FRAMEWORK 5.4.20 — CTA do single um pouco maior */
html body.single-product .duah-product-cta-button,
html body.single-product .duah-single-orcamento-btn,
html body.single-product a.duah-single-orcamento-btn,
html body.single-product .duah-btn-orcamento,
html body.single-product a.duah-btn-orcamento,
html body.single-product .oduah-single-buttons a.oduah-quote,
html body.single-product a[href*="solicitar-orcamento"] {
    font-size: 15px !important;
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.18 — Remove controle lateral residual
========================================================== */
html body.single-product .woocommerce-product-gallery .flex-direction-nav,
html body.single-product .woocommerce-product-gallery .flex-prev,
html body.single-product .woocommerce-product-gallery .flex-next,
html body.single-product .woocommerce-product-gallery .swiper-button-prev,
html body.single-product .woocommerce-product-gallery .swiper-button-next,
html body.single-product .woocommerce-product-gallery .elementor-swiper-button,
html body.single-product .woocommerce-product-gallery .slick-arrow,
html body.single-product .woocommerce-product-gallery .flickity-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html body.single-product .duah-product-cta::before,
html body.single-product .duah-product-cta::after,
html body.single-product .duah-product-cta-button::before,
html body.single-product .duah-product-cta-button::after,
html body.single-product .duah-single-orcamento-btn::before,
html body.single-product .duah-single-orcamento-btn::after,
html body.single-product .duah-btn-orcamento::before,
html body.single-product .duah-btn-orcamento::after,
html body.single-product .oduah-single-buttons::before,
html body.single-product .oduah-single-buttons::after,
html body.single-product .oduah-quote::before,
html body.single-product .oduah-quote::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.17 — CTA maior e zoom removido
========================================================== */
html body.single-product .woocommerce-product-gallery img.zoomImg,
html body.single-product .woocommerce-product-gallery__image img.zoomImg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html body.single-product .duah-product-cta-button,
html body.single-product .duah-single-orcamento-btn,
html body.single-product a.duah-single-orcamento-btn,
html body.single-product .duah-btn-orcamento,
html body.single-product a.duah-btn-orcamento,
html body.single-product .oduah-single-buttons a.oduah-quote,
html body.single-product a[href*="solicitar-orcamento"] {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

@media (max-width: 767px) {
    .duah-product-header h1,
    body.single-product .product_title.entry-title {
        font-size: clamp(38px, 12vw, 58px) !important;
    }

    .duah-product-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .duah-product-gallery-main {
        grid-column: 1;
        grid-row: 1;
        border-radius: 22px;
    }

    .duah-product-gallery-main img {
        min-height: auto;
        max-height: none;
    }

    .duah-product-gallery-thumbs {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .duah-product-thumb {
        flex: 0 0 74px;
        width: 74px;
        height: 74px;
    }

    .duah-product-specifications dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .duah-single-related,
    .duah-product-related {
        margin-top: 52px;
        padding: 0 16px;
    }

    .duah-single-related-grid,
    .duah-single-related-grid.duah-am-cols-2,
    .duah-single-related-grid.duah-am-cols-3,
    .duah-single-related-grid.duah-am-cols-4,
    .duah-single-related-grid.duah-am-cols-5,
    .duah-product-related ul.products {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.15 — Remoção definitiva das miniaturas
========================================================== */
html body.single-product .woocommerce-product-gallery,
html body.single-product div.product div.images.woocommerce-product-gallery,
html body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
    display: block !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

html body.single-product .woocommerce-product-gallery .flex-viewport,
html body.single-product div.product div.images .flex-viewport {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

html body.single-product .woocommerce-product-gallery ol.flex-control-nav,
html body.single-product .woocommerce-product-gallery ul.flex-control-nav,
html body.single-product .woocommerce-product-gallery .flex-control-nav,
html body.single-product .woocommerce-product-gallery .flex-control-thumbs,
html body.single-product div.product div.images ol.flex-control-thumbs,
html body.single-product .elementor-widget-woocommerce-product-images .flex-control-thumbs,
html body.single-product .duah-native-gallery-thumbnails {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.9 — Galeria nativa WooCommerce
========================================================== */
body.single-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 580px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 580px !important;
    height: 740px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image > a {
    display: block !important;
    width: 100% !important;
    height: 740px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery__image img.wp-post-image,
body.single-product .woocommerce-product-gallery__image img.zoomImg {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs,
body.single-product .woocommerce-product-gallery .flex-control-thumbs li,
body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    body.single-product .woocommerce-product-gallery__wrapper,
    body.single-product .woocommerce-product-gallery .flex-viewport,
    body.single-product .woocommerce-product-gallery__image,
    body.single-product .woocommerce-product-gallery__image > a {
        height: calc((100vw - 32px) * 1.275862) !important;
        max-height: 740px !important;
    }

    body.single-product .duah-single-related .duah-am-product-content {
        padding: 12px 10px 8px !important;
        text-align: left !important;
    }

    body.single-product .duah-single-related .duah-am-product-title {
        margin: 0 0 2px !important;
        text-align: left !important;
    }

    body.single-product .duah-single-related .duah-am-product-actions {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        margin-top: 0 !important;
        text-align: left !important;
    }

    body.single-product .duah-single-related .duah-am-btn-budget {
        width: auto !important;
        align-self: flex-start !important;
        text-align: left !important;
    }
}

/* 5.4.10 — neutraliza margens herdadas no orçamento dos relacionados */
@media (max-width: 767px) {
    body.single-product .duah-single-related .duah-am-product-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.single-product .duah-single-related a.duah-am-btn-budget {
        position: static !important;
        inset: auto !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        align-self: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
        transform: none !important;
    }
}

/* ==========================================================
   SPRINT 3.6.2 — SINGLE PRODUCT EDITORIAL POLISH
   Refinamento visual da área de informações do produto
========================================================== */

body.single-product .duah-product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px !important;
    color: #b76e46 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .045em !important;
    line-height: 1.4 !important;
}

body.single-product .duah-product-breadcrumb a {
    color: #dd2b68 !important;
    text-decoration: none !important;
    transition: color .25s ease;
}

body.single-product .duah-product-breadcrumb a:hover {
    color: #b76e46 !important;
}

body.single-product .duah-product-header {
    margin: 0 0 26px !important;
}

body.single-product .duah-product-header h1,
body.single-product .product_title.entry-title {
    max-width: 680px;
    margin: 8px 0 22px !important;
    color: #433632 !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(44px, 5.2vw, 76px) !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.055em !important;
}

body.single-product .duah-product-chip,
body.single-product .duah-product-chips span,
body.single-product .posted_in a,
body.single-product .tagged_as a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 32px;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(183, 110, 70, .14) !important;
    background: rgba(246, 241, 234, .92) !important;
    color: #dd2b68 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: .035em !important;
    text-decoration: none !important;
}

body.single-product .duah-product-chips {
    margin: 0 0 22px !important;
}

body.single-product .duah-product-cta {
    margin: 34px 0 18px !important;
}

body.single-product .duah-product-cta-button {
    min-height: 58px !important;
    border-radius: 0 !important;
    background: #c9a354 !important;
    border-color: #c9a354 !important;
    box-shadow: 0 16px 42px rgba(201, 163, 84, .12) !important;
}

body.single-product .duah-product-summary,
body.single-product .woocommerce-product-details__short-description {
    position: relative;
    max-width: 620px;
    margin-top: 18px !important;
    padding: 0 !important;
    color: #4d423c !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 17px !important;
    line-height: 1.82 !important;
    letter-spacing: -.01em;
}

body.single-product .duah-product-summary p,
body.single-product .woocommerce-product-details__short-description p {
    margin: 0 0 18px !important;
}

body.single-product .duah-product-summary p:first-child,
body.single-product .woocommerce-product-details__short-description p:first-child {
    margin-top: 0 !important;
}

body.single-product .duah-product-summary strong,
body.single-product .woocommerce-product-details__short-description strong,
body.single-product .duah-product-summary b,
body.single-product .woocommerce-product-details__short-description b {
    color: #433632 !important;
    font-weight: 500 !important;
}

body.single-product .duah-product-specifications {
    max-width: 620px;
    margin: 24px 0 28px !important;
    padding: 22px 24px;
    border: 1px solid rgba(120, 92, 70, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .54);
}

body.single-product .duah-product-specifications h3 {
    font-size: 24px !important;
}

/* Caso o Elementor coloque os shortcodes em uma coluna sem respiro */
body.single-product .elementor-widget-shortcode:has(.duah-product-breadcrumb),
body.single-product .elementor-widget-shortcode:has(.duah-product-header),
body.single-product .elementor-widget-shortcode:has(.duah-product-chips),
body.single-product .elementor-widget-shortcode:has(.duah-product-cta),
body.single-product .elementor-widget-shortcode:has(.duah-product-summary) {
    margin-bottom: 0 !important;
}

/* Galeria: acabamento mais editorial */
body.single-product .duah-product-gallery-main {
    border-radius: 26px !important;
    background: #f7f2ec !important;
}

body.single-product .duah-product-thumb {
    border-radius: 14px !important;
    background: #ffffff !important;
}

@media (max-width: 767px) {
    body.single-product .duah-product-header h1,
    body.single-product .product_title.entry-title {
        font-size: clamp(38px, 13vw, 58px) !important;
        line-height: .96 !important;
    }

    body.single-product .duah-product-summary,
    body.single-product .woocommerce-product-details__short-description {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }

    body.single-product .duah-product-cta-button {
        min-height: 52px !important;
        font-size: 10px !important;
    }
}

/* ==========================================================
   SPRINT 3.6.3 — SINGLE PRODUCT ELEMENTOR FIELD FIX
   Corrige breadcrumb e lista editorial inseridos via Elementor
========================================================== */

body.single-product .duah-product-breadcrumb,
body.single-product nav.duah-product-breadcrumb,
body.single-product .duah-product-breadcrumb .woocommerce-breadcrumb {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #b76e46 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: .045em !important;
    text-transform: none !important;
}

body.single-product .duah-product-breadcrumb a,
body.single-product .duah-product-breadcrumb .woocommerce-breadcrumb a {
    display: inline-flex !important;
    align-items: center !important;
    color: #dd2b68 !important;
    font: inherit !important;
    text-decoration: none !important;
}

body.single-product .duah-product-breadcrumb a:hover,
body.single-product .duah-product-breadcrumb .woocommerce-breadcrumb a:hover {
    color: #b76e46 !important;
}

body.single-product .duah-product-breadcrumb span,
body.single-product .duah-product-breadcrumb .delimiter,
body.single-product .duah-product-breadcrumb .breadcrumb-separator {
    display: inline-flex !important;
    color: #b76e46 !important;
    opacity: .95 !important;
}

/* Lista editorial: remove o aspecto de texto cru do Elementor */
body.single-product .duah-editorial-features {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 18px 0 30px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #4d423c !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

body.single-product .duah-editorial-features p,
body.single-product .duah-editorial-features div,
body.single-product .duah-editorial-features span {
    margin: 0 !important;
}

body.single-product .duah-editorial-features p,
body.single-product .duah-editorial-features > div {
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 0 !important;
    color: #4d423c !important;
}

body.single-product .duah-editorial-features p::before,
body.single-product .duah-editorial-features > div::before {
    content: "✓" !important;
    flex: 0 0 auto !important;
    width: 18px !important;
    margin-top: 1px !important;
    color: #b76e46 !important;
    font-family: Georgia, serif !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

/* Caso o conteúdo esteja como texto com <br>, estiliza o bloco para ficar consistente */
body.single-product .duah-editorial-features br {
    display: none !important;
}

/* Ajuste fino no chip/categoria acima da lista */
body.single-product .duah-product-chip {
    margin-bottom: 12px !important;
}

/* Card Home/Loja: remove respiro extra entre imagem e conteúdo */
body:not(.single-product) .duah-am-product-card .duah-am-product-content,
.duah-am-product-card .duah-am-product-content {
    padding-top: 20px !important;
}

body:not(.single-product) .duah-am-product-card .duah-am-product-chips,
.duah-am-product-card .duah-am-product-chips {
    margin-top: 0 !important;
}

/* ==========================================================
   SPRINT 3.6.4 — SINGLE PRODUCT CLEANUP
   Remove redundância de categoria, corrige breadcrumb e normaliza features
========================================================== */

/* Remove a categoria abaixo do título, pois ela já aparece no breadcrumb */
body.single-product .duah-product-header > .duah-product-chip {
    display: none !important;
}

body.single-product .duah-product-header {
    margin-bottom: 22px !important;
}

/* Breadcrumb premium: sem rosa forte, com dourado/cinza editorial */
body.single-product .duah-product-breadcrumb,
body.single-product nav.duah-product-breadcrumb,
body.single-product .duah-product-breadcrumb .woocommerce-breadcrumb {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 18px !important;
    color: #b76e46 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: .05em !important;
    text-transform: none !important;
}

body.single-product .duah-product-breadcrumb a,
body.single-product .duah-product-breadcrumb .woocommerce-breadcrumb a {
    color: #8f7b69 !important;
    font: inherit !important;
    text-decoration: none !important;
    transition: color .25s ease;
}

body.single-product .duah-product-breadcrumb a:hover,
body.single-product .duah-product-breadcrumb .woocommerce-breadcrumb a:hover {
    color: #b76e46 !important;
}

body.single-product .duah-product-breadcrumb span,
body.single-product .duah-product-breadcrumb .delimiter,
body.single-product .duah-product-breadcrumb .breadcrumb-separator {
    color: #b76e46 !important;
    opacity: .9 !important;
}

/* Features: o JS do framework normaliza o conteúdo e deixa apenas um check */
body.single-product .duah-editorial-features {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 20px 0 34px !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
    color: #4d423c !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

body.single-product .duah-editorial-features *,
body.single-product .duah-editorial-features li,
body.single-product .duah-editorial-features p,
body.single-product .duah-editorial-features div,
body.single-product .duah-editorial-features span {
    list-style: none !important;
}

body.single-product .duah-editorial-features ::marker {
    content: "" !important;
}

body.single-product .duah-editorial-features p::before,
body.single-product .duah-editorial-features > div::before,
body.single-product .duah-editorial-features li::before {
    content: none !important;
    display: none !important;
}

body.single-product .duah-editorial-feature-item {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #4d423c !important;
}

body.single-product .duah-editorial-feature-check {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    color: #b76e46 !important;
    font-family: Georgia, serif !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

body.single-product .duah-editorial-feature-text {
    display: block !important;
    color: #4d423c !important;
}

/* ==========================================================
   SPRINT 3.7.0 — YOU MAY LOVE / RELACIONADOS NO SINGLE
========================================================== */
body.single-product .duah-single-related,
body.single-product .duah-you-may-love {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 82px auto 0 !important;
    padding: 0 24px 72px !important;
    box-sizing: border-box !important;
    background: transparent !important;
    clear: both !important;
}

body.single-product .duah-single-related-inner {
    width: 100% !important;
    margin: 0 auto !important;
}

body.single-product .duah-single-related-head {
    margin: 0 0 30px !important;
    text-align: left !important;
}

body.single-product .duah-single-related-head span {
    display: block !important;
    margin: 0 0 8px !important;
    color: #b76e46 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body.single-product .duah-single-related-head h2 {
    margin: 0 0 10px !important;
    color: #40352f !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    font-weight: 400 !important;
    line-height: .98 !important;
    letter-spacing: -.035em !important;
}

body.single-product .duah-single-related-head p {
    max-width: 520px !important;
    margin: 0 !important;
    color: #7a6a5f !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

body.single-product .duah-single-related-grid,
body.single-product .duah-you-may-love .duah-am-products {
    display: grid !important;
    width: 100% !important;
    gap: 28px !important;
    align-items: stretch !important;
    margin: 0 !important;
}

body.single-product .duah-single-related-grid.duah-am-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.single-product .duah-single-related-grid.duah-am-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
body.single-product .duah-single-related-grid.duah-am-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
body.single-product .duah-single-related-grid.duah-am-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }

/* Cards relacionados iguais ao Archive/Home, mas compactos para o Single */
body.single-product .duah-single-related .duah-am-product-card {
    height: 100% !important;
    background: #fffaf4 !important;
    border-radius: 28px !important;
    border: 1px solid rgba(182, 138, 91, .18) !important;
    box-shadow: 0 20px 60px rgba(69, 48, 30, .08) !important;
    overflow: hidden !important;
}

body.single-product .duah-single-related .duah-am-product-image {
    aspect-ratio: 1 / 1.12 !important;
    border-radius: 0 !important;
}

body.single-product .duah-single-related .duah-am-product-content {
    padding: 20px 20px 24px !important;
    text-align: center !important;
}

body.single-product .duah-single-related .duah-am-product-title {
    font-size: 25px !important;
    line-height: 1.02 !important;
    margin: 0 0 18px !important;
}

body.single-product .duah-single-related .duah-am-product-actions {
    display: flex !important;
    gap: 10px !important;
    margin-top: 18px !important;
}

body.single-product .duah-single-related .duah-am-btn {
    min-height: 38px !important;
    padding: 0 18px !important;
    font-size: 9.5px !important;
    letter-spacing: .14em !important;
}

/* Evita que o widget/shortcode do Elementor crie respiro gigante */
body.single-product .elementor-widget-shortcode:has(.duah-single-related),
body.single-product .elementor-shortcode:has(.duah-single-related) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
    body.single-product .duah-single-related,
    body.single-product .duah-you-may-love {
        margin-top: 64px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.single-product .duah-single-related-grid.duah-am-cols-3,
    body.single-product .duah-single-related-grid.duah-am-cols-4,
    body.single-product .duah-single-related-grid.duah-am-tablet-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body.single-product .duah-single-related,
    body.single-product .duah-you-may-love {
        margin-top: 46px !important;
        padding: 0 16px 54px !important;
    }

    body.single-product .duah-single-related-head {
        margin-bottom: 24px !important;
    }

    body.single-product .duah-single-related-grid,
    body.single-product .duah-single-related-grid.duah-am-cols-2,
    body.single-product .duah-single-related-grid.duah-am-cols-3,
    body.single-product .duah-single-related-grid.duah-am-cols-4,
    body.single-product .duah-single-related-grid.duah-am-mobile-cols-1 {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    body.single-product .duah-single-related .duah-am-product-actions {
        flex-direction: column !important;
    }

    body.single-product .duah-single-related .duah-am-btn {
        width: 100% !important;
    }
}


/* ==========================================================
   SPRINT 3.7.3 — SINGLE PRODUCT FINAL POLISH
   Remove categoria redundante, arredonda CTA e dá respiro na descrição
========================================================== */

/* Remove o shortcode/categoria abaixo do título, mantendo breadcrumb como referência */
body.single-product .duah-product-chips,
body.single-product .duah-product-category,
body.single-product .duah-product-header > .duah-product-chip,
body.single-product .elementor-widget-shortcode:has(.duah-product-chips) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* CTA mais premium e com bordas arredondadas */
body.single-product .duah-product-cta {
    width: 100% !important;
    max-width: 620px !important;
    margin: 44px 0 28px !important;
    padding: 0 !important;
}

body.single-product .duah-product-cta-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 0 34px !important;
    border-radius: 20px !important;
    background: #c9a354 !important;
    border: 1px solid #c9a354 !important;
    color: #fff !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 18px 46px rgba(201, 163, 84, .16) !important;
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease !important;
}

body.single-product .duah-product-cta-button:hover {
    transform: translateY(-2px) !important;
    background: #b76e46 !important;
    border-color: #b76e46 !important;
    color: #fff !important;
    box-shadow: 0 24px 56px rgba(183, 110, 70, .22) !important;
}

/* Respiro entre o botão e a descrição */
body.single-product .duah-product-summary,
body.single-product .woocommerce-product-details__short-description {
    max-width: 620px !important;
    margin-top: 26px !important;
    padding-top: 0 !important;
}

body.single-product .duah-product-summary::before,
body.single-product .woocommerce-product-details__short-description::before {
    content: "" !important;
    display: block !important;
    width: 52px !important;
    height: 1px !important;
    margin: 0 0 18px !important;
    background: rgba(183, 110, 70, .24) !important;
}

body.single-product .duah-product-summary p,
body.single-product .woocommerce-product-details__short-description p {
    margin: 0 0 16px !important;
}

/* Relacionados: garante que o shortcode manual tenha área e grid, mesmo em widget Elementor */
body.single-product .duah-product-related,
body.single-product .duah-single-related,
body.single-product .duah-you-may-love {
    display: block !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin: 90px auto 0 !important;
    padding: 0 24px 76px !important;
    clear: both !important;
}

body.single-product .duah-single-related-grid.duah-am-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.single-product .duah-single-related-grid.duah-am-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

@media (max-width: 1024px) {
    body.single-product .duah-single-related-grid.duah-am-cols-4,
    body.single-product .duah-single-related-grid.duah-am-cols-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body.single-product .duah-product-cta {
        margin-top: 34px !important;
    }

    body.single-product .duah-product-cta-button {
        min-height: 52px !important;
        font-size: 10px !important;
        letter-spacing: .14em !important;
    }

    body.single-product .duah-product-related,
    body.single-product .duah-single-related,
    body.single-product .duah-you-may-love {
        margin-top: 64px !important;
        padding-inline: 16px !important;
    }
}


/* ==========================================================
   SPRINT 3.8.2 — CTA Single Product após “Sobre a coleção”
   - Padroniza o botão de orçamento usado no template editorial
   - Bordas solicitadas: 20px
========================================================== */
body.single-product .duah-single-orcamento-btn,
body.single-product a.duah-single-orcamento-btn,
body.single-product .duah-btn-orcamento,
body.single-product a.duah-btn-orcamento,
body.single-product .duah-product-cta-button {
    border-radius: 20px !important;
    overflow: hidden !important;
}

body.single-product .duah-editorial-story + .duah-single-orcamento-btn,
body.single-product .duah-editorial-story + a.duah-single-orcamento-btn,
body.single-product .duah-editorial-story + .duah-btn-orcamento,
body.single-product .duah-editorial-story + a.duah-btn-orcamento,
body.single-product .duah-editorial-story + .duah-product-cta {
    margin-top: 30px !important;
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.8 — Single Product minimalista
========================================================== */
body.single-product .duah-product-gallery {
    grid-template-columns: 82px minmax(0, 580px) !important;
    width: 100% !important;
    max-width: 680px !important;
}

body.single-product .duah-product-gallery-main {
    width: 100% !important;
    max-width: 580px !important;
    height: 740px !important;
    aspect-ratio: 580 / 740 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .duah-product-gallery-main::after {
    display: none !important;
    content: none !important;
}

body.single-product .duah-product-gallery-main img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .duah-product-thumb,
body.single-product .duah-product-thumb:hover,
body.single-product .duah-product-thumb.is-active,
body.single-product .duah-product-thumb img {
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .duah-product-thumb:hover,
body.single-product .duah-product-thumb.is-active {
    transform: none !important;
    opacity: .72;
}

body.single-product .duah-product-cta {
    width: auto !important;
    max-width: none !important;
    margin: 24px 0 !important;
}

body.single-product .duah-product-cta-button,
body.single-product .duah-single-orcamento-btn,
body.single-product a.duah-single-orcamento-btn,
body.single-product .duah-btn-orcamento,
body.single-product a.duah-btn-orcamento {
    display: inline-flex !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
    transform: none !important;
}

body.single-product .duah-product-cta-button:hover,
body.single-product .duah-single-orcamento-btn:hover,
body.single-product .duah-btn-orcamento:hover {
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: .6;
}

@media (max-width: 767px) {
    body.single-product .duah-product-gallery {
        display: flex !important;
        flex-direction: column !important;
        max-width: 580px !important;
    }

    body.single-product .duah-product-gallery-main {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 580 / 740 !important;
    }

    body.single-product .duah-product-gallery-thumbs {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
}

/* 5.4.9 — prioridade final para o alinhamento do orçamento no mobile */
@media (max-width: 767px) {
    body.single-product .duah-single-related .duah-am-product-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin-top: 0 !important;
        text-align: left !important;
    }

    body.single-product .duah-single-related .duah-am-btn-budget {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        align-self: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }
}

/* 5.4.10 — regra final após todos os estilos do Single Product */
@media (max-width: 767px) {
    body.single-product .duah-single-related .duah-am-product-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    body.single-product .duah-single-related a.duah-am-btn-budget {
        position: static !important;
        inset: auto !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        align-self: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
        transform: none !important;
    }
}

/* 5.4.11 — relacionados: 3 colunas no desktop e 1 no mobile */
body.single-product .duah-single-related-grid,
body.single-product .duah-single-related-grid.duah-am-cols-2,
body.single-product .duah-single-related-grid.duah-am-cols-3,
body.single-product .duah-single-related-grid.duah-am-cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.12 — Relacionados iguais ao catálogo
========================================================== */
body.single-product .duah-single-related-head h2 {
    font-family: "Prata", Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
}

body.single-product .duah-single-related .duah-am-product-card,
body.single-product .duah-single-related .duah-am-product-card:hover {
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: visible !important;
}

body.single-product .duah-single-related .duah-am-product-image {
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    background: #f7f2ec !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .duah-single-related .duah-am-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .duah-single-related .duah-am-product-content {
    margin: 0 !important;
    padding: 12px 10px 8px !important;
    background: transparent !important;
    border: 0 !important;
    text-align: left !important;
}

body.single-product .duah-single-related .duah-am-product-title {
    margin: 0 0 2px !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    color: #111 !important;
}

body.single-product .duah-single-related .duah-am-product-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 0 !important;
    text-align: left !important;
}

body.single-product .duah-single-related a.duah-am-btn-budget {
    position: static !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 auto 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 1024px) {
    body.single-product .duah-single-related-grid,
    body.single-product .duah-single-related-grid.duah-am-cols-2,
    body.single-product .duah-single-related-grid.duah-am-cols-3,
    body.single-product .duah-single-related-grid.duah-am-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body.single-product .duah-single-related-grid,
    body.single-product .duah-single-related-grid.duah-am-cols-2,
    body.single-product .duah-single-related-grid.duah-am-cols-3,
    body.single-product .duah-single-related-grid.duah-am-cols-4,
    body.single-product .duah-single-related-grid.duah-am-mobile-cols-1 {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.13 — Galeria vertical do produto
========================================================== */
body.single-product .duah-product-gallery {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 580px !important;
    gap: 18px !important;
}

body.single-product .duah-product-gallery-list {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 18px !important;
}

body.single-product .duah-product-gallery-item {
    display: block !important;
    width: 100% !important;
    height: 740px !important;
    aspect-ratio: 580 / 740 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.single-product .duah-product-gallery-item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    body.single-product .duah-product-gallery,
    body.single-product .duah-product-gallery-list {
        gap: 12px !important;
    }

    body.single-product .duah-product-gallery-item {
        height: auto !important;
    }
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.14 — Hotfix galeria nativa vertical
========================================================== */
body.single-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 580px !important;
    overflow: visible !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 580px !important;
    height: auto !important;
    overflow: visible !important;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 580px !important;
    height: auto !important;
    margin: 0 !important;
    gap: 18px !important;
    transform: none !important;
    transition: none !important;
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    display: block !important;
    float: none !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 580px !important;
    height: 740px !important;
    margin: 0 !important;
    opacity: 1 !important;
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img:not(.zoomImg) {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs,
body.single-product .woocommerce-product-gallery .flex-direction-nav {
    display: none !important;
}

@media (max-width: 767px) {
    body.single-product .woocommerce-product-gallery__wrapper,
    body.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
        gap: 12px !important;
    }

    body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
        height: auto !important;
        aspect-ratio: 580 / 740 !important;
    }
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.19 — Galeria sem espaços e cursor padrão
========================================================== */
html body.single-product .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper,
html body.single-product .duah-product-gallery,
html body.single-product .duah-product-gallery-list {
    gap: 0 !important;
    row-gap: 0 !important;
}

html body.single-product .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__image > a,
html body.single-product .duah-product-gallery-main,
html body.single-product .duah-product-gallery-item {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

html body.single-product .duah-product-cta-button,
html body.single-product .duah-single-orcamento-btn,
html body.single-product .duah-btn-orcamento,
html body.single-product .oduah-single-buttons a.oduah-quote,
html body.single-product a[href*="solicitar-orcamento"] {
    cursor: default !important;
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.16 — Descrição sticky com limite
========================================================== */
@media (min-width: 1025px) {
    html body.single-product .duah-single-sticky-boundary {
        overflow: visible !important;
        align-items: flex-start !important;
    }

    html body.single-product .duah-single-sticky-summary {
        position: sticky !important;
        top: 95px !important;
        align-self: flex-start !important;
        height: fit-content !important;
        z-index: 2 !important;
    }
}

@media (max-width: 1024px) {
    html body.single-product .duah-single-sticky-summary {
        position: relative !important;
        top: auto !important;
        height: auto !important;
    }
}

/* 5.4.20 — prioridade final do tamanho do CTA */
html body.single-product .duah-product-cta-button,
html body.single-product .duah-single-orcamento-btn,
html body.single-product a.duah-single-orcamento-btn,
html body.single-product .duah-btn-orcamento,
html body.single-product a.duah-btn-orcamento,
html body.single-product .oduah-single-buttons a.oduah-quote,
html body.single-product a[href*="solicitar-orcamento"] {
    font-size: 15px !important;
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.21 — Título dos produtos relacionados
========================================================== */
html body.single-product .duah-single-related .duah-am-product-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 16px !important;
}

html body.single-product .duah-single-related .duah-am-product-title {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html body.single-product .duah-single-related .duah-am-product-title a {
    display: block !important;
    color: #111 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html body.single-product .duah-single-related .duah-am-product-actions {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body.single-product .duah-single-related a.duah-am-btn-budget {
    width: auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.23 — Galeria principal com 850 px
========================================================== */
html body.single-product .woocommerce-product-gallery,
html body.single-product div.product div.images.woocommerce-product-gallery,
html body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery,
html body.single-product .woocommerce-product-gallery .flex-viewport,
html body.single-product .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a,
html body.single-product .duah-product-gallery,
html body.single-product .duah-product-gallery-main,
html body.single-product .duah-product-gallery-list,
html body.single-product .duah-product-gallery-item {
    width: 100% !important;
    max-width: 850px !important;
}

html body.single-product .woocommerce-product-gallery,
html body.single-product div.product div.images.woocommerce-product-gallery {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
html body.single-product .duah-product-gallery-main,
html body.single-product .duah-product-gallery-item {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
}

html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img:not(.zoomImg),
html body.single-product .duah-product-gallery-main img,
html body.single-product .duah-product-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}

@media (max-width: 1024px) {
    html body.single-product .woocommerce-product-gallery,
    html body.single-product div.product div.images.woocommerce-product-gallery,
    html body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery,
    html body.single-product .woocommerce-product-gallery .flex-viewport,
    html body.single-product .woocommerce-product-gallery__wrapper,
    html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
    html body.single-product .duah-product-gallery,
    html body.single-product .duah-product-gallery-main,
    html body.single-product .duah-product-gallery-list,
    html body.single-product .duah-product-gallery-item {
        max-width: 100% !important;
    }
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.29 — Single Product editorial 50/50
   A galeria ocupa metade real da tela, como na referência.
========================================================== */
@media (min-width: 1025px) {
    html body.single-product .duah-single-breakout-host {
        max-width: none !important;
        overflow: visible !important;
        overflow-x: visible !important;
        contain: none !important;
        clip-path: none !important;
    }

    html body.single-product .elementor-location-single,
    html body.single-product .elementor-location-single > .elementor,
    html body.single-product main.site-main {
        overflow: visible !important;
        overflow-x: visible !important;
    }

    html body.single-product .duah-single-sticky-boundary {
        display: grid !important;
        grid-template-columns: minmax(0, 50%) minmax(0, 50%) !important;
        column-gap: 0 !important;
        align-items: start !important;
        position: relative !important;
        left: 50% !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        transform: translateX(-50%) !important;
    }

    html body.single-product .duah-single-sticky-boundary > * {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    html body.single-product .duah-single-sticky-boundary > *:has(.duah-product-gallery),
    html body.single-product .duah-single-sticky-boundary > *:has(.woocommerce-product-gallery) {
        grid-column: 1 !important;
        padding: 0 !important;
    }

    html body.single-product .duah-single-sticky-summary {
        grid-column: 2 !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
        padding: clamp(42px, 6vw, 116px) clamp(34px, 8vw, 154px) 70px clamp(48px, 10vw, 192px) !important;
    }

    html body.single-product .duah-product-gallery,
    html body.single-product .duah-product-gallery-main,
    html body.single-product .duah-product-gallery-list,
    html body.single-product .duah-product-gallery-item,
    html body.single-product .woocommerce-product-gallery,
    html body.single-product div.product div.images.woocommerce-product-gallery,
    html body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery,
    html body.single-product .woocommerce-product-gallery .flex-viewport,
    html body.single-product .woocommerce-product-gallery__wrapper,
    html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
    html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
    }

    html body.single-product .duah-product-gallery-main,
    html body.single-product .duah-product-gallery-item,
    html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1.06 !important;
    }

    html body.single-product .duah-product-gallery-main img,
    html body.single-product .duah-product-gallery-item img,
    html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img:not(.zoomImg) {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center !important;
    }
}

@media (max-width: 1024px) {
    html body.single-product .duah-single-sticky-boundary {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.single-product .duah-single-sticky-summary {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 38px clamp(20px, 5vw, 48px) 54px !important;
    }

    html body.single-product .duah-product-gallery-main,
    html body.single-product .duah-product-gallery-item,
    html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
        aspect-ratio: 4 / 5 !important;
    }
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.33 — OVERRIDE FINAL
   Deve permanecer no fim absoluto do arquivo.
   Preserva a proporção nativa 1920x2880 (2:3), sem recorte.
========================================================== */
html body.single-product .woocommerce-product-gallery,
html body.single-product .woocommerce-product-gallery .flex-viewport,
html body.single-product .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a,
html body.single-product .duah-product-gallery,
html body.single-product .duah-product-gallery-main,
html body.single-product .duah-product-gallery-list,
html body.single-product .duah-product-gallery-item {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img:not(.zoomImg),
html body.single-product .duah-product-gallery-main img,
html body.single-product .duah-product-gallery-item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* ==========================================================
   DUAH FRAMEWORK 5.4.40 — RELACIONADOS: COLUNAS REAIS
   Override final para impedir regras legadas de 3 colunas
   de sobrescreverem colunas="4" e colunas="5".
========================================================== */
html body.single-product .duah-single-related-grid.duah-am-cols-1 {
    grid-template-columns: minmax(0, 1fr) !important;
}

html body.single-product .duah-single-related-grid.duah-am-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body.single-product .duah-single-related-grid.duah-am-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body.single-product .duah-single-related-grid.duah-am-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body.single-product .duah-single-related-grid.duah-am-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

/* Tablet: mantém leitura confortável em 2 colunas. */
@media (max-width: 1024px) {
    html body.single-product .duah-single-related-grid.duah-am-cols-2,
    html body.single-product .duah-single-related-grid.duah-am-cols-3,
    html body.single-product .duah-single-related-grid.duah-am-cols-4,
    html body.single-product .duah-single-related-grid.duah-am-cols-5,
    html body.single-product .duah-single-related-grid.duah-am-tablet-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile: sempre 1 produto por linha. */
@media (max-width: 767px) {
    html body.single-product .duah-single-related-grid,
    html body.single-product .duah-single-related-grid.duah-am-cols-1,
    html body.single-product .duah-single-related-grid.duah-am-cols-2,
    html body.single-product .duah-single-related-grid.duah-am-cols-3,
    html body.single-product .duah-single-related-grid.duah-am-cols-4,
    html body.single-product .duah-single-related-grid.duah-am-cols-5,
    html body.single-product .duah-single-related-grid.duah-am-mobile-cols-1 {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* ==========================================================
   DUAH FRAMEWORK 5.4.41 — RELACIONADOS EM LARGURA TOTAL
   Remove o max-width legado de 1180px do bloco "Você também pode gostar"
   para 4/5 colunas ocuparem de fato toda a largura disponível.
========================================================== */
html body.single-product .duah-single-related,
html body.single-product .duah-product-related {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(20px, 2.5vw, 48px) !important;
    padding-right: clamp(20px, 2.5vw, 48px) !important;
}

html body.single-product .duah-single-related-inner {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Mantém 4/5 colunas reais no desktop após a liberação da largura. */
@media (min-width: 1025px) {
    html body.single-product .duah-single-related-grid.duah-am-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    html body.single-product .duah-single-related-grid.duah-am-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}
