/*
Theme Name: Bonuzzi Child
Theme URI: https://eatbonuzzi.com
Description: Tema filho do Hello Elementor para a marca Bonuzzi
Author: Bonuzzi
Template: hello-commerce
Version: 1.0.0
Text Domain: bonuzzi-child
*/

/* ========================
   VARIÁVEIS DE MARCA
======================== */
:root {
  --bnz-negro:      #010202;
  --bnz-basilico:   #078D42;
  --bnz-pomodoro:   #EB5C34;
  --bnz-parmigiano: #F6A31F;
  --bnz-crema:      #F9F0E1;
  --bnz-white:      #ffffff;
}

/* ========================
   TIPOGRAFIA GLOBAL
======================== */
body {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  color: var(--bnz-negro);
}

h1, h2, h3, h4 {
  font-family: 'Phudu', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========================
   ESCONDE HEADER DO TEMA
======================== */
.site-header,
.elementor-location-header {
  display: none !important;
}


/* ============================================================
   BONUZZI — CSS GLOBAL (Customizer)
============================================================ */

/* FUNDO — apenas páginas de loja/arquivo/produto */
body.woocommerce:not(.page-template-default):not(.single-page),
body.woocommerce-page:not(.page-template-default),
body.archive,
body.tax-product_cat {
  background-color: #010202 !important;
}

/* ============================================================
   BREADCRUMB
============================================================ */
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
  font-family: 'Phudu', sans-serif;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: #F6A31F !important;
}
.woocommerce-breadcrumb {
  padding: 16px 60px !important;
  margin-bottom: 0 !important;
}
.woocommerce-breadcrumb a {
  opacity: 0.6 !important;
  transition: opacity 0.2s !important;
}
.woocommerce-breadcrumb a:hover {
  opacity: 1 !important;
}

/* ============================================================
   TÍTULO DE CATEGORIA
============================================================ */
.woocommerce-products-header__title,
.woocommerce-products-header h1,
h1.page-title,
h1.entry-title,
h2.entry-title,
.archive-title,
.elementor-widget-archive-title .elementor-heading-title,
.elementor-widget-archive-title h1,
.elementor-widget-archive-title h2 {
  font-family: 'Phudu', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(36px, 6vw, 72px) !important;
  color: #EB5C34 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

/* ============================================================
   DESCRIÇÃO DE CATEGORIA
============================================================ */
.term-description,
.woocommerce-products-header .term-description,
.category-description,
.elementor-widget-archive-description p {
  font-family: 'Tauri', sans-serif !important;
  font-size: 15px !important;
  color: #F9F0E1 !important;
  line-height: 1.75 !important;
  opacity: 0.6 !important;
  max-width: 520px !important;
}

/* ============================================================
   CARDS — ESTRUTURA
============================================================ */
.woocommerce ul.products li.product {
  background: #010202 !important;
  padding: 0 !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  text-align: left !important;
}
.woocommerce ul.products li.product > a:first-child {
  display: block !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  position: relative !important;
  display: block !important;
}
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ============================================================
   CARDS — TÍTULO E PREÇO
============================================================ */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-family: 'Tauri', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #F9F0E1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  padding: 14px 14px 2px !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product span.price,
.woocommerce ul.products li.product span.price .amount,
.woocommerce ul.products li.product .price bdi {
  font-family: 'Tauri', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #F9F0E1 !important;
  display: block !important;
  letter-spacing: 0 !important;
  padding: 0 14px 14px !important;
  margin: 0 !important;
  text-align: left !important;
}

/* ============================================================
   CARDS — BOTÃO OVERLAY
============================================================ */
.woocommerce ul.products li.product a.button {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 48px !important;
  background: rgba(1,2,2,0.88) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease !important;
  z-index: 5 !important;
  cursor: pointer !important;
}
.woocommerce ul.products li.product a.button::after {
  content: 'Adicionar ao carrinho →' !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #F6A31F !important;
  text-align: center !important;
  line-height: 1.4 !important;
}
.woocommerce ul.products li.product:hover a.button {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.woocommerce ul.products li.product a.button:hover {
  background: rgba(235,92,52,0.92) !important;
}

/* ============================================================
   CARDS — TAG "MAIS VENDIDO"
============================================================ */
.woocommerce ul.products li.product.featured::before {
  content: 'Mais vendido' !important;
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background: #EB5C34 !important;
  color: #fff !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 4px 8px !important;
  z-index: 2 !important;
}

/* ============================================================
   LOJA — FILTROS CUSTOMIZADOS
============================================================ */
.bnz-shop-hero, .bnz-filters, .bnz-shop-body { background: #010202 !important; }
.bnz-shop-hero h1, .bnz-shop-hero p { color: #F9F0E1 !important; }
.bnz-filter-group label,
.bnz-filter-group select {
  color: #F9F0E1 !important;
  background: #010202 !important;
  border-color: rgba(249,240,225,0.2) !important;
}
.bnz-filter-btn { color: #F9F0E1 !important; border-color: #F9F0E1 !important; }
.bnz-filter-btn:hover { background: #F9F0E1 !important; color: #010202 !important; }

/* ============================================================
   ORDENAR
============================================================ */
.woocommerce-result-count { display: none !important; }
.woocommerce-ordering {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.woocommerce-ordering::before {
  content: 'ORDENAR' !important;
  font-family: 'Phudu', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.2em !important;
  color: #EB5C34 !important;
  white-space: nowrap !important;
}
.woocommerce-ordering select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(235,92,52,0.35) !important;
  color: #EB5C34 !important;
  font-family: 'Phudu', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 4px 28px 4px 8px !important;
  cursor: pointer !important;
  outline: none !important;
}
.woocommerce-ordering select:focus { border-bottom-color: #EB5C34 !important; }
.woocommerce-ordering::after {
  content: '↓' !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-family: 'Phudu', sans-serif !important;
  font-size: 13px !important;
  color: #EB5C34 !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}
.woocommerce-ordering select option {
  background: #010202 !important;
  color: #F9F0E1 !important;
}

/* ============================================================
   PRODUTO — LAYOUT PADRÃO WOOCOMMERCE ESTILIZADO
============================================================ */
.woocommerce div.product {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;
  padding: 60px !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  align-items: start !important;
}
.woocommerce div.product .summary {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1 !important;
}
.woocommerce-product-gallery__trigger { display: none !important; }
.woocommerce-product-gallery { width: 100% !important; }
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper img {
  width: 100% !important;
  height: 480px !important;
  object-fit: cover !important;
}
.woocommerce-product-gallery,
.woocommerce-product-gallery figure,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery .flex-viewport {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.woocommerce div.product .stock, p.stock { display: none !important; }
.product_meta { display: none !important; }

/* Botão Add to Cart */
.woocommerce div.product form.cart .single_add_to_cart_button {
  font-family: 'Phudu', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  background: #EB5C34 !important;
  color: #F9F0E1 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 18px 40px !important;
  height: 56px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  transition: background 0.3s ease !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: #078D42 !important;
}

/* Quantidade */
.woocommerce div.product form.cart .quantity {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}
.woocommerce div.product form.cart .quantity input {
  background: transparent !important;
  border: 1px solid rgba(249,240,225,0.2) !important;
  border-left: none !important;
  border-right: none !important;
  color: #F9F0E1 !important;
  font-family: 'Phudu', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: center !important;
  border-radius: 0 !important;
  width: 64px !important;
  height: 56px !important;
}

/* Botões +/- */
.bnz-qty-btn {
  width: 44px !important;
  height: 56px !important;
  background: transparent !important;
  border: 1px solid rgba(249,240,225,0.2) !important;
  color: #F9F0E1 !important;
  font-family: 'Phudu', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  line-height: 1 !important;
}
.bnz-qty-btn:hover {
  background: #EB5C34 !important;
  color: #F9F0E1 !important;
  border-color: #EB5C34 !important;
}
.bnz-qty-minus { border-right: none !important; }
.bnz-qty-plus  { border-left: none !important; }

/* ============================================================
   ABAS DO PRODUTO
============================================================ */
.woocommerce-tabs ul.tabs {
  border-bottom: 1px solid rgba(249,240,225,0.1) !important;
  padding: 0 !important;
  margin-bottom: 32px !important;
  background: transparent !important;
}
.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
}
.woocommerce-tabs ul.tabs li a {
  font-family: 'Phudu', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: #F9F0E1 !important;
  opacity: 0.35 !important;
  background: transparent !important;
}
.woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid #F6A31F !important;
}
.woocommerce-tabs ul.tabs li.active a {
  color: #F6A31F !important;
  opacity: 1 !important;
}
.woocommerce-tabs ul.tabs li.reviews_tab { display: list-item !important; }
.woocommerce-tabs .woocommerce-Tabs-panel {
  background: transparent !important;
  border: none !important;
  color: #F9F0E1 !important;
}
.woocommerce-tabs .woocommerce-Tabs-panel p,
.woocommerce-tabs .woocommerce-Tabs-panel li {
  font-family: 'Tauri', sans-serif !important;
  font-size: 15px !important;
  color: #F9F0E1 !important;
  opacity: 0.65 !important;
  line-height: 1.75 !important;
}

/* ============================================================
   ABA MODO DE PREPARO
============================================================ */
.bnz-modo-preparo p {
  font-family: 'Tauri', sans-serif !important;
  font-size: 15px !important;
  color: #F9F0E1 !important;
  opacity: 0.65 !important;
  line-height: 1.75 !important;
}

/* ============================================================
   CALCULADORA DE FRETE
============================================================ */
.bnz-shipping-calc {
  margin-top: 8px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(249,240,225,0.1) !important;
}
.bnz-shipping-label {
  font-family: 'Phudu', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #F6A31F !important;
  margin-bottom: 12px !important;
}
.bnz-shipping-row {
  display: flex !important;
  gap: 0 !important;
  align-items: stretch !important;
}
.bnz-cep-input {
  flex: 1 !important;
  background: transparent !important;
  border: 1px solid rgba(249,240,225,0.2) !important;
  border-right: none !important;
  color: #F9F0E1 !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 14px !important;
  padding: 0 16px !important;
  height: 48px !important;
  outline: none !important;
  border-radius: 0 !important;
  transition: border-color 0.2s !important;
}
.bnz-cep-input::placeholder { color: rgba(249,240,225,0.3) !important; }
.bnz-cep-input:focus { border-color: #F6A31F !important; }
.bnz-cep-btn {
  background: #F6A31F !important;
  color: #010202 !important;
  border: none !important;
  font-family: 'Phudu', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  padding: 0 20px !important;
  height: 48px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  border-radius: 0 !important;
}
.bnz-cep-btn:hover { background: #EB5C34 !important; color: #F9F0E1 !important; }
.bnz-shipping-result {
  margin-top: 10px !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 13px !important;
  min-height: 20px !important;
}
.bnz-ship-ok    { color: #F9F0E1 !important; opacity: 0.85 !important; }
.bnz-ship-ok strong { color: #F6A31F !important; }
.bnz-ship-error { color: #EB5C34 !important; }
.bnz-ship-loading { color: rgba(249,240,225,0.4) !important; }

/* ============================================================
   PRODUTOS RELACIONADOS
============================================================ */
.related.products h2 {
  font-family: 'Phudu', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #F6A31F !important;
  margin-bottom: 24px !important;
}
.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}
.related.products ul.products li.product img {
  height: 200px !important;
  width: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.related.products ul.products li.product .woocommerce-loop-product__title {
  font-size: 13px !important;
  padding: 10px 0 2px !important;
}
.related.products ul.products li.product span.price {
  padding: 0 0 10px !important;
  font-size: 12px !important;
}

/* ============================================================
   AVALIAÇÕES
============================================================ */
#reviews {
  padding: 0 60px 60px !important;
  border-top: 1px solid rgba(249,240,225,0.08) !important;
  margin-top: 0 !important;
}
#reviews h2 {
  font-family: 'Phudu', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: #F6A31F !important;
  margin-bottom: 24px !important;
}
@media (max-width: 768px) {
  #reviews { padding: 0 20px 40px !important; }
  .woocommerce-breadcrumb { padding: 12px 20px !important; }
}
@media (max-width: 390px) {
  #reviews { padding: 0 14px 32px !important; }
  .woocommerce-breadcrumb { padding: 10px 14px !important; }
}

/* ============================================================
   RESET DE CONTAINERS — páginas institucionais
   (evita que Hello Elementor / Elementor constranjam o layout)
============================================================ */
body.page-template-page-a-bonuzzi,
body.page-template-page-termos,
body.page-template-page-privacidade,
body.page-template-page-contato,
body.page-template-page-em-breve {
  overflow-x: hidden;
}
body.page-template-page-a-bonuzzi #page,
body.page-template-page-a-bonuzzi .site,
body.page-template-page-a-bonuzzi #content,
body.page-template-page-a-bonuzzi .site-content,
body.page-template-page-a-bonuzzi .entry-content,
body.page-template-page-a-bonuzzi .elementor-section-wrap,
body.page-template-page-a-bonuzzi .e-con,
body.page-template-page-a-bonuzzi .container,
body.page-template-page-a-bonuzzi .wp-site-blocks,
body.page-template-page-termos #page,
body.page-template-page-termos .site,
body.page-template-page-termos #content,
body.page-template-page-termos .site-content,
body.page-template-page-termos .entry-content,
body.page-template-page-termos .elementor-section-wrap,
body.page-template-page-termos .e-con,
body.page-template-page-termos .container,
body.page-template-page-termos .wp-site-blocks,
body.page-template-page-privacidade #page,
body.page-template-page-privacidade .site,
body.page-template-page-privacidade #content,
body.page-template-page-privacidade .site-content,
body.page-template-page-privacidade .entry-content,
body.page-template-page-privacidade .elementor-section-wrap,
body.page-template-page-privacidade .e-con,
body.page-template-page-privacidade .container,
body.page-template-page-privacidade .wp-site-blocks,
body.page-template-page-contato #page,
body.page-template-page-contato .site,
body.page-template-page-contato #content,
body.page-template-page-contato .site-content,
body.page-template-page-contato .entry-content,
body.page-template-page-contato .elementor-section-wrap,
body.page-template-page-contato .e-con,
body.page-template-page-contato .container,
body.page-template-page-contato .wp-site-blocks,
body.page-template-page-em-breve #page,
body.page-template-page-em-breve .site,
body.page-template-page-em-breve #content,
body.page-template-page-em-breve .site-content,
body.page-template-page-em-breve .entry-content,
body.page-template-page-em-breve .elementor-section-wrap,
body.page-template-page-em-breve .e-con,
body.page-template-page-em-breve .container,
body.page-template-page-em-breve .wp-site-blocks {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================================================
   FOOTER BONUZZI — global (usado em todas as páginas via footer.php)
============================================================ */
.bnz-footer-home {
  background: var(--bnz-negro, #010202);
  color: #fff;
  padding: 56px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  width: 100%;
}
.bnz-footer-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.bnz-footer-brand img {
  height: 32px !important;
  width: auto !important;
  margin-bottom: 16px;
  display: block;
}
.bnz-footer-brand p {
  font-size: .88rem;
  line-height: 1.65;
  color: #aaa;
  margin: 0 0 20px;
  max-width: 260px;
}
.bnz-footer-socials {
  display: flex;
  gap: 12px;
}
.bnz-footer-socials a {
  width: 34px;
  height: 34px;
  border: 1px solid #333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.bnz-footer-socials a:hover { border-color: #fff; color: #fff; }
.bnz-footer-col h4 {
  font-family: 'Phudu', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 16px;
}
.bnz-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bnz-footer-col ul li { margin-bottom: 10px; }
.bnz-footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}
.bnz-footer-col ul li a:hover { color: #fff; }
.bnz-footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: #555;
}
.bnz-footer-bottom-right { color: #555; }
@media (max-width: 900px) {
  .bnz-footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 0 24px 40px;
  }
  .bnz-footer-brand { grid-column: 1 / -1; }
  .bnz-footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .bnz-footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 20px 32px;
  }
}
@media (max-width: 430px) {
  .bnz-footer-body { grid-template-columns: 1fr; padding: 0 16px 28px; }
  .bnz-footer-bottom { padding: 16px; font-size: .75rem; }
}
