@charset "UTF-8";
/*!
Theme Name: Mi Tema
Description: Tema personalizado con SCSS
Version: 1.0.0
*/
/* ==========================================================================
   MIXINS MODIFICADOS (VERSION FLEXBOX)
   ========================================================================== */
/* --- REEMPLAZO DE GRID POR FLEXBOX MANTENIENDO TUS PARÁMETROS --- */
.woocommerce-product-gallery {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9fa;
  padding: 2rem;
  margin-bottom: 0;
}
.woocommerce-product-gallery__wrapper {
  margin: 0 !important;
  max-width: 100% !important;
}
.woocommerce-product-gallery__image {
  text-align: center;
  position: relative;
}
.woocommerce-product-gallery__image a {
  display: block;
  text-align: center;
}
.woocommerce-product-gallery__image img {
  display: block;
  margin: 0 auto;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 500px;
  object-fit: contain;
  border-radius: 12px;
  transition: opacity 0.4s ease;
  cursor: crosshair;
}
.woocommerce-product-gallery__image .zoomImg {
  border-radius: 12px;
  background-color: #FFFFFF;
}
.woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  z-index: 10;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-size: 0 !important;
  text-indent: 0 !important;
  border: 1px solid #e9ecef;
  backdrop-filter: blur(10px);
}
.woocommerce-product-gallery__trigger::before {
  content: '🔎';
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woocommerce-product-gallery__trigger:hover {
  background: #0984e3 !important;
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(9, 132, 227, 0.3);
  border-color: #0984e3;
}
.woocommerce-product-gallery__trigger img {
  display: none !important;
}
.woocommerce-product-gallery .flex-direction-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce-product-gallery .flex-direction-nav a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 5;
  transition: all 0.3s ease;
  text-decoration: none;
}
.woocommerce-product-gallery .flex-direction-nav a::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid #555;
  border-right: 2px solid #555;
  display: inline-block;
}
.woocommerce-product-gallery .flex-direction-nav a:hover {
  background: #0984e3;
}
.woocommerce-product-gallery .flex-direction-nav a:hover::before {
  border-color: #FFFFFF;
}
.woocommerce-product-gallery .flex-direction-nav .flex-prev {
  left: 1rem;
}
.woocommerce-product-gallery .flex-direction-nav .flex-prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}
.woocommerce-product-gallery .flex-direction-nav .flex-next {
  right: 1rem;
}
.woocommerce-product-gallery .flex-direction-nav .flex-next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}
.woocommerce-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  list-style: none;
  padding: 1rem 0 0;
  margin: 1rem 0 0;
  border-top: 1px solid #e9ecef;
}
.woocommerce-product-gallery .flex-control-thumbs li {
  padding: 0;
  margin: 0;
}
.woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: #FFFFFF;
  padding: 0.3rem;
}
.woocommerce-product-gallery .flex-control-thumbs img:hover {
  opacity: 0.8;
  border-color: #b2bec3;
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  opacity: 1;
  border-color: #0984e3;
  box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.1);
}

@media screen and (max-width: 767px) {
  .woocommerce-product-gallery {
    padding: 1rem;
  }
  .woocommerce-product-gallery__image img {
    max-height: 350px;
  }
  .woocommerce-product-gallery .flex-control-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  .woocommerce-product-gallery .flex-control-thumbs img {
    height: 60px;
  }
  .woocommerce-product-gallery__trigger {
    width: 38px !important;
    height: 38px !important;
    top: 1rem !important;
    right: 1rem !important;
  }
}
@media screen and (max-width: 479px) {
  .woocommerce-product-gallery__image img {
    max-height: 280px;
  }

  .woocommerce-product-gallery .flex-control-thumbs img {
    height: 50px;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.top-ribbon {
  background-color: #FFD500;
  width: 100%;
  font-family: system-ui, -apple-system, sans-serif;
  color: #111111;
}

.ribbon-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5%;
  padding-right: 5%;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.ribbon-icon {
  width: 20px;
  height: 20px;
}

@media screen and (max-width: 767px) {
  .ribbon-container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
  }

  .ribbon-item {
    font-size: 13px;
    width: 100%;
    justify-content: center;
  }
}
.sidebar-menu-container {
  background-color: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  width: 100%;
  font-family: system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

.sidebar-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-menu-list li {
  border-bottom: 1px solid #EAEAEA;
}
.sidebar-menu-list li:last-child {
  border-bottom: none;
}
.sidebar-menu-list a {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
  color: #111111;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.sidebar-menu-list a:hover {
  background-color: #FAFAFA;
}
.sidebar-menu-list a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #E3000F;
  border-bottom: 2px solid #E3000F;
  transform: rotate(-45deg);
  margin-left: auto;
  flex-shrink: 0;
}
.sidebar-menu-list .current-cat a {
  background-color: #FFF5F5;
}

.cat-text {
  flex: 1;
  padding-right: 15px;
}

.cat-icon {
  width: 22px;
  height: 22px;
  color: #E3000F;
  margin-right: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   LOOP DE PRODUCTOS (GRID DE TARJETAS BASADO EN FLEXBOX)
   ========================================================================== */
.products,
.products.columns-4,
.products.columns-3,
.products.columns-2,
.products.columns-1,
ul.products {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  --flex-columns: 4;
  --flex-gap: 1.5rem;
  margin: 2rem 10px !important;
  clear: both !important;
}
.products::before, .products::after,
.products.columns-4::before,
.products.columns-4::after,
.products.columns-3::before,
.products.columns-3::after,
.products.columns-2::before,
.products.columns-2::after,
.products.columns-1::before,
.products.columns-1::after,
ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}

.products li.product,
.products.columns-4 li.product,
ul.products li.product {
  max-width: 100%;
  float: none;
  clear: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex: 0 0 calc((100% - (var(--flex-columns, 4) - 1) * var(--flex-gap, 1.5rem)) / var(--flex-columns, 4));
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #f1f3f4;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  width: 300px;
  height: 300px;
  background: #FFFFFF;
  position: relative;
  box-shadow: none;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
}
.products li.product:hover,
.products.columns-4 li.product:hover,
ul.products li.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #e9ecef;
}
.products li.product img, .products.columns-4 li.product img, ul.products li.product img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  background: #f8f9fa;
  padding: 1rem;
  transition: transform 0.4s ease;
  display: block;
}
.product:hover .products li.product img,
.product:hover .products.columns-4 li.product img,
.product:hover ul.products li.product img {
  transform: scale(1.05);
}

.products li.product:hover,
.products.columns-4 li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.woocommerce-LoopProduct-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem 0;
}

/* ── IMÁGENES ───────────────────────────────────────────────────────────── */
.products li.product img,
.products.columns-4 li.product img {
  width: 100% !important;
  height: 200px !important;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: 1rem !important;
  background: transparent;
  padding: 0;
  transition: transform 0.4s ease;
  display: block !important;
  box-shadow: none !important;
}

.products li.product:hover img,
.products.columns-4 li.product:hover img {
  transform: scale(1.03);
}

/* ── TÍTULO ─────────────────────────────────────────────────────────────── */
.woocommerce-loop-product__title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #333333;
  margin: 0.3rem 0 0.3rem !important;
  padding: 0 !important;
  line-height: 1.4;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
  text-align: left;
}

.products li.product:hover .woocommerce-loop-product__title {
  color: #0984e3;
}

/* ── PRECIO ─────────────────────────────────────────────────────────────── */
.products li.product .price,
.products.columns-4 li.product .price {
  margin: 0.3rem 0 !important;
  padding: 0 !important;
  display: block !important;
  color: #111111 !important;
  text-align: left;
}
.products li.product .price .woocommerce-Price-amount,
.products.columns-4 li.product .price .woocommerce-Price-amount {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: normal;
}
.products li.product .price .woocommerce-Price-currencySymbol,
.products.columns-4 li.product .price .woocommerce-Price-currencySymbol {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  margin-right: 4px;
}
.products li.product .price ins,
.products.columns-4 li.product .price ins {
  text-decoration: none;
}
.products li.product .price del,
.products.columns-4 li.product .price del {
  font-size: 0.85rem;
  color: #999;
  margin-right: 0.5rem;
  font-weight: 400;
}

/* ── ESTRELLAS (RATING) ─────────────────────────────────────────────────── */
.products li.product .star-rating {
  margin: 0 0 0.3rem 0 !important;
  text-align: left;
  font-size: 0.8rem;
  color: #e9ecef;
}

/* ── ETIQUETA DE OFERTA ─────────────────────────────────────────────────── */
.products li.product .onsale {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FFFFFF;
  color: #E3000F;
  border: 1px solid #E3000F;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  z-index: 10;
}

/* ── BOTÓN AÑADIR AL CARRITO ────────────────────────────────────────────── */
.products li.product .button,
.products.columns-4 li.product .button,
.products li.product .add_to_cart_button,
.products.columns-4 li.product .add_to_cart_button {
  display: none !important;
}

/* ── ICONO DE FAVORITOS (CORAZÓN) ───────────────────────────────────────── */
.products li.product .wishlist-icon {
  position: absolute;
  top: 45px;
  right: 10px;
  color: #0984e3;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  background: transparent;
  border: none;
}

/* ── RESPONSIVE CON FILOSOFÍA FLEXBOX ───────────────────────────────────── */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .products,
  .products.columns-4,
  ul.products {
    --flex-columns: 3 !important;
    gap: 1rem !important;
    --flex-gap: 1rem !important;
  }
}
@media screen and (max-width: 767px) {
  .products,
  .products.columns-4,
  ul.products {
    --flex-columns: 2 !important;
    gap: 0.8rem !important;
    --flex-gap: 0.8rem !important;
  }

  .woocommerce-loop-product__title {
    font-size: 0.85rem;
    min-height: 2.2rem;
  }

  .price .woocommerce-Price-amount {
    font-size: 1rem;
  }
}
@media screen and (max-width: 479px) {
  .products,
  .products.columns-4,
  ul.products {
    gap: 0.5rem !important;
    --flex-gap: 0.5rem !important;
  }

  .products.columns-4 li.product img {
    height: 140px !important;
  }
}
/* ==========================================================================
   WOOCOMMERCE PAGINATION - COMPONENTE FLEXBOX
   ========================================================================== */
nav.woocommerce-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
  width: 100%;
}
nav.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav.woocommerce-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
}
nav.woocommerce-pagination ul.page-numbers .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  border-radius: 8px;
  transition: all 0.2s ease;
  background-color: #FFFFFF;
  border: 1px solid #EAEAEA;
  color: #333333;
  cursor: pointer;
}
nav.woocommerce-pagination ul.page-numbers .page-numbers:hover {
  background-color: #f8f9fa;
  border-color: #E3000F;
  color: #E3000F;
}
nav.woocommerce-pagination ul.page-numbers .page-numbers.current {
  background-color: #E3000F;
  border-color: #E3000F;
  color: #FFFFFF;
  cursor: default;
}
nav.woocommerce-pagination ul.page-numbers .page-numbers.current:hover {
  background-color: #E3000F;
  color: #FFFFFF;
  border-color: #E3000F;
}
nav.woocommerce-pagination ul.page-numbers .page-numbers.dots {
  background-color: transparent;
  border-color: transparent;
  color: #999;
  cursor: default;
  min-width: 30px;
}
nav.woocommerce-pagination ul.page-numbers .page-numbers.dots:hover {
  background-color: transparent;
  border-color: transparent;
  color: #999;
}
nav.woocommerce-pagination ul.page-numbers .page-numbers.next, nav.woocommerce-pagination ul.page-numbers .page-numbers.prev {
  font-size: 1rem;
  font-weight: 700;
}
nav.woocommerce-pagination ul.page-numbers .page-numbers.next:hover, nav.woocommerce-pagination ul.page-numbers .page-numbers.prev:hover {
  background-color: #E3000F;
  border-color: #E3000F;
  color: #FFFFFF;
}

/* ==========================================================================
   WOOCOMMERCE NEW PRODUCTS BLOCK - COMPONENTE FLEXBOX
   ========================================================================== */
.wc-block-grid.wp-block-product-new,
.wc-block-grid.has-4-columns {
  /* ── IMÁGENES ───────────────────────────────────────────────────────── */
  /* ── TÍTULO ─────────────────────────────────────────────────────────── */
  /* ── PRECIO (En bloques queda fuera del tag <a>) ─────────────────────── */
  /* ── BOTÓN AÑADIR AL CARRITO (OCULTO POR CONSISTENCIA) ──────────────── */
}
.wc-block-grid.wp-block-product-new ul.wc-block-grid__products,
.wc-block-grid.has-4-columns ul.wc-block-grid__products {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  --flex-columns: 4;
  --flex-gap: 1.5rem;
  margin: 2rem 0 !important;
  padding: 0;
}
.wc-block-grid.wp-block-product-new ul.wc-block-grid__products::before, .wc-block-grid.wp-block-product-new ul.wc-block-grid__products::after,
.wc-block-grid.has-4-columns ul.wc-block-grid__products::before,
.wc-block-grid.has-4-columns ul.wc-block-grid__products::after {
  display: none !important;
  content: none !important;
}
.wc-block-grid.wp-block-product-new li.wc-block-grid__product,
.wc-block-grid.has-4-columns li.wc-block-grid__product {
  max-width: 100%;
  float: none;
  clear: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex: 0 0 calc((100% - (var(--flex-columns, 4) - 1) * var(--flex-gap, 1.5rem)) / var(--flex-columns, 4));
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #f1f3f4;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  width: 300px;
  height: 300px;
  background: #FFFFFF;
  position: relative;
  border: none;
  box-shadow: none;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wc-block-grid.wp-block-product-new li.wc-block-grid__product:hover,
.wc-block-grid.has-4-columns li.wc-block-grid__product:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #e9ecef;
}
.wc-block-grid.wp-block-product-new li.wc-block-grid__product img, .wc-block-grid.has-4-columns li.wc-block-grid__product img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  background: #f8f9fa;
  padding: 1rem;
  transition: transform 0.4s ease;
  display: block;
}
.product:hover .wc-block-grid.wp-block-product-new li.wc-block-grid__product img,
.product:hover .wc-block-grid.has-4-columns li.wc-block-grid__product img {
  transform: scale(1.05);
}
.wc-block-grid.wp-block-product-new li.wc-block-grid__product:hover,
.wc-block-grid.has-4-columns li.wc-block-grid__product:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}
.wc-block-grid.wp-block-product-new .wc-block-grid__product-link,
.wc-block-grid.has-4-columns .wc-block-grid__product-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem 0 0 0;
}
.wc-block-grid.wp-block-product-new .wc-block-grid__product-image,
.wc-block-grid.has-4-columns .wc-block-grid__product-image {
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
}
.wc-block-grid.wp-block-product-new .wc-block-grid__product-image img,
.wc-block-grid.has-4-columns .wc-block-grid__product-image img {
  width: 100% !important;
  height: 200px !important;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  transition: transform 0.4s ease;
  display: block !important;
  box-shadow: none !important;
}
.wc-block-grid.wp-block-product-new li.wc-block-grid__product:hover .wc-block-grid__product-image img,
.wc-block-grid.has-4-columns li.wc-block-grid__product:hover .wc-block-grid__product-image img {
  transform: scale(1.03);
}
.wc-block-grid.wp-block-product-new .wc-block-grid__product-title,
.wc-block-grid.has-4-columns .wc-block-grid__product-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #333333;
  margin: 0.3rem 0 0.3rem !important;
  padding: 0 !important;
  line-height: 1.4;
  transition: color 0.3s ease;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
}
.wc-block-grid.wp-block-product-new li.wc-block-grid__product:hover .wc-block-grid__product-title,
.wc-block-grid.has-4-columns li.wc-block-grid__product:hover .wc-block-grid__product-title {
  color: #0984e3;
}
.wc-block-grid.wp-block-product-new .wc-block-grid__product-price.price,
.wc-block-grid.has-4-columns .wc-block-grid__product-price.price {
  margin: 0 0 0.8rem 0 !important;
  padding: 0 !important;
  display: block !important;
  color: #111111 !important;
  text-align: left;
}
.wc-block-grid.wp-block-product-new .wc-block-grid__product-price.price .woocommerce-Price-amount,
.wc-block-grid.has-4-columns .wc-block-grid__product-price.price .woocommerce-Price-amount {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: normal;
}
.wc-block-grid.wp-block-product-new .wc-block-grid__product-price.price .woocommerce-Price-currencySymbol,
.wc-block-grid.has-4-columns .wc-block-grid__product-price.price .woocommerce-Price-currencySymbol {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  margin-right: 4px;
}
.wc-block-grid.wp-block-product-new .wc-block-grid__product-add-to-cart,
.wc-block-grid.wp-block-product-new .wp-block-button.wc-block-grid__product-add-to-cart,
.wc-block-grid.has-4-columns .wc-block-grid__product-add-to-cart,
.wc-block-grid.has-4-columns .wp-block-button.wc-block-grid__product-add-to-cart {
  display: none !important;
}

/* ── RESPONSIVE DEL BLOQUE (HERENCIA DE VARIABLES CSS) ───────────────────── */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .wc-block-grid.wp-block-product-new ul.wc-block-grid__products {
    --flex-columns: 3 !important;
    gap: 1rem !important;
    --flex-gap: 1rem !important;
  }
}
@media screen and (max-width: 767px) {
  .wc-block-grid.wp-block-product-new ul.wc-block-grid__products {
    --flex-columns: 2 !important;
    gap: 0.8rem !important;
    --flex-gap: 0.8rem !important;
  }
  .wc-block-grid.wp-block-product-new .wc-block-grid__product-title {
    font-size: 0.85rem;
    min-height: 2.2rem;
  }
  .wc-block-grid.wp-block-product-new .wc-block-grid__product-price.price .woocommerce-Price-amount {
    font-size: 1rem;
  }
}
@media screen and (max-width: 479px) {
  .wc-block-grid.wp-block-product-new ul.wc-block-grid__products {
    gap: 0.5rem !important;
    --flex-gap: 0.5rem !important;
  }
  .wc-block-grid.wp-block-product-new .wc-block-grid__product-image img {
    height: 140px !important;
  }
}
.site-header {
  background-color: #E3000F;
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
}
.site-header.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5%;
  gap: 20px;
  flex-wrap: wrap;
}

.site-branding {
  flex: 0 0 auto;
}

.custom-logo {
  max-height: 70px;
  width: auto;
  display: block;
}

.site-title {
  display: none;
}

.header-search {
  flex: 1 1 auto;
  max-width: 600px;
  margin: 0 20px;
}
.header-search.mobile-hidden {
  display: none;
}
.header-search.mobile-visible {
  display: block;
}

.woocommerce-product-search {
  display: flex;
  background-color: #FFFFFF;
  border-radius: 30px;
  overflow: hidden;
  height: 45px;
  transition: box-shadow 0.3s ease;
  padding: 5px;
}
.woocommerce-product-search input {
  border: none;
}
.woocommerce-product-search:focus-within {
  box-shadow: 0 0 0 4px rgba(255, 213, 0, 0.3);
}

.search-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 15px;
  color: #333333;
  min-width: 0;
}
.search-field::placeholder {
  color: #999;
}

.search-submit {
  background-color: #FFD500;
  border: none;
  padding: 0 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  border-radius: 30px;
}
.search-submit:hover {
  background-color: #e6c000;
}
.search-submit::before {
  content: "BUSCAR";
  font-weight: 700;
  font-size: 14px;
}
.search-submit svg {
  display: none;
}

.header-cart {
  flex: 0 0 auto;
}

.cart-contents {
  background-color: #1B7B34;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  padding: 8px 20px 8px 15px;
  border-radius: 30px;
  text-decoration: none;
  position: relative;
  gap: 12px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.cart-contents:hover {
  background-color: #156b2b;
  transform: translateY(-2px);
  color: #FFFFFF;
}
.cart-contents::after {
  content: "Mi Carrito \A $0";
  white-space: pre;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.cart-count {
  background-color: #FFD500;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -5px;
  left: -5px;
  border: 2px solid #1B7B34;
}

.main-navigation {
  background-color: #B3000B;
  padding: 0 5%;
  display: flex;
  align-items: center;
  position: relative;
}
.main-navigation.toggled .nav-menu {
  display: flex;
  animation: slideDown 0.3s ease;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px 0;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.menu-toggle .menu-toggle-text {
  flex: 1;
}
.menu-toggle.active .menu-toggle-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.active .menu-toggle-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 35px;
  flex-wrap: wrap;
}
.nav-menu li {
  position: relative;
}
.nav-menu li a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 0;
  display: block;
  transition: color 0.2s ease;
  position: relative;
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #FFD500;
  transition: width 0.3s ease;
}
.nav-menu li a:hover, .nav-menu li.current_page_item a, .nav-menu li.current-menu-item a {
  color: #FFD500;
}
.nav-menu li a:hover::after, .nav-menu li.current_page_item a::after, .nav-menu li.current-menu-item a::after {
  width: 100%;
}

.nav-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #B3000B;
  min-width: 220px;
  padding: 10px 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  list-style: none;
  margin: 0;
  z-index: 999;
  border-top: 3px solid #FFD500;
}
.nav-menu li ul li {
  margin: 0;
}
.nav-menu li ul li a {
  padding: 10px 20px;
  font-size: 12px;
  white-space: nowrap;
}
.nav-menu li ul li a::after {
  display: none;
}
.nav-menu li ul li a:hover {
  background-color: rgba(255, 213, 0, 0.1);
  color: #FFD500;
}

.nav-menu li:hover > ul {
  display: block;
}

.menu-item-has-children > a::before,
.page_item_has_children > a::before {
  content: '^';
  margin-right: 5px;
  font-size: 10px;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.header-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.badge-icon {
  width: 32px;
  height: 32px;
  color: #FFCD00;
}

.badge-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  text-align: left;
}

@media screen and (max-width: 1023px) {
  .site-header > div:first-child {
    padding: 15px 4%;
    gap: 15px;
  }

  .custom-logo {
    max-height: 55px;
  }

  .header-search {
    max-width: 400px;
    margin: 0 15px;
  }

  .search-field {
    font-size: 14px;
    padding: 0 15px;
  }

  .search-submit {
    padding: 0 20px;
  }

  .search-submit::before {
    font-size: 12px;
  }

  .cart-contents::after {
    font-size: 11px;
  }

  .main-navigation {
    padding: 0 4%;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-menu li a {
    font-size: 12px;
  }
}
@media screen and (max-width: 767px) {
  .site-header > div:first-child {
    padding: 12px 4%;
    gap: 10px;
  }

  .custom-logo {
    max-height: 45px;
  }

  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin: 5px 0 0 0;
  }

  .woocommerce-product-search {
    height: 40px;
  }

  .search-field {
    font-size: 14px;
  }

  .search-submit {
    padding: 0 18px;
  }

  .search-submit::before {
    content: "IR";
    font-size: 12px;
  }

  .cart-contents {
    padding: 8px 12px;
    gap: 8px;
  }
  .cart-contents::after {
    content: "Carrito";
    font-size: 12px;
    white-space: normal;
  }

  .header-badges {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 100%;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #B3000B;
    padding: 0;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 998;
    border-top: 2px solid #FFD500;
  }
  .nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu li a {
    padding: 14px 4%;
    font-size: 14px;
  }
  .nav-menu li a::after {
    display: none;
  }
  .nav-menu li ul {
    position: static;
    background: rgba(0, 0, 0, 0.2);
    border-top: none;
    border-radius: 0;
    box-shadow: none;
    display: none;
    padding: 0;
  }
  .nav-menu li ul li a {
    padding-left: 8%;
    font-size: 13px;
  }
  .nav-menu li.submenu-open > ul {
    display: block;
  }

  .menu-item-has-children > a::after,
  .page_item_has_children > a::after {
    content: ' ^';
    float: right;
  }

  .menu-item-has-children.submenu-open > a::after,
  .page_item_has_children.submenu-open > a::after {
    content: ' ^';
  }
}
@media screen and (max-width: 479px) {
  .site-header > div:first-child {
    padding: 10px 3%;
    gap: 8px;
  }

  .custom-logo {
    max-height: 38px;
  }

  .header-search {
    margin: 5px 0 0 0;
  }

  .woocommerce-product-search {
    height: 38px;
  }

  .search-field {
    font-size: 13px;
    padding: 0 12px;
  }

  .search-submit {
    padding: 0 15px;
  }

  .cart-contents {
    padding: 6px 10px;
  }
  .cart-contents::after {
    content: "";
  }

  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -4px;
    left: -4px;
  }

  .nav-menu li a {
    padding: 12px 3%;
    font-size: 13px;
  }

  .main-navigation {
    padding: 0 3%;
  }
}
.site-footer {
  background-color: #111111;
  color: #A0A0A0;
  padding: 30px 5%;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  border-top: 4px solid #E3000F;
}
.site-footer .site-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer .site-info a {
  color: #FFD500;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.site-footer .site-info a:hover {
  color: #FFFFFF;
}
.site-footer .sep {
  color: #555555;
  margin: 0 5px;
}

@media screen and (max-width: 767px) {
  .site-footer {
    padding: 20px 15px;
    font-size: 13px;
  }
  .site-footer .sep {
    display: none;
  }
  .site-footer .site-info {
    flex-direction: column;
    gap: 8px;
  }
}
.product-archive-wrapper {
  display: flex;
  gap: 30px;
  padding: 40px 5%;
  align-items: flex-start;
  font-family: system-ui, -apple-system, sans-serif;
}
.product-archive-wrapper .sidebar-menu-container {
  flex: 0 0 260px;
}
.product-archive-wrapper .product-list-main {
  flex: 1;
  min-width: 0;
}

ul.products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  --flex-columns: 4;
  --flex-gap: 20px;
}
ul.products::before, ul.products::after {
  display: none !important;
  content: none !important;
}

ul.products li.product {
  max-width: 100%;
  float: none;
  clear: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex: 0 0 calc((100% - (var(--flex-columns, 4) - 1) * var(--flex-gap, 1.5rem)) / var(--flex-columns, 4));
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
ul.products li.product:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-decoration: none;
}
ul.products li.product img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 15px auto;
  display: block;
}
ul.products li.product .woocommerce-loop-product__title {
  color: #E3000F;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 10px 0;
  line-height: 1.3;
}
ul.products li.product .price {
  color: #111111;
  font-size: 18px;
  font-weight: 800;
  margin-top: auto;
  margin-bottom: 20px;
  display: block;
}
ul.products li.product .button {
  display: inline-block;
  background-color: #FFD500;
  color: #111111;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}
ul.products li.product .button:hover {
  background-color: #e6c000;
}
ul.products li.product .button:hover {
  background-color: #e6c000;
}

@media screen and (max-width: 1023px) {
  .product-archive-wrapper {
    flex-direction: column;
  }
  .product-archive-wrapper .sidebar-menu-container {
    width: 100%;
    flex: none;
  }

  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media screen and (max-width: 767px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  ul.products li.product {
    padding: 10px;
  }
}
/* ==========================================================================
   WOOCOMMERCE BREADCRUMBS - COMPONENTE FLEXBOX
   ========================================================================== */
nav.woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.8rem 0;
  margin-bottom: 0.8rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #999;
}
nav.woocommerce-breadcrumb a {
  color: #636e72;
  text-decoration: none;
  transition: color 0.2s ease;
}
nav.woocommerce-breadcrumb a:hover {
  color: #E3000F;
}
@media screen and (max-width: 767px) {
  nav.woocommerce-breadcrumb {
    padding: 0.5rem 0;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   WOOCOMMERCE CATALOG ORDERING (SORTING)
   ========================================================================== */
form.woocommerce-ordering {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
  width: 100%;
}
@media screen and (max-width: 767px) {
  form.woocommerce-ordering {
    justify-content: flex-start;
    margin-bottom: 1rem;
  }
}
form.woocommerce-ordering select.orderby {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 220px;
  height: 42px;
  box-sizing: border-box;
  padding: 0 2rem 0 0.8rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333333;
  background-color: #FFFFFF;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
form.woocommerce-ordering select.orderby:hover {
  border-color: #636e72;
}
form.woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: #0984e3;
  box-shadow: 0 0 0 3px rgba(44, 177, 188, 0.15);
}
form.woocommerce-ordering select.orderby option {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: #2d3436;
  background-color: #FFFFFF;
  padding: 0.3rem;
}
@media screen and (max-width: 479px) {
  form.woocommerce-ordering select.orderby {
    width: 100%;
    min-width: 100%;
  }
}

/* ==========================================================================
   SINGLE PRODUCT - NUEVA ESTRUCTURA COMPACTA (SIN GRID)
   ========================================================================== */
.woocommerce-single_product-top-wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5%;
  padding-right: 5%;
  margin-top: 2rem !important;
  margin-bottom: 4rem !important;
}
@media screen and (min-width: 992px) {
  .woocommerce-single_product-top-wrapper::after {
    content: "";
    display: table;
    clear: both;
  }
}
@media screen and (max-width: 991px) {
  .woocommerce-single_product-top-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ── 1. COLUMNA IZQUIERDA: GALERÍA DE IMÁGENES ─────────────────────────── */
.woocommerce-product-gallery {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 16px;
  padding: 1.5rem;
  box-sizing: border-box;
}
@media screen and (min-width: 992px) {
  .woocommerce-product-gallery {
    float: left;
    width: 46%;
    margin-right: 4%;
  }
}
@media screen and (max-width: 991px) {
  .woocommerce-product-gallery {
    width: 100%;
  }
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper img.wp-post-image {
  width: auto !important;
  max-width: 100%;
  height: 370px !important;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img.wp-post-image {
    height: 260px !important;
  }
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  z-index: 5;
  transition: background-color 0.2s ease;
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
  background-color: #f8f9fa;
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger img.emoji {
  width: 16px !important;
  height: 16px !important;
}

/* ── 2. COLUMNA DERECHA: BLOQUES APILADOS (SUMMARY, CART & META) ──────── */
.summary.entry-summary,
form.cart,
.product_meta {
  box-sizing: border-box;
}
@media screen and (min-width: 992px) {
  .summary.entry-summary,
  form.cart,
  .product_meta {
    float: right;
    width: 50%;
    clear: right;
  }
}
@media screen and (max-width: 991px) {
  .summary.entry-summary,
  form.cart,
  .product_meta {
    width: 100%;
    float: none;
  }
}

.summary.entry-summary .product_title.entry-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}
.summary.entry-summary .price {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #E3000F !important;
  margin: 0 0 0.8rem 0 !important;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.summary.entry-summary .woocommerce-product-details__short-description {
  font-size: 0.9rem;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 1rem;
}

form.cart {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid #f1f3f4;
  border-bottom: 1px solid #f1f3f4;
  margin-bottom: 1rem;
}
form.cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}
form.cart .quantity .qty {
  width: 60px;
  height: 45px;
  padding: 0;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 1rem;
  color: #2d3436;
}
form.cart .single_add_to_cart_button.button.alt {
  background-color: #E3000F !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 1.5rem !important;
  height: 47px;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  cursor: pointer;
  flex-grow: 1;
  transition: background-color 0.2s ease;
}
form.cart .single_add_to_cart_button.button.alt:hover {
  background-color: #B3000B !important;
}

.product_meta {
  font-size: 0.8rem;
  color: #999;
}
.product_meta .posted_in {
  display: block;
}
.product_meta .posted_in a {
  color: #636e72;
  text-decoration: none;
  font-weight: 500;
}
.product_meta .posted_in a:hover {
  color: #E3000F;
}

/* ==========================================================================
   WOOCOMMERCE TABS & REVIEWS - ENFOQUE COMPACTO FLEXBOX (SIN GRID)
   ========================================================================== */
.woocommerce-tabs.wc-tabs-wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5%;
  padding-right: 5%;
  margin-top: 3rem;
  margin-bottom: 4rem;
  /* ── NAV DE PESTAÑAS (TABS) ────────────────────────────────────────────── */
  /* ── CONTENEDOR INTERNO DE REVIEWS ────────────────────────────────────── */
  /* ── FORMULARIO DE COMENTARIOS (CAMPOS E INPUTS) ──────────────────────── */
}
.woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs {
  display: flex;
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
  border-bottom: 2px solid #f1f3f4;
  gap: 1.5rem;
}
.woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li {
  margin: 0;
  padding: 0;
  position: relative;
}
.woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li a {
  display: block;
  padding: 0.5rem 0 0.8rem 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}
.woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li a:hover {
  color: #E3000F;
}
.woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li.active a {
  color: #111111;
}
.woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #E3000F;
}
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
@media screen and (max-width: 991px) {
  .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews {
    flex-direction: column;
    gap: 2rem;
  }
}
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews #comments {
  flex: 1;
  width: 100%;
}
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews #comments .woocommerce-Reviews-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 0.8rem 0;
}
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews #comments .woocommerce-noreviews {
  font-size: 0.85rem;
  color: #636e72;
  background-color: #f8f9fa;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin: 0;
  border-left: 3px solid #e9ecef;
}
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews #review_form_wrapper {
  flex: 1;
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 16px;
  padding: 2rem;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews #review_form_wrapper {
    padding: 1rem;
  }
}
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews #review_form_wrapper .comment-reply-title {
  display: block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews #review_form_wrapper .comment-notes {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 1rem;
}
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--reviews #reviews.woocommerce-Reviews #review_form_wrapper .comment-notes .required {
  color: #E3000F;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.3rem;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form label .required {
  color: #E3000F;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form input[type="text"],
.woocommerce-tabs.wc-tabs-wrapper form.comment-form input[type="email"],
.woocommerce-tabs.wc-tabs-wrapper form.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.8rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: #2d3436;
  background-color: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form input[type="text"]:focus,
.woocommerce-tabs.wc-tabs-wrapper form.comment-form input[type="email"]:focus,
.woocommerce-tabs.wc-tabs-wrapper form.comment-form textarea:focus {
  outline: none;
  border-color: #0984e3;
  box-shadow: 0 0 0 3px rgba(44, 177, 188, 0.15);
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form textarea {
  resize: vertical;
  min-height: 120px;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-rating {
  margin-bottom: 0.5rem;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-rating .stars {
  margin: 0.3rem 0 0 0;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-rating .stars span {
  display: inline-flex;
  gap: 2px;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-rating .stars a {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-rating .stars a::before {
  content: '★';
  text-indent: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 18px;
  color: #e9ecef;
  transition: color 0.2s ease;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-rating .stars a:hover::before, .woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-rating .stars a.active::before {
  color: #f39c12;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.3rem 0;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .comment-form-cookies-consent label {
  font-size: 0.8rem;
  font-weight: 400;
  color: #636e72;
  line-height: 1.4;
  margin: 0;
  cursor: pointer;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .form-submit {
  margin: 0.5rem 0 0 0;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .form-submit input[type="submit"] {
  background-color: #E3000F;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0 1.5rem;
  height: 45px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  width: auto;
  display: inline-block;
  transition: background-color 0.2s ease;
}
.woocommerce-tabs.wc-tabs-wrapper form.comment-form .form-submit input[type="submit"]:hover {
  background-color: #B3000B;
}
@media screen and (max-width: 479px) {
  .woocommerce-tabs.wc-tabs-wrapper form.comment-form .form-submit input[type="submit"] {
    width: 100%;
  }
}

/* ==========================================================================
   PÁGINA DE SERVICIOS (MAQUILA) - ENFOQUE FLEXBOX
   ========================================================================== */
#primary.site-main {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5%;
  padding-right: 5%;
  margin-top: 3rem;
  margin-bottom: 30px;
}

/* ── CABECERA DE LA PÁGINA ──────────────────────────────────────────────── */
.entry-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid #f1f3f4;
  padding-bottom: 0.8rem;
}
.entry-header .entry-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

/* ── CONTENEDOR DE TARJETAS (FLEXBOX) ───────────────────────────────────── */
.maquila-services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* ── TARJETA DE SERVICIO INDIVIDUAL ─────────────────────────────────────── */
.service-card {
  flex: 1 1 calc(50% - (2rem / 2));
  background-color: #FFFFFF;
  border: 1px solid #f1f3f4;
  border-radius: 16px;
  padding: 2rem;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  border-color: #e9ecef;
}
.service-card p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: #333333;
  line-height: 1.6;
  margin: 0 0 0.8rem 0;
}

/* ── COMPONENTE DE IMAGEN ───────────────────────────────────────────────── */
.service-image-wrapper {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: #f8f9fa;
}
.service-image-wrapper .service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image-wrapper .service-image {
  transform: scale(1.04);
}

/* ── TÍTULOS Y SUBTÍTULOS ───────────────────────────────────────────────── */
.service-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 0.3rem 0;
  line-height: 1.3;
}

.service-subtitle {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: #0984e3;
  margin: 0 0 1rem 0 !important;
  line-height: 1.4;
}
.service-subtitle em {
  font-style: normal;
  font-weight: 500;
}

/* ── LISTADO TÉCNICO DE CARACTERÍSTICAS ─────────────────────────────────── */
ul.service-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  /* Sublistas anidadas (Líneas de especialidad) */
}
ul.service-list > li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: #2d3436;
  line-height: 1.5;
}
ul.service-list > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: #E3000F;
  border-radius: 50%;
}
ul.service-list > li strong {
  font-weight: 600;
  color: #111111;
}
ul.service-list ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
ul.service-list ul li {
  position: relative;
  padding-left: 0.8rem;
  font-size: 0.8rem;
  color: #333333;
  line-height: 1.4;
}
ul.service-list ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #636e72;
}

/* ── RESPONSIVE DESIGN (FLEXBOX ADAPTATIVO) ──────────────────────────────── */
@media screen and (max-width: 991px) {
  .maquila-services-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .service-card {
    flex: 1 1 100%;
    padding: 1.5rem;
  }

  .service-image-wrapper {
    height: 220px;
  }
}
@media screen and (max-width: 767px) {
  #primary.site-main {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
  }

  .entry-header .entry-title {
    font-size: 1.2rem;
  }

  .service-title {
    font-size: 1rem;
  }

  .service-image-wrapper {
    height: 180px;
    margin-bottom: 1rem;
  }
}
/* --------------------------------------------------------
   HERO BANNER PRINCIPAL
-------------------------------------------------------- */
.hero-banner-section {
  position: relative;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: #F8F9FA;
  /* Color gris claro de fondo base */
  margin-bottom: 60px;
  /* Espacio para la barra flotante inferior */
}

/* Fondo con imagen (la bodega) */
.hero-background-wrapper {
  /* Reemplaza esta URL con la imagen de tu bodega. 
     El linear-gradient crea una capa semi-transparente blanca para que el texto sea legible */
  background-image: linear-gradient(to right, white 30%, rgba(255, 255, 255, 0.4) 100%), url("ruta-a-imagen-bodega-fondo.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 5% 100px 5%;
  /* Padding inferior extra para la barra superpuesta */
}

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

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* --- Columna Izquierda (Texto) --- */
.hero-text-col {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  color: #0A192F;
  /* Azul muy oscuro casi negro */
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.text-red {
  color: #E3000F;
}

.hero-description {
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  font-weight: 500;
}

/* --- Botones --- */
.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-red {
  background-color: #CC0000;
  color: #FFFFFF;
}

.btn-red:hover {
  background-color: #A30000;
  color: #FFFFFF;
}

.btn-yellow {
  background-color: #FFD500;
  color: #111111;
  gap: 8px;
  /* Espacio entre icono y texto */
}

.btn-yellow:hover {
  background-color: #E6C000;
}

/* --- Columna Derecha (Imagen) --- */
.hero-image-col {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image-col img {
  max-width: 100%;
  /* Permite que la imagen de productos sea más grande y desborde un poco si es necesario */
  height: auto;
  object-fit: contain;
}

/* --- BARRA INFERIOR (Features) --- */
.hero-features-wrapper {
  position: absolute;
  bottom: -40px;
  /* Ajusta este valor para subir o bajar la barra */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 5%;
  box-sizing: border-box;
}

.features-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  padding: 20px 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 35px;
  height: 35px;
}

.feature-text {
  font-size: 14px;
  color: #111111;
  line-height: 1.2;
}

.feature-text strong {
  font-size: 16px;
  color: #000000;
}

.feature-divider {
  width: 1px;
  height: 40px;
  background-color: #EAEAEA;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-image-col img {
    max-width: 100%;
  }

  .features-card {
    padding: 20px;
  }

  .feature-item {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .hero-background-wrapper {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%), url("ruta-a-imagen-bodega-fondo.jpg");
    padding: 40px 5% 80px 5%;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image-col {
    justify-content: center;
    margin-top: 20px;
  }

  .hero-features-wrapper {
    position: relative;
    bottom: 0;
    transform: translateY(-50%);
    /* Superpone la mitad de la caja */
  }

  .features-card {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .feature-divider {
    display: none;
  }

  .feature-item {
    width: 45%;
    /* Dos columnas en móvil */
    justify-content: center;
  }
}
/* --------------------------------------------------------
   BANNER DISTRIBUIDORES / TIENDAS (BOGOTÁ)
-------------------------------------------------------- */
.distributor-banner {
  display: flex;
  align-items: stretch;
  /* Estira las columnas para que tengan la misma altura */
  background-color: #FFFDF4;
  /* Color crema muy suave */
  border: 2px solid #FFD500;
  /* Borde amarillo */
  border-radius: 16px;
  /* Bordes redondeados */
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
  /* Evita que la imagen se salga de los bordes redondeados */
  font-family: system-ui, -apple-system, sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- Columna 1: Textos --- */
.db-text-column {
  flex: 1.2;
  /* Ocupa un poco más de espacio que el resto */
  padding: 30px 20px 30px 40px;
  display: flex;
  flex-direction: row;
  /* Coloca el título y los párrafos uno al lado del otro */
  align-items: center;
  gap: 30px;
}

.db-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #111111;
  margin: 0;
  flex: 1;
}

.db-title .text-red {
  color: #E3000F;
}

.db-description {
  flex: 1.2;
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
  font-weight: 500;
}

.db-description p {
  margin: 0 0 10px 0;
}

.db-description p:last-child {
  margin-bottom: 0;
}

/* --- Columna 2: Imagen y Separador --- */
.db-image-column {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

/* Línea punteada roja */
.db-divider {
  height: 60%;
  border-left: 2px dotted #E3000F;
  margin-right: 15px;
  position: relative;
  z-index: 2;
}

.db-image-wrapper {
  flex: 1;
  height: 100%;
  position: relative;
  display: flex;
}

.db-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Asegura que la imagen llene el espacio sin deformarse */
  object-position: center;
}

/* Efecto de difuminado sobre la imagen */
.db-fade-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50px;
  /* Degradado del color crema del fondo hacia transparente */
  background: linear-gradient(to right, #FFFDF4 0%, rgba(255, 253, 244, 0) 100%);
}

/* --- Columna 3: Botones --- */
.db-buttons-column {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px 20px 20px;
  gap: 15px;
}

.db-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  transition: all 0.3s ease;
  gap: 15px;
}

.db-btn span {
  text-align: left;
}

.db-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.db-btn-red {
  background-color: #E3000F;
  color: #FFFFFF;
}

.db-btn-red:hover {
  background-color: #B3000C;
  color: #FFFFFF;
}

.db-btn-yellow {
  background-color: #FFD500;
  color: #111111;
}

.db-btn-yellow:hover {
  background-color: #E6C000;
  color: #111111;
}

/* --- RESPONSIVE (Móviles y Tablets) --- */
@media (max-width: 1024px) {
  .db-text-column {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .distributor-banner {
    flex-direction: column;
    border-radius: 12px;
  }

  .db-text-column {
    padding: 25px;
  }

  .db-image-column {
    height: 200px;
    /* Le damos una altura fija en móviles */
  }

  .db-divider {
    display: none;
    /* Ocultamos la línea punteada en móvil */
  }

  .db-fade-overlay {
    /* Cambiamos el degradado para que venga desde arriba en móviles */
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, #FFFDF4 0%, rgba(255, 253, 244, 0) 100%);
  }

  .db-buttons-column {
    padding: 25px;
  }
}
/* --------------------------------------------------------
   SECCIÓN: LÍNEAS DE PRODUCTOS
-------------------------------------------------------- */
.product-lines-section {
  padding: 60px 0;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: #ffffff;
}

.product-lines-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Título de la sección con línea inferior */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #CC0000;
  /* Línea roja */
}

/* Grid de las 3 tarjetas */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Estilos base de la Tarjeta */
.line-card {
  background: #ffffff;
  border: 1px solid #EAEAEA;
  border-radius: 16px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.line-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Cabecera de la Tarjeta */
.card-header {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.header-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-icon svg {
  width: 24px;
  height: 24px;
}

.header-text h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 5px 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-text p {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

/* Cuerpo de la Tarjeta (Imagen + Lista) */
.card-body {
  display: flex;
  gap: 15px;
  flex: 1;
  /* Permite que la tarjeta crezca y empuje el footer al fondo */
  margin-bottom: 25px;
}

.card-image-col {
  flex: 0 0 90px;
  /* Ancho fijo para la columna de la imagen */
  display: flex;
  align-items: flex-end;
  /* Alinea la imagen abajo */
}

.card-image-col img {
  max-width: 130%;
  /* Permite que la imagen sobresalga un poco como en el diseño */
  height: auto;
  margin-left: -15px;
  /* Empuja la imagen hacia el borde izquierdo */
}

.card-features-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Ítems de la lista */
.feature-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 18px;
  /* Si cambias a SVG, ajusta aquí el width/height */
  margin-top: 2px;
}

.feature-desc strong {
  display: block;
  font-size: 13px;
  color: #111;
  margin-bottom: 2px;
}

.feature-desc span {
  display: block;
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

/* Footer y Botones */
.card-footer {
  margin-top: auto;
  /* Empuja los botones al fondo */
}

.footer-dual {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  text-align: center;
  line-height: 1.2;
}

.btn:hover {
  opacity: 0.9;
}

.btn-full {
  width: 100%;
}

.footer-dual .btn {
  flex: 1;
  /* Hace que los botones dobles ocupen la mitad cada uno */
  padding: 10px;
  font-size: 11px;
}

/* --- COLORES ESPECÍFICOS --- */
.color-red {
  color: #CC0000;
}

.bg-light-red {
  background-color: #FFF0F0;
}

.btn-red {
  background-color: #CC0000;
  color: #FFFFFF;
}

.color-blue {
  color: #004488;
}

.bg-light-blue {
  background-color: #F0F6FF;
}

.btn-blue {
  background-color: #004488;
  color: #FFFFFF;
}

.color-brown {
  color: #5C3A21;
}

.bg-light-brown {
  background-color: #F9F4F0;
}

.btn-brown {
  background-color: #5C3A21;
  color: #FFFFFF;
}

.btn-yellow {
  background-color: #FFD500;
  color: #111111;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .lines-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columnas en tablets */
  }
}
@media (max-width: 768px) {
  .lines-grid {
    grid-template-columns: 1fr;
    /* 1 columna en móviles */
  }

  .card-image-col {
    flex: 0 0 70px;
  }

  .card-image-col img {
    margin-left: 0;
    max-width: 100%;
  }

  .footer-dual {
    flex-direction: column;
    /* Apila los botones dobles en móvil */
  }
}
/* --------------------------------------------------------
   SECCIÓN: PRODUCTOS DESTACADOS (WOOCOMMERCE BLOCKS)
-------------------------------------------------------- */
/* 1. Contenedor Principal (Grid de 5 columnas) */
ul.wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 2. Tarjeta Individual del Producto */
li.wc-block-product {
  background: #ffffff;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  box-sizing: border-box;
}

/* Efecto Hover en la tarjeta */
li.wc-block-product:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: #dcdcdc;
}

/* 3. Imagen del Producto */
.wc-block-components-product-image {
  margin-bottom: 15px;
}

.wc-block-components-product-image img {
  max-width: 100%;
  height: 180px;
  /* Mantiene una altura uniforme para todas las fotos */
  object-fit: contain !important;
  /* Evita que las imágenes se recorten */
  margin: 0 auto;
  display: block;
}

/* 4. Título del Producto */
h2.wp-block-post-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #222222 !important;
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
}

h2.wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

h2.wp-block-post-title a:hover {
  color: #CC0000;
}

/* 5. Precios */
.wc-block-components-product-price {
  font-size: 16px !important;
  font-weight: 800;
  color: #CC0000;
  /* Rojo característico de la marca */
  margin-bottom: 15px;
}

/* Estilos para productos en oferta (Precio tachado) */
.wc-block-components-product-price del {
  color: #999;
  font-size: 13px;
  font-weight: normal;
  margin-right: 6px;
}

.wc-block-components-product-price ins {
  text-decoration: none;
}

/* 6. Botón "Añadir al carrito" */
/* Lo empujamos al final para que todas las tarjetas se vean alineadas */
.wc-block-components-product-button {
  margin-top: auto;
  width: 100%;
}

.wc-block-components-product-button__button {
  background-color: #f8f8f8 !important;
  color: #333333 !important;
  border: 1px solid #dddddd !important;
  border-radius: 6px !important;
  padding: 10px 15px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  width: 100%;
  transition: all 0.2s ease;
  cursor: pointer;
}

.wc-block-components-product-button__button:hover {
  background-color: #CC0000 !important;
  color: #ffffff !important;
  border-color: #CC0000 !important;
}

/* 7. Diseño Responsivo (Tablets y Móviles) */
@media (max-width: 1200px) {
  ul.wc-block-product-template {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
@media (max-width: 992px) {
  ul.wc-block-product-template {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  ul.wc-block-product-template {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  ul.wc-block-product-template {
    grid-template-columns: 1fr !important;
  }
}
.nuestros-servicios {
  padding: 60px 20px;
  background-color: #fff;
  font-family: sans-serif;
}

.contenedor-servicios {
  max-width: 1100px;
  margin: 0 auto;
}

.titulo-seccion {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.subtitulo-seccion {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.grid-servicios {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.tarjeta-servicio {
  flex: 1;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.barra-beneficios {
  display: flex;
  justify-content: space-around;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
}

.item-beneficio {
  text-align: center;
  flex: 1;
}

.item-beneficio span {
  font-weight: bold;
  color: #cc0000;
  font-size: 1.2em;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-servicios,
  .barra-beneficios {
    flex-direction: column;
    gap: 20px;
  }
}
/* Contenedor General */
.section-container {
  padding: 40px 20px;
  font-family: sans-serif;
  text-align: center;
}

/* Títulos y Logos */
.section-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.subtitle {
  color: #555;
  margin-bottom: 30px;
}

.logo-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.logo-grid img {
  max-height: 50px;
  opacity: 0.8;
}

/* Banner Promocional */
.promo-banner {
  background-color: #e30613;
  /* Rojo institucional */
  color: white;
  padding: 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.banner-icon img {
  width: 80px;
}

.banner-text {
  text-align: left;
  flex: 1;
}

.banner-text h3 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
}

.banner-text p {
  margin: 0;
  font-size: 0.9rem;
}

.banner-price {
  color: #ffcc00;
  /* Amarillo institucional */
  font-size: 1.8rem;
  font-weight: bold;
}

/* Botón CTA */
.cta-button {
  background-color: #ffcc00;
  color: #333;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .promo-banner {
    flex-direction: column;
    text-align: center;
  }

  .banner-text {
    text-align: center;
  }
}

/*# sourceMappingURL=style.css.map */
