@font-face {
  font-family: "MyTupi";
  src: url("/fonts/mytupi.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: "Roboto Condesed", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Contenedor principal */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header-content {
  display: flex;
  justify-content: center; /* Change this from space-between */
  align-items: center;
  padding-top: 20px;
}

.header-left,
.header-right {
  /* Remove flex: 1; from here */
  display: flex;
  align-items: center;
  gap: 10px;
  /* Keep existing justify-content for potential future content */
}

.header-left {
    justify-content: flex-start;
}

.header-center {
  /* Remove flex: 1; from here */
  display: flex;
  justify-content: center;
}
.logo-link img { /* Select the image inside the logo-link */
  max-height: 80px; /* Adjust as needed, e.g., 80px for better visibility */
  width: auto; /* Maintain aspect ratio */
  display: block; /* Remove extra space below image */
}

.icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.icon-link:hover .icon {
  color: #ff5a00;
}

/* Clases de visibilidad para móvil/desktop */
/* Eliminamos la definición de .mobile-only y .desktop-only duplicada más abajo */
.mobile-only {
  display: none;
}

.desktop-only {
  display: flex; /* Display por defecto para desktop */
}

/* Hamburger Menu Button con Font Awesome */
/* Ajustamos la visualización por defecto */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 100;
  font-size: 24px;
  color: #ffffff;
  transition: color 0.3s ease;
  display: none; /* Oculto por defecto en desktop */
}

.hamburger-btn:hover {
  color: #ff5a00;
}
.hamburger-btn::before{
  display: none;
}

.hamburger-btn.hidden,
.close-menu.hidden {
  display: none !important;
}

/* Mostrar botón de cerrar solo cuando el menú está activo */
.mobile-menu.active .close-menu {
  display: block;
}

/* Ocultar botón de menú hamburguesa cuando el menú está activo */
.mobile-menu.active .hamburger-btn {
  display: none;
}
/* Mobile Menu (Estado inicial es oculto) */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 99;
  display: none; /* Oculto por defecto */
  overflow-y: auto; /* Permite scroll si el contenido es largo */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling en iOS */
}

.mobile-menu.active {
  display: block; /* Visible cuando tiene la clase active */
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 30px;
  position: relative;
  padding-top: 60px; /* Espacio para el botón de cerrar */
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-menu:hover {
  color: #ff5a00;
}

.mobile-nav-link {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #ff5a00;
}



/* Contenido principal */
main {
  flex: 1;
  padding: 0 16px 48px;;
}

/* Grid de productos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Producto individual */
.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 12px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-link:hover .product-image {
  transform: scale(1.05);
}

.product-name {
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.product-status {
  margin-top: 8px;
  margin-bottom: 24px;
}

.status-label {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #ff5a00;
  font-size: 12px;
  background-color: #000000;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}


/* Footer */
footer {
  padding: 32px 16px;
  border-top: 1px solid #333333;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 24px;
}

.social-icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.social-link:hover .social-icon {
  color: #ff5a00;
}

.footer-link {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff5a00;
}

/* Media queries */
@media (max-width: 768px) {
  .mobile-only {
    display: flex; /* Mostrar elementos mobile-only en móvil */
  }

  .desktop-only {
    display: none; /* Ocultar elementos desktop-only en móvil */
  }

  /* Mostrar el botón hamburguesa en móvil */
  .hamburger-btn {
    display: block; /* O 'flex', dependiendo de la necesidad de alineación */
  }

  /* Asegurar que el ícono del carrito sea visible en móvil */
   .header-right .icon-link {
      display: flex; /* Asegurar que se muestre */
   }

  /* Ajustar la alineación en el header-right para móvil si es necesario */
   .header-right {
       justify-content: flex-end; /* Alinear íconos a la derecha */
       gap: 16px; /* Espacio entre íconos */
   }
}

/* Media query para desktop y pantallas más grandes */
@media (min-width: 769px) {
    /* Ocultar el botón hamburguesa en desktop */
    .hamburger-btn {
        display: none;
    }

    /* Asegurar que el ícono del carrito sea visible en desktop */
     .header-right .icon-link {
        display: flex; /* Asegurar que se muestre */
     }
}


@media (min-width: 768px) { /* Puedes mantener esta media query para el footer si quieres */
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.content-container { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-grow: 1; padding: 40px 20px; text-align: center; max-width: 800px; margin: 0 auto; }
    .content-container h2 { font-family: "Roboto Condesed", sans-serif; font-size: 40px; text-transform: uppercase; margin-bottom: 1px; color: #ffffff; font-weight: normal;}
    .content-container p.subtitle { font-family: "Roboto Condesed", sans-serif; font-size: 24px; margin-bottom: 15px; color: #ffffff; font-weight: normal;} /* Renombré la clase para p */
    .countdown-section { margin-top: 15px; margin-bottom: 40px; }
    .countdown-section h3 { font-family: "Roboto Condesed", sans-serif; font-size: 32px; text-transform: uppercase; margin-bottom: 20px; color: #757575; font-weight: normal;}
    #countdown-timer { display: flex; justify-content: center; gap: 20px; font-family: "Roboto Condesed", sans-serif; font-size: 48px; color: #ffffff; text-shadow: 0 0 10px black; font-weight: normal; }
    #countdown-timer div { display: flex; flex-direction: column; align-items: center; line-height: 1; }
    #countdown-timer span.value { font-size: 64px; font-weight: bold; color: #ffffff; }
    #countdown-timer span.label { font-size: 18px; text-transform: uppercase; color: #aaaaaa; margin-top: 5px; }
    .form-container-custom { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 400px; padding: 20px; text-align: center; background-color: #1a1a1a; border-radius: 8px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); margin-top: 30px; }
    .form-container-custom h4 { font-family: "Roboto Condesed", sans-serif; font-size: 20px; margin-bottom: 20px; color: #ffffff; font-weight: normal;}
    .phone-form { display: flex; flex-direction: column; gap: 15px; width: 100%; }
    .phone-input { width: 100%; padding: 12px 15px; background-color: #000000; border: 1px solid #333333; color: #ffffff; font-family: "Roboto Condesed", sans-serif; font-size: 16px; border-radius: 4px; outline: none; transition: border-color 0.3s ease; box-sizing: border-box; } /* Added box-sizing */
    .phone-input::placeholder { color: #888888; }
    .phone-input:focus { border-color: #ffffff; }
    .submit-btn { width: 100%; padding: 12px 15px; background-color: #757575; color: #000000; border: none; font-family: "MyTupi", sans-serif; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; border-radius: 4px; transition: background-color 0.3s ease; }
    .submit-btn:hover { background-color: #ffffff; }
    .flash-messages { list-style-type: none; padding: 0; margin: 20px 0 0 0; width: 100%; max-width: 400px; }
    .flash-message { padding: 10px; margin-bottom: 10px; border-radius: 4px; color: white; text-align: center; }
    .flash-message.success { background-color: #28a745; }
    .flash-message.error { background-color: #dc3545; }
    .flash-message.warning { background-color: #ffc107; color: #333; }
    .flash-message.info { background-color: #17a2b8; }
    @media (max-width: 768px) { .content-container h2 { font-size: 32px; } .content-container p.subtitle { font-size: 20px; } .countdown-section h3 { font-size: 26px; } #countdown-timer { font-size: 36px; gap: 10px; } #countdown-timer span.value { font-size: 48px; } #countdown-timer span.label { font-size: 14px; } .form-container-custom h4 { font-size: 18px; } .phone-input, .submit-btn { font-size: 15px; padding: 10px 12px; } }
    @media (max-width: 480px) { .content-container h2 { font-size: 26px; } .content-container p.subtitle { font-size: 18px; } .countdown-section h3 { font-size: 22px; } #countdown-timer { font-size: 28px; flex-wrap: wrap; justify-content: center; } #countdown-timer div { flex: 1 1 45%; margin-bottom: 10px; } #countdown-timer span.value { font-size: 40px; } #countdown-timer span.label { font-size: 12px; } }
    .logo-link img { max-height: 80px; width: auto; display: block;}

/* --- ESTILOS PARA ENLACE TOP SPENDERS (INDEX) --- */
.top-spenders-link-container {
  text-align: center;
  padding: 20px 16px 0;
}

.top-spenders-link {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 2px solid #555;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.top-spenders-link:hover {
  color: #ccc;
  border-color: #fff;
}