/* Loja — Modelo 3: mesma vitrine do Modelo 2, com leitura minimalista. */
html:not([data-theme="dark"]) body.hp-shop-model-3,
html:not([data-theme="dark"]) body.hp-shop-model-3 .wp-site-blocks,
html:not([data-theme="dark"]) body.hp-shop-model-3 .hp-shop-page-shell {
    background: #fff !important;
    background-image: none !important;
}

html body.hp-shop-model-3 .hp-shop-hero {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
html body.hp-shop-model-3 .hp-shop-hero-button,
html body.hp-shop-model-3 .hp-shop-hero-pill {
    border-radius: 2px !important;
    box-shadow: none !important;
    font-weight: 400 !important;
}

/* Categorias sem círculos ou cartões em torno das imagens. */
html body.hp-shop-model-3 .hp-shop-categories {
    margin-bottom: 38px !important;
}
html body.hp-shop-model-3 .hp-shop-categories .category-item {
    gap: 9px !important;
}
html body.hp-shop-model-3 .hp-shop-categories .category-thumb,
html body.hp-shop-model-3 .hp-shop-categories .category-item:hover .category-thumb {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}
html body.hp-shop-model-3 .hp-shop-categories .category-thumb img {
    width: 88% !important;
    height: 88% !important;
    filter: none !important;
}
html body.hp-shop-model-3 .hp-shop-categories .category-item > span:last-child {
    color: #394750 !important;
    font-weight: 400 !important;
}

/* Filtro e ordenação passam a compor a página, sem painéis flutuantes. */
html body.hp-shop-model-3 .hp-shop-catalog-layout {
    gap: clamp(26px, 2.5vw, 44px) !important;
}
html body.hp-shop-model-3 .hp-shop-filter-column {
    flex-basis: 230px !important;
}
html body.hp-shop-model-3 .hp-shop-filter-card {
    padding: 2px 22px 0 0 !important;
    border: 0 !important;
    border-right: 1px solid #e6e9ec !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
html body.hp-shop-model-3 .hp-shop-filter-heading h2 {
    font-size: 1rem !important;
    font-weight: 400 !important;
}
html body.hp-shop-model-3 .hp-shop-filter-card h3 {
    font-weight: 500 !important;
}
html body.hp-shop-model-3 .hp-shop-filter-icon {
    border-radius: 2px !important;
    background: #f0f6fa !important;
}
html body.hp-shop-model-3 .hp-shop-filter-card .wc-block-form-text-input input,
html body.hp-shop-model-3 .hp-shop-filter-card input[type="number"],
html body.hp-shop-model-3 .hp-shop-filter-card .wc-block-product-filter-clear-button .wp-block-button__link,
html body.hp-shop-model-3 .hp-shop-filter-toggle,
html body.hp-shop-model-3 .hp-shop-filter-close {
    border-radius: 2px !important;
    box-shadow: none !important;
    font-weight: 400 !important;
}
html body.hp-shop-model-3 .hp-shop-products-column > .hp-shop-toolbar,
html body.hp-shop-model-3 .hp-shop-products-column > .hp-shop-toolbar.wp-block-group {
    margin-bottom: 26px !important;
    padding: 0 0 15px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e9ec !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
html body.hp-shop-model-3 .hp-shop-toolbar select,
html body.hp-shop-model-3 .woocommerce-ordering select,
html body.hp-shop-model-3 .wc-block-components-sort-select__select {
    border-radius: 2px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-weight: 400 !important;
}

/* Fotos livres sobre o branco; a grade é separada apenas por espaço e linha. */
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid {
    gap: 32px 22px !important;
    align-items: stretch !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid > li,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid > .product,
html body.hp-shop-model-3 .hp-shop-query .wp-block-post.product {
    overflow: visible !important;
    min-width: 0 !important;
    padding: 0 0 17px !important;
    border: 0 !important;
    border-bottom: 1px solid #e8ebed !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid > li:not(.hp-product-is-out-of-stock)::after,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid > .product:not(.hp-product-is-out-of-stock)::after,
html body.hp-shop-model-3 .hp-shop-query .wp-block-post.product:not(.hp-product-is-out-of-stock)::after {
    display: none !important;
    content: none !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wc-block-components-product-image,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wc-block-grid__product-image,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image {
    margin: 0 0 13px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wc-block-components-product-image img,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wc-block-grid__product-image img,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image img {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    object-fit: contain !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid > li:not(.hp-product-is-out-of-stock):hover img {
    transform: none !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid h3,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-post-title {
    min-height: 3.9em !important;
    margin: 0 0 8px !important;
    color: #34424b !important;
    font-size: clamp(.82rem, .77vw, .92rem) !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .price,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .price ins,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-price ins {
    color: #1e2b33 !important;
    font-weight: 500 !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .hp-shop-current-price-line {
    flex-wrap: wrap !important;
    white-space: normal !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .hp-shop-price-discount,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .hp-shop-discount {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #13835a !important;
    background: transparent !important;
    font-size: .65rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .hp-shop-payment-info {
    color: #16825a !important;
    font-weight: 400 !important;
}

/* A ação segue disponível, agora quadrada e sem o halo circular. */
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button {
    position: static !important;
    align-self: flex-end !important;
    width: 38px !important;
    margin: 12px 0 0 auto !important;
    padding: 0 !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .wp-block-button__link,
html body.hp-shop-model-3 .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;
    border: 1px solid #c7dce9 !important;
    border-radius: 2px !important;
    color: transparent !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .wp-block-button__link::before,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button button::before {
    margin: 0 !important;
    background: #087eea !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .wp-block-button__link:hover,
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button button:hover {
    border-color: #087eea !important;
    background: #f2f8fd !important;
}
html body.hp-shop-model-3 .hp-shop-query .hp-product-grid > li.hp-product-is-out-of-stock::after {
    top: 8px !important;
    right: 8px !important;
    border-radius: 2px !important;
    font-weight: 400 !important;
}

@media (max-width: 860px) {
    html body.hp-shop-model-3 .hp-shop-filter-column {
        flex-basis: auto !important;
    }
    html body.hp-shop-model-3 .hp-shop-filter-column > .hp-shop-filter-card {
        padding: 22px !important;
        border: 0 !important;
        background: #fff !important;
    }
}
@media (max-width: 640px) {
    html body.hp-shop-model-3 .hp-shop-query .hp-product-grid {
        gap: 20px 13px !important;
    }
    html body.hp-shop-model-3 .hp-shop-query .hp-product-grid h3,
    html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-post-title {
        min-height: 4.8em !important;
        font-size: .76rem !important;
    }
    html body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button {
        margin: 10px 0 0 auto !important;
    }
}
html[data-theme="dark"] body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wc-block-components-product-image,
html[data-theme="dark"] body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image,
html[data-theme="dark"] body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button .wp-block-button__link {
    background: #161e24 !important;
}
html[data-theme="dark"] body.hp-shop-model-3 .hp-shop-query .hp-product-grid h3,
html[data-theme="dark"] body.hp-shop-model-3 .hp-shop-query .hp-product-grid .wp-block-post-title,
html[data-theme="dark"] body.hp-shop-model-3 .hp-shop-query .hp-product-grid .price,
html[data-theme="dark"] body.hp-shop-model-3 .hp-shop-query .hp-product-grid .price ins {
    color: #e6edf0 !important;
}

/* v1.2.46 — filtro, contagem e ordenação num único cabeçalho compacto. */
@media (max-width: 640px) {
    html body.hp-shop-model-3 .hp-shop-products-column > .hp-shop-toolbar,
    html body.hp-shop-model-3 .hp-shop-products-column > .hp-shop-toolbar.wp-block-group {
        display: grid !important;
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) !important;
        align-items: center !important;
        gap: 9px !important;
        margin: 0 0 18px !important;
        padding: 0 0 14px !important;
    }
    html body.hp-shop-model-3 .hp-shop-toolbar .wp-block-woocommerce-product-results-count {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        margin: 0 !important;
        color: #62727e !important;
        font-size: .76rem !important;
    }
    html body.hp-shop-model-3 .hp-shop-toolbar .hp-shop-filter-toggle {
        grid-column: 1 !important;
        grid-row: 2 !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 42px !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        justify-content: center !important;
        gap: 7px !important;
        white-space: nowrap !important;
        font-size: .78rem !important;
    }
    html body.hp-shop-model-3 .hp-shop-toolbar .wp-block-woocommerce-catalog-sorting,
    html body.hp-shop-model-3 .hp-shop-toolbar .wc-block-components-sort-select {
        grid-column: 2 !important;
        grid-row: 2 !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }
    html body.hp-shop-model-3 .hp-shop-toolbar select {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 24px 0 10px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: .76rem !important;
    }
}
