.elementor-kit-43737{--e-global-color-primary:#FFDD15;--e-global-color-secondary:#000000;--e-global-color-text:#7A7A7A;--e-global-color-accent:#273C61;--e-global-typography-primary-font-family:"Montserrat";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Montserrat";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;--e-global-typography-9e396f3-font-family:"Epilogue";--e-global-typography-9e396f3-font-size:18px;--e-global-typography-9e396f3-font-weight:400;--e-global-typography-9e396f3-text-transform:none;--e-global-typography-9e396f3-font-style:normal;--e-global-typography-9e396f3-text-decoration:none;--e-global-typography-9e396f3-line-height:1.5em;--e-global-typography-9e396f3-letter-spacing:0px;}.elementor-kit-43737 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-43737{--e-global-typography-9e396f3-font-size:14px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ===== PEMCO – Estilo de tarjetas de producto =====
   Pegar en: Elementor > Site Settings > Custom CSS
   Requiere: contenedor principal de la tarjeta con clase CSS "pemco-card"
             y Loop Grid con Gap between columns / rows = 0 */

:root {
  --pemco-linea: #E6E6E6;
  --pemco-texto: #2B2B2B;
  --pemco-gris: #6B6B6B;
  --pemco-precio: #1A73C9;      /* color del precio */
  --pemco-estrella: #F5B301;
  --pemco-ok: #1A8A2E;          /* en inventario */
  --pemco-bajo: #D62828;        /* pocas unidades */
  --pemco-pedido: #C77700;      /* bajo pedido */
}

/* Cuadrícula con líneas divisorias */
.elementor-loop-container:has(.pemco-card) {
  border-top: 1px solid var(--pemco-linea);
  border-left: 1px solid var(--pemco-linea);
}
.pemco-card {
  position: relative;
  height: 100%;
  padding: 20px !important;
  border-right: 1px solid var(--pemco-linea);
  border-bottom: 1px solid var(--pemco-linea);
  background: #fff;
  transition: box-shadow .2s;
}
.pemco-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); z-index: 2; }

/* Etiquetas sobre la imagen */
.pemco-badges {
  position: absolute;
  top: 0; left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.pemco-badge {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  padding: 3px 9px;
  color: #fff;
}
.pemco-badge--nuevo       { background: #1A9E2F; }
.pemco-badge--oferta      { background: #D62828; }
.pemco-badge--recomendado { background: #2B2B2B; color: #FDB913; }

/* Marca y SKU */
.pemco-marca {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--pemco-gris);
}
.pemco-sku { font-size: 12px; color: var(--pemco-gris); }

/* Precio */
.pemco-card .price,
.pemco-card .woocommerce-Price-amount {
  color: var(--pemco-precio) !important;
  font-size: 20px;
  font-weight: 500;
}

/* Estrellas */
.pemco-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pemco-gris); }
.pemco-stars {
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
  background: linear-gradient(90deg, var(--pemco-estrella) var(--pct), #CFCFCF var(--pct));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Disponibilidad con punto de color */
.pemco-stock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.pemco-stock::before {
  content: "";
  width: 8px; height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: currentColor;
}
.pemco-stock.is-ok        { color: var(--pemco-ok); }
.pemco-stock.is-low       { color: var(--pemco-bajo); }
.pemco-stock.is-backorder { color: var(--pemco-pedido); }
.pemco-stock.is-out       { color: var(--pemco-gris); }

.pemco-card, .pemco-card .elementor-widget { text-align: left; }

/* ===== PEMCO – Tarjetas de categorías (página Departamentos) =====
   Pegar en: Elementor > Site Settings > Custom CSS (debajo del CSS de las tarjetas)
   Aplica al widget "Product Categories" de WooCommerce */

.elementor-widget-wc-categories ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid #E6E6E6;
  border-left: 1px solid #E6E6E6;
}
.elementor-widget-wc-categories ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.elementor-widget-wc-categories ul.products.columns-5 { grid-template-columns: repeat(5, 1fr); }
.elementor-widget-wc-categories ul.products.columns-6 { grid-template-columns: repeat(6, 1fr); }
.elementor-widget-wc-categories ul.products::before,
.elementor-widget-wc-categories ul.products::after { display: none !important; }

/* Cada categoría */
.elementor-widget-wc-categories li.product-category {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 20px !important;
  background: #fff;
  border-right: 1px solid #E6E6E6;
  border-bottom: 1px solid #E6E6E6;
  text-align: center;
  position: relative;
  transition: box-shadow .2s;
}
.elementor-widget-wc-categories li.product-category:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  z-index: 2;
}
.elementor-widget-wc-categories li.product-category a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

/* Imagen: mismo tamaño en todas, sin deformar */
.elementor-widget-wc-categories li.product-category img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 0 14px !important;
  transition: transform .3s;
}
.elementor-widget-wc-categories li.product-category:hover img { transform: scale(1.04); }

/* Nombre debajo de la imagen (quita el recuadro encima de la foto) */
.elementor-widget-wc-categories .woocommerce-loop-category__title {
  position: static !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #2B2B2B !important;
  text-transform: none !important;
  width: 100%;
}
.elementor-widget-wc-categories li.product-category:hover .woocommerce-loop-category__title { color: #000 !important; }

/* Contador de productos */
.elementor-widget-wc-categories .count {
  display: block !important;
  position: static !important;
  background: none !important;
  padding: 0 !important;
  margin-top: 4px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #6B6B6B !important;
  text-transform: none !important;
  opacity: 1 !important;
}

/* Tablet y celular */
@media (max-width: 1024px) {
  .elementor-widget-wc-categories ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 767px) {
  .elementor-widget-wc-categories ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .elementor-widget-wc-categories li.product-category { padding: 12px !important; }
  .elementor-widget-wc-categories .woocommerce-loop-category__title { font-size: 13px !important; }
}

/* ===== PEMCO – Paginación del Loop Grid ===== */
.elementor-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 30px;
}
.elementor-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  margin: 0 !important;
  border: 1px solid #E6E6E6;
  border-radius: 6px;
  background: #fff;
  color: #2B2B2B;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.elementor-pagination a.page-numbers:hover {
  border-color: #2B2B2B;
  background: #2B2B2B;
  color: #FDB913;
}
.elementor-pagination .page-numbers.current {
  background: #FDB913;
  border-color: #FDB913;
  color: #2B2B2B;
}
.elementor-pagination .page-numbers.dots {
  border: 0;
  background: none;
  min-width: 20px;
  padding: 0;
}
.elementor-pagination .page-numbers.prev,
.elementor-pagination .page-numbers.next { padding: 0 16px; }
.elementor-pagination span.page-numbers.prev,
.elementor-pagination span.page-numbers.next { opacity: .4; }  /* desactivado en la primera/última página */

@media (max-width: 767px) {
  .elementor-pagination .page-numbers { min-width: 34px; height: 34px; font-size: 13px; padding: 0 8px; }
}/* End custom CSS */