/**
 * WooCommerce Integration Styles
 * Ensures coherence between WordPress and WooCommerce
 */

/* ============================================
   PRODUCT GRID & LISTING
   ============================================ */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce li.product {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.woocommerce li.product:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

/* ============================================
   PRODUCT IMAGE
   ============================================ */
.woocommerce li.product .woocommerce-loop-product__link {
  display: block;
  overflow: hidden;
  position: relative;
}

.woocommerce li.product img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.woocommerce li.product:hover img {
  transform: scale(1.08);
}

/* ============================================
   PRODUCT INFO
   ============================================ */
.woocommerce li.product .woocommerce-loop-product__title,
.woocommerce li.product h2 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 1rem;
  min-height: 3rem;
  flex-grow: 1;
  margin: 0;
  color: #1a1a1a;
}

/* ============================================
   PRICING
   ============================================ */
.woocommerce li.product .woocommerce-loop-product__title ~ span,
.woocommerce .price {
  display: block;
  padding: 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #14532d;
  margin-bottom: 0.5rem;
}

.woocommerce del {
  color: #999;
  text-decoration: line-through;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.woocommerce ins {
  text-decoration: none;
  color: #14532d;
}

/* ============================================
   BUTTONS
   ============================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background-color: #14532d;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background-color: #0f3a22;
  text-decoration: none;
}

.woocommerce .onsale {
  background-color: #e74c3c;
  color: #fff;
  padding: 0.5rem;
  border-radius: 4px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-weight: bold;
  font-size: 0.8rem;
  z-index: 1;
}

/* ============================================
   SINGLE PRODUCT
   ============================================ */
.woocommerce-page:not(.single-product) .entry-content,
.woocommerce-page .entry-content {
  max-width: 100%;
}

.single-product .product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.single-product .product > .images {
  position: sticky;
  top: 100px;
}

.single-product .product .images img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.single-product .product > div.summary {
  padding: 1.5rem;
}

.single-product .product .woocommerce-product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.single-product .product .price {
  font-size: 1.75rem;
  color: #14532d;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.single-product .product .woocommerce-product-rating {
  margin-bottom: 1.5rem;
}

.single-product .product > div.summary .product_meta {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

/* ============================================
   CART & CHECKOUT
   ============================================ */
.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}

.woocommerce-cart table.cart th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #1a1a1a;
}

.woocommerce .cart-collaterals {
  float: right;
  width: 100%;
  max-width: 400px;
  margin-top: 2rem;
}

.woocommerce .cart_totals {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.woocommerce .cart_totals h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.woocommerce .cart_totals table tr td,
.woocommerce .cart_totals table tr th {
  padding: 0.75rem 0;
}

.woocommerce .cart_totals .total {
  font-weight: 700;
  font-size: 1.25rem;
  color: #14532d;
}

/* ============================================
   FORMS
   ============================================ */
.woocommerce form .form-row {
  margin-bottom: 1.5rem;
}

.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="tel"],
.woocommerce form .form-row input[type="number"],
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: #14532d;
  box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.1);
}

/* ============================================
   FILTERS & WIDGETS
   ============================================ */
.woocommerce-widget-layered-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-widget-layered-nav li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.woocommerce-widget-layered-nav li:last-child {
  border-bottom: none;
}

.woocommerce-widget-layered-nav a {
  color: #14532d;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.woocommerce-widget-layered-nav a:hover {
  color: #0f3a22;
}

/* ============================================
   NOTICES & MESSAGES
   ============================================ */
.woocommerce-message,
.woocommerce-notice,
.woocommerce-info {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  border-left: 4px solid #14532d;
  background-color: #f0f9f6;
  color: #0f3a22;
}

.woocommerce-error {
  border-left-color: #e74c3c;
  background-color: #fff5f5;
  color: #c0392b;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .single-product .product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .single-product .product > .images {
    position: static;
  }
  
  .woocommerce .cart-collaterals {
    float: none;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .single-product .product .woocommerce-product-title {
    font-size: 1.5rem;
  }
  
  .single-product .product .price {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Natural Be UI/UX CRO Fase 1
   Ajustes seguros para conversión, mobile y tarjetas
   ========================================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button,
.checkout-button,
.buy-button,
.cart-checkout-btn,
.cta-button {
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.woocommerce li.product,
.product-card,
.related-product-card {
  border-radius: 18px;
  border: 1px solid #e4efe8;
  box-shadow: 0 12px 28px rgba(15, 60, 36, .06);
}

.woocommerce li.product:hover,
.product-card:hover,
.related-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 60, 36, .10);
}

.woocommerce li.product img,
.product-card img,
.related-product-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.woocommerce .price,
.product-card .price,
.related-product-card .price {
  color: #14532d;
  font-weight: 900;
}

.woocommerce li.product .woocommerce-loop-product__title,
.product-card__title,
.product-card h3 {
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.naturalbe-compliance-box {
  border-radius: 16px !important;
  border-color: #dfe8df !important;
  background: #fbfdfb !important;
  color: #44524a;
}

@media (max-width: 767px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
  }

  .woocommerce li.product {
    border-radius: 16px;
  }

  .woocommerce li.product .woocommerce-loop-product__title,
  .product-card__title,
  .product-card h3 {
    font-size: .9rem;
    min-height: auto;
    padding: .75rem .7rem .35rem;
  }

  .woocommerce .price,
  .product-card .price {
    font-size: 1rem;
  }

  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .buy-button,
  .cart-checkout-btn,
  .cta-button {
    min-height: 48px;
    width: 100%;
    justify-content: center;
  }

  .single-product .product {
    display: block;
  }

  .single-product .product > .images {
    position: relative;
    top: auto;
  }

  .single-product .product > div.summary {
    padding: 1rem 0;
  }

  .single-product .product .woocommerce-product-title {
    font-size: 1.45rem;
  }

  .single-product .product .price {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   Natural Be UI/UX CRO Fase 1.1
   Corrección: evitar doble sticky y superposición en PDP mobile
   ========================================================================== */

@media (max-width: 767px) {
  /* Ya existe un sticky CTA nativo mejor en la ficha de producto */
  .nb-uiux-sticky-cta {
    display: none !important;
  }

  /* En PDP custom el WhatsApp ya está dentro del sticky inferior */
  body:has(.pdp-grid) .whatsapp-float {
    display: none !important;
  }

  /* Evita que el carrito flotante compita con el CTA inferior */
  body:has(.pdp-grid) .cart-float {
    display: none !important;
  }

  /* Da aire al contenido para que no quede tapado por el sticky nativo */
  body:has(.pdp-grid) {
    padding-bottom: 86px;
  }
}

/* ==========================================================================
   Natural Be UI/UX CRO Fase 1.2
   Body classes robustas para PDP custom
   ========================================================================== */

@media (max-width: 767px) {
  body.nb-uiux-pdp .nb-uiux-sticky-cta {
    display: none !important;
  }

  body.nb-uiux-pdp .whatsapp-float,
  body.nb-uiux-pdp .cart-float {
    display: none !important;
  }

  body.nb-uiux-pdp {
    padding-bottom: 86px;
  }
}

/* ==========================================================================
   Natural Be UI/UX CRO Fase 2.2
   Limpieza PDP: evitar sensación de bloques vacíos
   ========================================================================== */

body.nb-uiux-pdp .pdp-panel {
  border-radius: 18px;
}

body.nb-uiux-pdp .pdp-panel:empty {
  display: none !important;
}

body.nb-uiux-pdp .pdp-panel h2:only-child,
body.nb-uiux-pdp .pdp-panel h3:only-child {
  margin-bottom: 0;
}

/* Mejor jerarquía del bloque de compra */
body.nb-uiux-pdp #btnAddToCart,
body.nb-uiux-pdp .btn-primary {
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

body.nb-uiux-pdp #btnWhatsapp,
body.nb-uiux-pdp .btn-outline {
  min-height: 48px;
  border-radius: 999px;
  font-weight: 850;
}

/* Mejor lectura de chips de confianza */
body.nb-uiux-pdp .trust-mini-item,
body.nb-uiux-pdp .product-trust-item,
body.nb-uiux-pdp .pdp-panel span {
  line-height: 1.35;
}

@media (max-width: 767px) {
  body.nb-uiux-pdp .pdp-panel {
    border-radius: 16px;
  }

  body.nb-uiux-pdp #btnAddToCart,
  body.nb-uiux-pdp #btnWhatsapp {
    font-size: .95rem;
  }
}

/* ==========================================================================
   Natural Be UI/UX CRO Fase 3.2
   Catálogo: cards más compactas, premium y mobile-first
   ========================================================================== */

body .product-card {
  border-radius: 18px;
  border: 1px solid #e4efe8;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 60, 36, .06);
  overflow: hidden;
}

body .product-card__media-wrap,
body .product-card__media {
  background: #f8fbf9;
  border-radius: 16px;
}

body .product-card__media img,
body .product-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

body .product-card__title {
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

body .product-card__desc {
  color: #5f6f64;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body .product-card__proof {
  color: #14532d;
  font-weight: 750;
  font-size: .82rem;
}

body .product-card__price span {
  color: #103d26;
  font-weight: 950;
  letter-spacing: -0.03em;
}

body .product-card__actions .btn-primary,
body .product-card__actions .btn-ghost,
body .product-card__actions .btn-outline,
body .product-card__quick-add .btn-primary {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
}

@media (max-width: 767px) {
  body .products-grid,
  body #plpGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .product-card {
    border-radius: 16px;
    padding: 8px !important;
  }

  body .product-card__body {
    gap: 6px !important;
    padding: 8px 4px 4px !important;
  }

  body .product-card__title {
    font-size: .86rem !important;
    min-height: 2.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body .product-card__desc {
    display: none !important;
  }

  body .product-card__proof {
    font-size: .72rem;
    line-height: 1.25;
  }

  body .product-card__price span {
    font-size: 1rem !important;
  }

  body .product-card__actions {
    gap: 6px !important;
  }

  body .product-card__actions .btn-primary,
  body .product-card__actions .btn-ghost,
  body .product-card__actions .btn-outline,
  body .product-card__quick-add .btn-primary {
    min-height: 42px;
    padding: 8px 10px;
    font-size: .82rem;
  }
}

/* ==========================================================================
   Natural Be UI/UX CRO Fase 3.3
   PLP mobile: filtros colapsables
   ========================================================================== */

.plp-mobile-filter-toggle {
  display: none;
}

@media (max-width: 767px) {
  .plp-mobile-filter-toggle {
    display: block;
    margin: 12px 0;
  }

  .plp-mobile-filter-toggle .btn-ghost {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 900;
    background: #f8fbf9;
    border: 1px solid #d7e9de;
    color: #103d26;
  }

  #plpFiltersPanel {
    display: none;
  }

  #plpFiltersPanel.is-open {
    display: block;
    animation: nbPlpFiltersIn .18s ease-out;
  }

  .filters-panel {
    border-radius: 18px;
    border: 1px solid #e4efe8;
    background: #fff;
    padding: 14px;
    box-shadow: 0 14px 34px rgba(15, 60, 36, .08);
    margin-bottom: 14px;
  }

  .filters-panel .filter-group {
    margin-bottom: 12px;
  }

  .filters-panel h4 {
    margin-bottom: 6px;
    font-size: .92rem;
    color: #103d26;
  }

  .filters-panel input,
  .filters-panel select {
    min-height: 44px;
    border-radius: 12px;
  }

  @keyframes nbPlpFiltersIn {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ==========================================================================
   Natural Be - Header consistency for PLP/PDP
   Objetivo: category/product heredan look de Home sin overlays raros
   ========================================================================== */

@media (max-width: 767px) {
  body.marketplace .market-header__top {
    background: var(--market-green, #348f00) !important;
    color: #fff !important;
    padding: .5rem .9rem !important;
    gap: .55rem !important;
    align-items: center !important;
  }

  body.marketplace #menuToggle.hamburger-btn {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    padding: .38rem .65rem !important;
    font-size: .88rem !important;
    min-height: 42px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }

  body.marketplace .market-search {
    min-height: 42px !important;
    min-width: 0 !important;
  }

  body.marketplace .market-search input,
  body.marketplace #siteSearch {
    min-height: 42px !important;
    font-size: 16px !important;
  }

  body.marketplace .market-header__nav {
    display: none !important;
  }
}

/* Natural Be - CRO local WhatsApp landings */
.nb-local-cro-whatsapp {
  margin: 24px 0;
  padding: 22px;
  border-radius: 18px;
  background: #f4fff8;
  border: 1px solid rgba(24, 135, 72, 0.18);
}

.nb-local-cro-whatsapp h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.nb-local-cro-whatsapp p {
  margin-bottom: 12px;
}

.nb-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.22);
}

.nb-whatsapp-cta:hover,
.nb-whatsapp-cta:focus {
  background: #12803b;
  color: #fff !important;
}

.nb-cro-note {
  font-size: 0.92rem;
  opacity: 0.82;
}

@media (max-width: 640px) {
  .nb-local-cro-whatsapp {
    padding: 18px;
    margin: 18px 0;
  }

  .nb-whatsapp-cta {
    width: 100%;
    text-align: center;
  }
}

/* Natural Be - CTA final landings locales */
.nb-local-final-cta {
  margin: 28px 0 10px;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.22);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.nb-local-final-cta h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.nb-local-final-cta p {
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .nb-local-final-cta {
    padding: 18px;
    margin: 22px 0 8px;
  }
}

/* Natural Be - Blog vitaminas para el cansancio */
.nb-blog-hero {
  margin: 22px 0 28px;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eef7f2, #fff8e8);
  border: 1px solid rgba(22, 163, 74, 0.18);
}

.nb-blog-eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
  font-size: 0.86rem;
  font-weight: 700;
}

.nb-blog-hero h2 {
  margin-top: 0;
}

.nb-blog-section,
.nb-blog-faq,
.nb-warning-box {
  margin: 30px 0;
}

.nb-card-grid {
  display: grid;
  gap: 16px;
  margin: 20px 0 28px;
}

.nb-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nb-card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nb-info-card,
.nb-vitamin-card {
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.14);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.nb-info-card h3,
.nb-vitamin-card h3 {
  margin-top: 0;
}

.nb-vitamin-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 30px;
}

.nb-table-wrap {
  overflow-x: auto;
  margin: 20px 0 30px;
  border-radius: 16px;
  border: 1px solid rgba(22, 163, 74, 0.16);
}

.nb-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.nb-table-wrap th,
.nb-table-wrap td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(22, 163, 74, 0.12);
  text-align: left;
  vertical-align: top;
}

.nb-table-wrap th {
  background: #1a3d28;
  color: #fff;
}

.nb-table-wrap tr:nth-child(even) td {
  background: #f4fff8;
}

.nb-warning-box {
  padding: 20px;
  border-radius: 18px;
  background: #fff8e8;
  border: 1px solid rgba(212, 137, 10, 0.25);
}

@media (max-width: 760px) {
  .nb-card-grid-3,
  .nb-card-grid-2 {
    grid-template-columns: 1fr;
  }

  .nb-blog-hero,
  .nb-info-card,
  .nb-vitamin-card,
  .nb-warning-box {
    padding: 18px;
  }
}

/* Natural Be - Mobile header: hide brand text, keep logo/menu/search */
@media (max-width: 760px) {
  body.nb-uiux-plp .header-inner > :first-child,
  body.nb-uiux-pdp .header-inner > :first-child,
  body.marketplace .header-inner > :first-child,
  body.producto .header-inner > :first-child,
  body.categoria .header-inner > :first-child {
    font-size: 0 !important;
    line-height: 0 !important;
    gap: 0 !important;
    max-width: 64px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  body.nb-uiux-plp .header-inner > :first-child img,
  body.nb-uiux-pdp .header-inner > :first-child img,
  body.marketplace .header-inner > :first-child img,
  body.producto .header-inner > :first-child img,
  body.categoria .header-inner > :first-child img {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    object-fit: contain !important;
  }

  body.nb-uiux-plp .header-inner > :first-child *,
  body.nb-uiux-pdp .header-inner > :first-child *,
  body.marketplace .header-inner > :first-child *,
  body.producto .header-inner > :first-child *,
  body.categoria .header-inner > :first-child * {
    font-size: 0 !important;
    line-height: 0 !important;
  }

  body.nb-uiux-plp .header-inner > :first-child img,
  body.nb-uiux-pdp .header-inner > :first-child img,
  body.marketplace .header-inner > :first-child img,
  body.producto .header-inner > :first-child img,
  body.categoria .header-inner > :first-child img {
    font-size: initial !important;
    line-height: initial !important;
  }
}

/* Natural Be - Mobile header brand text hard hide */
@media (max-width: 760px) {
  body.nb-uiux-plp .site-branding,
  body.nb-uiux-pdp .site-branding,
  body.marketplace .site-branding,
  body.producto .site-branding,
  body.categoria .site-branding,
  body.nb-uiux-plp .custom-logo-link,
  body.nb-uiux-pdp .custom-logo-link,
  body.marketplace .custom-logo-link,
  body.producto .custom-logo-link,
  body.categoria .custom-logo-link,
  body.nb-uiux-plp .header-brand,
  body.nb-uiux-pdp .header-brand,
  body.marketplace .header-brand,
  body.producto .header-brand,
  body.categoria .header-brand,
  body.nb-uiux-plp .brand,
  body.nb-uiux-pdp .brand,
  body.marketplace .brand,
  body.producto .brand,
  body.categoria .brand,
  body.nb-uiux-plp .logo,
  body.nb-uiux-pdp .logo,
  body.marketplace .logo,
  body.producto .logo,
  body.categoria .logo {
    font-size: 0 !important;
    line-height: 0 !important;
  }

  body.nb-uiux-plp .site-branding img,
  body.nb-uiux-pdp .site-branding img,
  body.marketplace .site-branding img,
  body.producto .site-branding img,
  body.categoria .site-branding img,
  body.nb-uiux-plp .custom-logo-link img,
  body.nb-uiux-pdp .custom-logo-link img,
  body.marketplace .custom-logo-link img,
  body.producto .custom-logo-link img,
  body.categoria .custom-logo-link img,
  body.nb-uiux-plp .header-brand img,
  body.nb-uiux-pdp .header-brand img,
  body.marketplace .header-brand img,
  body.producto .header-brand img,
  body.categoria .header-brand img,
  body.nb-uiux-plp .brand img,
  body.nb-uiux-pdp .brand img,
  body.marketplace .brand img,
  body.producto .brand img,
  body.categoria .brand img,
  body.nb-uiux-plp .logo img,
  body.nb-uiux-pdp .logo img,
  body.marketplace .logo img,
  body.producto .logo img,
  body.categoria .logo img {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    object-fit: contain !important;
    font-size: initial !important;
    line-height: initial !important;
  }

  body.nb-uiux-plp .site-title,
  body.nb-uiux-pdp .site-title,
  body.marketplace .site-title,
  body.producto .site-title,
  body.categoria .site-title,
  body.nb-uiux-plp .site-description,
  body.nb-uiux-pdp .site-description,
  body.marketplace .site-description,
  body.producto .site-description,
  body.categoria .site-description,
  body.nb-uiux-plp .brand-name,
  body.nb-uiux-pdp .brand-name,
  body.marketplace .brand-name,
  body.producto .brand-name,
  body.categoria .brand-name,
  body.nb-uiux-plp .logo-text,
  body.nb-uiux-pdp .logo-text,
  body.marketplace .logo-text,
  body.producto .logo-text,
  body.categoria .logo-text {
    display: none !important;
  }
}

/* Natural Be - Mobile hide text inside brand-logo */
@media (max-width: 760px) {
  body.marketplace .market-header .brand-logo,
  body.producto .market-header .brand-logo,
  body.categoria .market-header .brand-logo,
  body.nb-uiux-plp .market-header .brand-logo,
  body.nb-uiux-pdp .market-header .brand-logo {
    font-size: 0 !important;
    line-height: 0 !important;
    width: 48px !important;
    max-width: 48px !important;
    min-width: 48px !important;
    overflow: hidden !important;
    gap: 0 !important;
  }

  body.marketplace .market-header .brand-logo img,
  body.producto .market-header .brand-logo img,
  body.categoria .market-header .brand-logo img,
  body.nb-uiux-plp .market-header .brand-logo img,
  body.nb-uiux-pdp .market-header .brand-logo img {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    object-fit: contain !important;
  }

  body.marketplace .market-header .brand-logo span,
  body.producto .market-header .brand-logo span,
  body.categoria .market-header .brand-logo span,
  body.nb-uiux-plp .market-header .brand-logo span,
  body.nb-uiux-pdp .market-header .brand-logo span {
    display: none !important;
  }
}

/* Natural Be - Zoom suave en imágenes de catálogo */
@media (hover: hover) and (pointer: fine) {
  .product-card,
  .nb-product-card,
  .woocommerce ul.products li.product,
  .products .product {
    overflow: hidden;
  }

  .product-card a,
  .nb-product-card a,
  .woocommerce ul.products li.product a,
  .products .product a {
    -webkit-tap-highlight-color: transparent;
  }

  .product-card img,
  .nb-product-card img,
  .woocommerce ul.products li.product img,
  .products .product img {
    transition: transform .32s ease, filter .32s ease;
    transform-origin: center center;
    will-change: transform;
  }

  .product-card:hover img,
  .nb-product-card:hover img,
  .woocommerce ul.products li.product:hover img,
  .products .product:hover img {
    transform: scale(1.12);
    filter: saturate(1.04) contrast(1.03);
  }
}

/* Evita que el zoom empuje textos o botones */
.product-card__image,
.product-card-image,
.product-image,
.woocommerce ul.products li.product a img,
.products .product a img {
  display: block;
}

/* Respeta usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .product-card img,
  .nb-product-card img,
  .woocommerce ul.products li.product img,
  .products .product img {
    transition: none !important;
  }
}
/* Evita que el zoom empuje textos o botones */
.product-card__image,
.product-card-image,
.product-image,
.woocommerce ul.products li.product a img,
.products .product a img {
  display: block;
}

/* Respeta usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .product-card img,
  .nb-product-card img,
  .woocommerce ul.products li.product img,
  .products .product img {
    transition: none !important;
  }
}

/* Natural Be - Zoom premium en imagen principal PDP */
@media (hover: hover) and (pointer: fine) {
  .nb-pdp-zoom-enabled {
    overflow: hidden !important;
    cursor: zoom-in;
    position: relative;
    border-radius: inherit;
  }

  .nb-pdp-zoom-enabled img {
    transition: transform .16s ease-out;
    transform-origin: var(--nb-zoom-x, 50%) var(--nb-zoom-y, 50%);
    will-change: transform;
  }

  .nb-pdp-zoom-enabled.is-zooming img {
    transform: scale(1.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nb-pdp-zoom-enabled img {
    transition: none !important;
  }
}
