/* =====================================================================
   ARMÁ TU LANCHA — Configurador v2 (ancho completo, tipo Porsche)
===================================================================== */

.lp2 {
  --lp2-black: #111111;
  --lp2-gray: #6b6b6b;
  --lp2-border: #e4e4e4;
  --lp2-radius: 20px;
  font-family: 'Poppins', sans-serif;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
  align-items: start;
}

.lp2 *,
.lp2 *::before,
.lp2 *::after {
  box-sizing: border-box;
}

/* ---------- Columna imagen: grande, sin recuadro, sticky ---------- */
.lp2-image-sticky {
  position: sticky;
  top: 24px;
}

/* Frame exterior: SIN overflow:hidden, para que los tooltips no se corten */
.lp2-image-frame {
  position: relative;
  width: 100%;
}

/* Clip interior: acá sí va el overflow:hidden + border-radius, solo para la imagen */
.lp2-image-clip {
  position: relative;
  width: 100%;
  border-radius: var(--lp2-radius);
  overflow: hidden;
  background: #eee;
}

.lp2-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Degradé sutil abajo, para que los íconos/texto se lean bien */
.lp2-image-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

/* Botón circular blanco (pantalla completa, descargar, redes) */
.lp2 .lp2-round-btn,
.lp2 .lp2-round-btn:hover,
.lp2 .lp2-round-btn:focus,
.lp2 .lp2-round-btn:active,
.lp2 .lp2-round-btn:visited {
  width: 40px !important;
  height: 40px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  background-color: #fff !important;
  background-image: none !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.35) !important;
  color: var(--lp2-black) !important;
  padding: 0 !important;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none !important;
  transform: none !important;
  filter: none !important;
  position: relative; /* para el tooltip */
  z-index: 3;
  flex: 0 0 auto;
}

.lp2 .lp2-round-btn:hover {
  background-color: #f2f2f2 !important;
  background: #f2f2f2 !important;
}

.lp2-round-btn--fullscreen {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  z-index: 3;
}

/* Tooltip genérico al hacer hover en botones redondos con data-tooltip */
.lp2 [data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(17,17,17,.92);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 10;
}

.lp2 [data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Barra inferior superpuesta sobre la imagen (fuera del clip, no se corta) */
.lp2-image-actions {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}

.lp2-share-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.lp2-share-label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  white-space: nowrap;
  margin-right: 10px;
}

/* ---------- Lightbox pantalla completa ---------- */
.lp2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
  display: none !important;
}

.lp2-lightbox:not([hidden]) {
  display: flex !important;
}

.lp2-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.lp2 .lp2-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
}

/* ---------- Columna formulario: CARD flotante ---------- */
.lp2-form-col {
  background: #fff;
  border-radius: var(--lp2-radius);
  box-shadow: 0 4px 30px rgba(0,0,0,.10);
  padding: 36px;
  position: sticky;
  top: 24px;
}

.lp2-title {
  font-family: 'Bebas Neue', sans-serif !important;
  font-weight: 600 !important;
  font-size: 30px !important;
  text-align: left;
  text-transform: none !important;
  letter-spacing: 2px !important;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--lp2-black);
}

.lp2-field {
  margin-bottom: 24px;
}

.lp2-field__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--lp2-gray);
  margin-bottom: 10px;
}

/* Opciones tipo píldora (Modelo / Versión) */
.lp2-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp2 button.lp2-option,
.lp2 button.lp2-option:hover,
.lp2 button.lp2-option:focus,
.lp2 button.lp2-option:active {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  color: var(--lp2-black) !important;
  background-color: #fff !important;
  background: #fff !important;
  border: 1px solid var(--lp2-border) !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
}

.lp2 button.lp2-option[aria-checked="true"] {
  background-color: var(--lp2-black) !important;
  background: var(--lp2-black) !important;
  border-color: var(--lp2-black) !important;
  color: #fff !important;
}

/* Swatches redondeados */
.lp2-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp2 button.lp2-swatch,
.lp2 button.lp2-swatch:hover,
.lp2 button.lp2-swatch:focus,
.lp2 button.lp2-swatch:focus-visible,
.lp2 button.lp2-swatch:active,
.lp2 button.lp2-swatch:visited {
  --sw: #ccc;
  width: 56px !important;
  height: 56px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 12px !important;
  border: 2px solid #fff !important;
  outline: 1px solid var(--lp2-border) !important;
  outline-offset: 0 !important;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,.18) 100%) !important;
  background-color: var(--sw) !important;
  background-blend-mode: overlay;
  box-shadow: none !important;
  filter: none !important;
  color: transparent !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0;
  position: relative;
  transform: none !important;
  transition: none !important;
}

.lp2 button.lp2-swatch[aria-checked="true"],
.lp2 button.lp2-swatch[aria-checked="true"]:hover {
  outline: 2px solid var(--lp2-black) !important;
  outline-offset: 3px !important;
}

/* ---------- Botones principales ---------- */
.lp2-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lp2 .lp2-btn {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 15px 26px !important;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .15s ease;
  box-shadow: none !important;
}

.lp2 .lp2-btn--block { width: 100%; margin-top: 22px; }

.lp2 .lp2-btn--primary,
.lp2 .lp2-btn--dark {
  background-color: var(--lp2-black) !important;
  background-image: none !important;
  color: #fff !important;
}

.lp2 .lp2-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.lp2 .lp2-btn:not(:disabled):hover {
  opacity: .85;
  color: #fff !important;
}

.lp2 .lp2-clear-link {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--lp2-gray) !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp2 .lp2-clear-link:hover {
  color: var(--lp2-black) !important;
}

.lp2-hint {
  font-size: 12px;
  color: var(--lp2-gray);
  margin: 10px 0 0;
}

.lp2-hint[data-state="ok"] { display: none; }


/* =====================================================================
   MOBILE / TABLET (≤1024px) — imagen sticky por ENCIMA, el contenido
   pasa por detrás al hacer scroll.
===================================================================== */
@media (max-width: 1024px) {

  .lp2 {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 0px;
    box-sizing: border-box;
    gap: 0;
  }

  /* Imagen y card comparten la MISMA celda del grid: así la fila
     mide lo que mide la card (más alta), y le da recorrido a la
     imagen para que el sticky funcione durante todo el scroll. */
  .lp2-image-col {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 0;
    align-self: start;
    z-index: 2;
  }

  .lp2-image-sticky {
    position: static;
  }

  /* Tamaño natural (igual que en escritorio), NO fijo */
  .lp2-image-frame {
    position: relative;
    width: 100%;
  }

  .lp2-image-clip {
    position: relative;
    width: 100%;
    border-radius: var(--lp2-radius);
    overflow: hidden;
    background: #eee;
  }

  .lp2-image {
    width: 100%;
    height: auto;
    display: block;
  }

  /* La card empieza justo donde termina la imagen real (el valor
     --lp2-img-h lo calcula el JS que agregamos abajo; 300px es
     solo un valor de respaldo mientras carga). */
  .lp2-form-col {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
    margin-top: var(--lp2-img-h, 300px);
    border-radius: 24px 24px 0 0;
    padding: 28px 20px 40px;
    text-align: center;
  }

  .lp2-options,
  .lp2-swatches,
  .lp2-form-actions {
    justify-content: center;
  }

  .lp2-title {
    font-size: 24px !important;
    text-align: center;
  }

  .lp2 .lp2-btn {
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    padding: 14px 18px !important;
    white-space: nowrap;
  }

  .lp2-share-label {
    display: none;
  }

  .lp2-image-actions {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .lp2-round-btn--fullscreen {
    top: 14px !important;
    right: 14px !important;
  }

  .lp2-lightbox {
    padding: 16px;
  }
  
}

/* =====================================================================
   DESPLEGABLES CON MUESTRAS DE COLOR (combinación, ploteo, tapizado)
===================================================================== */
.lp2-select {
  position: relative;
  width: 100%;
}

.lp2 button.lp2-select__btn,
.lp2 button.lp2-select__btn:hover,
.lp2 button.lp2-select__btn:focus,
.lp2 button.lp2-select__btn:active {
  width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-align: left !important;
  color: var(--lp2-black) !important;
  background-color: #fff !important;
  background: #fff !important;
  border: 1px solid var(--lp2-border) !important;
  border-radius: 10px !important;
  padding: 13px 16px !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer;
}

.lp2 .lp2-select.is-open button.lp2-select__btn {
  border-color: var(--lp2-black) !important;
}

.lp2-select__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp2-select__btn.is-placeholder .lp2-select__text {
  color: var(--lp2-gray);
  font-weight: 400;
}

.lp2-select__arrow {
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.lp2-select.is-open .lp2-select__arrow {
  transform: rotate(180deg);
}

/* Cuadraditos de color (más chicos que los swatches anteriores) */
.lp2-chips {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.lp2-chip {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background-color: var(--c, #ccc);
  border: 1px solid rgba(0,0,0,.2);
  display: block;
}

/* Panel desplegable */
.lp2-select__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--lp2-border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.14);
}

.lp2-select__panel[hidden] {
  display: none !important;
}

.lp2 button.lp2-select__opt,
.lp2 button.lp2-select__opt:hover,
.lp2 button.lp2-select__opt:focus,
.lp2 button.lp2-select__opt:active {
  width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-align: left !important;
  color: var(--lp2-black) !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer;
}

.lp2 button.lp2-select__opt:hover,
.lp2 button.lp2-select__opt:focus-visible {
  background-color: #f4f4f4 !important;
}

.lp2 button.lp2-select__opt[aria-selected="true"] {
  background-color: #f4f4f4 !important;
  font-weight: 600 !important;
}

.lp2-select__opt-text {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 1024px) {
  .lp2-select__panel {
    max-height: 240px;
  }
}

/* El atributo [hidden] tiene que ganarle a los display de los botones/links */
.lp2 [hidden] {
  display: none !important;
}

/* =====================================================================
   AJUSTE 1: textos largos en los desplegables (ej. "Verde militar, Blanco,
   Verde militar"). El texto puede pasar a 2 líneas y las muestras de color
   nunca se achican ni quedan tapadas.
===================================================================== */
.lp2 .lp2-select__opt-text,
.lp2 .lp2-select__text {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.lp2 button.lp2-select__opt,
.lp2 button.lp2-select__btn {
  min-height: 44px;
}

.lp2 .lp2-chips {
  flex: 0 0 auto;
  margin-left: auto;
}

/* =====================================================================
   AJUSTE 2 (solo escritorio, > 1024px): la imagen ocupa SIEMPRE la misma
   altura que la card de la derecha. La lancha se ve completa y centrada
   (object-fit: contain), y el fondo del contenedor tiene el mismo gris que
   el fondo de las imágenes, así no se ven bandas.
   Si cambiás el gris de fondo de las imágenes, cambiá --lp2-img-bg.
===================================================================== */
@media (min-width: 1025px) {

  .lp2 {
    --lp2-img-bg: #FFFFFF;
    align-items: stretch;
  }

  .lp2 .lp2-image-col {
    display: flex;
    min-width: 0;
  }

  .lp2 .lp2-image-sticky {
    position: static;
    display: flex;
    flex: 1 1 auto;
    width: 100%;
  }

  .lp2 .lp2-image-frame {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
  }

  .lp2 .lp2-image-clip {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--lp2-img-bg);
  }

  .lp2 .lp2-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
}

/* =====================================================================
   MÓVIL / TABLET (≤1024px): contenido de los desplegables centrado
   (texto "Elegí una combinación" / "Elegí un color" y, una vez elegida
   la opción, el texto junto a sus cuadraditos de color). La flecha queda
   fija a la derecha para no descentrar el contenido.
===================================================================== */
@media (max-width: 1024px) {

  .lp2 button.lp2-select__btn,
  .lp2 button.lp2-select__btn:hover,
  .lp2 button.lp2-select__btn:focus,
  .lp2 button.lp2-select__btn:active {
    position: relative;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 40px !important; /* mismo espacio a ambos lados: la flecha no descentra */
  }

  .lp2 .lp2-select__btn .lp2-select__text {
    flex: 0 1 auto;
    text-align: center;
  }

  .lp2 .lp2-select__btn .lp2-chips {
    margin-left: 0;
  }

  .lp2 .lp2-select__btn .lp2-select__arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .lp2 .lp2-select.is-open .lp2-select__btn .lp2-select__arrow {
    transform: translateY(-50%) rotate(180deg);
  }
  
  @media (max-width: 1024px) {
  .lp2 [data-tooltip]::after {
    left: 0;
    margin-left: 0px;
    transform: translateY(4px);
  }
  
  .lp2 [data-tooltip]:hover::after {
    transform: translateY(0);
  }
  
  @media (max-width: 1024px) {
  .lp2 {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  @media (max-width: 1024px) {
  .lp2 .lp2-form-col {
    border-radius: 24px;
  }
  
  @media (max-width: 1024px) {
  .lp2 {
    --lp2-tail: 60px;
    margin-bottom: calc(-1 * var(--lp2-tail));
  }

  .lp2 .lp2-form-col {
    margin-bottom: var(--lp2-tail);
    box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  }
}
}
}
}
}

/* =====================================================================
   v3 — IMAGEN INTERACTIVA, BOTONES BLOQUEADOS, COMPARTIR, AVISO
===================================================================== */

/* Fade al cambiar la imagen (el JS baja/sube la opacidad) */
.lp2 .lp2-image {
  transition: opacity .16s ease;
}

/* ---------- Estado BLOQUEADO (CTA de asesoramiento, descargar, compartir) ----------
   Siguen recibiendo el click (para mostrar el aviso de qué falta elegir),
   pero se ven apagados y con cursor "no permitido". */
.lp2-is-locked,
.lp2-is-locked:hover,
.lp2-is-locked:focus,
.lp2-is-locked:active {
  opacity: .4 !important;
  cursor: not-allowed !important;
}

.lp2 .lp2-round-btn.lp2-is-locked,
.lp2 .lp2-share-btn.lp2-is-locked {
  opacity: .6 !important;
  cursor: not-allowed !important;
}

/* ---------- Botón único de Compartir (Web Share API) ----------
   Mismo estilo que el snippet "Botón compartir nativo": texto + ícono, sin
   fondo ni subrayado. Acá en blanco porque va sobre la imagen. */
.lp2 .lp2-share-btn,
.lp2 .lp2-share-btn:hover,
.lp2 .lp2-share-btn:focus,
.lp2 .lp2-share-btn:active {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row-reverse !important;
  gap: 10px !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1em !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  cursor: pointer;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .2s;
}
.lp2 .lp2-share-btn:hover { opacity: .7; }
.lp2 .lp2-share-btn svg { flex-shrink: 0; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.lp2 .lp2-share-btn:focus-visible { outline: 2px solid #fff !important; outline-offset: 4px !important; }

/* ---------- Aviso flotante (qué falta elegir / enlace copiado) ---------- */
.lp2-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  max-width: min(92vw, 460px);
  background: rgba(17,17,17,.94);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10000;
}
.lp2-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* =====================================================================
   v3.1 — ALTURA ESTABLE DE LA CARD (la imagen de al lado ya no "salta")
===================================================================== */

/* El texto de ayuda siempre reserva 2 renglones, tenga 1 o 2 */
.lp2 .lp2-hint {
  min-height: 2.8em;
  line-height: 1.4;
}
/* Cuando está todo completo se muestra el "¡Listo!" en vez de desaparecer */
.lp2 .lp2-hint[data-state="ok"] {
  display: block;
}

/* "Borrar configuración": invisible pero ocupando su lugar */
.lp2 .lp2-is-invisible {
  visibility: hidden !important;
  pointer-events: none !important;
}



/* =====================================================================
   v3.2 — CARTELITO DE "DESCARGAR": sin rastro al sacar el mouse
   (antes quedaba pintado el borde de arriba; ahora, al estar oculto,
   directamente no se dibuja)
===================================================================== */
/* Los cartelitos de los botones redondos ahora los dibuja el JS (en el <body>),
   así que se apaga el cartelito CSS que dejaba un borde pintado. */
.lp2 [data-tooltip]::after,
.lp2 [data-tooltip]:hover::after {
  content: none !important;
  display: none !important;
}

/* =====================================================================
   v3.2 — DESPLEGABLES ESTILO E-COMMERCE (solo muestras de color)
===================================================================== */

/* Muestra dividida en diagonal (tapizado: Hueso / Gris, Beige / Gris) */
.lp2-chip--split {
  background-image: linear-gradient(135deg, var(--c) 0 50%, var(--c2) 50% 100%);
}

/* Paneles */
.lp2 .lp2-select__panel--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
}
.lp2 .lp2-select__panel--swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
}

/* Opciones: solo muestras */
.lp2 button.lp2-select__opt.lp2-select__opt--chips,
.lp2 button.lp2-select__opt.lp2-select__opt--chips:hover,
.lp2 button.lp2-select__opt.lp2-select__opt--chips:focus,
.lp2 button.lp2-select__opt.lp2-select__opt--chips:active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  padding: 10px 6px !important;
  border-radius: 10px !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.lp2 .lp2-select__panel--grid button.lp2-select__opt.lp2-select__opt--chips {
  width: 100% !important;
}
.lp2 .lp2-select__panel--swatches button.lp2-select__opt.lp2-select__opt--chips {
  width: auto !important;
  padding: 6px !important;
}

.lp2 button.lp2-select__opt.lp2-select__opt--chips:hover,
.lp2 button.lp2-select__opt.lp2-select__opt--chips:focus-visible {
  background-color: #f4f4f4 !important;
}
.lp2 button.lp2-select__opt.lp2-select__opt--chips[aria-selected="true"] {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 2px var(--lp2-black) !important;
}

/* Las muestras mantienen el tamaño original (18px) en todos los desplegables */
.lp2 .lp2-select__opt--chips .lp2-chips {
  margin: 0 !important;
  gap: 4px;
}

@media (max-width: 1024px) {
  .lp2 .lp2-select__panel--swatches {
    justify-content: center;
  }
}

/* Cartelito (colores y botones redondos). Se crea en el <body>, por eso no va dentro de .lp2.
   Oculto = display:none (sin transiciones ni transform) para que no quede nada pintado. */
.lp2-tip {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10001;
  box-sizing: border-box;
  background: rgba(17,17,17,.94);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
}
.lp2-tip.is-visible {
  display: block;
  animation: lp2-tip-in .12s ease;
}
@keyframes lp2-tip-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* =====================================================================
   v3.3 — COMBINACIÓN ELEGIDA: el botón cerrado muestra solo las 3 muestras
   (una sola línea, igual de alto que ploteo y tapizado)
===================================================================== */
.lp2 .lp2-select__btn--chips-only .lp2-select__text {
  display: none;
}
.lp2 .lp2-select__btn--chips-only .lp2-chips {
  margin-left: 0;
  margin-right: auto;
}
@media (max-width: 1024px) {
  .lp2 .lp2-select__btn--chips-only .lp2-chips {
    margin-right: 0;
  }
}