:root {
  --bg: #ffffff;
  --ink: #241c18;
  --muted: #5c4e45;
  --line: rgba(36, 28, 24, 0.16);
  --brown: #3a2b25;
  --leather: #8a5434;
  --photo: #ffffff;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --header: 68px;
  --paper: #f4ece4;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }

button { font: inherit; color: inherit; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--leather);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -120px;
  background: var(--ink);
  color: #f7f2ea;
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus { top: 12px; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header);
  padding: 16px clamp(16px, 3vw, 36px);
  background: var(--paper);
}

.header-marcas,
.header-desk { display: none; }

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 3.4vw, 44px);
}

.menu-left,
.menu-right,
.menu-slot { display: contents; }

.menu a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.menu a:hover { color: var(--leather); }

.portada {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: minmax(4.5rem, 1fr) auto minmax(1.25rem, 1fr);
  justify-items: center;
  padding: var(--header) clamp(24px, 5vw, 72px) 0;
  overflow: hidden;
  background: var(--paper);
}

.portada-columns {
  grid-row: 2;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 1em;
  font-size: clamp(4.4rem, 7.4vw, 6.7rem);
}

.portada::before {
  content: "cuero";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  color: rgba(43, 33, 28, 0.055);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(9rem, 32vw, 24rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  white-space: nowrap;
  pointer-events: none;
  animation: portada-fade 1650ms var(--ease-out) both;
}

.portada-copy {
  display: flex;
  text-align: left;
}

.portada-kicker {
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
  animation: portada-fade 1140ms var(--ease-out) both;
}

.portada h1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: auto;
  height: auto;
  margin: 0;
  color: var(--ink);
  font-size: 1em;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  --rise: 16px;
  animation: portada-rise 1350ms var(--ease-out) 120ms both;
}

.portada h1 .linea,
.portada h1 em {
  display: block;
  white-space: nowrap;
}

.portada h1 em {
  font-style: italic;
  font-weight: 500;
}

.portada-marcas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  gap: 0.19em;
  --rise: 10px;
  animation: portada-rise 1350ms var(--ease-out) 330ms both;
}

@keyframes portada-rise {
  from {
    opacity: 0;
    transform: translateY(var(--rise));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes portada-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.portada-marcas img {
  height: auto;
  flex: none;
  object-fit: contain;
}

.logo-garcia,
.logo-vicente { width: 3.62em; }

.marcas-rule {
  width: 120px;
  height: 1px;
  background: rgba(43, 33, 28, 0.4);
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--brown);
  color: #f6f1e8;
  text-decoration: none;
  border: 0;
}

.btn:hover { background: #4a382f; }

.categoria {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.slider {
  min-width: 0;
  padding: clamp(16px, 2vw, 28px);
}

.viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  background: var(--photo);
}

.viewport::-webkit-scrollbar { display: none; }

.track { display: flex; }

.pair {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.pair .foto {
  aspect-ratio: 3 / 4;
  background: var(--photo);
}

.pair .foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slider-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.arrow:hover { background: rgba(36, 28, 24, 0.05); }

.arrow svg { display: block; }

.count {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.copy {
  min-width: 0;
  padding: clamp(28px, 5vw, 72px);
}

h1,
.copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.copy p {
  max-width: 36rem;
  color: var(--muted);
}

.hint { font-size: 0.92rem; }

.copy .btn { margin-top: 8px; }

.mates {
  scroll-margin-top: var(--header);
  padding: 36px clamp(16px, 3vw, 36px) clamp(56px, 8vh, 96px);
  background: var(--bg);
}

.mates-intro {
  width: 100%;
  margin: 0 auto clamp(28px, 4vh, 48px);
  text-align: center;
}

@media (min-width: 801px) {
  .categoria {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .slider {
    padding-top: 0;
    padding-bottom: 0;
  }

  .mates { padding-top: 0; padding-bottom: 80px; }

  .cubiertos-alt { padding-top: 0; }
}

.mates-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.mates-intro p {
  max-width: none;
  margin: 16px 0 0;
  color: var(--muted);
}

.mates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 28px 10px;
  width: 100%;
}

.mate-nombre,
.mate-detalle {
  margin: 10px 0 0;
  text-align: center;
}

.mate-nombre {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
}

.mate-detalle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.foto {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.foto img {
  width: 100%;
  height: auto;
}

.cubiertos-alt {
  scroll-margin-top: var(--header);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-bottom: clamp(56px, 8vh, 96px);
}

@media (min-width: 801px) {
  .cubiertos-alt { padding-bottom: 80px; }
}

.cubiertos-slider .viewport { overflow-y: hidden; }

.cubiertos-slider .slide {
  flex: 0 0 100%;
  display: grid;
  gap: 10px;
  min-width: 0;
  aspect-ratio: 1448 / 1086;
  align-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.cubiertos-slider .slide-pair { grid-template-columns: 1fr 1fr; }

.cubiertos-slider .slide-wide { grid-template-columns: 1fr; }

.cubiertos-slider .slide .foto { min-width: 0; }

.cubiertos-slider .slide img {
  width: 100%;
  height: auto;
}

.accesorios {
  scroll-margin-top: var(--header);
  padding: 36px clamp(16px, 3vw, 36px) clamp(56px, 8vh, 96px);
}

@media (min-width: 801px) {
  .accesorios { padding-top: 0; padding-bottom: 80px; }
}

.accesorios-intro {
  margin: 0 auto clamp(28px, 4vh, 48px);
  text-align: center;
}

.accesorios-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.accesorios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  row-gap: 18px;
  align-items: start;
}

.porta-head {
  grid-column: 2;
  grid-row: 3;
  margin-top: clamp(48px, 7vh, 80px);
}

.porta-head h3,
.billeteras-head h3,
.delantal-head h3,
.llaveros-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.porta-head p,
.billeteras-head p,
.delantal-head p,
.llaveros-head p {
  max-width: 36rem;
  margin: 12px 0 0;
  color: var(--muted);
}

.porta-slider {
  container-type: inline-size;
  min-width: 0;
  padding: 0;
  grid-column: 2;
  grid-row: 4;
}

.delantal-head {
  grid-column: 1;
  grid-row: 3;
  margin-top: clamp(48px, 7vh, 80px);
}

.delantal-fotos {
  min-width: 0;
  grid-column: 1;
  grid-row: 4;
}

.delantal-fotos .viewport {
  overflow: visible;
  scroll-snap-type: none;
}

.delantal-fotos .track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.delantal-fotos .slider-bar,
.delantal-fotos [data-clone] { display: none; }

.delantal-fotos .foto {
  min-width: 0;
  aspect-ratio: 1086 / 1448;
}

.delantal-fotos .foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.billeteras-head { grid-column: 2; grid-row: 1; }

.billeteras-frame {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
}

.billeteras-frame { grid-column: 2; grid-row: 2; }

.llaveros-head { grid-column: 1; grid-row: 1; }

.llaveros-fotos {
  min-width: 0;
  grid-column: 1;
  grid-row: 2;
}

.llaveros-fotos .viewport {
  overflow: visible;
  scroll-snap-type: none;
}

.llaveros-fotos .track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.llaveros-fotos .slider-bar,
.llaveros-fotos [data-clone] { display: none; }

.llaveros-fotos .foto {
  min-width: 0;
  aspect-ratio: 1086 / 1448;
}

.llaveros-fotos .foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.billeteras-sizer {
  width: calc((100% - 10px) / 2);
  aspect-ratio: 1086 / 1448;
}

.billeteras-frame .foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.billeteras-frame .foto img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.porta-slider .viewport { overflow-y: hidden; }

.porta-slider .track {
  display: flex;
  gap: 10px;
}

.porta-slider .porta-item {
  flex: none;
  width: calc((100cqw - 10px) / 2);
  aspect-ratio: 1086 / 1448;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.porta-slider .porta-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 12px 16px 20px;
  border: 0;
  background: #140e0c;
  color: #f6f1e8;
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
}

.lightbox::backdrop { background: #140e0c; }

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}

.lb-count {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.lb-close {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(246, 241, 232, 0.35);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lb-stage {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  flex: 1;
  min-height: 0;
}

.lb-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.lb-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(246, 241, 232, 0.35);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lb-arrow svg { display: block; }

body.lock { overflow: hidden; }

.wa-float {
  position: fixed;
  z-index: 25;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 20px rgba(36, 28, 24, 0.22);
  text-decoration: none;
  opacity: 1;
  transition:
    opacity 420ms var(--ease-out),
    background-color 160ms var(--ease-out);
}

.wa-float.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { background: var(--brown); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    transition: opacity 420ms var(--ease-out), background-color 160ms var(--ease-out);
  }
}

.cierre {
  margin: 0;
  padding: 8px clamp(20px, 4vw, 64px) 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: center;
}

.cierre-cta {
  margin: clamp(56px, 10vh, 112px) 0 0;
  padding: 0 clamp(20px, 4vw, 64px) clamp(28px, 5vh, 56px);
  text-align: center;
}

.wa-cierre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out),
    background-color 160ms var(--ease-out);
}

.wa-cierre svg { display: block; flex: none; }

.wa-cierre.is-armed:not(.is-visible) {
  opacity: 0;
  transform: translateY(8px);
}

.wa-cierre.is-armed:not(.is-ready) {
  transition: none;
}

.wa-cierre:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .wa-cierre:hover { background: var(--brown); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-cierre,
  .wa-cierre.is-armed:not(.is-visible),
  .wa-cierre:active {
    transform: none;
  }

  .wa-cierre.is-ready {
    transition: opacity 900ms var(--ease-out);
  }
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 36px;
  padding: clamp(40px, 6vw, 72px) 0 20px;
  background: var(--paper);
  color: var(--ink);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px clamp(24px, 4vw, 64px);
  padding: 0 clamp(20px, 4vw, 64px);
}

.footer-marcas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 3vw, 28px);
  min-width: 0;
}

.footer-marcas img {
  width: calc(min(92px, 20vw) * 1344 / 697);
  height: auto;
  min-width: 0;
}

.footer-datos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  text-align: left;
}

.footer-dato {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

.footer-dato svg {
  display: block;
  flex: none;
  margin-top: 1px;
  color: var(--ink);
}

.footer-copy {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1;
  text-align: center;
}

@media (max-width: 1200px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    row-gap: 28px;
  }

  .footer-marcas {
    flex-direction: column;
    align-items: center;
  }

  .footer-datos {
    align-items: center;
    align-self: center;
    margin-left: 0;
    text-align: center;
  }

  .footer-dato {
    justify-content: center;
    text-align: center;
  }
}

.wa-float svg { width: 30px; height: 30px; display: block; }

@media (max-width: 800px) {
  .portada { padding: var(--header) 20px 28px; }

  .portada-columns {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }

  .portada-copy { text-align: center; }

  #titulo-portada {
    height: auto;
    justify-content: flex-start;
    gap: 0.08em;
    font-size: 20vw;
    line-height: 0.98;
    margin-bottom: 46px;
  }

  .portada-marcas {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 440px;
    height: auto;
    gap: 14px;
  }

  .portada-marcas .marcas-rule {
    width: 1px;
    height: 52px;
  }

  .portada-marcas img {
    width: min(calc((100% - 29px) / 2), calc(min(108px, 22vw) * 1344 / 697));
    height: auto;
  }

  .categoria { grid-template-columns: 1fr; }

  .mates-grid { grid-template-columns: 1fr 1fr; }

  .cubiertos-alt { grid-template-columns: 1fr; }

  .accesorios-grid { grid-template-columns: 1fr; }

  .porta-head,
  .porta-slider,
  .billeteras-head,
  .billeteras-frame,
  .delantal-head,
  .delantal-fotos,
  .llaveros-head,
  .llaveros-fotos {
    grid-column: auto;
    grid-row: auto;
  }

  .billeteras-head,
  .delantal-head,
  .porta-head { margin-top: clamp(48px, 7vh, 80px); }
}

@media (max-width: 1200px) {
  :root {
    --menu-size: calc((100vw - 2 * clamp(16px, 3vw, 36px)) * 0.8 / 22.98);
    --header: max(68px, calc(32px + var(--menu-size)));
  }

  .header {
    container-type: inline-size;
    flex-direction: column;
    align-items: stretch;
  }

  .header-marcas {
    display: grid;
    grid-template-rows: 0fr;
    min-height: 0;
    transition: grid-template-rows 420ms var(--ease-out);
  }

  .header.is-branded .header-marcas { grid-template-rows: 1fr; }

  .header-marcas-clip {
    min-height: 0;
    overflow: hidden;
  }

  .header-marcas-inner {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    justify-items: center;
    width: 100%;
    margin-inline: auto;
    padding-bottom: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
  }

  .header.is-branded .header-marcas-inner {
    opacity: 1;
    transform: none;
    transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
  }

  .header-marcas img {
    width: auto;
    height: auto;
    min-width: 0;
    max-height: min(108px, 22vw);
    /* Tope: el ancho que ya tenía Lo de Vicente (tope de ancho y de alto). */
    max-width: min(
      100%,
      calc((100cqi - 48px) * 0.42),
      calc(min(108px, 22vw) * 1344 / 697)
    );
    object-fit: contain;
  }

  .header-marcas .marcas-rule {
    width: 1px;
    height: 52px;
  }

  .header.is-branded ~ #contenido > section {
    scroll-margin-top: calc(var(--header) + min(108px, 22vw) + 12px);
  }

  .menu {
    align-self: center;
    width: max-content;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.47em;
    /* Outfit 500, mayúsculas, tracking 0.12em: el bloque ocupa el 80% del header. */
    font-size: calc(80cqi / 22.98);
  }

  .menu a {
    font-size: 1em;
    line-height: 1;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .categoria,
  .cubiertos-alt { grid-template-columns: 1fr; }

  .categoria .copy { order: -1; }

  .pair {
    flex: 0 0 200%;
    gap: 0;
    scroll-snap-align: none;
  }

  .pair .foto {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .cubiertos-slider .slide-pair {
    flex: 0 0 200%;
    gap: 0;
    aspect-ratio: auto;
    scroll-snap-align: none;
  }

  .cubiertos-slider .slide-wide { aspect-ratio: auto; }

  .cubiertos-slider .slide .foto {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .porta-slider .track { gap: 0; }

  .porta-slider .porta-item {
    flex: 0 0 100%;
    width: 100%;
  }

  .delantal-fotos .viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .delantal-fotos .track {
    display: flex;
    gap: 0;
  }

  .delantal-fotos [data-clone] { display: block; }

  .delantal-fotos .slider-bar { display: flex; }

  .delantal-fotos .foto {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .llaveros-fotos .viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .llaveros-fotos .track {
    display: flex;
    gap: 0;
  }

  .llaveros-fotos [data-clone] { display: block; }

  .llaveros-fotos .slider-bar { display: flex; }

  .llaveros-fotos .foto {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (min-width: 1201px) {
  .header {
    --desk-logo: calc((var(--header) - 16px) * 1344 / 697);
    --desk-pair: calc(var(--desk-logo) * 2 + 20px);
    --menu-gap: clamp(18px, 3.4vw, 44px);
    --menu-skew: 0px;
  }

  .header-desk {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    gap: 20px;
    width: max-content;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 420ms var(--ease-out);
  }

  .header.is-desk-branded .header-desk { opacity: 1; }

  .header-desk img {
    width: var(--desk-logo);
    height: auto;
    max-width: none;
  }

  .menu {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0;
    transform: translateY(-50%);
  }

  .menu-slot {
    display: block;
    position: relative;
    z-index: 1;
    justify-self: center;
    width: calc(var(--desk-pair) + 2 * var(--menu-gap));
  }

  .menu-left,
  .menu-right {
    display: flex;
    align-items: center;
    gap: var(--menu-gap);
  }

  .menu-left {
    justify-self: end;
    transform: translateX(calc((var(--desk-pair) + var(--menu-gap)) / 2 - var(--menu-skew)));
  }

  .menu-right {
    justify-self: start;
    transform: translateX(calc((var(--desk-pair) + var(--menu-gap)) / -2 - var(--menu-skew)));
  }

  .header.is-menu-ready .menu-left,
  .header.is-menu-ready .menu-right {
    transition: transform 840ms var(--ease-out);
  }

  .header.is-desk-branded .menu-left,
  .header.is-desk-branded .menu-right { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .viewport { scroll-behavior: auto; }
  .header,
  .header-marcas,
  .header-marcas-inner,
  .header.is-branded .header-marcas-inner { transition: none; }
  .header-marcas-inner { transform: none; }
  .header-desk,
  .menu,
  .menu-left,
  .menu-right,
  .header.is-menu-ready .menu-left,
  .header.is-menu-ready .menu-right { transition: none; }

  .portada h1,
  .portada-marcas,
  .portada-kicker,
  .portada::before {
    animation-name: portada-fade;
    animation-duration: 280ms;
    animation-delay: 0ms;
  }
}
