/* v1.1.73 — acabamento comercial do Modelo 2 e da vitrine. */
html body.single-product.hp-product-model-2 .hp-product-short {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    margin-bottom: 0 !important;
}
html body.single-product.hp-product-model-2 .hp-product-short.is-expanded {
    display: block !important;
    overflow: visible !important;
}
.hp-product-short-toggle {
    margin-top: 8px;
    padding: 0;
    border: 0;
    color: #087eea;
    background: transparent;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}
html body.single-product.hp-product-model-2 .hp-product-price .hp-product-discount {
    display: inline-block;
    margin: 5px 0 0;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
    background: #16a765;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .02em;
}
html body.single-product.hp-product-model-2 .hp-product-discount { color: #fff !important; }
html body.single-product.hp-product-model-2 .hp-product-price .hp-product-savings {
    display: block;
    margin-top: 3px;
    color: #15995d;
    font-size: .77rem;
    font-weight: 600;
}

html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-sale-line {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    order: 1 !important;
    width: 100%;
}
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-sale-line ins {
    margin: 0 !important;
}
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-sale-line + del {
    order: 2 !important;
    flex-basis: 100% !important;
    margin: 1px 0 0 !important;
    color: rgba(81, 95, 106, .58) !important;
    font-size: .82em;
}

/* O selo genérico de oferta não aparece na galeria do produto. */
html body.single-product.hp-product-model-2 .hp-product-gallery .onsale,
html body.single-product.hp-product-model-2 .hp-product-gallery .wc-block-components-product-sale-badge,
html body.single-product.hp-product-model-2 .hp-product-gallery .wc-block-grid__product-onsale,
html body.single-product.hp-product-model-2 .hp-product-hero > .onsale { display: none !important; }

/* Consulta de CEP e benefícios pertencem ao mesmo painel de logística. */
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .hp-product-shipping-card { margin: 0 !important; }
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .woo-better-input-button-group-current-style {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 124px !important;
    gap: 10px !important;
}
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .woo-better-button-current-style,
html body.single-product.hp-product-model-2 .hp-product-logistics-panel #custom-postcode-form input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 124px !important;
    min-height: 50px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: #087eea !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    word-break: normal !important;
}
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .hp-product-trust {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    margin: 20px 0 0 !important;
}
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .hp-product-trust p:last-child { grid-column: 1 / -1; }
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .woo-better-parent-container .amount,
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .woo-better-parent-container [class*="price"],
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .hp-shipping-price { color: #087eea !important; font-weight: 750 !important; }
html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image,
html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image a,
html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image img {
    cursor: default !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    transform: none !important;
}

/* Valor de oferta fica na primeira linha; valor original e economia vêm
   abaixo. A hierarquia permanece estável em desktop e celular. */
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-price.is-on-sale,
html body.single-product.hp-product-model-2 .hp-product-summary-card .price.is-on-sale {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px 8px !important;
}
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-price.is-on-sale ins,
html body.single-product.hp-product-model-2 .hp-product-summary-card .price.is-on-sale ins { order: 1 !important; }
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-price.is-on-sale .hp-product-discount,
html body.single-product.hp-product-model-2 .hp-product-summary-card .price.is-on-sale .hp-product-discount { order: 2 !important; margin: 0 !important; }
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-price.is-on-sale del,
html body.single-product.hp-product-model-2 .hp-product-summary-card .price.is-on-sale del { order: 3 !important; flex-basis: 100% !important; margin: 0 !important; }
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-price.is-on-sale .hp-product-savings,
html body.single-product.hp-product-model-2 .hp-product-summary-card .price.is-on-sale .hp-product-savings { order: 4 !important; flex-basis: 100% !important; }
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-installment-line {
    order: 5 !important;
    flex-basis: 100% !important;
    display: block !important;
    color: #15995d !important;
    font-size: .82rem !important;
    font-weight: 650 !important;
}

/* Produto esgotado: selo retangular discreto e botão sem o halo cortado. */
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock::after,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li.hp-product-is-out-of-stock::after {
    top: 10px !important;
    right: 10px !important;
    min-height: 20px !important;
    height: 20px !important;
    padding: 0 7px !important;
    border-radius: 5px !important;
    content: 'Esgotado' !important;
    font-size: .58rem !important;
    font-weight: 500 !important;
}
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock .wp-block-woocommerce-product-button,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li.hp-product-is-out-of-stock .wp-block-woocommerce-product-button {
    overflow: visible !important;
    isolation: isolate;
}

html body.single-product.hp-product-model-2 .hp-gallery-static .flex-viewport {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }
html body.single-product.hp-product-model-2 .hp-gallery-static .woocommerce-product-gallery__wrapper {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
    }
html body.single-product.hp-product-model-2 .hp-gallery-static .woocommerce-product-gallery__image.hp-gallery-active {
        display: block !important;
        float: none !important;
        width: 100% !important;
        opacity: 1 !important;
    }
html body.single-product.hp-product-model-2 .hp-gallery-static .flex-control-thumbs li.hp-gallery-selected {
        border-color: #087eea !important;
        box-shadow: 0 0 0 1px #087eea !important;
}

/* Informações comerciais que acompanham os cards da Loja. */
body.hp-shop-model-2 .hp-shop-payment-info {
    display: grid;
    gap: 3px;
    margin: 6px 0 0;
    color: #15995d;
    font-size: .75rem;
    font-weight: 720;
    line-height: 1.2;
}
body.hp-shop-model-2 .hp-shop-discount {
    width: fit-content;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
    background: #16a765;
    font-size: .67rem;
}
body.hp-shop-model-2 .hp-shop-price-discount {
    display: inline-block;
    margin: 2px 0 0 6px;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
    background: #16a765;
    font-size: .67rem;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}
body.hp-shop-model-2 .hp-shop-query .wc-block-components-product-sale-badge,
body.hp-shop-model-2 .hp-shop-query .wc-block-grid__product-onsale,
body.hp-shop-model-2 .hp-shop-query .onsale { display: none !important; }
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .wp-block-button__link,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button button {
    display: grid !important;
    place-items: center !important;
    line-height: 1 !important;
}
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .wp-block-button__link::before,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button button::before {
    margin-top: 3px;
}
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .hp-cart-added {
    background: #16a765 !important;
    transform: translateY(-48px) !important;
    animation: hp-cart-confirmation .65s ease-in-out 2 alternate;
}
@keyframes hp-cart-confirmation { from { transform: translateY(-48px) scale(1); } to { transform: translateY(-48px) scale(1.08); } }
@media (max-width: 600px) {
    html body.single-product.hp-product-model-2 .hp-product-logistics-panel .woo-better-input-button-group-current-style { grid-template-columns: minmax(0, 1fr) 112px !important; }
    html body.single-product.hp-product-model-2 .hp-product-logistics-panel .woo-better-button-current-style,
    html body.single-product.hp-product-model-2 .hp-product-logistics-panel #custom-postcode-form input[type="submit"] { min-width: 112px !important; padding: 0 10px !important; }
}

/* v1.1.76 — acabamento consistente dos painéis e cartões do Modelo 2. */
html body.single-product.hp-product-model-2 .hp-product-commercial-panel,
html body.single-product.hp-product-model-2 .hp-product-logistics-panel,
html body.single-product.hp-product-model-2 .hp-product-installments,
html body.single-product.hp-product-model-2 .hp-product-purchase-panel {
    border-radius: 22px !important;
}
html body.single-product.hp-product-model-2 .hp-product-commercial-panel {
    overflow: hidden;
}
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .hp-product-shipping-card,
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .woo-better-parent-container,
html body.single-product.hp-product-model-2 .hp-product-logistics-panel #custom-postcode-form,
html body.single-product.hp-product-model-2 .hp-product-logistics-panel [class*="shipping-result"],
html body.single-product.hp-product-model-2 .hp-product-logistics-panel [class*="shipping_result"] {
    border-radius: 16px !important;
}
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .hp-product-shipping-card {
    overflow: hidden;
}
html body.single-product.hp-product-model-2 .hp-product-shipping-placeholder {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #d9e4eb;
    border-radius: 16px;
    color: #587081;
    background: #fff;
    font-size: .84rem;
}
html body.single-product.hp-product-model-2 .hp-shipping-placeholder-icon {
    color: #087eea;
    font-size: 1.4rem;
    line-height: 1;
}
html body.single-product.hp-product-model-2 .hp-shipping-awaiting-mount {
    visibility: hidden !important;
}
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .woo-better-input-button-group-current-style,
html body.single-product.hp-product-model-2 .hp-product-logistics-panel #custom-postcode-form {
    align-items: center !important;
}
html body.single-product.hp-product-model-2 .hp-product-logistics-panel .woo-better-button-current-style,
html body.single-product.hp-product-model-2 .hp-product-logistics-panel #custom-postcode-form input[type="submit"] {
    align-self: center !important;
    margin: 0 !important;
}

/* A aba Descrição abre por decisão do visitante e revela o restante com seta. */
html body.single-product.hp-product-model-2 .hp-product-details-card .hp-product-details-collapsed {
    position: relative;
    max-height: 225px;
    overflow: hidden;
}
html body.single-product.hp-product-model-2 .hp-product-details-card .hp-product-details-collapsed:not(.is-expanded)::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 58px;
    content: '';
    pointer-events: none;
    background: linear-gradient(transparent, #fff);
}
html body.single-product.hp-product-model-2 .hp-product-details-card .hp-product-details-collapsed.is-expanded {
    max-height: none;
    overflow: visible;
}
.hp-product-details-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 13px 0 0;
    padding: 0;
    border: 0;
    color: #087eea;
    background: transparent;
    font: inherit;
    font-size: .9rem;
    font-weight: 750;
    cursor: pointer;
}
.hp-product-details-toggle span { font-size: 1.15em; line-height: 1; }

/* O preço e o selo ficam na mesma linha, sem ocupar uma faixa inteira. */
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-inline,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-inline {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    vertical-align: middle !important;
}
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-inline ins,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-inline ins {
    display: inline !important;
}
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-inline del,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-inline del {
    display: block !important;
}
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-discount,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-discount {
    display: inline-flex !important;
    width: fit-content !important;
    align-items: center;
    margin: 0 0 0 6px !important;
    vertical-align: middle !important;
}
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-inline .hp-shop-price-discount,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-inline .hp-shop-price-discount {
    display: inline-flex !important;
}

/* Mesmo cartão da vitrine nos produtos relacionados. */
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li {
    position: relative;
    overflow: visible;
    min-width: 0;
    padding: 13px 13px 64px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: #f2f4f5 !important;
    box-shadow: 0 10px 25px rgba(28, 62, 83, .08);
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .onsale,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wc-block-components-product-sale-badge,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wc-block-grid__product-onsale {
    display: none !important;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wc-block-components-product-image,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-image {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid img,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-components-product-image img,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image img {
    transition: transform .24s ease;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li:not(.hp-product-is-out-of-stock):hover img,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li:not(.hp-product-is-out-of-stock):hover .wc-block-components-product-image img,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li:not(.hp-product-is-out-of-stock):hover .wp-block-woocommerce-product-image img {
    transform: scale(1.045);
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-payment-info {
    display: grid;
    gap: 3px;
    margin: 6px 0 0;
    color: #15995d;
    font-size: .75rem;
    font-weight: 720;
    line-height: 1.2;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-button .wp-block-button__link,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-button button {
    display: grid !important;
    place-items: center !important;
    line-height: 1 !important;
}

/* Sem estoque continua navegável, mas fica claramente desativado. */
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li.hp-product-is-out-of-stock {
    opacity: .54;
}
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock .wc-block-components-product-image,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock .wp-block-woocommerce-product-image,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li.hp-product-is-out-of-stock .wc-block-components-product-image,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li.hp-product-is-out-of-stock .wp-block-woocommerce-product-image {
    filter: grayscale(1);
}
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock::after,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li.hp-product-is-out-of-stock::after {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 2;
    box-sizing: border-box !important;
    display: block !important;
    width: 108px !important;
    min-height: 0 !important;
    padding: 6px 8px !important;
    border: 0 !important;
    border-radius: 8px !important;
    content: 'Fora de estoque';
    color: #fff;
    background: #68747b;
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
}
@media (max-width: 1250px) {
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 760px) {
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}

/* v1.1.89 — cartões móveis com área própria para o carrinho e preço contínuo. */
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-inline,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-inline {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    column-gap: 6px !important;
    width: auto !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-inline del,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-inline del {
    flex-basis: 100% !important;
    width: 100% !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-inline ins,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-inline ins {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-discount,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-discount {
    margin: 0 !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-current-price-line,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-current-price-line {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-current-price-line ins,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-current-price-line ins { order: 1 !important; }
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-current-price-line .hp-shop-price-discount,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-current-price-line .hp-shop-price-discount { order: 2 !important; }

/* Selo discreto, legível e independente do efeito de produto indisponível. */
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li.hp-product-is-out-of-stock {
    opacity: 1 !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock > :not(.hp-stock-marker),
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li.hp-product-is-out-of-stock > :not(.hp-stock-marker) {
    opacity: .52;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock::after,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li.hp-product-is-out-of-stock::after {
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    display: inline-flex !important;
    width: auto !important;
    align-items: center;
    min-height: 21px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    content: '⊘ Esgotado' !important;
    color: #fff !important;
    background: #111315 !important;
    font-size: .55rem !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

@media (max-width: 640px) {
    body.hp-shop-model-2 .hp-shop-query .hp-product-grid {
        gap: 14px !important;
    }

    body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li,
    body.hp-shop-model-2 .hp-shop-query .hp-product-grid > .product,
    body.hp-shop-model-2 .hp-shop-query .wp-block-post.product {
        min-height: 0 !important;
        padding: 10px !important;
    }

    body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li:not(.hp-product-is-out-of-stock)::after,
    body.hp-shop-model-2 .hp-shop-query .hp-product-grid > .product:not(.hp-product-is-out-of-stock)::after,
    body.hp-shop-model-2 .hp-shop-query .wp-block-post.product:not(.hp-product-is-out-of-stock)::after {
        display: none !important;
    }

    body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button {
        position: static !important;
        width: 42px !important;
        margin: 12px 0 0 auto !important;
        padding: 0 !important;
    }

    body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .wp-block-button__link,
    body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button button {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
    }
}

/* A leitura dos cards começa sempre na margem esquerda, sem peso excessivo. */
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .price,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .price,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-price {
    display: block !important;
    align-self: stretch !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-price-inline,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-inline,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .hp-shop-current-price-line,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-current-price-line {
    justify-content: flex-start !important;
    margin-left: 0 !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid h3,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-post-title,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid h3,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-post-title {
    font-weight: 500 !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .price ins,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price ins,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .price ins,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-price ins {
    font-weight: 650 !important;
}

body.hp-shop-model-2 .hp-shop-payment-info,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-payment-info {
    font-weight: 560 !important;
}

/* No celular a galeria não usa a altura/translação calculada pelo FlexSlider.
   Somente a imagem escolhida ocupa um quadro quadrado, sem criar rolagem. */
@media (max-width: 1040px) {
    html body.single-product.hp-product-model-2 .hp-gallery-static .flex-viewport {
        height: min(86vw, 520px) !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1;
        overflow: hidden !important;
    }
    html body.single-product.hp-product-model-2 .hp-gallery-static .woocommerce-product-gallery__wrapper {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        transform: none !important;
        transition: none !important;
    }
    html body.single-product.hp-product-model-2 .hp-gallery-static .woocommerce-product-gallery__image {
        display: none !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
    }
    html body.single-product.hp-product-model-2 .hp-gallery-static .woocommerce-product-gallery__image.hp-gallery-active {
        display: block !important;
        position: relative !important;
        float: none !important;
    }
    html body.single-product.hp-product-model-2 .hp-gallery-static .woocommerce-product-gallery__image > a,
    html body.single-product.hp-product-model-2 .hp-gallery-static .woocommerce-product-gallery__image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-price.is-on-sale,
    html body.single-product.hp-product-model-2 .hp-product-summary-card .price.is-on-sale {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px 7px !important;
    }
    html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-price.is-on-sale del,
    html body.single-product.hp-product-model-2 .hp-product-summary-card .price.is-on-sale del,
    html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-savings,
    html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-installment-line {
        flex-basis: 100% !important;
        margin-left: 0 !important;
    }
}

/* Relacionados: conteúdo e CTA usam a mesma coluna, independentemente do
   tamanho do título ou do número de parcelas do produto. */
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid h3,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-post-title {
    min-height: 44px;
    margin-bottom: 8px !important;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-current-price-line {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-height: 23px;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-payment-info {
    min-height: 20px;
    margin: 4px 0 10px !important;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-button {
    display: flex !important;
    align-items: center !important;
    min-height: 48px;
    margin-top: auto !important;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-button .wp-block-button__link,
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-button button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    margin: 0 !important;
    white-space: nowrap;
}

@media (max-width: 700px) {
    /* Título do produto mais leve e proporcional à tela do celular. */
    html body.single-product.hp-product-model-2 main.hp-product-page .hp-product-hero > .hp-product-summary-card h1,
    html body.single-product.hp-product-model-2 main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-title {
        font-size: 1.22rem !important;
        line-height: 1.18 !important;
        font-weight: 450 !important;
        letter-spacing: -.015em !important;
    }

    /* Os relacionados seguem a densidade dos cards da listagem: duas
       colunas, conteúdo contido e CTA sem invadir o card vizinho. */
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li {
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 12px !important;
        border-radius: 20px !important;
    }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid h3,
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-post-title {
        min-height: 58px;
        margin: 9px 0 6px !important;
        font-size: .82rem !important;
        font-weight: 500 !important;
        line-height: 1.22 !important;
    }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .price,
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-price {
        font-size: .78rem !important;
    }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-payment-info {
        min-height: 34px;
        margin: 4px 0 8px !important;
        font-size: .67rem !important;
    }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 42px;
    }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-button .wp-block-button__link,
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .wp-block-woocommerce-product-button button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
        padding: 0 8px !important;
        font-size: .72rem !important;
    }
}

/* Ordem comercial final, idêntica no detalhe e nos cards relacionados. */
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-price.is-on-sale,
html body.single-product.hp-product-model-2 .hp-product-summary-card .price.is-on-sale {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-sale-line { order: 1 !important; }
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-sale-line + del { order: 2 !important; }
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-savings { order: 3 !important; flex-basis: 100% !important; }
html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-installment-line { order: 4 !important; }

html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-inline {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 2px 6px !important;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-current-price-line {
    order: 1 !important;
    width: 100%;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-current-price-line + del {
    order: 2 !important;
    flex-basis: 100% !important;
    color: rgba(81, 95, 106, .58) !important;
    font-size: .84em !important;
}
html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-payment-info {
    order: 3 !important;
    color: #15995d !important;
}

@media (max-width: 700px) {
    /* Ordem estável dos relacionados: pagamento vem antes da ação de compra. */
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li > .wc-block-components-product-image,
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li > .wp-block-woocommerce-product-image { order: 1 !important; }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li > h3,
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li > .wp-block-post-title { order: 2 !important; }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li > .price,
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li > .wp-block-woocommerce-product-price { order: 3 !important; }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li > .hp-shop-payment-info {
        order: 4 !important;
        min-height: 0 !important;
        margin: 6px 0 10px !important;
    }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid > li > .wp-block-woocommerce-product-button {
        order: 5 !important;
        margin-top: 0 !important;
    }
    html body.single-product.hp-product-model-2 .hp-related-products .hp-related-grid .hp-shop-price-discount {
        display: inline-flex !important;
        align-items: center !important;
        width: fit-content !important;
        padding: 2px 5px !important;
        border-radius: 4px !important;
        color: #fff !important;
        background: #16a765 !important;
        font-size: .62rem !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
    }
}
