/*
Theme Name: Nutrição e Equilíbrio
Theme URI: https://nutricaoeequilibrio.com.br
Author: Nutrição e Equilíbrio
Description: Tema WooCommerce para loja de suplementos naturais — integrado com Mercado Pago e Correios.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.7
WC requires at least: 8.0
WC tested up to: 9.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nutricao-equilibrio
Tags: woocommerce, e-commerce, custom-colors, full-width-template, translation-ready
*/

/* ============================================================
   VARIÁVEIS & RESET
   ============================================================ */
:root {
  --verde:       #2D5016;
  --verde-m:     #3d6b1e;
  --menta:       #A8C97F;
  --bege:        #F7F3ED;
  --dourado:     #C8A96E;
  --texto:       #1a2e0a;
  --texto-claro: #5a6e4a;
  --branco:      #ffffff;
  --borda:       #e4dfd7;
  --mp-blue:     #009EE3;
  --mp-blue-d:   #0077b6;
  --fundo:       #f9f7f4;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--fundo);
  color: var(--texto);
  font-size: 14px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--verde);
  line-height: 1.25;
}

/* ============================================================
   LAYOUT WRAPPER
   ============================================================ */
.ne-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAV / HEADER
   ============================================================ */
#site-header {
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
  position: sticky;
  top: 0;
  z-index: 100;
}

#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 40px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 36px; height: 36px;
  background: var(--verde);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .nome {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700;
  color: var(--verde);
}
.logo-text .tagline {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dourado);
  font-weight: 500;
}

/* Nav links */
.main-nav { display: flex; gap: 24px; list-style: none; }
.main-nav a {
  text-decoration: none;
  color: var(--texto-claro);
  font-size: 13px;
  font-weight: 500;
  transition: color .15s;
}
.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--verde); font-weight: 600; }

/* Cart button */
.header-cart {
  background: var(--verde);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background .15s;
}
.header-cart:hover { background: var(--verde-m); color: white; text-decoration: none; }
.cart-badge {
  background: var(--menta);
  color: var(--verde);
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.ne-breadcrumb {
  padding: 12px 40px;
  font-size: 12px;
  color: var(--texto-claro);
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
}
.ne-breadcrumb a { color: var(--texto-claro); }
.ne-breadcrumb .current { color: var(--verde); font-weight: 500; }

/* ============================================================
   PAGE HERO (Categorias)
   ============================================================ */
.page-hero {
  background: var(--bege);
  padding: 40px 40px 32px;
}
.page-hero .hero-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 8px;
}
.page-hero h1 {
  font-size: 34px;
  color: var(--verde);
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 14px;
  color: var(--texto-claro);
  max-width: 500px;
  line-height: 1.6;
}

/* ============================================================
   CATEGORIA CARDS (página principal)
   ============================================================ */
.cats-section { padding: 40px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--bege);
  border-radius: 14px;
  padding: 28px 16px 22px;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--menta);
  border-radius: 0 0 12px 12px;
  opacity: 0;
  transition: opacity .18s;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--menta); box-shadow: 0 8px 28px rgba(45,80,22,.11); text-decoration: none; }
.cat-card:hover::before { opacity: 1; }

.cat-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  border: 2px solid #d4e8b8;
}
.cat-card h3 { font-size: 13px; font-weight: 700; color: var(--verde); margin-bottom: 5px; font-family: 'Inter', sans-serif; }
.cat-card p { font-size: 11px; color: var(--texto-claro); line-height: 1.5; margin-bottom: 12px; }
.cat-count {
  display: inline-block;
  background: white;
  color: var(--verde);
  border: 1px solid #c8dfa0;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
}

/* ============================================================
   INFO STRIP
   ============================================================ */
.info-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
  margin: 0 40px;
}
.info-item {
  padding: 20px 16px;
  border-right: 1px solid var(--borda);
  text-align: center;
}
.info-item:last-child { border-right: none; }
.info-emoji { font-size: 22px; margin-bottom: 6px; }
.info-label { font-size: 11px; color: var(--texto-claro); line-height: 1.4; }
.info-label strong { display: block; color: var(--verde); font-size: 12px; margin-bottom: 2px; }

/* ============================================================
   FEATURED SECTION
   ============================================================ */
.featured-section { padding: 40px; background: var(--bege); }
.featured-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.featured-header h2 { font-size: 22px; }
.featured-header a {
  font-size: 12px;
  color: var(--verde);
  border-bottom: 1px solid var(--menta);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

/* ============================================================
   MINI CARD (produto em listagem / destaque)
   ============================================================ */
.mini-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--borda);
  transition: transform .15s;
  display: flex;
  flex-direction: column;
}
.mini-card:hover { transform: translateY(-3px); }
.mini-thumb {
  height: 90px;
  display: flex; align-items: center; justify-content: center;
}
.mini-info { padding: 10px 12px 12px; flex: 1; }
.mini-cat {
  font-size: 9px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.mini-name {
  font-size: 12px; font-weight: 600;
  color: var(--texto);
  margin-bottom: 6px;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
}
.mini-price {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700;
  color: var(--verde);
}
.mini-btn {
  display: block; width: 100%;
  background: var(--verde); color: white;
  border: none; padding: 7px;
  font-size: 11px; font-weight: 600;
  cursor: pointer;
  border-radius: 0 0 8px 8px;
  font-family: 'Inter', sans-serif;
  transition: background .15s;
}
.mini-btn:hover { background: var(--verde-m); }

/* ============================================================
   WOOCOMMERCE – LISTAGEM DE PRODUTOS (archive-product)
   ============================================================ */
.ne-archive-hero { background: var(--bege); padding: 32px 40px 24px; }
.ne-archive-hero h1 { font-size: 28px; }
.ne-archive-hero p { color: var(--texto-claro); font-size: 13px; margin-top: 6px; }

.ne-shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 32px 40px; align-items: start; }

/* Sidebar filtros */
.ne-sidebar { position: sticky; top: 80px; }
.sidebar-section { background: white; border: 1px solid var(--borda); border-radius: 10px; padding: 18px; margin-bottom: 14px; }
.sidebar-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--texto-claro); margin-bottom: 12px; }
.sidebar-section .widget_layered_nav ul { list-style: none; }
.sidebar-section .widget_layered_nav ul li { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; font-size: 13px; color: var(--texto-claro); }
.sidebar-section .widget_price_filter .price_slider_wrapper { margin-top: 8px; }
.sidebar-section .widget_rating_filter ul { list-style: none; }
.sidebar-section .widget_rating_filter ul li { margin-bottom: 6px; font-size: 12px; }

/* Products grid */
.ne-products-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ne-result-count { font-size: 12px; color: var(--texto-claro); }
.ne-orderby { border: 1px solid var(--borda); border-radius: 7px; padding: 7px 12px; font-size: 12px; font-family: 'Inter', sans-serif; color: var(--texto); background: white; }

.ne-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* WC Product card override */
.ne-products-grid ul.products { display: contents; }
.ne-products-grid ul.products li.product {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--borda);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.ne-products-grid ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(45,80,22,.1); }

.ne-products-grid ul.products li.product a.woocommerce-loop-product__link { display: block; }
.ne-products-grid ul.products li.product img { width: 100%; height: 180px; object-fit: contain; background: var(--bege); padding: 12px; }
.ne-products-grid ul.products li.product .woocommerce-loop-product__title { font-size: 13px; font-weight: 600; color: var(--texto); padding: 12px 14px 4px; font-family: 'Inter', sans-serif; }
.ne-products-grid ul.products li.product .price { padding: 0 14px 10px; font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--verde); display: block; }
.ne-products-grid ul.products li.product .price del { color: #aaa; font-size: 12px; margin-right: 4px; }
.ne-products-grid ul.products li.product .price ins { text-decoration: none; }
.ne-products-grid ul.products li.product .button.add_to_cart_button {
  display: block; width: calc(100% - 28px);
  margin: 0 14px 14px;
  background: var(--verde); color: white;
  border: none; padding: 9px;
  border-radius: 7px; font-size: 12px; font-weight: 600;
  cursor: pointer; text-align: center;
  font-family: 'Inter', sans-serif;
  transition: background .15s;
}
.ne-products-grid ul.products li.product .button.add_to_cart_button:hover { background: var(--verde-m); }
.ne-products-grid ul.products li.product .onsale {
  background: #d4380d; color: white;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 5px;
  position: absolute; top: 12px; left: 12px;
}

/* ============================================================
   WOOCOMMERCE – PRODUTO INDIVIDUAL (single-product)
   ============================================================ */
.ne-single-product { background: var(--branco); }
.product-section { display: grid; grid-template-columns: 1fr 1fr; }

/* Gallery */
.ne-gallery { padding: 28px 24px 28px 40px; }
.ne-gallery .main-img {
  background: var(--bege);
  border-radius: 14px;
  height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin-bottom: 12px;
  overflow: hidden;
}
.ne-gallery .main-img .img-badge {
  position: absolute; top: 14px; left: 14px;
  background: #d4380d; color: white;
  padding: 3px 9px; border-radius: 5px;
  font-size: 10px; font-weight: 700;
}
.thumbs { display: flex; gap: 8px; }
.woocommerce-product-gallery__image { border-radius: 14px; overflow: hidden; }

/* Info panel */
.ne-product-info { padding: 28px 40px 28px 24px; border-left: 1px solid var(--borda); display: flex; flex-direction: column; gap: 0; }
.prod-category {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--dourado); margin-bottom: 6px;
}
.prod-category a { color: var(--dourado); }
.entry-title { font-size: 26px; color: var(--verde); line-height: 1.2; margin-bottom: 6px; }
.woocommerce-product-details__short-description { font-size: 13px; color: var(--texto-claro); margin-bottom: 16px; line-height: 1.5; }

/* Price */
.ne-product-info .price {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700;
  color: var(--verde);
  display: block; margin-bottom: 4px;
}
.ne-product-info .price del { color: #aaa; font-size: 17px; margin-right: 8px; }
.ne-product-info .price ins { text-decoration: none; }
.pix-note { font-size: 12px; color: var(--texto-claro); margin-bottom: 4px; }
.pix-note strong { color: var(--verde); }
.installment-note { font-size: 12px; color: var(--texto-claro); margin-bottom: 16px; }

hr.ne-divider { border: none; border-top: 1px solid var(--borda); margin: 16px 0; }

/* Quantity + buttons */
.ne-product-info .quantity input {
  width: 80px; height: 42px;
  border: 1.5px solid var(--borda);
  border-radius: 8px;
  text-align: center;
  font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--texto);
}
.single_add_to_cart_button {
  background: var(--verde) !important;
  color: white !important;
  border: none !important;
  padding: 13px 28px !important;
  border-radius: 9px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
  transition: background .15s !important;
}
.single_add_to_cart_button:hover { background: var(--verde-m) !important; }

/* Benefits */
.product-benefits { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.product-benefits li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--texto-claro); }
.benefit-icon { width: 20px; height: 20px; background: #e8f0d8; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }

/* Tabs */
.woocommerce-tabs .tabs-nav { display: flex; border-bottom: 1px solid var(--borda); padding: 0 40px; list-style: none; background: white; }
.woocommerce-tabs .tabs-nav li a { display: block; padding: 14px 22px; font-size: 13px; font-weight: 500; color: var(--texto-claro); border-bottom: 2.5px solid transparent; transition: all .15s; text-decoration: none; }
.woocommerce-tabs .tabs-nav li.active a { color: var(--verde); border-bottom-color: var(--verde); font-weight: 600; }
.woocommerce-tabs .panel { padding: 28px 40px; background: white; display: none; }
.woocommerce-tabs .panel.active { display: block; }
.woocommerce-tabs h2 { font-size: 18px; margin-bottom: 12px; }
.woocommerce-tabs p { font-size: 13px; color: var(--texto-claro); line-height: 1.75; margin-bottom: 12px; }

/* Nutritional table */
.nutri-table { width: 100%; border-collapse: collapse; font-size: 12px; max-width: 480px; }
.nutri-table th { background: var(--verde); color: white; padding: 8px 12px; text-align: left; font-size: 11px; font-weight: 600; }
.nutri-table td { padding: 8px 12px; border-bottom: 1px solid var(--borda); color: var(--texto); }
.nutri-table tr:nth-child(even) td { background: var(--bege); }

/* Usage steps */
.uso-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.uso-step { background: var(--bege); border-radius: 10px; padding: 18px 14px; text-align: center; }
.uso-num { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--menta); margin-bottom: 6px; }
.uso-step h4 { font-size: 12px; font-weight: 700; color: var(--verde); margin-bottom: 4px; }
.uso-step p { font-size: 11px; color: var(--texto-claro); line-height: 1.5; }

/* Related products */
.ne-related { background: var(--bege); padding: 32px 40px; }
.ne-related-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.ne-related-header h2 { font-size: 20px; }
.ne-related-header a { font-size: 12px; border-bottom: 1px solid var(--menta); }
.ne-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* ============================================================
   WOOCOMMERCE – CARRINHO & CHECKOUT
   ============================================================ */
.ne-checkout-steps {
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
  padding: 0 40px;
  display: flex;
  align-items: center;
}
.ne-step {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px 14px 0;
  font-size: 12px; color: var(--texto-claro);
  position: relative;
}
.ne-step:not(:last-child)::after { content: '›'; margin-left: 20px; color: var(--borda); font-size: 16px; }
.ne-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--borda);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--texto-claro);
}
.ne-step.active .ne-step-num { background: var(--verde); border-color: var(--verde); color: white; }
.ne-step.active { color: var(--verde); font-weight: 600; }
.ne-step.done .ne-step-num { background: var(--menta); border-color: var(--menta); color: var(--verde); }

.ne-checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; padding: 24px 40px; align-items: start; }

.ne-panel { background: var(--branco); border-radius: 12px; border: 1px solid var(--borda); overflow: hidden; margin-bottom: 16px; }
.ne-panel-header { padding: 16px 20px; border-bottom: 1px solid var(--borda); display: flex; align-items: center; justify-content: space-between; }
.ne-panel-title { font-size: 14px; font-weight: 700; color: var(--verde); display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; }
.ne-panel-body { padding: 20px; }

/* Cart items */
.woocommerce-cart-form table.cart { width: 100%; border-collapse: collapse; }
.woocommerce-cart-form table.cart th { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--texto-claro); padding: 8px 12px; border-bottom: 1px solid var(--borda); }
.woocommerce-cart-form table.cart td { padding: 14px 12px; border-bottom: 1px solid var(--borda); vertical-align: middle; font-size: 13px; }
.woocommerce-cart-form table.cart td.product-thumbnail img { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; background: var(--bege); }
.woocommerce-cart-form table.cart td.product-name a { font-weight: 600; color: var(--texto); }
.woocommerce-cart-form table.cart td.product-price .amount,
.woocommerce-cart-form table.cart td.product-subtotal .amount { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--verde); }
.woocommerce-cart-form table.cart input.qty { width: 60px; border: 1.5px solid var(--borda); border-radius: 7px; padding: 5px 8px; text-align: center; font-family: 'Inter', sans-serif; }
.woocommerce-cart-form table.cart a.remove { color: #aaa !important; font-size: 18px; text-decoration: none; }
.woocommerce-cart-form table.cart a.remove:hover { color: #d4380d !important; }

/* Coupon / Update */
.woocommerce-cart-form .coupon { display: flex; gap: 8px; }
.woocommerce-cart-form .coupon #coupon_code {
  flex: 1; border: 1.5px solid var(--borda);
  border-radius: 7px; padding: 9px 12px;
  font-size: 12px; font-family: 'Inter', sans-serif;
}
.woocommerce-cart-form .coupon #coupon_code:focus { border-color: var(--menta); outline: none; }
.woocommerce-cart-form .coupon .button,
.woocommerce-cart-form .actions .button {
  background: var(--verde); color: white;
  border: none; padding: 9px 18px;
  border-radius: 7px; font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background .15s;
}
.woocommerce-cart-form .coupon .button:hover { background: var(--verde-m); }

/* Cart totals */
.cart_totals { background: white; border: 1px solid var(--borda); border-radius: 12px; padding: 20px; }
.cart_totals h2 { font-size: 16px; margin-bottom: 16px; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th,
.cart_totals table td { padding: 10px 0; border-bottom: 1px solid var(--borda); font-size: 13px; }
.cart_totals table th { font-weight: 600; color: var(--texto-claro); text-align: left; }
.cart_totals table .order-total th,
.cart_totals table .order-total td { font-size: 16px; font-weight: 700; color: var(--verde); border-bottom: none; }
.cart_totals table .order-total td .amount { font-family: 'Playfair Display', serif; }
.cart_totals .wc-proceed-to-checkout .checkout-button {
  display: block; width: 100%;
  background: var(--verde); color: white;
  border: none; padding: 14px;
  border-radius: 9px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: 'Inter', sans-serif;
  text-align: center; margin-top: 16px;
  transition: background .15s; text-decoration: none;
}
.cart_totals .wc-proceed-to-checkout .checkout-button:hover { background: var(--verde-m); }

/* CEP / Frete */
.ne-shipping-calc input.input-text {
  width: 100%; border: 1.5px solid var(--borda);
  border-radius: 7px; padding: 9px 12px;
  font-size: 12px; font-family: 'Inter', sans-serif;
  margin-bottom: 8px;
}
.ne-shipping-calc input.input-text:focus { border-color: var(--menta); outline: none; }
.ne-shipping-calc button { background: var(--verde); color: white; border: none; padding: 9px 18px; border-radius: 7px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; }

/* WooCommerce Checkout form */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 { font-size: 16px; margin-bottom: 16px; }

.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row { margin-bottom: 14px; }

.woocommerce-billing-fields label,
.woocommerce-shipping-fields label {
  display: block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--texto-claro); margin-bottom: 6px;
}
.woocommerce-billing-fields input,
.woocommerce-billing-fields select,
.woocommerce-shipping-fields input,
.woocommerce-shipping-fields select {
  width: 100%; border: 1.5px solid var(--borda);
  border-radius: 8px; padding: 10px 12px;
  font-size: 13px; font-family: 'Inter', sans-serif;
  color: var(--texto); background: white;
  transition: border-color .15s;
}
.woocommerce-billing-fields input:focus,
.woocommerce-billing-fields select:focus,
.woocommerce-shipping-fields input:focus,
.woocommerce-shipping-fields select:focus { border-color: var(--menta); outline: none; }

/* Mercado Pago payment section */
.ne-mp-section { background: white; border: 1px solid var(--borda); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.ne-mp-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ne-mp-logo { background: var(--mp-blue); color: white; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 700; }
.ne-mp-title { font-size: 14px; font-weight: 700; color: var(--verde); }
.ne-payment-options { display: flex; flex-direction: column; gap: 8px; }
.ne-payment-option {
  border: 1.5px solid var(--borda); border-radius: 8px;
  padding: 12px 14px; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  transition: border-color .15s;
}
.ne-payment-option:hover,
.ne-payment-option.active { border-color: var(--mp-blue); background: #f0f9ff; }
.ne-payment-option input[type="radio"] { accent-color: var(--mp-blue); }
.ne-payment-option-label { font-size: 13px; font-weight: 600; color: var(--texto); }
.ne-payment-option-sub { font-size: 11px; color: var(--texto-claro); }
.ne-pix-badge { background: #00c48c; color: white; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }

#place_order {
  display: block; width: 100%;
  background: var(--verde) !important;
  color: white !important;
  border: none !important;
  padding: 14px !important;
  border-radius: 9px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
  text-align: center !important;
  margin-top: 16px !important;
  transition: background .15s !important;
}
#place_order:hover { background: var(--verde-m) !important; }

/* Order review */
#order_review .shop_table { width: 100%; border-collapse: collapse; }
#order_review .shop_table th,
#order_review .shop_table td { padding: 10px 0; border-bottom: 1px solid var(--borda); font-size: 13px; }
#order_review .shop_table .product-name { font-weight: 600; }
#order_review .shop_table .amount { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--verde); }
#order_review .shop_table tfoot .order-total th,
#order_review .shop_table tfoot .order-total td { font-weight: 700; font-size: 16px; border-bottom: none; }

/* ============================================================
   MENSAGENS WOOCOMMERCE
   ============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 12px 18px;
  border-radius: 8px;
  margin: 16px 40px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.woocommerce-message { background: #e8f5e9; border-left: 3px solid var(--menta); color: var(--verde); }
.woocommerce-info { background: #e3f2fd; border-left: 3px solid var(--mp-blue); color: #0d47a1; }
.woocommerce-error { background: #ffebee; border-left: 3px solid #d4380d; color: #c62828; }
.woocommerce-error li { list-style: none; }

/* ============================================================
   STAR RATINGS
   ============================================================ */
.star-rating { color: var(--dourado); font-size: 14px; }
.star-rating span { color: #ddd; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  .ne-products-grid { grid-template-columns: repeat(2, 1fr); }
  .ne-checkout-grid { grid-template-columns: 1fr; }
  .cart_totals { max-width: 480px; }
  .product-section { grid-template-columns: 1fr; }
  .ne-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #site-header .header-inner { padding: 0 16px; }
  .main-nav { display: none; }
  .ne-container { padding: 0 16px; }
  .cats-section, .featured-section, .info-strip, .ne-shop-layout, .ne-checkout-grid { margin: 0; padding: 20px 16px; }
  .page-hero { padding: 24px 16px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: repeat(2, 1fr); margin: 0 16px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .ne-shop-layout { grid-template-columns: 1fr; }
  .ne-sidebar { position: static; }
  .ne-products-grid { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .ne-related-grid { grid-template-columns: repeat(2, 1fr); }
  .uso-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ne-checkout-grid { padding: 16px; }
  .woocommerce-tabs .tabs-nav { padding: 0 16px; overflow-x: auto; }
  .ne-related, .woocommerce-tabs .panel { padding: 24px 16px; }
}

/* ============================================================
   FOOTER — SIMPLIFICADO
   ============================================================ */
#site-footer {
  background: var(--texto);
  padding: 32px 40px;
  color: rgba(255,255,255,.5);
}
.footer-brand {
  margin-bottom: 20px;
}
.footer-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; margin-bottom: 10px;
}
.footer-logo .logo-icon {
  width: 28px; height: 28px;
  background: var(--verde);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-nome { color: #fff; font-size: 13px; font-weight: 500; }
.footer-sub  { color: var(--dourado); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; }
.footer-brand > p { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.65; max-width: 340px; }
.footer-bottom {
  border-top: .5px solid rgba(255,255,255,.1);
  padding-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom span { font-size: 11px; }
.payment-icons { display: flex; gap: 6px; }
.payment-icon {
  background: rgba(255,255,255,.1); border-radius: 4px;
  padding: 3px 8px; font-size: 9px; font-weight: 500;
  color: rgba(255,255,255,.6);
}
.payment-icon.mp { background: #009EE3; color: #fff; }

/* ============================================================
   HOMEPAGE V4 — HERO + CATS
   ============================================================ */
.hero-main {
  background: linear-gradient(135deg, #1a2e0a 0%, #2D5016 55%, #3d6b1e 100%);
  padding: 60px 40px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.hero-main .hero-orb {
  position: absolute; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(168,201,127,.05);
  top: -80px; right: 80px; pointer-events: none;
}
.hero-l { max-width: 500px; position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  background: rgba(168,201,127,.18); color: var(--menta);
  border: .5px solid rgba(168,201,127,.35);
  border-radius: 20px; padding: 4px 14px;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-main h1 {
  font-size: 30px; font-weight: 400;
  color: #fff; line-height: 1.25; margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}
.hero-main > .hero-l > p {
  font-size: 13px; color: rgba(255,255,255,.62);
  line-height: 1.7; margin-bottom: 26px; max-width: 380px;
}
.hero-btns { display: flex; gap: 10px; }
.btn-hero-w {
  background: #fff; color: var(--verde);
  border: none; border-radius: 8px;
  padding: 11px 24px; font-size: 12px; font-weight: 600;
  cursor: pointer; text-decoration: none; display: inline-block;
}
.btn-hero-w:hover { opacity: .9; color: var(--verde); text-decoration: none; }
.btn-hero-o {
  background: transparent; color: #fff;
  border: .5px solid rgba(255,255,255,.35);
  border-radius: 8px; padding: 11px 24px;
  font-size: 12px; text-decoration: none; display: inline-block;
}
.btn-hero-o:hover { border-color: rgba(255,255,255,.7); color: #fff; text-decoration: none; }

/* Categorias homepage */
.cats-home { padding: 48px 40px; background: #fff; }
.cats-home-inner { max-width: 1280px; margin: 0 auto; }
.cats-home .sh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.cats-home .sh h2 { font-size: 20px; font-weight: 500; color: var(--verde); }
.cats-home .sh a { font-size: 11px; color: var(--texto-claro); text-decoration: none; border-bottom: .5px solid var(--borda); }
.cats-grid-home { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.cat-card-home {
  background: #fff; border: 1px solid var(--borda);
  border-radius: 16px; padding: 36px 16px 28px;
  text-align: center; cursor: pointer;
  position: relative; overflow: hidden;
  transition: border-color .15s, box-shadow .18s, transform .18s;
  text-decoration: none; display: flex; flex-direction: column; align-items: center;
}
.cat-card-home::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--menta); transform: scaleX(0); transition: transform .2s;
}
.cat-card-home:hover { border-color: var(--menta); box-shadow: 0 8px 28px rgba(45,80,22,.11); transform: translateY(-4px); text-decoration: none; }
.cat-card-home:hover::after { transform: scaleX(1); }
.cat-ico-home {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--cat-bg, #e8f5e9);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 32px;
  border: 2px solid rgba(0,0,0,.04);
}
.cat-card-home h3 { font-size: 14px; font-weight: 700; color: var(--verde); margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.cat-card-home p  { font-size: 11px; color: var(--texto-claro); line-height: 1.5; margin-bottom: 14px; flex: 1; }
.cat-n-home {
  background: var(--bege); color: var(--suave, var(--texto-claro));
  border: 1px solid var(--borda); border-radius: 20px;
  padding: 3px 12px; font-size: 10px; font-weight: 600;
}

/* ============================================================
   HOMEPAGE — PRODUTOS EM DESTAQUE (10 cards, 2 por categoria)
   ============================================================ */
.home-products { padding: 48px 40px; background: var(--bege); }
.home-products-inner { max-width: 1280px; margin: 0 auto; }
.home-products .sh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.home-products .sh h2 { font-size: 20px; font-weight: 500; color: var(--verde); }
.home-products .sh a { font-size: 11px; color: var(--texto-claro); text-decoration: none; border-bottom: .5px solid var(--borda); }

/* 10 cards lado a lado = 5 por linha × 2 linhas */
.hp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.hp-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--borda);
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0 0 0 0;
  transition: transform .18s, box-shadow .18s, border-color .15s;
}
.hp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(45,80,22,.11); border-color: var(--menta); }
.hp-thumb {
  width: 100%;
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}
.hp-info { padding: 12px 14px 0; flex: 1; width: 100%; }
.hp-cat  { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--dourado); margin-bottom: 4px; }
.hp-nome { font-size: 12px; font-weight: 600; color: var(--texto); line-height: 1.35; margin-bottom: 7px; }
.hp-price { font-size: 15px; font-weight: 700; color: var(--verde); font-family: 'Playfair Display', serif; }
.hp-price del { font-size: 10px; color: #bbb; margin-right: 2px; font-family: 'Inter', sans-serif; font-weight: 400; }
.hp-btn {
  display: block; width: calc(100% - 28px);
  margin: 12px 14px 14px;
  background: var(--verde); color: #fff;
  border: none; border-radius: 8px; padding: 9px 6px;
  font-size: 11px; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background .15s;
  text-align: center; text-decoration: none;
}
.hp-btn:hover { background: var(--verde-m); color: #fff; text-decoration: none; }
.hp-btn-placeholder {
  display: block; width: calc(100% - 28px);
  margin: 12px 14px 14px;
  background: #e8e8e8; color: #aaa;
  border: none; border-radius: 8px; padding: 9px 6px;
  font-size: 11px; font-weight: 600; text-align: center;
  cursor: default;
}

@media (max-width: 768px) {
  .hero-main { padding: 36px 20px; }
  .cats-home  { padding: 28px 16px; }
  .cats-grid-home { grid-template-columns: repeat(2,1fr); }
  .home-products { padding: 28px 16px; }
  .hp-grid { grid-template-columns: repeat(2,1fr); }
  #site-footer { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
