/* ==========================================================================
   UYVISION — sistema de diseño
   Toda la identidad visual está definida acá arriba, en variables.
   Cambiando estas 8 líneas cambia el look de todo el sitio.
   ========================================================================== */

:root {
  /* Colores de marca */
  --red:      #e23527;   /* rojo UYVISION — acento principal */
  --ink:      #1a1617;   /* negro UYVISION — texto y fondos oscuros */
  --paper:    #ffffff;   /* fondo base */
  --stone:    #f2efec;   /* gris cálido — fondo de las fotos de producto */
  --stone-2:  #e6e1dc;   /* gris cálido más oscuro — bordes y hovers */
  --muted:    #7d7671;   /* texto secundario */
  --green:    #3f7a4e;   /* sólo para el indicador "en stock" */

  /* Tipografía */
  --font: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --gutter: 60px;        /* margen lateral de las páginas en desktop */
}

/* --------------------------------------------------------------------------
   Reset y base
   -------------------------------------------------------------------------- */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

p { margin: 0; }
img { max-width: 100%; }
button { font-family: var(--font); }

/* --------------------------------------------------------------------------
   Utilidades
   -------------------------------------------------------------------------- */

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
}
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.btn-red   { background: var(--red);  border-color: var(--red);  color: #fff; }
.btn-white { background: #fff;        border-color: #fff;        color: var(--ink); }
.btn-white:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
}

/* --------------------------------------------------------------------------
   Barra de anuncio + header
   -------------------------------------------------------------------------- */

.announce {
  background: var(--red);
  color: #fff;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}
.announce .sep { opacity: 0.55; }
.announce-dark { background: var(--ink); gap: 16px; font-weight: 600; }
.announce-dark .hl { color: var(--red); }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  border-bottom: 1px solid var(--stone-2);
}
.header .logo { height: 38px; width: auto; display: block; }

.nav { display: flex; gap: 34px; }
.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.nav a.on { color: var(--red); }

.header-icons { display: flex; align-items: center; gap: 22px; }
.cart { position: relative; display: flex; }
.cart .count {
  position: absolute;
  top: -7px;
  right: -9px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.burger { display: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hero-text {
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}
.hero-text h1 { font-size: 68px; font-weight: 800; }
.hero-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 430px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }

.hero-art {
  background: var(--ink);
  min-height: 620px;
  position: relative;
  overflow: hidden;
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: 50% 47%;
}

/* --------------------------------------------------------------------------
   Cinta animada
   -------------------------------------------------------------------------- */

.marquee {
  background: var(--ink);
  color: #fff;
  height: 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: marquee-slide 26s linear infinite;
}
.marquee-track .hl { color: var(--red); }
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* --------------------------------------------------------------------------
   Encabezado de sección / de página
   -------------------------------------------------------------------------- */

.section { padding: 104px var(--gutter) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 46px; }

.page-head { padding: 52px var(--gutter) 0; }
.page-head .crumb { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.page-head h1 { font-size: 58px; font-weight: 800; }
.page-head .lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
}
.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-head-left { display: flex; flex-direction: column; gap: 18px; }
.count-note { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }

/* --------------------------------------------------------------------------
   Barra de filtros
   -------------------------------------------------------------------------- */

.filters {
  margin-top: 44px;
  padding: 22px var(--gutter);
  border-top: 1px solid var(--stone-2);
  border-bottom: 1px solid var(--stone-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.filters-group { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.filters-set { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1.5px solid var(--stone-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
}
.pill:hover { border-color: var(--ink); }
.pill-on { border-color: var(--ink); background: var(--ink); color: #fff; }

.filter-swatch {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.14);
  cursor: pointer;
  padding: 0;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  cursor: pointer;
}
.check-box {
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Grillas de producto
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 44px 24px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 38px 20px; }
.grid-products { padding: 48px var(--gutter) 100px; }

.card { display: flex; flex-direction: column; gap: 16px; }

.card-img {
  position: relative;
  background: var(--stone);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img:hover { background: var(--stone-2); }
.card-img svg { max-width: 78%; height: auto; }
.card-img-square { aspect-ratio: 1; }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
}
.badge-red { background: var(--red); letter-spacing: 0.04em; font-weight: 700; font-size: 11px; padding: 4px 8px; top: 11px; left: 11px; }
.badge-low {
  position: absolute;
  bottom: 11px;
  left: 11px;
  background: #fff;
  border: 1px solid var(--stone-2);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.shape-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.card-body { display: flex; flex-direction: column; gap: 7px; }
.card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.card-name  { font-size: 15px; font-weight: 600; }
.card-price { font-size: 15px; font-weight: 500; }
.card-price-sale { font-size: 15px; font-weight: 600; color: var(--red); }
.card-price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.card-meta  { font-size: 13px; color: var(--muted); }

.swatches { display: flex; gap: 7px; margin-top: 5px; }
.swatch {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.14);
  padding: 0;
  cursor: pointer;
  background-clip: padding-box;
}
.swatch.on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }
.swatch-static { width: 13px; height: 13px; border-width: 1px; cursor: default; }

.add {
  width: 100%;
  height: 44px;
  background: #fff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.add:hover { background: var(--ink); color: #fff; }

/* --------------------------------------------------------------------------
   Banda del outlet en la home
   -------------------------------------------------------------------------- */

.outlet-banner {
  margin: 104px var(--gutter) 0;
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}
.outlet-banner-text {
  padding: 76px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.outlet-banner-text h2 { font-size: 46px; color: #fff; }
.outlet-banner-text p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 420px;
}
.outlet-tiles {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.outlet-tile {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.outlet-tile .off {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
}

.outlet-strip {
  background: var(--ink);
  color: #fff;
  padding: 60px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.outlet-strip h2 { font-size: 34px; color: #fff; }
.outlet-strip p { font-size: 15px; color: rgba(255, 255, 255, 0.58); }

/* --------------------------------------------------------------------------
   Bloque de garantías
   -------------------------------------------------------------------------- */

.values {
  margin: 104px var(--gutter) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--stone-2);
  border: 1px solid var(--stone-2);
}
.value {
  background: #fff;
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.value h3 { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.value p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */

.newsletter {
  margin-top: 104px;
  padding: 82px var(--gutter);
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}
.newsletter h2 { font-size: 34px; }
.newsletter p { font-size: 15px; color: var(--muted); }
.newsletter-form { display: flex; min-width: 460px; flex-grow: 1; max-width: 560px; }
.newsletter-form input {
  flex-grow: 1;
  height: 52px;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-right: none;
  padding: 0 20px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
}
.newsletter-form input::placeholder { color: var(--muted); }

/* --------------------------------------------------------------------------
   Ficha de producto
   -------------------------------------------------------------------------- */

.pdp {
  padding: 34px var(--gutter) 90px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 72px;
  align-items: start;
}
.pdp-main {
  position: relative;
  background: var(--stone);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-main svg { max-width: 62%; height: auto; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pdp-thumb {
  background: var(--stone);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.pdp-thumb:hover { border-color: var(--stone-2); }
.pdp-thumb.on { border-color: var(--ink); }
.pdp-thumb svg { max-width: 88%; height: auto; }

.pdp-info { display: flex; flex-direction: column; gap: 26px; }
.pdp-info h1 { font-size: 52px; font-weight: 800; }
.pdp-price { font-size: 26px; font-weight: 600; }
.pdp-desc { font-size: 15px; line-height: 1.7; color: var(--muted); }

.pdp-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.16);
  padding: 0;
  cursor: pointer;
}
.pdp-swatch.on { border: 2px solid var(--ink); box-shadow: 0 0 0 3px #fff inset; }

.stock { font-size: 13px; display: flex; align-items: center; gap: 8px; }
.stock .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

.cta {
  width: 100%;
  height: 56px;
  border: 1.5px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.cta-primary { background: var(--ink); color: #fff; }
.cta-primary:hover { background: var(--red); border-color: var(--red); }
.cta-ghost { background: transparent; color: var(--ink); }
.cta-ghost:hover { background: var(--stone); }

.info-rows { display: flex; flex-direction: column; border-top: 1px solid var(--stone-2); }
.info-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--stone-2);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }

.specs {
  background: var(--stone);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  font-size: 14px;
}
.spec { display: flex; flex-direction: column; gap: 3px; }
.spec .k { color: var(--muted); font-size: 12px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: #fff;
  padding: 76px var(--gutter) 34px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand .logo { height: 46px; width: auto; display: block; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 270px;
}
.socials { display: flex; gap: 12px; margin-top: 4px; }
.social {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col .eyebrow { color: rgba(255, 255, 255, 0.42); margin-bottom: 5px; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, 0.82); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}
.pay { display: flex; gap: 16px; letter-spacing: 0.06em; flex-wrap: wrap; }

.footer-slim {
  background: var(--ink);
  padding: 34px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root { --gutter: 36px; }
  .hero-text h1 { font-size: 54px; }
  .page-head h1 { font-size: 46px; }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1fr 420px; gap: 44px; }
  .pdp-info h1 { font-size: 42px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; }

  .nav { display: none; }
  .burger { display: flex; }

  .announce { gap: 12px; font-size: 10px; letter-spacing: 0.1em; }
  .announce .sep { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 56px var(--gutter); gap: 22px; }
  .hero-text h1 { font-size: 42px; }
  .hero-art { min-height: 460px; order: -1; }
  .hero-art img {
    min-height: 460px;
    object-position: 50% 43%;
  }

  .section { padding-top: 64px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 32px; }
  .page-head h1 { font-size: 38px; }

  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .grid-products { padding-top: 32px; padding-bottom: 56px; }

  .outlet-banner { grid-template-columns: 1fr; margin-top: 64px; }
  .outlet-banner-text { padding: 44px 28px; }
  .outlet-banner-text h2 { font-size: 32px; }

  .values { grid-template-columns: 1fr; margin-top: 64px; }
  .value { padding: 32px 28px; }

  .newsletter { margin-top: 64px; padding: 48px var(--gutter); gap: 28px; }
  .newsletter h2 { font-size: 26px; }
  .newsletter-form { min-width: 0; width: 100%; flex-direction: column; gap: 10px; }
  .newsletter-form input { border-right: 1.5px solid var(--ink); }

  .pdp { grid-template-columns: 1fr; gap: 36px; padding-bottom: 56px; }
  .pdp-info h1 { font-size: 38px; }
  .specs-grid { grid-template-columns: 1fr; }

  .footer { padding-top: 48px; gap: 36px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .filters { gap: 14px; padding-top: 16px; padding-bottom: 16px; }
  .filters-group { gap: 16px; }
}
