/* efecto colores barrido*/
[class*="kps-barrido"] {
  --kps-color-base: #f7f7f7;      /* color inicial */
  --kps-color-hover: #cceced;  /* color de barrido */
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: #fff;
  padding: 4px 4px;
  background: var(--kps-color-base);
  transition: color .3s ease;
  z-index: 0;
}

/* capa de barrido */
[class*="kps-barrido"]::before {
  content: "";
  position: absolute;
  background: var(--kps-color-hover);
  z-index: -1;
  transition: all .5s ease;
}

/* Barrido desde la izquierda */
.kps-barrido-left::before {
  top: 0; left: -100%;
  width: 100%; height: 100%;
}
.kps-barrido-left:hover::before {
  left: 0;
}

/* Barrido desde la derecha */
.kps-barrido-right::before {
  top: 0; right: -100%;
  width: 100%; height: 100%;
}
.kps-barrido-right:hover::before {
  right: 0;
}

/* Barrido desde arriba */
.kps-barrido-top::before {
  top: -100%; left: 0;
  width: 100%; height: 100%;
}
.kps-barrido-top:hover::before {
  top: 0;
}

/* Barrido desde abajo */
.kps-barrido-bottom::before {
  bottom: -100%; left: 0;
  width: 100%; height: 100%;
}
.kps-barrido-bottom:hover::before {
  bottom: 0;
}

/* Barrido circular desde el centro */
.kps-barrido-center::before {
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.kps-barrido-center:hover::before {
  width: 200%; height: 200%;
}

/* Barrido circular desde fuera hacia dentro */
.kps-barrido-outin::before {
  top: 50%; left: 50%;
  width: 200%; height: 200%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.kps-barrido-outin:hover::before {
  width: 0; height: 0;
}

/* fin colores barrido */
/* inicio menu efecto */
/* Variables globales para línea */
/* Todos los menús con "kps-head-menu" tendrán estas variables */
[class*="kps-head-menu"] {
  --kps-line-color: #589fa2;  /* color de la línea */
  --kps-line-height: 3px;     /* grosor de la línea */
  --kps-transition: .3s ease; /* velocidad transición */
}

[class*="kps-head-menu"] a {
  position: relative;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
}


/* efecto 01 */

/* Hover: crece desde el centro */
.kps-head-menu-01 a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: var(--kps-line-height);
  background: var(--kps-line-color);
  transition: width var(--kps-transition), left var(--kps-transition);
}

/* Hover: expande desde centro */
.kps-head-menu-01 a:hover::after {
  width: 100%;
  left: 0;
}

/* 🔹 Item activo: mantiene la línea */
.kps-head-menu-01 .current-menu-item > a::after {
  width: 100%;
  left: 0;
}
/* Hover: crece desde izquierda */
.kps-head-menu-02 a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: var(--kps-line-height);
  background: var(--kps-line-color);
  transition: width var(--kps-transition);
}

.kps-head-menu-02 a:hover::after {
  width: 100%;
}

/* 🔹 Activo */
.kps-head-menu-02 .current-menu-item > a::after {
  width: 100%;
}
/* menu elastico */
.kps-head-menu-03 ul {
  position: relative;
}

.kps-head-line {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: currentColor; /* usa el color de texto del menú */
  transition: all 0.3s ease;
}





.kps-head-menu-03 {
  position: relative;
  --kps-line-color: #589fa2;
  --kps-line-height: 3px;
}

.kps-head-menu-03 ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kps-head-menu-03 a {
  position: relative;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/* Línea única que se moverá */
.kps-head-menu-03 .kps-head-line {
  position: absolute;
  bottom: 0;
  height: var(--kps-line-height);
  background: var(--kps-line-color);
  transition: all .35s cubic-bezier(.25,1.5,.5,1); /* efecto elástico */
}
/* estilos sidebar shortcode */
/* Contenedor general */
.kps-sidebar-post {
  margin-bottom: 15px;
}

/* Grid en dos columnas */
.kps-sidebar-grid {
  display: grid;
  grid-template-columns: 45px 1fr; /* primera columna fija para la imagen */
  gap: 10px; /* espacio entre columnas */
  align-items: start;
}

/* Imagen cuadrada */
.kps-sidebar-thumb {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px; /* opcional */
}

/* Columna de texto */
.kps-sidebar-info {
  line-height: 1.3em;
}

/* Título */
.kps-sidebar-title {
  margin: 0;
  font-size: 0.95em;
  font-weight: 400;
}

/* Resumen */
.kps-sidebar-excerpt {
  margin: 5px 0;
  font-size: 0.85em;
}

/* Meta info (fecha, autor, categoría) */
.kps-sidebar-meta {
  font-size: 0.75em;
  opacity: 0.8;
}

.kps-sidebar-meta span {
  margin-right: 5px;
}

/* fin estilos sidebar */

/* contact form 7 minimalista */
/* Contenedor */
.kps-form-basic {
  max-width: 700px;
  margin: 0 auto;
  font-family: sans-serif;
  font-size: 15px;
  color: #333;
}
.kps-form-basic p {
  margin: 6px auto;
}
/* Filas y columnas */
.kps-row {
  display: flex;
  gap: 20px;
  margin-bottom: 6px;
}
.kps-col {
  flex: 1;
}

/* Labels */
.kps-form-basic label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #222;
}

/* Campos */
.kps-form-basic input[type="text"],
.kps-form-basic input[type="email"],
.kps-form-basic input[type="tel"],
.kps-form-basic textarea {
  width: 100%;
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: transparent;  /* sin fondo */
  font-size: 15px;
  color: #333;
  transition: border-color .3s ease, box-shadow .3s ease;
  box-sizing: border-box;
}

/* Efecto al focus */
.kps-form-basic input:focus,
.kps-form-basic textarea:focus {
  border-color: #589fa2;
  box-shadow: 0 0 0 2px rgba(88,159,162,0.2);
  outline: none;
}

/* Textarea */
.kps-form-basic textarea {
  min-height: 80px;
  resize: vertical;
}

/* Botón */
.kps-form-basic input[type="submit"] {
  background: #589fa2;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s ease, transform .2s ease;
}
.kps-form-basic input[type="submit"]:hover {
  background: #4a857e;
  transform: translateY(-2px);
}
.kps-submit {
  text-align: center;
  margin-top: 20px;
}


/* fin efecto menu */
.kps-inicio-productos .product-item {
	padding:4px 10px;
	border:1px solid #a3ccf5;
	border-radius: 15px;
}
.kps-inicio-productos .product-item:hover {
	background-color: #d2e8ff;
}
.kps-inicio-productos .product-item h3 {
	margin:4px auto;
	font-weight:500;
	font-family: 'inter';
	font-size: 1rem;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	max-width:260px;
	}
.kps-inicio-productos .product-item:hover h3 {
	color:red;
}
.kps-inicio-productos .product-item .product-category a {
	margin:4px auto;
	font-weight:300;
	font-family: 'inter';
	font-size: 0.8rem;
	color: #4e9d5c;
}
.kps-inicio-productos .product-item:hover .product-category a {
	color: #111;
}
.kps-inicio-productos .product-item .gallery-image {
	position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity 0.3s ease-in-out;
	}
.kps-inicio-productos .product-item .overlay {
	position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); color: white; display: flex; justify-content: center; align-items: center;
	}
/* 222 mostrar categorias shortcode */
.product-categories-222 {
  width: 100% !important;
  display: grid;
  gap: 24px;
  /* El grid lo maneja el JS, no aquí */
}

.product-categories-222 .prodcat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border: 3px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  aspect-ratio: 1/1; /* cuadrado */
  min-width: 0;
  position: relative;
}

.product-categories-222 .prodcat-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.product-categories-222 .prodcat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0; left: 0;
}

.product-categories-222 .prodcat-title,
.product-categories-222 .prodcat-count {
  width: 100%;
  display: block;
  text-align: center;
}

.product-categories-222 .prodcat-title {
  font-weight: 700;
  font-size: 1.12em;
  margin: 10px 0 0 0;
  color: #232323;
}

.product-categories-222 .prodcat-count {
  font-size: 0.98em;
  color: #888;
  margin: 4px 0 0 0;
}

/* Vista sobrepuesta */
.product-categories-222 .overlay .prodcat-title-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.62);
  color: #fff;
  font-size: 1.2em;
  padding: 0.45em 1em;
  border-radius: 12px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  width: 85%;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}
.product-categories-222 .overlay .prodcat-count {
  color: #444;
  background: #fff9;
  border-radius: 8px;
  padding: 2px 8px;
  margin: 12px auto 0 auto;
  font-size: 1em;
  width: max-content;
  display: block;
}

/* Animación "latido" en borde */
.product-categories-222 .prodcat-item:hover {
  border-color: #ff4848;
  animation: heartbeat 0.8s 1;
  box-shadow: 0 0 0 3px #ff484870;
}

@keyframes heartbeat {
  0%   { transform: scale(1); }
  15%  { transform: scale(1.04); }
  25%  { transform: scale(0.96); }
  35%  { transform: scale(1.03); }
  45%  { transform: scale(0.98); }
  55%  { transform: scale(1.01); }
  100% { transform: scale(1); }
}


/* Responsive columnas */
.product-categories-222 {
    grid-template-columns: repeat(4, 1fr); /* por defecto, 4 columnas */
}
@media (max-width: 900px) {
    .product-categories-222 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .product-categories-222 { grid-template-columns: repeat(1, 1fr); }
}
/* tabs shortcode estilos */
    .custom-tabs-wrap{border:1px solid #e3e3e3;padding:20px;border-radius:8px;background:#fff;}
    .custom-tabs-nav{display:flex;list-style:none;padding:0 0 10px 0;margin:0;border-bottom:2px solid #eee;}
    .custom-tabs-nav li{margin-right:18px;}
    .custom-tabs-nav li a{color:#294c6e;text-decoration:none;padding:8px 20px;border-radius:6px 6px 0 0;display:block;font-weight:600;}
    .custom-tabs-nav li.active a,.custom-tabs-nav li a:hover{background:#f1f5f9;color:#172d44;}
    .custom-tabs-content{margin-top:10px;}
    .custom-tab-pane{display:none;}
    .custom-tab-pane.active{display:block;}
	
/* personalizado de tabs 1 */	
.tabs-corporate-blue .custom-tabs-wrap {
    background: #f9fbfd;
    border: 1px solid #dee5ec;
    border-radius: 12px;
    box-shadow: 0 2px 10px 0 rgba(35,53,83,0.07);
    padding: 24px;
}
.tabs-corporate-blue .custom-tabs-nav {
    border-bottom: 2px solid #e0e7ef;
    gap: 2px;
}
.tabs-corporate-blue .custom-tabs-nav li {
    margin-right: 12px;
    transition: box-shadow 0.2s;
}
.tabs-corporate-blue .custom-tabs-nav li a {
    color: #285ca6;
    background: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 24px;
    font-weight: 600;
    transition: 
        background 0.3s, 
        color 0.3s, 
        box-shadow 0.3s,
        transform 0.1s;
    cursor: pointer;
    position: relative;
}
.tabs-corporate-blue .custom-tabs-nav li a:hover,
.tabs-corporate-blue .custom-tabs-nav li.active a {
    background: #285ca6;
    color: #fff;
    box-shadow: 0 4px 20px 0 rgba(35,53,83,0.10);
    transform: translateY(-2px) scale(1.03);
}
.tabs-corporate-blue .custom-tabs-content {
    margin-top: 16px;
}
.tabs-corporate-blue .custom-tab-pane {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px 0 rgba(40,92,166,0.06);
    padding: 24px;
    transition: box-shadow 0.2s;
}
/* personalizado de tabs 2 */	
.tabs-corporate-grey .custom-tabs-wrap {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.07);
    padding: 22px;
}
.tabs-corporate-grey .custom-tabs-nav {
    border-bottom: 2px solid #e5e7eb;
    gap: 2px;
}
.tabs-corporate-grey .custom-tabs-nav li {
    margin-right: 10px;
}
.tabs-corporate-grey .custom-tabs-nav li a {
    color: #4b5563;
    background: none;
    border-radius: 6px 6px 0 0;
    padding: 9px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: 
        background 0.3s, 
        color 0.3s, 
        box-shadow 0.2s,
        transform 0.1s;
}
.tabs-corporate-grey .custom-tabs-nav li a:hover,
.tabs-corporate-grey .custom-tabs-nav li.active a {
    background: #f3f4f6;
    color: #0f172a;
    box-shadow: 0 4px 16px 0 rgba(40,42,62,0.08);
    transform: translateY(-1px) scale(1.02);
}
.tabs-corporate-grey .custom-tabs-content {
    margin-top: 13px;
}
.tabs-corporate-grey .custom-tab-pane {
    background: #fafbfc;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 1.5px 6px 0 rgba(60,60,80,0.06);
    padding: 21px;
}
/* personalizado de tabs 3 */
.tabs-corporate-accent .custom-tabs-wrap {
    background: #fcfcff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    box-shadow: 0 4px 18px 0 rgba(90,110,240,0.08);
    padding: 28px;
}
.tabs-corporate-accent .custom-tabs-nav {
    border-bottom: 2.5px solid #b2bbfc;
}
.tabs-corporate-accent .custom-tabs-nav li {
    margin-right: 16px;
}
.tabs-corporate-accent .custom-tabs-nav li a {
    color: #5361c6;
    background: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 24px;
    font-weight: 700;
    position: relative;
    cursor: pointer;
    transition: 
        color 0.2s,
        transform 0.1s;
}
.tabs-corporate-accent .custom-tabs-nav li a::after {
    content: '';
    display: block;
    margin: auto;
    height: 3px;
    width: 0px;
    background: #5361c6;
    border-radius: 2px;
    transition: width 0.3s;
}
.tabs-corporate-accent .custom-tabs-nav li a:hover::after,
.tabs-corporate-accent .custom-tabs-nav li.active a::after {
    width: 80%;
}
.tabs-corporate-accent .custom-tabs-nav li a:hover,
.tabs-corporate-accent .custom-tabs-nav li.active a {
    color: #25347a;
    background: #e7eaff;
    transform: translateY(-2px) scale(1.04);
}
.tabs-corporate-accent .custom-tabs-content {
    margin-top: 18px;
}
.tabs-corporate-accent .custom-tab-pane {
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 12px 0 rgba(80,100,220,0.06);
    padding: 26px;
}
/* productos relacionados */
    .related-products-plus-wrap { display:grid; gap: 22px; margin:32px 0;}
    .related-products-plus-wrap:not(.related-plus-swiper) { grid-template-columns: repeat(var(--rpc-cols, 4), 1fr); }
    .related-products-plus-wrap.columns-2 { --rpc-cols:2; }
    .related-products-plus-wrap.columns-3 { --rpc-cols:3; }
    .related-products-plus-wrap.columns-4 { --rpc-cols:4; }
    .related-products-plus-wrap.columns-5 { --rpc-cols:5; }
    .related-products-plus-wrap.columns-6 { --rpc-cols:6; }
    .related-products-plus-wrap .related-product-plus-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 10px 0 rgba(40,92,166,0.10);
        padding: 14px 14px 16px 14px;
        transition: box-shadow 0.2s;
        overflow:hidden;
        position:relative;
        display:flex; flex-direction:column;
    }
    .related-products-plus-wrap .img-wrap {
        width: 100%;
        aspect-ratio: 1/1;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    /* Hover 2da imagen */
    .related-products-plus-wrap.view-hover-img .img-wrap .second-img {
        position: absolute;
        left: 0; top: 0; width: 100%; height: 100%;
        opacity: 0;
        z-index: 2;
        object-fit:cover;
        transition: opacity 0.32s;
        pointer-events: none;
    }
    .related-products-plus-wrap.view-hover-img .img-wrap:hover .second-img { opacity: 1; }
    .related-products-plus-wrap .img-wrap img { width:100%; height:100%; object-fit:cover; border-radius:8px; transition: transform 0.28s;}
    .related-products-plus-wrap .img-wrap:hover img.main-img { transform: scale(1.04);}
    /* Hover añadir al carrito */
    .related-products-plus-wrap.view-hover-cart .add-cart-btn {
        opacity: 0;
        pointer-events: none;
        position: absolute;
        left: 50%; top: 50%;
        transform: translate(-50%,-50%) scale(0.92);
        background: #285ca6;
        color: #fff;
        border: none;
        border-radius: 24px;
        font-weight: 600;
        font-size: 1em;
        padding: 12px 28px;
        transition: opacity 0.32s, transform 0.22s;
        box-shadow: 0 2px 14px 0 rgba(40,92,166,0.12);
        cursor:pointer;
        z-index: 3;
    }
    .related-products-plus-wrap.view-hover-cart .img-wrap:hover .add-cart-btn {
        opacity: 1;
        pointer-events: all;
        transform: translate(-50%,-50%) scale(1.06);
    }
    .related-products-plus-wrap .info-wrap {
        padding:0 4px;
        margin-top: 5px;
        text-align: center;
    }
    .related-products-plus-wrap .prod-cat {
        color: #285ca6; font-size: 0.89em; font-weight: 500; margin-bottom:2px;
    }
    .related-products-plus-wrap .prod-title {
        font-size: 1.11em; font-weight: 700; margin-bottom:3px;
    }
    .related-products-plus-wrap .prod-title a { color:#172d44; text-decoration: none;}
    .related-products-plus-wrap .prod-price { font-size: 1.08em; font-weight: 600; margin-bottom: 3px;}
    .related-products-plus-wrap .prod-rating {margin-top: 1.5px;}
    /* Swiper específico */
    .related-plus-swiper .swiper { width:100%; }
    .related-plus-swiper .swiper-wrapper { display:flex;}
    .related-plus-swiper .swiper-slide { flex: 0 0 calc(100% / var(--rpc-cols, 4)); width: calc(100% / var(--rpc-cols, 4)); }
    @media (max-width: 900px) {
        .related-products-plus-wrap:not(.related-plus-swiper) { grid-template-columns: repeat(2, 1fr); }
    }

/** Accordio estilo de vista **/
/* Opción 1: Estilo “Minimal Corporate” */
.kps-accordion {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 4px 8px 0 rgba(34,58,96,0.11);
  background: #fff;
  max-width: 1100px;
  margin: 2px auto;
}
.kps-accordion .accordion-item {
  border-bottom: 1px solid #ecf0f6;
  transition: box-shadow 0.22s;
  background: #fff;
}
.kps-accordion .accordion-header {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 15px 20px;
  text-align: left;
  font-size: 1.17em;
  font-weight: 700;
  color: #204070;
  cursor: pointer;
  position: relative;
  transition: background 0.23s;
  border-radius: 0;
}
.kps-accordion .accordion-header::after {
  content: '';
  float: right;
  display: inline-block;
  border: solid #204070;
  border-width: 0 4px 4px 0;
  padding: 5px;
  margin-left: 12px;
  transform: rotate(45deg) translateY(-50%);
  transition: transform 0.24s;
  position: absolute;
  right: 20px; top: 50%;
}
.kps-accordion .open .accordion-header::after {
  transform: rotate(-135deg) translateY(-50%);
}
.kps-accordion .accordion-content {
  background: #f8fafc;
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  font-size: 1.03em;
  color: #25394d;
  line-height: 1.7;
  transition: max-height 0.38s cubic-bezier(.4,0,.2,1), padding 0.18s;
}
.kps-accordion .open .accordion-content {
  padding: 16px 22px 25px 22px;
  width: 100%;
}

/* Opción 2: Estilo “Glass Corporate” (con fondo tipo glass y sombra glow) */
.kps-accordion.glass {
  background: rgba(250, 250, 255, 0.45);
  backdrop-filter: blur(7px) saturate(170%);
  box-shadow: 0 7px 38px 0 rgba(70,90,255,0.13);
  border-radius: 22px;
  margin: 4px auto;
}
.kps-accordion.glass .accordion-item {
  background: transparent;
  border-bottom: 1.5px solid #e6eafe;
}
.kps-accordion.glass .accordion-header {
  font-size: 1.18em;
  font-weight: 700;
  color: #4559bb;
  background: none;
  border: none;
  padding: 16px 20px;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  transition: background 0.25s, color 0.2s;
}
.kps-accordion.glass .accordion-header:hover,
.kps-accordion.glass .open .accordion-header {
  background: rgba(70,90,255,0.06);
  color: #25399a;
}
.kps-accordion.glass .accordion-header::after {
  content: '';
  border: solid #4559bb;
  border-width: 0 4px 4px 0;
  padding: 5px;
  margin-left: 16px;
  float: right;
  display: inline-block;
  transform: rotate(45deg) translateY(-50%);
  transition: transform 0.24s, border-color 0.22s;
  position: absolute;
  right: 20px; top: 50%;
}
.kps-accordion.glass .open .accordion-header::after {
  transform: rotate(-135deg) translateY(-50%);
  border-color: #25399a;
}
.kps-accordion.glass .accordion-content {
  background: rgba(240,240,255,0.73);
  padding: 0 36px;
  max-height: 0;
  overflow: hidden;
  color: #263b62;
  font-size: 1.06em;
  line-height: 1.73;
  transition: max-height 0.39s cubic-bezier(.4,0,.2,1), padding 0.18s;
  border-radius: 0 0 18px 18px;
}
.kps-accordion.glass .open .accordion-content {
  padding: 17px 36px 26px 36px;
}