/* ========= override-elf.css (debug/force) ========= */
:root{
  --elf-primary:#8B5CF6;
  --elf-primary-700:#7C3AED;
  --elf-green:#10B981;
  --elf-yellow:#F59E0B;
  --elf-gray-50:#F9FAFB;
  --elf-gray-100:#F3F4F6;
  --elf-gray-200:#E5E7EB;
  --elf-gray-500:#6B7280;
  --elf-gray-700:#374151;
  --elf-black:#111827;
  --radius-12:12px; --radius-14:14px; --radius-16:16px;
  --shadow-sm:0 1px 2px rgba(17,24,39,.06),0 2px 6px rgba(17,24,39,.04);
  --shadow-md:0 4px 10px rgba(17,24,39,.08);
}

/* Bar 18+ (se existir o elemento; senão, ignore) */
html body .top-age-bar{
  display:block;width:100%;background:var(--elf-primary)!important;color:#fff!important;
  text-align:center;font-size:12px;font-weight:600;padding:8px 12px;
}

/* Header compacto */
html body .whb-top-bar-inner{height:28px!important;max-height:28px!important;padding:0 10px!important;}
html body .whb-general-header-inner{height:48px!important;max-height:52px!important;padding:0 10px!important;}
html body .whb-header .wd-logo img{max-height:32px!important;height:auto!important;}
html body .whb-header .wd-tools-element{transform:none!important}

/* Breadcrumb */
html body .woodmart-breadcrumbs,
html body .woocommerce-breadcrumb{
  font-size:12.5px!important;color:var(--elf-gray-500)!important;margin:8px 0 10px!important;line-height:1.4!important;
}

/* Gallery card */
html body .woocommerce-product-gallery{
  border:1px solid var(--elf-gray-200)!important;border-radius:var(--radius-14)!important;
  box-shadow:var(--shadow-sm)!important;overflow:hidden!important;background:#fff!important;
}
html body .flex-control-nav{display:flex!important;gap:8px!important;padding:8px!important;margin:0!important;justify-content:flex-start!important;}
html body .flex-control-nav li img{
  width:64px;height:64px;object-fit:cover;border-radius:12px;border:1px solid var(--elf-gray-200)!important;
}

/* Badge NOVO (quando existir) */
html body .product .wd-labels .wd-label{
  background:#E8FFF7!important;color:var(--elf-green)!important;border:none!important;
  font-size:12px!important;font-weight:700!important;padding:4px 10px!important;border-radius:999px!important;
}

/* Título + rating */
html body .entry-summary .product_title{
  font-size:18px!important;font-weight:800!important;color:var(--elf-black)!important;line-height:1.25!important;margin:12px 0 6px!important;
}
html body .woocommerce-product-rating{display:flex!important;align-items:center!important;gap:6px!important;margin:0 0 8px!important;}
html body .star-rating::before,
html body .star-rating span::before{color:var(--elf-yellow)!important;}
html body .woocommerce-review-link{font-size:12px!important;color:var(--elf-gray-500)!important;}

/* Preço */
html body .entry-summary .price{display:block!important;margin:6px 0 12px!important;}
html body .entry-summary .price .woocommerce-Price-amount{
  font-size:22px!important;font-weight:800!important;color:var(--elf-black)!important;
}

/* Selects */
html body .variations_form select,
html body .select2-container .select2-selection--single{
  border:1px solid var(--elf-gray-200)!important;border-radius:var(--radius-12)!important;
  min-height:44px!important;height:44px!important;padding:0 12px!important;font-size:14px!important;background:#fff!important;
}
html body .select2-container .select2-selection__rendered{line-height:44px!important;}
html body .select2-container .select2-selection__arrow{height:44px!important;}

/* Qty + Comprar */
html body .cart{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
html body .quantity .qty{
  height:40px!important;padding:0 10px!important;border-radius:var(--radius-12)!important;border:1px solid var(--elf-gray-200)!important;
}
html body .single_add_to_cart_button{
  height:48px!important;border-radius:var(--radius-12)!important;background:var(--elf-primary)!important;
  color:#fff!important;font-weight:800!important;letter-spacing:.3px!important;text-transform:uppercase!important;box-shadow:var(--shadow-md)!important;
}

/* WhatsApp secundário (pega vários casos) */
html body .entry-summary a[href*="wa.me"],
html body .entry-summary a[href*="api.whatsapp.com"],
html body .btn-whatsapp,
html body a.whatsapp-button{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  height:44px!important;border-radius:999px!important;border:1.5px solid var(--elf-green)!important;
  color:var(--elf-green)!important;background:#fff!important;font-weight:700!important;
}

/* CEP / Shipping */
html body #calc_shipping_postcode{
  width:100%!important;height:48px!important;padding:0 14px!important;border-radius:var(--radius-12)!important;
  background:#fff!important;border:1px solid var(--elf-gray-200)!important;
}
html body #calc_shipping_postcode:focus{
  outline:0!important;box-shadow:0 0 0 3px rgba(139,92,246,.25)!important;border-color:var(--elf-primary)!important;
}

/* Related grid 2 col */
html body .related.products ul.products{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;
}
html body .related.products ul.products li.product{
  border:1px solid var(--elf-gray-100)!important;border-radius:var(--radius-16)!important;box-shadow:var(--shadow-sm)!important;
  padding:10px!important;background:#fff!important;overflow:hidden!important;
}
html body .related.products li.product .woocommerce-LoopProduct-link img{
  border-radius:12px!important;aspect-ratio:4/3!important;object-fit:cover!important;width:100%!important;height:auto!important;
}
html body .related.products li.product .woocommerce-loop-product__title,
html body .related.products li.product .product-title{
  font-size:14px!important;font-weight:600!important;color:var(--elf-black)!important;line-height:1.25!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:36px!important;margin:8px 0 4px!important;
}
html body .related.products li.product .star-rating{font-size:12px!important;margin-bottom:4px!important;}
html body .related.products li.product .price{color:var(--elf-green)!important;font-weight:800!important;font-size:16px!important;margin:4px 0 8px!important;}
html body .related.products li.product .button{
  height:36px!important;border-radius:999px!important;background:#fff!important;color:var(--elf-primary)!important;border:1px solid var(--elf-primary)!important;font-size:12px!important;font-weight:700!important;
}

/* Blocos de texto */
html body .section-benefits,
html body .section-about{
  max-width:680px!important;margin:24px auto!important;padding:0 12px!important;color:var(--elf-gray-700)!important;font-size:15px!important;line-height:1.6!important;
}

/* Footer */
html body .footer-widget .widget-title,
html body .wd-accordion-title{
  text-transform:uppercase!important;font-size:14px!important;font-weight:700!important;color:var(--elf-black)!important;
}
html body .footer-widget,
html body .wd-accordion{border-top:1px solid var(--elf-gray-200)!important;}
html body .footer-widget:last-child{border-bottom:1px solid var(--elf-gray-200)!important;}

@media (min-width:768px){
  html body .whb-general-header-inner{height:64px!important;max-height:68px!important;}
  html body .whb-header .wd-logo img{max-height:36px!important;}
  html body .related.products ul.products{grid-template-columns:repeat(3,1fr)!important;}
}
