/* Submenú header - reduce espacio entre items */
.header-menu-sidebar .sub-menu li,
.nv-nav-wrap .sub-menu li,
nav .sub-menu li {
  padding: 0 !important;
  margin: 0 !important;
}

.header-menu-sidebar .sub-menu a,
.nv-nav-wrap .sub-menu a,
nav .sub-menu a {
  padding: 0px 0px !important;
  line-height: 1 !important;
}
/* ============================================================
   CSS GENERAL BRINDO COPAS
   Ordenado por secciones para facilitar mantenimiento:
   1. Hero / Slider
   2. WhatsApp / Social Chat
   3. Header / Carrito / Buscador
   4. Menú inferior mobile + panel categorías
   5. WooCommerce: avisos
   6. WooCommerce: grilla de productos
   7. WooCommerce: producto individual
   8. Checkout
   9. Carruseles / bloques Gutenberg
   10. Footer
   11. Performance
   12. Utilidades generales
============================================================ */


/* ============================================================
   1. HERO / SLIDER
   Slider horizontal full width para banners del hero.
   Cada columna funciona como un slide deslizable.
============================================================ */

/* Contenedor principal del slider */
.hero-slider-pablo.wp-block-columns,
.hero-slider-pablo {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 0 !important;
  padding: 0 !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  scrollbar-width: none !important;
}

/* Cada columna es un banner/slide */
.hero-slider-pablo.wp-block-columns > .wp-block-column,
.hero-slider-pablo > .wp-block-column {
  flex: 0 0 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  width: 100vw !important;
  margin: 0 !important;
  scroll-snap-align: start;
}

/* Imágenes internas */
.hero-slider-pablo img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Oculta barra de scroll */
.hero-slider-pablo::-webkit-scrollbar {
  display: none !important;
}

/* Ajustes mobile de textos y botón dentro del hero */
@media (max-width: 768px) {
/* Ajustes mobile de textos y botón dentro del hero */
@media (max-width: 768px) {
  .hero-slider-pablo h1,
  .hero-slider-pablo h2,
  .hero-slider-pablo .wp-block-heading {
    max-width: 92vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .hero-slider-pablo p {
    max-width: 92vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-slider-pablo .wp-block-button__link,
  .hero-slider-pablo a.wp-block-button__link {
    max-width: 84vw !important;
    width: auto !important;
    text-align: center !important;
  }
}

  .hero-slider-pablo p {
    font-size: 18px !important;
    line-height: 1.2 !important;
    letter-spacing: 4px !important;
    max-width: 92vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-slider-pablo .wp-block-button__link,
  .hero-slider-pablo a.wp-block-button__link {
    font-size: 17px !important;
    letter-spacing: 6px !important;
    padding: 18px 34px !important;
    max-width: 84vw !important;
    width: auto !important;
    text-align: center !important;
  }
}


/* ============================================================
   HERO SLIDER - PUNTOS MINIMALISTAS
   Indicador simple y elegante justo debajo del banner.
============================================================ */

/* Contenedor de controles */
.hero-slider-controls {
  position: relative;
  z-index: 20;
  width: fit-content;
  margin: 14px auto 24px auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Oculta flechas */
.hero-slider-arrow {
  display: none !important;
}

/* Contenedor de puntos */
.hero-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Punto base */
.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none !important;
  background: rgba(35, 31, 32, 0.45) !important;
  padding: 0 !important;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Punto activo */
.hero-slider-dot.is-active {
  width: 30px;
  background: rgba(35, 31, 32, 0.85) !important;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-slider-controls {
    margin: 12px auto 20px auto;
  }

  .hero-slider-dot {
    width: 9px;
    height: 9px;
  }

  .hero-slider-dot.is-active {
    width: 28px;
  }
}

/* ============================================================
   2. WHATSAPP / SOCIAL CHAT
============================================================ */

/* Oculta el botón flotante de WhatsApp en mobile porque ya está en el menú inferior */
@media (max-width: 768px) {
  .qlwapp,
  .qlwapp-container,
  .qlwapp-whatsapp-icon {
    display: none !important;
  }
}

/* Oculta botones inline duplicados de Social Chat, dejando activo el bubble si corresponde */
.qlwapp__button.qlwapp__button--button {
  display: none !important;
}


/* ============================================================
   3. HEADER / CARRITO / BUSCADOR
============================================================ */

/* Carrito desktop flotante */
.brindo-header-cart {
  position: fixed;
  top: 28px;
  right: 18px;
  z-index: 99999;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid #000000;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brindo-header-cart:hover {
  background: #f2f2f2 !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

.brindo-header-cart__icon {
  font-size: 0;
}

.brindo-header-cart__icon::before {
  content: "🛒";
  font-size: 30px;
  filter: grayscale(1);
}

.brindo-header-cart__total {
  position: absolute;
  top: -10px;
  right: -6px;
  background: #000000;
  color: #ffffff;
  border-radius: 999px;
  min-width: 28px;
  height: 24px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 24px;
  font-weight: 700;
}

/* Oculta carrito desktop en mobile porque se usa menú inferior */
@media (max-width: 768px) {
  .brindo-header-cart {
    display: none !important;
  }
}

/* Buscador FiboSearch del header */
.dgwt-wcas-search-wrapp {
  max-width: 320px !important;
  background: transparent !important;
}

.dgwt-wcas-sf-wrapp {
  background: transparent !important;
  padding: 0 !important;
  position: relative !important;
}

.dgwt-wcas-search-form {
  background: transparent !important;
  box-shadow: none !important;
}

.dgwt-wcas-search-input {
  height: 44px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  background: #ffffff !important;
  border: 1px solid #dddddd !important;
  padding-left: 48px !important;
}

.dgwt-wcas-search-submit {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 24px !important;
  width: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

.dgwt-wcas-search-submit svg {
  width: 20px !important;
  height: 20px !important;
}


/* ============================================================
   4. MENÚ INFERIOR MOBILE + PANEL CATEGORÍAS
============================================================ */

/* Oculta por defecto menú mobile y panel */
.brindo-mobile-nav,
.brindo-cat-panel {
  display: none;
}

@media (max-width: 768px) {
  .brindo-mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
    padding: 6px 8px 8px;
  }

  .brindo-mobile-nav__item {
    width: 25%;
    text-align: center;
    text-decoration: none;
    color: #231f20;
    font-size: 22px;
    line-height: 1;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .brindo-mobile-nav__item small {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    font-weight: 600;
    color: #231f20;
  }

  .brindo-cart-total {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #8b1238 !important;
  }

  .brindo-cat-panel {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 72px !important;
    background: #ffffff;
    z-index: 99998;
    padding: 18px 22px 24px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.16);
    transform: translateY(120%);
    transition: transform 0.25s ease;
    border-radius: 18px 18px 0 0;
    max-height: 65vh !important;
    overflow-y: auto !important;
  }

  .brindo-cat-panel.is-open {
    transform: translateY(0);
  }

  .brindo-cat-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 18px;
  }

  .brindo-cat-panel__head button,
  #brindoCatClose {
    background: transparent !important;
    border: none !important;
    font-size: 30px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #231f20 !important;
    padding: 0 !important;
  }

  #brindoCatClose {
    display: block !important;
    z-index: 100000 !important;
  }

  .brindo-cat-panel__menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .brindo-cat-panel__menu li {
    border-bottom: 1px solid #eeeeee;
  }

  .brindo-cat-panel__menu a {
    display: block;
    padding: 13px 0;
    color: #231f20;
    text-decoration: none;
    font-weight: 600;
  }

  body {
    padding-bottom: 80px;
  }

  .xoo-wsc-basket {
    display: none !important;
  }
}


/* ============================================================
   5. WOOCOMMERCE: AVISOS
============================================================ */

/* Oculta aviso general de tienda */
.woocommerce-store-notice {
  display: none !important;
}

/* Contenedor de avisos WooCommerce */
.woocommerce-notices-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

/* Base de avisos */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  margin: 0 !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  letter-spacing: 0.6px !important;
  padding: 12px 50px !important;
  text-align: left;
  border: 1px solid #000000 !important;
  background-color: #b79696 !important;
  color: #ffffff !important;
  font-weight: 300 !important;
  box-shadow: none !important;
}

/* Oculta íconos antes de los avisos */
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
  display: none !important;
}

/* Oculta mensaje específico dentro del carrito */
.woocommerce-cart .woocommerce-message {
  display: none !important;
}


/* ============================================================
   6. WOOCOMMERCE: GRILLA DE PRODUCTOS / TIENDA
============================================================ */

/* Tarjeta base */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
  text-align: left !important;
  box-sizing: border-box;
  height: 100%;
}

/* Imagen */
.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  display: block;
}

/* Título */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  line-height: 1.3 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.3em;
  margin: 8px 0 4px 0;
  text-align: left;
}

/* Precios */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .bc-precios {
  text-align: left !important;
  margin: 4px 0 8px 0;
}

/* Cantidad */
.woocommerce ul.products li.product .quantity {
  display: block;
  margin: 0 0 8px 0;
  height: auto;
}

.woocommerce ul.products li.product .quantity input.qty {
  width: 60px;
  text-align: center;
}

/* Botón — empujado al fondo */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 10px 14px !important;
  margin: auto 0 0 0 !important;
  text-align: center !important;
}

/* Migas de pan */
.woocommerce-breadcrumb {
  display: none !important;
}

/* Mobile: 2 columnas */
@media (max-width: 767px) {
  .woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
  }

  .woocommerce ul.products li.product {
    width: calc(50% - 0.01px) !important;
    padding: 0 8px 20px;
    margin: 0;
    float: none !important;
    clear: none !important;
    min-width: 0;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px !important;
    line-height: 1.25 !important;
    -webkit-line-clamp: 2;
    min-height: 2.6em;
  }
}
/* Imágenes de producto siempre cuadradas */
.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 220px !important;
  object-fit: contain !important;
  background: #f9f9f9;
}

/* ============================================================
   7. WOOCOMMERCE: PRODUCTO INDIVIDUAL
============================================================ */

/* Estilo de descripción de productos */
.woocommerce-Tabs-panel--description {
  font-size: 14px !important;
  line-height: 2;
  text-align: justify;
}


/* ============================================================
   8. CHECKOUT
============================================================ */

/* Checkout compacto Brindo */
.woocommerce-checkout,
.woocommerce-checkout form.checkout {
  --bc-font-sm: 12px;
  --bc-font-md: 12px;
  --bc-radius: 10px;
  --bc-gap: 10px;
  font-size: var(--bc-font-md);
}

/* Títulos de pasos / secciones */
.fc-step__title,
.woocommerce-checkout h3,
#order_review_heading {
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.fc-step__subheading {
  font-size: 10px;
  margin-top: -6px;
}

/* Labels y ayuda */
.woocommerce form .form-row label,
.fc-field__label {
  font-size: var(--bc-font-sm);
  line-height: 1.2;
  margin-bottom: 4px;
}

/* Inputs, selects y textarea compactos */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.select2-container .select2-selection--single {
  font-size: var(--bc-font-sm);
  padding: 8px 10px;
  min-height: 36px;
  border-radius: var(--bc-radius);
}

/* Select2 */
.select2-container .select2-selection--single {
  height: 36px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
}

/* Filas del formulario */
.woocommerce form .form-row,
.fc-field {
  margin-bottom: var(--bc-gap);
}

/* Métodos de envío / pago */
.woocommerce ul#shipping_method li,
.woocommerce-checkout #payment ul.payment_methods li {
  padding: 8px 10px;
  font-size: var(--bc-font-sm);
}

.woocommerce ul#shipping_method li label,
.woocommerce-checkout #payment ul.payment_methods li label {
  line-height: 1.2;
}

/* Tabla de resumen */
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 8px 12px !important;
  font-size: var(--bc-font-sm);
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
  font-size: var(--bc-font-md);
}

/* Mini carrito */
.woocommerce-checkout .product-name,
.woocommerce-checkout .product-total {
  font-size: var(--bc-font-sm);
}

/* Botón realizar pedido */
#place_order,
.woocommerce .button.alt {
  font-size: 15px;
  padding: 10px 14px;
  border-radius: var(--bc-radius);
}

/* Cards de Fluid Checkout */
.fc-step,
.fc-wrapper .woocommerce-checkout-review-order,
.fc-wrapper .fc-order-summary {
  border-radius: var(--bc-radius);
}

/* Oculta subpaso de facturación en Fluid Checkout */
.fc-step__substep[data-substep-id="billing_address"] {
  display: none !important;
}

/* Responsive checkout */
@media (max-width: 768px) {
  .fc-step__title,
  .woocommerce-checkout h3,
  #order_review_heading {
    font-size: 16px;
  }

  #place_order {
    width: 100%;
  }
}

/* Aviso de transportista */
.brindo-transportista-notice {
  max-width: 900px;
  margin: 20px auto 30px auto;
  font-size: 17px;
  line-height: 1.6;
  text-align: left;
}

.brindo-transportista-notice h3 {
  color: #7a0f2e;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: center;
}

.brindo-transportista-notice ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.brindo-transportista-notice ul li::before {
  content: "• ";
  color: #7a0f2e;
}


/* ============================================================
   9. CARRUSELES / BLOQUES GUTENBERG
============================================================ */

/* Altura mínima de títulos en destacados */
.destacados {
  min-height: 60px;
}

/* Paginación Gutenberg (grid de productos) */
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  background: #7a0f2e;
  color: #ffffff;
  cursor: pointer;
  transition: 0.2s ease;
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
  background: #a0143c;
}

/* Oculta flechitas del carrusel viejo - ahora es grid */
.wc-block-next-previous-buttons {
  display: none !important;
}

/* ── COLUMNAS SCROLL (logos de marcas y similares) ── */

/* Desktop: sin scroll, grilla normal */
@media (min-width: 769px) {
  .columnas-scroll {
    gap: 4px !important;
    margin: 0 auto !important;
  }

  .columnas-scroll > .wp-block-column {
    margin: 0 !important;
    padding: 0 !important;
  }

  .columnas-scroll .wp-block-cover {
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Mobile: scroll horizontal con peek del siguiente */
@media (max-width: 768px) {
  .columnas-scroll {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px !important;
    padding: 8px 16px 12px !important;
    /* Fade lateral derecho para indicar que hay más */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    scrollbar-width: none;
  }

  .columnas-scroll::-webkit-scrollbar {
    display: none;
  }

  /* Cada columna muestra 3.5 logos → el medio logo de la derecha indica scroll */
  .columnas-scroll > .wp-block-column {
    flex: 0 0 72vw !important;
    max-width: 72vw !important;
    scroll-snap-align: start;
    margin: 0 !important;
    padding: 0 !important;
  }

  .columnas-scroll > .wp-block-column > * {
    white-space: normal !important;
    writing-mode: horizontal-tb !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* ============================================================
   10. FOOTER
============================================================ */

/* Menú de íconos en footer */
footer .footer-social .menu,
footer .footer-social .wp-block-navigation__container {
  display: flex !important;
  flex-direction: row !important;
  gap: 15px;
  justify-content: flex-start;
}

footer .footer-social li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

footer .footer-social a {
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .footer-social a:hover {
  opacity: 0.7;
}


/* ============================================================
   11. PERFORMANCE / OPTIMIZACIONES
============================================================ */

/* Render bajo demanda para contenido debajo del primer bloque */
/* Se quito content-visibility:auto: con contain-intrinsic-size fijo en 1000px
   causaba parpadeos en blanco cuando el contenido real medía otra cosa
   (se vio en pruebas de scroll rápido/programático). El ahorro de
   performance no compensaba el glitch visual. */


/* ============================================================
   12. UTILIDADES GENERALES
============================================================ */

/* Elimina separación entre columnas */
.sin-gap {
  gap: 0 !important;
}

.sin-gap > .wp-block-column {
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================================
   BARRA SUPERIOR
============================================================ */
/* Ticker superior animado para condiciones comerciales de Brindo Copas */
.brindo-top-ticker {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  background: #231f20;
  color: #ffffff;
  overflow: hidden;
  padding: 6px 0;
}

.brindo-top-ticker__viewport {
  overflow: hidden;
  width: 100%;
}

.brindo-top-ticker__track {
  display: flex;
  width: max-content;
  animation: brindoTicker 24s linear infinite;
}

.brindo-top-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.brindo-top-ticker__item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  margin: 0 20px;
  white-space: nowrap;
}

.brindo-top-ticker__sep {
  opacity: 0.4;
  font-size: 13px;
}

@keyframes brindoTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .brindo-top-ticker {
    padding: 6px 0;
  }

  .brindo-top-ticker__track {
    animation-duration: 18s;
  }

  .brindo-top-ticker__item {
    font-size: 12px;
    font-weight: 400;
    margin: 0 14px;
  }

  .brindo-top-ticker__sep {
    font-size: 12px;
  }
}
/* ============================================================
   PRODUCTOS DESTACADOS - Home grid
============================================================ */

/* Grilla */
.wc-block-grid__products {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Tarjeta */
.wc-block-grid__product {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: calc(20% - 13px) !important; /* 5 columnas desktop */
}

/* Imagen cuadrada */
.wc-block-grid__product-image img,
.wc-block-grid__product-image a img {
  width: 100% !important;
  height: 200px !important;
  object-fit: contain !important;
  background: #f9f9f9 !important;
  display: block !important;
}

/* Título */
.wc-block-grid__product-title {
  font-size: 13px !important;
  line-height: 1.3 !important;
  margin: 8px 0 4px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.6em !important;
}

/* Precio */
.wc-block-grid__product-price {
  margin: 4px 0 8px 0 !important;
  font-size: 13px !important;
}

/* Botón al fondo */
.wc-block-grid__product .wp-block-button {
  margin-top: auto !important;
  width: 100% !important;
}

.wc-block-grid__product .wp-block-button__link {
  width: 100% !important;
  text-align: center !important;
  padding: 10px !important;
}

/* Tablet: 3 columnas */
@media (max-width: 1024px) {
  .wc-block-grid__product {
    width: calc(33.333% - 11px) !important;
  }
}

/* Mobile: 2 columnas */
@media (max-width: 767px) {
  .wc-block-grid__products {
    gap: 10px !important;
  }

  .wc-block-grid__product {
    width: calc(50% - 5px) !important;
  }

  .wc-block-grid__product-image img,
  .wc-block-grid__product-image a img {
    height: 150px !important;
  }

  .wc-block-grid__product-title {
    font-size: 12px !important;
  }
}
/* ============================================================
   13. CARRITO MOBILE - FIX DE OVERFLOW (padding + wrap de texto)
   El carrito clasico (shop_table_responsive) apilaba las celdas
   bien en mobile pero sin padding lateral, asi que el texto y
   la imagen quedaban pegados a los bordes de la pantalla.
============================================================ */
@media (max-width: 768px) {
  .woocommerce-cart .cart_item td {
    padding: 10px 16px !important;
    box-sizing: border-box !important;
  }
  .woocommerce-cart .cart_item td.product-thumbnail {
    text-align: center;
  }
  .woocommerce-cart .cart_item td.product-thumbnail img {
    max-width: 110px !important;
    height: auto !important;
    margin: 0 auto;
  }
  .woocommerce-cart .cart_item td.product-name,
  .woocommerce-cart .cart_item td.product-price,
  .woocommerce-cart .cart_item td.product-subtotal,
  .woocommerce-cart .cart_item td.product-quantity {
    word-break: break-word;
  }
  .woocommerce-cart .cart_item td.product-quantity input.qty {
    max-width: 70px;
  }
}

/* ============================================================
   14. HERO MOBILE - altura reducida
   El hero tenia min-height:600px fijo en Gutenverse, igual en
   desktop y mobile. En un celular eso ocupaba casi toda la
   primera pantalla. Se reduce solo en mobile.
============================================================ */
@media (max-width: 767px) {
  .hero-slider-pablo .guten-container {
    min-height: 420px !important;
  }
}

/* ============================================================
   15. REFRESH VISUAL - TIPOGRAFIA + COLOR (PROTOTIPO EN PRUEBA)
============================================================ */
body {
  font-family: 'Inter', -apple-system, 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  background: #FAF6F3;
  color: #231F20;
}
h1, h2, h3, h4, h5, h6, .wp-block-heading {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
}


/* ============================================================
   16. GRILLA DE PRODUCTOS - Fix alineacion de botones
   Sin stock, la tarjeta no se estiraba igual que sus vecinas de
   la misma fila (el viejo 'height:100%' no funciona bien con
   stretch en flex cuando el padre no tiene alto explicito), y el
   wrapper interno (nv-card-content-wrapper, de Neve) no era flex,
   asi que el margin-top:auto del boton no tenia efecto.
============================================================ */
.woocommerce ul.products, .woocommerce-page ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}
.woocommerce ul.products li.product {
  height: auto !important;
  align-self: stretch !important;
}
.woocommerce ul.products li.product .nv-card-content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.woocommerce ul.products li.product .nv-card-content-wrapper > a.button,
.woocommerce ul.products li.product .nv-card-content-wrapper > button.button {
  margin-top: auto !important;
}


/* ============================================================
   17. REFRESH VISUAL - COLOR UNIFICADO + TARJETAS CON CUERPO
============================================================ */
:root {
  --bc-brand: #7A1030;
  --bc-brand-2: #9C1440;
  --bc-brand-dark: #4A0A1D;
}

/* Unificar color de marca (antes habia 3 tonos distintos sueltos) */
.brindo-header-cart,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  background: var(--bc-brand) !important;
}

/* Botones: mas cuerpo, redondeados, con hover */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button,
.wc-block-product .wp-block-button__link,
.wp-block-button__link,
#place_order {
  background: var(--bc-brand) !important;
  border-radius: 8px !important;
  border: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(122,16,48,0.25) !important;
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product button.button:hover,
.wp-block-button__link:hover {
  background: var(--bc-brand-2) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(122,16,48,0.35) !important;
}

/* Tarjetas de producto con mas cuerpo - grilla clasica (tienda/categorias) */
.woocommerce ul.products li.product {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(35,31,32,0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 8px 20px rgba(35,31,32,0.14);
  transform: translateY(-3px);
}
.woocommerce ul.products li.product img {
  border-radius: 8px;
}

/* Tarjetas de producto con mas cuerpo - grilla de bloques (home, 'Los infaltables') */
.wc-block-product {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(35,31,32,0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.wc-block-product:hover {
  box-shadow: 0 8px 20px rgba(35,31,32,0.14);
  transform: translateY(-3px);
}
.wc-block-product img {
  border-radius: 8px;
}

/* Fila de iconos de beneficios - badges circulares */
.columnas-scroll .wp-block-column {
  text-align: center;
}
.columnas-scroll svg {
  background: var(--bc-brand);
  border-radius: 50%;
  padding: 14px;
  width: 24px;
  height: 24px;
  box-sizing: content-box;
}

/* Seccion Regalos empresariales - color de marca en vez de gris generico */
.guten-m0lOWT {
  background: linear-gradient(135deg, var(--bc-brand-dark), var(--bc-brand)) !important;
  border-radius: 16px;
}
.guten-m0lOWT h3 { color: #fff !important; }
.guten-m0lOWT p, .guten-m0lOWT div { color: rgba(255,255,255,0.92) !important; }


/* ============================================================
   18. BARRA DE PROGRESO HACIA LISTA 1 ($1.000.000)
============================================================ */
.bc-progress-lista1 {
  margin: 12px 0 16px;
  padding: 0 4px;
}
.bc-progress-lista1__msg {
  font-size: 13px;
  margin: 0 0 8px;
  text-align: center;
  color: #231F20;
}
.bc-progress-lista1__msg--done {
  color: #2e7d32;
  font-weight: 700;
}
.bc-progress-lista1__bar {
  height: 8px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}
.bc-progress-lista1__fill {
  height: 100%;
  background: var(--bc-brand, #7A1030);
  transition: width 0.3s ease;
  border-radius: 999px;
}


/* ============================================================
   19. STEPPER DE CANTIDAD EN MINI-CARRITO
============================================================ */
.bc-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 2px;
  margin-top: 4px;
}
.bc-qty-btn {
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  border: none;
  border-radius: 50%;
  background: #f1ecec;
  color: #231F20;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.bc-qty-btn:hover:not(:disabled) {
  background: var(--bc-brand, #7A1030);
  color: #fff;
}
.bc-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.bc-qty-val {
  min-width: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
