:root {
  --accent-color: #2c2c2c;   /* color principal (puedes cambiarlo fácil aquí) */
  --accent-bg: rgba(0,0,0,0.95); /* variante para backgrounds */
}

.fsr-container { padding-inline:3vw; width:100%; }
.elementor-widget-container { background: transparent !important; }



/* REQUERIMIENTO SUSANA: 

QUITAR LAS UNIDADES DISPONIBLES PARA QUE NO SEAN VISIBLES EN LAS CARDS DE PRODUCTO */

.fsr-stock  {
    display: none;
}


/* y borrar texto rotativo tienda TEMPORAL*/

.fsr-info-global {
	display: none;

}



/* ORDENAMIENTO DE LOS FILTROS DE CAPACIDAD, GRADO Y COLOR */

.fsr-group-capacidad {
 order: 1 !important;   
}

.fsr-group-color {
    order: 3 !important;
}

.fsr-group-grade {
    order: 2 !important;
    
}

.fsr-group-clear-all{
    order:4 !important;
}



/* ================================*/


/* ================================
   TABS
================================ */
.fsr-filters { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0; }
.fsr-tab {
  background:#ffffff !important;
  padding: 8px 20px !important;
  width: fit-content !important;
  border:none;
  cursor:pointer;
  font-weight:600;
  font-size:16px;
  transition:all 0.3s ease;
  border-radius:200px !important;
  box-shadow:0 2px 5px rgba(0,0,0,0.05);
  color:#2c2c2c !important;
}
.fsr-tab:hover { background:rgba(255,255,255,0.9) !important; }
.fsr-tab.active { background:#2c2c2c !important;box-shadow:0; color: #fafafa !important; }

/* ================================
   GRID LAYOUT  (rejilla real, no multicolumna)
   ------------------------------------------------
   Antes: columns:4 -> rellenaba columna por columna
   de arriba abajo, asi que el orden se leia en
   vertical y parecia desordenado.
   Ahora: CSS Grid -> por filas, de izquierda a
   derecha: 16 Pro Max, 16 Pro, 16, 15 Pro Max...
================================ */
.fsr-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:28px 24px;
  align-items:stretch;
  padding:0;
  margin:0;
  list-style:none;
}

.fsr-grid > *{
  width:100%;
  max-width:100%;
  min-width:0;
  margin-bottom:0;
}

@media (max-width:640px){
  .fsr-grid{ grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:18px 14px; }
}
@media (max-width:420px){
  .fsr-grid{ grid-template-columns:1fr; }
}

/* ================================
   CARD
================================ */
.fsr-card {
  background:#ffffff;
  border-radius:12px;
    overflow:hidden;
  
  padding:0;
 /* box-shadow:0 3px 8px rgba(0,0,0,0.08);*/
 /* display:flex;
  flex-direction:column;*/
  display:block;
  height:fit-content;
  justify-content: center;
}

/* Imagen */
.fsr-image-wrap { position:relative; }
.fsr-image-wrap img {
  width:100%;
  border-radius:8px;
  margin-bottom:10px;
}




.fsr-overlay { display:none !important; }

/* Precio burbuja general */
.fsr-price-bubble {
  position:absolute;
  top:10px;
  right:10px;
  /* 241, 227, 86 */
  background:#2c2c2c60;
  color:#f5f5f5 !important;
  padding:14px 26px;
  border-radius:36px;
  font-size:24px!Important;
  font-weight:500!important;
  backdrop-filter: blur(24px);
 box-shadow:0 4px 14px rgba(0,0,0,0.25); 

}

/* Título y stock */
.fsr-card-title { 
    display: flex;
  font-size:clamp(23px,2.5vw,28px) !important; 
  font-weight:600 !important;
  margin:6px 0; 
  display: flex;
  justify-content: center;
  padding:14px 10%;
  justify-content: flex-start;
}
.fsr-stock { font-size:13px; color:#666; }

/* Columna precio + stock, pegada arriba a la derecha de la imagen.
   El stock queda siempre justo debajo del precio, tenga el precio la
   altura que tenga (una o dos lineas), y comparten el mismo borde derecho. */
.fsr-price-stack {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.fsr-card:not(.hero):not(.hero-horizontal) .fsr-price-stack .fsr-price-bubble {
  position: static !important;
  top: auto !important;
  right: auto !important;
}

/* Mensaje de stock ("+10 en stock"): lo pinta el PHP y lo cambia el JS.
   Mismo amarillo que los botones y swatches activos (--fsr-brand). */
.fsr-stock-badge {
  position: static;
  align-self: flex-end;
  width: fit-content;
  margin: 0;
  padding: 1px 7px;
  border-radius: 100px;
  background: var(--fsr-brand, #FFD400);
  color: var(--fsr-ink, #1F1F1F);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.fsr-stock-badge[hidden] { display: none !important; }

/* Mensaje de la versión elegida: va en el cuerpo de la tarjeta, encima de los
   botones de compra, así que no hereda la alineación a la derecha de la burbuja
   de precio (21-09-2026). Va centrado y con el amarillo suave y un borde, en
   vez del amarillo macizo del total del modelo, para que se distingan los dos
   avisos de un vistazo. El texto es más largo, así que puede partirse en dos
   líneas. */
.fsr-stock-version {
  align-self: center;
  /* Aire a los lados: el texto es largo y sin esto la burbuja llegaba a tocar
     los bordes de la tarjeta (21-09-2026). */
  max-width: calc(100% - 28px);
  margin-top: 10px;
  margin-inline: 14px;
  padding: 3px 12px;
  background: var(--fsr-brand-soft, #FFF7CC);
  border: 1px solid var(--fsr-brand, #FFD400);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  white-space: normal;
}

/* El mismo mensaje del modelo en el modal, bajo las miniaturas de la galería */
.fsr-modal-stock-model {
  align-self: flex-start;
  margin-top: 10px;
  padding: 2px 9px;
  font-size: 11px;
}

/* Los heroes reordenan la tarjeta pieza a pieza: ahi no se muestra */
.fsr-card.hero .fsr-stock-badge,
.fsr-card.hero-horizontal .fsr-stock-badge { display: none !important; }

/* ================================
   SWATCHES
================================ */
.fsr-options { display:flex; flex-wrap:wrap; gap:8px; width: 100%; align-items:center;
padding: 0 !important; }

.fsr-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding:0 10%;
  gap:8px !important;
}    

.fsr-swatch {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-width: 40px !important;
  padding: 16px 16px !important;
  border-radius: 6px !important;
  color: #2c2c2c !important;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Capacidad y grado */
.fsr-swatch.fsr-capacity,
.fsr-swatch.fsr-grade {
  background: rgba(245, 245, 245, 0.85) !important;
  backdrop-filter: blur(6px);
}

/* Color */
.fsr-options.fsr-colors .fsr-swatch { box-shadow: none !important; }
.fsr-options.fsr-colors .fsr-color {
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  padding: 0;
  min-width: unset;
}
.fsr-color { border-radius:50%; width:24px; height:24px; }

/* Activos */
.fsr-swatch.fsr-capacity.active,
.fsr-swatch.fsr-grade.active {
  /*background: var(--accent-bg) !important;
  color: #fff !important;*/
    border-radius: 32px !important;
    background: #2C2C2C !important;
    font-weight: 500 !important;
    box-shadow: inset 0 0 0 4px #ffffff !important;
    COLOR: #F5F5F5 !important;
    pointer-events: none !important;

}
.fsr-swatch.fsr-color.active {
  /*box-shadow: 0 0 0 3px var(--accent-color) inset;*/
      box-shadow: inset 0 0 0 4px #ffffff !important; /* inner border */


}



/* ==============================
INDICADOR DE IMAGEN 
===============================*/

.swiper-pagination-bullet-active {
    background: #2c2c2c96 !important;
}


/* ================================
   BOTONES / ACCIONES
================================ */



/* BOTON CARGAR TODOS EN ALL */

.fsr-load-more {
    width: fit-content;
    margin-left:20%;
    margin-right:20%;
    padding:16px !important;
    border-radius:2px;
    background: #f5f5f5 !important;
    color: #2c2c2c !important;
    margin-top: 16px !important;
    box-shadow:0 2px 5px rgba(0,0,0,0.05);

    
}


.fsr-buy-btn.disabled, .fsr-cart-btn.disabled {
  opacity:0.4;
  background: #2c2c2c16;
  color: #2c2c2c56;
  pointer-events: none;
  cursor: pointer;
  
  
}
.fsr-cart-btn { display: none; }

.fsr-clear-all {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: normal;
  width:80%;
  background:#2c2c2c12 !important;
  border:none !important;
  font-size:20px;
  cursor:pointer;
  text-decoration: bold;
  color:#2c2c2c !important;
  height: fit-content !important;
  padding: 16px !important;
  margin-top: 16px !important;
  margin: auto;
  border-radius:8px !important;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.fsr-clear-all::before {
  content:"";
  margin-right: 6px;
}

.fsr-options-row {
  display: flex;
  flex-direction:column;
  gap: 8px !important;
  justify-content: center;
  padding: 0;
  border-radius: 8px;
  background: #fafafa24;
}
.fsr-options .fsr-grades {
  display: flex;
  flex-direction: column;
  justify-content: flex-end !important;
  max-width: 70%;
}

.fsr-actions { display:flex; gap:8px; margin-top:16px; }
.fsr-buy-btn, .fsr-cart-btn {
  background: #2c2c2c;
  color: #fafafa;
  font-size:14px;
  padding:12px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  min-height:40px;
  min-width:64px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fsr-buy-btn { flex:1; justify-content: center; display: flex; }
.fsr-cart-btn { flex:0 0 auto; font-size:16px; }

/* ================================
   MODAL
================================ */
#fsr-modal {
  display: none !important;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#fsr-modal .fsr-modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  position: relative;
  animation: fsr-modal-appear 0.25s ease-out;
}
#fsr-modal .fsr-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #333;
  position: absolute;
  top: 10px;
  right: 14px;
}
@keyframes fsr-modal-appear {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ================================
   LOADER
================================ */
.fsr-skeleton {
  background:#eee; border-radius:10px;
  overflow:hidden; position:relative;
  min-height:250px;
}
.fsr-skeleton::after {
  content:""; position:absolute; top:0; left:-120px;
  height:100%; width:120px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.6),transparent);
  animation:fsr-shimmer 1.2s infinite;
}
@keyframes fsr-shimmer { 100% { left:100%; } }

/* ================================
   HERO CARD (aislado)
================================ */
.fsr-card.hero {
  position: relative;
  display: flex;
  flex-direction: row !important;
  width: 100%;
  height: 80vh; /*container */
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
  border-radius: 0;
}
.fsr-card.hero .fsr-image-wrap {
  width: 100%;
  height: 80vh;
  min-height: 400px;
  position: relative;
}
.fsr-card.hero .fsr-image-wrap img {
  width: 100%;
  height: fit-content;
  object-fit: cover;
  border-radius: 0;
}



.fsr-card.hero .fsr-price-bubble {
 margin-top:-24px !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15) !important;
    color: #fafafa !important;
    background: transparent !important;


}




.fsr-card.hero .fsr-hero-info {
  position: absolute;
  bottom: 20px;
  left: 3vw;
  right: 3vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0;
  z-index: 3;
  color: #fff;
}
.fsr-card.hero .fsr-card-title {
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 400;
  overflow: visible;
  padding: 6px 0 !important;
  width: fit-content !important;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
  margin-bottom: 12px!important;
}

/* El contenedor de opciones en Hero nunca más del 40% */
.fsr-card.hero .fsr-options-actions {
  max-height: 40%;       /* límite de altura respecto al contenedor padre */
  overflow: visible;     
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  box-sizing: border-box;
}

/* Fila de opciones también limitada */
.fsr-card.hero .fsr-options-row {
  flex: 1 1 auto;         /* ocupa lo que pueda dentro del 40% */
  display: flex;
  flex-wrap: wrap;
  gap: 0 !important;
  align-content: flex-start; /* elementos siempre pegados arriba */
  overflow-y: auto;       /* scroll si los grupos exceden */
  background: transparent;
}

/* Grupos compactos */
.fsr-card.hero .fsr-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 16px;
  border-radius: 6px;
  flex: 1 1 150px;
  box-sizing: border-box;
  max-height: fit-content; /* nunca fuerzan altura extra */
}


/* Títulos de grupo compactos */
.fsr-card.hero .fsr-group strong {
  width: 100%;
  margin-bottom: 2px;   /* ✅ casi pegado al primer swatch */
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

/* Opciones dentro del grupo más pegadas */
.fsr-card.hero .fsr-options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px !important;             /* ✅ menos espacio entre swatches */
}

.fsr-card.hero .fsr-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  width: fit-content !important;
}
.fsr-card.hero .fsr-swatch.fsr-color {
  border-radius: 50%;
  padding: 0;
  min-width: unset;
  outline: 1px solid #2c2c2c16;
}
.fsr-card.hero .fsr-swatch.fsr-capacity,
.fsr-card.hero .fsr-swatch.fsr-grade {
  padding: 16px 8px !important;
  border-radius: 50%;

  background: #f5f5f516 !important;
  color: #f5f5f5 !important;
}
.fsr-card.hero .fsr-swatch.fsr-capacity.active,
.fsr-card.hero .fsr-swatch.fsr-grade.active {
  background: #f5f5f516 !important;
  color: #f5f5f5 !important;
 /* outline: 3px solid #fafafa !important;*/
    box-shadow: 0 0 0 3px #ffffff inset;

}
.fsr-card.hero .fsr-swatch.fsr-color.active {
  box-shadow: 0 0 0 3px #ffffff inset;
   /* outline: 3px solid #fafafa !important;*/

}
.fsr-card.hero .fsr-clear-all {
  background: #f5f5f524;
  border: none;
  color: #fff !important;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  width: fit-content !important;
  text-align: left;
  opacity: 0.8;
  white-space: nowrap;
}
.fsr-card.hero .fsr-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}
.fsr-card.hero .fsr-buy-btn,
.fsr-card.hero .fsr-cart-btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: #f5f5f5 !important;
  color: #2c2c2c !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  white-space: nowrap;
  align-items:center;
}


/* -----------------------------
   ESTILOS DE SWATCHES FSR
-------------------------------- */

/* Estado general */
.fsr-swatch {
    transition: all 0.2s ease;
    cursor: pointer;
}

/* ⭐ Seleccionado */
.fsr-swatch.active {
    outline: 1px solid #d9d9d9;
  /*  box-shadow: 0 0 10px rgba(0,0,0,0.35);*/
    border-radius:8px;
    position: relative;
    z-index: 2;
}

/* 🟢 Seleccionable (válido para combinar) */
.fsr-swatch.selectable {
    opacity: 1 !important;
    filter: none !important;
    cursor: pointer !important;
}

/* Hover solo en seleccionables */
.fsr-swatch.selectable:hover {
    transform: scale(1.03);
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
}

/* 🔴 No combinable */
.fsr-swatch.unavailable {
    opacity: 0.35 !important;
    filter: grayscale(100%) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}



/* Para que me pinte correctamente los WEBP*/

.fsr-image-wrap img {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}





/* ================================
   IMAGEN 5:4 SOLO EN CARDS NORMALES
================================ */
.fsr-card:not(.hero) .fsr-image-wrap {
  position: relative;      /* ya lo tienes, pero reafirmamos */
  aspect-ratio: 5 / 4;     /* proporción 4:3 */
  overflow: hidden;        /* lo que sobra se recorta */
}

.fsr-card:not(.hero) .fsr-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;       /* rellena sin deformar, recortando */
  display: block;
}




/* ================================
   HERO HORIZONTAL
================================ */


.fsr-card.hero-horizontal {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0;
    padding: 40px 5vw;
    box-sizing: border-box;
}

.fsr-hero-horizontal-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.fsr-hero-horizontal-wrapper .fsr-image-wrap {
    flex: 1;
    max-width: 45%;
}

.fsr-hero-horizontal-wrapper img,
.fsr-hero-horizontal-wrapper video {
    width: 100vw;
    height: auto;
    border-radius: 14px;
}

.fsr-hero-horizontal-text {
    flex: 1;
    max-width: 45%;
}

.fsr-hero-horizontal-text .hero-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.fsr-hero-horizontal-text .fsr-price-bubble {
    font-size: 2rem;
}

.fsr-hero-horizontal-text .fsr-options-row {
    margin-bottom: 20px;
}



/* ================================
ICONO BATERÍA +85 /100

================================ */


.fsr-battery-bubble {
    position: absolute;
    bottom: 8px;
    width: 48px;
    height: 48px;
    left: 3%;
    z-index: 20;
    width:64px;
    height:64px;
    pointer-events: none;
        
    background: #2c2c2c60;
    border-radius: 400px;
    padding: 4px;
    align-content: center;
    justify-content:center;
      backdrop-filter: blur(24px);
 box-shadow:0 4px 14px rgba(0,0,0,0.25); 

}

.fsr-card.hero .fsr-battery-bubble {
    
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}




.fsr-battery-bubble img.fsr-battery-icon {
    width: auto !important;
    height: 56px !important;
    object-fit: contain !important;
        filter: brightness(0) invert(1);
    box-shadow: none !important;

    opacity: 0.6;
}


.fsr-card.hero .fsr-battery-icon {
    filter: brightness(0) invert(1);
    box-shadow: none !important;
}



.fsr-battery-icon.icon-85 {
    display: block;
    mix-blend-mode: difference;

}
.fsr-battery-icon.icon-100 {
    display: none;
        mix-blend-mode: difference;
        opacity:0.9 !important;

}




/* ============================
   🔋 & 💰 Bubbles en HERO VERTICAL
============================ */
.fsr-card.hero .fsr-battery-bubble,
.fsr-card.hero .fsr-price-bubble {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin:  0 !important;

        

}


/* ============================
   🔋 & 💰 Bubbles en HERO HORIZONTAL
============================ */
.fsr-hero-horizontal-text .fsr-battery-bubble,
.fsr-hero-horizontal-text .fsr-price-bubble {
    position: relative !important;
    margin: 0 !important;
    width: fit-content !important;
    height: auto !important;

}



/* ============================
   💰 + 🔋 BUBBLE ROW — FULL WIDTH
============================ */
.fsr-hero-bubbles {
    width: fit-content;
    display: flex;
    flex-direction: row;
    height: fit-content;
    align-items: center;
    justify-content: space-aside; /* separación automática */
    gap: 16px;
    padding: 12px;
    margin:0;

     flex-wrap:nowrap;
    top: -40px;
    left: 3%;
    scale:1.1;
}

/* Las burbujas ocupan todo el espacio disponible */
.fsr-hero-bubbles .fsr-price-bubble {
    /*flex: 1;                           ocupa todo el ancho posible */
    width: fit-content;
    text-align: left;                 /* alineado a la izquierda */
    margin:0 !important;
    height: fit-content;
   
    white-space: nowrap;
}

.fsr-hero-bubbles .fsr-battery-bubble {
   
    display: flex;
    justify-content: flex-end;
    width: 80px !important;
    height: fit-content;
    margin: 0 !important;
}

.fsr-hero-bubbles .fsr-battery-bubble img {
    width: auto;
}


/* ⭐ Burbuja de precio siempre encima */
.fsr-card:not(.hero):not(.hero-horizontal) .fsr-price-bubble {
    position: absolute !important;
    z-index: 50 !important;
}




/* ICONOS DE FLECHAS EN CARROUSEL DE CARDS NORMALES */



.swiper-button-next,
.swiper-button-prev {
    display: none; /* temporal desactivación*/
    width: 110px;
    height: 110px;
    top:35% !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 20;
    opacity:0.6;
    filter: brightness(0) invert(1);

      box-shadow:0 2px 5px rgba(0,0,0,0.05);


}

.swiper-button-next:hover {
    opacity: 0.7;
  
}

/* Flecha derecha */
.swiper-button-next {
    background-image: url("/wp-content/uploads/2025/12/flechaiz.svg");
    margin-right: -3%!important;
        transform: rotate(180deg);
}

/* Flecha izquierda */
.swiper-button-prev {
    display: none; /* de momento no se usa porque con una flecha vale */
    background-image: url("/wp-content/uploads/2025/12/flechaiz.svg");
    margin-left: -4% !important;
}

/* Quitar iconos default de Swiper */
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
}






@media (max-width: 900px) {
    .fsr-hero-horizontal-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .fsr-hero-horizontal-wrapper .fsr-image-wrap {
        max-width: 80%;
    }

    .fsr-hero-horizontal-text {
        max-width: 90%;
    }
    
    
    

}





/* Responsive Hero */
@media (max-width: 991px) {
  .fsr-card.hero { height: 100vh !important; }
  .fsr-card.hero .fsr-hero-info {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  
  
  
  
  /* ============================
   💰 + 🔋 BUBBLE ROW — MOBILE TABLET
============================ */
.fsr-hero-bubbles {
    width: fit-content;
    display: flex;
    flex-direction: row;
    height: fit-content;
    align-items: center;
    justify-content: center !important; /* separación automática */
    gap: 16px;
    padding: 0 4vw !important;
    margin:0;
    flex-wrap:wrap;

}
  
    
  /*IMAGEN RESPONSIVE HERO*/
  .fsr-card.hero .fsr-image-wrap {
  width: 100%;
  height: 100vh;
  min-height: 400px;
  position: relative;
}
  
    .fsr-card.hero .fsr-card-title {
    font-size: clamp(24px, 5vw, 48px) !important;
    padding: 6px !important;
      width: fit-content !important;
      text-justify: center;
      justify-content:center;
      text-align: center;
      align-items:center;

  }
  
 
  
  
  
  
  
  .fsr-card.hero .fsr-options-actions {
    width: 70%;
  }
  
  
  
  
  
  



}
@media (max-width: 767px) {


  .fsr-card.hero .fsr-options-actions {
    width: 100%;
    border-radius: 0;
    padding: 12px;
  }

  
  .fsr-card.hero .fsr-buy-btn,
  .fsr-card.hero .fsr-cart-btn {
    font-size: 13px;
    padding: 8px;
  }
}





/* ================================
   HERO VIDEO
================================ */


.fsr-no-swiper {
    height: 100%;
    
}
.hero .fsr-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* VIDEO */
.hero .fsr-hero-video {
  position: relative;
  z-index: 1; /* El overlay irá encima */
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  border: none;
  pointer-events: none;
  background: #2c2c2c;
}

/* OVERLAY OSCURO */
.hero .fsr-image-wrap::after {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35); /* Ajusta opacidad aquí */
  z-index: 2; /* Encima del video */
  pointer-events: none;
}


/* ================================
   EXTRA
================================ */
.fsr-info-global {
  margin-bottom: 40px !important;
  font-size: 13px;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
.fsr-info-global small {
  display: inline-block;
  padding-left: 100%;
  animation: fsr-marquee 15s linear infinite;
}
.fsr-info-global small:hover { animation-play-state: paused; }
@keyframes fsr-marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}
@media (max-width: 767px) {
  .fsr-container { margin-top: 160px !important; }
}

.fsr-series-block { display: none; }
.fsr-series-block.active { display: block; }

/* ================================================
   DISENO COMPACTO DE LAS CARDS
   ------------------------------------------------
   Solo estetica. La logica (swatches, precios,
   variaciones, carrito) no se toca.
================================================ */

/* --- Rejilla: cards mas estrechas, caben mas --- */
.fsr-grid{
  grid-template-columns:repeat(auto-fill,minmax(255px,1fr)) !important;
  gap:22px 18px !important;
}

@media (max-width:640px){
  .fsr-grid{ grid-template-columns:repeat(2,1fr) !important; gap:14px 10px !important; }
}

/* --- EL MARCO --- */
.fsr-card:not(.hero):not(.hero-horizontal){
  border:1px solid #e6e6e6 !important;
  border-radius:16px !important;
  background:#fff;
  overflow:hidden;
  padding-bottom:0 !important;
  display:flex !important;
  flex-direction:column;
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.fsr-card:not(.hero):not(.hero-horizontal):hover{
  border-color:#d0d0d0 !important;
  box-shadow:0 10px 26px rgba(0,0,0,.10);
  transform:translateY(-3px);
}

/* --- Imagen cuadrada: alinea todas las filas --- */
.fsr-card:not(.hero):not(.hero-horizontal) .fsr-card-swiper{
  aspect-ratio:1 / 1;
  width:100%;
  background:#f7f7f7;
  border-radius:0 !important;
  overflow:hidden;
}

.fsr-card:not(.hero):not(.hero-horizontal) .fsr-image-wrap img,
.fsr-card:not(.hero):not(.hero-horizontal) .fsr-card-swiper .swiper-slide img,
.fsr-card:not(.hero):not(.hero-horizontal) .fsr-card-swiper .swiper-slide video{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  margin-bottom:0 !important;
  border-radius:0 !important;
}

/* --- Burbuja de precio mas discreta --- */
.fsr-card:not(.hero) .fsr-price-bubble{
  top:8px !important;
  right:8px !important;
  font-size:14px !important;
  font-weight:600 !important;
  padding:6px 12px !important;
  border-radius:100px !important;
  box-shadow:0 2px 8px rgba(0,0,0,.18) !important;
}

.fsr-card:not(.hero) .fsr-battery-bubble img{
  width:30px !important;
  height:30px !important;
}

/* --- Titulo: 2 lineas maximo --- */
.fsr-card:not(.hero) .fsr-card-title{
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1.3 !important;
  padding:12px 14px 8px !important;
  margin:0 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:2.6em;
}

/* --- Grupos de opciones: etiqueta y pastillas en linea --- */
.fsr-card:not(.hero) .fsr-options-row{
  padding:0 !important;
  gap:0 !important;
}

.fsr-card:not(.hero) .fsr-group{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  padding:0 14px !important;
  margin-bottom:8px !important;
}

.fsr-card:not(.hero) .fsr-group strong{
  font-size:10px !important;
  font-weight:700 !important;
  text-transform:uppercase;
  letter-spacing:.05em;
  /* L-28 (NAV-16, 16-09-2026): antes gris 154 (2,81:1 sobre blanco, por debajo del
     4,5:1 que pide WCAG AA para texto pequeno). #6b6b6b da 5,25:1 con el mismo aspecto. */
  color:#6b6b6b !important;
  flex:0 0 100%;
  margin-bottom:2px;
}

.fsr-card:not(.hero) .fsr-options{
  width:auto !important;
  flex:1 1 auto;
  gap:6px !important;
}

/* --- Pastillas de capacidad y grado: mucho mas pequenas --- */
.fsr-card:not(.hero) .fsr-swatch.fsr-capacity,
.fsr-card:not(.hero) .fsr-swatch.fsr-grade{
  min-width:0 !important;
  padding:6px 11px !important;
  font-size:12px !important;
  line-height:1.2 !important;
  border-radius:8px !important;
  border:1px solid #e8e8e8 !important;
  background:#fafafa !important;
}

.fsr-card:not(.hero) .fsr-swatch.fsr-capacity.active,
.fsr-card:not(.hero) .fsr-swatch.fsr-grade.active{
  border-radius:8px !important;
  border-color:#2c2c2c !important;
  box-shadow:none !important;
  padding:6px 11px !important;
}

/* --- Circulos de color: de 40px a 22px --- */
.fsr-card:not(.hero) .fsr-options.fsr-colors .fsr-color,
.fsr-card:not(.hero) .fsr-swatch.fsr-color{
  width:22px !important;
  height:22px !important;
  min-width:22px !important;
  padding:0 !important;
  border:1px solid rgba(0,0,0,.15) !important;
}

.fsr-card:not(.hero) .fsr-swatch.fsr-color.active{
  box-shadow:inset 0 0 0 3px #fff, 0 0 0 2px #2c2c2c !important;
}

/* --- "Borrar Seleccion": de botonazo a enlace discreto --- */
.fsr-card:not(.hero) .fsr-clear-all{
  width:auto !important;
  margin:2px 14px 10px auto !important;
  padding:2px 0 !important;
  font-size:11px !important;
  font-weight:500 !important;
  background:transparent !important;
  /* L-28 (NAV-16): mismo motivo que arriba (2,81:1 -> 5,25:1). */
  color:#6b6b6b !important;
  text-decoration:underline;
  border-radius:0 !important;
  height:auto !important;
}

.fsr-card:not(.hero) .fsr-clear-all:hover{ color:#2c2c2c !important; }

/* --- Acciones abajo del todo, siempre alineadas --- */
.fsr-card:not(.hero) .fsr-actions{
  margin:auto 0 0 !important;
  padding:10px 14px 14px !important;
}

.fsr-card:not(.hero) .fsr-buy-btn{
  min-height:38px !important;
  padding:9px 14px !important;
  font-size:14px !important;
  font-weight:600 !important;
  border-radius:10px !important;
}

/* ================================================
   PESTANAS
================================================ */
.fsr-filters{
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto;
  gap:10px;
  margin:0 0 22px;
  padding:14px 0;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(14px);
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.fsr-filters::-webkit-scrollbar{ display:none; }

.fsr-tab{ white-space:nowrap; flex:0 0 auto; }

/* ================================================
   PIE DE REJILLA
================================================ */
.fsr-grid-footer{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin:36px 0 20px;
}

.fsr-load-more{
  margin-left:0 !important;
  margin-right:0 !important;
  padding:13px 32px !important;
  border-radius:200px !important;
  font-weight:600;
  border:none;
  cursor:pointer;
}
.fsr-load-more[hidden]{ display:none !important; }
.fsr-load-more.is-loading{ opacity:.55; pointer-events:none; }

/* L-28 (NAV-16, 16-09-2026): el contador «12 de 42» era gris 153 (2,59:1 sobre blanco).
   #6b6b6b da 5,25:1, el mismo gris que las etiquetas de las tarjetas. */
.fsr-grid-count{ font-size:13px; color:#6b6b6b; margin:0; }
.fsr-sentinel{ height:1px; width:100%; }

/* ================================================
   SKELETONS
================================================ */
.fsr-skeleton{
  border-radius:16px;
  aspect-ratio:1 / 1.45;
  background:linear-gradient(100deg,#f2f2f2 30%,#e9e9e9 50%,#f2f2f2 70%);
  background-size:220% 100%;
  animation:fsr-shimmer 1.1s linear infinite;
  list-style:none;
  border:1px solid #eee;
}

@keyframes fsr-shimmer{
  from{ background-position:220% 0; }
  to  { background-position:-20% 0; }
}

@media (prefers-reduced-motion:reduce){
  .fsr-skeleton{ animation:none; }
  .fsr-card{ transition:none; }
}


/* ================================================
   COLOR DE MARCA
   ------------------------------------------------
   Cambia --fsr-brand y se actualiza todo de golpe.
================================================ */
:root{
  --fsr-brand:#FFD400;        /* amarillo FoneStore */
  --fsr-brand-soft:#FFF7CC;   /* version clara, para fondos */
  --fsr-ink:#1F1F1F;          /* texto/oscuro */
}

/* --- Fondo del catalogo: si es blanco sobre blanco,
       las cards no se distinguen --- */
.fsr-cards-wrap{
  background:#F4F4F6;
  border-radius:22px;
  padding:24px 20px 8px;
  margin-top:4px;
}

@media (max-width:640px){
  .fsr-cards-wrap{ padding:14px 10px 4px; border-radius:16px; }
}

/* Las cards en blanco puro destacan sobre ese gris */
.fsr-card:not(.hero):not(.hero-horizontal){
  background:#fff !important;
  border-color:#E9E9EC !important;
}

.fsr-card:not(.hero):not(.hero-horizontal):hover{
  border-color:var(--fsr-brand) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

/* --- Precio: de gris translucido a negro solido.
       Se lee mucho mejor sobre cualquier foto --- */
.fsr-card:not(.hero) .fsr-price-bubble{
  background:var(--fsr-ink) !important;
  color:#fff !important;
  backdrop-filter:none !important;
}

/* --- Opcion seleccionada en amarillo --- */
.fsr-card:not(.hero) .fsr-swatch.fsr-capacity.active,
.fsr-card:not(.hero) .fsr-swatch.fsr-grade.active{
  background:var(--fsr-brand) !important;
  border-color:var(--fsr-brand) !important;
  color:var(--fsr-ink) !important;
  font-weight:600 !important;
}

.fsr-card:not(.hero) .fsr-swatch.fsr-capacity.selectable:hover,
.fsr-card:not(.hero) .fsr-swatch.fsr-grade.selectable:hover{
  border-color:var(--fsr-ink) !important;
  background:#fff !important;
}

.fsr-card:not(.hero) .fsr-swatch.fsr-color.active{
  box-shadow:inset 0 0 0 3px #fff, 0 0 0 2px var(--fsr-brand) !important;
}

/* --- Boton Comprar --- */
.fsr-card:not(.hero) .fsr-buy-btn:not(.disabled){
  background:var(--fsr-ink) !important;
  color:#fff !important;
}

.fsr-card:not(.hero) .fsr-buy-btn:not(.disabled):hover{
  background:var(--fsr-brand) !important;
  color:var(--fsr-ink) !important;
}

/* Deshabilitado: apagado pero no invisible */
.fsr-card:not(.hero) .fsr-buy-btn.disabled{
  background:#EFEFF1 !important;
  color:#A8A8AE !important;
  cursor:not-allowed;
}

/* --- Pestana activa en amarillo --- */
.fsr-tab.active{
  background:var(--fsr-brand) !important;
  color:var(--fsr-ink) !important;
  box-shadow:0 4px 12px rgba(255,212,0,.4) !important;
}

.fsr-filters{ background:transparent; }

/* --- Boton "Ver mas modelos" --- */
.fsr-load-more{
  background:var(--fsr-ink) !important;
  color:#fff !important;
}
.fsr-load-more:hover{
  background:var(--fsr-brand) !important;
  color:var(--fsr-ink) !important;
}


/* ================================================
   ALTURA UNIFORME
   ------------------------------------------------
   Todas las cards de una misma fila miden lo mismo,
   independientemente de si el nombre ocupa 1 o 2
   lineas o de cuantas opciones de grado tenga.
   El boton Comprar queda siempre anclado abajo.
================================================ */

.fsr-grid{ align-items:stretch !important; }

.fsr-grid > *{ height:100% !important; }

/* La card pasa a ser una columna flexible de altura completa.
   Ojo: el CSS original tenia height:fit-content, hay que anularlo. */
.fsr-card:not(.hero):not(.hero-horizontal){
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
}

/* La imagen no se deforma aunque sobre altura */
.fsr-card:not(.hero):not(.hero-horizontal) .fsr-image-wrap{
  flex:0 0 auto;
}

/* Titulo: SIEMPRE reserva 2 lineas, tenga 1 o 2.
   Es lo que evita que los bloques de abajo bailen. */
.fsr-card:not(.hero) .fsr-card-title{
  min-height:2.6em !important;
  align-items:flex-start !important;
  flex:0 0 auto;
}

/* La zona de opciones absorbe el espacio sobrante:
   asi el hueco extra se reparte aqui y no descoloca nada */
.fsr-card:not(.hero):not(.hero-horizontal) > .fsr-options-row{
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:0;
}

.fsr-card:not(.hero):not(.hero-horizontal) > .fsr-options-row > .fsr-options-row{
  display:flex !important;
  flex-direction:column !important;
  width:100%;
}

/* Una pastilla nunca parte su texto por la mitad */
.fsr-card:not(.hero) .fsr-swatch.fsr-capacity,
.fsr-card:not(.hero) .fsr-swatch.fsr-grade{
  white-space:nowrap !important;
}

/* "Borrar Seleccion" pegado al final de las opciones */
.fsr-card:not(.hero) .fsr-clear-all{
  margin-top:auto !important;
  align-self:flex-end;
}

/* Acciones ancladas abajo del todo */
.fsr-card:not(.hero):not(.hero-horizontal) .fsr-actions{
  margin-top:auto !important;
  flex:0 0 auto;
}

.fsr-card:not(.hero) .fsr-buy-btn{
  width:100% !important;
}


/* ================================================
   AJUSTES DE TIENDA
   Solo estetica. Nada de logica.
================================================ */

/* --- 1. Borde al pasar por encima: gris, no amarillo --- */
.fsr-card:not(.hero):not(.hero-horizontal):hover{
  border-color:#C9C9CF !important;
  box-shadow:0 10px 26px rgba(0,0,0,.10) !important;
}

/* --- 2. Titulo del modelo en negro --- */
.fsr-card:not(.hero) .fsr-card-title,
.fsr-card:not(.hero) .fsr-card-title a{
  color:#111 !important;
}

/* --- 3. Capacidad: fondo mas marcado --- */
.fsr-card:not(.hero) .fsr-swatch.fsr-capacity{
  background:#EFEFF3 !important;
  border:1px solid #E0E0E6 !important;
  color:#2B2B2B !important;
  font-size:12px !important;
  padding:6px 12px !important;
  font-weight:500 !important;
}

.fsr-card:not(.hero) .fsr-swatch.fsr-capacity.selectable:hover{
  background:#E4E4EA !important;
  border-color:#BDBDC6 !important;
}

/* Seleccionada: sigue en amarillo (es la senal de "esto has elegido") */
.fsr-card:not(.hero) .fsr-swatch.fsr-capacity.active{
  background:var(--fsr-brand) !important;
  border-color:var(--fsr-brand) !important;
  color:var(--fsr-ink) !important;
  font-weight:600 !important;
}

/* --- 4. Grado: mismo estilo, mas contenido de tamano --- */
.fsr-card:not(.hero) .fsr-swatch.fsr-grade{
  font-size:11px !important;
  padding:5px 10px !important;
  border-radius:7px !important;
  font-weight:500 !important;
  background:#FBFBFC !important;
  border:1px solid #E8E8EC !important;
  color:#4A4A52 !important;
  letter-spacing:.01em;
}

.fsr-card:not(.hero) .fsr-swatch.fsr-grade.selectable:hover{
  border-color:#BDBDC6 !important;
  color:#1F1F1F !important;
}

.fsr-card:not(.hero) .fsr-swatch.fsr-grade.active{
  background:var(--fsr-brand) !important;
  border-color:var(--fsr-brand) !important;
  color:var(--fsr-ink) !important;
  font-weight:600 !important;
  padding:5px 10px !important;
}

/* --- 5. Fuera la burbuja de bateria: el grado ya lo dice ---
   Si algun dia la quieres de vuelta, borra este bloque. */
.fsr-card:not(.hero):not(.hero-horizontal) .fsr-battery-bubble{
  display:none !important;
}

/* --- 6. Boton Comprar --- */
.fsr-card:not(.hero) .fsr-buy-btn{
  width:100% !important;
  min-height:42px !important;
  padding:11px 16px !important;
  font-size:14px !important;
  font-weight:600 !important;
  letter-spacing:.01em;
  border-radius:10px !important;
  border:none !important;
  gap:8px;
  transition:background .2s ease, color .2s ease, transform .15s ease;
}

.fsr-card:not(.hero) .fsr-buy-btn:not(.disabled){
  background:#111 !important;
  color:#fff !important;
  cursor:pointer;
}

.fsr-card:not(.hero) .fsr-buy-btn:not(.disabled):hover{
  background:var(--fsr-brand) !important;
  color:#111 !important;
  transform:translateY(-1px);
}

.fsr-card:not(.hero) .fsr-buy-btn.disabled{
  background:#F0F0F3 !important;
  color:#AFAFB8 !important;
  cursor:not-allowed;
}


/* ================================================
   BOTON COMPRAR
   ------------------------------------------------
   Disposicion original (el carrito sigue oculto,
   como estaba en el CSS de partida). Solo cambian
   los colores: negro solido en vez de gris.
================================================ */

.fsr-card:not(.hero) .fsr-actions{
  display:flex !important;
  gap:8px !important;
  padding:10px 14px 16px !important;
  margin-top:auto !important;
}

.fsr-card:not(.hero) .fsr-buy-btn{
  flex:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:11px 16px !important;
  font-size:14px !important;
  font-weight:600 !important;
  border:none !important;
  border-radius:10px !important;
  text-decoration:none !important;
  transition:background .2s ease, color .2s ease;
}

/* Activo */
.fsr-card:not(.hero) .fsr-buy-btn:not(.disabled){
  background:#111 !important;
  color:#fff !important;
  opacity:1 !important;
  pointer-events:auto !important;
  cursor:pointer;
}

.fsr-card:not(.hero) .fsr-buy-btn:not(.disabled):hover{
  background:#000 !important;
}

/* Deshabilitado (hasta elegir todas las opciones) */
.fsr-card:not(.hero) .fsr-buy-btn.disabled{
  background:#F0F0F3 !important;
  color:#AFAFB8 !important;
  opacity:1 !important;
  cursor:not-allowed;
}


/* ================================================
   MAS DEFINICION
================================================ */

/* --- Cards: borde mas marcado, ya no se pierden
       sobre el fondo gris --- */
.fsr-card:not(.hero):not(.hero-horizontal){
  border:1px solid #D6D6DD !important;
  box-shadow:0 1px 3px rgba(0,0,0,.05) !important;
  background:#fff !important;
}

.fsr-card:not(.hero):not(.hero-horizontal):hover{
  border-color:#8E8E99 !important;
  box-shadow:0 10px 26px rgba(0,0,0,.12) !important;
}

/* --- Boton Comprar: negro en los dos estados --- */

/* Activo: negro puro, texto blanco */
.fsr-card:not(.hero) .fsr-buy-btn:not(.disabled){
  background:#111 !important;
  color:#fff !important;
  opacity:1 !important;
  cursor:pointer;
}

.fsr-card:not(.hero) .fsr-buy-btn:not(.disabled):hover{
  background:#000 !important;
}

/* Deshabilitado: sigue siendo negro, pero mas apagado.
   Asi la card no se ve lavada y aun se distingue que
   falta elegir opciones. */
.fsr-card:not(.hero) .fsr-buy-btn.disabled{
  background:#33333A !important;
  color:#9C9CA6 !important;
  opacity:1 !important;
  cursor:pointer;
}

/* --- Separacion entre pastillas y boton --- */
.fsr-card:not(.hero) .fsr-actions{
  border-top:1px solid #F0F0F3;
  margin-top:auto !important;
  padding:12px 14px 14px !important;
}


/* ================================================
   MOVIL
   ------------------------------------------------
   Problemas que resuelve:
     - el precio desbordaba y tapaba la foto
     - las pastillas de grado se salian de la card
     - las capacidades se apilaban de una en una
================================================ */

@media (max-width:640px){

  /* Ninguna pastilla puede salirse de la card.
     Esto anula el white-space:nowrap que puse antes,
     que en pantalla estrecha provocaba el desborde. */
  .fsr-card:not(.hero) .fsr-swatch.fsr-capacity,
  .fsr-card:not(.hero) .fsr-swatch.fsr-grade{
    white-space:normal !important;
    max-width:100% !important;
    overflow-wrap:anywhere;
    text-align:center;
  }

  /* Capacidades en fila, no una por linea */
  .fsr-card:not(.hero) .fsr-options{
    flex-direction:row !important;
    flex-wrap:wrap !important;
    gap:5px !important;
  }

  .fsr-card:not(.hero) .fsr-swatch.fsr-capacity{
    flex:0 0 auto !important;
    font-size:11px !important;
    padding:5px 9px !important;
  }

  .fsr-card:not(.hero) .fsr-swatch.fsr-grade{
    font-size:10px !important;
    padding:5px 8px !important;
    line-height:1.25 !important;
  }

  /* --- El precio: dentro de la card y sin tapar la foto --- */
  .fsr-card:not(.hero) .fsr-price-bubble{
    top:6px !important;
    right:6px !important;
    left:auto !important;
    max-width:calc(100% - 12px) !important;
    font-size:11px !important;
    font-weight:600 !important;
    padding:5px 9px !important;
    border-radius:100px !important;
    white-space:nowrap !important;
    overflow:hidden;
    text-overflow:ellipsis;
    line-height:1.3 !important;
  }

  /* Titulo y etiquetas mas contenidos */
  .fsr-card:not(.hero) .fsr-card-title{
    font-size:13px !important;
    padding:10px 10px 6px !important;
  }

  .fsr-card:not(.hero) .fsr-group{
    padding:0 10px !important;
    margin-bottom:6px !important;
  }

  .fsr-card:not(.hero) .fsr-group strong{
    font-size:9px !important;
  }

  .fsr-card:not(.hero) .fsr-swatch.fsr-color{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
  }

  .fsr-card:not(.hero) .fsr-actions{
    padding:10px !important;
  }

  .fsr-card:not(.hero) .fsr-buy-btn{
    min-height:38px !important;
    font-size:13px !important;
  }

  .fsr-card:not(.hero) .fsr-clear-all{
    margin-right:10px !important;
    font-size:10px !important;
  }
}

/* --- Moviles estrechos (iPhone 13 y similares):
       una sola columna. A dos columnas cada card
       queda en ~165px y no cabe nada. --- */
@media (max-width:480px){

  .fsr-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .fsr-cards-wrap{ padding:12px 8px 4px !important; }

  /* Con toda la anchura, el precio vuelve a tamano normal */
  .fsr-card:not(.hero) .fsr-price-bubble{
    font-size:13px !important;
    padding:6px 12px !important;
  }

  .fsr-card:not(.hero) .fsr-card-title{ font-size:15px !important; }

  .fsr-card:not(.hero) .fsr-swatch.fsr-capacity{ font-size:12px !important; padding:6px 11px !important; }
  .fsr-card:not(.hero) .fsr-swatch.fsr-grade{ font-size:11px !important; padding:5px 10px !important; }
}


/* ================================================
   PRECIO CON Y SIN IVA
================================================ */

.fsr-card:not(.hero) .fsr-price-bubble{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  gap:1px !important;
  line-height:1.15 !important;
  padding:7px 13px !important;
  text-align:right;
}

/* Sin IVA: el grande */
.fsr-card:not(.hero) .fsr-price-main{
  font-size:15px !important;
  font-weight:400 !important;
  color:#fff !important;
  white-space:nowrap;
}

/* Con IVA: el pequeno */
.fsr-card:not(.hero) .fsr-price-sub{
  font-size:10px !important;
  font-weight:500 !important;
  color:rgba(255,255,255,.65) !important;
  white-space:nowrap;
}

@media (max-width:640px){
  .fsr-card:not(.hero) .fsr-price-bubble{
    padding:6px 10px !important;
  }
  .fsr-card:not(.hero) .fsr-price-main{ font-size:13px !important; }
  .fsr-card:not(.hero) .fsr-price-sub{  font-size:9px  !important; }
}

@media (max-width:480px){
  .fsr-card:not(.hero) .fsr-price-main{ font-size:15px !important; }
  .fsr-card:not(.hero) .fsr-price-sub{  font-size:10px !important; }
}


/* ================================================
   ETIQUETAS DEL PRECIO
================================================ */

.fsr-card:not(.hero) .fsr-price-main{
  display:flex !important;
  flex-direction:column;
  align-items:flex-end;
  line-height:1.1 !important;
}

/* "sin IVA" / "con IVA" bajo el importe grande */
.fsr-card:not(.hero) .fsr-price-main small{
  font-size:9px !important;
  font-weight:500 !important;
  letter-spacing:.06em;
  text-transform:uppercase;
  opacity:.7;
  margin-top:1px;
}

.fsr-card:not(.hero) .fsr-price-sub{
  font-size:10px !important;
  opacity:.65;
}


/* ================================================
   PRECIO: "sin IVA" AL LADO, NO DEBAJO
================================================ */

.fsr-card:not(.hero) .fsr-price-main{
  display:flex !important;
  flex-direction:row !important;      /* al lado, no apilado */
  align-items:baseline !important;    /* alinea por la linea del texto */
  gap:5px !important;                 /* el espacio que faltaba */
  flex-wrap:nowrap;
  line-height:1.15 !important;
}

.fsr-card:not(.hero) .fsr-price-main small{
  font-size:10px !important;
  font-weight:400 !important;
  letter-spacing:.04em;
  text-transform:uppercase;
  opacity:.8;
  margin-top:0 !important;
  white-space:nowrap;
}

.fsr-card:not(.hero) .fsr-price-sub{
  font-size:10.5px !important;
  opacity:.7;
  margin-top:1px;
}

/* --- Movil estrecho: si no cabe en una linea,
       vuelve a apilarse debajo --- */
@media (max-width:480px){
  .fsr-card:not(.hero) .fsr-price-main{
    flex-direction:column !important;
    align-items:flex-end !important;
    gap:0 !important;
  }
  .fsr-card:not(.hero) .fsr-price-main small{
    font-size:9px !important;
  }
}


/* ================================================
   PRECIO: TODO EN BLANCO
   ------------------------------------------------
   Antes iban con opacity reducida sobre fondo negro
   y quedaban apagados. Se sustituye la opacidad por
   blanco solido o casi solido.
================================================ */

/* Importe grande */
.fsr-card:not(.hero) .fsr-price-main{
  color:#fff !important;
  opacity:1 !important;
  font-size:13px !important;
  font-weight:400 !important;
}

/* Etiqueta "SIN IVA" */
.fsr-card:not(.hero) .fsr-price-main small{
  color:#fff !important;
  opacity:1 !important;
  font-weight:400 !important;
}

/* Linea "1.366,69€ con IVA" */
.fsr-card:not(.hero) .fsr-price-sub{
  color:#fff !important;
  opacity:.92 !important;
  font-weight:700 !important;
  font-size:15px !important;
}

/* La burbuja entera, por si algo heredaba gris */
.fsr-card:not(.hero) .fsr-price-bubble,
.fsr-card:not(.hero) .fsr-price-bubble *{
  color:#fff !important;
}


/* ================================================
   MODAL DE DETALLES DEL PRODUCTO
================================================ */
body.fsr-modal-open{ overflow:hidden; }

.fsr-card:not(.hero):not(.hero-horizontal) .fsr-card-swiper img,
.fsr-card:not(.hero):not(.hero-horizontal) .fsr-card-title{
  cursor:pointer;
}

.fsr-product-modal{
  --fsr-modal-top:176px;
  display:none;
  position:fixed;
  inset:var(--fsr-modal-top) 0 0;
  z-index:100000;
  align-items:center;
  justify-content:center;
  padding:18px 24px 24px;
}

.fsr-product-modal.is-open{ display:flex; }

.fsr-product-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(12,12,14,.72);
  backdrop-filter:blur(5px);
}

.fsr-product-modal-panel{
  position:relative;
  z-index:1;
  width:min(1380px, 98vw);
  max-height:calc(100vh - var(--fsr-modal-top) - 80px);
  max-height:calc(100dvh - var(--fsr-modal-top) - 80px);
  overflow:auto;
  border-radius:22px;
  background:#fff;
  color:#1f1f1f;
  box-shadow:0 28px 90px rgba(0,0,0,.32);
}

.fsr-product-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:5;
  width:40px;
  height:40px;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  border:0;
  border-radius:50% !important;
  background:rgba(255,255,255,.94) !important;
  color:#111 !important;
  box-shadow:0 3px 14px rgba(0,0,0,.15);
  font-size:27px;
  line-height:1 !important;
  cursor:pointer;
}

.fsr-product-modal-loading,
.fsr-product-modal-error{
  min-height:260px;
  padding:100px 30px;
  text-align:center;
  font-size:16px;
}

.fsr-product-modal-body{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(340px, .92fr);
  min-height:610px;
}

.fsr-product-modal-body[hidden],
.fsr-product-modal-loading[hidden],
.fsr-product-modal-error[hidden]{ display:none !important; }

.fsr-modal-gallery{
  min-width:0;
  padding:32px;
  border-radius:22px 0 0 22px;
  background:#f3f3f5;
}

.fsr-modal-main-image{
  display:flex;
  width:100%;
  height:470px;
  align-items:center;
  justify-content:center;
  padding:0 !important;
  border:0 !important;
  border-radius:16px !important;
  background:#fff !important;
  overflow:hidden;
  cursor:zoom-in;
}

.fsr-modal-main-image img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:100%;
  object-fit:contain;
}

.fsr-modal-thumbnails{
  display:flex;
  gap:9px;
  margin-top:14px;
  padding:2px 2px 6px;
  overflow-x:auto;
}

.fsr-modal-thumb{
  flex:0 0 68px;
  width:68px;
  height:68px;
  padding:3px !important;
  border:2px solid transparent !important;
  border-radius:10px !important;
  background:#fff !important;
  cursor:pointer;
}

.fsr-modal-thumb.active{ border-color:var(--fsr-brand, #FFD400) !important; }
.fsr-modal-thumb img{ width:100%; height:100%; object-fit:contain; border-radius:6px; }

.fsr-modal-product-info{
  min-width:0;
  padding:42px 42px 36px;
}

.fsr-modal-product-info > .fsr-modal-price,
.fsr-modal-product-info > .fsr-modal-options,
.fsr-modal-product-info > .fsr-modal-express,
.fsr-modal-product-info > .fsr-modal-discount,
.fsr-modal-product-info > .fsr-modal-add-cart,
.fsr-modal-product-info > .fsr-modal-consult-btn,
.fsr-modal-product-info > .fsr-modal-description-wrap{
  border-top:1px solid #e5e5e9;
  padding-top:18px;
}

.fsr-modal-price-row{
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap:14px;
  margin-bottom:24px;
  padding-top:18px;
  border-top:1px solid #e5e5e9;
}

.fsr-modal-kicker{
  margin:0 0 5px;
  color:#777780;
  font-size:11px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.fsr-modal-title{
  margin:0 0 14px;
  color:#111;
  font-size:clamp(26px, 3vw, 38px);
  font-weight:700 !important;
  line-height:1.6;
  text-align:center;
}

.fsr-modal-price{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  flex:0 0 auto;
  width:max-content;
  max-width:100%;
  margin:0;
  padding:14px 20px !important;
  border:0 !important;
  border-radius:36px;
  background:#2c2c2c;
  color:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
  text-align:center;
}

.fsr-modal-price .fsr-price-main{ font-size:24px; font-weight:750; color:#fff; }
.fsr-modal-price .fsr-price-main small{ margin-left:6px; font-size:10px; text-transform:uppercase; }
.fsr-modal-price strong.fsr-price-sub{ margin-top:3px; color:#fff !important; font-size:12px; font-weight:800 !important; }

.fsr-modal-field{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:12px;
  color:#333;
  font-size:13px;
  font-weight:700;
}

.fsr-modal-options{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:center;
  margin:0 0 42px;
}

.fsr-modal-option-group{
  min-width:0;
  margin:0;
  padding:0 0 2px;
  border:0;
  text-align:center;
}

.fsr-modal-option-group legend{
  margin:0 0 7px;
  padding:0;
  color:#333;
  font-size:13px;
  font-weight:700;
}

.fsr-modal-option-buttons{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:7px;
}

.fsr-modal-option{
  min-height:38px;
  padding:7px 13px !important;
  border:1px solid #d6d6dc !important;
  border-radius:7px !important;
  background:#EFEFF3 !important;
  color:#2B2B2B !important;
  font-size:12px;
  font-weight:650;
  line-height:1.2;
  cursor:pointer;
}

.fsr-modal-option:hover:not(:disabled){ border-color:#777 !important; }
.fsr-modal-option.active{
  border-color:var(--fsr-brand, #FFD400) !important;
  background:#EFEFF3 !important;
  color:#2B2B2B !important;
  box-shadow:0 0 0 2px var(--fsr-brand, #FFD400);
}
.fsr-modal-option-group-color .fsr-modal-option{
  flex:0 0 30px;
  width:30px;
  height:30px;
  min-height:30px;
  min-width:30px;
  padding:0 !important;
  border-radius:50% !important;
  background:var(--fsr-option-color, #999) !important;
  color:transparent !important;
}
.fsr-modal-option-group-color .fsr-modal-option.active{
  border-color:#fff !important;
  background:var(--fsr-option-color, #999) !important;
  box-shadow:inset 0 0 0 3px #fff, 0 0 0 2px var(--fsr-brand, #FFD400);
}
.fsr-modal-option-group-capacidad .fsr-modal-option{
  padding:6px 12px !important;
  font-size:12px;
  font-weight:500;
}
.fsr-modal-option-group-grade .fsr-modal-option{
  padding:5px 10px !important;
  border-radius:7px !important;
  font-size:11px;
  font-weight:500;
}
.fsr-modal-option:disabled{ opacity:.32; cursor:not-allowed; }

.fsr-modal-express{
  display:flex;
  gap:11px;
  align-items:flex-start;
  margin:0 0 42px;
  padding:13px;
  border:1px solid #dddde2;
  border-radius:11px;
  cursor:pointer;
}

.fsr-modal-express input{ width:18px; height:18px; margin:2px 0 0; accent-color:#111; }
.fsr-modal-express span{
  display:block;
  min-width:0;
  max-height:2.8em;
  overflow:hidden;
  line-height:1.4;
}
.fsr-modal-express > span > strong{ font-size:16px !important; font-weight:700 !important; }
.fsr-modal-express small{ color:#707078; font-size:10px; font-weight:400; line-height:1.4; }
.fsr-modal-express small strong{ color:#111 !important; font-weight:500 !important; }

.fsr-modal-discount{
  width:100%;
  max-width:none;
  display:flex;
  flex-direction:column;
  gap:3px;
  margin:14px 0 0;
  padding:14px 16px;
  border:0;
  border-radius:0;
  background:var(--fsr-brand, #FFD400);
  color:#111;
}

.fsr-modal-discount strong{ font-size:13px; font-weight:800; }
.fsr-modal-discount span{
  display:block;
  font-size:13px;
  font-weight:600;
  line-height:1.45;
  white-space:normal;
  overflow-wrap:break-word;
}
.fsr-modal-discount span strong.fsr-savings{
  font-size:16px;
  font-weight:800 !important;
  -webkit-text-stroke:.25px currentColor;
}

.fsr-modal-add-cart{
  width:100%;
  min-height:48px;
  padding:12px 18px !important;
  border:0 !important;
  border-radius:11px !important;
  background:#111 !important;
  color:#fff !important;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.fsr-modal-add-cart:hover{ background:#000 !important; }
.fsr-modal-add-cart:disabled{ opacity:.65; cursor:wait; }
/* Modelo «Consultar precio» dentro de la ventana (16-09-2026): se ven las versiones y
   la descripción, pero no se puede comprar, así que fuera el carrito, el envío express
   y el descuento por volumen, y en su sitio el botón que lleva al formulario. */
.fsr-product-modal.fsr-modal--consultar .fsr-modal-add-cart,
.fsr-product-modal.fsr-modal--consultar .fsr-modal-express,
.fsr-product-modal.fsr-modal--consultar .fsr-modal-discount,
.fsr-product-modal.fsr-modal--consultar .fsr-modal-cart-message{ display:none; }

.fsr-modal-consult-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:48px;
  padding:12px 18px !important;
  border-radius:11px;
  background:#111;
  color:#fff !important;
  font-size:14px;
  font-weight:700;
  text-decoration:none !important;
  transition:background .2s ease, color .2s ease;
}
.fsr-modal-consult-btn:hover,
.fsr-modal-consult-btn:focus-visible{ background:var(--fsr-brand, #FFC700); color:#111 !important; }
.fsr-modal-consult-btn[hidden]{ display:none; }

.fsr-modal-cart-message{ min-height:18px; margin:6px 0 0; color:#317333; font-size:12px; }
.fsr-modal-cart-message.is-error{ color:#b3261e; }

/* Mensaje de stock dentro del modal: el mismo de la tarjeta, junto al precio */
.fsr-modal-price-row .fsr-modal-stock-badge{
  align-self:center;
  padding:4px 11px;
  font-size:12px;
}

.fsr-modal-description-wrap{
  margin-top:22px;
  padding-top:19px;
  border-top:1px solid #ececf0;
}

.fsr-modal-description-wrap h3{ margin:0 0 8px; font-size:16px; }
.fsr-modal-description{ color:#55555d; font-size:13px; line-height:1.6; }
.fsr-modal-description > :first-child{ margin-top:0; }
.fsr-modal-description > :last-child{ margin-bottom:0; }
.fsr-modal-description ul{ margin:10px 0; padding-left:19px; }
.fsr-modal-description li{ margin:5px 0; }
.fsr-modal-official-source a{ color:#202020; font-weight:700; text-decoration:underline; }

.fsr-image-lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:100002;
  align-items:center;
  justify-content:center;
  padding:30px;
  background:rgba(0,0,0,.92);
}

.fsr-image-lightbox.is-open{ display:flex; }
.fsr-image-lightbox img{ max-width:94vw; max-height:90vh; object-fit:contain; }
.fsr-image-lightbox-close{
  position:absolute;
  top:18px;
  right:22px;
  width:44px;
  height:44px;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#fff !important;
  font-size:36px;
  cursor:pointer;
}

@media (max-width:780px){
  .fsr-product-modal{ padding:8px 0 0; align-items:flex-end; }
  .fsr-product-modal-panel{ width:100%; max-height:calc(100vh - var(--fsr-modal-top) - 8px); max-height:calc(100dvh - var(--fsr-modal-top) - 8px); border-radius:20px 20px 0 0; }
  .fsr-product-modal-body{ display:block; min-height:0; }
  .fsr-modal-gallery{ padding:18px 16px 12px; border-radius:20px 20px 0 0; }
  .fsr-modal-main-image{ height:min(46vh, 390px); }
  .fsr-modal-product-info{ padding:24px 18px 30px; }
  .fsr-modal-price-row{ flex-direction:column; align-items:stretch; }
  .fsr-modal-price{ width:auto; align-items:center; }
  .fsr-modal-title{ font-size:27px; }
  .fsr-modal-thumb{ flex-basis:58px; width:58px; height:58px; }
}

/* =====================================================
   CONFIRMACIÓN AL AÑADIR AL CARRITO
===================================================== */
.fsr-cart-toast{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:2147483000;
  display:flex;
  align-items:center;
  gap:14px;
  width:min(400px, calc(100vw - 32px));
  padding:14px 14px 14px 16px;
  border-radius:14px;
  background:#111;
  color:#fff;
  box-shadow:0 12px 32px rgba(0,0,0,.28);
  opacity:0;
  transform:translateY(16px);
  transition:opacity .22s ease, transform .22s ease;
  pointer-events:none;
}
.fsr-cart-toast.is-visible{ opacity:1; transform:none; pointer-events:auto; }
.fsr-cart-toast[hidden]{ display:none !important; }

.fsr-cart-toast-icon{
  display:flex;
  flex:0 0 34px;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--fsr-brand, #FFD400);
  color:#111;
  font-size:18px;
  font-weight:800;
}
.fsr-cart-toast-text{ display:flex; flex:1 1 auto; min-width:0; flex-direction:column; gap:2px; line-height:1.3; }
.fsr-cart-toast-text strong{ font-size:14px; }
.fsr-cart-toast-product{ font-size:13px; color:#e8e8e8; }
.fsr-cart-toast-options{ font-size:12px; color:#b5b5b5; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fsr-cart-toast-options[hidden]{ display:none; }

.fsr-cart-toast-actions{ display:flex; flex:0 0 auto; align-items:center; gap:6px; }
.fsr-cart-toast-cart{
  padding:8px 12px;
  border-radius:9px;
  background:var(--fsr-brand, #FFD400);
  color:#111 !important;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  white-space:nowrap;
}
.fsr-cart-toast-cart:hover{ filter:brightness(.95); }
.fsr-cart-toast-close{
  width:30px;
  height:30px;
  padding:0 !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#bbb !important;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.fsr-cart-toast-close:hover{ color:#fff !important; background:rgba(255,255,255,.08) !important; }

@media (max-width:780px){
  .fsr-cart-toast{ right:16px; left:16px; bottom:16px; width:auto; }
}
@media (prefers-reduced-motion:reduce){
  .fsr-cart-toast{ transition:none; }
}

/* ==========================================================================
   Capa B2B (parche de Eloy, documentacion/parche-catalogo-b2b/fsr-cards-b2b.css).
   Aplicado el 14-09-2026 solo lo aprobado: sellos, volumen, nota de stock y
   estado vacío. Sin «/ud.», sin enlace de presupuesto y sin nota de lotes.
   ========================================================================== */
.fsr-empty a {
    color: inherit;
    font-weight: 600;
    border-bottom: 2px solid #FFC700;
    text-decoration: none;
}
/* Sello común del catálogo (15-09-2026): garantía, taller, volumen y nota de unidades,
   una sola vez encima de las tarjetas en lugar de repetirlo en cada una. */
.fsr-sello {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 22px;
    margin: 0 auto 28px;
    padding: 14px 22px;
    max-width: 1100px;
    background: #fffbe6;
    border: 1px solid #ffe27a;
    border-radius: 14px;
    color: #1f1f1f;
    text-align: center;
}
.fsr-sello p { margin: 0; }
.fsr-sello-titulo {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.fsr-sello-lista {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fsr-sello-lista li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: .92rem;
    font-weight: 600;
}
.fsr-sello-lista li::before {
    content: '✓';
    font-weight: 700;
    color: #FFC700;
    text-shadow: 0 0 1px rgba(0, 0, 0, .45);
}
.fsr-sello-nota {
    font-size: .85rem;
    color: #555;
}
/* Lleva al formulario de presupuesto de /contacto/ (15-09-2026). */
.fsr-sello-nota a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid #FFC700;
    padding-bottom: 1px;
}
.fsr-sello-nota a:hover,
.fsr-sello-nota a:focus-visible { color: #1f1f1f; }
@media (max-width: 640px) {
    .fsr-sello { flex-direction: column; gap: 8px; padding: 12px 14px; margin-bottom: 20px; }
    .fsr-sello-lista { flex-direction: column; align-items: center; gap: 4px; }
}

/* Modelo sin ninguna unidad con precio (fallo 32): «Consultar precio» y botón de presupuesto
   con el mismo aspecto que «Comprar» activo. */
.fsr-consult-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 10px;
    background: var(--fsr-ink, #2c2c2c);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}
.fsr-consult-btn:hover,
.fsr-consult-btn:focus-visible {
    background: var(--fsr-brand, #FFC700);
    color: var(--fsr-ink, #2c2c2c) !important;
}
.fsr-price-consult .fsr-price-main { font-size: 14px; }

/* Enlace a la ficha dentro del título de la tarjeta (auditoría SEO 14-09-2026):
   se ve igual que antes; el clic lo sigue gestionando script.js. */
.fsr-card-title a { color: inherit; text-decoration: none; }
.fsr-card-title a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* C9 · Tamaños mínimos en las tarjetas (auditoría 15-09-2026): textos de al menos 12 px y
   zonas de pulsación de 44 px. La zona se amplía con un ::after invisible centrado, así que
   las pastillas y los círculos de color se ven igual y no cambia el alto de la tarjeta. */
.fsr-card:not(.hero) .fsr-group strong,
.fsr-card:not(.hero) .fsr-price-main small,
.fsr-card:not(.hero) .fsr-swatch.fsr-grade,
.fsr-card:not(.hero) .fsr-clear-all { font-size: 12px !important; }

.fsr-card:not(.hero) .fsr-swatch,
.fsr-card:not(.hero) .fsr-clear-all { position: relative; }

.fsr-card:not(.hero) .fsr-swatch::after,
.fsr-card:not(.hero) .fsr-clear-all::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}

.fsr-tab { min-height: 44px; }

/* ================================================
   FILTRO «UNIDADES EN STOCK»
   Línea propia bajo las pestañas, con su misma forma de píldora.
================================================ */
.fsr-stock-row{
  display:flex;
  justify-content:flex-end;
  margin:-10px 0 18px;
}
.fsr-stock-filter{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  padding:0 6px 0 18px;
  min-height:44px;
  background:#fff;
  border-radius:200px;
  box-shadow:0 2px 5px rgba(0,0,0,.05);
  color:var(--fsr-ink, #1F1F1F);
  white-space:nowrap;
  cursor:pointer;
}
.fsr-stock-filter-label{ font-size:14px; font-weight:600; }
.fsr-stock-filter .fsr-min-stock{
  min-height:34px;
  margin:0;
  padding:4px 30px 4px 12px;
  border:1px solid #E2E2E6;
  border-radius:200px;
  background-color:#F6F6F8;
  color:inherit;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
}
.fsr-stock-filter .fsr-min-stock:focus-visible{
  outline:2px solid var(--fsr-ink, #1F1F1F);
  outline-offset:2px;
}
/* Con filtro activo, el mismo amarillo que la pestaña elegida */
.fsr-stock-filter:has(.fsr-min-stock option:checked:not([value="0"])) .fsr-min-stock{
  background-color:var(--fsr-brand, #FFD400);
  border-color:var(--fsr-brand, #FFD400);
}
@media (max-width:767px){
  .fsr-stock-row{ justify-content:flex-start; margin-top:-12px; max-width:100%; }
  .fsr-stock-filter-label{ font-size:13px; }
  /* L-27 (NAV-19, 16-09-2026): con `white-space:nowrap` la píldora medía 414 px dentro de
     una columna de 347, así que el navegador dibujaba toda la tienda a 436 px en español y
     alemán (textos de 12 px vistos a 10,7 px y zonas táctiles de 44 px a 39). Ahora la
     píldora se ajusta al ancho disponible y pasa a dos líneas solo si no cabe en una. */
  .fsr-stock-filter{
    max-width:100%;
    min-width:0;
    flex-wrap:wrap;
    white-space:normal;
    justify-content:center;
    gap:6px 8px;
    padding:6px 10px;
    border-radius:22px;
  }
  .fsr-stock-filter .fsr-min-stock{ max-width:100%; min-width:0; }
}

/* Burbuja de precio a 375 px: la segunda línea («1.313,07€ sin IVA») era más ancha que la
   burbuja y se cortaba por la izquierda. La burbuja toma el ancho de su contenido (C9, 15-09-2026). */
.fsr-card:not(.hero) .fsr-price-bubble { width: max-content !important; max-width: none !important; overflow: visible !important; }


/* ================================================
   L-28 (NAV-17, 16-09-2026) — FOCO DEL TECLADO VISIBLE
   Al tabular por la tienda no se pintaba nada en los botones de opción (color,
   capacidad, grado) ni en «Borrar selección»: el navegador los marcaba como
   :focus-visible pero el CSS no dibujaba contorno ni sombra. Contorno oscuro de
   2 px separado 2 px, más un halo blanco para que también se vea sobre los
   círculos de color oscuros. No cambia nada fuera del foco.
================================================ */
.fsr-swatch:focus-visible,
.fsr-clear-all:focus-visible,
.fsr-card .fsr-swatch:focus-visible,
.fsr-card:not(.hero) .fsr-clear-all:focus-visible,
.fsr-group-clear-all:focus-visible,
.fsr-tab:focus-visible,
.fsr-buy-btn:focus-visible,
.fsr-cart-btn:focus-visible {
  outline: 2px solid #1F1F1F !important;
  outline-offset: 2px !important;
}

.fsr-swatch.fsr-color:focus-visible {
  outline: 2px solid #1F1F1F !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #ffffff !important;
}

.fsr-swatch.fsr-color.active:focus-visible {
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px #2c2c2c !important;
}
