/** Shopify CDN: Minification failed

Line 496:0 Unexpected "<"
Line 498:20 Unexpected "{"
Line 498:29 Expected ":"
Line 504:20 Unexpected "{"
Line 504:29 Expected ":"
Line 511:0 Unexpected "<"
Line 542:20 Unexpected "{"
Line 542:29 Expected ":"

**/
:root {
  --bbx-product-khy-bg: #050505;
  --bbx-product-khy-panel-radius: 22px;
  --bbx-product-khy-mobile-bottom: 72px;
}

/* ===== CONTENEDOR GENERAL ===== */

.bbx-product-khy {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--bbx-khy-padding-top, 100px) 24px var(--bbx-khy-padding-bottom, 180px);
}

.bbx-product-khy__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

/* ===== MEDIA ===== */

.bbx-product-khy__media {
  position: relative;
  width: 100%;
}

.bbx-product-khy__media-track {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
}

/* Desktop: slider simple */
.bbx-product-khy__slide {
  position: relative;
  display: none;
}

.bbx-product-khy__slide.is-active {
  display: block;
}

.bbx-product-khy__img,
.bbx-product-khy__video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* flechas desktop */

.bbx-product-khy__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.bbx-product-khy__nav--prev { left: 12px; }
.bbx-product-khy__nav--next { right: 12px; }

.bbx-product-khy__nav svg {
  width: 20px;
  height: 20px;
}



/* ===== PANEL DERECHA / CARD ===== */

.bbx-product-khy__panel-wrap {
  position: relative;
}

.bbx-product-khy__panel {
  position: relative;
  color: #fff;
  border-radius: var(--bbx-product-khy-panel-radius);
  padding: 24px 24px 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* header */

.bbx-product-khy__header {
  position: relative;
  padding-right: 72px;
}

.bbx-product-khy__title {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.bbx-product-khy__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.bbx-product-khy__price-block {
  display: flex;
  flex-direction: column;
}

.bbx-product-khy__price {
  font-weight: 700;
  font-size: 18px;
}

.bbx-product-khy__price--compare {
  font-size: 13px;
  text-decoration: line-through;
  opacity: 0.5;
}

/* tallas */

.bbx-product-khy__sizes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.bbx-product-khy__sizes-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

.bbx-product-khy__sizes-chips {
  display: flex;
  gap: 8px;
}

.bbx-product-khy__chip {
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.12s ease;
}

.bbx-product-khy__chip.is-active {
  border-color: transparent;
  background-image: linear-gradient(135deg, #7EE3FF, #E28AFF, #7AF7D2);
  color: #111;
  transform: translateY(-1px);
}

/* botón flotante carrito */

.bbx-product-khy__btn-icon-add {
  position: absolute;
  top: -14px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(126, 227, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: box-shadow 0.18s ease, transform 0.12s ease;
}

.bbx-product-khy__btn-icon-add svg {
  width: 32px;
  height: 32px;
}

.bbx-product-khy__btn-icon-add:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.65),
    0 0 0 2px rgba(255, 255, 255, 1),
    0 0 22px rgba(126, 227, 255, 1);
}

/* acciones */

.bbx-product-khy__actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bbx-product-khy__btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 12px 20px;
  background: #ffffff;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.bbx-product-khy__btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 13px 20px;
  background-image: linear-gradient(135deg, rgb(253, 253, 253), rgb(255, 255, 255));
  color: #020202;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(251, 255, 0, 0.45);
}

.bbx-product-khy__btn-buy:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* descripción */

.bbx-product-khy__description {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
}

/* ===== ANIMACIONES BOTONES + TOAST ===== */

.bbx-product-khy__btn-icon-add.is-bump,
.bbx-product-khy__btn-buy.is-bump,
.bbx-product-khy__btn-main.is-bump {
  animation: bbx-khy-bump 0.26s ease;
}

@keyframes bbx-khy-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.bbx-product-khy__chip:active {
  transform: scale(0.94);
}

.bbx-product-khy__toast {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translate(-50%, 120%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bbx-product-khy__toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes bbx-khy-scroll-pulse {
  0%   { transform: translateY(0); opacity: 0.85; }
  40%  { transform: translateY(4px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.85; }
}

/* Quitar wishlist dentro de PDP KHY */
.bbx-product-khy .swym-button,
.bbx-product-khy .swym-wishlist-button,
.bbx-product-khy .swym-add-to-wishlist-view-product,
.bbx-product-khy .swym-add-to-wishlist,
.bbx-product-khy [data-swaction],
.bbx-product-khy [class*="wishlist"],
.bbx-product-khy [class*="swym"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Quitar link login del header Rexy Cloud */
#bbx-mobile-header-rexy-safe a[href*="/account"],
#bbx-mobile-header-rexy-safe a[href*="/account/login"],
#bbx-mobile-header-rexy-safe a[href*="account"],
#shopify-section-bbx-mobile-header-rexy a[href*="/account"],
#shopify-section-bbx-mobile-header-rexy a[href*="/account/login"] {
  display: none !important;
}

/* =========================
   MOBILE (UNA SOLA FUENTE)
   ========================= */

@media (max-width: 767px) {
  .bbx-product-khy { padding: 0 0 16px; }

  .bbx-product-khy__inner {
    display: block;
    height: auto;
    min-height: 100vh;
  }

  .bbx-product-khy__media-track {
    position: static;
    border-radius: 0;
  }

  .bbx-product-khy__slide {
    position: static;
    display: block;
  }

  .bbx-product-khy__nav { display: none; }

  .bbx-product-khy__scroll-indicator {
    display: block;
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    z-index: 6;
    pointer-events: none;
  }

  .bbx-product-khy__scroll-indicator-inner {
    width: 54px;
    height: 120px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bbx-khy-scroll-pulse 1.6s infinite ease-in-out;
  }

  .bbx-product-khy__scroll-indicator svg {
    width: 32px;
    height: 90px;
  }

  /* ✅ WRAP fijo: taps ON, pegado abajo, y se oculta SOLO con .is-hidden */
  .bbx-product-khy__panel-wrap--fixed{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0; /* pegada */
    z-index: 2147483600;
    padding-bottom: env(safe-area-inset-bottom);

    pointer-events: auto; /* 🔥 clave */
    opacity: 1;
    transform: translateY(0);

    transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .22s cubic-bezier(.2,.8,.2,1);
    will-change: transform, opacity;
  }

  .bbx-product-khy__panel-wrap--fixed.is-hidden{
    opacity: 0;
    transform: translateY(110%);
    pointer-events: none;
  }

  .bbx-product-khy__panel-wrap--fixed .bbx-product-khy__panel{
    pointer-events: auto;
    width: 100%;
    margin: 0;
    border-radius: 16px 16px 0 0;
    padding: 10px 14px 10px;
    max-height: 20vh;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: visible;
  }

  .bbx-product-khy__title { font-size: 16px; margin-bottom: 4px; }
  .bbx-product-khy__price-row { margin-bottom: 4px; gap: 10px; }
  .bbx-product-khy__price { font-size: 16px; }
  .bbx-product-khy__price--compare { font-size: 11px; }

  .bbx-product-khy__chip {
    min-width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .bbx-product-khy__btn-icon-add {
    top: -10px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .bbx-product-khy__btn-icon-add svg {
    width: 30px;
    height: 30px;
  }

  .bbx-product-khy__btn-main { display: none; }

  .bbx-product-khy__btn-buy {
    padding: 11px 16px;
    font-size: 14px;
  }

  .bbx-product-khy__description { display: none; }
}

.bbx-product-card-rexy__media{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* ==============================
   KHY — FORCE HIDE (WIN LAST)
   ============================== */
@media (max-width: 767px){
  /* Cuando tenga is-hidden, SE OCULTA sí o sí */
  #bbx-product-khy- .bbx-product-khy__panel-wrap--fixed.is-hidden{
    opacity: 0 !important;
    transform: translateY(120%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Cuando NO tenga is-hidden, visible */
  #bbx-product-khy- .bbx-product-khy__panel-wrap--fixed{
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
<style>
@media (max-width: 767px){
  #bbx-product-khy-{{ section.id }} .bbx-product-khy__panel-wrap--fixed.is-hidden{
    opacity: 0 !important;
    transform: translateY(120%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  #bbx-product-khy-{{ section.id }} .bbx-product-khy__panel-wrap--fixed{
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
</style>
/* ===== TAP HANDLE ===== */
@media (max-width: 767px){
  .bbx-khy-handle{
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 22px;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 30;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .bbx-khy-handle span{
    display: block;
    width: 42px;
    height: 4px;
    margin: 9px auto 0;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
  }
}
/* =========================================================
   DESKTOP — NO SCROLL BUTTON
========================================================= */
@media (min-width: 768px){
  #bbx-product-khy-{{ section.id }} .bbx-khy-scrollbtn{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }
}
/* ===== Scroll button (estilo back bubble / sin halo) ===== */
.bbx-khy-scrollbtn,
.bbx-khy-scrollbtn *{
  -webkit-tap-highlight-color: transparent !important;
}

.bbx-khy-scrollbtn{
  position: fixed;
  left: 14px;
  top: 46vh;
  transform: translateY(-50%);
  z-index: 2147483646;

  width: 34px;
  height: 34px;
  border-radius: 999px;

  background: rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.45);

  color: #111;
  padding: 0;
  margin: 0;

  box-shadow: 0 2px 8px rgba(0,0,0,.08);

  outline: none !important;
  cursor: pointer;

  opacity: .92;
  transition: opacity .18s ease;
}

.bbx-khy-scrollbtn svg{ width:22px; height:22px; display:block; margin:auto; }

/* NO hover / NO “aro blanco” */
.bbx-khy-scrollbtn:hover,
.bbx-khy-scrollbtn:active,
.bbx-khy-scrollbtn:focus,
.bbx-khy-scrollbtn:focus-visible{
  background: rgba(255,255,255,.28) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
  outline: none !important;
}

.bbx-khy-scrollbtn.is-hidden{
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Touch zone invisible grande para que SIEMPRE agarre tap */
.bbx-khy-scrollzone{
  position: fixed;
  left: 6px;
  top: 46vh;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  z-index: 2147483647; /* arriba del botón */
  background: transparent;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Solo mobile */
@media (min-width: 768px){
  .bbx-khy-scrollbtn,
  .bbx-khy-scrollzone{ display:none !important; }
}
