body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #fff;
  color: #000;
  margin: 0;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

.club-card {
  background: #1e1e1e;
  padding: 20px;
  margin: 10px auto;
  max-width: 400px;
  border-radius: 8px;
  cursor: pointer;
}

.club-card:hover {
  background: #2a2a2a;
}
#club-header {
  text-align: center;
  margin-bottom: 30px;
}

/* ===============================
   CÓDIGO DE DESCUENTO
=============================== */



/* ===============================
   TABLAS TALLES DOBLE
=============================== */

.talles-doble-modal {
  max-width: 900px;
}

.talles-doble-modal .galeria-scroll {
  justify-content: center;
  gap: 20px;
}

.talles-doble-modal .galeria-scroll img {
  max-height: 87vh;
  max-width: 45vw;
}

/* ===============================
   TALLES DOBLE – MOBILE FIX
=============================== */

@media (max-width: 767px) {

  .talles-doble-modal {
    max-width: 95vw;
    padding: 10px;
  }

  .talles-doble-modal .galeria-scroll {
    gap: 16px;
    padding: 10px;
  }

  .talles-doble-modal .galeria-scroll img {
    max-width: 85vw;
    max-height: 70vh;
  }

}

@media (max-width: 767px) {

  .talles-doble-modal .galeria-scroll {
    justify-content: flex-start; /* 🔥 clave */
    padding-left: 12px;
  }

}

    
.descuento-bloque .descuento-input {
  display: flex;
  gap: 12px;
  align-items: center;
}

.descuento-bloque .descuento-input input {
  flex: 1;
}

.descuento-bloque .btn-aplicar {
  background: #8C8C8C;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 22px; /* un poco más horizontal */
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.descuento-bloque .btn-aplicar:hover {
  background: #3C3C3C;
}

.descuento-msg {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}




.descuento-msg.ok { color: #2ecc71; }
.descuento-msg.error { color: #e74c3c; }

@media (max-width: 767px) {
  .descuento-bloque .descuento-input {
    flex-direction: column;
    gap: 10px;
  }

  .descuento-bloque .btn-aplicar {
    width: 100%;
  }
}

/* BOTÓN DESCUENTO APLICADO */
.descuento-bloque .btn-aplicar.ok {
  background: #2ecc71;
  cursor: default;
}

.descuento-bloque .btn-aplicar.ok:hover {
  background: #2ecc71; /* no cambia al hover */
}


.descuento-bloque .btn-aplicar {
  line-height: 50px;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(-5px);
}

/* ===============================
   PRODUCT CARD
=============================== */
.product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card {
  cursor: pointer;
}

/* Hover solo desktop */
@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  }
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 0px;
  margin-bottom: 12px;
}
.product-card h3 {
  font-size: 15px;
  font-weight: 400;
  margin: 6px 0 -5px;
  min-height: 38px; /* iguala alturas */
}
.product-card strong {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.product-card button {
  margin-top: auto;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-card button:hover {
  background: #222;
}


.product-card p {
  display: none !important;
}

#products {
  align-items: stretch;
}



/* ===============================
   GRID DE CLUBES
=============================== */
#clubs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto;
}

/* ===============================
   CARD CLUB
=============================== */
.club-card {
  position: relative;
  height: 180px;
  background: #f2f2f2;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO */
.club-card img {
  max-width: 80%;
  max-height: 80%;
  transition: transform 0.3s ease;
}

/* OVERLAY */
.club-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}

/* NOMBRE */
.club-card h2 {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  color: #fff;
  font-size: 16px;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 6px 10px;
  font-weight: 600;
}

/* HOVER */
.club-card:hover::after {
  background: rgba(0,0,0,0.0005);
}

.club-card:hover h2 {
  opacity: 1;
}

.club-card:hover img {
  transform: scale(1.25);
}

/* ===============================
   BUSCADOR
=============================== */
#buscador {
  display: block;
  margin: 30px auto 0;
  padding: 12px 16px;
  width: 280px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  color: #000;
  background: #ffeb00;
  text-align: center;
  font-weight: bold;

}



.main-header {
  text-align: center;
  margin-top: 20px;
}

.main-header .logo {
  max-width: 350px;
  margin-bottom: 10px;
}



.main-footer {
  margin-top: 60px;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #eaeaea;
}

.main-footer p {
  font-size: 14px;
  color: #777;
  letter-spacing: 0.5px;
}



/* ===============================
   GRID DE PRODUCTOS
=============================== */
#products {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* MOBILE: 2 por fila */
  gap: 20px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

/* DESKTOP */
@media (min-width: 1024px) {
  #products {
    grid-template-columns: repeat(5, 1fr); /* DESKTOP: 5 por fila */
  }
}


.producto-grid {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.galeria-mini img {
  width: 100%;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 10px;
  border: 2px solid transparent;
}

.galeria-mini img.activa {
  border-color: #ffeb00;
}

.imagen-principal img {
  width: 100%;
  max-width: 420px;
}

.guia-talles {
  color: #0071e3;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  margin: 6px 0;
  display: inline-block;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-contenido {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
}

.modal.oculto {
  display: none;
}


/* ===============================
   PRODUCTO PROLIJO
=============================== */

.producto-grid.prolijo {
  grid-template-columns: 90px 1.2fr 1fr;
  align-items: flex-start;
}

.producto-info {
  background: #fafafa;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.tag1 {
  display: inline-block;
  background: #b9b9b9;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 6px 10px;
  border-radius: 300px;
  margin-bottom: 1px;
  letter-spacing: 0.3px;
}

.tag2 {
  display: inline-block;
  background: #b9b9b9 ;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 6px 10px;
  border-radius: 300px;
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}



.producto-titulo {
  font-size: 26px;
  margin: 3px 0 5px;
}

.producto-precio {
  font-size: 45px;
  font-weight: 700;
  margin-bottom: 5px;
}

.producto-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.guia-talles {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 14px;
}

.talle-elegido {
  font-size: 14px;
  margin-bottom: 12px;
}

.btn-comprar {
  width: 100%;
  background: #ffeb00;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-comprar:hover {
  background: #f2dc00;
}

.beneficios {
  list-style: none;
  padding: 0;
  margin-top: 18px;
  font-size: 16px;
  color: #444;
}

.producto-disclaimer {
  margin-top: 12px;
  padding: 10px 12px;
  background: #ffcccc;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #000;
}

.producto-tiempo {
  margin-top: 10px;
  padding: 10px 12px;
  background: #88E788;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #000;
}
.personalizala {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  font-size: 16px;
  color: #444;
}

.beneficios li {
  margin-bottom: 6px;
}

.select-talle {
  width: 100%;
  padding: 12px 14px;
  margin-top: 8px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  background: #fff;
}


/* ===============================
   MODAL GU�A DE TALLES
=============================== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.oculto {
  display: none;
}

.modal-contenido {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
}

.modal-contenido img {
  width: 100%;
  display: block;
}

.cerrar-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
}


.galeria-modal {
  max-width: 90vw;
}

.galeria-scroll {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  padding: 20px;
}
.galeria-scroll img {
  max-height: 70vh;        /* nunca m�s alto que la pantalla */
  max-width: 90vw;         /* nunca m�s ancho que la pantalla */
  width: auto;
  height: auto;
  object-fit: contain;     /* CLAVE */
  border-radius: 12px;
  flex-shrink: 0;
  cursor: pointer;
  background: #000;        /* bordes prolijos si sobra espacio */
}

.ver-mas {
  height: 70px;
  border-radius: 8px;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
}

.titulo-personaliza {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #444;
}



/* ===============================
   TOP BAR (VOLVER + CARRITO)
=============================== */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
}

.btn-volver {
  background: #f2f2f2;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-volver:hover {
  background: #e6e6e6;
}

.btn-carrito {
  text-decoration: none;
  background: #000;
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

#carrito-count {
  background: #ffeb00;
  color: #000;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}


/* ===============================
   CARRITO � ESTILO DROP
=============================== */

.carrito-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* T�TULO */
.carrito-titulo {
  font-size: 28px;
  font-weight: 700;
  margin: 20px 0;
}

/* BLOQUES */
.carrito-bloque {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.carrito-bloque h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* TEXTO VAC�O */
.carrito-lista p {
  color: #777;
  font-size: 15px;
}

/* ITEMS DEL CARRITO */
.carrito-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.carrito-item:last-child {
  border-bottom: none;
}

.carrito-info strong {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.carrito-precio {
  font-weight: 700;
  font-size: 16px;
}

/* BOT�N ELIMINAR */
.btn-eliminar {
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 16px;
}

.btn-eliminar:hover {
  background: #ffecec;
  color: #c0392b;
}

/* GRUPO DE RADIOS */
.radio-group {
  display: flex;
  align-items: center;
  gap: 170px;          /* espacio natural */
  margin-bottom: 16px;
}

/* MOBILE: uno abajo del otro */
@media (max-width: 767px) {
  .radio-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* RADIO INDIVIDUAL */
.radio-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;     /* 🔥 CLAVE */
}

.radio-line input[type="radio"] {
  margin: 0;
  transform: translateY(-1px); /* ajuste óptico real */
}

/* INPUTS */
.carrito-bloque input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.carrito-bloque input:focus {
  outline: none;
  border-color: #000;
}


/* RESUMEN */
.carrito-resumen {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.total-linea {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* CTA */
.btn-finalizar {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-finalizar:hover {
  background: #111;
}
.radio-line {
  white-space: nowrap;
}


/* FIX overflow inputs */
*, *::before, *::after {
  box-sizing: border-box;
}


/* ===============================
   TOAST CARRITO (MÁS GRANDE)
=============================== */

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #111;
  color: #fff;
  padding: 18px 22px;              /* 🔥 MÁS GRANDE */
  border-radius: 18px;             /* 🔥 MÁS PREMIUM */
  display: flex;
  align-items: center;
  gap: 16px;                       /* 🔥 MÁS AIRE */
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  z-index: 9999;
  animation: toastIn 0.35s ease;
  min-width: 260px;                /* 🔥 ANCHO MÍNIMO */
}

.toast.oculto {
  display: none;
}

.toast-icon {
  font-size: 28px;                 /* 🔥 ÍCONO MÁS GRANDE */
}

.toast-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.toast-texto strong {
  font-size: 16px;                 /* 🔥 TEXTO PRINCIPAL */
  font-weight: 700;
}

.toast-texto span {
  font-size: 14px;
  color: #ccc;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.datos-club {
  background: #88E788;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: #333;
}

.datos-retiro {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: #333;
}


.datos-retiro strong {
  display: block;
  margin-bottom:5px;
  margin-top: 8px;
}

.datos-retiro span {
  color: #555;
  font-size: 13px;
}


.total-final {
  font-size: 24px;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.envio-linea {
  font-size: 16px;
  color: #555;
}

/* ===============================
   BOTTOM NAV – MERCADO LIBRE STYLE
=============================== */

.bottom-nav {
  display: none;
}

@media (max-width: 767px) {

  .top-bar {
    display: none;
  }

  body {
    padding-bottom: 90px;
  }

  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #fff;
    border-top: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 9999;
  }

  /* BOTONES LATERALES */
  .nav-side {
    background: none;
    border: none;
    text-decoration: none;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
  }

  /* BOTÓN CARRITO CENTRAL */
  .nav-cart {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #000;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    top: -18px;
    transition: background 0.25s ease, transform 0.25s ease;
  }

  /* CARRITO ACTIVO (CON PRODUCTOS) */
  .nav-cart.activo {
    background: #ffeb00;
  }

  /* CONTADOR */
  .nav-cart em {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #000;
    color: #fff;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
  }
}


/* ===============================
   ANIMACIÓN CARRITO MOBILE
=============================== */

@keyframes cartPop {
  0%   { transform: translateX(-50%) scale(1); }
  30%  { transform: translateX(-50%) scale(1.25); }
  60%  { transform: translateX(-50%) scale(0.95); }
  100% { transform: translateX(-50%) scale(1); }
}

.nav-cart.animar {
  animation: cartPop 0.45s ease;
}


/* ===============================
   MOBILE – CLUBES (2 COLUMNAS)
=============================== */
@media (max-width: 767px) {
  #clubs {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 16px;
    margin: 30px auto;
  }

  .club-card {
    height: 150px;
    border-radius: 16px;
  }

  .club-card img {
    max-width: 75%;
    max-height: 75%;
  }
}
/* ===============================
   MOBILE – PRODUCTOS MÁS GRANDES
=============================== */
@media (max-width: 767px) {
  #products {
    gap: 15px;              /* más juntos */
    padding: 0 1px;
    margin: 5px auto;
  }

  .product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;

    /* 🔥 CLAVES */
    padding: 0;          /* antes 6px → ACHICABA */
    margin-bottom: 8px;
    background: #f5f5f5;
    border-radius: 5px;
  }


  .product-card img {
    padding: 0px;
    margin-bottom: 10px;
  }

  .product-card h3 {
    font-size: 14px;
    min-height: 34px;
  }

  .product-card strong {
    font-size: 26px;  
    margin-top: 6px; /* precio más protagonista */
  }

  .product-card button {
    padding: 5px;
    font-size: 12px;
    border-radius: 10px;
  }
}


@media (max-width: 767px) {
  #clubs {
    margin: 20px auto 10px; /* antes estaba muy abajo */
  }
}
@media (max-width: 767px) {
  .main-footer {
    margin-top: 30px;
    padding: 16px 0 10px;
    font-size: 13px;
    color: #999;
  }
}
@media (max-width: 767px) {
  .club-card {
    background: #f4f4f4;
  }

  .club-card h2 {
    font-weight: 700;
    letter-spacing: 0.2px;
 }

 @media (max-width: 767px) {
  .main-header .logo {
    max-width: 260px;   /* antes ~350 */
    margin-bottom: 8px;
  }

  .main-header p {
    font-size: 14px;
    margin-top: 6px;
  }
}




/* ===============================
   MOBILE – PRODUCTO ESTILO MERCADO LIBRE
=============================== */
@media (max-width: 767px) {

  /* grid general pasa a columna */
  .producto-grid,
  .producto-grid.prolijo {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 16px;
  }

  /* ===============================
     GALERÍA
  =============================== */

  .imagen-principal {
    order: 1;
    display: flex;
    justify-content: center;
  }

  .imagen-principal img {
    max-width: 100%;
    border-radius: 16px;
    background: #f5f5f5;
    padding: 0px;
  }

  .galeria-mini {
    order: 2;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .galeria-mini img,
  .ver-mas {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 12px;
  }

  /* ===============================
     INFO PRODUCTO
  =============================== */

  .producto-info {
    order: 3;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }

  .badge-drop {
    font-size: 14px;
    padding: 6px 12px;
    margin-bottom: 10px;
  }

  .producto-titulo {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .producto-precio {
    font-size: 34px;
    margin: 10px 0 14px;
  }

  /* ===============================
     FORM
  =============================== */

  .producto-form input,
  .select-talle {
    font-size: 15px;
  }

  .btn-comprar {
    font-size: 16px;
    padding: 16px;
    border-radius: 14px;
    margin-top: 10px;
  }
}



