
/* FIX: Offcanvas Tabs -> solo mostrar el tab-pane activo */
#offcanvas .tab-content > .tab-pane{
  display: none !important;
}

#offcanvas .tab-content > .tab-pane.active,
#offcanvas .tab-content > .tab-pane.show{
  display: block !important;
}
.share-icon,
.social-share-list {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.social-share-list {
  gap: 10px;
}

/* Eliminar delays y acelerar animación del mega menú */
.vp-mega-menu .dropdown-menu,
.vp-mega-menu .megamenu-inner {
  transition: all 0.12s ease-in-out !important;
}

.vp-mega-menu .dropdown-menu {
  animation-duration: 0.12s !important;
}

.vp-section table.uk-table td {
  vertical-align: top;
  line-height: 1.6;
}

.vp-section h3 {
  margin: 2rem 0 0.75rem;
}

.tarjetas-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.tarjetas-compare th {
  background: #f7fbfe;
  color: #111;
  font-weight: 700;
  padding: 18px;
  text-align: center;
  border-bottom: 3px solid #5ab9e6;
}

.tarjetas-compare td {
  padding: 16px;
  border-bottom: 1px solid #e6eef3;
  text-align: center;
  color: #444;
}

.tarjetas-compare td:first-child {
  text-align: left;
  font-weight: 600;
  color: #111;
  width: 220px;
}

.tarjetas-compare tr:hover {
  background: #fafcfe;
}

/* BADGES */
.badge-best {
  background: #5ab9e6;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.badge-pro {
  background: #111;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.badge-flex {
  background: #27ae60;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.badge-marketing {
  background: #ff7a00;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

/* MOBILE: solo afecta cuando envuelves la tabla con .compare-wrap */
@media (max-width: 900px) {
  .compare-wrap .tarjetas-compare thead { display: none; }

  .compare-wrap .tarjetas-compare,
  .compare-wrap .tarjetas-compare tbody,
  .compare-wrap .tarjetas-compare tr,
  .compare-wrap .tarjetas-compare td { display: block; width: 100%; }

  .compare-wrap .tarjetas-compare tr {
    margin-bottom: 25px;
    border: 1px solid #e6eef3;
    border-radius: 12px;
    overflow: hidden;
  }

  .compare-wrap .tarjetas-compare td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .compare-wrap .tarjetas-compare td::before {
    content: attr(data-label);
    position: absolute;
    left: 18px;
    width: 45%;
    text-align: left;
    font-weight: 600;
    color: #111;
  }
}

/* ====== Tarjetas: comparativa compacta (Shopify/Apple style) ====== */
.tc-wrap{max-width:1100px;margin:0 auto 18px;}
.tc-title{margin:0 0 10px;color:#111;font-weight:800;letter-spacing:-.02em;}
.tc-sub{margin:0 0 14px;color:#5ab9e6;font-weight:600;}

.tc-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid #e6eef3;
  border-radius:14px;
  overflow:hidden;
  font-size:14px;
}
.tc-table th,
.tc-table td{padding:10px 12px;border-bottom:1px solid #e6eef3;vertical-align:middle;}
.tc-table thead th{
  background:#f7fbfe;
  color:#111;
  font-weight:800;
  text-align:center;
  border-bottom:2px solid #5ab9e6;
}
.tc-table tbody td:first-child{
  font-weight:700;
  color:#111;
  width:190px;
  text-align:left;
  background:#fcfeff;
}
.tc-table td{text-align:center;color:#444;}
.tc-table tr:last-child td{border-bottom:0;}

/* Badges */
.tc-badge{
  display:inline-block;
  margin-top:6px;
  padding:3px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  line-height:1.6;
}
.tc-best{background:#5ab9e6;color:#fff;}
.tc-pro{background:#111;color:#fff;}
.tc-flex{background:#22a06b;color:#fff;}
.tc-mark{background:#ff7a00;color:#fff;}

/* “Ver más” */
.tc-more{
  margin-top:10px;
  border:1px solid #e6eef3;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.tc-more summary{
  cursor:pointer;
  padding:12px 14px;
  list-style:none;
  font-weight:800;
  color:#111;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.tc-more summary::-webkit-details-marker{display:none;}
.tc-more summary span{color:#5ab9e6;font-weight:800;}
.tc-more .tc-more-body{padding:0 0 6px;}

/* ====== Móvil: tarjetas compactas (sin tabla larga) ====== */
.tc-cards{display:none; gap:12px;}
.tc-card{
  border:1px solid #e6eef3;
  border-radius:14px;
  background:#fff;
  padding:12px 12px 10px;
}
.tc-card h4{margin:0;color:#111;font-weight:900;}
.tc-card .tc-tag{margin:6px 0 10px;}
.tc-kv{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:8px 10px;
  font-size:14px;
}
.tc-kv div{padding:8px 0;border-top:1px solid #e6eef3;}
.tc-kv b{color:#111;}
.tc-kv span{color:#444;text-align:right;}

/* ====== Responsive ====== */
@media (max-width: 900px){
  .tc-table, .tc-more { display:none; }
  .tc-cards { display:grid; }
}
/* ================================
   VP Tabs (Desktop) + Accordion (Mobile)
   ================================ */

/* Desktop: se ve tabs, NO acordeón */
@media (min-width: 768px){
  .vp-acc-mobile{ display:none !important; }
  .vp-tabs-desktop{ display:block !important; }
}

/* Mobile: se ve acordeón, NO tabs */
@media (max-width: 767.98px){
  .vp-tabs-desktop{ display:none !important; }
  .vp-acc-mobile{ display:block !important; }

  /* En móvil NO forzamos tab-pane a block; aquí ya no usaremos tab-pane para el acordeón */
}
/* ===== VM Tabs + Accordion: iconos SVG + colores por pestaña ===== */
.vp-tabs-desktop .vm-tab-label,
.vp-acc-mobile .vm-tab-label{
  --vm-ac:#5ab9e6;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
}

.vm-tab-ico{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
}
.vm-tab-ico svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.vm-tab-ico svg path{ vector-effect: non-scaling-stroke; }

/* ========== DESKTOP TABS (VP Neoteric nav-tabs-simple) ========== */
.vp-tabs-desktop .nav-tabs-simple{
  gap:10px;
  flex-wrap:wrap;
}

.vp-tabs-desktop .nav-tabs-simple .nav-link{
  display:flex;
  align-items:center;
  gap:.55rem;
  border-radius:14px 14px 0 0;
  border:1px solid #e6eef3;
  background:#fff;
  box-shadow:0 6px 16px rgba(16,24,40,.05);
  color:#556070;
  font-weight:800;
  position:relative;
  overflow:hidden;
}

/* “barra” de color inferior */
.vp-tabs-desktop .nav-tabs-simple .nav-link::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:4px;
  background:var(--vm-ac);
  opacity:.65;
}

/* Icono en el color de la pestaña */
.vp-tabs-desktop .nav-link .vm-tab-ico{
  color:var(--vm-ac);
}

/* Activa */
.vp-tabs-desktop .nav-tabs-simple .nav-link.active{
  color:#111;
  box-shadow:0 16px 34px rgba(16,24,40,.12);
}
.vp-tabs-desktop .nav-tabs-simple .nav-link.active::after{
  opacity:1;
}

/* Contenido */
.vp-tabs-desktop .tab-content{
  border:1px solid #e6eef3;
  border-radius:0 14px 14px 14px;
  background:#fff;
  padding:18px;
  box-shadow:0 12px 30px rgba(16,24,40,.08);
}

/* ========== MÓVIL ACORDEÓN ========== */
.vp-acc-mobile .accordion-item{
  border:1px solid #e6eef3;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 26px rgba(16,24,40,.08);
  margin-bottom:12px;
}

.vp-acc-mobile .accordion-button{
  font-weight:900;
  color:#111;
  background:linear-gradient(180deg,#fbfdff 0%, #f6f9fc 100%);
  padding:14px 14px;
}

.vp-acc-mobile .accordion-button .vm-tab-ico{
  color:var(--vm-ac);
}

.vp-acc-mobile .accordion-button::before{
  content:"";
  position:absolute;
  left:0;
  top:0; bottom:0;
  width:6px;
  background:var(--vm-ac);
}

.vp-acc-mobile .accordion-button{
  position:relative;
  padding-left:18px; /* espacio para la barra */
}

.vp-acc-mobile .accordion-button:focus{
  box-shadow:none;
}

.vp-acc-mobile .accordion-body{
  padding:14px 14px 12px;
}
/* ===========================
   RESALTADO EN MÓVIL (ACORDEÓN)
   Wrapper real: .vp-tab-accordion-wrapper
=========================== */

/* Tarjeta/sección */
.vp-tab-accordion-wrapper .accordion-item{
  border:1px solid #e6eef3;
  border-radius:14px;
  overflow:hidden;
  margin:0 0 12px;
}

/* Encabezado */
.vp-tab-accordion-wrapper .accordion-header .accordion-button{
  font-weight:800;
  color:#111;
  background:linear-gradient(180deg,#fbfdff 0%, #f6f9fc 100%);
  box-shadow:none;
  border-left:6px solid transparent; /* aquí se pinta */
}

/* ✅ ABIERTO: resalta con el color del ícono */
.vp-tab-accordion-wrapper .accordion-header .accordion-button:not(.collapsed){
  color:var(--vp-ta-color, #5ab9e6) !important;       /* texto */
  background:#fff !important;
  border-left-color:var(--vp-ta-color, #5ab9e6);      /* barra lateral */
  box-shadow:0 12px 28px rgba(16,24,40,.10);
}

/* Flecha (caret) más visible */
.vp-tab-accordion-wrapper .accordion-header .accordion-button::after{ opacity:.65; }
.vp-tab-accordion-wrapper .accordion-header .accordion-button:not(.collapsed)::after{ opacity:1; }

/* Cuerpo */
.vp-tab-accordion-wrapper .accordion-body{ padding:14px 14px 12px; }
/* Colores por ORDEN (móvil) */
@media (max-width: 767.98px){
  .vp-tab-accordion-wrapper .accordion-item:nth-of-type(1){ --vp-ta-color:#5ab9e6; } /* Descripción */
  .vp-tab-accordion-wrapper .accordion-item:nth-of-type(2){ --vp-ta-color:#00a86b; } /* Características */
  .vp-tab-accordion-wrapper .accordion-item:nth-of-type(3){ --vp-ta-color:#ff3b30; } /* Aplicaciones */
  .vp-tab-accordion-wrapper .accordion-item:nth-of-type(4){ --vp-ta-color:#7a3df0; } /* Precios */
  .vp-tab-accordion-wrapper .accordion-item:nth-of-type(5){ --vp-ta-color:#ff8a00; } /* Ficha técnica */
  .vp-tab-accordion-wrapper .accordion-item:nth-of-type(6){ --vp-ta-color:#6b7785; } /* Términos */
  .vp-tab-accordion-wrapper .accordion-item:nth-of-type(7){ --vp-ta-color:#111111; } /* Comentarios */
}
/* =========================================================
   VP Neoteric / VirtueMart — Acordeón móvil PRO (Bootstrap)
   Usa la variable: --vp-tab-color (ya la trae cada accordion-item)
========================================================= */

/* Contenedor móvil (según tu HTML) */
.vp-ta-mobile .accordion{
  border: 0 !important;
}

/* Cada item */
.vp-ta-mobile .accordion-item{
  border: 1px solid #e6eef3 !important;
  border-radius: 14px !important;
  overflow: hidden;
  margin: 0 0 12px;
  box-shadow: 0 10px 26px rgba(16,24,40,.06);
  background: #fff;
}

/* Header botón */
.vp-ta-mobile .accordion-button{
  font-weight: 800;
  gap: 10px;
  padding: 14px 14px;
  background: #fbfdff;
  color: #111;
  border: 0 !important;
  box-shadow: none !important;
}

/* Quita el glow/outline raro */
.vp-ta-mobile .accordion-button:focus{
  box-shadow: none !important;
}

/* Flecha (Bootstrap) */
.vp-ta-mobile .accordion-button::after{
  opacity: .95;
  transition: transform .2s ease, opacity .2s ease;
}

/* ICONOS: intenta forzar que sigan el color del texto */
.vp-ta-mobile .accordion-button .tab-icon,
.vp-ta-mobile .accordion-button .tab-icon svg{
  width: 18px;
  height: 18px;
  display: inline-block;
}
.vp-ta-mobile .accordion-button .tab-icon svg{
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* ======== ESTADO ACTIVO (abierto) ======== */
.vp-ta-mobile .accordion-item:has(.accordion-button[aria-expanded="true"]){
  border-color: var(--vp-tab-color, #2f7ed8) !important;
  box-shadow: 0 14px 34px rgba(16,24,40,.10);
}

/* Barra lateral de color (como “premium”) */
.vp-ta-mobile .accordion-item:has(.accordion-button[aria-expanded="true"]) .accordion-button{
  background: linear-gradient(180deg, #fbfdff 0%, #f6f9fc 100%);
  color: var(--vp-tab-color, #2f7ed8) !important;
  border-left: 6px solid var(--vp-tab-color, #2f7ed8);
}

/* Flecha con color del tab */
.vp-ta-mobile .accordion-item:has(.accordion-button[aria-expanded="true"]) .accordion-button::after{
  opacity: 1;
  filter: none;
}

/* Contenido */
.vp-ta-mobile .accordion-body{
  padding: 14px 14px 12px;
}

/* ======== ESTADO CERRADO (colapsado) ======== */
.vp-ta-mobile .accordion-button.collapsed{
  background: #fff;
  color: #111 !important;
  border-left: 6px solid transparent;
}

/* Si quieres que al pasar el dedo se note “clicable” */
.vp-ta-mobile .accordion-button:hover{
  background: #f6f9fc;
}
/* ===============================
   ICONO = MISMO COLOR DEL TAB
=================================*/

.accordion-button{
color:#475569;
font-weight:600;
}

.accordion-button .tab-icon{
color:inherit;
}

/* TAB ACTIVO */
.accordion-button:not(.collapsed){
color:var(--vp-ta-color, #2f7ed8) !important;
font-weight:700;
}

/* fuerza al SVG */
.accordion-button:not(.collapsed) svg{
color:inherit !important;
fill:currentColor !important;
}
.accordion-item{
border-left:4px solid var(--vp-ta-color, #2f7ed8);
}

.accordion-button:not(.collapsed){
background:color-mix(in srgb, var(--vp-ta-color) 12%, white);
}
/* =========================================================
   VP Tabs/Acordeón PRO – Resaltado + Icono dinámico + Animación
   Requiere que el <button class="accordion-button"> tenga:
   style="--vp-ta-color:#xxxxxx" (como ya lo tienes)
========================================================= */

/* Base */
.vp-ta-mobile .accordion-item{
  border:1px solid #e6eef3;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:12px;
  background:#fff;
  box-shadow:0 10px 24px rgba(16,24,40,.06);
}

/* Botón */
.vp-ta-mobile .accordion-button{
  color:#475569;
  font-weight:700;
  letter-spacing:.01em;
  background:#fbfdff;
  transition:background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

/* Icono (tu <span class="tab-icon">...SVG...</span>) */
.vp-ta-mobile .accordion-button .tab-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-right:10px;
  color:inherit;                 /* clave: hereda color del texto */
  transition:transform .18s ease, filter .18s ease, opacity .18s ease;
  opacity:.92;
}

/* El SVG sigue currentColor */
.vp-ta-mobile .accordion-button .tab-icon svg{
  width:18px;
  height:18px;
  fill:currentColor !important;
}

/* Flecha */
.vp-ta-mobile .accordion-button::after{
  transition:transform .18s ease;
  opacity:.85;
}

/* Hover */
.vp-ta-mobile .accordion-button:hover{
  background:#ffffff;
  box-shadow:0 8px 18px rgba(16,24,40,.08);
}

/* =========================
   ESTADO ACTIVO (ABIERTO)
========================= */
.vp-ta-mobile .accordion-item{
  position:relative;
}

/* Barra de color (izquierda) */
.vp-ta-mobile .accordion-item::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:transparent;
  transition:background .18s ease;
}

/* Activo: usa el color del tab */
.vp-ta-mobile .accordion-button:not(.collapsed){
  color:var(--vp-ta-color, #2f7ed8) !important;
  background:color-mix(in srgb, var(--vp-ta-color, #2f7ed8) 10%, white) !important;
  box-shadow:0 10px 22px rgba(16,24,40,.10);
}

/* Activo: icono “pop” */
.vp-ta-mobile .accordion-button:not(.collapsed) .tab-icon{
  transform:scale(1.08);
  opacity:1;
  filter:drop-shadow(0 2px 6px rgba(16,24,40,.18));
}

/* Activo: flecha gira un poco más “pro” */
.vp-ta-mobile .accordion-button:not(.collapsed)::after{
  transform:rotate(-180deg);
}

/* Activo: barra izquierda toma color */
.vp-ta-mobile .accordion-item:has(.accordion-button:not(.collapsed))::before{
  background:var(--vp-ta-color, #2f7ed8);
}

/* Activo: borde del item con el mismo color */
.vp-ta-mobile .accordion-item:has(.accordion-button:not(.collapsed)){
  border-color:color-mix(in srgb, var(--vp-ta-color, #2f7ed8) 35%, #e6eef3);
}

/* Cuerpo */
.vp-ta-mobile .accordion-body{
  padding:16px 16px 14px;
}
/* ===== Acordeón móvil: color activo coherente ===== */
.vp-ta-mobile .accordion-item .accordion-button{
  font-weight:600;
  color:#1e88e5; /* Azul corporativo */
}

/* Cuando está abierto */
.vp-ta-mobile .accordion-item .accordion-button:not(.collapsed){
  color:var(--vp-ta-color) !important;
}

/* Que el icono herede el mismo color */
.vp-ta-mobile .accordion-item .accordion-button:not(.collapsed) .vp-ta-icon{
  color:var(--vp-ta-color) !important;
}
/* Fondo y borde cuando está activo */
.vp-ta-mobile .accordion-item .accordion-button:not(.collapsed){
  background:rgba(30,136,229,0.08); /* azul suave */
  border-left:4px solid var(--vp-ta-color);
  font-weight:700;
}

/* Flecha más visible */
.vp-ta-mobile .accordion-button::after{
  filter:brightness(0.4);
}
/* Fondo y borde cuando está activo */
.vp-ta-mobile .accordion-item .accordion-button:not(.collapsed){
  background:rgba(30,136,229,0.08); /* azul suave */
  border-left:4px solid var(--vp-ta-color);
  font-weight:700;
}

/* Flecha más visible */
.vp-ta-mobile .accordion-button::after{
  filter:brightness(0.4);
}
/* =====================================
   FORZAR COLOR ACTIVO DEL ACORDEON
===================================== */

.vp-ta-mobile .accordion{

  --bs-accordion-active-color: var(--vp-ta-color) !important;
  --bs-accordion-btn-color: #1e88e5 !important; /* azul corporativo cuando está cerrado */

}
.vp-ta-mobile .accordion-button{
    font-weight:600;
}

.vp-ta-mobile .accordion-button:not(.collapsed){
    color:var(--vp-ta-color) !important;
}

.vp-ta-mobile .accordion-button:not(.collapsed) .vp-ta-icon{
    color:var(--vp-ta-color) !important;
}
.vp-ta-mobile .accordion-button:not(.collapsed){

    background:rgba(0,0,0,0.03);
    border-left:4px solid var(--vp-ta-color);

}
.vp-ta-mobile .accordion-button:not(.collapsed){
    color:var(--vp-ta-color) !important;
}
.vp-ta-mobile .accordion-button:not(.collapsed){
    color:var(--vp-ta-color) !important;
}

/* OFFCANVAS: ocultar panes NO activos */
#offcanvasMenuTabContent > [id^="offcanvas-menu-"]{
  display:none !important;
}
#offcanvasMenuTabContent > [id^="offcanvas-menu-"].active,
#offcanvasMenuTabContent > [id^="offcanvas-menu-"].show{
  display:block !important;
}
/* ===== Offcanvas Tabs: evitar que se vean 2 panes durante la transición ===== */

#offcanvasMenuTabContent{
  position: relative;
}

/* Mantén todos como block (Bootstrap lo necesita), pero “apagados” */
#offcanvasMenuTabContent > .tab-pane{
  display: block !important;

  position: absolute;
  inset: 0;                 /* top/right/bottom/left:0 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .12s ease-in-out !important; /* acelera el fade */
}

/* Solo el pane activo se “enciende” y vuelve al flujo normal */
#offcanvasMenuTabContent > .tab-pane.active,
#offcanvasMenuTabContent > .tab-pane.show{
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Opcional: asegura que el contenedor no “salte” */
#offcanvasMenuTabContent{
  overflow: hidden;
}

#offcanvasMenuTabContent > .tab-pane{
  transition: none !important;
}

/* ===== FIX TABS OFFCANVAS (Menu / Categorías) ===== */
#offcanvas .tab-content {
  position: relative;
}

#offcanvas .tab-content > .tab-pane {
  /* evita que se apilen uno detrás de otro */
  position: static !important;

  /* comportamiento bootstrap correcto */
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  height: auto !important;

  /* evita clicks fantasma en el pane escondido */
  pointer-events: none !important;
}

#offcanvas .tab-content > .tab-pane.active,
#offcanvas .tab-content > .tab-pane.active.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ===== Galería de ejemplos (IPP) ===== */
.ipp-tech-container .ipp-tech-gallery{
  margin-top: 18px;
}

.ipp-tech-container .ipp-tech-gallery .ipp-gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Recuadro */
.ipp-tech-container .ipp-tech-gallery .ipp-gallery-item{
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3f6fb;
  border: 1px solid #e9edf4;
  border-radius: 14px;
  overflow: hidden;
}

/* Imagen: SIEMPRE llena el recuadro */
.ipp-tech-container .ipp-tech-gallery .ipp-gallery-item img{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  display: block !important;
}

/* Responsive */
@media (max-width: 980px){
  .ipp-tech-container .ipp-tech-gallery .ipp-gallery-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px){
  .ipp-tech-container .ipp-tech-gallery .ipp-gallery-grid{
    grid-template-columns: 1fr;
  }
}

.ipp-tab-content p { margin: 0 0 .75rem; }
.ipp-tab-list, .ipp-tab-content ul, .ipp-tab-content ol{
  margin: 0;
  padding-left: 1.15rem;
}
.ipp-tab-content li{ margin: .25rem 0; }

/* Quitar completamente el icono Twitter original */
.social-share-link-twitter i::before,
.social-share-link-twitter::before {
  content: none !important;
  display: none !important;
}
.social-share-link-twitter i {
  display: none !important;
}

.social-share-link-twitter::after{
  content: "";
  width: 16.8px;
  height: 16.8px;
  display: inline-block;
  vertical-align: middle;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 2H22l-6.8 7.8L23 22h-6.7l-5.2-6.7L5.5 22H2l7.3-8.4L1 2h6.8l4.7 6.1L18.9 2z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 2H22l-6.8 7.8L23 22h-6.7l-5.2-6.7L5.5 22H2l7.3-8.4L1 2h6.8l4.7 6.1L18.9 2z'/%3E%3C/svg%3E") no-repeat center / contain;

  background-color: currentColor;
}

.social-share-icons::before{
  content: "Compartir:";
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #666;
}

/* ====== COMPARE: evita imágenes aplastadas (VM / VM Essentials) ====== */

/* 1) Ataca cualquier tabla de comparación */
table[class*="compare"] img,
table[id*="compare"] img,
[class*="compare"] table img,
[class*="compare"] img {
  width: 100% !important;
  height: 100% !important;
  max-height: 260px !important; /* ajusta */
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}

/* 2) Si hay contenedor de imagen, le damos altura fija para que object-fit funcione */
table[class*="compare"] td,
table[id*="compare"] td {
  vertical-align: top;
}

/* 3) Si el template fuerza size fijo en la imagen */
img[style*="height"],
img[style*="width"] {
  object-fit: contain !important;
}

/* ===== Comparador: evita estiramiento excesivo y mantiene proporción ===== */

/* 1) Limita el ancho de cada columna de producto */
.compare-products td,
.compare-products th,
table[class*="compare"] td,
table[class*="compare"] th {
  width: 420px;          /* ajusta (350–520) */
  max-width: 420px;
}

/* 2) Contenedor de imagen con altura fija (clave para que no se deforme) */
.compare-products .product-image,
table[class*="compare"] .product-image,
.compare-products .product-image a,
table[class*="compare"] .product-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;         /* ajusta */
}

/* 3) Imagen: sin deformar */
.compare-products .product-image img,
table[class*="compare"] .product-image img,
.compare-products td img,
table[class*="compare"] td img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* ===== VM Essentials Compare: evitar deformación de imágenes ===== */

/* 1) Nunca estires imágenes dentro de VM Essentials */
.vmessentials-wrapper img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* 2) Si el comparador les da un alto fijo, centra y encaja */
.vmessentials-wrapper .product-image,
.vmessentials-wrapper .product-img,
.vmessentials-wrapper .vm-image,
.vmessentials-wrapper td .vm-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;            /* ajusta */
}

/* 3) En caso de que haya reglas que pongan height:100% */
.vmessentials-wrapper .product-image img,
.vmessentials-wrapper .product-img img,
.vmessentials-wrapper .vm-image img,
.vmessentials-wrapper td .vm-image img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Limita ancho de cada columna de producto en el comparador */
.vmessentials-wrapper table td,
.vmessentials-wrapper table th {
  max-width: 460px;
  width: 460px;
}

/* Ocultar solo los títulos redundantes de la vista de contacto */
.com-contact > h2,
.com-contact .com-contact__container > h2 {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ocultar texto "Campo requerido" */
.com-contact .form-required {
    display: none !important;
}

/* Reducir espacio superior */
.com-contact {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.com-contact .com-contact__container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.com-contact .com-contact__form {
    margin-top: 10px !important;
    padding-top: 0 !important;
}

.vm-seo-full-content {
    position: absolute;
    left: -9999px;
    top: -9999px;
}
/* Quantity Specific Pricing Table - respaldo de estilos */
.vmqtypricing-container {
    padding: 15px 0 20px;
}

.vmqtypricing-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    color: #212529;
    background: none;
    border: 1px solid #dee2e6;
    vertical-align: top;
    box-sizing: border-box;
}

.vmqtypricing-table > :not(caption) > * {
    border-width: 1px 0;
    border-style: solid;
    border-color: #dee2e6;
}

.vmqtypricing-table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    background-color: #fff;
    text-align: left;
}

.vmqtypricing-table th {
    background-color: #fafafa;
}

.vmqtypricing-table .is-clickable {
    cursor: pointer;
}

.vmqtypricing-table > :not(caption) > .selected-quantity > * {
    background-color: #b8daff;
}

/* =========================================================
   THANK YOU PAGE - IMPRESOS PEÑA PUBLICIDAD
   ========================================================= */

.vp-thankyou-container .ipp-thankyou-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
    margin-bottom: 32px;
}

.vp-thankyou-container .ipp-thankyou-card {
    background: #fff;
    border: 1px solid #e3e7eb;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.vp-thankyou-container .ipp-thankyou-card h2 {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #007bc4;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
}


/* ===== RESUMEN DEL PEDIDO ===== */

.vp-thankyou-container .ipp-order-data {
    margin: 0;
}

.vp-thankyou-container .ipp-order-data > div {
    display: grid;
    grid-template-columns: minmax(120px, 42%) 1fr;
    gap: 16px;
    align-items: center;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #edf0f2;
}

.vp-thankyou-container .ipp-order-data > div:last-child {
    border-bottom: 0;
}

.vp-thankyou-container .ipp-order-data dt,
.vp-thankyou-container .ipp-order-data dd {
    margin: 0;
}

.vp-thankyou-container .ipp-order-data dt {
    font-weight: 600;
    color: #555;
}

.vp-thankyou-container .ipp-order-data dd {
    color: #222;
}

.vp-thankyou-container .ipp-order-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background: #f2f4f6;
    font-size: 13px;
    font-weight: 600;
}

.vp-thankyou-container .ipp-order-data .ipp-order-total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 2px solid #e5e8eb;
    border-bottom: 0;
}

.vp-thankyou-container .ipp-order-total dt {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.vp-thankyou-container .ipp-order-total dd {
    font-size: 22px;
    font-weight: 700;
    color: #007bc4;
}

.vp-thankyou-container .ipp-customer-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 6px;
    background: #f7f8f9;
}

.vp-thankyou-container .ipp-order-actions {
    margin-top: 22px;
}

.vp-thankyou-container .ipp-order-actions .btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
}


/* ===== INFORMACIÓN DE PAGO ===== */

.vp-thankyou-container .ipp-payment-content {
    font-size: 15px;
    line-height: 1.7;
    color: #333;

    /* Respeta los saltos de línea capturados en VirtueMart */
    white-space: pre-line;
}

.vp-thankyou-container .ipp-payment-content strong,
.vp-thankyou-container .ipp-payment-content b {
    font-weight: 700;
    color: #222;
}


/* ===== CABECERA DE AGRADECIMIENTO ===== */

.vp-thankyou-container .vp-thankyou-pageheader {
    margin-bottom: 8px;
}

.vp-thankyou-container .vp-thankyou-subheader {
    margin-bottom: 0;
    font-size: 16px;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 767px) {
    .vp-thankyou-container .ipp-thankyou-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
    }

    .vp-thankyou-container .ipp-thankyou-card {
        padding: 18px;
    }

    .vp-thankyou-container .ipp-order-data > div {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 10px 0;
    }

    .vp-thankyou-container .ipp-order-total dd {
        font-size: 20px;
    }
}

.vp-thankyou-container .ipp-payment-content strong.ipp-payment-concept-label {
    color: #007bc4;
    font-size: 15px;
    font-weight: 700;
}

.vp-thankyou-container .ipp-payment-content strong.ipp-payment-concept-number {
    color: #007bc4;
    font-size: 16px;
    font-weight: 700;
}

/* =========================================================
   FICHA DE PRODUCTO - DATOS COMPACTOS
   ========================================================= */

.productdetails-view .ipp-product-meta-container {
    margin: -4px 0 16px;
}

.productdetails-view .ipp-product-meta-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
}

.productdetails-view .ipp-product-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: none;
    min-width: 0;
}

/* Ocultamos los encabezados Disponibilidad / SKU / Fabricante */
.productdetails-view .ipp-product-meta-label {
    display: none;
}

.productdetails-view .ipp-product-meta-value {
    display: flex;
    align-items: center;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: #666;
}

/* Existencia un poco más visible */
.productdetails-view .ipp-product-meta-stock .normal-stock {
    font-size: 13px;
    font-weight: 600;
    color: #29883a !important;
}

/* Separador entre datos */
.productdetails-view .ipp-product-meta-item:not(:last-child)::after {
    content: "•";
    margin-left: 10px;
    color: #b7bdc3;
}

/* Fabricante compacto */
.productdetails-view .ipp-product-meta-manufacturer .product-manufacturers {
    margin: 0 !important;
    padding: 0 !important;
}

.productdetails-view .ipp-product-meta-manufacturer .product-manufacturer {
    margin: 0;
}

.productdetails-view .ipp-product-meta-manufacturer .manufacturer-image {
    display: block;
    width: auto;
    max-width: 55px;
    max-height: 22px;
    object-fit: contain;
}


/* ===== MÓVIL ===== */

@media (max-width: 767px) {
    .productdetails-view .ipp-product-meta-grid {
        gap: 5px 10px;
    }

    .productdetails-view .ipp-product-meta-value,
    .productdetails-view .ipp-product-meta-stock .normal-stock {
        font-size: 12px;
    }

    .productdetails-view .ipp-product-meta-manufacturer .manufacturer-image {
        max-width: 48px;
        max-height: 20px;
    }
}

/* =========================================================
   FICHA DE PRODUCTO - RESUMEN DE PRECIO
   ========================================================= */

.productdetails-view .ipp-product-price-summary {
    margin-top: 22px;
    margin-bottom: 14px;
    padding: 16px 18px;
    background: #f8fafb;
    border: 1px solid #e3e8ec;
    border-radius: 8px;
}

.productdetails-view .ipp-unit-price-label {
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #5f6870;
}

.productdetails-view .ipp-unit-price .product-sales-price {
    margin: 0;
}

.productdetails-view .ipp-unit-price .product-sales-price > div,
.productdetails-view .ipp-unit-price .product-sales-price span {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    color: #007bc4;
}

.productdetails-view .ipp-total-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 6px;
}

.productdetails-view .ipp-total-price-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.productdetails-view .ipp-total-price-value {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.productdetails-view .ipp-price-tax-note {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.3;
    color: #747d85;
}


/* ===== MÓVIL ===== */

@media (max-width: 767px) {
    .productdetails-view .ipp-product-price-summary {
        padding: 14px;
        margin-top: 18px;
    }

    .productdetails-view .ipp-unit-price .product-sales-price > div,
    .productdetails-view .ipp-unit-price .product-sales-price span {
        font-size: 24px;
    }
}

/* =========================================================
   FICHA DE PRODUCTO - CANTIDAD + CTA
   ========================================================= */

.productdetails-view .addtocart-bar {
    margin-top: 14px;
    gap: 12px !important;
}

.productdetails-view .quantity-box {
    height: 44px;
}

.productdetails-view .quantity-box .quantity-controls {
    width: 40px;
    min-width: 40px;
    padding: 0;
    border-color: #d8dee4;
    background: #fff;
    color: #444;
}

.productdetails-view .quantity-box .quantity-input {
    width: 58px;
    min-width: 58px;
    height: 44px;
    padding: 0 6px;
    text-align: center;
    font-weight: 600;
    border-color: #d8dee4;
    box-shadow: none;
}

.productdetails-view .addtocart-button-container {
    display: inline-flex;
}

.productdetails-view .addtocart-button-container .btn,
.productdetails-view .addtocart-button-container button,
.productdetails-view .addtocart-button-container input[type="submit"] {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}


/* ===== MÓVIL ===== */

@media (max-width: 767px) {
    .productdetails-view .addtocart-bar {
        display: grid !important;
        grid-template-columns: auto 1fr;
        gap: 10px !important;
        width: 100%;
    }

    .productdetails-view .addtocart-button-container {
        width: 100%;
    }

    .productdetails-view .addtocart-button-container .btn,
    .productdetails-view .addtocart-button-container button,
    .productdetails-view .addtocart-button-container input[type="submit"] {
        width: 100%;
        min-height: 46px;
    }
}

/* =========================================================
   FICHA DE PRODUCTO - ACCIONES SECUNDARIAS
   ========================================================= */

.productdetails-view .product-utilities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 18px !important;
}

.productdetails-view .product-utility-item {
    flex: 1 1 180px;
}

.productdetails-view .product-utility-item form {
    margin: 0;
}

.productdetails-view .product-utility-item button,
.productdetails-view .product-utility-item a {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #dfe4e8;
    border-radius: 6px;
    background: #fff;
    color: #4f5962;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition:
        border-color .15s ease,
        background-color .15s ease,
        color .15s ease;
}

.productdetails-view .product-utility-item button:hover,
.productdetails-view .product-utility-item a:hover {
    border-color: #007bc4;
    background: #f7fbfd;
    color: #007bc4;
}

.productdetails-view .product-utility-item i {
    margin-right: 6px;
}


/* ===== MÓVIL ===== */

@media (max-width: 767px) {
    .productdetails-view .product-utilities-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .productdetails-view .product-utility-item {
        min-width: 0;
    }

    .productdetails-view .product-utility-item button,
    .productdetails-view .product-utility-item a {
        font-size: 11px;
        padding: 8px 7px;
    }
}

/* =========================================================
   FICHA DE PRODUCTO - AYUDA + COMPARTIR BAJO GALERÍA
   ========================================================= */

.productdetails-view .ipp-product-side-actions {
    margin-top: 14px;
    max-width: 100%;
}

/* ===== AYUDA ===== */

.productdetails-view .ipp-product-side-actions .ask-a-question-wrapper {
    position: relative;
    margin: 0 0 16px !important;
    padding: 16px 18px;
    border: 1px solid #e2e8ed;
    border-radius: 10px;
    background: #f8fafb;
}

.productdetails-view .ipp-product-side-actions .ask-a-question-wrapper::before {
    content: "¿Necesitas ayuda con este producto?";
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
}

.productdetails-view .ipp-product-side-actions .ask-a-question-wrapper::after {
    content: "Consulta características, materiales o personalización.";
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
    color: #727b83;
}

.productdetails-view .ipp-product-side-actions .ask-a-question {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #007bc4 !important;
    text-decoration: none;
}

.productdetails-view .ipp-product-side-actions .ask-a-question:hover {
    text-decoration: underline;
}


/* ===== COMPARTIR ===== */

.productdetails-view .ipp-product-side-actions .social-share-icons {
    padding: 0 4px;
}

.productdetails-view .ipp-product-side-actions .social-share-icons::before {
    content: "Compartir";
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #5e6871;
}

.productdetails-view .ipp-product-side-actions .social-share-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.productdetails-view .ipp-product-side-actions .social-share-list-item {
    margin: 0;
}

.productdetails-view .ipp-product-side-actions .social-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e1e6ea;
    border-radius: 50%;
    background: #fff;
    color: #59636c;
    text-decoration: none;
    transition:
        color .15s ease,
        border-color .15s ease,
        background-color .15s ease;
}

.productdetails-view .ipp-product-side-actions .social-share-link:hover {
    color: #007bc4;
    border-color: #007bc4;
    background: #f6fbfe;
}


/* ===== MÓVIL ===== */

@media (max-width: 767px) {
    .productdetails-view .ipp-product-side-actions {
        margin-top: 10px;
        margin-bottom: 22px;
    }

    .productdetails-view .ipp-product-side-actions .ask-a-question-wrapper {
        padding: 14px;
    }
}

/* =========================================================
   AJUSTE TARJETA DE AYUDA
   ========================================================= */

.productdetails-view .ipp-product-side-actions .ask-a-question-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px;
    margin-bottom: 18px !important;
}

/* Título */
.productdetails-view .ipp-product-side-actions .ask-a-question-wrapper::before {
    order: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
}

/* Eliminamos el texto adicional */
.productdetails-view .ipp-product-side-actions .ask-a-question-wrapper::after {
    display: none;
}

/* Haga una pregunta = acción clara */
.productdetails-view .ipp-product-side-actions .ask-a-question {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0;
    padding: 9px 16px;
    border: 1px solid #007bc4;
    border-radius: 6px;
    background: #fff;
    color: #007bc4 !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none !important;
    transition:
        background-color .15s ease,
        color .15s ease,
        border-color .15s ease;
}

.productdetails-view .ipp-product-side-actions .ask-a-question:hover {
    background: #007bc4;
    color: #fff !important;
}


/* ===== MÓVIL ===== */

@media (max-width: 767px) {
    .productdetails-view .ipp-product-side-actions .ask-a-question-wrapper {
        padding: 16px;
        gap: 10px;
    }

    .productdetails-view .ipp-product-side-actions .ask-a-question {
        width: 100%;
    }
}

.logo img {
    width: 300px !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

body.view-productdetails:has(
  .productdetails-view input[name="virtuemart_product_id[]"][value="95"],
  .productdetails-view input[name="virtuemart_product_id[]"][value="96"]
) .vmqtypricing-container {
  display: none !important;
}

@media (max-width: 767.98px) {
  #PrimeSlider-127 .prime-slide-127-1 .prime-slide-inner {
    height: 620px;
  }

  #PrimeSlider-127 .prime-slide-127-1 .prime-slide-container {
    max-width: 100%;
    justify-content: flex-start;
    padding: 28px 24px 0;
    transform: none;
  }

  #PrimeSlider-127 .prime-slide-127-1 .prime-slide-text-area {
    width: 100%;
  }

  #PrimeSlider-127 .prime-slide-127-1 .prime-slide-image {
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: 75% center;
  }

  #PrimeSlider-127 .prime-slide-127-1 .prime-slide-heading {
    font-size: 28px;
  }

  #PrimeSlider-127 .prime-slide-127-1 .prime-slide-paragraph {
    font-size: 16px;
  }

  #PrimeSlider-127 .prime-slide-127-1 .prime-slide-buttons {
    padding-top: 0;
  }
}

@media (max-width: 767.98px) {
  #PrimeSlider-127 .prime-slide-127-2 .prime-slide-inner {
    height: 620px;
    background-color: #E5F3FC;
  }

  #PrimeSlider-127 .prime-slide-127-2 .prime-slide-container {
    max-width: 100%;
    justify-content: flex-start;
    padding: 28px 24px 0;
    transform: none;
  }

  #PrimeSlider-127 .prime-slide-127-2 .prime-slide-text-area {
    width: 100%;
  }

  #PrimeSlider-127 .prime-slide-127-2 .prime-slide-image {
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: right center;
  }

  #PrimeSlider-127 .prime-slide-127-2 .prime-slide-heading {
    font-size: 28px;
  }

  #PrimeSlider-127 .prime-slide-127-2 .prime-slide-paragraph {
    font-size: 16px;
  }

  #PrimeSlider-127 .prime-slide-127-2 .prime-slide-buttons {
    padding-top: 0;
  }
}