/*
Theme Name: Astra Child Amor Natural
Theme URI: https://amornaturalonline.com.br/
Description: Tema filho do Astra para customizações da loja Amor Natural.
Author: Infoti Negócios Digitais
Template: astra
Version: 1.0.0
Text Domain: astra-child-amornatural
*/

/* =========================================================
   Amor Natural - Paleta/base
   ========================================================= */

:root {
    --an-verde: #465520;
    --an-laranja: #E28A30;
    --an-terracota: #BE4918;
    --an-bege: #F3E2C1;
    --an-fundo: #FAF7F0;
    --an-texto: #2F331F;
    --an-borda: #eee1cf;
}

body {
    background-color: var(--an-fundo);
    color: var(--an-texto);
}

a {
    color: var(--an-verde);
}

a:hover {
    color: var(--an-laranja);
}

button,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button {
    background-color: var(--an-laranja);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 800;
    transition: all 0.2s ease;
    border: none;
}

button:hover,
.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:hover {
    background-color: var(--an-terracota);
    color: #ffffff;
}

/* =========================================================
   Cabeçalho
   ========================================================= */

.site-header {
    box-shadow: 0 4px 20px rgba(70, 85, 32, 0.08);
}

.site-header .ast-primary-header-bar {
    min-height: 86px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo-img img {
    max-height: 72px;
    width: auto;
}

.site-title,
.site-title a {
    color: var(--an-texto);
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 28px;
}

.main-header-menu .menu-link,
.ast-header-custom-item a {
    color: var(--an-texto);
    font-size: 15px;
    font-weight: 800;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
    color: var(--an-laranja);
}

.main-header-menu > .menu-item {
    margin-left: 8px;
    margin-right: 8px;
}

/* =========================================================
   Loja - estrutura, sidebar e busca
   ========================================================= */

@media (min-width: 1200px) {
    .ast-container,
    .site-content .ast-container {
        max-width: 1320px;
    }

    .ast-left-sidebar #primary {
        width: 74%;
    }

    .ast-left-sidebar #secondary {
        width: 26%;
    }
}

/* Remove apenas o bloco/título vazio "Comprar por categoria", mantendo busca e categorias */
.sidebar-main .widget:first-child {
    display: none;
}

.woocommerce .widget,
.ast-woocommerce-container .widget,
.widget {
    background: #ffffff;
    border: 1px solid var(--an-borda);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(70, 85, 32, 0.06);
}

.woocommerce .widget-title,
.ast-woocommerce-container .widget-title,
.widget-title {
    color: var(--an-verde);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
}

.woocommerce .widget_product_categories ul li,
.widget_product_categories ul li {
    border-bottom: 1px solid #eadcc9;
    padding: 8px 0;
}

.woocommerce .widget_product_categories ul li:last-child,
.widget_product_categories ul li:last-child {
    border-bottom: none;
}

.woocommerce .widget_product_categories ul li a,
.widget_product_categories ul li a {
    color: var(--an-texto);
    font-weight: 700;
}

.woocommerce .widget_product_categories ul li a:hover,
.widget_product_categories ul li a:hover {
    color: var(--an-laranja);
}

/* Busca lateral em bloco Gutenberg */
#secondary .wp-block-search,
.sidebar-main .wp-block-search {
    width: 100% !important;
}

#secondary .wp-block-search__inside-wrapper,
.sidebar-main .wp-block-search__inside-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

#secondary .wp-block-search__input,
.sidebar-main .wp-block-search__input,
#secondary input[type="search"],
.sidebar-main input[type="search"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    border: 1px solid #d8d0c4 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

#secondary .wp-block-search__button,
.sidebar-main .wp-block-search__button,
#secondary button[type="submit"],
.sidebar-main button[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    background-color: var(--an-verde) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: center !important;
}

/* =========================================================
   Cards de produto na loja e relacionados
   ========================================================= */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: #ffffff;
    border: 1px solid #eee7dc;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(70, 85, 32, 0.08);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 470px;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(70, 85, 32, 0.14);
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 14px;
}

.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce-page ul.products li.product .ast-woo-product-category {
    min-height: 22px;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: #8b8b8b;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    color: var(--an-texto);
    font-size: 14px;
    line-height: 1.35;
    min-height: 82px;
    font-weight: 700;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    color: var(--an-verde);
    font-size: 18px;
    font-weight: 800;
    margin-top: auto;
    margin-bottom: 10px;
    min-height: 26px;
    display: block;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    padding: 10px 8px;
    margin-top: 0;
    background-color: var(--an-laranja);
    color: #ffffff;
    border: 2px solid #078037;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-transform: none;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product a.button:hover {
    background-color: var(--an-terracota);
    border-color: var(--an-terracota);
    color: #ffffff;
}

@media (min-width: 1024px) {
    .woocommerce ul.products li.product .button,
    .woocommerce-page ul.products li.product .button,
    .woocommerce ul.products li.product a.button,
    .woocommerce-page ul.products li.product a.button {
        font-size: 12.5px;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        min-height: auto;
    }

    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img {
        height: 180px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        min-height: auto;
    }
}

/* =========================================================
   Carrinho, Checkout e Minha Conta
   ========================================================= */

body.woocommerce-checkout #secondary,
body.woocommerce-cart #secondary,
body.woocommerce-account #secondary,
body[class*="minha-conta"] #secondary,
body[class*="carrinho"] #secondary,
body[class*="finalizar-compra"] #secondary,
body.page-template-default.woocommerce-account #secondary,
body.page-template-default.woocommerce-cart #secondary,
body.page-template-default.woocommerce-checkout #secondary {
    display: none !important;
}

body.woocommerce-checkout #primary,
body.woocommerce-cart #primary,
body.woocommerce-account #primary,
body[class*="minha-conta"] #primary,
body[class*="carrinho"] #primary,
body[class*="finalizar-compra"] #primary,
body.page-template-default.woocommerce-account #primary,
body.page-template-default.woocommerce-cart #primary,
body.page-template-default.woocommerce-checkout #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
}

body.woocommerce-checkout .ast-container,
body.woocommerce-cart .ast-container,
body.woocommerce-account .ast-container,
body[class*="minha-conta"] .ast-container,
body[class*="carrinho"] .ast-container,
body[class*="finalizar-compra"] .ast-container,
body.page-template-default.woocommerce-account .ast-container,
body.page-template-default.woocommerce-cart .ast-container,
body.page-template-default.woocommerce-checkout .ast-container {
    max-width: 1180px !important;
    display: block !important;
}

body.woocommerce-account .site-content,
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content,
body[class*="minha-conta"] .site-content,
body[class*="carrinho"] .site-content,
body[class*="finalizar-compra"] .site-content {
    padding-top: 42px !important;
    padding-bottom: 64px !important;
}

body.woocommerce-account .entry-title,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body[class*="minha-conta"] .entry-title,
body[class*="carrinho"] .entry-title,
body[class*="finalizar-compra"] .entry-title {
    color: var(--an-texto);
    font-weight: 800;
    margin-bottom: 42px !important;
}

body.woocommerce-account .entry-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 10px 28px rgba(70, 85, 32, 0.06);
}

body.woocommerce-checkout #primary,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article,
body.woocommerce-checkout .ast-article-single,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .post-9,
body.woocommerce-cart #primary,
body.woocommerce-cart .site-main,
body.woocommerce-cart article,
body.woocommerce-cart .ast-article-single,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .post-8 {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

body.woocommerce-checkout.ast-separate-container .ast-article-single,
body.woocommerce-checkout.ast-separate-container .comment-respond,
body.woocommerce-checkout.ast-separate-container .ast-woocommerce-container,
body.woocommerce-cart.ast-separate-container .ast-article-single,
body.woocommerce-cart.ast-separate-container .comment-respond,
body.woocommerce-cart.ast-separate-container .ast-woocommerce-container {
    background: transparent !important;
    padding: 0 !important;
}

body.woocommerce-checkout #content,
body.woocommerce-cart #content {
    background: #f6f6f4 !important;
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-cart input[type="text"] {
    min-height: 46px;
    border-radius: 10px !important;
    border: 1px solid #d8d0c4 !important;
    padding: 10px 14px !important;
    background: #ffffff;
    color: var(--an-texto);
    box-sizing: border-box;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.woocommerce-account input:focus,
.woocommerce-cart input:focus {
    border-color: var(--an-verde) !important;
    box-shadow: 0 0 0 3px rgba(70, 85, 32, 0.12) !important;
    outline: none !important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.wc-block-components-notice-banner {
    border-radius: 12px !important;
}

/* Resumo do checkout/carrinho */
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid var(--an-borda) !important;
    box-shadow: 0 10px 24px rgba(70, 85, 32, 0.08) !important;
    overflow: hidden !important;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block {
    background: transparent !important;
    border-color: #ddd6ca !important;
    box-shadow: none !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--an-texto) !important;
}

body.woocommerce-cart .wc-block-cart__submit-container {
    margin-top: 18px !important;
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce a.checkout-button,
.woocommerce button.button,
.wc-block-components-button {
    background: var(--an-verde) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    min-height: 48px;
    font-weight: 800 !important;
    border: none !important;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce a.checkout-button:hover,
.woocommerce button.button:hover,
.wc-block-components-button:hover {
    background: var(--an-laranja) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    body.woocommerce-account .entry-content {
        padding: 20px;
    }
}

/* =========================================================
   Página individual do produto - layout limpo e centralizado
   ========================================================= */

/* Oculta qualquer sidebar nativa ou sidebar própria criada em testes */
body.single-product #secondary,
body.single-product .widget-area.secondary,
body.single-product .an-single-product-sidebar {
    display: none !important;
}

body.single-product #primary,
body.single-product .content-area.primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
}

body.single-product .ast-container,
body.single-product .site-content .ast-container {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    display: block !important;
}

body.single-product .site-main,
body.single-product article,
body.single-product .ast-article-single,
body.single-product .entry-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

body.single-product .ast-woocommerce-container {
    max-width: 980px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 42px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(70, 85, 32, 0.06) !important;
    display: block !important;
}

body.single-product div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 42px !important;
    align-items: flex-start !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.single-product div.product div.images {
    width: calc(48% - 21px) !important;
    max-width: calc(48% - 21px) !important;
    margin: 0 !important;
    float: none !important;
}

body.single-product div.product div.summary {
    width: calc(52% - 21px) !important;
    max-width: calc(52% - 21px) !important;
    margin: 0 !important;
    float: none !important;
    padding-top: 0 !important;
}

body.single-product div.product div.images img {
    width: 100% !important;
    max-height: 460px !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    background: #fafafa !important;
}

body.single-product .woocommerce-breadcrumb {
    color: #7d7d7d;
    font-size: 13px;
    margin-bottom: 14px;
}

body.single-product .woocommerce-breadcrumb a {
    color: var(--an-verde);
    font-weight: 700;
}

body.single-product .product_title {
    color: var(--an-texto);
    max-width: 100% !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 800;
    margin-bottom: 14px;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

body.single-product .summary .price {
    color: var(--an-verde);
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 900;
    margin-bottom: 16px;
}

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

body.single-product .stock {
    color: var(--an-verde) !important;
    font-weight: 800;
}

body.single-product form.cart .quantity input.qty {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #d8d0c4;
}

body.single-product form.cart .single_add_to_cart_button {
    min-height: 48px;
    border-radius: 10px !important;
    background: var(--an-verde) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
}

body.single-product form.cart .single_add_to_cart_button:hover {
    background: var(--an-laranja) !important;
}

body.single-product .product_meta {
    width: 100% !important;
    flex-basis: 100% !important;
    margin-top: 18px !important;
    padding-top: 14px !important;
    border-top: 1px solid #ddd6ca !important;
}

body.single-product .product_meta .posted_in a {
    background: var(--an-bege);
    color: var(--an-verde);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

body.single-product .woocommerce-tabs,
body.single-product .an-product-category-nav,
body.single-product section.related.products {
    width: 100% !important;
    flex-basis: 100% !important;
}

body.single-product .woocommerce-tabs {
    margin-top: 42px;
}

body.single-product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #ddd6ca;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    color: var(--an-texto);
    font-weight: 800;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
    color: var(--an-verde);
}

body.single-product .woocommerce-Tabs-panel {
    font-size: 17px;
    line-height: 1.7;
    color: var(--an-texto);
}

.an-product-benefits,
.an-product-category-nav {
    margin-top: 34px;
    margin-bottom: 34px;
    padding: 24px;
    border-radius: 18px;
    background: #faf7f0;
    border: 1px solid var(--an-borda);
}

.an-product-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.an-product-benefits li {
    margin-bottom: 9px;
    color: var(--an-texto);
    font-weight: 700;
}

.an-product-benefits li:last-child {
    margin-bottom: 0;
}

.an-product-category-nav {
    text-align: center;
}

.an-product-category-nav h2 {
    color: var(--an-texto);
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 18px;
    text-align: center;
}

.an-product-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.an-product-category-pills a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e3d6c4;
    color: var(--an-verde);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.an-product-category-pills a:hover {
    background: var(--an-verde);
    color: #ffffff;
    border-color: var(--an-verde);
}

body.single-product section.related.products {
    margin-top: 44px;
}

body.single-product section.related.products h2 {
    color: var(--an-texto);
    font-weight: 900;
    margin-bottom: 24px;
}

body.single-product section.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

@media (max-width: 768px) {
    body.single-product .ast-woocommerce-container {
        max-width: 100% !important;
        padding: 22px !important;
    }

    body.single-product div.product {
        display: block !important;
    }

    body.single-product div.product div.images,
    body.single-product div.product div.summary {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.single-product div.product div.summary {
        margin-top: 24px !important;
    }

    body.single-product .product_title {
        font-size: 24px !important;
    }

    .an-product-category-nav,
    .an-product-benefits {
        padding: 18px;
    }

    .an-product-category-nav h2 {
        font-size: 20px;
    }

    .an-product-category-pills a {
        width: 100%;
    }

    body.single-product section.related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
/* ================================
   Amor Natural - Refinamento Minha Conta
   ================================ */

body.woocommerce-account .entry-content {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    border-radius: 12px;
    overflow: hidden;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link a {
    font-weight: 700;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active a {
    background: #faf7f0;
    color: var(--an-laranja);
}
/* ================================
   Amor Natural - Busca no cabeçalho
   ================================ */

.an-header-search-item {
    display: flex !important;
    align-items: center;
    margin-left: 18px !important;
}

.an-header-search-form {
    display: flex;
    align-items: center;
    width: 260px;
    height: 40px;
    border: 1px solid #e3d6c4;
    border-radius: 999px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(70, 85, 32, 0.06);
}

.an-header-search-form input[type="search"] {
    flex: 1;
    height: 100%;
    border: none !important;
    background: transparent;
    padding: 0 14px;
    font-size: 14px;
    color: var(--an-texto);
    outline: none;
}

.an-header-search-form input[type="search"]::placeholder {
    color: #9a9a9a;
}

.an-header-search-form button {
    width: 44px;
    height: 100%;
    border: none !important;
    border-radius: 0 !important;
    background: var(--an-verde) !important;
    color: #ffffff !important;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.an-header-search-form button:hover {
    background: var(--an-laranja) !important;
}

/* Responsivo */
@media (max-width: 1100px) {
    .an-header-search-form {
        width: 210px;
    }
}

@media (max-width: 921px) {
    .an-header-search-item {
        width: 100%;
        margin: 12px 0 !important;
        padding: 0 16px;
    }

    .an-header-search-form {
        width: 100%;
    }
}
/* ================================
   Amor Natural - Página de categoria de produtos
   ================================ */

/* Card principal da categoria */
body.tax-product_cat .ast-woocommerce-container {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 38px 42px !important;
    box-shadow: 0 10px 28px rgba(70, 85, 32, 0.06) !important;
}

/* Breadcrumb da categoria */
body.tax-product_cat .woocommerce-breadcrumb {
    font-size: 14px !important;
    color: #777 !important;
    margin-bottom: 18px !important;
}

body.tax-product_cat .woocommerce-breadcrumb a {
    color: var(--an-verde) !important;
    font-weight: 700 !important;
}

/* Título da categoria */
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_cat .page-title {
    font-size: 42px !important;
    line-height: 1.12 !important;
    color: var(--an-texto) !important;
    font-weight: 900 !important;
    margin-bottom: 22px !important;
}

/* Remove excesso de espaço do cabeçalho */
body.tax-product_cat .woocommerce-products-header {
    margin-bottom: 22px !important;
    padding-bottom: 0 !important;
}

/* Descrição da categoria */
body.tax-product_cat .term-description {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--an-texto) !important;
    margin-bottom: 24px !important;
}

/* Linha de contador e ordenação */
body.tax-product_cat .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering {
    margin-bottom: 28px !important;
}

/* Aproxima produtos e deixa a grid respirar */
body.tax-product_cat ul.products {
    margin-top: 6px !important;
}

/* Ajuste mobile */
@media (max-width: 768px) {
    body.tax-product_cat .ast-woocommerce-container {
        padding: 24px 20px !important;
    }

    body.tax-product_cat .woocommerce-products-header__title,
    body.tax-product_cat .page-title {
        font-size: 30px !important;
    }
}
/* ================================
   Amor Natural - Ocultar descrição repetida nas categorias
   ================================ */

body.tax-product_cat .term-description {
    display: none !important;
}
/* ================================
   Amor Natural - Carrinho vazio com produtos sugeridos
   ================================ */

/* Mantém produtos sugeridos visíveis no carrinho vazio */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    display: block !important;
}

/* Ajusta botão dos produtos sugeridos no carrinho vazio */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .add_to_cart_button {
    background: var(--an-laranja) !important;
    color: #ffffff !important;
    border: 2px solid #078037 !important;
    border-radius: 10px !important;
    min-height: 44px !important;
    padding: 10px 22px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .add_to_cart_button:hover {
    background: var(--an-terracota) !important;
    border-color: var(--an-terracota) !important;
    color: #ffffff !important;
}

/* Ajusta título da seção de produtos sugeridos */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading {
    color: var(--an-texto) !important;
    font-weight: 900 !important;
    text-align: center !important;
}
/* ================================
   Amor Natural - Carrinho vazio com produtos sugeridos corrigido
   ================================ */

/* Mantém a seção de novidades visível */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading {
    display: block !important;
}

/* Corrige grid dos produtos sugeridos */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new {
    display: block !important;
    width: 100% !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
}

/* Card dos produtos sugeridos */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
    width: 100% !important;
    max-width: 100% !important;
    list-style: none !important;
}

/* Botões dos produtos sugeridos */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .add_to_cart_button {
    background: var(--an-laranja) !important;
    color: #ffffff !important;
    border: 2px solid #078037 !important;
    border-radius: 10px !important;
    min-height: 44px !important;
    padding: 10px 22px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .add_to_cart_button:hover {
    background: var(--an-terracota) !important;
    border-color: var(--an-terracota) !important;
    color: #ffffff !important;
}

/* Mobile */
@media (max-width: 768px) {
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        grid-template-columns: 1fr !important;
    }
}
/* ================================
   Amor Natural - Página Contato
   ================================ */

.an-contact-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 42px 20px 64px;
}

.an-contact-hero {
    text-align: center;
    margin-bottom: 34px;
}

.an-contact-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: #faf7f0;
    color: var(--an-verde);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 14px;
}

.an-contact-hero h1 {
    color: var(--an-texto);
    font-size: 42px;
    line-height: 1.12;
    font-weight: 900;
    margin-bottom: 14px;
}

.an-contact-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--an-texto);
    font-size: 17px;
    line-height: 1.6;
}

.an-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.an-contact-card {
    background: #ffffff;
    border: 1px solid #eee1cf;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(70, 85, 32, 0.06);
}

.an-contact-card h2 {
    color: var(--an-texto);
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 22px;
}

.an-contact-item {
    margin-bottom: 18px;
}

.an-contact-item strong {
    display: block;
    color: var(--an-verde);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 5px;
}

.an-contact-item a,
.an-contact-item p {
    color: var(--an-texto);
    font-size: 16px;
    line-height: 1.55;
    text-decoration: none;
    margin: 0;
}

.an-contact-item a:hover {
    color: var(--an-laranja);
}

.an-contact-item small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 13px;
}

.an-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 10px;
    background: var(--an-verde);
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none !important;
    margin-top: 8px;
}

.an-contact-button:hover {
    background: var(--an-laranja);
    color: #ffffff !important;
}

.an-contact-button-secondary {
    background: var(--an-laranja);
}

.an-contact-button-secondary:hover {
    background: var(--an-terracota);
}

.an-contact-map {
    background: #ffffff;
    border: 1px solid #eee1cf;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 10px 28px rgba(70, 85, 32, 0.06);
    overflow: hidden;
}

.an-contact-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .an-contact-page {
        padding: 28px 16px 48px;
    }

    .an-contact-hero h1 {
        font-size: 32px;
    }

    .an-contact-grid {
        grid-template-columns: 1fr;
    }

    .an-contact-card {
        padding: 22px;
    }

    .an-contact-map iframe {
        height: 340px;
    }
}
/* ================================
   Amor Natural - Ajuste busca no cabeçalho
   ================================ */

/* Mantém menu e busca alinhados no desktop */
@media (min-width: 922px) {
    .main-header-menu {
        display: flex !important;
        align-items: center !important;
        gap: 18px !important;
    }

    .main-header-menu > .menu-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
        white-space: nowrap;
    }

    .an-header-search-item {
        margin-left: 8px !important;
        flex: 0 0 auto !important;
    }

    .an-header-search-form {
        width: 240px !important;
        height: 38px !important;
    }

    .an-header-search-form input[type="search"] {
        font-size: 13px !important;
    }

    .an-header-search-form button {
        width: 42px !important;
    }
}

/* Em telas médias, reduz um pouco a busca */
@media (min-width: 922px) and (max-width: 1180px) {
    .an-header-search-form {
        width: 190px !important;
    }

    .main-header-menu {
        gap: 12px !important;
    }

    .main-header-menu .menu-link {
        font-size: 14px !important;
    }
}
/* Ajuste do cabeçalho - mantém menu e busca na mesma linha */
@media (min-width: 922px) {

  header.site-header,
  .site-header .ast-container,
  .site-header .ast-builder-grid-row,
  .main-header-bar .ast-container {
    align-items: center !important;
  }

  .site-header .ast-builder-grid-row,
  .main-header-bar .ast-container {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  .site-header .main-header-menu,
  .site-header .ast-builder-menu,
  .site-header .main-navigation {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .site-header .widget_product_search,
  .site-header .woocommerce-product-search,
  .site-header form.search-form {
    flex: 0 0 260px !important;
    width: 260px !important;
    max-width: 260px !important;
    margin-left: 24px !important;
    margin-top: 0 !important;
  }

  .site-header .woocommerce-product-search {
    display: flex !important;
    align-items: center !important;
  }

  .site-header .woocommerce-product-search input.search-field,
  .site-header form.search-form input.search-field {
    height: 40px !important;
    min-width: 0 !important;
  }

  .site-header .woocommerce-product-search button,
  .site-header form.search-form button {
    height: 40px !important;
    min-width: 52px !important;
  }
}
/* =====================================================
   AMOR NATURAL - AJUSTE FINO DO LOGO NAS PÁGINAS WOO
   Move somente logo + nome para esquerda
   Não mexe no menu nem na busca
   ===================================================== */

@media (min-width: 922px) {

  body.woocommerce-account .site-header-primary-section-left,
  body.woocommerce-cart .site-header-primary-section-left,
  body.woocommerce-checkout .site-header-primary-section-left {
    transform: translateX(-70px) !important;
  }

  body.woocommerce-account .site-header-primary-section-center,
  body.woocommerce-cart .site-header-primary-section-center,
  body.woocommerce-checkout .site-header-primary-section-center,
  body.woocommerce-account .site-header-primary-section-right,
  body.woocommerce-cart .site-header-primary-section-right,
  body.woocommerce-checkout .site-header-primary-section-right {
    transform: none !important;
  }

  body.woocommerce-account .site-branding,
  body.woocommerce-cart .site-branding,
  body.woocommerce-checkout .site-branding,
  body.woocommerce-account .ast-site-identity,
  body.woocommerce-cart .ast-site-identity,
  body.woocommerce-checkout .ast-site-identity {
    margin-right: 40px !important;
    overflow: visible !important;
  }

  body.woocommerce-account .site-title,
  body.woocommerce-cart .site-title,
  body.woocommerce-checkout .site-title,
  body.woocommerce-account .site-title a,
  body.woocommerce-cart .site-title a,
  body.woocommerce-checkout .site-title a {
    white-space: nowrap !important;
  }
}
/* =====================================================
   AMOR NATURAL - AJUSTE DO LOGO EM PÁGINAS WOO
   Carrinho, Conta, Checkout e Produto
   ===================================================== */

@media (min-width: 922px) {

  body.woocommerce-account .site-header-primary-section-left,
  body.woocommerce-cart .site-header-primary-section-left,
  body.woocommerce-checkout .site-header-primary-section-left,
  body.single-product .site-header-primary-section-left {
    transform: translateX(-70px) !important;
  }

  body.woocommerce-account .site-header-primary-section-center,
  body.woocommerce-cart .site-header-primary-section-center,
  body.woocommerce-checkout .site-header-primary-section-center,
  body.single-product .site-header-primary-section-center,
  body.woocommerce-account .site-header-primary-section-right,
  body.woocommerce-cart .site-header-primary-section-right,
  body.woocommerce-checkout .site-header-primary-section-right,
  body.single-product .site-header-primary-section-right {
    transform: none !important;
  }

  body.woocommerce-account .site-branding,
  body.woocommerce-cart .site-branding,
  body.woocommerce-checkout .site-branding,
  body.single-product .site-branding,
  body.woocommerce-account .ast-site-identity,
  body.woocommerce-cart .ast-site-identity,
  body.woocommerce-checkout .ast-site-identity,
  body.single-product .ast-site-identity {
    margin-right: 40px !important;
    overflow: visible !important;
  }

  body.woocommerce-account .site-title,
  body.woocommerce-cart .site-title,
  body.woocommerce-checkout .site-title,
  body.single-product .site-title,
  body.woocommerce-account .site-title a,
  body.woocommerce-cart .site-title a,
  body.woocommerce-checkout .site-title a,
  body.single-product .site-title a {
    white-space: nowrap !important;
  }
}
/* ================================
   Amor Natural - Produto indisponível / Avise-me
   ================================ */

.an-notify-button,
.woocommerce ul.products li.product .an-notify-button {
    background: var(--an-verde) !important;
    color: #ffffff !important;
    border: 2px solid var(--an-verde) !important;
    border-radius: 10px !important;
    min-height: 44px !important;
    padding: 10px 22px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.an-notify-button:hover {
    background: var(--an-laranja) !important;
    border-color: var(--an-laranja) !important;
    color: #ffffff !important;
}

.an-out-of-stock-box {
    margin: 18px 0 22px;
}

.an-out-of-stock-text,
.woocommerce div.product .stock.out-of-stock {
    color: #b44426 !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}

.woocommerce ul.products li.product .stock.out-of-stock {
    color: #b44426 !important;
    font-weight: 800 !important;
    margin: 8px 0 !important;
}
