/* =====================================================
   CSS ORDENADO - CATÁLOGO
   Nota: esta versión conserva el orden original de cascada
   para no romper estilos existentes.
===================================================== */

:root {
  --pink: #C2185B;
  --blue: #1E2FBF;
  --blue-light: #3B4EFF;
  --bg: #F4F6FB;
  --white: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --border: #E5E7EB;
}



/* BASE */

#flipbook-wrap {
  width: 100%;
  display: grid;
  justify-content: center;
  align-items: flex-start;
  padding: 16px;
  margin: 0 auto;
}

#flipbook {
  /*
   width: 460px;
   height: 600px;
*/
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}


/* TABLET / LAPTOP PEQUEÑA */

@media (min-width: 601px) and (max-width: 900px) {
  #flipbook {
    width: 490px;
    height: 610px;
  }

}


/* PC / LAPTOP GRANDE */

@media (min-width: 901px) {
  #flipbook-wrap {
    padding: 20px 0 24px;
    min-height: calc(100vh - 120px);
    align-items: center;
  }

  #flipbook {
    width: 800px;
    height: 900px;
  }

}


/* MÓVIL */

@media (max-width: 600px) {
  .fullscreen-btn {
    top: 10px;
    right: 10px;
    padding: 7px 10px;
    font-size: 14px;
  }

  #flipbook {
    width: 100%;
    max-width: 100vw;
    height: auto;
    aspect-ratio: 460 / 600;
  }

  #flipbook .page {
    position: relative;
    overflow: hidden;
  }

  .products-overlay {
    top: 36px;
    left: 48px !important;
    right: 4px !important;
    bottom: 10px;
    gap: 6px;
    box-sizing: border-box;
  }

  .product-mini {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,.10);
    overflow: hidden;
    box-sizing: border-box;
  }

  .product-mini img {
    width: 100%;
    max-width: 100%;
    height: 90px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    display: block;
    box-sizing: border-box;
  }

  .p-code {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 1px;
    min-width: 12px;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700;
    color: #D203DD;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .p-name {
    font-size: 8px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    min-height: 26px;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .p-price {
    font-size: 10px !important;
    margin-top: 1px;
  }

  .product-mini button.badge {
    margin-top: 6px;
    height: 22px;
    font-size: 10px;
    border-radius: 6px;
  }

  .page-badge {
    position: absolute;
    top: 6px;
    left: 45px !important;
    right: auto !important;
    z-index: 20;
    font-size: 10px;
    padding: 3px 6px;
    max-width: max-content;
  }

}

#flipbook {
  cursor: grab;
}

#flipbook:active {
  cursor: grabbing;
}

#flipbook .page {
  width: 100%;
  height: 100%;
  background: #fff;
  position: relative;
  padding: 0 !important;
  /* pagina full */
  overflow: hidden;
}

.products-overlay,
.product-mini {
  touch-action: pan-y !important;
}

.product-mini button {
  touch-action: manipulation !important;
}

.flip-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}


/* imagen full */

.page-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}


/* grif 3X3 */

.products-overlay {
  position: absolute;
  top: 42px;
  left: 30px;
  right: 30px;
  bottom: 10px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  overflow: hidden;
}

.product-mini {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  background: #fff;
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,.14);
  overflow: hidden;
  box-sizing: border-box;
}

.product-mini img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
  display: block;
}

.p-code {
  min-height: 12px;
  font-size: 15px;
  line-height: 1;
  color: #D203DD;
  margin-top: 5px;
  font-weight: 700;
}

.p-name {
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-top: 2px;
  min-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-price {
  font-size: 11px !important;
  line-height: 1 !important;
  margin-top: 2px;
}

.product-mini button.badge {
  margin-top: auto;
  height: 24px;
  font-size: 11px;
  padding: 2px 0;
  border-radius: 8px;
}

.page-badge {
  position: absolute;
  pointer-events: none;
  top: 8px;
  left: 8px;
  z-index: 6;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
  pointer-events: none;
}

.cart-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  background: #0d6efd;
  color: #fff;
  border-radius: 999px;
  padding: 12px 14px;
  cursor: grab;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  user-select: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  touch-action: none;
}

.cart-count {
  background: #fff;
  color: #0d6efd;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}

.cart-panel {
  position: fixed;
  right: 18px;
  bottom: 70px;
  width: 320px;
  height: 70vh;
  max-height: 70vh;
  z-index: 9999;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,.28);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  flex-direction: column;
  display: flex;
}

.cart-head,
.cart-foot {
  flex: 0 0 auto;
  padding: 12px;
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.cart-foot {
  flex: 0 0 auto;
  /* footer fijo */
  padding: 12px;
  background: #f8f9fa;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: none;
}

.cart-items {
  flex: 1 1 auto;
  min-height: 0;
  padding: 10px;
  overflow-y: auto;
  overflow-x: hidden;
}

.cart-item {
  display: flex;
  gap: 10px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 10px;
  align-items: center;
}

.cart-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f3f3;
}

.cart-item .meta {
  flex: 1;
  min-width: 0;
}

.cart-item .name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item .sub {
  font-size: 12px;
  color: #666;
}

.cart-item .qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item button {
  white-space: nowrap;
}


/* BOTÓN FULLSCREEN */

.fullscreen-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 99999;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.fullscreen-btn:hover {
  background: rgba(0,0,0,.8);
}


/* FULLSCREEN NATIVO */

#flipbook-wrap:fullscreen,
#flipbook-wrap:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #000 !important;
  overflow: hidden !important;
}


/* EN FULLSCREEN, NO LIMITAR EL LIBRO */

#flipbook-wrap:fullscreen #flipbook,
#flipbook-wrap:-webkit-full-screen #flipbook {
  margin: 0 auto !important;
  max-width: none !important;
  max-height: none !important;
}


/* OCULTAR CONTROLES ABAJO AL EXPANDIR */

#flipbook-wrap:fullscreen .flip-controls,
#flipbook-wrap:-webkit-full-screen .flip-controls {
  display: none !important;
}


/* ZOOOMMM IMAGEN */

#imgModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}

#imgModal.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}


/* MODAL DE PREMIOS MÁS GRANDE */

.img-modal-box {
  position: relative;
  width: min(88vw, 720px);
  height: min(72vh, 620px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 18px;
}

#imgModalSrc {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  display: block;
}

.img-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.product-thumb {
  cursor: zoom-in;
  touch-action: manipulation;
  pointer-events: auto;
  position: relative;
  z-index: 20;
}


/* WIDZAR VISIBLE */

#checkoutModal {
  z-index: 999999 !important;
}

#checkoutModal .modal-dialog {
  z-index: 1000000 !important;
}

#checkoutModal .modal-content {
  border-radius: 16px;
}

.modal-backdrop {
  z-index: 999998 !important;
}

#flipbook-wrap:fullscreen ~ #checkoutModal,
#flipbook-wrap:-webkit-full-screen ~ #checkoutModal,
#checkoutModal.show {
  display: block !important;
  z-index: 999999 !important;
}

#checkoutModal.show .modal-dialog {
  margin: 1.5rem auto;
  max-width: 700px;
}

.floating-buttons {
  position: fixed;
  left: 30px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.float-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}


/* HOVER */

.float-btn:hover {
  transform: scale(1.15) translateX(-5px);
}


/* COLORES */

.whatsapp {
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37,211,102,0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0);
  }

}

.tooltip {
  position: absolute;
  left: 70px;
  right: auto;
  background: #000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
  white-space: nowrap;
  transition: 0.3s;
}

.float-btn:hover .tooltip {
  opacity: 1;
}

.phone {
  background: var(--blue);
}

.chat {
  background: var(--pink);
}


/* -> QUIENES SOMOS logo quienesomos */

.log {
  position: absolute;
  top: -200px;
  left: -500px;
  /* antes 0px */
  width: auto;
  height: auto;
  max-width: 800px;
  z-index: 2;
  margin: 0;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}

@media (max-width: 991px) {
  .log {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    margin: 0 auto 20px;
    max-width: 280px;
  }

}

.about-page {
  background: var(--bg);
}


/* HEADER */

.about-hero {
  background: linear-gradient(135deg, rgba(194,24,91,0.08), rgba(30,47,191,0.08));
  padding: 40px;
  border-radius: 25px;
  border: 1px solid var(--border);
}


/* TITULO */

.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}


/* SUBTITULO */

.about-subtitle {
  color: var(--muted);
  max-width: 600px;
  margin: auto;
}


/* CARDS */

.about-card {
  background: var(--white);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.about-card:hover {
  transform: translateY(-5px);
}


/* TITULOS CARDS */

.about-card h4 {
  font-weight: 400;
  color: var(--text);
  text-align: center;
}


/* TEXTO */

.about-card p {
  color: var(--muted);
  line-height: 1.7;
}


/* COLORES */

.mission {
  border-top: 5px solid var(--pink);
}

.vision {
  border-top: 5px solid var(--blue);
}


/* IMAGEN MISION */


/*
   .mission-img{
   display: block;
   margin: 0 auto;         centra la imagen
*/


/* width: 50%;           /* ocupa todo el ancho */


/* max-width: none;      /* límite para que no se vea gigante */


/* height: auto;          /* mantiene proporción */


/* object-fit: contain;   /* NO corta la imagen */


/*
   border-radius: 15px;
   }--}}
   
   /* pasarela de pagos
*/

.payment-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  background: #fff;
  transition: .2s ease;
}

.payment-card:hover {
  border-color: #0d6efd;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.payment-card input[type="radio"] {
  transform: scale(1.15);
  margin-top: 4px;
}

.card-badge {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}

.consulta-acumulado-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.consulta-badge {
  display: inline-block;
  background: linear-gradient(135deg, #C2185B, #1E2FBF);
  color: #fff;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.consulta-acumulado-form {
  display: flex;
  gap: 10px;
  min-width: 360px;
}

.consulta-acumulado-form input,
.consulta-acumulado-form button {
  border-radius: 12px;
  min-height: 44px;
}

.consulta-acumulado-form button {
  background: linear-gradient(135deg, #C2185B, #1E2FBF);
  border: none;
  font-weight: 700;
  padding: 0 18px;
}

.acumulado-box {
  background: #f8fafc;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
}

.acumulado-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.acumulado-item {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid #e5e7eb;
}

.acumulado-item span {
  color: #6b7280;
  font-size: 13px;
}

.acumulado-item strong {
  display: block;
  font-size: 20px;
  color: #C2185B;
}

@media (max-width: 768px) {
  .consulta-acumulado-form {
    min-width: 100%;
    flex-direction: column;
  }

  .acumulado-grid {
    grid-template-columns: 1fr;
  }

}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-socials-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 700;
  margin-right: 4px;
}

.hero-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 19px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.hero-social-btn:hover {
  color: #ffffff;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.30);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
  .hero-socials {
    justify-content: flex-start;
  }

  .hero-social-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

}


/*
   =====================================================
   SECCIÓN DESTACADA DE PRODUCTOS
   =====================================================
*/

.featured-showcase {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 46px;
  padding: 28px 30px 26px;
  border-radius: 34px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .14), transparent 24%),
        radial-gradient(circle at 84% 26%, rgba(255, 255, 255, .10), transparent 25%),
        linear-gradient(135deg, #c2185b 0%, #8f2ab2 48%, #1e2fbf 100%);
  box-shadow: 0 28px 65px rgba(30, 47, 191, .18),
        0 20px 45px rgba(194, 24, 91, .16);
}

.featured-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1.2px);
  background-size: 42px 42px;
  opacity: .10;
  pointer-events: none;
}

.featured-top,
.featured-scene,
.featured-navigation {
  position: relative;
  z-index: 2;
}

.featured-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.featured-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
  margin-bottom: 4px;
}

.featured-top h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: #fff;
}

.featured-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.featured-tab {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  transition: .28s ease;
}

.featured-tab:hover,
.featured-tab.active {
  color: #2634b8;
  background: #fff;
  transform: translateY(-2px);
}

.featured-scene {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 20px;
  padding: 24px 0 12px;
}

.featured-copy {
  max-width: 560px;
  padding-left: 10px;
}

.featured-category {
  display: inline-block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  color: rgba(255,255,255,.92);
  margin-bottom: 16px;
}

.featured-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: .98;
  font-weight: 950;
  color: #fff;
  text-shadow: 0 16px 35px rgba(0,0,0,.25);
}

.featured-line {
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,.40));
  margin: 24px 0 18px;
}

.featured-description {
  max-width: 500px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.90);
  font-size: 16px;
  line-height: 1.65;
}

.featured-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #2437be;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0,0,0,.20);
  transition: .28s ease;
}

.featured-btn:hover {
  color: #c2185b;
  transform: translateY(-3px);
}

.featured-products {
  position: relative;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-main-img {
  position: relative;
  z-index: 3;
  width: min(390px, 86%);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 35px 35px rgba(0,0,0,.30));
  transition: opacity .42s ease,
        transform .55s ease,
        filter .42s ease;
  animation: featuredFloatMain 4.8s ease-in-out infinite;
}

.featured-float-img {
  position: absolute;
  z-index: 2;
  width: 118px;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(0,0,0,.24));
  transition: opacity .42s ease,
        transform .55s ease,
        filter .42s ease;
}

.float-one {
  left: 14px;
  bottom: 44px;
  animation: featuredFloatOne 4s ease-in-out infinite;
}

.float-two {
  right: 22px;
  top: 46px;
  animation: featuredFloatTwo 4.5s ease-in-out infinite;
}

.featured-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.featured-orb-left {
  width: 170px;
  height: 170px;
  left: -65px;
  bottom: -60px;
}

.featured-orb-right {
  width: 210px;
  height: 210px;
  right: -76px;
  top: -96px;
}

.featured-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: -6px;
}

.featured-nav-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: .25s ease;
}

.featured-nav-btn:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}

.featured-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.featured-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  transition: .28s ease;
}

.featured-dot.active {
  width: 31px;
  border-radius: 999px;
  background: #fff;
}

.featured-showcase.is-changing .featured-category,
.featured-showcase.is-changing .featured-title,
.featured-showcase.is-changing .featured-description,
.featured-showcase.is-changing .featured-main-img,
.featured-showcase.is-changing .featured-float-img {
  opacity: 0;
  transform: translateY(18px) scale(.94);
  filter: blur(8px);
}

@keyframes featuredFloatMain {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }

}

@keyframes featuredFloatOne {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }

  50% {
    transform: translateY(-12px) rotate(-2deg);
  }

}

@keyframes featuredFloatTwo {
  0%,
  100% {
    transform: translateY(0) rotate(7deg);
  }

  50% {
    transform: translateY(-14px) rotate(3deg);
  }

}

@media (max-width: 991px) {
  .featured-showcase {
    width: min(100% - 24px, 900px);
    padding: 24px 20px;
    border-radius: 28px;
  }

  .featured-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-scene {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    padding-top: 28px;
  }

  .featured-copy {
    max-width: 100%;
    padding-left: 0;
  }

  .featured-line {
    margin-left: auto;
    margin-right: auto;
  }

  .featured-description {
    margin-left: auto;
    margin-right: auto;
  }

  .featured-products {
    height: 330px;
    margin-top: 8px;
  }

  .featured-main-img {
    width: min(330px, 82%);
    max-height: 300px;
  }

  .featured-float-img {
    width: 88px;
  }

  .float-one {
    left: 12px;
    bottom: 34px;
  }

  .float-two {
    right: 12px;
    top: 28px;
  }

}

@media (max-width: 576px) {
  .featured-showcase {
    width: calc(100% - 20px);
    margin: 24px auto 30px;
    padding: 20px 16px;
  }

  .featured-top h2 {
    font-size: 24px;
  }

  .featured-tabs {
    width: 100%;
  }

  .featured-tab {
    flex: 1;
    padding: 9px 10px;
    font-size: 12px;
  }

  .featured-title {
    font-size: 36px;
  }

  .featured-description {
    font-size: 14px;
  }

  .featured-products {
    height: 270px;
  }

  .featured-main-img {
    width: min(270px, 82%);
    max-height: 250px;
  }

  .featured-float-img {
    width: 68px;
  }

  .featured-nav-btn {
    width: 44px;
    height: 44px;
  }

}



/* Fondo general premium oscuro */
body.catalog-body {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .10), transparent 24%),
    radial-gradient(circle at bottom left, rgba(244, 114, 182, .18), transparent 28%),
    linear-gradient(135deg, #46124d 0%, #26123f 48%, #171337 100%) !important;
  background-attachment: fixed;
  color: #fff;
}


/* Contenedor principal */

.catalog-home {
  padding-top: 24px;
  padding-bottom: 60px;
}


/*
   =====================================================
   HERO MÁS ANCHO TIPO ENCABEZADO
   =====================================================
*/

.catalog-hero {
  width: 100%;
  max-width: none;
  margin: 0 auto 30px;
  padding: 48px 56px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 34px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


/* Quitamos decoraciones anteriores del bloque */

.catalog-hero::before {
  content: "";
  display: block;
  position: absolute;
  top: -180px;
  right: -120px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle,
            rgba(236, 72, 153, .26) 0%,
            rgba(124, 58, 237, .16) 38%,
            transparent 72%
        );
  pointer-events: none;
}


/* Texto hero */

.catalog-title {
  color: #fff;
}

.catalog-subtitle {
  color: rgba(255, 255, 255, .88);
}

.brand-badge {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
}


/* Redes */

.hero-socials-text {
  color: #fff;
}


/*
   =====================================================
   COLECCIONES DESTACADAS - MISMO ESTILO DEL HERO
   =====================================================
*/

.featured-showcase {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 42px;
  padding: 30px 34px 28px;
  border-radius: 34px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


/* Quitar textura/fondo anterior */

.featured-showcase::before {
  display: none;
}


/* Quitar burbujas internas si quieres más limpio */

.featured-orb {
  display: none;
}


/* Encabezado */

.featured-top {
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.featured-kicker {
  color: #f9a8d4;
}

.featured-top h2 {
  color: #fff;
}


/* Textos */

.featured-category {
  color: #f9a8d4;
}

.featured-title {
  color: #fff;
  text-shadow: none;
}

.featured-description {
  color: rgba(255, 255, 255, .86);
}


/* Línea */

.featured-line {
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
}


/* Tabs */

.featured-tab {
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
}

.featured-tab:hover,
.featured-tab.active {
  background: #fff;
  color: #5b21b6;
}


/* Botón principal */

.featured-btn {
  background: linear-gradient(90deg, #db2777, #7c3aed);
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .24);
}

.featured-btn:hover {
  color: #fff;
}


/* Navegación */

.featured-nav-btn {
  border: 1px solid rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.featured-nav-btn:hover {
  background: rgba(255, 255, 255, .16);
}

.featured-dot {
  background: rgba(255, 255, 255, .38);
}

.featured-dot.active {
  background: #fff;
}


/*
   =====================================================
   CATÁLOGOS DISPONIBLES - ESTILO PREMIUM OSCURO
   =====================================================
*/

.catalog-list-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 50px;
}

.section-head h2 {
  color: #fff;
  font-weight: 900;
}

.section-head p {
  color: rgba(255, 255, 255, .76);
}


/* Tarjeta del catálogo integrada con el fondo del sitio */

.catalog-card-pro {
  position: relative;
  min-height: 190px;
  padding: 28px 30px;
  border-radius: 28px;
  text-decoration: none;
  overflow: hidden;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .10) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .28s ease, background .28s ease, border-color .28s ease;
}

.catalog-card-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 15%, rgba(139, 92, 246, .22), transparent 32%),
        radial-gradient(circle at 10% 100%, rgba(236, 72, 153, .20), transparent 30%);
  pointer-events: none;
}

.catalog-card-pro:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .11) !important;
  border-color: rgba(255, 255, 255, .28) !important;
}

.catalog-card-overlay {
  display: none;
}

.catalog-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.catalog-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #d81b60, #6d3cff);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .24);
}

.catalog-icon i {
  font-size: 24px;
}

.catalog-card-body h3 {
  margin: 0 0 6px;
  color: #ffffff !important;
  font-size: 25px;
  font-weight: 900;
}

.catalog-card-body p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 14px;
}

.catalog-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(90deg, #db2777, #7c3aed);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
  transition: transform .25s ease;
}

.catalog-card-pro:hover .catalog-open {
  transform: translateX(4px);
}

@media (max-width: 576px) {
  .catalog-card-pro {
    min-height: 180px;
    padding: 24px 22px;
  }

  .catalog-card-body h3 {
    font-size: 22px;
  }

}


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

@media (max-width: 991px) {
  .catalog-hero,
  .featured-showcase,
  .catalog-list-wrap {
    width: calc(100% - 24px);
  }

  .catalog-hero {
    padding: 32px 24px;
  }

  .featured-showcase {
    padding: 24px 20px;
  }

}

@media (max-width: 576px) {
  .catalog-hero,
  .featured-showcase,
  .catalog-list-wrap {
    width: calc(100% - 18px);
  }

  .catalog-home {
    padding-top: 14px;
  }

}


/*
   =====================================================
   CATÁLOGO DISPONIBLE TIPO BANNER / ENCABEZADO
   =====================================================
*/

.catalog-banner-pro {
  min-height: 150px !important;
  padding: 0 !important;
  display: block;
}

.catalog-banner-content {
  position: relative;
  z-index: 2;
  min-height: 150px;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.catalog-banner-left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.catalog-banner-left .catalog-icon {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  margin-bottom: 0;
}

.catalog-banner-left .catalog-icon i {
  font-size: 30px;
}

.catalog-banner-text {
  min-width: 0;
}

.catalog-mini-label {
  display: inline-block;
  margin-bottom: 6px;
  color: #f9a8d4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.catalog-banner-text h3 {
  margin: 0 0 6px;
  color: #fff !important;
  font-size: 30px;
  font-weight: 950;
}

.catalog-banner-text p {
  margin: 0;
  color: rgba(255, 255, 255, .76) !important;
  font-size: 15px;
  line-height: 1.5;
}

.catalog-banner-pro .catalog-open {
  flex-shrink: 0;
  min-height: 54px;
  padding: 0 24px;
  font-size: 15px;
}


/* Responsive */

@media (max-width: 768px) {
  .catalog-banner-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }

  .catalog-banner-left {
    align-items: flex-start;
    gap: 16px;
  }

  .catalog-banner-left .catalog-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .catalog-banner-text h3 {
    font-size: 24px;
  }

  .catalog-banner-pro .catalog-open {
    width: 100%;
    justify-content: center;
  }

}

@media (max-width: 991px) {
  .catalog-hero {
    min-height: auto;
    padding: 34px 24px 280px;
    display: block;
  }

  .catalog-hero-content {
    max-width: 100%;
  }

  .hero-logo {
    top: auto;
    bottom: 28px;
    right: 50%;
    transform: translateX(50%) scale(0.95);
    max-width: min(620px, 88vw);
    animation: logoMobileAppear 0.8s ease forwards;
  }

  @keyframes logoMobileAppear {
    from {
      opacity: 0;
      transform: translateX(50%) scale(0.82);
    }

    to {
      opacity: 1;
      transform: translateX(50%) scale(0.95);
    }

  }

}


/*
   =====================================================
   HERO PREMIUM 10/10
   =====================================================
*/

.catalog-hero {
  min-height: 375px;
  padding: 42px 52px;
}


/* Contenido izquierdo */

.catalog-hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding-top: 0;
}


/* Badge superior */

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


/* Título más premium */

.catalog-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(3rem, 4.2vw, 4.3rem);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -1.5px;
  text-shadow: 0 18px 38px rgba(0, 0, 0, .22);
}


/* Descripción */

.catalog-subtitle {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}


/*
   =====================================================
   BOTONES PREMIUM
   =====================================================
*/

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-btn {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  transition: transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        border-color .25s ease;
}


/* Botones secundarios cristal */

.hero-btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-btn-glass:hover {
  color: #fff;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .34);
  box-shadow: 0 16px 28px rgba(0, 0, 0, .20);
}


/* Botón principal */

.hero-btn-main {
  color: #fff;
  background: linear-gradient(100deg, #e11d74 0%, #b832d9 48%, #6d3cff 100%);
  box-shadow: 0 20px 38px rgba(0, 0, 0, .28),
        0 10px 24px rgba(219, 39, 119, .24);
}

.hero-btn-main:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 26px 48px rgba(0, 0, 0, .34),
        0 14px 30px rgba(219, 39, 119, .30);
}


/* Botón panel si el admin está logueado */

.hero-btn-panel {
  color: #fff;
  background: linear-gradient(100deg, #2563eb, #7c3aed);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .24);
}

.hero-btn-panel:hover {
  color: #fff;
  transform: translateY(-3px);
}


/*
   =====================================================
   REDES SOCIALES PREMIUM
   =====================================================
*/

.hero-socials-premium {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-socials-text {
  margin-right: 4px;
  color: rgba(255, 255, 255, .94);
  font-size: 14px;
  font-weight: 850;
}

.hero-social-btn {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.hero-social-btn:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.08);
  background: linear-gradient(135deg, #db2777, #7c3aed);
  box-shadow: 0 16px 28px rgba(0, 0, 0, .28);
}


/*
   =====================================================
   LOGO MÁS PROTAGONISTA
   =====================================================
*/

.hero-logo {
  right: 110px;
  max-width: min(720px, 44vw);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .34));
}


/* Glow más elegante detrás del logo */

.catalog-hero::before {
  content: "";
  display: block;
  position: absolute;
  top: -170px;
  right: -80px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle,
            rgba(244, 114, 182, .28) 0%,
            rgba(168, 85, 247, .18) 38%,
            transparent 72%
        );
  pointer-events: none;
}


/* Detalle de luz suave abajo izquierda */

.catalog-hero::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
        circle,
        rgba(255, 255, 255, .12) 0%,
        transparent 72%
    );
  pointer-events: none;
}


/*
   =====================================================
   RESPONSIVE HERO PREMIUM
   =====================================================
*/

@media (max-width: 991px) {
  .catalog-hero {
    min-height: auto;
    padding: 38px 24px 300px;
  }

  .catalog-hero-content {
    max-width: 100%;
  }

  .catalog-title {
    font-size: clamp(2.7rem, 8vw, 3.5rem);
  }

  .catalog-subtitle {
    font-size: 15px;
  }

  .hero-logo {
    right: 50%;
    bottom: 34px;
    top: auto;
    max-width: min(700px, 88vw);
    transform: translateX(50%);
  }

  .hero-actions {
    gap: 10px;
  }

}

@media (max-width: 576px) {
  .catalog-hero {
    padding: 28px 18px 30px;
    border-radius: 28px;
}
  .brand-badge {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .catalog-title {
    font-size: 2.55rem;
  }

  .catalog-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 22px;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-socials-premium {
    width: 100%;
    justify-content: center;
    border-radius: 22px;
  }

 .hero-logo {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: block;

   width: 230px !important;
max-width: 65vw !important;
margin: -10px auto -5px !important;

    

    transform: none !important;
    animation: none !important;

    object-fit: contain;
}

.floating-buttons {
    left: auto !important;
    right: 14px !important;
    bottom: 18px !important;
    gap: 10px;
}

.float-btn {
    width: 52px;
    height: 52px;
    font-size: 21px;
}

}


/*
   =====================================================
   AJUSTE DE ESPACIO ENTRE HERO Y COLECCIONES
   =====================================================
*/

.catalog-hero {
  margin-bottom: 20px !important;
}

.featured-showcase {
  margin-top: 0 !important;
}


/*
   =====================================================
   COLECCIONES + PREMIOS AL CONTADO EN DOS COLUMNAS
   =====================================================
*/

.home-premium-row {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(320px, .95fr);
  gap: 24px;
  align-items: stretch;
}


/* El bloque de colecciones ya no necesita centrarse solo */

.home-premium-row .featured-showcase {
  width: 100%;
  margin: 0;
}


/*
   =====================================================
   TARJETA LATERAL PREMIOS AL CONTADO
   =====================================================
*/

.cash-rewards-side {
  position: relative;
  min-height: 100%;
  padding: 32px 28px;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cash-rewards-side::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
        circle,
        rgba(236, 72, 153, .30) 0%,
        rgba(124, 58, 237, .18) 42%,
        transparent 72%
    );
  pointer-events: none;
}

.cash-rewards-side::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
        circle,
        rgba(255, 255, 255, .12) 0%,
        transparent 72%
    );
  pointer-events: none;
}

.cash-rewards-side > * {
  position: relative;
  z-index: 2;
}

.cash-rewards-side-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #f9a8d4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.cash-rewards-side h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 950;
  line-height: 1.05;
  color: #fff;
}

.cash-rewards-side p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.65;
}

.cash-rewards-side-icon {
  width: 82px;
  height: 82px;
  margin: 2px 0 24px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: 38px;
  color: #fff;
  background: linear-gradient(135deg, #e11d74, #8b5cf6);
  box-shadow: 0 22px 38px rgba(0, 0, 0, .28);
}

.cash-rewards-mini-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.cash-rewards-mini-list div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .90);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.cash-rewards-mini-list i {
  color: #f9a8d4;
  margin-top: 2px;
}

.cash-rewards-side-btn {
  width: fit-content;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .26);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cash-rewards-side-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 24px 42px rgba(0, 0, 0, .34);
}


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

@media (max-width: 1200px) {
  .home-premium-row {
    grid-template-columns: 1fr;
    width: min(1180px, calc(100% - 32px));
  }

  .cash-rewards-side {
    min-height: auto;
  }

}

@media (max-width: 576px) {
  .home-premium-row {
    width: calc(100% - 18px);
    gap: 18px;
  }

  .cash-rewards-side {
    padding: 24px 20px;
    border-radius: 28px;
  }

  .cash-rewards-side-btn {
    width: 100%;
  }

}


/*
   =====================================================
   GALERÍA DE IMÁGENES - PREMIOS AL CONTADO
   =====================================================
*/

.cash-rewards-gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: repeat(2, 92px);
  gap: 12px;
  width: 100%;
  margin: 6px 0 24px;
}

.reward-preview {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.reward-preview:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .30);
}

.reward-preview-main {
  grid-row: 1 / span 2;
  min-height: 196px;
}

.reward-preview img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .32));
}

.reward-preview-small img {
  width: 82%;
  height: 82%;
}


/* Responsive */

@media (max-width: 576px) {
  .cash-rewards-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 110px;
  }

  .reward-preview-main {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: 140px;
  }

}


/*
   =====================================================
   PREMIOS - TARJETAS MÁS PREMIUM
   =====================================================
*/

.cash-rewards-showcase {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 14px;
  width: 100%;
  margin: 10px 0 24px;
}

.reward-premium-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 14px;
  background: radial-gradient(circle at 50% 30%, rgba(236, 72, 153, .20), transparent 58%),
        rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08),
        0 18px 32px rgba(0, 0, 0, .20);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.reward-premium-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .32);
  background: radial-gradient(circle at 50% 30%, rgba(236, 72, 153, .30), transparent 58%),
        rgba(255, 255, 255, .12);
}

.reward-premium-main {
  min-height: 245px;
}

.reward-premium-secondary {
  min-height: 245px;
}

.reward-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e11d74, #8b5cf6);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .24);
}

.reward-image-stage {
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.reward-image-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .38));
  transition: transform .28s ease;
}

.reward-premium-card:hover .reward-image-stage img {
  transform: scale(1.06);
}

.reward-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reward-info strong {
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.reward-info span {
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
  line-height: 1.4;
}


/* Responsive */

@media (max-width: 576px) {
  .cash-rewards-showcase {
    grid-template-columns: 1fr;
  }

  .reward-premium-main,
  .reward-premium-secondary {
    min-height: auto;
  }

  .reward-image-stage {
    height: 150px;
  }

}

.reward-zoom-img {
  cursor: zoom-in;
}


/*
   =====================================================
   PÁGINA QUIÉNES SOMOS - FONDO PREMIUM
   =====================================================
*/

.about-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 12% 25%, rgba(236, 72, 153, 0.22), transparent 28%),
        radial-gradient(circle at 88% 15%, rgba(168, 85, 247, 0.24), transparent 30%),
        radial-gradient(circle at 85% 85%, rgba(194, 24, 91, 0.22), transparent 32%),
        radial-gradient(circle at 8% 90%, rgba(99, 102, 241, 0.18), transparent 34%),
        linear-gradient(135deg, #fff2f8 0%, #f3e8ff 42%, #eadcff 72%, #dcc4f3 100%);
}


/* Luces decorativas suaves */

.about-page::before,
.about-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.about-page::before {
  width: 420px;
  height: 420px;
  left: -170px;
  bottom: -180px;
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.about-page::after {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 180px;
  background: radial-gradient(circle, rgba(255,255,255,.34), rgba(255,255,255,0));
}


/* Para que el contenido quede encima del fondo */

.about-page .container {
  position: relative;
  z-index: 1;
}


/* Título y subtítulo más integrados al diseño */

.about-title {
  color: #23182f;
  font-weight: 800;
}

.about-subtitle {
  color: rgba(57, 41, 72, 0.72);
}


/* Tarjetas un poco más premium */

.about-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 22px 50px rgba(72, 33, 91, 0.12);
  backdrop-filter: blur(8px);
}


/* Fondo visual del área del catálogo */


/*
   =====================================================
   CONTENEDOR DEL FLIPBOOK - LIMPIO Y ELEGANTE
   =====================================================
*/

#flipbook-wrap {
  width: 100%;
  display: grid;
  justify-content: center;
  align-items: flex-start;
  padding: 22px 16px 34px;
  margin: 0 auto;
  background: transparent;
  border: none;
  box-shadow: none;
}


/* Indicador de página */

.page-badge {
  top: 10px;
  left: 10px;
  background: rgba(25, 27, 49, .86);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}


/*
   =====================================================
   TARJETAS DE PRODUCTOS SOBRE LA PÁGINA
   =====================================================
*/

.product-mini {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.90);
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.80);
  transition: transform .22s ease, box-shadow .22s ease;
}

.product-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.86);
}

.product-mini img {
  background: linear-gradient(180deg, #ffffff, #faf7ff);
  border-radius: 18px;
}

.p-code {
  color: #d62db7;
  font-weight: 900;
}

.p-name {
  color: #23243d;
  font-weight: 800 !important;
}

.p-price {
  color: #5b607a;
  font-weight: 800;
}

.product-mini button.badge {
  border: none;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff) !important;
  box-shadow: 0 10px 20px rgba(109, 60, 255, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-mini button.badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(109, 60, 255, .34);
}


/*
   =====================================================
   CONSULTA DE ACUMULADO / PREMIOS
   =====================================================
*/

.consulta-acumulado-card {
  position: relative;
  overflow: hidden;
  width: min(1500px, calc(100% - 36px));
  margin: 18px auto 26px;
  padding: 28px 30px;
  border-radius: 28px;
  color: #fff;
  background: radial-gradient(circle at 88% 22%, rgba(237,103,207,.22), transparent 28%),
        radial-gradient(circle at 16% 90%, rgba(104,72,242,.20), transparent 34%),
        rgba(25, 27, 49, .88);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 24px 56px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.consulta-acumulado-card h4,
.consulta-acumulado-card h5,
.consulta-acumulado-card h3 {
  color: #fff;
  font-weight: 900;
}

.consulta-acumulado-card p {
  color: rgba(255,255,255,.76);
}

.consulta-badge {
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff);
  box-shadow: 0 12px 24px rgba(0,0,0,.24);
  font-weight: 900;
  padding: 8px 15px;
}

.consulta-acumulado-form input {
  min-height: 50px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  color: #fff;
  box-shadow: none;
}

.consulta-acumulado-form input::placeholder {
  color: rgba(255,255,255,.58);
}

.consulta-acumulado-form input:focus {
  color: #fff;
  background: rgba(255,255,255,.15);
  border-color: rgba(128,103,255,.90);
  box-shadow: 0 0 0 .22rem rgba(104,72,242,.18);
}

.consulta-acumulado-form button {
  min-height: 50px;
  border-radius: 15px;
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
  transition: transform .22s ease, box-shadow .22s ease;
}

.consulta-acumulado-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.32);
}


/* Resultado del acumulado */

.acumulado-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.acumulado-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  color: #fff;
}

.acumulado-item span {
  color: rgba(255,255,255,.70);
}

.acumulado-item strong {
  color: #f48bdc;
}


/*
   =====================================================
   BOTÓN CARRITO FLOTANTE
   =====================================================
*/

.cart-fab {
  right: 22px;
  bottom: 20px;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(100deg, #2563eb, #6d3cff);
  box-shadow: 0 20px 40px rgba(0,0,0,.34),
        0 12px 24px rgba(109,60,255,.24);
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease;
}

.cart-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 48px rgba(0,0,0,.40),
        0 15px 30px rgba(109,60,255,.30);
}

.cart-count {
  color: #5b35ff;
  font-weight: 900;
}


/*
   =====================================================
   PANEL DEL CARRITO
   =====================================================
*/

.cart-panel {
  background: rgba(25, 27, 49, .96);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 30px 70px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
}

.cart-head,
.cart-foot {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: #fff;
}

.cart-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.cart-item .name {
  color: #fff;
}

.cart-item .sub {
  color: rgba(255,255,255,.72);
}

.cart-item img {
  background: #fff;
}


/*
   =====================================================
   BOTONES FLOTANTES WHATSAPP / TELÉFONO
   =====================================================
*/

.float-btn {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 20px 38px rgba(0,0,0,.32);
}

.phone {
  background: linear-gradient(135deg, #2563eb, #3730a3);
}

.chat {
  background: linear-gradient(135deg, #e11d74, #8b5cf6);
}

.tooltip {
  background: rgba(25,27,49,.96);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.30);
}


/*
   =====================================================
   BOTÓN FULLSCREEN
   =====================================================
*/

.fullscreen-btn {
  background: rgba(25,27,49,.86);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
}

.fullscreen-btn:hover {
  background: rgba(42,45,77,.96);
}


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

@media (max-width: 900px) {
  #flipbook-wrap,
  .consulta-acumulado-card {
    width: calc(100% - 20px);
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 24px;
  }

}

@media (max-width: 600px) {
  #flipbook-wrap {
    padding: 18px 10px 24px;
  }

  .consulta-acumulado-card {
    padding: 20px 16px;
  }

  .cart-panel {
    right: 10px;
    width: calc(100vw - 20px);
  }

  .floating-buttons {
    left: 16px;
    bottom: 22px;
  }

  .float-btn {
    width: 54px;
    height: 54px;
    font-size: 21px;
  }

  .cart-fab {
    right: 14px;
    bottom: 14px;
  }

}


/*
   =====================================================
   ENCABEZADO PREMIUM DEL CATÁLOGO PÚBLICO
   =====================================================
*/

.catalog-public-header {
  width: min(1500px, calc(100% - 36px));
  margin: 16px auto 22px;
  padding: 28px 30px;
  border-radius: 30px;
  color: #fff;
  background: radial-gradient(circle at 84% 18%, rgba(237,103,207,.22), transparent 28%),
        radial-gradient(circle at 14% 92%, rgba(104,72,242,.20), transparent 34%),
        rgba(25, 27, 49, .88);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 24px 56px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


/* Fila superior: título + botón */

.catalog-public-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.catalog-public-title-box {
  max-width: 800px;
}

.catalog-public-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(0,0,0,.24);
}

.catalog-public-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -.8px;
}

.catalog-public-description {
  margin: 0;
  max-width: 720px;
  color: rgba(255,255,255,.76);
  font-size: 15px;
  line-height: 1.65;
}


/* Botón Cómo comprar */

.catalog-help-btn {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px rgba(0,0,0,.22);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.catalog-help-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff);
  box-shadow: 0 22px 38px rgba(0,0,0,.30);
}


/* Bloque seleccionar tienda */

.catalog-store-premium {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 540px);
  gap: 24px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}

.catalog-store-copy {
  min-width: 0;
}

.catalog-store-label {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
}

.catalog-store-copy p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

.catalog-store-select-wrap {
  width: 100%;
}

.catalog-store-select {
  width: 100%;
  min-height: 58px !important;
  padding-left: 18px !important;
  padding-right: 46px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background-color: rgba(255,255,255,.10) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 750;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") !important;
}

.catalog-store-select:focus {
  background-color: rgba(255,255,255,.15) !important;
  color: #fff !important;
  border-color: rgba(128,103,255,.92) !important;
  box-shadow: 0 0 0 .22rem rgba(104,72,242,.18) !important;
}

.catalog-store-select option {
  background: #20223b;
  color: #fff;
}


/*
   =====================================================
   RESPONSIVE ENCABEZADO CATÁLOGO
   =====================================================
*/

@media (max-width: 991px) {
  .catalog-public-header {
    width: calc(100% - 20px);
    padding: 22px 18px;
    border-radius: 26px;
  }

  .catalog-store-premium {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .catalog-help-btn {
    width: 100%;
  }

}

@media (max-width: 576px) {
  .catalog-public-title {
    font-size: 30px;
  }

  .catalog-public-description {
    font-size: 14px;
  }

  .catalog-store-select {
    min-height: 54px !important;
  }

}


/*
   =====================================================
   HEADER + ACUMULADO PREMIUM CLARO
   MÁS ELEGANTE PARA VISTA DE CATÁLOGO
   SIN TOCAR FLIPBOOK
   =====================================================
*/

.catalog-body {
  padding-top: 18px;
}


/*
   =====================================================
   ENCABEZADO DEL CATÁLOGO
   =====================================================
*/

.catalog-public-header {
  width: min(1380px, calc(100% - 36px));
  margin: 0 auto 18px;
  padding: 24px 28px;
  border-radius: 30px;
  color: #1f2937;
  background: radial-gradient(circle at 88% 15%, rgba(194, 24, 91, .10), transparent 28%),
        radial-gradient(circle at 12% 100%, rgba(109, 60, 255, .08), transparent 30%),
        rgba(255, 255, 255, .88);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 24px 58px rgba(31, 41, 55, .10),
        inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.catalog-public-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.catalog-public-title-box {
  min-width: 0;
}

.catalog-public-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .8px;
  box-shadow: 0 10px 22px rgba(109, 60, 255, .18);
}

.catalog-public-title {
  margin: 0 0 8px;
  color: #27133f;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.9px;
}

.catalog-public-description {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  font-weight: 700;
}


/* Botón Cómo comprar */

.catalog-help-btn {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid rgba(109,60,255,.18);
  color: #5b21b6;
  background: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(31,41,55,.10);
  transition: .24s ease;
}

.catalog-help-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  border-color: transparent;
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff);
  box-shadow: 0 20px 36px rgba(109,60,255,.22);
}


/*
   =====================================================
   BLOQUE SELECCIONAR TIENDA
   =====================================================
*/

.catalog-store-premium {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(380px, 520px);
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(248, 246, 255, .82);
  border: 1px solid rgba(109,60,255,.10);
}

.catalog-store-label {
  display: block;
  margin-bottom: 5px;
  color: #27133f;
  font-size: 16px;
  font-weight: 950;
}

.catalog-store-copy p {
  margin: 0;
  color: #6b7280;
  font-size: 13.5px;
  line-height: 1.5;
}

.catalog-store-select {
  min-height: 54px !important;
  padding-left: 17px !important;
  padding-right: 45px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(109,60,255,.18) !important;
  background-color: rgba(255,255,255,.96) !important;
  color: #27133f !important;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(31,41,55,.06) !important;
}

.catalog-store-select:focus {
  border-color: rgba(139,92,246,.70) !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 .22rem rgba(109,60,255,.14) !important;
}

.catalog-store-select option {
  background: #fff;
  color: #27133f;
}


/*
   =====================================================
   CONSULTA DE ACUMULADO
   =====================================================
*/

.consulta-acumulado-card {
  width: min(1380px, calc(100% - 36px));
  margin: 0 auto 22px;
  padding: 21px 28px;
  border-radius: 28px;
  color: #1f2937;
  background: radial-gradient(circle at 86% 22%, rgba(194,24,91,.09), transparent 26%),
        rgba(255, 255, 255, .88);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 20px 46px rgba(31,41,55,.09),
        inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.consulta-badge {
  padding: 7px 14px;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 950;
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff);
  box-shadow: 0 10px 22px rgba(109,60,255,.18);
}

.consulta-acumulado-card h5 {
  color: #27133f;
  font-size: 19px;
  font-weight: 950;
}

.consulta-acumulado-card .text-muted {
  color: #6b7280 !important;
  font-size: 14px;
}

.consulta-acumulado-form {
  min-width: 380px;
  gap: 10px;
}

.consulta-acumulado-form input {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(109,60,255,.16);
  background: rgba(255,255,255,.96);
  color: #27133f;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(31,41,55,.05);
}

.consulta-acumulado-form input::placeholder {
  color: #8b8fa3;
}

.consulta-acumulado-form input:focus {
  color: #27133f;
  background: #fff;
  border-color: rgba(139,92,246,.70);
  box-shadow: 0 0 0 .22rem rgba(109,60,255,.14);
}

.consulta-acumulado-form button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: none;
  color: #fff;
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff);
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(109,60,255,.18);
  transition: .24s ease;
}

.consulta-acumulado-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(109,60,255,.24);
}


/*
   =====================================================
   SEPARACIÓN MÁS LIMPIA HACIA EL CATÁLOGO
   =====================================================
*/

.consulta-acumulado-card {
  margin-bottom: 14px !important;
}


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

@media (max-width: 991px) {
  .catalog-public-header,
  .consulta-acumulado-card {
    width: calc(100% - 20px);
    padding: 20px 18px;
    border-radius: 24px;
  }

  .catalog-public-top {
    flex-direction: column;
  }

  .catalog-help-btn {
    width: 100%;
  }

  .catalog-store-premium {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 17px;
  }

  .consulta-acumulado-form {
    min-width: 100%;
  }

}

@media (max-width: 768px) {
  .consulta-acumulado-form {
    flex-direction: column;
  }

  .consulta-acumulado-form button {
    width: 100%;
  }

  .catalog-public-title {
    font-size: 34px;
  }

}


/*
   =====================================================
   CABECERA PROFESIONAL DEL CATÁLOGO PÚBLICO
   No toca flipbook
   =====================================================
*/

.catalog-commerce-head {
  width: min(1420px, calc(100% - 40px));
  margin: 20px auto 26px;
  padding: 28px 30px 26px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  color: #fff;
  background: radial-gradient(circle at 88% 12%, rgba(240, 79, 190, .25), transparent 28%),
        radial-gradient(circle at 10% 100%, rgba(111, 76, 255, .22), transparent 34%),
        linear-gradient(135deg, #27254d 0%, #302448 55%, #29193f 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px rgba(20, 12, 40, .28),
        inset 0 1px 0 rgba(255,255,255,.09);
}

.catalog-commerce-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.05), transparent 35%),
        radial-gradient(circle at 72% 0%, rgba(255,255,255,.07), transparent 28%);
  pointer-events: none;
}

.catalog-commerce-head > * {
  position: relative;
  z-index: 2;
}


/*
   =====================================================
   FILA SUPERIOR
   =====================================================
*/

.commerce-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.commerce-brand {
  min-width: 0;
}

.commerce-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(100deg, #e11d74, #bd32da, #7042ff);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .85px;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0,0,0,.24);
}

.commerce-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

.commerce-title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 56px);
  line-height: .96;
  font-weight: 950;
  letter-spacing: -1.3px;
}

.commerce-period {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 850;
}

.commerce-caption {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.76);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}


/*
   =====================================================
   BOTÓN TOUR
   =====================================================
*/

.commerce-help-btn {
  min-height: 54px;
  padding: 0 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px rgba(0,0,0,.24);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.commerce-help-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: transparent;
  background: linear-gradient(100deg, #e11d74, #bd32da, #7042ff);
  box-shadow: 0 22px 42px rgba(0,0,0,.34);
}


/*
   =====================================================
   ZONA DE CONTROLES
   =====================================================
*/

.commerce-controls {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(520px, 1.2fr);
  gap: 18px;
}

.commerce-control {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06),
        0 12px 28px rgba(0,0,0,.14);
}

.commerce-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.commerce-label i {
  color: #f58bdc;
  font-size: 16px;
}


/*
   =====================================================
   SELECT TIENDA
   =====================================================
*/

.commerce-select {
  width: 100%;
  min-height: 58px !important;
  padding-left: 18px !important;
  padding-right: 48px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  background-color: rgba(255,255,255,.12) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 850;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") !important;
}

.commerce-select:focus {
  background-color: rgba(255,255,255,.16) !important;
  border-color: rgba(178,142,255,.92) !important;
  box-shadow: 0 0 0 .22rem rgba(124, 77, 255, .20) !important;
}

.commerce-select option {
  color: #231638;
  background: #fff;
}


/*
   =====================================================
   CONSULTA ACUMULADO
   =====================================================
*/

.commerce-rewards-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.commerce-rewards-input {
  min-height: 58px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  box-shadow: none !important;
}

.commerce-rewards-input::placeholder {
  color: rgba(255,255,255,.60);
}

.commerce-rewards-input:focus {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(178,142,255,.92) !important;
  box-shadow: 0 0 0 .22rem rgba(124,77,255,.20) !important;
}

.commerce-rewards-btn {
  min-height: 58px;
  padding: 0 24px;
  border: none;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(100deg, #e11d74, #bd32da, #7042ff);
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(0,0,0,.26);
  transition: transform .22s ease, box-shadow .22s ease;
}

.commerce-rewards-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(0,0,0,.34);
}


/* Resultado acumulado */

.commerce-rewards-control .acumulado-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}

.commerce-rewards-control .acumulado-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.commerce-rewards-control .acumulado-item span {
  color: rgba(255,255,255,.74);
}

.commerce-rewards-control .acumulado-item strong {
  color: #ff98e7;
}


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

@media (max-width: 1100px) {
  .commerce-controls {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  .catalog-commerce-head {
    width: calc(100% - 20px);
    padding: 22px 18px;
    border-radius: 26px;
  }

  .commerce-head-top {
    flex-direction: column;
  }

  .commerce-help-btn {
    width: 100%;
  }

  .commerce-title {
    font-size: 38px;
  }

}

@media (max-width: 640px) {
  .commerce-rewards-form {
    grid-template-columns: 1fr;
  }

  .commerce-rewards-btn {
    width: 100%;
  }

  .commerce-title-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .commerce-control {
    padding: 16px;
    border-radius: 20px;
  }

}

.catalog-commerce-head {
  margin-bottom: 12px !important;
}

@media (min-width: 901px) {
  #flipbook-wrap {
    padding-top: 6px !important;
  }

}


/*
   =====================================================
   RESALTADO ELEGANTE DEL CATÁLOGO
   Sin caja gigante ni tocar el funcionamiento
   =====================================================
*/

#flipbook-wrap {
  position: relative;
  isolation: isolate;
}


/* Halo de luz suave detrás del libro */

#flipbook-wrap::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, 72vw);
  height: min(760px, calc(100% - 80px));
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
            ellipse,
            rgba(255,255,255,.88) 0%,
            rgba(255,255,255,.42) 38%,
            rgba(244,114,182,.08) 58%,
            transparent 74%
        );
}


/* Sombra de apoyo debajo del catálogo */

#flipbook-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 52px;
  transform: translateX(-50%);
  width: min(980px, 62vw);
  height: 64px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
        ellipse,
        rgba(37, 20, 60, .22) 0%,
        rgba(37, 20, 60, .08) 42%,
        transparent 74%
    );
  filter: blur(22px);
}


/* Catálogo y controles por encima del halo */

#flipbook,
.flip-controls {
  position: relative;
  z-index: 1;
}


/* Sombra más marcada y elegante debajo del catálogo */

#flipbook-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(1180px, 72vw);
  height: 90px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
        ellipse,
        rgba(35, 18, 56, .32) 0%,
        rgba(35, 18, 56, .16) 38%,
        rgba(35, 18, 56, .05) 58%,
        transparent 76%
    );
  filter: blur(28px);
}


/*
   =====================================================
   IMAGEN DE PRODUCTO UN POCO MÁS GRANDE
   =====================================================
*/


/* Tablet: un poco más grande, pero sin salirse */


/*
   =====================================================
   TAMAÑO SEGURO DE IMAGEN PARA QUE NO BAJE EL BOTÓN
   =====================================================
*/

@media (max-width: 600px) {
  .product-mini img {
    height: 68px !important;
  }

  .product-mini button.badge {
    margin-top: auto !important;
    height: 20px !important;
    font-size: 9px !important;
  }

}

@media (min-width: 601px) and (max-width: 1199px) {
  .product-mini img {
    height: 80px !important;
  }

}

@media (min-width: 1200px) {
  .product-mini img {
    height: 180px !important;
    width: 100%;
    object-fit: contain;
  }

}


/*
   =====================================================
   OPCIONES DE CANJE - TEXTO VISIBLE
   =====================================================
*/

.canje-opcion-card {
  color: #1f2937 !important;
}

.canje-opcion-card b,
.canje-opcion-card .small,
.canje-opcion-card div {
  color: #1f2937 !important;
}

.canje-opcion-card .badge {
  color: #ffffff !important;
}

.acumulado-box .text-muted {
  color: rgba(255,255,255,.72) !important;
}


/*
   =====================================================
   MODAL PREMIUM DE ACUMULADO
   =====================================================
*/

#modalAcumulado {
  z-index: 999999 !important;
}

#modalAcumulado .modal-dialog {
  z-index: 1000000 !important;
}

.acumulado-modal-content {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 88% 12%, rgba(240,79,190,.22), transparent 28%),
        radial-gradient(circle at 12% 100%, rgba(111,76,255,.20), transparent 34%),
        linear-gradient(135deg, #27254d 0%, #302448 55%, #29193f 100%);
  box-shadow: 0 35px 90px rgba(0,0,0,.48);
}

.acumulado-modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.acumulado-modal-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 13px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: linear-gradient(100deg, #e11d74, #bd32da, #7042ff);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.acumulado-modal-header .modal-title {
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

#modalAcumulado .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 1;
}

.acumulado-modal-body {
  padding: 24px;
}

.acumulado-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.acumulado-loading {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}

#modalAcumulado .acumulado-box {
  margin: 0;
}

@media (max-width: 768px) {
  .acumulado-modal-header .modal-title {
    font-size: 20px;
  }

  .acumulado-modal-body {
    padding: 16px;
  }

}

#stockTooltip {
  position: fixed;
  z-index: 999999;
  width: 220px;
  max-width: calc(100vw - 24px);
  background: rgba(17, 24, 39, 0.96);
  color: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  font-size: 11px;
  line-height: 1.28;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  max-height: none;
  overflow: visible;
}

#stockTooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.stock-title {
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.stock-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.stock-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stock-line span {
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stock-line b {
  color: #fff;
  min-width: 35px;
  text-align: right;
  font-weight: 900;
}

.stock-empty {
  color: rgba(255,255,255,0.75);
}

.btn-volver-catalogos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  transition: all .2s ease;
}

.btn-volver-catalogos:hover {
  background: linear-gradient(135deg, #C2185B, #7C3AED);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(194, 24, 91, .35);
}

.btn-volver-catalogos i {
  font-size: 14px;
}




/*
   =====================================================
   FIX FINAL: BOTÓN AGREGAR FIJO Y SIN CORTARSE
   =====================================================
*/

.product-mini {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 7px 7px 32px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.product-mini img {
  height: 82px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
}

.p-code {
  font-size: 15px !important;
  line-height: 1 !important;
  margin-top: 4px !important;
  min-height: 16px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.p-name {
  font-size: 10px !important;
  line-height: 1 !important;
  margin-top: 1px !important;
  min-height: 29px !important;
  max-height: 29px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.p-price {
  font-size: 15px !important;
  line-height: 1.2 !important;
  margin-top: -3px !important;
  flex-shrink: 0 !important;
}

.product-mini button.badge {
  position: absolute !important;
  left: 0px !important;
  right: 8px !important;
  bottom: 4px !important;
  height: 10px !important;
  min-height: 24px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}





/*
   =====================================================
   NÚMERO DE PÁGINA ABAJO A LA DERECHA
   =====================================================
*/

.page-badge {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: 1px !important;
  bottom: 1px !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(25, 27, 49, 0.78) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  z-index: 30 !important;
  pointer-events: none !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.25) !important;
}

@media (max-width: 600px) {
  .page-badge {
    right: 8px !important;
    bottom: 8px !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
  }

}


/*
   =====================================================
   CONTROLES MANUALES DEL CATÁLOGO
   =====================================================
*/


/* Área donde van los 9 productos */

.products-overlay {
  top: 15px !important;
  left: 25px !important;
  right: 25px !important;
  bottom: 24px !important;
  gap: 4px !important;
}


/* Tarjeta del producto */

.product-mini {
  padding: 8px !important;
  border-radius: 16px !important;
}


/* Imagen del producto */

.product-mini img,
.product-mini img.product-thumb {
  width: 100% !important;
  max-width: 100% !important;
  height: 180px !important;
  object-fit: contain !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* Código */

.p-code {
  font-size: 14px !important;
  margin-top: 3px !important;
}


/* Nombre */

.p-name {
  font-size: 14px !important;
  line-height: 1.1 !important;
}


/* Precio */

.p-price {
  font-size: 18px !important;
}


/* Botón agregar */

.product-mini button.badge {
  height: 22px !important;
  font-size: 15px !important;
}


/*
   =====================================================
   AJUSTE MÓVIL CATÁLOGO
   =====================================================
*/

@media (max-width: 600px) {
  #flipbook-wrap {
    padding: 8px 8px 90px !important;
    align-items: flex-start !important;
    overflow: visible !important;
  }

  #flipbook {
    margin-top: 20px !important;
  }

  .products-overlay {
    outline: none !important;
    top: 10px !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 34px !important;
    gap: 6px !important;
  }

  .product-mini {
    padding: 2px !important;
    border-radius: 12px !important;
  }

  .product-mini img,
  .product-mini img.product-thumb {
    height: 120px !important;
    max-height: 45% !important;
    object-fit: contain !important;
  }

  .p-code {
    font-size: 11px !important;
    margin-top: 2px !important;
  }

  .p-name {
    font-size: 7px !important;
    line-height: 1 !important;
    -webkit-line-clamp: 2 !important;
  }

  .p-price {
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin-top: -12px !important;
  }

  .product-mini button.badge {
    height: 18px !important;
    font-size: 8px !important;
    padding: 2px 4px !important;
  }

  .page-badge {
    right: 8px !important;
    bottom: 8px !important;
    left: auto !important;
    top: auto !important;
  }

  .flip-controls {
    margin-top: 10px !important;
    padding-bottom: 20px !important;
  }

  

}



/* =====================================================
   BOTONES FLOTANTES EN CELULAR - LIMPIO
===================================================== */

@media (max-width: 600px) {
  body.catalog-body {
    padding-bottom: 120px !important;
  }

  .catalog-home,
  #flipbook-wrap {
    padding-bottom: 130px !important;
  }

  .flip-controls {
    margin-bottom: 90px !important;
  }

  .consulta-acumulado-card {
    margin-bottom: 120px !important;
  }

  .cart-fab {
    position: fixed !important;
    top: auto !important;
    right: 14px !important;
    left: auto !important;
    bottom: calc(var(--safe-bottom, 0px) + 12px) !important;
    z-index: 999999 !important;
    touch-action: none !important;
  }

 .floating-buttons {
    position: fixed !important;
    left: auto !important;
    right: 12px !important;
    bottom: 18px !important;
    z-index: 999998 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.floating-buttons .phone {
    display: none !important;
}

.floating-buttons .whatsapp {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
}

  

  body.cart-open .cart-fab,
  body.cart-open .floating-buttons,
  body:has(#imgModal.active) .cart-fab,
  body:has(#imgModal.active) .floating-buttons {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 600px) {
  .img-modal-box {
    width: 88vw !important;
    height: 62vh !important;
    max-height: 62vh !important;
    padding: 14px !important;
    border-radius: 22px !important;
  }

  #imgModal {
    padding: 16px !important;
    align-items: center !important;
  }

  #imgModalSrc {
    object-fit: contain !important;
  }

  

}


/* Ocultar WhatsApp y teléfono cuando el catálogo está en pantalla completa */

#flipbook-wrap:fullscreen .floating-buttons,
#flipbook-wrap:-webkit-full-screen .floating-buttons {
  display: none !important;
}



/* =====================================
   CARRITO FLOTANTE CORREGIDO
   Se mantiene flotante y NO se estira
===================================== */

#cartFab.cart-fab{
  position: fixed !important;
  z-index: 9999 !important;

  width: fit-content !important;
  min-width: unset !important;
  max-width: max-content !important;

  height: auto !important;

  padding: 12px 16px !important;
  border-radius: 999px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  white-space: nowrap !important;
  box-sizing: border-box !important;

  cursor: grab;
  user-select: none;
  touch-action: none;
}

#cartFab.cart-fab.dragging{
  cursor: grabbing;
}

/* Evita que el contador estire el botón */
#cartFab .cart-count{
  flex: 0 0 auto !important;
}

/* En celular: que no tome ancho completo */
@media (max-width: 600px){
  #cartFab.cart-fab{
    width: fit-content !important;
    max-width: max-content !important;
    min-width: unset !important;

    padding: 10px 14px !important;
    border-radius: 999px !important;
  }
}


@media (min-width: 901px) and (max-width: 1200px) and (orientation: landscape) {
  #flipbook {
    width: 1000px !important;
    height: 650px !important;
  }

  #flipbook-wrap {
    min-height: 100vh !important;
    padding: 0 !important;
    align-items: center !important;
  }

  .product-mini img {
    height: 70px !important;
  }

  .p-code {
    font-size: 10px !important;
  }

  .p-name {
    font-size: 9px !important;
    line-height: 1.1 !important;
  }

  .p-price {
    font-size: 10px !important;
  }

  .product-mini button.badge {
    height: 20px !important;
    font-size: 9px !important;
  }
}

#flipbook-wrap:fullscreen,
#flipbook-wrap:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #000 !important;
  overflow: hidden !important;
}

#flipbook-wrap:fullscreen #flipbook,
#flipbook-wrap:-webkit-full-screen #flipbook {
  margin: 0 auto !important;
  max-width: none !important;
  max-height: none !important;
  transform-origin: center center !important;
}

/* Corrige textos invisibles dentro del modal de checkout */
#checkoutModal .modal-content,
#checkoutModal .modal-header,
#checkoutModal .modal-body,
#checkoutModal .modal-footer {
    background: #fff !important;
    color: #212529 !important;
}

#checkoutModal .modal-title,
#checkoutModal h6,
#checkoutModal .form-label,
#checkoutModal .form-check-label,
#checkoutModal small,
#checkoutModal .text-muted {
    color: #212529 !important;
}

#checkoutModal .btn-close {
    filter: none !important;
}

/* Cuando la tablet entra en pantalla completa */
body.tablet-catalog-fullscreen #flipbook-wrap:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    background: #111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Para navegadores WebKit */
body.tablet-catalog-fullscreen #flipbook-wrap:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    background: #111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Ocultar cabecera y controles molestos en pantalla completa */
body.tablet-catalog-fullscreen #flipbook-wrap:fullscreen .flip-controls {
    position: fixed !important;
    bottom: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 99999 !important;
}

/* Botón fullscreen */
body.tablet-catalog-fullscreen #flipbook-wrap:fullscreen .fullscreen-btn {
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 99999 !important;
}

/* El libro dentro del fullscreen */
body.tablet-catalog-fullscreen #flipbook-wrap:fullscreen #flipbook {
    max-width: 100vw !important;
    max-height: 100vh !important;
}

/* Flechas laterales para pantalla completa */
.fs-page-arrow {
    display: none;
}

/* Mostrar solo cuando el catálogo está en pantalla completa */
#flipbook-wrap:fullscreen .fs-page-arrow,
#flipbook-wrap:-webkit-full-screen .fs-page-arrow {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 999999 !important;

    width: 54px !important;
    height: 78px !important;
    border-radius: 18px !important;
    border: none !important;

    align-items: center !important;
    justify-content: center !important;

    font-size: 58px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    background: rgba(0, 0, 0, 0.45) !important;
    color: white !important;

    cursor: pointer !important;
    user-select: none !important;
}

#flipbook-wrap:fullscreen .fs-page-arrow-left,
#flipbook-wrap:-webkit-full-screen .fs-page-arrow-left {
    left: 18px !important;
}

#flipbook-wrap:fullscreen .fs-page-arrow-right,
#flipbook-wrap:-webkit-full-screen .fs-page-arrow-right {
    right: 18px !important;
}

#flipbook-wrap:fullscreen .fs-page-arrow:hover,
#flipbook-wrap:-webkit-full-screen .fs-page-arrow:hover {
    background: rgba(0, 0, 0, 0.70) !important;
}
/* Fullscreen vertical: mostrar como una sola página */
body.fs-portrait #flipbook-wrap:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Reduce el libro para modo vertical */
body.fs-portrait #flipbook {
    width: 96vw !important;
    max-width: 96vw !important;
    height: 88vh !important;
    max-height: 88vh !important;
}

/* Fullscreen horizontal: dejarlo como libro abierto */
body.fs-landscape #flipbook-wrap:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
}

body.tablet-catalog-fullscreen #flipbook-wrap,
#flipbook-wrap:fullscreen,
#flipbook-wrap:-webkit-full-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: #111;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.tablet-catalog-fullscreen {
  overflow: hidden !important;
}

body.tablet-catalog-fullscreen #flipbook-wrap {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  background: #111 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Vertical: una sola hoja */
body.tablet-catalog-fullscreen.fs-portrait #flipbook {
  max-width: 96vw !important;
  max-height: 92dvh !important;
}

/* Horizontal: tipo libro */
body.tablet-catalog-fullscreen.fs-landscape #flipbook {
  max-width: 96vw !important;
  max-height: 92dvh !important;
}

#flipbook-wrap:fullscreen,
#flipbook-wrap:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.tablet-catalog-fullscreen #flipbook-wrap {
  overflow: hidden;
}

#fsPrev,
#fsNext {
  z-index: 99999;
  pointer-events: auto;
}

.btn-exit-fullscreen {
  display: none;
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 999999;

  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;

  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 22px;
  font-weight: bold;

  align-items: center;
  justify-content: center;
}

body.tablet-catalog-fullscreen .btn-exit-fullscreen,
:fullscreen .btn-exit-fullscreen {
  display: flex;
}

/* Botón para ENTRAR a pantalla completa */
.fullscreen-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 99990;

  width: 60px;
  height: 60px;
  border-radius: 50%;
}

/* Botón para SALIR de pantalla completa */
.btn-exit-fullscreen {
  display: none;
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 999999;

  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;

  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 22px;
  font-weight: bold;

  align-items: center;
  justify-content: center;
}

/* Cuando entra a pantalla completa, ocultar el botón expandir */
body.tablet-catalog-fullscreen #btnFullscreen,
#flipbook-wrap:fullscreen #btnFullscreen,
#flipbook-wrap:-webkit-full-screen #btnFullscreen {
  display: none !important;
}

/* Cuando entra a pantalla completa, mostrar la X */
body.tablet-catalog-fullscreen .btn-exit-fullscreen,
#flipbook-wrap:fullscreen .btn-exit-fullscreen,
#flipbook-wrap:-webkit-full-screen .btn-exit-fullscreen {
  display: flex !important;
}

/* =====================================
   MEJORA VISUAL DEL CARRITO
===================================== */

.cart-panel {
  width: min(390px, calc(100vw - 20px)) !important;
  height: auto !important;
  max-height: 78vh !important;

  right: 12px !important;
  bottom: 82px !important;

  background: rgba(25, 27, 49, .98) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 24px !important;
  color: #fff !important;

  box-shadow: 0 28px 70px rgba(0,0,0,.45) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.cart-head {
  padding: 14px 16px !important;
  background: rgba(255,255,255,.06) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  color: #fff !important;
}

.cart-head strong,
.cart-head h5,
.cart-head h6 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.cart-items {
  flex: 0 1 auto !important;
  max-height: 48vh !important;
  padding: 12px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.cart-product-card {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr 30px;
  gap: 10px;

  padding: 10px;
  margin-bottom: 10px;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;

  color: #fff;
}

.cart-product-img {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}

.cart-product-info {
  min-width: 0;
}

.cart-product-name {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-product-code {
  margin-top: 3px;
  font-size: 10px;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-product-price {
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.cart-product-price span {
  font-size: 11px;
  color: rgba(255,255,255,.68);
}

.cart-product-price strong {
  font-size: 13px;
  color: #fff;
  font-weight: 900;
}

.cart-qty-row {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 3px;
}

.cart-qty-btn {
  width: 25px;
  height: 25px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: #fff;
  color: #1b1d31;
}

.cart-qty-number {
  min-width: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}

.cart-remove-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.cart-remove-btn:hover {
  background: #ff3b5c;
  color: #fff;
}

.cart-foot {
  padding: 14px 16px !important;
  background: rgba(255,255,255,.06) !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  color: #fff !important;
}

.cart-foot strong,
#cartTotal {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.cart-foot .btn {
  border-radius: 12px !important;
  font-weight: 800 !important;
}

.cart-empty {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: rgba(255,255,255,.75);
}

.cart-empty-icon {
  font-size: 34px;
}

.cart-empty strong {
  color: #fff;
  font-size: 15px;
}

.cart-empty span {
  max-width: 220px;
  font-size: 12px;
}

/* Celular */
@media (max-width: 600px) {
  .cart-panel {
    left: 10px !important;
    right: 10px !important;
    bottom: 76px !important;
    width: auto !important;
    max-height: 72vh !important;
    border-radius: 22px !important;
  }

  .cart-items {
    max-height: 44vh !important;
  }

  .cart-product-card {
    grid-template-columns: 58px 1fr 28px;
    padding: 9px;
  }

  .cart-product-img {
    width: 58px;
    height: 58px;
  }

  .cart-product-name {
    font-size: 11px;
  }

  .cart-product-code,
  .cart-product-price span {
    font-size: 10px;
  }
}









.cart-panel {
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
}

/* ================================
   CARRITO CERCA DE LA BURBUJA
================================ */

#cartPanel.cart-panel.d-none {
  display: none !important;
}

#cartPanel.cart-panel:not(.d-none) {
  display: flex !important;
}

#cartPanel.cart-panel {
  position: fixed !important;

  width: min(390px, calc(100vw - 20px)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(72vh, 560px) !important;

  left: auto;
  right: auto !important;
  top: auto;
  bottom: auto !important;

  z-index: 1000000 !important;

  background: rgba(25, 27, 49, .98) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 65px rgba(0,0,0,.45) !important;
}

#cartPanel .cart-items {
  flex: 0 1 auto !important;
  max-height: min(42vh, 340px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

#cartPanel .cart-foot {
  flex: 0 0 auto !important;
}

/* En celular queda tipo panel inferior */
@media (max-width: 600px) {
  #cartPanel.cart-panel {
    left: 10px !important;
    right: 10px !important;
    bottom: 76px !important;
    top: auto !important;
    width: auto !important;
    max-height: 72vh !important;
  }

  #cartPanel .cart-items {
    max-height: 42vh !important;
  }
}

/* ==============================
   PRODUCTOS MÁS VENDIDOS
============================== */

.best-sellers-wide {
    width: min(1200px, calc(100% - 32px));
    margin: 35px auto 45px;
    padding: 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.best-sellers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.best-eyebrow {
    display: block;
    color: #ff9ce2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.best-sellers-header h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    margin: 0;
}

.best-sellers-header p {
    color: rgba(255, 255, 255, 0.82);
    margin: 6px 0 0;
    font-size: 14px;
}

.best-controls {
    display: flex;
    gap: 10px;
}

.best-controls button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    font-size: 17px;
}

.best-slider {
    width: 100%;
    overflow: hidden;
}

.best-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 14px;
}

.best-track::-webkit-scrollbar {
    display: none;
}

.best-card {
    position: relative;
    flex: 0 0 calc((100% - 88px) / 5);
    min-width: 190px;
    height: 430px;
    background: #fff;
    color: #2c183d;
    border-radius: 6px;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 14px 0;
}

.best-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: #e7deee;
    color: #39204f;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
}

.best-heart {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #2d1244;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    cursor: pointer;
}

.best-img-box {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    background: #fff;
}

.best-img-box img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
}

.best-card h3 {
    width: 100%;
    min-height: 48px;
    margin: 12px 0 10px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    color: #3a3340;
    text-align: center;
}


.best-price {
    color: #302538;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
}

.best-add-btn {
    margin-top: auto;
    width: calc(100% + 28px);
    height: 42px;
    border: none;
    background: #2c1345;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.best-add-btn:hover {
    background: #441d67;
}

.best-empty {
    color: #fff;
    padding: 20px;
}

.best-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.best-dots button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.35);
    cursor: pointer;
}

.best-dots button.active {
    background: #fff;
    outline: 2px solid #8d4cff;
}

/* Tablet */
@media (max-width: 1100px) {
    .best-card {
        flex: 0 0 calc((100% - 44px) / 3);
    }
}

/* Celular */
@media (max-width: 700px) {
    .best-sellers-wide {
        width: calc(100% - 22px);
        padding: 18px 14px;
        border-radius: 22px;
    }

    .best-sellers-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .best-sellers-header h2 {
        font-size: 25px;
    }

    .best-card {
        flex: 0 0 82%;
        height: 420px;
    }
}

.best-code {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #7a6688;
    text-align: center;
}

.best-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.best-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.best-img-box img {
    transition: transform .25s ease;
}

.best-card:hover .best-img-box img {
    transform: scale(1.06);
}


/* =====================================================
   HOME FINAL LIMPIO - ORDEN GENERAL DE LA PÁGINA
   Este bloque va al FINAL del CSS
===================================================== */

:root {
  --home-max: 1500px;
  --home-radius: 34px;
  --home-gap: 24px;
}

/* Página principal */
body.catalog-body .catalog-home {
  padding: 24px 16px 70px !important;
}

/* HERO principal */
body.catalog-body .catalog-hero {
  width: min(var(--home-max), calc(100% - 32px)) !important;
  min-height: 360px !important;
  margin: 0 auto 26px !important;
  padding: 42px 52px !important;
  border-radius: var(--home-radius) !important;
}

/* Fila: colecciones + premios */
body.catalog-body .home-premium-row {
  width: min(var(--home-max), calc(100% - 32px)) !important;
  margin: 0 auto 30px !important;

  display: grid !important;
  grid-template-columns: minmax(0, 2.1fr) minmax(340px, 0.9fr) !important;
  gap: var(--home-gap) !important;
  align-items: stretch !important;
}

/* Que colecciones y premios se vean parejos */
body.catalog-body .home-premium-row .featured-showcase,
body.catalog-body .home-premium-row .cash-rewards-side {
  width: 100% !important;
  margin: 0 !important;
  min-height: 520px !important;
  border-radius: var(--home-radius) !important;
}

/* Premios al contado */
body.catalog-body .cash-rewards-side {
  justify-content: flex-start !important;
}

/* Productos más vendidos */
body.catalog-body .best-sellers-wide {
  width: min(var(--home-max), calc(100% - 32px)) !important;
  margin: 0 auto 34px !important;
  padding: 28px !important;
  border-radius: var(--home-radius) !important;
}

/* Header de productos más vendidos */
body.catalog-body .best-sellers-header {
  margin-bottom: 20px !important;
}

/* Tarjetas del carrusel */
body.catalog-body .best-card {
  height: 430px !important;
}

body.catalog-body .best-img-box {
  height: 180px !important;
}

body.catalog-body .best-img-box img {
  max-height: 165px !important;
  object-fit: contain !important;
}

/* Catálogos disponibles */
body.catalog-body .catalog-list-wrap {
  width: min(var(--home-max), calc(100% - 32px)) !important;
  margin: 0 auto 45px !important;
  padding-top: 4px !important;
}

/* Título de catálogos */
body.catalog-body .section-head {
  margin-bottom: 18px !important;
}

body.catalog-body .section-head h2 {
  font-size: clamp(28px, 3vw, 38px) !important;
}

/* Grid de catálogos */
body.catalog-body .catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

/* Banner de catálogo */
body.catalog-body .catalog-banner-pro {
  min-height: 140px !important;
}

body.catalog-body .catalog-banner-content {
  min-height: 140px !important;
  padding: 24px 30px !important;
}

/* =========================
   TABLET / LAPTOP PEQUEÑA
========================= */

@media (max-width: 1200px) {
  body.catalog-body .home-premium-row {
    grid-template-columns: 1fr !important;
    width: min(960px, calc(100% - 28px)) !important;
  }

  body.catalog-body .best-sellers-wide,
  body.catalog-body .catalog-list-wrap {
    width: min(960px, calc(100% - 28px)) !important;
  }

  body.catalog-body .home-premium-row .featured-showcase,
  body.catalog-body .home-premium-row .cash-rewards-side {
    min-height: auto !important;
  }
}

/* =========================
   CELULAR
========================= */

@media (max-width: 700px) {
  body.catalog-body .catalog-home {
    padding: 14px 10px 60px !important;
  }

  body.catalog-body .catalog-hero,
  body.catalog-body .home-premium-row,
  body.catalog-body .best-sellers-wide,
  body.catalog-body .catalog-list-wrap {
    width: 100% !important;
  }

  body.catalog-body .catalog-hero {
    padding: 28px 18px 30px !important;
    border-radius: 26px !important;
}

  body.catalog-body .home-premium-row {
    gap: 18px !important;
  }

  body.catalog-body .best-sellers-wide {
    padding: 20px 14px !important;
    border-radius: 26px !important;
  }

  body.catalog-body .best-sellers-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  body.catalog-body .best-sellers-header h2 {
    font-size: 25px !important;
  }

  body.catalog-body .best-card {
    flex: 0 0 82% !important;
    height: 420px !important;
  }

  body.catalog-body .catalog-grid {
    grid-template-columns: 1fr !important;
  }

  body.catalog-body .catalog-banner-content {
    padding: 22px !important;
  }
}

/* =====================================================
   FIX QUICK VIEW MODAL PRODUCTO - IMAGEN MÁS GRANDE
===================================================== */

#imgModal.active {
  display: flex !important;
  opacity: 1 !important;
}

#imgModal .quick-view-box {
  width: min(96vw, 1180px) !important;
  height: auto !important;
  min-height: 600px !important;
  max-height: 100vh !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) 280px !important;
  gap: 22px !important;
  align-items: center !important;
  padding: 28px 30px !important;
  border-radius: 28px !important;
  overflow: visible !important;
  background: #ffffff !important;
}

#imgModal .quick-view-image {
  min-height: 560px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}

#imgModal .quick-view-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 560px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

#imgModal .quick-view-info {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  color: #1f2937 !important;
}

#imgModal .quick-code {
  width: fit-content !important;
  margin-bottom: 12px !important;
  padding: 7px 13px !important;
  border-radius: 999px !important;
  background: linear-gradient(100deg, #e11d74, #7c3aed) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

#imgModal .quick-view-info h3 {
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

#imgModal .quick-price {
  display: block !important;
  margin-bottom: 24px !important;
  color: #c2185b !important;
  font-size: 28px !important;
  font-weight: 950 !important;
}

#imgModal .quick-qty-box {
  margin-bottom: 22px !important;
}

#imgModal .quick-qty-box > span {
  display: block !important;
  margin-bottom: 8px !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

#imgModal .quick-qty-controls {
  width: fit-content !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px !important;
  border-radius: 999px !important;
  background: #f3f4f6 !important;
}

#imgModal .quick-qty-controls button {
  width: 38px !important;
  height: 38px !important;
  border: none !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
}

#imgModal .quick-qty-controls strong {
  min-width: 30px !important;
  text-align: center !important;
  color: #111827 !important;
  font-size: 19px !important;
}

#imgModal .quick-add-btn {
  width: 100% !important;
  min-height: 54px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(100deg, #e11d74, #b832d9, #6d3cff) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  box-shadow: 0 16px 30px rgba(109, 60, 255, .28) !important;
}

/* CELULAR */
@media (max-width: 700px) {
  #imgModal .quick-view-box {
    width: calc(90vw - 10px) !important;
    max-height: 90vh !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px !important;
    overflow-y: auto !important;
    min-height: auto !important;
  }

  #imgModal .quick-view-image {
    min-height: 220px !important;
  }

  #imgModal .quick-view-image img {
    max-height: 220px !important;
  }

  #imgModal .quick-view-info h3 {
    font-size: 10px !important;
  }

  #imgModal .quick-price {
    font-size: 24px !important;
    margin-bottom: 18px !important;
  }
}

/* =====================================================
   FIX X DEL MODAL EN CELULAR
===================================================== */

@media (max-width: 700px) {
  #imgModal .img-close {
    top: 12px !important;
    right: 12px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 28px !important;
    line-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #111827 !important;
    z-index: 999999 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.22) !important;
  }

  #imgModal .quick-view-box {
    position: relative !important;
  }
}

/* =====================================================
   CALIFICACIONES REALES - PRODUCTOS MÁS VENDIDOS
   PEGAR AL FINAL DEL CSS
===================================================== */

.best-stars {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  margin: 12px 0 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  color: inherit !important;
  min-height: 22px !important;
}

.best-stars .star-on {
  color: #111111 !important;
}

.best-stars .star-off {
  color: #c7c7c7 !important;
}

.best-stars .rating-count {
  margin-left: 6px !important;
  color: #777 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}

.rating-stars input {
  display: none;
}

.rating-stars label {
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  color: #d1d5db;
  transition: transform .18s ease, color .18s ease;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label {
  color: #facc15;
  transform: scale(1.08);
}

.rating-stars input:checked ~ label {
  color: #facc15;
}

.rating-help {
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-rating-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 8px 0 14px;
}

.rating-stars-view {
    color: #ffc107;
    font-size: 22px;
    letter-spacing: 1px;
    line-height: 1;
}

.rating-number {
    font-weight: 800;
    color: #222;
    font-size: 14px;
}

.rating-text {
    color: #777;
    font-size: 13px;
}

/* =====================================================
   CONTROLES DEL CATÁLOGO - ANTERIOR / SIGUIENTE
   ===================================================== */

.flip-controls {
  position: relative;
  z-index: 9999;

  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 14px;

  width: fit-content;
  max-width: calc(100% - 24px);

  margin: 14px auto 0;
  padding: 10px 14px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.flip-controls button,
.flip-controls .btn {
  height: 42px;
  min-width: 118px;

  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;

  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;

  font-size: 14px;
  font-weight: 800;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  box-shadow: none !important;
  transition: all 0.22s ease;
}

.flip-controls button:hover:not(:disabled),
.flip-controls .btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-2px);
}

.flip-controls button:disabled,
.flip-controls .btn:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

#page-indicator {
  min-width: 58px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 12px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;

  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .flip-controls {
    width: calc(100% - 10px);
    padding: 8px 8px;
    gap: 2px;
  }

  .flip-controls button,
  .flip-controls .btn {
    min-width: 0;
    flex: 1;
    height: 40px;
    font-size: 13px;
    padding: 0 10px;
  }

  #page-indicator {
    min-width: 48px;
    height: 32px;
    font-size: 12px;
    padding: 0 8px;
  }
}

/* =====================================================
  aca lo deje*/

  /* FIX: portada página 1 al lado derecho */
#flipbook.cover-right .page-cover {
  left: 50% !important;
}
.product-mini {
    position: relative;
}

.btn-stock-producto {
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: auto;
    left: auto;
    transform: none;
    z-index: 30;

    border: 0;
    border-radius: 999px;
    padding: 4px 8px;

    background: rgba(20, 24, 45, 0.92);
    color: #fff;

    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.btn-stock-producto:hover {
    background: #6d3cff;
}

.swal2-container {
    z-index: 999999 !important;
}

.tablet-catalog-fullscreen .swal2-container {
    z-index: 999999 !important;
}