@font-face {
  font-family: 'AgrandirGrandHeavy';
  src: url('/assets/fonts/Agrandir-GrandHeavy.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'AgrandirRegular';
  src: url('/assets/fonts/Agrandir-Regular.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'AgrandirWideLight';
  src: url('/assets/fonts/Agrandir-WideLight.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'AgrandirThinItalic';
  src: url('/assets/fonts/Agrandir-ThinItalic.otf') format('opentype');
  font-display: swap;
}

:root {
  --font-brand: 'AgrandirGrandHeavy', Arial, sans-serif;
  --font-text: 'AgrandirWideLight', Arial, sans-serif;
  --font-regular: 'AgrandirRegular', Arial, sans-serif;
  --font-editorial: 'AgrandirThinItalic', Arial, sans-serif;

  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #8f8f8f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-text);
  background: var(--color-white);
  color: var(--color-black);
  display: flex;
  flex-direction: column;
}

header {
  height: 110px;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
  overflow: hidden;
}

.logo-header img {
  width: 250px;
  display: block;
}

.nav-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  height: 100%;
}

.nav-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.nav-icons img {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
  display: block;
}

main {
  position: relative;
  flex: 1;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.marca-agua {
  position: absolute;
  width: 110vw;
  max-width: none;
  opacity: 0.11;
  z-index: 1;
  pointer-events: none;

  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.contenido {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  padding: 28px;
}

.etiqueta {
  font-family: var(--font-editorial);
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

h1 {
  font-family: var(--font-brand);
  font-size: clamp(38px, 6vw, 82px);
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -2px;
  margin-bottom: 26px;
}

.texto {
  max-width: 570px;
  margin: 0 auto 34px;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.7;
}

.newsletter {
  display: flex;
  max-width: 540px;
  margin: 0 auto;
  border: 1px solid var(--color-black);
  background: var(--color-white);
}

.newsletter input {
  flex: 1;
  border: none;
  outline: none;
  padding: 17px 18px;
  font-family: var(--font-text);
  font-size: 14px;
  background: var(--color-white);
  color: var(--color-black);
}

.newsletter button {
  border: none;
  background: var(--color-black);
  color: var(--color-white);
  padding: 0 24px;
  font-family: var(--font-brand);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.mensaje {
  margin-top: 18px;
  font-family: var(--font-text);
  font-size: 13px;
  letter-spacing: 1px;
}

.mensaje.exito {
  color: var(--color-black);
}

.mensaje.error {
  color: #8a0000;
}

footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 30px 8vw 18px;
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

footer h3 {
  font-family: var(--font-brand);
  font-size: 12px;
  margin-bottom: 14px;
}

footer p,
footer a {
  display: block;
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: 8px;
  opacity: .85;
}

.copy {
  max-width: 1400px;
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.18);
  text-align: center;
  font-size: 11px;
  opacity: .75;
}

@media (max-width: 768px) {
  header {
    height: auto;
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    overflow: visible;
  }

  .logo-header img {
    width: 220px;
  }

  .nav-icons {
    gap: 22px;
    height: auto;
  }

  .nav-icons a {
    width: 34px;
    height: 34px;
  }

  .nav-icons img {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
  }

  main {
    min-height: 650px;
    padding: 70px 18px;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter button {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer {
    letter-spacing: 3px;
  }
}

/* =========================
   AUTO-FIT CONTENT GLOBAL
========================= */

/*.page-content {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}*/

/*.auto-scale-overflow {
  transform-origin: left top;
}*/

/* =========================
   FIX GLOBAL MOBILE SIN ESCALADO
========================= */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

main, section {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  main {
    display: block;
    width: 100%;
    min-height: auto;
    overflow-x: hidden;
  }

  section {
    width: 100%;
    overflow-x: hidden;
  }

  h1, h2, h3 {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .contenido,
  .product-container,
  .product-wrapper,
  .product-detail,
  .product-info,
  .collab-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .product-title,
  .hero-title,
  .collab-title,
  .price,
  .product-price {
    max-width: 100%;
    white-space: normal;
  }
}