/*
Theme Name: Granuh Child
Theme URI: https://granuh.com.br
Description: Tema filho personalizado da Granuh Gastronomia Saudável
Author: Granuh
Template: storefront
Version: 1.0.0
*/

/* ═══════════════════════════════════════
   VARIÁVEIS E RESET
═══════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   ☑ TROCAR A FONTE DO SITE INTEIRO — MEXA APENAS AQUI:
   1. Troque a URL do @import abaixo pela fonte nova do Google Fonts
   2. Troque o nome da fonte em --font-display e --font-body
   (e atualize a mesma URL no functions.php, linha do 'granuh-fonts')
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --cream: #FAF7F2;
  --cream-dark: #F0EBE0;
  --brown: #3D2B1F;
  --brown-light: #6B4C3B;
  --green: #4A6741;
  --green-light: #7A9E6F;
  --green-pale: #E8F0E5;
  --cranberry: #7C3D6B;
  --cranberry-light: #C17BAD;
  --cranberry-pale: #F5ECF3;
  --damasco: #C86A1A;
  --damasco-light: #E8A05A;
  --damasco-pale: #FDF0E4;
  --lemon: #5A7A2E;
  --lemon-light: #8EAF55;
  --lemon-pale: #EDF4E0;
  --white: #FFFFFF;
  --text: #2A1F17;
  --text-muted: #7A6A5F;
  --border: #E0D8CE;

  /* ☑ FONTE DO SITE — altere os dois valores abaixo */
  --font-display: 'Montserrat', sans-serif;  /* títulos */
  --font-body: 'Montserrat', sans-serif;     /* corpo de texto */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── FORÇA A FONTE EM TODO O SITE (sobrescreve Storefront) ──
   Para trocar a fonte do site inteiro, altere APENAS as variáveis
   --font-display e --font-body em :root (logo acima). Não mexa aqui. */
body,
body h1, body h2, body h3, body h4, body h5, body h6,
body p, body a, body span, body div, body li, body td, body th,
body input, body select, body textarea, body button, body label,
.button, button, input, select, textarea,
.site-title, .site-description,
.woocommerce, .woocommerce-page,
.woocommerce h1, .woocommerce h2, .woocommerce h3,
.woocommerce button, .woocommerce .button,
.storefront-primary-navigation, .main-navigation,
#site-navigation, .secondary-navigation {
  font-family: var(--font-body) !important;
}

/* Headings usam a fonte de display */
body h1, body h2, body h3, body h4, body h5, body h6,
.woocommerce h1, .woocommerce h2, .woocommerce h3,
.site-title,
.section-title, .bundle-name, .product-name, .kit10-title,
.hero-title, .banner-title, .modal-title, .review-name,
.granuh-shop-title {
  font-family: var(--font-display) !important;
}

body {
  font-family: var(--font-body) !important;
  background: var(--cream) !important;
  color: var(--text) !important;
  line-height: 1.6 !important;
}

/* Remove estilos padrão do Storefront que conflitam */
.site-header,
.storefront-handheld-footer-bar,
.woocommerce-breadcrumb {
  display: none !important;
}

.site-main { margin-top: 0 !important; padding-top: 0 !important; }
.site-content { padding: 0 !important; }
.col-full { max-width: 100% !important; padding: 0 !important; }

/* ═══════════════════════════════════════
   HEADER FIXO
═══════════════════════════════════════ */
.granuh-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 28px; height: 28px; }

/* Logo real ao lado do texto */
.header-logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.header-logo .custom-logo-link {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.header-logo .custom-logo-link img {
  height: 36px !important;
  width: auto !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  display: block !important;
}

/* Esconde título duplicado do Storefront */
.site-title, .site-description { display: none !important; }

/* Setas do banner — não sobrepor o texto no mobile */
@media (max-width: 600px) {
  .banner-arrow { display: none !important; }
  .banner-dots { bottom: 0.8rem !important; }
  .logo-text { font-size: 1.1rem !important; }
  .logo-tagline { font-size: 0.6rem !important; }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-top: -3px;
}

.granuh-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.granuh-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.granuh-nav a:hover { color: var(--brown); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--brown);
  transition: background 0.2s;
  position: relative;
}

.header-icon:hover { background: var(--cream-dark); }
.header-icon svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--green);
  color: white;
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brown);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-login:hover { background: var(--cream-dark); border-color: var(--brown-light); }

/* ═══════════════════════════════════════
   HERO BANNER
═══════════════════════════════════════ */
.granuh-hero {
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.banner-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
  min-width: 100%;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 3rem;
  cursor: pointer;
}

.banner-slide.cranberry { background: var(--cranberry-pale); }
.banner-slide.damasco   { background: var(--damasco-pale); }
.banner-slide.lemon     { background: var(--lemon-pale); }
.banner-slide.bundles   { background: var(--green-pale); }
.banner-slide.b2b       { background: #2A1F17; }

.banner-content { max-width: 520px; z-index: 2; }

.banner-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cranberry .banner-tag { background: var(--cranberry); color: white; }
.damasco .banner-tag   { background: var(--damasco); color: white; }
.lemon .banner-tag     { background: var(--lemon); color: white; }
.bundles .banner-tag   { background: var(--green); color: white; }
.b2b .banner-tag       { background: var(--damasco-light); color: var(--brown); }

.banner-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.cranberry .banner-title { color: var(--cranberry); }
.damasco .banner-title   { color: var(--damasco); }
.lemon .banner-title     { color: var(--lemon); }
.bundles .banner-title   { color: var(--green); }
.b2b .banner-title       { color: var(--white); }

.banner-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 380px;
}

.b2b .banner-desc { color: #BDB0A5; }

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.banner-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.cranberry .banner-cta { background: var(--cranberry); color: white; }
.damasco .banner-cta   { background: var(--damasco); color: white; }
.lemon .banner-cta     { background: var(--lemon); color: white; }
.bundles .banner-cta   { background: var(--green); color: white; }
.b2b .banner-cta       { background: var(--damasco-light); color: var(--brown); }

.banner-visual {
  position: absolute;
  right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 340px; height: 340px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}

.cranberry .banner-visual { background: rgba(124,61,107,0.08); }
.damasco .banner-visual   { background: rgba(200,106,26,0.08); }
.lemon .banner-visual     { background: rgba(90,122,46,0.08); }
.bundles .banner-visual   { background: rgba(74,103,65,0.08); }
.b2b .banner-visual       { background: rgba(255,255,255,0.05); }

.banner-dots {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.banner-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--green);
}

.banner-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  font-size: 1.2rem;
  color: var(--brown);
}

.banner-arrow:hover { background: var(--cream-dark); }
.banner-arrow.prev { left: 1.5rem; }
.banner-arrow.next { right: 1.5rem; }

/* ═══════════════════════════════════════
   SEÇÕES COMUNS
═══════════════════════════════════════ */
.granuh-section { padding: 5rem 2rem; }

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display) !important;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.granuh-container { max-width: 1200px; margin: 0 auto; }

/* ═══════════════════════════════════════
   PRODUTOS
═══════════════════════════════════════ */
.granuh-section--produtos { background: var(--white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.product-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}

.product-card.cranberry { --card-color: var(--cranberry); --card-pale: var(--cranberry-pale); }
.product-card.damasco   { --card-color: var(--damasco);   --card-pale: var(--damasco-pale); }
.product-card.lemon     { --card-color: var(--lemon);     --card-pale: var(--lemon-pale); }

.product-img {
  height: 220px;
  background: var(--card-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Carrossel de fotos nos cards */
.product-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--brown);
  line-height: 1;
}

.product-img:hover .carousel-prev,
.product-img:hover .carousel-next { opacity: 1; }

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active { background: white; }

.product-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cranberry .product-badge { background: var(--cranberry); color: white; }
.damasco .product-badge   { background: var(--damasco); color: white; }
.lemon .product-badge     { background: var(--lemon); color: white; }

.product-info { padding: 1.5rem; }

.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.4rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.2rem;
}

.product-tag {
  padding: 0.2rem 0.6rem;
  background: var(--cream-dark);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--brown-light);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
}

.product-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  transition: all 0.2s;
}

.qty-btn:hover { background: var(--card-pale); border-color: var(--card-color); }

.qty-num {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  color: var(--brown);
}

.btn-add {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 50px;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
}

.cranberry .btn-add { background: var(--cranberry); color: white; }
.damasco .btn-add   { background: var(--damasco); color: white; }
.lemon .btn-add     { background: var(--lemon); color: white; }
.btn-add:hover      { opacity: 0.88; transform: translateY(-1px); }

/* ═══════════════════════════════════════
   PACOTES / BUNDLES
═══════════════════════════════════════ */
.granuh-section--pacotes { background: var(--cream); }

.bundles-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Subtítulo das seções de kits */
.bundles-subtitle {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown);
  margin: 3rem 0 0;
  text-align: center;
}
.bundles-subtitle span { color: var(--green); }
.bundles-subtitle:first-of-type { margin-top: 2rem; }

/* Grid dos kits de 2 — três colunas lado a lado */
.bundles-grid--duo {
  grid-template-columns: repeat(3, 1fr) !important;
  max-width: 100%;
}

/* Grid dos kits de 3 — 2 colunas (2x2 com os 4 kits) */
.bundles-grid--trio {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 760px;
}

@media (max-width: 900px) {
  .bundles-grid--duo  { grid-template-columns: repeat(3, 1fr) !important; }
  .bundles-grid--trio { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 700px) {
  .bundles-grid--duo  { grid-template-columns: 1fr !important; }
  .bundles-grid--trio { grid-template-columns: 1fr !important; }
}

.bundle-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.bundle-card.featured {
  border: 2px solid var(--green);
  grid-column: 1;
}

.bundle-popular {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--green);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.bundle-emojis { font-size: 2rem; margin-bottom: 0.8rem; }

.bundle-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.4rem;
}

.bundle-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.2rem; }

.bundle-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  margin-top: auto;
}

.bundle-card {
  display: flex;
  flex-direction: column;
}

.bundle-footer > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

/* Linha de quantidade + botão ocupa largura toda */
.bundle-footer > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bundle-footer > div:last-child button:last-child {
  flex: 1;
  min-width: 90px;
  justify-content: center;
}

.bundle-price { font-size: 1.3rem; font-weight: 700; color: var(--brown); }
.bundle-save  { font-size: 0.75rem; color: var(--green); font-weight: 600; }

.kit10-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.kit10-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.kit10-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.kit10-selectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kit10-item {
  background: var(--cream);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.kit10-item-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

.kit10-item-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.8rem;
  display: block;
}

.kit10-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.kit10-counter { font-size: 0.85rem; color: var(--text-muted); }
.kit10-counter strong { color: var(--green); }

/* ═══════════════════════════════════════
   DEPOIMENTOS
═══════════════════════════════════════ */
.granuh-section--depoimentos { background: var(--white); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.review-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.review-stars { color: var(--damasco); font-size: 0.9rem; margin-bottom: 0.8rem; }

.review-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author { display: flex; align-items: center; gap: 10px; }

.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.review-name { font-size: 0.85rem; font-weight: 600; color: var(--brown); }
.review-date { font-size: 0.75rem; color: var(--text-muted); }

.review-cta { text-align: center; margin-top: 1rem; }

.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.btn-review:hover { background: var(--green); color: white; }

/* ═══════════════════════════════════════
   QUEM SOMOS
═══════════════════════════════════════ */
.granuh-section--sobre {
  background: var(--brown);
  color: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.granuh-section--sobre .section-label { color: var(--damasco-light); }
.granuh-section--sobre .section-title { color: var(--cream); }

.about-text { font-size: 1rem; color: #C4B5A8; line-height: 1.8; }
.about-text p { margin-bottom: 1rem; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1rem;
}

.value-icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }

.value-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.03em;
}

.about-visual {
  background: rgba(255,255,255,0.05);
  border-radius: 24px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ═══════════════════════════════════════
   CONTEÚDO / BLOG
═══════════════════════════════════════ */
.granuh-section--conteudo { background: var(--cream); }

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.content-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.content-img {
  height: 160px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.content-img img { width: 100%; height: 100%; object-fit: cover; }

.content-body { padding: 1.2rem; }

.content-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.content-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.content-excerpt { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ═══════════════════════════════════════
   B2B
═══════════════════════════════════════ */
.granuh-section--b2b {
  background: linear-gradient(135deg, #2A1F17 0%, #3D2B1F 100%);
  color: var(--cream);
}

.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.granuh-section--b2b .section-label { color: var(--damasco-light); }
.granuh-section--b2b .section-title { color: var(--cream); }
.granuh-section--b2b .section-desc  { color: #BDB0A5; }

.b2b-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.b2b-feature { display: flex; align-items: flex-start; gap: 1rem; }

.b2b-feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(232,160,90,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.b2b-feature-title { font-size: 0.9rem; font-weight: 600; color: var(--cream); margin-bottom: 2px; }
.b2b-feature-desc  { font-size: 0.82rem; color: #BDB0A5; }

.b2b-actions { display: flex; flex-direction: column; gap: 1rem; }

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 1.5rem;
  background: #25D366;
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-whatsapp:hover { background: #1DB954; transform: translateY(-2px); color: white; }

.b2b-form {
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.b2b-form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.b2b-form .form-group { margin-bottom: 1rem; }

.b2b-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #BDB0A5;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.b2b-form input,
.b2b-form select,
.b2b-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: var(--cream);
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.b2b-form input:focus,
.b2b-form select:focus,
.b2b-form textarea:focus { border-color: var(--damasco-light); }

.b2b-form input::placeholder,
.b2b-form textarea::placeholder { color: rgba(255,255,255,0.25); }

.b2b-form select option { background: var(--brown); }
.b2b-form textarea { resize: vertical; min-height: 80px; }

.btn-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--damasco);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.btn-submit:hover { background: var(--damasco-light); color: var(--brown); transform: translateY(-1px); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.granuh-footer {
  background: var(--text);
  color: #BDB0A5;
  padding: 3rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-brand-desc { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }

.footer-address { font-size: 0.82rem; line-height: 1.7; color: #9A8E84; }

.footer-social { display: flex; gap: 10px; margin-top: 1rem; }

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
}

.footer-social a:hover { background: rgba(255,255,255,0.15); }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: #9A8E84;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #6B5F57;
}

.footer-complaint {
  font-size: 0.78rem;
  color: #9A8E84;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.footer-complaint:hover { color: var(--cream); }

/* ═══════════════════════════════════════
   MODAIS
═══════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.open { display: flex; }

.granuh-modal {
  background: var(--white);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.modal-subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════
   CARRINHO LATERAL
═══════════════════════════════════════ */
.cart-drawer {
  position: fixed;
  top: 0; right: -440px;
  width: 420px; height: 100vh;
  background: var(--white);
  z-index: 1500;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { right: 0; }

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown);
}

.cart-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
}

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.cart-empty-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-name  { font-size: 0.875rem; font-weight: 600; color: var(--brown); }
.cart-item-price { font-size: 0.8rem; color: var(--text-muted); }

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
}

.cart-item-remove:hover { color: #C0392B; }

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label { font-size: 0.875rem; color: var(--text-muted); }

.cart-total-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
}

.btn-checkout {
  width: 100%;
  padding: 1rem;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.btn-checkout:hover { background: var(--green-light); transform: translateY(-1px); }

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1400;
}

.cart-overlay.open { display: block; }

/* ═══════════════════════════════════════
   TABELA NUTRICIONAL
═══════════════════════════════════════ */
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 1rem;
}

.nutrition-table th {
  background: var(--cream-dark);
  padding: 0.5rem 0.8rem;
  text-align: left;
  font-weight: 600;
  color: var(--brown);
}

.nutrition-table td {
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.nutrition-table tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════
   FORMULÁRIOS (REVIEW / LOGIN / RECLAMAÇÃO)
═══════════════════════════════════════ */
.granuh-form .form-group { margin-bottom: 1rem; }

.granuh-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.granuh-form input,
.granuh-form select,
.granuh-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.granuh-form input:focus,
.granuh-form select:focus,
.granuh-form textarea:focus { border-color: var(--green); }

.granuh-form textarea { resize: vertical; min-height: 100px; }

.stars-input { display: flex; gap: 6px; margin-bottom: 1rem; }

.star-btn {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--border);
  transition: color 0.15s;
}

.star-btn.active { color: var(--damasco); }

.btn-submit-green {
  width: 100%;
  padding: 0.85rem;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.btn-submit-green:hover { opacity: 0.88; transform: translateY(-1px); }

/* ═══════════════════════════════════════
   TOAST
═══════════════════════════════════════ */
.granuh-toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brown);
  color: var(--cream);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}

.granuh-toast.show { transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════
   KIT 10 — FORMULÁRIO INLINE
═══════════════════════════════════════ */
.kit10-woo-form .wpc-container { background: transparent !important; border: none !important; padding: 0 !important; }

.kit10-woo-form .wpc-items { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 1.5rem; }

.kit10-woo-form .wpc-item {
  background: var(--cream);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.kit10-woo-form .wpc-item-name {
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--brown) !important;
  margin-bottom: 0.5rem !important;
}

.kit10-woo-form .wpc-item-thumbnail img {
  width: 64px !important; height: 64px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  margin: 0 auto 0.5rem !important;
}

.kit10-woo-form .wpc-item-quantity input[type="number"] {
  width: 60px !important;
  text-align: center !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 0.4rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  color: var(--brown) !important;
  background: var(--white) !important;
}

.kit10-woo-form .wpc-item-quantity input:focus { border-color: var(--green) !important; outline: none !important; }

.kit10-woo-form .wpc-total {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  color: var(--brown) !important;
  margin-bottom: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--border) !important;
}

.kit10-woo-form .wpc-total-amount { color: var(--green) !important; font-weight: 700 !important; }

.kit10-woo-form .single_add_to_cart_button,
.kit10-woo-form button[type="submit"] {
  background: var(--green) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 0.85rem 2rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  width: 100% !important;
}

.kit10-woo-form .single_add_to_cart_button:hover { opacity: 0.88 !important; transform: translateY(-1px) !important; }

.kit10-woo-form .wpc-limit-notice {
  font-size: 0.82rem !important;
  color: var(--green) !important;
  font-weight: 600 !important;
  margin-bottom: 0.8rem !important;
}

.kit10-woo-form .wpc-limit-notice.wpc-over-limit { color: #C0392B !important; }

/* Esconde elementos desnecessários do WooCommerce no contexto inline */
.kit10-woo-form .woocommerce-variation-price,
.kit10-woo-form .product_meta,
.kit10-woo-form .woocommerce-product-rating { display: none !important; }

@media (max-width: 600px) {
  .kit10-woo-form .wpc-items { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   RESPONSIVO
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .bundles-grid  { grid-template-columns: 1fr; }
  .about-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .b2b-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .content-grid  { grid-template-columns: 1fr 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .kit10-selectors { grid-template-columns: 1fr; }
  .banner-visual { display: none; }
  .banner-title  { font-size: 2rem; }
}

@media (max-width: 600px) {
  .granuh-nav    { display: none; }
  .btn-login     { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .content-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .cart-drawer   { width: 100%; }
}

/* ── HAMBURGUER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: var(--cream-dark); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 600px) {
  .hamburger { display: flex; }
}

/* ── MENU MOBILE ── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 23, 0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.mobile-menu-overlay.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  gap: 0.25rem;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover {
  background: var(--cream);
  color: var(--brown);
}

.mobile-menu-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px;
  border: none;
  background: var(--cream-dark);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  transition: background 0.2s;
}
.mobile-menu-close:hover { background: var(--border); }

/* ═══════════════════════════════════════
   WOOCOMMERCE — CARRINHO, CHECKOUT
   E CONFIRMAÇÃO DE PEDIDO
═══════════════════════════════════════ */

/* Wrapper geral das páginas WooCommerce */
.woocommerce-page .site-main,
.woocommerce .site-main {
  margin-top: 72px !important;
  padding: 3rem 2rem !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: var(--cream) !important;
}

/* Títulos das páginas */
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3 {
  font-family: var(--font-display) !important;
  color: var(--brown) !important;
}

/* ── CARRINHO ── */
.woocommerce-cart table.cart {
  border-collapse: collapse !important;
  width: 100% !important;
  background: var(--white) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
}

.woocommerce-cart table.cart thead tr th {
  background: var(--cream-dark) !important;
  color: var(--brown) !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 1rem 1.2rem !important;
  border: none !important;
}

.woocommerce-cart table.cart td {
  padding: 1.2rem !important;
  border-bottom: 1px solid var(--border) !important;
  border-top: none !important;
  vertical-align: middle !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
}

.woocommerce-cart table.cart td.product-name a {
  color: var(--brown) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.woocommerce-cart table.cart td.product-name a:hover { color: var(--green) !important; }

.woocommerce-cart table.cart td img {
  border-radius: 10px !important;
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
}

.woocommerce-cart table.cart td.product-remove a {
  color: var(--text-muted) !important;
  font-size: 1.2rem !important;
  transition: color 0.2s !important;
}

.woocommerce-cart table.cart td.product-remove a:hover { color: #C0392B !important; }

/* Itens filhos de kit/bundle na página do carrinho — ocultar linhas filhas,
   mostrar apenas o item pai com preço total */
.woocommerce-cart table.cart tr.wooco-item,
.woocommerce-cart table.cart tr.woocommerce-bundled-item,
.woocommerce-cart table.cart tr[class*="bundled_item"],
.woocommerce-cart table.cart tr[class*="wooco-"] {
  background: var(--cream) !important;
}

.woocommerce-cart table.cart tr.wooco-item td.product-remove,
.woocommerce-cart table.cart tr[class*="wooco-"] td.product-remove {
  visibility: hidden !important;
}

.woocommerce-cart table.cart tr.wooco-item td.product-quantity,
.woocommerce-cart table.cart tr[class*="wooco-"] td.product-quantity {
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
}

/* Quantidade no carrinho */
.woocommerce-cart table.cart .quantity input {
  width: 64px !important;
  text-align: center !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 0.4rem !important;
  font-family: var(--font-body) !important;
  color: var(--brown) !important;
}

.woocommerce-cart table.cart .quantity input:focus {
  border-color: var(--green) !important;
  outline: none !important;
}

/* Botão atualizar carrinho */
.woocommerce-cart table.cart .actions .button {
  background: transparent !important;
  border: 1.5px solid var(--border) !important;
  color: var(--brown) !important;
  border-radius: 50px !important;
  padding: 0.6rem 1.4rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.woocommerce-cart table.cart .actions .button:hover {
  background: var(--cream-dark) !important;
  border-color: var(--brown) !important;
}

/* Totais do carrinho */
.cart_totals {
  background: var(--white) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  border: 1px solid var(--border) !important;
}

.cart_totals h2 {
  font-size: 1.3rem !important;
  margin-bottom: 1.2rem !important;
}

.cart_totals table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.cart_totals table th,
.cart_totals table td {
  padding: 0.7rem 0 !important;
  border-bottom: 1px solid var(--border) !important;
  font-family: var(--font-body) !important;
  color: var(--text) !important;
}

.cart_totals table tr:last-child th,
.cart_totals table tr:last-child td { border-bottom: none !important; }

.cart_totals table .order-total th,
.cart_totals table .order-total td {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--brown) !important;
}

/* Botão finalizar compra no carrinho */
.wc-proceed-to-checkout .checkout-button,
a.checkout-button {
  display: block !important;
  width: 100% !important;
  padding: 1rem !important;
  background: var(--green) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  margin-top: 1rem !important;
}

.wc-proceed-to-checkout .checkout-button:hover,
a.checkout-button:hover {
  background: var(--green-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(74,103,65,0.3) !important;
  color: white !important;
}

/* ── CHECKOUT ── */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  background: var(--white) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  border: 1px solid var(--border) !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  font-size: 1.2rem !important;
  margin-bottom: 1.2rem !important;
  padding-bottom: 0.8rem !important;
  border-bottom: 1px solid var(--border) !important;
}

/* Campos do checkout */
.woocommerce-checkout .form-row label {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 0.3rem !important;
  display: block !important;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 10px !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: var(--text) !important;
  background: var(--cream) !important;
  transition: border-color 0.2s !important;
  outline: none !important;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--green) !important;
  background: var(--white) !important;
}

/* Resumo do pedido no checkout */
.woocommerce-checkout-review-order table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.woocommerce-checkout-review-order table th,
.woocommerce-checkout-review-order table td {
  padding: 0.7rem 0 !important;
  border-bottom: 1px solid var(--border) !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: var(--text) !important;
}

.woocommerce-checkout-review-order table .order-total th,
.woocommerce-checkout-review-order table .order-total td {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--brown) !important;
  border-bottom: none !important;
}

/* Métodos de pagamento */
#payment {
  background: var(--cream) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  border: 1px solid var(--border) !important;
  margin-top: 1rem !important;
}

#payment .payment_methods li {
  list-style: none !important;
  padding: 0.8rem !important;
  border-radius: 8px !important;
  margin-bottom: 0.5rem !important;
  border: 1.5px solid var(--border) !important;
  background: var(--white) !important;
  transition: border-color 0.2s !important;
}

#payment .payment_methods li:has(input:checked) {
  border-color: var(--green) !important;
  background: var(--green-pale) !important;
}

#payment .payment_methods label {
  font-weight: 600 !important;
  color: var(--brown) !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
}

/* Botão de finalizar pedido */
#place_order {
  width: 100% !important;
  padding: 1.1rem !important;
  background: var(--green) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  margin-top: 1.5rem !important;
}

#place_order:hover {
  background: var(--green-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(74,103,65,0.3) !important;
}

/* Mensagem de segurança */
.woocommerce-checkout #payment .place-order > p {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  text-align: center !important;
  margin-top: 0.8rem !important;
}

/* ── CONFIRMAÇÃO DE PEDIDO (thankyou.php) ── */
.granuh-thankyou {
  max-width: 900px;
  margin: 100px auto 4rem;
  padding: 0 2rem;
}

.thankyou-hero {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.thankyou-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.thankyou-title {
  font-family: var(--font-display) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--brown) !important;
  margin-bottom: 0.75rem !important;
}

.thankyou-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.thankyou-retry-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #C0392B;
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}
.thankyou-retry-btn:hover { background: #E74C3C; transform: translateY(-1px); }

.thankyou-overview-wrap {
  margin-bottom: 2rem;
}

.thankyou-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--green-pale);
  border-radius: 14px;
  padding: 1.5rem;
}

.thankyou-overview li {
  flex: 1;
  min-width: 120px;
}

.overview-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}

.thankyou-overview strong {
  font-size: 0.95rem;
  color: var(--brown);
  font-weight: 600;
}

.thankyou-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.thankyou-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid var(--border);
}

.thankyou-card-title {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  color: var(--brown) !important;
  margin-bottom: 1.2rem !important;
  padding-bottom: 0.8rem !important;
  border-bottom: 1px solid var(--border) !important;
}

.thankyou-items-table {
  width: 100%;
  border-collapse: collapse;
}

.thankyou-items-table th,
.thankyou-items-table td {
  padding: 0.6rem 0.5rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-align: left;
  vertical-align: middle;
}

.thankyou-items-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--cream-dark);
}

.thankyou-items-table tfoot th,
.thankyou-items-table tfoot td {
  border-bottom: none;
  padding-top: 0.8rem;
}

.thankyou-total-row th,
.thankyou-total-row td {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--brown) !important;
  border-top: 2px solid var(--border) !important;
}

.thankyou-address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

.thankyou-contact {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.thankyou-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.thankyou-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.5rem;
  background: #25D366;
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}
.thankyou-whatsapp-btn:hover { background: #1ebe5d; transform: translateY(-1px); }

.thankyou-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.thankyou-home-btn:hover { border-color: var(--brown); color: var(--brown); }

@media (max-width: 700px) {
  .thankyou-grid { grid-template-columns: 1fr; }
  .thankyou-overview { flex-direction: column; gap: 0.75rem; }
}

/* ── CONFIRMAÇÃO DE PEDIDO (estilos legado WooCommerce) ── */
.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-family: var(--font-display) !important;
  font-size: 1.8rem !important;
  color: var(--green) !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce-order-received .woocommerce-order {
  background: var(--white) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  border: 1px solid var(--border) !important;
}

.woocommerce-order-received .woocommerce-order-overview {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  list-style: none !important;
  background: var(--green-pale) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
}

.woocommerce-order-received .woocommerce-order-overview li {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  font-family: var(--font-body) !important;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block !important;
  font-size: 1rem !important;
  color: var(--brown) !important;
  margin-top: 2px !important;
}

.woocommerce-order-received .woocommerce-order-details h2,
.woocommerce-order-received .woocommerce-customer-details h2 {
  font-size: 1.1rem !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.6rem !important;
  border-bottom: 1px solid var(--border) !important;
}

/* ── MENSAGENS E NOTIFICAÇÕES ── */
.woocommerce-message,
.woocommerce-info {
  background: var(--green-pale) !important;
  border-top: 3px solid var(--green) !important;
  color: var(--brown) !important;
  border-radius: 0 0 10px 10px !important;
  padding: 1rem 1.5rem !important;
  font-family: var(--font-body) !important;
}

.woocommerce-error {
  background: #FDF0F0 !important;
  border-top: 3px solid #C0392B !important;
  color: var(--brown) !important;
  border-radius: 0 0 10px 10px !important;
  padding: 1rem 1.5rem !important;
  font-family: var(--font-body) !important;
  list-style: none !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
  background: var(--green) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.2rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}

/* ── LOGIN SOCIAL NO CHECKOUT ── */
.nsl-container {
  margin-bottom: 1.5rem !important;
}

.nsl-container-buttons {
  display: flex !important;
  gap: 0.8rem !important;
  flex-wrap: wrap !important;
}

.nsl-button {
  border-radius: 50px !important;
  border: 1.5px solid var(--border) !important;
  padding: 0.6rem 1.2rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.nsl-button:hover {
  border-color: var(--brown) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* ── MINHA CONTA ── */
.granuh-myaccount {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  background: var(--cream);
}

.myaccount-header {
  background: var(--brown);
  padding: 2.5rem 2rem;
}

.myaccount-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.myaccount-avatar { flex-shrink: 0; }

.myaccount-avatar-img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  border: 3px solid rgba(255,255,255,0.2) !important;
  object-fit: cover !important;
}

.myaccount-welcome { flex: 1; }

.myaccount-greeting {
  font-size: 0.78rem;
  color: #BDB0A5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.myaccount-name {
  font-family: var(--font-display) !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: var(--cream) !important;
  margin-bottom: 2px !important;
}

.myaccount-email {
  font-size: 0.85rem;
  color: #9A8E84;
}

.myaccount-logout {
  padding: 0.5rem 1.2rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: #BDB0A5;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.myaccount-logout:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--cream);
}

.myaccount-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  align-items: start;
}

.myaccount-nav {
  background: var(--white);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}

.myaccount-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 2px;
}

.myaccount-nav-item:hover {
  background: var(--cream);
  color: var(--brown);
}

.myaccount-nav-item.active {
  background: var(--green-pale);
  color: var(--green);
  font-weight: 600;
}

.nav-icon { font-size: 1.1rem; }

.myaccount-content {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
}

/* Tabela de pedidos */
.myaccount-content .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
}

.myaccount-content .woocommerce-orders-table th {
  background: var(--cream-dark);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  border: none;
}

.myaccount-content .woocommerce-orders-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text);
}

.myaccount-content .woocommerce-orders-table .button {
  padding: 0.4rem 1rem !important;
  background: var(--green) !important;
  color: white !important;
  border-radius: 50px !important;
  border: none !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}

.myaccount-content .woocommerce-orders-table .button:hover {
  background: var(--green-light) !important;
}

/* Formulários da conta */
.myaccount-content .woocommerce-form-row label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.3rem;
}

.myaccount-content .woocommerce-form-row input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}

.myaccount-content .woocommerce-form-row input:focus {
  border-color: var(--green);
  background: var(--white);
}

.myaccount-content .woocommerce-Button,
.myaccount-content button[type="submit"] {
  padding: 0.85rem 2rem !important;
  background: var(--green) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.myaccount-content .woocommerce-Button:hover,
.myaccount-content button[type="submit"]:hover {
  background: var(--green-light) !important;
}

/* Mensagem sem pedidos */
.myaccount-content .woocommerce-message {
  background: var(--green-pale) !important;
  border-top: 3px solid var(--green) !important;
  border-radius: 0 0 10px 10px !important;
  padding: 1rem 1.5rem !important;
  color: var(--brown) !important;
}

@media (max-width: 768px) {
  .myaccount-layout { grid-template-columns: 1fr; }
  .myaccount-nav { position: static; }
  .myaccount-header-inner { flex-wrap: wrap; }
}
  background: var(--white) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  border: 1px solid var(--border) !important;
}

.woocommerce-MyAccount-navigation ul { list-style: none !important; }

.woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 0.6rem 0.8rem !important;
  border-radius: 8px !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: all 0.2s !important;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--green-pale) !important;
  color: var(--green) !important;
}

.woocommerce-MyAccount-content {
  background: var(--white) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  border: 1px solid var(--border) !important;
}

/* ── RESPONSIVO CHECKOUT ── */
@media (max-width: 768px) {
  .woocommerce-page .site-main { padding: 2rem 1rem !important; }
  .woocommerce-order-received .woocommerce-order-overview { flex-direction: column; }
}


