/* GENERAL */
html {
  scroll-behavior: smooth; /* 🔥 smooth scroll */
}

body {
  background: #292929;
  color: white;
  font-family: Helvetica, Arial, sans-serif;
}

/* HERO */
.hero {
  height: auto;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  background: #292929;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
  z-index: 1000;
}

.nav a {
  font-family: stretch pro;
  font-variant-ligatures: none;
  color: white;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1px;
}

/* Botón del carrito Snipcart */
.snipcart-checkout {
  display: flex;
  align-items: center;
  gap: 8px;               /* separación entre icono y texto */
  padding: 10px 16px;
  background-color: #000;  /* fondo negro */
  color: #fff;             /* texto blanco */
  border: none;
  border-radius: 8px;
  font-family: 'Helvetica', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover: cambiar color y sombra */
.snipcart-checkout:hover {
  background-color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Contador de items */
.snipcart-items-count {
  background-color: #ff3b3b; /* rojo alerta */
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
}

/* Icono dentro del botón */
.snipcart-checkout img {
  width: 20px;
  height: 10px;
}

/* SECCIONES */
.section {
  padding: 40px 20px;
}

/* MORRIÑA */
.morrina {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.content {
  max-width: 600px;
}

/* PRODUCTS */

.products-section {
  margin-top: 60px;
}

/* Banner */
.banner {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  margin-bottom: 30px;
  padding: 10px 0;
}

.track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.track div {
  display: flex;
}

.track span {
  font-family: "Stretch Pro", sans-serif;
  font-size: 48px;
  margin-right: 60px;

  /* estilo más limpio */
  color: transparent;
  -webkit-text-stroke: 1px white;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.products {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.product {
  text-align: center;
}

.product img {
  width: 100%;
  max-width: 400px;
}

.product h3 {
  margin-top: 10px;
}

.product p {
  opacity: 0.7;
}

/* CONTACTO */
.contacto {
  text-align: center;
}

button {
  margin-top: 20px;
  padding: 15px 30px;
  border: none;
  background: white;
  color: black;
  cursor: pointer;
}

/*PRODUCTS*/
/* PRODUCT PAGE */
.product-page {
  text-align: center;
  padding: 40px 20px;
}

.back-btn {
  font-family: "Helvetica", sans-serif;
  font-size: 13px;

  text-decoration: none;
  color: white;

  position: relative;
}

.back-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;

  width: 0%;
  height: 1px;
  background: white;

  transition: 0.2s;
}

.back-btn:hover::after {
  width: 100%;
}

.back-btn.top {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.bottom-container {
  display: flex;
  justify-content: flex-end;
  margin: 80px 20px 40px 20px;
}


.product-page img {
  width: 80%;
  max-width: 500px;
  margin: auto;
  display: block;
}

.product-page h1 {
  margin-top: 20px;
}

.price {
  opacity: 0.7;
  margin-bottom: 20px;
}

.description {
  max-width: 500px;
  margin: auto;
  margin-bottom: 30px;
}

/* SIZE CHART */
.size-toggle {
  font-size: 14px;
  opacity: 0.6;
  cursor: pointer;
  margin-bottom: 10px;
}

.size-toggle:hover {
  opacity: 1;
}

/* animación suave */
.sizes {
  display: flex;
  justify-content: center;
  gap: 15px;
  transition: all 0.3s ease;
}

/* oculto */
.hidden {
  display: none;
}


/* PREORDER */
.preorder {
  margin-top: 30px;
  padding: 15px 30px;
  background: white;
  color: black;
  border: none;
}

.product-header {
  margin-bottom: 20px;
}

.section-label {
  font-family: "Stretch Pro", sans-serif;
  font-size: 12px;

  color: transparent;
  -webkit-text-stroke: 0.6px white;
  opacity: 0.6;
  letter-spacing: 1px;
}

@keyframes subtleScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(20px);
  }
}