:root {
    --hp-ink: #111315;
    --hp-text: #202428;
    --hp-muted: #687077;
    --hp-line: rgba(22, 28, 32, 0.09);
    --hp-panel: rgba(255, 255, 255, 0.82);
    --hp-soft: #f5f7f7;
    --hp-soft-strong: #edf2f1;
    --hp-green: #477a68;
    --hp-blue: #2b7692;
    --hp-aqua: #d9f2ec;
    --hp-radius-lg: 36px;
    --hp-radius-md: 26px;
    --hp-shadow: 0 28px 80px rgba(20, 28, 34, 0.09);
}

/* v1.1.61 — Modelo 2 da Loja: card flat com ação circular. */
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 {
    position: relative;
    overflow: visible !important;
    padding: 12px 14px 18px !important;
    border: 0 !important;
    border-radius: 28px !important;
    background: #f3f4f5 !important;
    box-shadow: none !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-components-product-image,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-grid__product-image,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image {
    position: relative;
    z-index: 1;
    margin: -24px -2px 18px !important;
    overflow: hidden;
    border: 1px solid rgba(24, 42, 58, 0.1);
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(24, 42, 58, 0.12);
}

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 .wc-block-grid__product-image img,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image img {
    padding: 9px;
    box-sizing: border-box;
    background: #fff;
}

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 {
    min-height: 3.15em !important;
    margin-bottom: 6px !important;
    color: #28323b !important;
    font-size: clamp(0.8rem, 0.75vw, 0.91rem) !important;
    font-weight: 650 !important;
}

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 {
    padding-right: 52px;
    color: #53606a !important;
    font-weight: 560 !important;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button {
    position: absolute !important;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    width: 46px !important;
    margin: 0 !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 {
    position: relative;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    display: grid !important;
    place-items: center;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: transparent !important;
    background: var(--hp-blue, #087eea) !important;
    box-shadow: 0 10px 20px rgba(8, 126, 234, 0.24) !important;
    font-size: 0 !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 {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.2 10.1a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 1.9-1.4L20.2 8H7M10 20a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm8 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.2 10.1a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 1.9-1.4L20.2 8H7M10 20a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm8 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .wp-block-button__link:hover,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button button:hover {
    transform: translateY(-2px);
    background: var(--hp-blue-dark, #075eae) !important;
}

html[data-theme="dark"] body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li,
html[data-theme="dark"] body.hp-shop-model-2 .hp-shop-query .hp-product-grid > .product,
html[data-theme="dark"] body.hp-shop-model-2 .hp-shop-query .wp-block-post.product {
    background: #20282e !important;
}

html[data-theme="dark"] body.hp-shop-model-2 .hp-shop-query .hp-product-grid h3,
html[data-theme="dark"] body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-post-title {
    color: #e8edf1 !important;
}

@media (max-width: 640px) {
    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 {
        margin-top: 14px;
        padding: 9px 9px 14px !important;
        border-radius: 20px !important;
    }

    body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-components-product-image,
    body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-grid__product-image,
    body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image {
        margin: -18px 0 12px !important;
        border-radius: 15px !important;
    }

    body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button {
        right: 9px;
        bottom: 9px;
        width: 38px !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: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
    }
}

/* v1.0.87 — o main pode vir dentro de um wrapper do editor; por isso a
 * ruptura para a largura da viewport precisa mirar o elemento real, e não
 * somente um filho direto de .wp-site-blocks. */
@media (min-width: 1041px) {
    html body.single-product main.hp-product-page,
    html body.single-product .hp-product-page.wp-block-group {
        position: relative !important;
        left: auto !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(420px, 520px) !important;
        width: 100vw !important;
        max-width: none !important;
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
        padding: 108px 24px 112px !important;
        column-gap: 2px !important;
        row-gap: 32px !important;
        box-sizing: border-box !important;
        align-items: start !important;
    }

    html body.single-product main.hp-product-page > .hp-product-hero,
    html body.single-product .hp-product-page.wp-block-group > .hp-product-hero {
        display: contents !important;
    }

    html body.single-product main.hp-product-page .hp-product-gallery .woocommerce-product-gallery__image img,
    html body.single-product .hp-product-page.wp-block-group .hp-product-gallery .woocommerce-product-gallery__image img {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery__image img.hp-gallery-editorial-image {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* v1.1.3 — segurança visual para integrações que recriam os nós do Woo:
 * mesmo que o DOM volte a separar os blocos, a compra fica antes do frete. */
html body.single-product .hp-product-summary-card {
    display: flex !important;
    flex-direction: column !important;
}

html body.single-product .hp-product-summary-card > .hp-product-purchase-panel,
html body.single-product .hp-product-summary-card > .hp-product-purchase,
html body.single-product .hp-product-summary-card > form.cart {
    order: 4 !important;
}

html body.single-product .hp-product-summary-card > .hp-product-shipping-card,
html body.single-product .hp-product-summary-card > .woo-better-parent-container {
    order: 5 !important;
}

html body.single-product .hp-product-summary-card > .hp-product-short {
    order: 6 !important;
}

html body.single-product .hp-product-summary-card > .hp-product-trust {
    order: 7 !important;
}

/* Tela de acesso WooCommerce — painel dividido e responsivo, preservando os
 * formulários e validações nativos. */
body.woocommerce-account:not(.logged-in) {
    background: #eef3f0 !important;
}

body.woocommerce-account:not(.logged-in) .wp-site-blocks > main,
body.woocommerce-account:not(.logged-in) main.wp-block-group {
    max-width: none !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 130px 24px 72px !important;
}

.hp-account-auth-shell {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr);
    width: min(1024px, 100%);
    min-height: 640px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(22, 38, 45, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 26px 80px rgba(26, 47, 49, .13);
}

.hp-account-auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 38px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(150deg, #103d45 0%, #276b6a 48%, #a7dbb6 130%);
}

.hp-account-auth-visual::before,
.hp-account-auth-visual::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    filter: blur(1px);
    opacity: .7;
}

.hp-account-auth-visual::before {
    width: 430px;
    height: 430px;
    top: 24%;
    left: -48%;
    border: 46px solid rgba(255,255,255,.13);
}

.hp-account-auth-visual::after {
    width: 280px;
    height: 280px;
    right: -32%;
    bottom: 10%;
    border: 34px solid rgba(210,246,226,.25);
}

.hp-account-auth-brand,
.hp-account-auth-copy {
    position: relative;
    z-index: 1;
}

.hp-account-auth-brand {
    font-size: 1.65rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -.07em;
}

.hp-account-auth-copy {
    max-width: 260px;
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.55;
}

.hp-account-auth-content {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: clamp(38px, 6vw, 76px);
}

.hp-account-auth-content .woocommerce {
    width: min(100%, 420px);
    margin: 0 auto;
}

.hp-account-auth-content .woocommerce::before {
    display: block;
    margin: 0 0 8px;
    color: #1b2a30;
    font-size: 1.65rem;
    font-weight: 750;
    line-height: 1.1;
    text-align: center;
    content: "Acesse sua conta";
}

.hp-account-auth-content .woocommerce::after {
    display: block;
    margin: 0 0 26px;
    color: #738088;
    font-size: .9rem;
    text-align: center;
    content: "Entre ou crie seu cadastro para acompanhar seus pedidos.";
}

.hp-account-auth-content .woocommerce .u-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px;
    margin: 0 !important;
}

.hp-account-auth-content .woocommerce .u-column1,
.hp-account-auth-content .woocommerce .u-column2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.hp-account-auth-content .woocommerce form.woocommerce-form {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.hp-account-auth-content .woocommerce form h2 {
    margin: 0 0 16px !important;
    color: #26353b;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.hp-account-auth-content .woocommerce label {
    color: #405157;
    font-size: .84rem;
    font-weight: 650;
}

.hp-account-auth-content .woocommerce input.input-text {
    min-height: 50px;
    margin-top: 7px;
    border: 1px solid #dce5e3;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.hp-account-auth-content .woocommerce button.button,
.hp-account-auth-content .woocommerce .woocommerce-button {
    min-height: 50px;
    border: 0 !important;
    border-radius: 999px !important;
    background: #1976d2 !important;
    color: #fff !important;
    font-weight: 750;
}

.hp-account-auth-content .woocommerce .woocommerce-form-login__rememberme {
    margin-top: 13px;
    font-size: .8rem;
}

.hp-account-auth-content .woocommerce .woocommerce-LostPassword {
    margin: 14px 0 0;
    font-size: .84rem;
}

.hp-account-auth-content .woocommerce .u-column2 {
    padding-top: 18px;
    border-top: 1px solid #e5ecea;
}

@media (max-width: 700px) {
    body.woocommerce-account:not(.logged-in) .wp-site-blocks > main,
    body.woocommerce-account:not(.logged-in) main.wp-block-group {
        padding: 104px 16px 42px !important;
    }

    .hp-account-auth-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 20px;
    }

    .hp-account-auth-visual {
        min-height: 170px;
        padding: 26px;
    }

    .hp-account-auth-copy {
        max-width: none;
    }

    .hp-account-auth-content {
        padding: 34px 24px 42px;
    }
}

/* v1.0.91 — painel de compra compacto: a decisão de compra fica inteira na
 * primeira tela, inclusive para produtos com seleção de variação. */
@media (min-width: 1041px) {
    html body.single-product .hp-product-summary-card {
        padding: 30px 34px !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-kicker {
        display: none !important;
    }

    html body.single-product .hp-product-summary-card h1,
    html body.single-product .hp-product-summary-card .hp-product-title {
        max-width: none !important;
        margin: 0 0 12px !important;
        font-size: clamp(2rem, 2.35vw, 2.5rem) !important;
        font-weight: 680 !important;
        line-height: 1.05 !important;
        letter-spacing: -0.025em !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-price,
    html body.single-product .hp-product-summary-card .price {
        margin: 0 0 12px !important;
        font-size: clamp(1.55rem, 1.85vw, 1.85rem) !important;
        line-height: 1.1 !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-short {
        margin: 0 0 12px !important;
        font-size: 0.88rem !important;
        line-height: 1.35 !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-meta {
        margin: 0 0 10px !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-meta-row > *,
    html body.single-product .hp-product-summary-card .hp-product-meta .wp-block-post-terms,
    html body.single-product .hp-product-summary-card .hp-product-meta .wp-block-woocommerce-product-sku {
        min-height: 28px !important;
        padding: 0 9px !important;
        font-size: 0.7rem !important;
    }

    html body.single-product .hp-product-summary-card form.cart,
    html body.single-product .hp-product-summary-card form.variations_form.cart {
        display: block !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 14px !important;
    }

    html body.single-product .hp-product-summary-card form.variations_form.cart table.variations {
        width: 100% !important;
        height: auto !important;
        margin: 0 0 12px !important;
    }

    html body.single-product .hp-product-summary-card form.variations_form.cart table.variations tr {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(154px, 1.25fr) !important;
        gap: 12px !important;
        align-items: center !important;
    }

    html body.single-product .hp-product-summary-card form.variations_form.cart table.variations th,
    html body.single-product .hp-product-summary-card form.variations_form.cart table.variations td {
        display: block !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    html body.single-product .hp-product-summary-card form.variations_form.cart table.variations label {
        display: block !important;
        font-size: 0.82rem !important;
        font-weight: 720 !important;
        line-height: 1.25 !important;
    }

    html body.single-product .hp-product-summary-card form.variations_form.cart select {
        width: 100% !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 34px 0 12px !important;
        font-size: 0.83rem !important;
    }

    html body.single-product .hp-product-summary-card form.variations_form.cart .reset_variations {
        display: none !important;
    }

    html body.single-product .hp-product-summary-card form.variations_form.cart .single_variation_wrap,
    html body.single-product .hp-product-summary-card form.variations_form.cart .woocommerce-variation-add-to-cart {
        display: flex !important;
        min-height: 0 !important;
        margin: 0 !important;
        gap: 10px !important;
        align-items: center !important;
    }

    html body.single-product .hp-product-summary-card form.variations_form.cart .single_variation {
        display: none !important;
    }

    html body.single-product .hp-product-summary-card form.variations_form.cart .quantity .qty,
    html body.single-product .hp-product-summary-card form.variations_form.cart .single_add_to_cart_button {
        min-height: 46px !important;
        height: 46px !important;
        line-height: 46px !important;
    }
}

/* v1.0.90 — neutraliza a grade de duas colunas da primeira versão da página.
 * A galeria passa a ocupar explicitamente as duas faixas esquerdas; o resumo
 * usa somente a terceira, sem uma coluna implícita vazia entre os dois. */
@media (min-width: 1041px) {
    html body.single-product main.hp-product-page > .hp-product-hero > .wp-block-column.hp-product-media-column,
    html body.single-product .hp-product-page.wp-block-group > .hp-product-hero > .wp-block-column.hp-product-media-column {
        grid-column: 1 / span 2 !important;
        grid-row: 2 !important;
        align-self: stretch !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: none !important;
        flex-basis: auto !important;
    }

    html body.single-product main.hp-product-page > .hp-product-hero > .wp-block-column.hp-product-summary-card,
    html body.single-product .hp-product-page.wp-block-group > .hp-product-hero > .wp-block-column.hp-product-summary-card {
        grid-column: 3 !important;
        grid-row: 2 / span 30 !important;
        align-self: start !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: none !important;
        flex-basis: auto !important;
    }

    html body.single-product .hp-product-media-column > .hp-product-gallery,
    html body.single-product .hp-product-media-column > .wp-block-woocommerce-product-image-gallery.hp-product-gallery,
    html body.single-product .hp-product-media-column .woocommerce-product-gallery,
    html body.single-product .hp-product-media-column .flex-viewport,
    html body.single-product .hp-product-media-column .woocommerce-product-gallery__wrapper {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

html {
    scroll-behavior: smooth;
}

body.hydrapower-kiosko {
    margin: 0;
    color: var(--hp-text);
    background: #fff;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

body.hydrapower-kiosko * {
    box-sizing: border-box;
}

body.hydrapower-kiosko a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

body.hydrapower-kiosko .wp-site-blocks {
    padding: 0;
}

body.hydrapower-kiosko .wp-site-blocks > header {
    position: relative;
    z-index: 40;
}

/* O editor de blocos injeta um "block gap" entre o template part do header
   e o main. Em páginas com a primeira faixa de cor (Blog/Carrinho) isso
   aparecia como um recorte claro acima do header flutuante. */
body.hydrapower-kiosko .wp-site-blocks > header + main.hp-blog-page,
body.hydrapower-kiosko.hp-block-product-page .wp-site-blocks > header + .woocommerce,
body.hydrapower-kiosko.single-product .wp-site-blocks > header + .woocommerce {
    margin-block-start: 0 !important;
    border-radius: 0 !important;
}

.hp-product-page,
.hp-shop-page-shell,
body.hp-block-cart-page main,
body.hp-block-checkout-page main,
body.woocommerce-cart main,
body.woocommerce-checkout main {
    width: min(1240px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
    padding-top: clamp(128px, 12vw, 168px);
    padding-bottom: clamp(72px, 9vw, 116px);
}

.hp-product-page > *,
.hp-shop-page-shell > * {
    margin-block-start: 0;
}

.hp-product-breadcrumbs {
    margin-bottom: 18px;
    color: var(--hp-muted);
    font-size: 0.78rem;
}

.hp-product-breadcrumbs a {
    color: var(--hp-muted);
    text-decoration: none;
}

.hp-product-hero {
    gap: 18px !important;
    align-items: stretch !important;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-lg);
    background:
        radial-gradient(circle at 12% 0%, rgba(217, 242, 236, 0.84), transparent 34%),
        radial-gradient(circle at 100% 10%, rgba(217, 237, 247, 0.78), transparent 32%),
        linear-gradient(135deg, #fbfcfc, #f0f3f2);
    box-shadow: var(--hp-shadow);
}

.hp-product-media-column,
.hp-product-summary-card {
    min-width: 0;
}

.hp-product-gallery,
.wp-block-woocommerce-product-image-gallery.hp-product-gallery {
    height: 100%;
    padding: 16px;
    border: 1px solid rgba(20, 28, 34, 0.07);
    border-radius: 30px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.hp-product-gallery .woocommerce-product-gallery,
.hp-product-gallery .woocommerce-product-gallery__wrapper {
    width: 100% !important;
    margin: 0 !important;
}

/* O script nativo da galeria pode manter opacity: 0 depois de trocar o slide.
   A imagem existe, mas a área fica branca. Mantemos a galeria visível. */
.hp-product-gallery .woocommerce-product-gallery {
    opacity: 1 !important;
}

.hp-product-gallery .flex-viewport,
.hp-product-gallery .woocommerce-product-gallery__image {
    overflow: hidden;
    aspect-ratio: 1.04;
    border-radius: 25px;
    background:
        radial-gradient(circle at 20% 10%, rgba(232, 243, 239, 0.82), transparent 28%),
        #fff;
}

.hp-product-gallery .flex-viewport {
    width: 100%;
    min-height: 360px;
}

.hp-product-gallery .woocommerce-product-gallery__wrapper,
.hp-product-gallery .woocommerce-product-gallery__image,
.hp-product-gallery .woocommerce-product-gallery__image a {
    height: 100%;
}

.hp-product-gallery .woocommerce-product-gallery__image a {
    display: flex;
    width: 100% !important;
    height: 100% !important;
    align-items: center;
    justify-content: center;
}

.hp-product-gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.hp-product-gallery .woocommerce-product-gallery__image img {
    padding: clamp(18px, 2.8vw, 34px);
    object-fit: contain;
}

.hp-product-gallery .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

.hp-product-gallery .flex-control-thumbs li {
    overflow: hidden;
    width: auto !important;
    aspect-ratio: 1;
    border: 1px solid rgba(20, 28, 34, 0.07);
    border-radius: 16px;
    background: #f7f8f8;
}

/* Arquivos ausentes na galeria não viram uma miniatura clicável em branco. */
.hp-product-gallery .flex-control-thumbs li.hp-gallery-thumbnail-unavailable {
    display: none !important;
}

.hp-product-gallery .flex-control-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Vídeo externo: a URL fica no produto, e o arquivo continua no provedor. */
.hp-product-video-modal[hidden] { display: none !important; }

.hp-product-video-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(7, 19, 34, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hp-product-video-modal__panel {
    position: relative;
    width: min(430px, calc(100vw - 48px));
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 22px;
    background: #000;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .42);
}

.hp-product-video-modal__panel iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.hp-product-video-modal__close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    color: #fff;
    background: rgba(4, 16, 28, .62);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

body.hp-product-video-modal-open { overflow: hidden !important; }

.hp-product-gallery .hp-product-gallery-video-trigger {
    position: relative;
    display: grid !important;
    width: 100% !important;
    min-height: 82px !important;
    place-content: center !important;
    gap: 3px;
    margin: 0 0 10px !important;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(5, 89, 176, .24);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, #087eea, #0359b0);
    cursor: pointer;
}

.hp-product-gallery .hp-product-gallery-video-trigger::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 46, 93, .1), rgba(1, 54, 108, .58));
    content: "";
    pointer-events: none;
}

.hp-product-gallery .hp-product-gallery-video-preview {
    position: absolute;
    top: -33%;
    left: -33%;
    z-index: 0;
    width: 166%;
    height: 166%;
    border: 0;
    opacity: .9;
    pointer-events: none;
}

.hp-product-gallery .hp-product-gallery-video-trigger .hp-gallery-video-thumb__play {
    position: relative;
    z-index: 2;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    animation: hp-gallery-video-pulse 1.8s ease-out infinite;
}

.hp-product-gallery .hp-product-gallery-video-trigger .hp-gallery-video-thumb__play::before {
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: inherit;
    content: "";
    animation: hp-gallery-video-ring 1.8s ease-out infinite;
}

.hp-product-gallery .hp-product-gallery-video-trigger svg {
    width: 15px;
    height: 15px;
    margin-left: 2px;
    fill: currentColor;
}

.hp-product-gallery .hp-product-gallery-video-trigger small {
    position: relative;
    z-index: 2;
    font-size: .63rem;
    line-height: 1;
}

@keyframes hp-gallery-video-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes hp-gallery-video-ring {
    0% { opacity: .75; transform: scale(.76); }
    75%, 100% { opacity: 0; transform: scale(1.3); }
}

.hp-product-gallery .woocommerce-product-gallery__trigger {
    top: 18px !important;
    right: 18px !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 16px 32px rgba(20, 28, 34, 0.12);
    backdrop-filter: blur(14px);
}

.hp-product-summary-card {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding: clamp(26px, 3.2vw, 42px);
    border: 1px solid rgba(20, 28, 34, 0.07);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 46px rgba(20, 28, 34, 0.055);
}

.hp-product-kicker {
    width: max-content;
    max-width: 100%;
    margin: 0 0 16px !important;
    padding: 8px 12px;
    border-radius: 999px;
    color: #347367;
    background: #e8f3ef;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-product-title,
.hp-product-summary-card h1 {
    max-width: 640px;
    margin: 0 0 18px !important;
    color: var(--hp-text);
    font-size: clamp(2.05rem, 3.45vw, 3.55rem);
    font-weight: 790;
    line-height: 1;
    letter-spacing: 0;
}

.hp-product-price,
.hp-product-summary-card .price,
.wp-block-woocommerce-product-price.hp-product-price {
    margin: 0 0 18px !important;
    color: var(--hp-text) !important;
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    font-weight: 850;
}

.hp-product-short {
    max-width: 560px;
    margin: 0 0 18px !important;
    color: #4f565c;
    font-size: 1rem;
    line-height: 1.58;
}

.hp-product-meta {
    margin: 0 0 16px !important;
}

.hp-product-meta-row {
    gap: 8px !important;
}

.hp-product-meta-row > *,
.hp-product-meta .wp-block-post-terms,
.hp-product-meta .wp-block-woocommerce-product-sku {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    color: var(--hp-muted);
    background: var(--hp-soft-strong);
    font-size: 0.78rem;
    font-weight: 700;
}

.hp-product-meta a {
    color: var(--hp-text);
    text-decoration: none;
}

.hp-product-purchase,
.hp-product-summary-card form.cart {
    margin: 0 0 14px !important;
    padding: 16px;
    border: 1px solid rgba(20, 28, 34, 0.06);
    border-radius: 24px;
    background: #f6f7f7;
}

.hp-product-purchase form.cart,
.hp-product-summary-card form.cart {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.woocommerce .quantity .qty,
.wc-block-components-quantity-selector {
    min-height: 50px;
    border: 1px solid rgba(20, 28, 34, 0.1) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--hp-text);
    font-weight: 760;
}

.woocommerce .quantity .qty {
    width: 74px;
}

.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button,
.wp-block-button__link,
.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-product-button .wp-block-button__link {
    min-height: 52px !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: var(--hp-ink) !important;
    background-color: var(--hp-ink) !important;
    background-image: none !important;
    font-size: 0.92rem !important;
    font-weight: 780 !important;
    line-height: 52px !important;
    text-decoration: none !important;
    box-shadow: 0 18px 38px rgba(17, 19, 21, 0.15);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.wp-block-button__link:hover,
.wc-block-components-button:not(.is-link):hover {
    color: #fff !important;
    background: #2f3537 !important;
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(17, 19, 21, 0.18);
}

.hp-product-trust {
    gap: 8px !important;
}

.hp-product-trust p {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 10px;
    border-radius: 16px;
    color: #4c5357;
    background: #eef2f0;
    font-size: 0.74rem;
    font-weight: 780;
    text-align: center;
}

.hp-product-details-card,
.hp-related-products {
    margin-top: 28px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(20, 28, 34, 0.07);
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(20, 28, 34, 0.045);
}

.hp-product-details-card .wc-tabs,
.hp-product-details-card .woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px !important;
    padding: 0 !important;
}

.hp-product-details-card .wc-tabs::before,
.hp-product-details-card .wc-tabs li::before,
.hp-product-details-card .wc-tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.hp-product-details-card .wc-tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--hp-soft-strong) !important;
}

.hp-product-details-card .wc-tabs li.active,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    color: #fff !important;
    background: var(--hp-ink) !important;
}

.hp-product-details-card .wc-tabs a,
.woocommerce div.product .woocommerce-tabs ul.tabs a {
    padding: 10px 15px !important;
    color: inherit !important;
    font-size: 0.82rem;
    font-weight: 760;
    text-decoration: none;
}

.hp-product-details-card .woocommerce-Tabs-panel,
.woocommerce div.product .woocommerce-Tabs-panel {
    max-width: 880px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #42484d;
    font-size: 1.03rem;
    line-height: 1.7;
}

.hp-product-details-card h2,
.hp-related-products h2,
.hp-section-title {
    margin: 0 0 16px;
    color: var(--hp-text);
    font-size: clamp(1.45rem, 2.35vw, 2rem);
    font-weight: 790;
    letter-spacing: 0;
}

.hp-related-products {
    background: #f6f7f7;
}

.hp-related-grid,
.hp-product-grid {
    gap: 16px !important;
}

/* Vitrine da Loja: seis produtos por linha em desktop. O bloco do WooCommerce
   também recebe esta regra para manter o grid estável após atualizações do editor. */
.hp-shop-query .hp-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.hp-shop-query .hp-product-grid > li {
    min-width: 0;
}

.hp-related-grid > li,
.hp-product-grid > li,
.wp-block-post.product {
    overflow: hidden;
    padding: 14px !important;
    border: 1px solid rgba(20, 28, 34, 0.07);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 28, 34, 0.05);
}

.hp-related-grid .wc-block-components-product-image,
.hp-product-grid .wc-block-components-product-image,
.hp-related-grid .wp-block-woocommerce-product-image,
.hp-product-grid .wp-block-woocommerce-product-image {
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 12px;
    border-radius: 18px;
    background: #f7f8f8;
}

.hp-related-grid img,
.hp-product-grid img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.hp-related-grid h3,
.hp-product-grid h3 {
    min-height: 42px;
    margin: 0 0 8px !important;
    color: var(--hp-text);
    font-size: 1rem !important;
    font-weight: 790;
    line-height: 1.22;
}

.hp-related-grid .price,
.hp-product-grid .price,
.wp-block-woocommerce-product-price {
    color: var(--hp-text);
    font-weight: 850;
}

.hp-shop-hero {
    width: min(92vw, 1720px);
    max-width: none;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto 56px;
    padding: 58px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px;
    color: #fff;
    background:
        linear-gradient(90deg,
            rgba(15, 15, 15, 0.82) 0%,
            rgba(15, 15, 15, 0.6) 38%,
            rgba(15, 15, 15, 0.1) 72%),
        var(--hp-shop-banner-image, url("https://res.cloudinary.com/dncdgiwhp/image/upload/v1780948383/C%C3%B3pia_de_Cilindro_Hidr%C3%A1ulico_12_mjlssd.png")) center right / 100% auto no-repeat;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.1);
    transform: none;
}

.hp-shop-hero .hp-product-kicker {
    width: fit-content;
    margin: 0 0 16px !important;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hp-shop-hero-copy {
    min-width: 0;
    max-width: 560px;
}

.hp-shop-title {
    max-width: 560px;
    margin: 0 !important;
    color: #fff;
    font-size: clamp(2.15rem, 3.6vw, 2.9rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0;
}

.hp-shop-copy {
    max-width: 460px;
    margin: 18px 0 0 !important;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.55;
}

.hp-shop-hero-button {
    width: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-shop-hero-button:hover {
    transform: translateY(-2px);
}

.hp-shop-hero-pill {
    display: none;
    justify-self: end;
    align-self: start;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hp-shop-toolbar {
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--hp-line);
    border-radius: 28px;
    background: rgba(246, 247, 247, 0.72);
    box-shadow: 0 18px 48px rgba(20, 28, 34, 0.055);
}

/* v1.1.57 — filtros nativos do WooCommerce com linguagem visual HydraPower. */
.hp-shop-catalog-layout {
    width: min(92vw, 1720px);
    max-width: none !important;
    align-items: flex-start !important;
    gap: clamp(24px, 2.2vw, 38px) !important;
}

.hp-shop-filter-column {
    flex: 0 0 260px !important;
    position: sticky;
    top: 104px;
    z-index: 3;
}

.hp-shop-products-column {
    min-width: 0;
    flex: 1 1 auto !important;
}

.hp-shop-filter-card {
    padding: 24px 22px 26px;
    border: 1px solid var(--hp-line);
    border-radius: 28px;
    color: var(--hp-text);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 55px rgba(20, 42, 62, 0.08);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.hp-shop-filter-heading {
    margin: 0 0 8px !important;
}

.hp-shop-filter-heading h2 {
    margin: 0 !important;
    font-size: 1.08rem !important;
    font-weight: 720;
    letter-spacing: -0.02em;
}

.hp-shop-filter-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--hp-blue);
    background: rgba(19, 121, 209, 0.09);
}

.hp-shop-filter-card .wc-block-product-filters {
    --wc-product-filters-text-color: var(--hp-text);
    --wc-product-filters-background-color: transparent;
    gap: 0 !important;
}

.hp-shop-filter-card .wp-block-woocommerce-product-filter-price,
.hp-shop-filter-card .wp-block-woocommerce-product-filter-taxonomy,
.hp-shop-filter-card .wp-block-woocommerce-product-filter-status {
    margin: 0 !important;
    padding: 21px 0;
    border-top: 1px solid var(--hp-line);
}

.hp-shop-filter-card h3 {
    margin: 0 0 14px !important;
    color: var(--hp-text);
    font-size: 0.9rem !important;
    font-weight: 680;
}

.hp-shop-filter-card label,
.hp-shop-filter-card button,
.hp-shop-filter-card input {
    font-family: inherit !important;
}

.hp-shop-filter-card label {
    color: var(--hp-text);
    font-size: 0.86rem;
    line-height: 1.35;
}

.hp-shop-filter-card input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--hp-blue);
}

.hp-shop-filter-card .wc-block-product-filter-clear-button {
    margin: 0 0 15px;
}

.hp-shop-filter-card .wc-block-product-filter-clear-button .wp-block-button__link {
    padding: 7px 12px !important;
    border: 1px solid var(--hp-line) !important;
    border-radius: 999px !important;
    color: var(--hp-blue) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.78rem !important;
    font-weight: 620 !important;
}

.hp-shop-filter-card .wc-block-components-price-slider__range-input-progress {
    --range-color: var(--hp-blue);
}

.hp-shop-filter-card .wc-block-form-text-input input,
.hp-shop-filter-card input[type="number"] {
    border-color: var(--hp-line) !important;
    border-radius: 12px !important;
    background: var(--hp-panel) !important;
}

.hp-shop-filter-toggle {
    display: none;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 0 14px;
    padding: 0 17px;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    color: var(--hp-text);
    background: var(--hp-panel);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1;
}

.hp-shop-filter-close {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--hp-line);
    border-radius: 50%;
    color: var(--hp-text);
    background: var(--hp-soft);
}

html[data-theme="dark"] .hp-shop-filter-card {
    background: rgba(24, 31, 36, 0.9);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

@media (max-width: 1180px) {
    .hp-shop-filter-column {
        flex-basis: 230px !important;
    }

    .hp-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 860px) {
    .hp-shop-catalog-layout {
        display: block !important;
    }

    .hp-shop-filter-toggle {
        display: inline-flex;
    }

    .hp-shop-filter-close {
        display: inline-flex;
    }

    .hp-shop-filter-icon {
        display: none;
    }

    .hp-shop-filter-column {
        width: 100%;
        height: 100%;
        display: block !important;
        position: fixed;
        inset: 0;
        z-index: 10000;
        padding: 70px 18px 18px;
        background: rgba(8, 25, 40, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .hp-shop-filter-column > .hp-shop-filter-card {
        width: min(390px, 92vw);
        max-height: calc(100vh - 88px);
        margin: 0 0 0 auto;
        overflow: auto;
        transform: translateX(24px);
        transition: transform 0.3s ease;
    }

    body.hp-shop-filters-open {
        overflow: hidden;
    }

    body.hp-shop-filters-open .hp-shop-filter-column {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.hp-shop-filters-open .hp-shop-filter-column > .hp-shop-filter-card {
        transform: translateX(0);
    }
}

@media (max-width: 640px) {
    .hp-shop-catalog-layout {
        width: 100%;
    }

    .hp-shop-filter-card {
        padding: 21px 18px 24px;
        border-radius: 24px;
    }
}

/* v1.1.58 — alinhamento do catálogo, preço legível e cards consistentes. */
.hp-shop-catalog-layout,
.hp-shop-catalog-layout.wp-block-columns {
    align-items: flex-start !important;
}

.hp-shop-products-column > .hp-shop-toolbar,
.hp-shop-products-column > .hp-shop-toolbar.wp-block-group {
    margin-top: 0 !important;
}

.hp-shop-filter-card .wc-block-components-price-slider__controls,
.hp-shop-filter-card .wc-block-product-filter-price-slider__controls {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;
}

.hp-shop-filter-card .wc-block-components-price-slider__amount,
.hp-shop-filter-card .wc-block-product-filter-price-slider input,
.hp-shop-filter-card input[type="number"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding-right: 9px !important;
    padding-left: 9px !important;
    font-size: 0.78rem !important;
    font-variant-numeric: tabular-nums;
}

.hp-shop-query .hp-product-grid > li,
.hp-shop-query .hp-product-grid > .product,
.hp-shop-query .wp-block-post.product {
    display: flex !important;
    min-height: 100%;
    flex-direction: column;
    box-sizing: border-box;
}

.hp-shop-query .hp-product-grid h3,
.hp-shop-query .hp-product-grid .wp-block-post-title {
    min-height: 3.7em !important;
    margin-bottom: 7px !important;
    font-size: clamp(0.78rem, 0.72vw, 0.88rem) !important;
    font-weight: 520 !important;
    line-height: 1.23 !important;
}

.hp-shop-query .hp-product-grid .price,
.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price {
    margin-top: 0 !important;
    color: var(--hp-text) !important;
    font-size: clamp(0.84rem, 0.76vw, 0.94rem) !important;
    font-weight: 780 !important;
    line-height: 1.25;
}

.hp-shop-query .hp-product-grid .price del,
.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price del {
    color: #9aa3ad !important;
    opacity: 1 !important;
    text-decoration-color: #9aa3ad !important;
    text-decoration-thickness: 1.5px;
}

/* v1.1.59 — faixa de categorias compartilhada entre Início e Loja. */
.hp-shop-categories {
    width: min(92vw, 1720px);
    max-width: none;
    margin: 0 auto 42px;
}

.hp-shop-categories .category-title {
    margin: 0 0 24px;
    color: var(--hp-text);
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    font-weight: 680;
    letter-spacing: -0.025em;
}

.hp-shop-categories .category-row {
    position: relative;
}

.hp-shop-categories .category-scroller {
    display: flex;
    gap: clamp(16px, 1.6vw, 24px);
    overflow-x: auto;
    padding: 4px 3px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.hp-shop-categories .category-scroller::-webkit-scrollbar {
    display: none;
}

.hp-shop-categories .category-item {
    flex: 0 0 124px;
    display: grid;
    justify-items: center;
    gap: 12px;
    color: var(--hp-text);
    text-align: center;
    text-decoration: none;
    scroll-snap-align: start;
}

.hp-shop-categories .category-thumb {
    width: 124px;
    height: 124px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(20, 28, 34, 0.045);
    border-radius: 50%;
    background: var(--category-color, #eef1f4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-shop-categories .category-thumb img {
    width: 82%;
    height: 82%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 12px 16px rgba(15, 28, 38, 0.12));
}

.hp-shop-categories .category-item > span:last-child {
    font-size: 0.88rem;
    font-weight: 680;
    line-height: 1.2;
}

.hp-shop-categories .category-item:hover .category-thumb {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(20, 42, 62, 0.11);
}

html[data-theme="dark"] .hp-shop-categories .category-thumb {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 999px rgba(8, 14, 18, 0.16);
}

@media (max-width: 640px) {
    .hp-shop-categories {
        width: calc(100% - 24px);
        margin-bottom: 30px;
    }

    .hp-shop-categories .category-title {
        margin-bottom: 18px;
        font-size: 1.18rem;
    }

    .hp-shop-categories .category-item {
        flex-basis: 96px;
        gap: 9px;
    }

    .hp-shop-categories .category-thumb {
        width: 96px;
        height: 96px;
    }

    .hp-shop-categories .category-item > span:last-child {
        font-size: 0.76rem;
    }
}

.hp-shop-query .hp-product-grid .price del .woocommerce-Price-amount,
.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price del .woocommerce-Price-amount {
    color: inherit !important;
}

.hp-shop-query .hp-product-grid .price ins,
.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price ins {
    color: var(--hp-text) !important;
    font-weight: 820 !important;
    text-decoration: none !important;
}

.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button {
    width: 100%;
    margin-top: auto !important;
    padding-top: 13px;
}

.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .wp-block-button__link {
    width: 100%;
    min-height: 36px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    box-sizing: border-box;
}

.hp-shop-query .wc-block-components-product-sale-badge,
.hp-shop-query .wc-block-grid__product-onsale,
.hp-shop-query .onsale {
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 7px 11px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: #19a765 !important;
    box-shadow: 0 8px 20px rgba(25, 167, 101, 0.24) !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em;
}

@media (max-width: 860px) {
    .hp-shop-products-column > .hp-shop-toolbar,
    .hp-shop-products-column > .hp-shop-toolbar.wp-block-group {
        margin-top: 0 !important;
    }
}

@media (max-width: 640px) {
    .hp-shop-query .hp-product-grid h3,
    .hp-shop-query .hp-product-grid .wp-block-post-title {
        min-height: 3.7em !important;
        font-size: 0.75rem !important;
    }

    .hp-shop-query .hp-product-grid .price,
    .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price {
        font-size: 0.78rem !important;
    }

    .hp-shop-query .wc-block-components-product-sale-badge,
    .hp-shop-query .wc-block-grid__product-onsale,
    .hp-shop-query .onsale {
        top: 7px !important;
        right: 7px !important;
        padding: 6px 8px !important;
        font-size: 0.6rem !important;
    }
}

.hp-shop-toolbar select,
.woocommerce-ordering select,
.wc-block-components-sort-select__select {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hp-text);
    font: inherit;
}

.hp-pagination {
    margin-top: 32px;
}

.hp-pagination a,
.hp-pagination span,
.woocommerce-pagination a,
.woocommerce-pagination span {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--hp-text);
    background: var(--hp-soft);
    text-decoration: none;
}

.hp-pagination .current,
.woocommerce-pagination .current {
    color: #fff;
    background: var(--hp-ink);
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.woocommerce-cart-form,
.woocommerce .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.wc-block-components-sidebar,
.wc-block-components-main,
.wc-block-cart-items,
.wc-block-components-panel {
    border-color: var(--hp-line) !important;
    border-radius: 28px !important;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.woocommerce-cart-form,
.woocommerce .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    padding: clamp(18px, 3vw, 34px);
    background: var(--hp-panel);
    box-shadow: 0 18px 52px rgba(20, 28, 34, 0.07);
    backdrop-filter: blur(18px);
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.wc-block-components-notice-banner {
    border: 1px solid var(--hp-line) !important;
    border-radius: 20px !important;
    background: var(--hp-soft) !important;
}

.woocommerce-info::before,
.woocommerce-message::before {
    color: var(--hp-green) !important;
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.wc-block-components-text-input input,
.wc-block-components-combobox-control input,
.wc-block-components-form .wc-block-components-text-input input[type="text"],
.wc-block-components-form .wc-block-components-text-input input[type="email"],
.wc-block-components-form .wc-block-components-text-input input[type="tel"] {
    min-height: 48px;
    border: 1px solid var(--hp-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--hp-text) !important;
    font: inherit;
}

@media (max-width: 980px) {
    .hp-product-hero {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .hp-product-media-column,
    .hp-product-summary-card {
        flex-basis: auto !important;
    }

    .hp-related-grid,
    .hp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .hp-product-page,
    .hp-shop-page-shell,
    body.hp-block-cart-page main,
    body.hp-block-checkout-page main,
    body.woocommerce-cart main,
    body.woocommerce-checkout main {
        width: calc(100% - 24px);
        padding-top: 118px;
        padding-bottom: 66px;
    }

    .hp-product-hero {
        padding: 12px;
        border-radius: 26px;
    }

    .hp-product-gallery,
    .hp-product-summary-card,
    .hp-product-details-card,
    .hp-related-products {
        padding: 18px;
        border-radius: 24px;
    }

    .hp-product-title,
    .hp-product-summary-card h1 {
        font-size: 1.85rem;
    }

    .hp-product-trust,
    .hp-related-grid,
    .hp-product-grid {
        grid-template-columns: 1fr !important;
    }

    .hp-product-purchase form.cart,
    .hp-product-summary-card form.cart {
        display: grid !important;
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .hp-product-purchase .single_add_to_cart_button,
    .hp-product-summary-card .single_add_to_cart_button {
        width: 100%;
    }

    .hp-shop-hero {
        min-height: 420px;
        grid-template-columns: 1fr;
        padding: 34px 26px;
        border-radius: 28px;
    }

    .hp-shop-hero-pill {
        justify-self: start;
    }
}

/* v1.0.80 — resumo de compra fixo na lateral, como uma ficha de produto de marketplace.
 * A grade pertence à página inteira: assim o cartão acompanha as informações técnicas
 * e os produtos relacionados, sem ficar preso somente à altura da galeria. */
@media (min-width: 1041px) {
    .hp-product-page {
        display: grid;
        grid-template-columns: minmax(0, 1.17fr) minmax(380px, 1fr);
        column-gap: clamp(28px, 5vw, 56px);
        row-gap: 28px;
        align-items: start;
    }

    .hp-product-page > .wp-block-woocommerce-store-notices,
    .hp-product-page > .wc-block-store-notices,
    .hp-product-page > .wp-block-woocommerce-breadcrumbs,
    .hp-product-page > .hp-product-breadcrumbs {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .hp-product-page > .hp-product-hero {
        display: contents;
    }

    .hp-product-hero > .hp-product-media-column {
        grid-column: 1;
        grid-row: 3;
        min-width: 0;
    }

    .hp-product-hero > .hp-product-summary-card {
        position: sticky;
        top: 96px;
        z-index: 4;
        grid-column: 2;
        grid-row: 3 / span 20;
        align-self: start;
        max-height: calc(100dvh - 120px);
        overflow: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .hp-product-page > .hp-product-details-card,
    .hp-product-page > .hp-related-products {
        grid-column: 1;
        width: 100%;
        max-width: none;
        margin: 0 !important;
    }
}

/* v1.0.63 — carrossel visual da vitrine, sem cópia sobre as imagens. */
.hp-shop-page-shell > .hp-shop-hero.hp-shop-hero--carousel {
    position: relative !important;
    height: clamp(390px, 45vw, 620px);
    min-height: 0;
    display: block;
    padding: 0 !important;
    overflow: hidden;
    background: #15191a;
}

.hp-shop-hero--carousel .hp-shop-hero-slides,
.hp-shop-hero--carousel .hp-shop-hero-slide {
    position: absolute;
    inset: 0;
}

.hp-shop-hero--carousel .hp-shop-hero-slide {
    display: block;
    opacity: 0;
    background: var(--hp-shop-slide-image) center center / cover no-repeat;
    animation: hp-shop-slide-fade 15s linear infinite;
    animation-delay: calc(var(--hp-slide-index) * 5s);
}

.hp-shop-hero--carousel .hp-shop-hero-dots {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 22px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}

.hp-shop-hero--carousel .hp-shop-hero-dots span {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    animation: hp-shop-dot-fade 15s linear infinite;
    animation-delay: calc(var(--hp-slide-index) * 5s);
}

@keyframes hp-shop-slide-fade {
    0%, 3% { opacity: 0; }
    7%, 29% { opacity: 1; }
    34%, 100% { opacity: 0; }
}

@keyframes hp-shop-dot-fade {
    0%, 3% { opacity: 0.48; transform: scaleX(1); }
    7%, 29% { opacity: 1; transform: scaleX(1.32); }
    34%, 100% { opacity: 0.48; transform: scaleX(1); }
}

@media (max-width: 640px) {
    .hp-shop-page-shell {
        padding-top: 76px !important;
    }

    .hp-shop-page-shell > .hp-shop-hero.hp-shop-hero--carousel {
        left: auto !important;
        width: 100% !important;
        max-width: none !important;
        height: auto;
        aspect-ratio: 8 / 3;
        min-height: 0;
        margin-bottom: 28px !important;
        padding: 0 !important;
        border-radius: 0 0 28px 28px;
        transform: none !important;
    }

    .hp-shop-hero--carousel .hp-shop-hero-slide {
        background-position: center;
        background-size: 100% 100%;
    }
}

/* v1.0.69 — cards da loja: o CTA ocupa sempre a mesma linha de base. */
@media (max-width: 640px) {
    .hp-shop-query .hp-product-grid > li {
        display: flex !important;
        min-height: 294px;
        flex-direction: column;
    }

    .hp-shop-query .hp-product-grid h3 {
        min-height: 3.75em !important;
        margin-bottom: 6px !important;
    }

    .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button {
        margin-top: auto !important;
    }

    .hp-shop-query .wp-block-woocommerce-product-button .wp-block-button__link {
        box-shadow: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-shop-hero--carousel .hp-shop-hero-slide,
    .hp-shop-hero--carousel .hp-shop-hero-dots span {
        animation: none;
    }

    .hp-shop-hero--carousel .hp-shop-hero-slide:first-child {
        opacity: 1;
    }
}

/* v1.0.60 final — esta regra vem depois dos refinamentos legados que ainda
   aplicavam o limite de 1420px à loja. */
@media (min-width: 981px) {
    .hp-shop-page-shell {
        width: calc(100% - 40px) !important;
        max-width: none !important;
    }
}

/* v1.0.60 — seis produtos continuam em uma fileira ampla, sem comprimir
   imagem, título ou ação. Esta abertura vale somente para a vitrine da loja. */
@media (min-width: 981px) {
    .hp-shop-page-shell {
        width: calc(100% - 40px);
        max-width: none;
    }

    .hp-shop-page-shell > .hp-shop-toolbar.alignwide,
    .hp-shop-page-shell > .hp-shop-query.alignwide {
        width: 100% !important;
        max-width: none !important;
    }

    .hp-shop-query .hp-product-grid {
        gap: 18px !important;
    }

    .hp-shop-query .hp-product-grid > li {
        padding: 16px !important;
    }

    .hp-shop-query .hp-product-grid .wc-block-components-product-image,
    .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image {
        aspect-ratio: 1 / 1;
        margin-bottom: 16px;
    }

    .hp-shop-query .hp-product-grid h3 {
        min-height: 0;
        font-size: clamp(0.88rem, 0.88vw, 1.04rem) !important;
        font-weight: 500 !important;
        line-height: 1.28;
    }

    .hp-shop-query .hp-product-grid .price,
    .hp-shop-query .wp-block-woocommerce-product-price {
        font-size: clamp(0.88rem, 0.9vw, 1.05rem) !important;
        font-weight: 600 !important;
    }

    .hp-shop-query .wp-block-woocommerce-product-button {
        margin-top: 12px !important;
    }

    .hp-shop-query .wp-block-woocommerce-product-button .wp-block-button__link {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-height: 34px !important;
        padding: 0 14px !important;
        border-radius: 999px;
        font-size: 0.73rem !important;
        font-weight: 560 !important;
        line-height: 34px !important;
        white-space: nowrap;
        box-shadow: 0 7px 16px rgba(17, 19, 21, 0.1);
    }
}

/* HydraPower refinement v1.0.1 */
body.hydrapower-kiosko site-header a,
body.hydrapower-kiosko site-header button {
    text-decoration: none !important;
}

body.hydrapower-kiosko site-header a[href*="contato"],
body.hydrapower-kiosko site-header button[aria-label*="contato" i] {
    color: #fff !important;
}

.hp-product-page {
    width: min(1180px, calc(100% - 48px));
}

.hp-shop-page-shell {
    width: min(1420px, calc(100% - 48px));
}

.hp-product-breadcrumbs {
    margin-bottom: 24px;
    font-size: 0.82rem;
}

.hp-product-hero {
    gap: clamp(28px, 5vw, 56px) !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hp-product-gallery,
.wp-block-woocommerce-product-image-gallery.hp-product-gallery,
.hp-product-summary-card {
    border-color: rgba(30, 35, 38, 0.08);
    border-radius: 18px;
    box-shadow: none;
}

.hp-product-gallery,
.wp-block-woocommerce-product-image-gallery.hp-product-gallery {
    padding: 18px;
}

.hp-product-gallery .woocommerce-product-gallery__image {
    border-radius: 14px;
    background: #fff;
}

.hp-product-gallery .flex-control-thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px !important;
}

.hp-product-gallery .flex-control-thumbs li {
    border-radius: 10px;
    background: #fff;
}

.hp-product-summary-card {
    padding: clamp(24px, 3vw, 34px);
    background: #fff;
}

.hp-product-kicker {
    min-height: 30px;
    margin-bottom: 14px !important;
    padding: 0 11px;
    color: #2f7569;
    background: #edf7f3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}

.hp-product-title,
.hp-product-summary-card h1 {
    max-width: 560px;
    margin-bottom: 14px !important;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.85rem, 2.65vw, 2.75rem) !important;
    font-weight: 650 !important;
    line-height: 1.1 !important;
}

.hp-product-price,
.hp-product-summary-card .price,
.wp-block-woocommerce-product-price.hp-product-price {
    margin-bottom: 16px !important;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.65rem, 2.1vw, 2rem) !important;
    font-weight: 620 !important;
}

.hp-product-short {
    margin-bottom: 18px !important;
    color: #4f555b;
    font-size: 0.98rem;
    line-height: 1.55;
}

.hp-product-meta-row > *,
.hp-product-meta .wp-block-post-terms,
.hp-product-meta .wp-block-woocommerce-product-sku {
    min-height: 30px;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 500;
}

.hp-product-purchase,
.hp-product-summary-card form.cart {
    border-radius: 16px;
    background: #fafafa;
}

.hp-product-trust p {
    min-height: 34px;
    border-radius: 10px;
    color: #5c6369;
    background: #f1f4f3;
    font-size: 0.72rem;
    font-weight: 520;
}

.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button,
.wp-block-button__link,
.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-product-button .wp-block-button__link {
    min-height: 48px !important;
    padding: 0 22px !important;
    font-size: 0.84rem !important;
    font-weight: 650 !important;
    line-height: 48px !important;
    box-shadow: 0 12px 28px rgba(17, 19, 21, 0.12);
}

.hp-product-details-card,
.hp-related-products {
    border-radius: 18px;
    box-shadow: none;
}

.hp-product-details-card .wc-tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-radius: 8px !important;
}

.hp-product-details-card .wc-tabs a,
.woocommerce div.product .woocommerce-tabs ul.tabs a {
    font-weight: 550;
}

.hp-product-details-card h2,
.hp-related-products h2,
.hp-section-title {
    font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 620;
}

.hp-product-details-card .woocommerce-Tabs-panel,
.woocommerce div.product .woocommerce-Tabs-panel {
    color: #4e555b;
    font-size: 0.98rem;
}

.hp-related-grid > li,
.hp-product-grid > li,
.wp-block-post.product {
    border-radius: 14px;
    box-shadow: none;
}

.hp-related-grid h3,
.hp-product-grid h3 {
    font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 620;
}

.hp-related-grid .price,
.hp-product-grid .price,
.wp-block-woocommerce-product-price {
    font-weight: 560;
}

/* v1.0.61 — abertura da loja, hero integral e grid móvel legível. */
body.hydrapower-kiosko .wp-site-blocks > header + main.hp-shop-page-shell {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    padding-top: 0;
}

.hp-shop-page-shell > .hp-shop-hero.alignwide,
.hp-shop-page-shell > .hp-shop-hero {
    width: 100% !important;
    max-width: none !important;
    min-height: clamp(390px, 45vw, 620px);
    margin: 0 0 40px !important;
    padding: clamp(156px, 15vw, 228px) max(28px, calc((100vw - 1240px) / 2)) clamp(52px, 6vw, 82px) !important;
    border-width: 0 0 1px;
    border-radius: 0 0 40px 40px;
    background-size: cover;
    background-position: center;
}

.hp-shop-page-shell > .hp-shop-toolbar.alignwide,
.hp-shop-page-shell > .hp-shop-query.alignwide {
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

@media (max-width: 640px) {
    body.hydrapower-kiosko .wp-site-blocks > header + main.hp-shop-page-shell {
        width: 100% !important;
        padding-bottom: 66px;
    }

    .hp-shop-page-shell > .hp-shop-hero.alignwide,
    .hp-shop-page-shell > .hp-shop-hero {
        left: auto !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 0;
        margin-bottom: 28px !important;
        padding: 102px 24px 30px !important;
        border-radius: 0 0 28px 28px;
        transform: none !important;
        background-position: 60% center;
    }

    .hp-shop-hero .hp-product-kicker {
        margin-bottom: 8px !important;
        font-size: 0.64rem;
        letter-spacing: 1.4px;
    }

    .hp-shop-title {
        font-size: clamp(1.72rem, 7.5vw, 2.05rem);
        line-height: 1.06;
    }

    .hp-shop-copy {
        margin-top: 12px !important;
        font-size: 0.91rem;
        line-height: 1.45;
    }

    .hp-shop-hero-button {
        min-height: 40px;
        margin-top: 16px;
        padding: 0 16px;
        font-size: 0.8rem;
    }

    .hp-shop-page-shell > .hp-shop-toolbar.alignwide,
    .hp-shop-page-shell > .hp-shop-query.alignwide {
        width: 100% !important;
    }

    .hp-shop-page-shell > .hp-shop-toolbar.alignwide {
        width: calc(100% - 24px) !important;
    }

    .hp-shop-query .hp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .hp-shop-query .hp-product-grid > li {
        min-width: 0;
        padding: 7px !important;
    }

    .hp-shop-query .hp-product-grid .wc-block-components-product-image,
    .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image {
        margin-bottom: 7px;
        border-radius: 10px;
    }

    .hp-shop-query .hp-product-grid h3 {
        min-height: 0;
        overflow-wrap: anywhere;
        font-size: 0.8rem !important;
        font-weight: 500 !important;
        line-height: 1.25;
    }

    .hp-shop-query .hp-product-grid .price,
    .hp-shop-query .wp-block-woocommerce-product-price {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
    }

    .hp-shop-query .wp-block-woocommerce-product-button .wp-block-button__link {
        width: 100%;
        min-height: 34px !important;
        padding: 0 4px !important;
        font-size: 0.62rem !important;
        font-weight: 600 !important;
        line-height: 34px !important;
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    .hp-product-page,
    .hp-shop-page-shell {
        width: calc(100% - 24px);
    }

    .hp-product-hero {
        padding: 0;
        border-radius: 0;
    }

    .hp-product-gallery,
    .hp-product-summary-card,
    .hp-product-details-card,
    .hp-related-products {
        border-radius: 16px;
    }

    .hp-product-title,
    .hp-product-summary-card h1 {
        font-size: 1.72rem !important;
    }
}

/* v1.0.49 — o banner da loja permanece centralizado dentro do viewport mobile. */
@media (max-width: 640px) {
    .hp-shop-page-shell > .hp-shop-hero.alignwide,
    .hp-shop-page-shell > .hp-shop-hero {
        position: relative !important;
        left: 50% !important;
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
        transform: translateX(-50%) !important;
    }
}

/* v1.0.81 — página de produto mais ampla e galeria com leitura editorial. */
body.single-product,
body.single-product .wp-site-blocks {
    background: #fcfcfc;
}

body.single-product .hp-product-page {
    width: min(1420px, calc(100% - 64px));
    padding: clamp(30px, 4vw, 64px) 0 clamp(72px, 8vw, 128px);
}

body.single-product .hp-product-hero {
    gap: clamp(36px, 6vw, 84px) !important;
}

body.single-product .hp-product-gallery,
body.single-product .wp-block-woocommerce-product-image-gallery.hp-product-gallery,
body.single-product .hp-product-summary-card,
body.single-product .hp-product-details-card,
body.single-product .hp-related-products {
    background: #fff;
}

body.single-product .hp-product-gallery .flex-viewport,
body.single-product .hp-product-gallery .woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1.08;
}

body.single-product .hp-product-gallery .flex-control-thumbs {
    display: flex !important;
    gap: 14px;
    margin-top: 18px !important;
    overflow-x: auto;
    padding: 2px 1px 6px !important;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

body.single-product .hp-product-gallery .flex-control-thumbs li {
    flex: 0 0 calc((100% - 28px) / 3);
    width: auto !important;
    aspect-ratio: 1.18 / 1;
    border-radius: 15px;
    scroll-snap-align: start;
}

body.single-product .hp-product-gallery .flex-control-thumbs li:has(img.flex-active) {
    border: 2px solid var(--hp-primary, #1688e7);
    box-shadow: 0 8px 20px rgba(22, 136, 231, 0.14);
}

@media (min-width: 1041px) {
    body.single-product .hp-product-page {
        grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.92fr);
        column-gap: clamp(44px, 6vw, 84px);
    }
}

@media (max-width: 640px) {
    body.single-product .hp-product-page {
        width: calc(100% - 24px);
        padding-top: 118px;
    }

    body.single-product .hp-product-gallery .flex-control-thumbs {
        gap: 9px;
        margin-top: 12px !important;
    }

    body.single-product .hp-product-gallery .flex-control-thumbs li {
        flex-basis: calc((100% - 18px) / 3);
        border-radius: 10px;
    }
}

/* v1.0.82 — o layout do bloco "constrained" não pode comprimir a vitrine. */
@media (min-width: 1041px) {
    body.single-product .wp-site-blocks > main.hp-product-page {
        width: min(1720px, calc(100vw - 96px)) !important;
        max-width: none !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.single-product .hp-product-page {
        grid-template-columns: minmax(0, 1.28fr) minmax(540px, 0.92fr);
        column-gap: clamp(56px, 6vw, 96px);
    }
}

/* v1.0.84 — usa a largura aberta dentro do layout constrained do editor de blocos. */
@media (min-width: 1041px) {
    html body.single-product .wp-site-blocks > main.hp-product-page {
        --wp--style--global--content-size: 1720px !important;
        --wp--style--global--wide-size: 1720px !important;
    }
}

/* v1.0.86 — página editorial de produto: imagens amplas à esquerda e compra fixa à direita. */
@media (min-width: 1041px) {
    html body.single-product .wp-site-blocks > main.hp-product-page {
        position: relative !important;
        left: 50% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(420px, 520px) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 0 0 -50vw !important;
        padding: 108px 24px 112px !important;
        column-gap: 2px !important;
        row-gap: 32px !important;
        box-sizing: border-box !important;
        align-items: start !important;
    }

    html body.single-product .hp-product-page > .wp-block-woocommerce-store-notices,
    html body.single-product .hp-product-page > .wc-block-store-notices,
    html body.single-product .hp-product-page > .hp-product-breadcrumbs {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html body.single-product .hp-product-page > .hp-product-hero {
        display: contents !important;
    }

    html body.single-product .hp-product-hero > .hp-product-media-column {
        grid-column: 1 / span 2 !important;
    grid-row: auto !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex-basis: auto !important;
    }

    html body.single-product .hp-product-hero > .hp-product-summary-card {
        position: sticky !important;
        top: 94px !important;
        z-index: 4 !important;
        grid-column: 3 !important;
    grid-row: auto / span 30 !important;
        width: 100% !important;
        max-height: none !important;
        min-width: 0 !important;
        padding: 38px !important;
        overflow: visible !important;
        align-self: start !important;
        flex-basis: auto !important;
        border-radius: 0 !important;
    }

    html body.single-product .hp-product-page > .hp-product-details-card,
    html body.single-product .hp-product-page > .hp-related-products {
        grid-column: 1 / span 2 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html body.single-product .hp-product-gallery,
    html body.single-product .wp-block-woocommerce-product-image-gallery.hp-product-gallery {
        height: auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery,
    html body.single-product .hp-product-gallery .flex-viewport {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        aspect-ratio: auto !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery__wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        gap: 2px !important;
        transform: none !important;
        transition: none !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery__image {
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: min(74vh, 860px) !important;
        min-height: 620px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        background: #fff !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery__image a {
        height: 100% !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: 100% !important;
        padding: clamp(32px, 5vw, 84px) !important;
        object-fit: contain !important;
    }

    html body.single-product .hp-product-gallery .flex-control-thumbs,
    html body.single-product .hp-product-gallery .woocommerce-product-gallery__trigger {
        display: none !important;
    }
}

/* v1.0.89 — fotos de produto cadastradas com muita área branca precisam de
 * presença visual na grade editorial. O zoom acontece dentro do painel, sem
 * alterar ou recortar o arquivo que está salvo no WooCommerce. */
@media (min-width: 1041px) {
    html body.single-product .hp-product-gallery .woocommerce-product-gallery__image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery__image a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        padding: 0 !important;
        object-fit: contain !important;
        transform: scale(2.25) !important;
        transform-origin: center center !important;
        transition: transform 260ms ease !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery__image:hover img {
        transform: scale(2.34) !important;
    }
}

/* v1.0.93 — resumo editorial e dock de compra fixo. */
@media (min-width: 1041px) {
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card h1,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-title {
        margin: 0 0 8px !important;
        font-size: clamp(1.45rem, 1.72vw, 1.82rem) !important;
        font-weight: 440 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.022em !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-price,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .price {
        margin: 0 0 10px !important;
        font-size: 1.38rem !important;
        font-weight: 620 !important;
    }

    html body.single-product .hp-product-breadcrumbs {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 8px 2px !important;
        color: #536778 !important;
        font-size: 0.78rem !important;
        line-height: 1.3 !important;
    }

    html body.single-product .hp-product-breadcrumbs a {
        color: #536778 !important;
        text-decoration: none !important;
    }

    html body.single-product .hp-breadcrumb-separator {
        display: inline-block;
        margin: 0 7px;
        color: #8ba1af;
    }

    html body.single-product .hp-product-buy-dock {
        position: fixed !important;
        z-index: 70 !important;
        right: auto !important;
        bottom: 18px !important;
        left: 50% !important;
        width: min(900px, calc(100vw - 56px)) !important;
        transform: translateX(-50%) !important;
        padding: 8px !important;
        border: 1px solid rgba(22, 41, 51, 0.12) !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 20px 52px rgba(20, 32, 40, 0.2) !important;
        backdrop-filter: blur(18px) !important;
    }

    html body.single-product .hp-product-buy-dock__inner {
        display: grid !important;
        grid-template-columns: minmax(122px, 0.6fr) minmax(0, 2.4fr) auto !important;
        gap: 12px !important;
        align-items: center !important;
    }

    html body.single-product .hp-product-buy-dock__copy {
        padding: 0 8px !important;
        color: #1d2e39;
    }

    html body.single-product .hp-product-buy-dock__copy small,
    html body.single-product .hp-product-buy-dock__copy strong {
        display: block;
    }

    html body.single-product .hp-product-buy-dock__copy small {
        margin-bottom: 3px;
        color: #638096;
        font-size: 0.66rem;
        font-weight: 650;
    }

    html body.single-product .hp-product-buy-dock__copy strong {
        font-size: 0.8rem;
        font-weight: 650;
    }

    html body.single-product .hp-product-buy-dock__form {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        align-items: center !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    html body.single-product .hp-product-buy-dock__form table.variations {
        width: auto !important;
        margin: 0 !important;
    }

    html body.single-product .hp-product-buy-dock__form table.variations tr,
    html body.single-product .hp-product-buy-dock__form table.variations th,
    html body.single-product .hp-product-buy-dock__form table.variations td {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.single-product .hp-product-buy-dock__form table.variations th {
        display: none !important;
    }

    html body.single-product .hp-product-buy-dock__form .hp-variation-buttons {
        width: auto !important;
        flex-wrap: nowrap !important;
    }

    html body.single-product .hp-product-buy-dock__form .hp-variation-button {
        min-height: 38px !important;
        padding: 0 11px !important;
        font-size: 0.74rem !important;
    }

    html body.single-product .hp-product-buy-dock__form .single_variation_wrap,
    html body.single-product .hp-product-buy-dock__form .woocommerce-variation-add-to-cart {
        display: flex !important;
        min-height: 0 !important;
        margin: 0 !important;
        gap: 8px !important;
        align-items: center !important;
    }

    html body.single-product .hp-product-buy-dock__form .single_variation {
        display: none !important;
    }

    html body.single-product .hp-product-buy-dock__form .quantity .qty,
    html body.single-product .hp-product-buy-dock__form .single_add_to_cart_button {
        min-height: 42px !important;
        height: 42px !important;
        line-height: 42px !important;
    }

    html body.single-product .hp-product-buy-dock__form .quantity .qty {
        width: 56px !important;
    }

    html body.single-product .hp-product-buy-dock__form .single_add_to_cart_button {
        padding: 0 17px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
    }

    html body.single-product .hp-product-buy-dock__checkout {
        display: inline-flex !important;
        min-height: 42px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 16px !important;
        border-radius: 12px !important;
        color: #fff !important;
        background: var(--hp-primary, #1688e7) !important;
        font-size: 0.77rem !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    html body.single-product .hp-product-summary-card > .hp-product-purchase {
        display: none !important;
    }
}

/* v1.0.92 — compra rápida: opções viram botões e o resumo não compete com
 * a escolha da variação, quantidade, carrinho e consulta de frete. */
@media (min-width: 1041px) {
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card {
        padding: 26px 30px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card h1,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-title {
        margin: 0 0 10px !important;
        font-size: clamp(1.6rem, 1.95vw, 2.1rem) !important;
        font-weight: 480 !important;
        line-height: 1.06 !important;
        letter-spacing: -0.026em !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-price,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .price {
        margin: 0 0 10px !important;
        font-size: 1.55rem !important;
        font-weight: 660 !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-short {
        display: none !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart {
        padding: 12px !important;
        border-radius: 15px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart table.variations {
        margin: 0 0 10px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart table.variations tr {
        display: block !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart table.variations th {
        margin: 0 0 7px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart table.variations label {
        font-size: 0.75rem !important;
        font-weight: 650 !important;
        text-transform: none !important;
    }

    html body.single-product .hp-variation-native-select {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        min-height: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html body.single-product .hp-variation-buttons {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
        width: 100% !important;
    }

    html body.single-product .hp-variation-button {
        min-height: 36px !important;
        padding: 0 12px !important;
        border: 1px solid rgba(20, 29, 34, 0.18) !important;
        border-radius: 9px !important;
        color: #17222d !important;
        background: #fff !important;
        font: inherit !important;
        font-size: 0.77rem !important;
        font-weight: 620 !important;
        cursor: pointer !important;
    }

    html body.single-product .hp-variation-button:hover,
    html body.single-product .hp-variation-button.is-selected {
        border-color: var(--hp-primary, #1688e7) !important;
        color: #fff !important;
        background: var(--hp-primary, #1688e7) !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .single_variation_wrap,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .woocommerce-variation-add-to-cart {
        gap: 8px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .quantity .qty,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .single_add_to_cart_button {
        min-height: 42px !important;
        height: 42px !important;
        line-height: 42px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-trust {
        gap: 6px !important;
        margin-top: 8px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-trust p {
        min-height: 30px !important;
        padding: 0 8px !important;
        font-size: 0.67rem !important;
    }
}

/* v1.0.91b — regras finais após as variantes legadas do WooCommerce. */
@media (min-width: 1041px) {
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card {
        padding: 30px 34px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card h1,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-title {
        max-width: none !important;
        margin: 0 0 12px !important;
        font-size: clamp(2rem, 2.35vw, 2.5rem) !important;
        font-weight: 680 !important;
        line-height: 1.05 !important;
        letter-spacing: -0.025em !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-price,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .price {
        margin: 0 0 12px !important;
        font-size: clamp(1.55rem, 1.85vw, 1.85rem) !important;
        line-height: 1.1 !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-short {
        margin: 0 0 12px !important;
        font-size: 0.88rem !important;
        line-height: 1.35 !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-meta {
        margin: 0 0 10px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.cart,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart {
        display: block !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 14px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart table.variations {
        width: 100% !important;
        height: auto !important;
        margin: 0 0 12px !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart table.variations tr {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(154px, 1.25fr) !important;
        gap: 12px !important;
        align-items: center !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart table.variations th,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart table.variations td {
        display: block !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart table.variations label {
        display: block !important;
        font-size: 0.82rem !important;
        font-weight: 720 !important;
        line-height: 1.25 !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart select {
        width: 100% !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 34px 0 12px !important;
        font-size: 0.83rem !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .reset_variations,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .single_variation {
        display: none !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .single_variation_wrap,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .woocommerce-variation-add-to-cart {
        display: flex !important;
        min-height: 0 !important;
        margin: 0 !important;
        gap: 10px !important;
        align-items: center !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .quantity .qty,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card form.variations_form.cart .single_add_to_cart_button {
        min-height: 46px !important;
        height: 46px !important;
        line-height: 46px !important;
    }
}

/* v1.0.93b — ordem final: mantém o resumo leve apesar dos estilos legados. */
@media (min-width: 1041px) {
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card h1,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-title {
        margin: 0 0 8px !important;
        font-size: clamp(1.45rem, 1.72vw, 1.82rem) !important;
        font-weight: 440 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.022em !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-price,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .price {
        margin: 0 0 10px !important;
        font-size: 1.38rem !important;
        font-weight: 620 !important;
    }

    html body.single-product main.hp-product-page > .wp-block-shortcode,
    html body.single-product main.hp-product-page > .wp-block-shortcode:has(.hp-product-breadcrumbs) {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin: 0 !important;
    }
}

/* v1.0.94 — última camada: dock de compra compacto em vidro e frete no resumo. */
@media (min-width: 1041px) {
    html body.single-product {
        padding-bottom: 122px !important;
    }

    html body.single-product .hp-product-buy-dock {
        width: min(940px, calc(100vw - 56px)) !important;
        padding: 9px !important;
        border: 1px solid rgba(255, 255, 255, 0.72) !important;
        border-radius: 22px !important;
        background:
            radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.92), transparent 34%),
            linear-gradient(112deg, rgba(237, 247, 249, 0.80), rgba(224, 243, 240, 0.68)) !important;
        box-shadow: 0 22px 58px rgba(35, 61, 72, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
        -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
        backdrop-filter: blur(24px) saturate(150%) !important;
    }

    html body.single-product .hp-product-buy-dock__inner {
        grid-template-columns: 112px minmax(0, 1fr) auto !important;
        gap: 10px !important;
        min-height: 54px !important;
        padding: 1px 2px !important;
    }

    html body.single-product .hp-product-buy-dock__copy {
        min-width: 0 !important;
        padding: 0 7px !important;
        line-height: 1.12 !important;
    }

    html body.single-product .hp-product-buy-dock__copy small {
        margin-bottom: 2px !important;
        font-size: 0.64rem !important;
    }

    html body.single-product .hp-product-buy-dock__copy strong {
        font-size: 0.76rem !important;
        white-space: nowrap !important;
    }

    html body.single-product .hp-product-buy-dock__form {
        justify-content: space-between !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    html body.single-product .hp-product-buy-dock__form table.variations {
        min-width: 0 !important;
    }

    html body.single-product .hp-product-buy-dock__form .hp-variation-buttons {
        gap: 6px !important;
        align-items: center !important;
    }

    html body.single-product .hp-product-buy-dock__form .hp-variation-button {
        min-width: 62px !important;
        min-height: 36px !important;
        padding: 0 10px !important;
        border-radius: 10px !important;
        font-size: 0.72rem !important;
    }

    html body.single-product .hp-product-buy-dock__form .single_variation_wrap,
    html body.single-product .hp-product-buy-dock__form .woocommerce-variation-add-to-cart {
        flex: 0 0 auto !important;
        gap: 7px !important;
    }

    html body.single-product .hp-product-buy-dock__form .quantity .qty,
    html body.single-product .hp-product-buy-dock__form .single_add_to_cart_button,
    html body.single-product .hp-product-buy-dock__checkout {
        min-height: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
    }

    html body.single-product .hp-product-buy-dock__form .single_add_to_cart_button {
        padding: 0 15px !important;
    }

    html body.single-product .hp-product-buy-dock__checkout {
        padding: 0 15px !important;
        border: 1px solid rgba(255, 255, 255, 0.62) !important;
        background: linear-gradient(135deg, var(--hp-primary, #1688e7), #1567c8) !important;
        box-shadow: 0 8px 17px rgba(22, 112, 201, 0.22) !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-shipping-card {
        box-sizing: border-box !important;
        width: 100% !important;
        margin: 10px 0 8px !important;
        padding: 10px 11px !important;
        border: 1px solid rgba(255, 255, 255, 0.70) !important;
        border-radius: 14px !important;
        background: linear-gradient(120deg, rgba(239, 249, 250, 0.84), rgba(225, 241, 239, 0.72)) !important;
        box-shadow: 0 10px 26px rgba(41, 68, 76, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.74) !important;
        -webkit-backdrop-filter: blur(16px) saturate(135%) !important;
        backdrop-filter: blur(16px) saturate(135%) !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-shipping-card input,
    html body.single-product .hp-product-summary-card .hp-product-shipping-card button,
    html body.single-product .hp-product-summary-card .hp-product-shipping-card input[type="submit"] {
        min-height: 38px !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-parent-container,
    html body.single-product .hp-product-summary-card #custom-postcode-form {
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-input-button-group-current-style {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 7px !important;
        align-items: stretch !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-input-wrapper-current-style,
    html body.single-product .hp-product-summary-card .woo-better-input-current-style {
        min-width: 0 !important;
        width: 100% !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-input-current-style {
        box-sizing: border-box !important;
        padding: 0 38px 0 11px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.78) !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-button-current-style {
        min-width: 94px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
        color: #fff !important;
        background: linear-gradient(135deg, var(--hp-primary, #1688e7), #1567c8) !important;
        font-size: 0.69rem !important;
        font-weight: 700 !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-link-current-style {
        display: inline-block !important;
        margin-top: 7px !important;
        color: #1676c8 !important;
        font-size: 0.72rem !important;
    }
}

/* v1.0.96 — resumo do produto mais limpo e com a hierarquia compacta. */
@media (min-width: 1041px) {
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card h1,
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-title {
        margin: 0 0 7px !important;
        font-size: clamp(1.28rem, 1.48vw, 1.58rem) !important;
        font-weight: 430 !important;
        line-height: 1.1 !important;
        letter-spacing: -0.018em !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-short {
        display: block !important;
        max-width: none !important;
        margin: 0 0 9px !important;
        color: #51606a !important;
        font-size: 0.78rem !important;
        line-height: 1.42 !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-meta {
        margin: 0 0 8px !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-meta-row {
        gap: 9px !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-meta-row > *,
    html body.single-product .hp-product-summary-card .hp-product-meta .wp-block-post-terms,
    html body.single-product .hp-product-summary-card .hp-product-meta .wp-block-woocommerce-product-sku {
        min-height: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        color: #62737e !important;
        background: transparent !important;
        font-size: 0.7rem !important;
        font-weight: 500 !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-meta a {
        color: #486673 !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-trust {
        gap: 12px !important;
        margin: 0 !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-trust p {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        color: #596c76 !important;
        background: transparent !important;
        font-size: 0.69rem !important;
        font-weight: 520 !important;
        text-align: left !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-shipping-card {
        margin: 13px 0 8px !important;
    }
}

/* v1.0.97 — caminho e resumo precisam vir antes da grade editorial. */
@media (min-width: 1041px) {
    html body.single-product main.hp-product-page > .hp-product-breadcrumbs {
        order: -1 !important;
        grid-column: 1 / -1 !important;
        align-self: start !important;
        width: 100% !important;
        margin: 0 0 4px !important;
        color: #70828d !important;
        font-size: 0.76rem !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-short {
        display: -webkit-box !important;
        max-width: none !important;
        margin: 0 0 10px !important;
        overflow: hidden !important;
        color: #78868e !important;
        font-size: 0.78rem !important;
        font-weight: 400 !important;
        line-height: 1.46 !important;
        text-align: justify !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-short p {
        margin: 0 !important;
        text-align: justify !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-shipping-card,
    html body.single-product .hp-product-summary-card .woo-better-parent-container {
        align-self: stretch !important;
        max-width: none !important;
        width: 100% !important;
    }
}

/* v1.0.98 — preço comercial, frete alinhado e leitura contínua. */
@media (min-width: 1041px) {
    html body.single-product .hp-product-summary-card .hp-product-price.is-on-sale,
    html body.single-product .hp-product-summary-card .price.is-on-sale {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        gap: 0 9px !important;
        margin: 0 0 10px !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-price.is-on-sale del,
    html body.single-product .hp-product-summary-card .price.is-on-sale del {
        flex: 0 0 100% !important;
        margin: 0 !important;
        color: #77818a !important;
        font-size: 0.76rem !important;
        font-weight: 450 !important;
        line-height: 1.15 !important;
        text-decoration-thickness: 1px !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-price.is-on-sale ins,
    html body.single-product .hp-product-summary-card .price.is-on-sale ins {
        display: inline !important;
        color: #16232e !important;
        font-size: clamp(1.58rem, 1.92vw, 2.04rem) !important;
        font-weight: 620 !important;
        line-height: 1.05 !important;
        text-decoration: none !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-discount {
        color: #119f50 !important;
        font-size: 0.78rem !important;
        font-weight: 620 !important;
        white-space: nowrap !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-savings {
        flex: 0 0 100% !important;
        margin-top: 2px !important;
        color: #12a84f !important;
        font-size: 0.78rem !important;
        font-weight: 520 !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-short {
        display: block !important;
        margin: 12px 0 0 !important;
        overflow: visible !important;
        color: #64747e !important;
        font-size: 0.79rem !important;
        line-height: 1.52 !important;
        text-align: justify !important;
        -webkit-line-clamp: unset !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-short p {
        text-align: justify !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-trust {
        display: flex !important;
        grid-template-columns: none !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 22px !important;
        width: 100% !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-trust p {
        flex: 0 0 auto !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-shipping-card {
        padding: 11px !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-input-button-group-current-style {
        grid-template-columns: minmax(0, 1fr) 100px !important;
        grid-auto-rows: 50px !important;
        align-items: stretch !important;
        min-height: 50px !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-input-button-group-current-style > *,
    html body.single-product .hp-product-summary-card .woo-better-input-wrapper-current-style,
    html body.single-product .hp-product-summary-card .woo-better-button-current-style {
        align-self: stretch !important;
        box-sizing: border-box !important;
        height: 50px !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-input-wrapper-current-style {
        width: 100% !important;
    }

    html body.single-product .hp-product-summary-card .woo-better-input-current-style {
        height: 50px !important;
        max-width: none !important;
    }
}

/* v1.0.99 — o resumo permanece no cartão da compra e a oferta ganha
 * hierarquia vertical: preço anterior, preço atual e benefício. */
@media (min-width: 1041px) {
    html body.single-product .hp-product-summary-card .hp-product-price.is-on-sale .wc-block-components-product-price,
    html body.single-product .hp-product-summary-card .price.is-on-sale .wc-block-components-product-price {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        gap: 0 !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-price.is-on-sale .wc-block-components-product-price > del,
    html body.single-product .hp-product-summary-card .price.is-on-sale .wc-block-components-product-price > del {
        flex: 0 0 100% !important;
        display: block !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-price.is-on-sale .wc-block-components-product-price > ins,
    html body.single-product .hp-product-summary-card .price.is-on-sale .wc-block-components-product-price > ins {
        flex: 0 0 100% !important;
        display: block !important;
        margin-top: 3px !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-price.is-on-sale .wc-block-components-product-price > ins .amount,
    html body.single-product .hp-product-summary-card .price.is-on-sale .wc-block-components-product-price > ins .amount {
        display: inline-block !important;
    }

    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-short {
        display: block !important;
        width: 100% !important;
        margin: 14px 0 0 !important;
        clear: both !important;
    }
}

/* v1.1.0 — compra no painel do produto; conteúdo longo em sequência abaixo. */
@media (min-width: 1041px) {
    html body.single-product main.hp-product-page > .hp-product-details-card,
    html body.single-product .hp-product-page.wp-block-group > .hp-product-details-card {
        grid-column: 1 / 3 !important;
        grid-row: 3 !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    html body.single-product main.hp-product-page > .hp-related-products,
    html body.single-product .hp-product-page.wp-block-group > .hp-related-products {
        grid-column: 1 / 3 !important;
        grid-row: 4 !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    html body.single-product .hp-product-summary-card > .hp-product-purchase,
    html body.single-product .hp-product-summary-card form.cart {
        display: flex !important;
        margin: 12px 0 !important;
    }

    html body.single-product .hp-product-buy-dock {
        display: none !important;
    }
}

/* v1.1.1 — estoque e ação de compra tornam-se um único bloco, antes do frete. */
@media (min-width: 1041px) {
    html body.single-product .hp-product-summary-card .hp-product-purchase-panel {
        display: block !important;
        width: 100% !important;
        margin: 13px 0 !important;
        padding: 14px !important;
        border: 1px solid rgba(20, 34, 44, 0.08) !important;
        border-radius: 18px !important;
        background: rgba(248, 251, 251, 0.88) !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-purchase-panel > .hp-product-purchase {
        display: block !important;
        margin: 0 0 10px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-purchase-panel .stock {
        display: block !important;
        margin: 0 !important;
        color: #233944 !important;
        font-size: 0.92rem !important;
        font-weight: 560 !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart,
    html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.variations_form.cart {
        display: flex !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
}

@media (max-width: 1040px) {
    html body.single-product .hp-product-summary-card .hp-product-purchase-panel {
        margin: 12px 0 !important;
        padding: 14px !important;
        border: 1px solid rgba(20, 34, 44, 0.08) !important;
        border-radius: 18px !important;
        background: #f8fbfb !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-purchase-panel > .hp-product-purchase,
    html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    html body.single-product .hp-product-summary-card .hp-product-purchase-panel > .hp-product-purchase {
        margin-bottom: 10px !important;
    }
}

/* v1.2.31 — regra final para a barra vertical do desktop. */
@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 .hp-product-gallery .hp-product-gallery-video-trigger {
        top: 18px !important;
        left: 16px !important;
        width: 108px !important;
        height: 98px !important;
        min-height: 98px !important;
        border-radius: 16px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs {
        top: 128px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-logistics-panel .hp-product-shipping-results {
        width: 100% !important;
        max-width: none !important;
        margin-top: 18px !important;
        box-sizing: border-box !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-logistics-panel .wc-shipping-simulator-parent-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-purchase-panel {
        width: 100% !important;
        min-width: 0 !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-summary-card .hp-product-purchase-panel .stock {
        overflow-wrap: normal !important;
        word-break: normal !important;
        white-space: normal !important;
    }
}

/* v1.1.68 — cancela o grid legado do container da página. A galeria e a
 * sequência longa são ordenadas pelo script estrutural, não por grid-areas. */
html body.single-product.hp-product-model-2 main.hp-product-page {
    display: block !important;
}

@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-details-card,
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-related-products {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin-top: 38px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-media-column,
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-gallery {
        order: 1 !important;
    }
}

/*
 * MODELO 2 — estrutura montada depois da renderização do WooCommerce.
 * Não usa display:contents nem reposiciona filhos de blocos por área: os
 * três painéis abaixo são nós reais e irmãos dentro da grade.
 */
@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.8fr) minmax(300px, .8fr) minmax(300px, .82fr) !important;
        align-items: start !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-media-column {
        display: block !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        flex-basis: auto !important;
        margin: 0 !important;
    }

    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-summary-card.hp-product-commercial-panel {
        display: block !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        flex-basis: auto !important;
        margin: 0 !important;
    }

    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-logistics-panel {
        display: block !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        min-height: 100% !important;
        padding: 28px !important;
        border: 1px solid rgba(35, 68, 87, .14) !important;
        border-radius: 18px !important;
        background: var(--wp--preset--color--base, #fff) !important;
        box-sizing: border-box !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-media-column .woocommerce-product-gallery {
        max-width: 100% !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-shipping-card,
    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-short,
    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-trust {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-short {
        margin-top: 22px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-trust {
        margin-top: 24px !important;
    }
}

@media (max-width: 1040px) {
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout {
        display: block !important;
    }

    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-logistics-panel {
        margin-top: 20px !important;
        padding: 20px !important;
        border: 1px solid rgba(35, 68, 87, .14) !important;
        border-radius: 18px !important;
        background: var(--wp--preset--color--base, #fff) !important;
    }
}

/* v1.1.68 — regra final: restaura o fluxo natural após a grade estrutural.
 * Com isso, fotos ficam no primeiro bloco e descrição/relacionados só vêm
 * depois dele, independentemente das regras antigas do template em blocos. */
html body.single-product.hp-product-model-2 main.hp-product-page {
    display: block !important;
}

@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-details-card,
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-related-products {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin-top: 38px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

/* v1.1.2 — três faixas equivalentes: duas fotos e o resumo, com galeria mais
 * contida. A compra permanece imediatamente antes do cálculo de frete. */
@media (min-width: 1041px) {
    html body.single-product .wp-site-blocks > main.hp-product-page {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        column-gap: 2px !important;
    }

    html body.single-product .hp-product-hero > .hp-product-media-column {
        grid-column: 1 / span 2 !important;
        grid-row: 2 !important;
    }

    html body.single-product .hp-product-hero > .hp-product-summary-card {
        grid-column: 3 !important;
        grid-row: 2 / span 30 !important;
        padding: clamp(26px, 2vw, 38px) !important;
    }

    html body.single-product .hp-product-gallery .woocommerce-product-gallery__image {
        height: clamp(440px, 34vw, 620px) !important;
        min-height: 0 !important;
    }
}

/* v1.1.4 — regra terminal: o frete nunca fica dentro do painel de compra.
 * A grade da conta recebe mais largura para os dois fluxos. */
@media (min-width: 701px) {
    .hp-account-auth-shell {
        grid-template-columns: minmax(350px, .82fr) minmax(620px, 1.18fr) !important;
        width: min(1180px, 100%) !important;
    }

    .hp-account-auth-content {
        padding: 64px 58px !important;
    }

    .hp-account-auth-content > .u-columns {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 42px !important;
        width: 100% !important;
    }

    .hp-account-auth-content > .u-columns > .u-column1,
    .hp-account-auth-content > .u-columns > .u-column2 {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
    }

    .hp-account-auth-content > .u-columns > .u-column2 {
        padding-top: 0 !important;
        border-top: 0 !important;
    }
}

/* v1.1.6 — conta aberta de ponta a ponta e ação de compra compacta. */
body.woocommerce-account:not(.logged-in) {
    background: #eef6fc !important;
}

body.woocommerce-account:not(.logged-in) .wp-site-blocks > main,
body.woocommerce-account:not(.logged-in) main.wp-block-group {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    padding: 96px 0 0 !important;
}

body.woocommerce-account:not(.logged-in) main > .wp-block-post-title,
body.woocommerce-account:not(.logged-in) main > h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-shell {
    grid-template-columns: minmax(340px, .76fr) minmax(660px, 1.24fr) !important;
    width: 100% !important;
    min-height: calc(100vh - 96px) !important;
    margin: 0 !important;
    border-width: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-visual {
    background: linear-gradient(150deg, #083a84 0%, #1268c4 56%, #65b9f4 132%) !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-visual::before {
    border-color: rgba(255,255,255,.15) !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-visual::after {
    border-color: rgba(188,226,255,.28) !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-content {
    padding: clamp(52px, 7vw, 116px) clamp(42px, 9vw, 160px) !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-content > #customer_login.u-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(36px, 6vw, 88px) !important;
    width: 100% !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-content > #customer_login.u-columns > .u-column1,
body.woocommerce-account:not(.logged-in) .hp-account-auth-content > #customer_login.u-columns > .u-column2 {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-content > #customer_login.u-columns > .u-column2 {
    padding-top: 0 !important;
    border-top: 0 !important;
}

@media (max-width: 700px) {
    body.woocommerce-account:not(.logged-in) .wp-site-blocks > main,
    body.woocommerce-account:not(.logged-in) main.wp-block-group {
        padding-top: 82px !important;
    }

    body.woocommerce-account:not(.logged-in) .hp-account-auth-shell {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    body.woocommerce-account:not(.logged-in) .hp-account-auth-content > #customer_login.u-columns {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    min-height: 0 !important;
    margin: 14px 0 !important;
    padding: 16px !important;
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel > .hp-product-purchase {
    min-height: 0 !important;
    margin: 0 !important;
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart,
html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.variations_form.cart {
    display: flex !important;
    align-items: center !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart .single_add_to_cart_button,
html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart button[type="submit"] {
    flex: 0 0 auto !important;
    min-height: 48px !important;
    margin: 0 !important;
}

/* v1.1.7 — o container padrão do WooCommerce limitava a conta em 1000px.
 * Abertura feita no pai real do conteúdo, não apenas no card interno. */
body.woocommerce-account:not(.logged-in) .entry-content.wp-block-post-content,
body.woocommerce-account:not(.logged-in) .wp-block-post-content {
    max-width: none !important;
    margin: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce,
body.woocommerce-account:not(.logged-in) .wp-block-post-content > .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .entry-content .wp-block-post-title,
body.woocommerce-account:not(.logged-in) .wp-block-post-content .wp-block-post-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* v1.1.35 — estoque acima e ações de compra alinhadas na mesma linha.
 * A grade terminal elimina a disputa entre a largura total do botão no mobile
 * e as regras flex legadas do formulário simples/variável do WooCommerce. */
html body.single-product .hp-product-summary-card .hp-product-purchase-panel {
    align-content: start !important;
    gap: 12px !important;
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel > .hp-product-purchase {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel .stock {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart:not(.variations_form),
html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.variations_form .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.variations_form.cart {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity,
html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity .qty {
    box-sizing: border-box !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 64px !important;
    min-width: 64px !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
}

html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart .single_add_to_cart_button,
html body.single-product .hp-product-summary-card .hp-product-purchase-panel form.cart button[type="submit"] {
    box-sizing: border-box !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
    white-space: nowrap !important;
}

@media (max-width: 380px) {
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart:not(.variations_form),
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.variations_form .woocommerce-variation-add-to-cart {
        grid-template-columns: 58px minmax(0, 1fr) !important;
        gap: 8px !important;
    }
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel .single_add_to_cart_button {
        white-space: normal !important;
        line-height: 1.2 !important;
        padding: 6px 8px !important;
    }
}

/* v1.1.36 — ação de compra refinada e segundo modelo de galeria. */
html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity {
    display: grid !important;
    grid-template-columns: 32px 42px 32px !important;
    align-items: stretch !important;
    width: 106px !important;
    min-width: 106px !important;
    height: 50px !important;
    overflow: hidden !important;
    border: 1px solid #b9d8f2 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 5px 14px rgba(8, 126, 234, .08) !important;
}

html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity .qty {
    grid-column: 2 !important;
    width: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #122033 !important;
    font-weight: 750 !important;
    text-align: center !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity .qty::-webkit-inner-spin-button,
html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity .qty::-webkit-outer-spin-button {
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

html body.single-product .hp-product-purchase-panel .hp-quantity-step {
    display: grid !important;
    place-items: center !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: -1px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #087eea !important;
    color: #fff !important;
    font: 750 20px/1 Arial, sans-serif !important;
    cursor: pointer !important;
}

html body.single-product .hp-product-purchase-panel .hp-quantity-step:hover,
html body.single-product .hp-product-purchase-panel .hp-quantity-step:focus-visible {
    background: #066dcc !important;
}

html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart:not(.variations_form),
html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.variations_form .woocommerce-variation-add-to-cart {
    grid-template-columns: 106px minmax(0, 1fr) !important;
}

html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .single_add_to_cart_button,
html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart button[type="submit"] {
    border-radius: 12px !important;
    background: #087eea !important;
}

@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery,
    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-viewport {
        overflow: hidden !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__wrapper {
        display: block !important;
        height: min(72vh, 760px) !important;
        transform: none;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image {
        display: none !important;
        height: min(72vh, 760px) !important;
        min-height: 560px !important;
        border-radius: 22px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image.flex-active-slide,
    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__wrapper:not(:has(.flex-active-slide)) > .woocommerce-product-gallery__image:first-child {
        display: flex !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image img,
    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image:hover img {
        padding: clamp(24px, 3vw, 48px) !important;
        transform: none !important;
        object-fit: contain !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs {
        display: flex !important;
        gap: 12px !important;
        margin: 14px 0 0 !important;
        padding: 2px 0 8px !important;
        overflow-x: auto !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs li {
        flex: 0 0 112px !important;
        width: 112px !important;
        height: 88px !important;
        overflow: hidden !important;
        border: 1px solid #dce7f0 !important;
        border-radius: 12px !important;
        background: #fff !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs img {
        width: 100% !important;
        height: 100% !important;
        padding: 7px !important;
        object-fit: contain !important;
    }
}

@media (max-width: 520px) {
    html body.single-product .hp-product-purchase-panel form.cart .quantity {
        grid-template-columns: 28px 36px 28px !important;
        width: 92px !important;
        min-width: 92px !important;
    }
    html body.single-product .hp-product-purchase-panel form.cart .quantity .qty { width: 36px !important; min-width: 36px !important; }
    html body.single-product .hp-product-purchase-panel .hp-quantity-step { width: 28px !important; min-width: 28px !important; }
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart:not(.variations_form),
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.variations_form .woocommerce-variation-add-to-cart { grid-template-columns: 92px minmax(0, 1fr) !important; gap: 9px !important; }
}

/* v1.1.63 — amplia a área útil e força cinco cards grandes no desktop. */
@media (min-width: 1500px) {
    html body.hp-shop-model-2 .hp-shop-categories,
    html body.hp-shop-model-2 .hp-shop-catalog-layout,
    html body.hp-shop-model-2 .hp-shop-catalog-layout.wp-block-columns {
        width: min(92vw, 1760px) !important;
        max-width: 1760px !important;
    }

    html body.hp-shop-model-2 .hp-shop-query ul.hp-product-grid,
    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid,
    html body.hp-shop-model-2 .hp-shop-query .wc-block-product-template,
    html body.hp-shop-model-2 .hp-shop-query .products-block-post-template {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        column-gap: clamp(26px, 1.75vw, 34px) !important;
        row-gap: clamp(34px, 2.4vw, 46px) !important;
    }

    html body.hp-shop-model-2 .hp-shop-filter-column {
        flex-basis: 240px !important;
    }

    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-components-product-image,
    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-grid__product-image,
    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image {
        min-height: clamp(220px, 14vw, 270px) !important;
    }

    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-components-product-image img,
    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-grid__product-image img,
    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image img {
        width: 100% !important;
        height: clamp(220px, 14vw, 270px) !important;
        object-fit: contain !important;
        padding: 12px !important;
    }
}

@media (min-width: 1181px) and (max-width: 1499px) {
    html body.hp-shop-model-2 .hp-shop-categories,
    html body.hp-shop-model-2 .hp-shop-catalog-layout,
    html body.hp-shop-model-2 .hp-shop-catalog-layout.wp-block-columns {
        width: 94vw !important;
        max-width: none !important;
    }

    html body.hp-shop-model-2 .hp-shop-query ul.hp-product-grid,
    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid,
    html body.hp-shop-model-2 .hp-shop-query .wc-block-product-template,
    html body.hp-shop-model-2 .hp-shop-query .products-block-post-template {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }

    html body.hp-shop-model-2 .hp-shop-filter-column {
        flex-basis: 220px !important;
    }

    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-components-product-image img,
    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wc-block-grid__product-image img,
    html body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image img {
        min-height: 190px !important;
        object-fit: contain !important;
    }
}

/* v1.1.62 — respiro lateral, cinco cards e carrinho encaixado no Modelo 2. */
@media (min-width: 1500px) {
    body.hp-shop-model-2 .hp-shop-categories,
    body.hp-shop-model-2 .hp-shop-catalog-layout {
        width: min(84vw, 1540px) !important;
    }

    body.hp-shop-model-2 .hp-shop-query .hp-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: clamp(22px, 1.55vw, 30px) !important;
    }
}

@media (min-width: 1181px) and (max-width: 1499px) {
    body.hp-shop-model-2 .hp-shop-categories,
    body.hp-shop-model-2 .hp-shop-catalog-layout {
        width: min(88vw, 1320px) !important;
    }

    body.hp-shop-model-2 .hp-shop-query .hp-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li::after,
body.hp-shop-model-2 .hp-shop-query .hp-product-grid > .product::after,
body.hp-shop-model-2 .hp-shop-query .wp-block-post.product::after {
    content: "";
    position: absolute;
    right: -25px;
    bottom: 5px;
    z-index: 2;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
}

body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button {
    right: -17px !important;
    bottom: 13px !important;
    z-index: 4 !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 {
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 10px 24px rgba(8, 126, 234, 0.3) !important;
}

html[data-theme="dark"] body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li::after,
html[data-theme="dark"] body.hp-shop-model-2 .hp-shop-query .hp-product-grid > .product::after,
html[data-theme="dark"] body.hp-shop-model-2 .hp-shop-query .wp-block-post.product::after {
    background: var(--hp-page-bg, #12191e);
}

@media (max-width: 640px) {
    body.hp-shop-model-2 .hp-shop-query .hp-product-grid > li::after,
    body.hp-shop-model-2 .hp-shop-query .hp-product-grid > .product::after,
    body.hp-shop-model-2 .hp-shop-query .wp-block-post.product::after {
        right: -18px;
        bottom: 3px;
        width: 56px;
        height: 56px;
    }

    body.hp-shop-model-2 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button {
        right: -12px !important;
        bottom: 9px !important;
    }
}

/* v1.1.60 — refinamento da faixa, hierarquia de preços e filtros móveis. */
.hp-shop-categories .category-title {
    display: none !important;
}

.hp-shop-categories .category-scroller {
    justify-content: center;
}

.hp-shop-categories .category-thumb,
html[data-theme="dark"] .hp-shop-categories .category-thumb {
    background: #f5f8fa !important;
    box-shadow: none;
}

.hp-shop-query .hp-product-grid h3,
.hp-shop-query .hp-product-grid .wp-block-post-title,
.hp-shop-query .hp-product-grid .wp-block-post-title a {
    color: #59636d !important;
    font-weight: 500 !important;
}

html[data-theme="dark"] .hp-shop-query .hp-product-grid h3,
html[data-theme="dark"] .hp-shop-query .hp-product-grid .wp-block-post-title,
html[data-theme="dark"] .hp-shop-query .hp-product-grid .wp-block-post-title a {
    color: #b9c3cc !important;
}

.hp-shop-query .hp-product-grid .price:has(del),
.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price:has(del),
.hp-shop-query .hp-product-grid .wc-block-components-product-price:has(del) {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
}

.hp-shop-query .hp-product-grid .price:has(del) ins,
.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price:has(del) ins,
.hp-shop-query .hp-product-grid .wc-block-components-product-price:has(del) ins {
    order: 1;
    display: block !important;
    font-size: 1em !important;
    font-weight: 820 !important;
    line-height: 1.18 !important;
}

.hp-shop-query .hp-product-grid .price:has(del) del,
.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price:has(del) del,
.hp-shop-query .hp-product-grid .wc-block-components-product-price:has(del) del {
    order: 2;
    display: block !important;
    color: #9aa3ad !important;
    font-size: 0.72em !important;
    font-weight: 400 !important;
    line-height: 1.12 !important;
    opacity: 1 !important;
    text-decoration-color: #aeb6be !important;
    text-decoration-thickness: 1px !important;
}

.hp-shop-query .hp-product-grid .price:has(del) del *,
.hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price:has(del) del *,
.hp-shop-query .hp-product-grid .wc-block-components-product-price:has(del) del * {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: 400 !important;
}

@media (max-width: 860px) {
    .hp-shop-categories .category-scroller {
        justify-content: flex-start;
    }

    .hp-shop-filter-column {
        width: 100vw !important;
        height: 100dvh !important;
        inset: 0 !important;
        padding: 0 !important;
        background: var(--hp-panel, #fff) !important;
    }

    .hp-shop-filter-column > .hp-shop-filter-card {
        width: 100% !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 20px 18px 32px !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        transform: translateX(100%);
    }

    body.hp-shop-filters-open .hp-shop-filter-column > .hp-shop-filter-card {
        transform: translateX(0);
    }

    body.woocommerce-shop .wc-block-product-filters__overlay,
    body.woocommerce-shop .wc-block-product-filters__overlay-wrapper,
    body.woocommerce-shop .wc-block-product-filters__overlay-dialog,
    body.post-type-archive-product .wc-block-product-filters__overlay,
    body.post-type-archive-product .wc-block-product-filters__overlay-wrapper,
    body.post-type-archive-product .wc-block-product-filters__overlay-dialog {
        width: 100vw !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: none !important;
        inset: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    body.woocommerce-shop .wc-block-product-filters__overlay-content,
    body.post-type-archive-product .wc-block-product-filters__overlay-content {
        height: 100% !important;
        max-height: none !important;
        overflow-y: auto !important;
    }
}

/* v1.1.43 — Modelo 2 com miniaturas verticais e primeira dobra compacta. */
@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery {
        position: relative !important;
        box-sizing: border-box !important;
        padding-left: 122px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-viewport,
    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__wrapper {
        width: 100% !important;
        margin: 0 !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 {
        justify-content: center !important;
        align-items: center !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs {
        position: absolute !important;
        top: 18px !important;
        bottom: 18px !important;
        left: 16px !important;
        z-index: 5 !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 90px !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 2px 4px 8px 2px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(8, 126, 234, .26) transparent !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs li {
        flex: 0 0 78px !important;
        width: 82px !important;
        height: 78px !important;
        margin: 0 !important;
        border-radius: 14px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs img {
        width: 100% !important;
        height: 100% !important;
        padding: 7px !important;
        object-fit: contain !important;
    }
}

/* v1.1.44 — Modelo 2: galeria quadrada e coluna comercial mais generosa. */
@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 .wp-site-blocks > main.hp-product-page {
        grid-template-columns: minmax(0, 1.72fr) minmax(500px, .98fr) !important;
        column-gap: clamp(18px, 2.2vw, 42px) !important;
        padding-right: clamp(28px, 3vw, 58px) !important;
        padding-left: clamp(18px, 2vw, 38px) !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-hero > .hp-product-media-column {
        grid-column: 1 !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-hero > .hp-product-summary-card {
        grid-column: 2 !important;
        padding: clamp(30px, 2.2vw, 42px) !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-page > .hp-product-details-card,
    html body.single-product.hp-product-model-2 .hp-product-page > .hp-related-products {
        grid-column: 1 !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery {
        padding-left: 144px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-viewport,
    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__wrapper,
    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image > a {
        width: 100% !important;
        height: 100% !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs {
        top: 14px !important;
        bottom: 14px !important;
        left: 14px !important;
        width: 108px !important;
        gap: 12px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs li {
        flex: 0 0 98px !important;
        width: 100px !important;
        height: 98px !important;
        border-radius: 16px !important;
    }
}

/* v1.1.43 — manter a navegação vertical como regra final do Modelo 2. */
@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs {
        position: absolute !important;
        top: 18px !important;
        right: auto !important;
        bottom: 18px !important;
        left: 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 90px !important;
        height: auto !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
}

/* v1.2.31 — o vídeo é um controle próprio: acima das fotos e fora da lista
 * que o FlexSlider pode recriar. A imagem principal continua sendo a primeira
 * foto do produto ao carregar. */
@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 .hp-product-gallery .hp-product-gallery-video-trigger {
        position: absolute !important;
        top: 18px !important;
        left: 16px !important;
        z-index: 8 !important;
        width: 90px !important;
        height: 78px !important;
        min-height: 78px !important;
        margin: 0 !important;
        border-radius: 14px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs {
        top: 108px !important;
    }
}

/* v1.1.37 — controles em cápsula e alinhamento fino da galeria 2. */
html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity {
    grid-template-columns: 35px 38px 35px !important;
    width: 118px !important;
    min-width: 118px !important;
    padding: 5px 4px !important;
    overflow: visible !important;
    border-color: rgba(8, 126, 234, .18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 8px 22px rgba(8, 126, 234, .09) !important;
}

html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity .qty {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 999px !important;
}

html body.single-product .hp-product-purchase-panel .hp-quantity-step {
    width: 35px !important;
    min-width: 35px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 5px 12px rgba(8, 126, 234, .18) !important;
}

html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart:not(.variations_form),
html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.variations_form .woocommerce-variation-add-to-cart {
    grid-template-columns: 118px minmax(0, 1fr) !important;
}

html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .single_add_to_cart_button,
html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart button[type="submit"],
html body.single-product .hp-product-summary-card .woo-better-input-current-style,
html body.single-product .hp-product-summary-card .woo-better-button-current-style {
    border-radius: 999px !important;
}

html body.single-product .hp-product-summary-card .woo-better-input-current-style {
    padding-left: 18px !important;
}

html body.single-product .hp-product-summary-card .hp-product-shipping-card img[src*="transit"],
html body.single-product .hp-product-summary-card .hp-product-shipping-card img[src*="postcode"],
html body.single-product .hp-product-summary-card .hp-product-shipping-card img.black-icon,
html body.single-product .hp-product-summary-card .hp-product-shipping-card .black-icon > img,
html body.single-product .hp-product-summary-card .hp-product-shipping-card svg.black-icon {
    filter: invert(38%) sepia(98%) saturate(2035%) hue-rotate(188deg) brightness(96%) contrast(96%) !important;
}

@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__wrapper,
    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 {
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image img,
    html body.single-product.hp-product-model-2 .hp-product-gallery .woocommerce-product-gallery__image:hover img {
        margin-right: auto !important;
        margin-left: auto !important;
        object-position: center center !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-gallery .flex-control-thumbs {
        justify-content: flex-start !important;
        align-items: stretch !important;
        width: 108px !important;
        margin: 0 !important;
    }
}

@media (max-width: 520px) {
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity {
        grid-template-columns: 30px 34px 30px !important;
        width: 104px !important;
        min-width: 104px !important;
    }
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart .quantity .qty {
        width: 34px !important;
        min-width: 34px !important;
    }
    html body.single-product .hp-product-purchase-panel .hp-quantity-step {
        width: 30px !important;
        min-width: 30px !important;
    }
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.cart:not(.variations_form),
    html body.single-product main.hp-product-page .hp-product-hero > .hp-product-summary-card .hp-product-purchase-panel form.variations_form .woocommerce-variation-add-to-cart {
        grid-template-columns: 104px minmax(0, 1fr) !important;
    }
}

/* v1.1.68 — fluxo natural abaixo da grade estrutural. */
/* Área logada da conta: o header flutuante não pode cobrir o título nem o
 * menu do WooCommerce. Mantém o mesmo respiro das páginas institucionais. */
body.woocommerce-account.logged-in .wp-site-blocks > main,
body.woocommerce-account.logged-in main.wp-block-group {
    box-sizing: border-box !important;
    padding-top: 132px !important;
}

/* v1.1.82 — o provedor Google pode ser impresso duas vezes pelo plugin.
 * A regra recebe a classe somente no controle que aparece antes do usuário. */
body.woocommerce-account:not(.logged-in) .hp-google-login-top-duplicate {
    display: none !important;
}

/* v1.1.84 — autenticação exclusivamente pelo Google. */
body.woocommerce-account:not(.logged-in) .hp-account-auth-switcher,
body.woocommerce-account:not(.logged-in) #customer_login > .u-column1 > h2,
body.woocommerce-account:not(.logged-in) #customer_login > .u-column2,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login > .woocommerce-form-row,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login > .woocommerce-LostPassword,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login > .woocommerce-button,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login.hp-google-only-login > p.form-row {
    display: none !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-content > #customer_login.u-columns,
body.woocommerce-account:not(.logged-in) #customer_login > .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login {
    width: 100% !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 260px !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login > .mo-openid-app-icons:first-of-type {
    display: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .mo-openid-app-icons {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login.hp-google-only-login > .mo-openid-app-icons:not(.hp-google-login-primary) {
    display: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .hp-google-login-intro {
    width: min(100%, 340px);
    margin: 0 0 24px;
    color: #557084;
    text-align: center;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .hp-google-login-intro h1 {
    margin: 0 0 10px;
    color: #102c44;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1.12;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .hp-google-login-intro p:last-child {
    margin: 0;
    font-size: .95rem;
    line-height: 1.55;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .hp-google-login-eyebrow {
    margin: 0 0 9px !important;
    color: #087eea;
    font-size: .72rem !important;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .mo-openid-app-icons .mo_btn-google {
	position: relative !important;
    display: inline-flex !important;
    width: min(244px, 100%) !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 18px 0 54px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: linear-gradient(100deg, #5661f4 0%, #4b94e9 47%, #38dfa7 100%) !important;
    color: #fff !important;
    box-shadow: 0 9px 18px rgba(65, 126, 220, .2) !important;
    font: 500 .9rem/1 Inter, sans-serif !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    transition: transform .18s ease, filter .18s ease !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .mo-openid-app-icons .mo_btn-google::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: grid;
	width: 42px;
	place-items: center;
	background: url("../images/google-logo.svg") center / 21px 21px no-repeat;
	content: '';
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .mo-openid-app-icons .mo_btn-google img {
	display: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .mo-openid-app-icons .mo_btn-google:hover {
	color: #fff !important;
	filter: brightness(1.04);
	transform: translateY(-1px);
}

/* O login mantém o mesmo respiro nas duas laterais em telas estreitas. */
@media (max-width: 700px) {
    body.woocommerce-account:not(.logged-in) .wp-site-blocks > main,
    body.woocommerce-account:not(.logged-in) main.wp-block-group {
        width: 100vw !important;
        max-width: none !important;
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
        padding: 82px 14px 28px !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-account:not(.logged-in) .hp-account-auth-shell {
        width: 100% !important;
        margin: 0 auto !important;
    }

    body.woocommerce-account:not(.logged-in) .hp-account-auth-content {
        padding: 40px 22px 46px !important;
    }
}

/* v1.1.83 — painel e dados pessoais na mesma tela da conta. */
body.woocommerce-account.logged-in .hp-account-details {
    max-width: 780px;
    margin: 42px 0 0;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(35, 68, 87, .14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(25, 58, 78, .07);
}

body.woocommerce-account.logged-in .hp-account-details__heading {
    margin: 0 0 24px;
}

body.woocommerce-account.logged-in .hp-account-details__heading p {
    margin: 0 0 6px;
    color: #087eea;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.woocommerce-account.logged-in .hp-account-details__heading h2 {
    margin: 0;
    color: #102c44;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

body.woocommerce-account.logged-in .hp-account-details__heading span {
    display: block;
    margin-top: 7px;
    color: #617284;
}

body.woocommerce-account.logged-in .hp-account-profile-photo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
    padding: 16px;
    border-radius: 14px;
    background: #f3f8fc;
}

body.woocommerce-account.logged-in .hp-account-profile-photo__preview {
    display: grid;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    place-items: center;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #087eea;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(8, 126, 234, .2);
}

body.woocommerce-account.logged-in .hp-account-profile-photo__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.woocommerce-account.logged-in .hp-account-profile-photo__fields {
    min-width: 0;
}

body.woocommerce-account.logged-in .hp-account-profile-photo__fields > label:first-child {
    display: block;
    margin-bottom: 6px;
    color: #102c44;
    font-weight: 700;
}

body.woocommerce-account.logged-in .hp-account-profile-photo input[type="file"] {
    max-width: 100%;
}

body.woocommerce-account.logged-in .hp-account-profile-photo small,
body.woocommerce-account.logged-in .hp-account-profile-photo__remove {
    display: block;
    margin-top: 7px;
    color: #617284;
    font-size: .82rem;
}

@media (max-width: 560px) {
    body.woocommerce-account.logged-in .hp-account-profile-photo {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 700px) {
    body.woocommerce-account.logged-in .wp-site-blocks > main,
    body.woocommerce-account.logged-in main.wp-block-group {
        padding-top: 104px !important;
    }
}
html body.single-product.hp-product-model-2 main.hp-product-page {
    display: block !important;
}

@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-details-card,
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-related-products {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin-top: 38px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

/* v1.1.67 — estrutura da grade do modelo 2.
 * Grade real do modelo 2: mídia, compra e frete são irmãos, portanto regras
 * antigas dos blocos do WooCommerce não podem deslocar um painel para baixo. */
@media (min-width: 1041px) {
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.8fr) minmax(300px, .8fr) minmax(300px, .82fr) !important;
        align-items: start !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-media-column {
        display: block !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        flex-basis: auto !important;
        margin: 0 !important;
    }

    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-summary-card.hp-product-commercial-panel {
        display: block !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        flex-basis: auto !important;
        margin: 0 !important;
    }

    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-logistics-panel {
        display: block !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        min-height: 100% !important;
        padding: 28px !important;
        border: 1px solid rgba(35, 68, 87, .14) !important;
        border-radius: 18px !important;
        background: var(--wp--preset--color--base, #fff) !important;
        box-sizing: border-box !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-media-column .woocommerce-product-gallery {
        max-width: 100% !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-shipping-card,
    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-short,
    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-trust {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-short {
        margin-top: 22px !important;
    }

    html body.single-product.hp-product-model-2 .hp-product-model2-layout .hp-product-logistics-panel .hp-product-trust {
        margin-top: 24px !important;
    }
}

@media (max-width: 1040px) {
    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout {
        display: block !important;
    }

    html body.single-product.hp-product-model-2 main.hp-product-page > .hp-product-hero.hp-product-model2-layout > .hp-product-logistics-panel {
        margin-top: 20px !important;
        padding: 20px !important;
        border: 1px solid rgba(35, 68, 87, .14) !important;
        border-radius: 18px !important;
        background: var(--wp--preset--color--base, #fff) !important;
    }
}
