@font-face {
  font-family: Outfit;
  src: url("assets/fonts/Outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #f4f4f4;
  --soft: #edf0f2;
  --ink: #000e1f;
  --muted: #57616d;
  --line: #e0e4e8;
  --accent: #24374c;
  --dark: #000e1f;
  --chip: #e9edf0;
  --r: 0px;
  --display: Outfit, system-ui, sans-serif;
  --pill: 30px;
  --fast: 150ms;
  --enter: cubic-bezier(.22, .61, .36, 1);
}

body { font: 400 16px/1.45 var(--display); }
.container, .shop-wrap { max-width: 1248px; }
html { scroll-padding-top: 145px; }
header, header.scrolled, header:hover, header:focus-within {
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}
.ann {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 34px;
  background: #3d1d37;
  color: #fff4e3;
  font-size: 12px;
  letter-spacing: .025em;
}
body[data-campaign-theme="clasico"] .ann { background: #70152f; }
.ann .ann-count { border-left: 1px solid #ffffff65; padding-left: 12px; line-height: 1; }
.ann b { color: inherit; font-weight: 600; }
.hrow, .scrolled .hrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  height: 64px;
  gap: 16px;
  transition: none;
}
.hrow .logo { grid-column: 2; grid-row: 1; width: auto; }
.hrow .brand-mark { width: 85px; height: 44px; }
.hsearch { grid-column: 1; grid-row: 1; width: min(100%, 310px); margin: 0; }
.hicons { grid-column: 3; grid-row: 1; justify-self: end; }
.hsearch input, .hsearch input:focus {
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  min-height: 40px;
  padding: 8px 42px 8px 16px;
}
.hsearch input:focus { border-color: var(--ink); }
.hsearch > button { right: 5px; }
.menu a.top { font-family: inherit; font-size: 13px; font-weight: 500; }
.menu a.top:hover, .menu li:hover > a.top { border-color: var(--ink); }
.mega, .sug { border-radius: 0; }
.menu li:has(> .mega--football) { position: static; }
.mega--football {
  display: grid;
  visibility: hidden;
  inset-inline: 0;
  top: auto;
  margin-inline: auto;
  width: min(1280px, calc(100% - 32px));
  min-width: 0;
  max-height: min(520px, calc(100dvh - 144px));
  overflow: auto;
  transform: none;
  z-index: 41;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 20px;
  transition: visibility 0s linear 200ms;
}
.menu li:hover > .mega--football,
.menu li:focus-within > .mega--football {
  display: grid;
  visibility: visible;
  transition-delay: 0s;
}
.mega--football .col { min-width: 0; }
@media (max-width: 1200px) {
  .mega--football { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
:is(a, button, input, select, summary):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.cta, .more, .sz, .fullbtn, .lb, .totop { border-radius: var(--pill); }
.cta, .more { font-size: 14px; padding: 10px 19px; }
.more { border-color: #cbd2da; }
.more:hover { background: var(--ink); }
:is(.cta, .more, .bigbtn, .icon, .fv, .sz, .q) {
  transition: color var(--fast), background var(--fast), border-color var(--fast), transform var(--fast);
}
:is(.cta, .more, .bigbtn, .icon, .fv, .sz, .q):active { scale: .98; }
section.blk { padding-top: clamp(39px, 5vw, 72px); }
.sh2 h2 {
  font: 750 clamp(29px, 4vw, 44px)/1 var(--display);
  letter-spacing: -.035em;
}
.sh2 p, .department-card p { font-family: inherit; font-size: 14px; color: var(--muted); }
.sh2 { align-items: end; flex-direction: row; }
.shop-wrap { max-width: 1700px; }
.shop .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; }
#app:has(.shop-wrap), .product-shelf { background: #fff; }
.product-shelf .container { max-width: 1700px; }
.product-shelf .grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(210px, 23.5%, 375px);
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.product-shelf .grid::-webkit-scrollbar { display: none; }
.shelf-actions, .shelf-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.shelf-controls[hidden] { display: none; }
.shelf-controls button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font: 400 21px/1 system-ui, sans-serif;
}
.shelf-controls button:not([aria-disabled="true"]):hover { background: var(--soft); }
.shelf-controls button[aria-disabled="true"] { opacity: .35; cursor: default; }
.product-shelf .pc { scroll-snap-align: start; }
.pc {
  background: #fff;
  gap: 0;
  min-width: 0;
}
.pc .im, .shop .pc .im, .home-new .pc .im { aspect-ratio: 4 / 5; border-radius: 0; }
.card-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding: 8px;
}
.pc .t { margin: 0; font-size: 13px; font-weight: 450; }
.pc .t:hover { text-decoration: underline; }
.card-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}
.pc .prc { font-size: 12px; font-weight: 600; }
.card-detail {
  padding: 4px 8px;
  background: #121212;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.card-detail:hover { background: var(--accent); }
.department-photo, .promo, .wh-hero, .wh-band, .mainph, .thumbs button { border-radius: 0; }
.department-label h3 { font: 650 20px/1.2 var(--display); }
.department-card small { color: var(--muted); }
.crest-section.blk { padding-block: 30px 10px; }
.crest-section h2 {
  margin: 0 0 10px;
  font: 700 clamp(23px, 2.3vw, 31px)/1.15 var(--display);
  letter-spacing: -.025em;
  text-align: center;
}
.crest-window {
  --crest-min-slot: 104px;
  --crest-time: 2.35s;
  width: 100%;
  container-type: inline-size;
  overflow: clip;
}
.crest-track {
  --crest-slot: max(var(--crest-min-slot), calc((100cqw + 1px) / var(--crest-count)));
  display: flex;
  width: max-content;
  animation: crest-scroll calc(var(--crest-count) * var(--crest-time)) linear infinite;
}
.crest-track--right { animation-direction: reverse; }
.crest-row { display: flex; flex: none; }
.crest-link {
  display: grid;
  place-items: center;
  flex: 0 0 var(--crest-slot);
  width: var(--crest-slot);
  height: 78px;
}
.crest-link img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: scale var(--fast);
}
.crest-link:hover img { scale: 1.1; }
.crest-link:focus-visible { outline-offset: -4px; }
@keyframes crest-scroll { to { transform: translateX(-50%); } }

.crest-window:has(.crest-link:focus-visible) { overflow-x: auto; scrollbar-width: thin; }
.crest-window:has(.crest-link:focus-visible) .crest-track { animation: none; }
.crest-window:has(.crest-link:focus-visible) .crest-row[aria-hidden] { display: none; }
.wh-band { background: #e9eef1 !important; }
.wh-band .more { border-radius: var(--pill); }
footer { color: #c5cbd2; }
footer .brand-mark { width: 100px; height: 52px; }

@media (max-width: 1100px) {
  .menu a.top { font-size: 12px; }
  .shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 135px; }
  .hrow, .scrolled .hrow { min-height: 0; height: auto; padding: 6px 16px 10px; gap: 4px; }
  .hrow .burger { grid-column: 1; grid-row: 1; }
  .hrow .brand-mark { width: 73px; height: 38px; }
  .hsearch { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .hsearch input { font-size: 14px; }
  .hicons .icon { width: 42px; height: 42px; }
  .shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .product-shelf .grid { grid-auto-columns: clamp(178px, 57%, 310px); }
  .card-info { padding-inline: 6px; }
  .sh2 { align-items: start; flex-wrap: wrap; gap: 12px; }
  .crest-window { --crest-min-slot: 76px; --crest-time: 2s; }
  .crest-link { height: 66px; }
  .crest-link img { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .department-card:hover img { transform: none; }
  .crest-window { overflow-x: auto; scrollbar-width: thin; }
  .crest-track { animation: none; }
  .crest-row[aria-hidden] { display: none; }
}

.hicons .campaign-search { display: none; }
.hicons .currency-trigger {
  width: auto;
  padding-inline: 10px;
  font-size: 12px;
  font-weight: 650;
}
.currency-menu-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.currency-menu-trigger span { color: var(--muted); font-size: 13px; }
#currency-dialog {
  width: min(400px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
#currency-dialog::backdrop { background: #110a1b65; }
.currency-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.currency-head h2 { margin: 0; font-size: 22px; }
#currency-description { margin: 8px 0 18px; color: var(--muted); font-size: 14px; }
#currency-dialog label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 650; }
#currency-select { width: 100%; min-height: 42px; }
@media (max-width: 860px) {
  .hicons .currency-trigger { display: none; }
}
.campaign-home {
  --campaign-ann-height: 34px;
  --campaign-nav-height: 94px;
}
.campaign-home #app { padding-top: var(--campaign-ann-height); }
.campaign-home,
.campaign-home .department-photo,
.campaign-home .pc .im,
.campaign-home footer {
  background: #fff;
}
.campaign-home footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.campaign-home footer h4, .campaign-home footer a:hover { color: var(--ink); }
.campaign-home footer .fnote { border-color: var(--line); color: var(--muted); }
.campaign-home footer .brand-mark { filter: none; }
.campaign-home .department-photo img { object-fit: contain; }
.campaign-home .promo {
  display: block;
  padding: 0;
  background: #fff;
  color: var(--ink);
}
.campaign-home .promo img {
  position: static;
  height: clamp(200px, 29vw, 350px);
  object-fit: contain;
  opacity: 1;
}
.campaign-home .promo div { padding: 16px 0 0; }
.campaign-home .promo p { color: var(--muted); }
.campaign-home .promo .cta { border: 1px solid var(--line); }
.campaign-home header {
  --header-ink: #fff;
  --header-gutter: clamp(14px, .9vw, 18px);
  position: fixed;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: var(--campaign-ann-height) var(--campaign-nav-height);
  align-items: center;
  column-gap: 12px;
  padding: 0 var(--header-gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--header-ink);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.campaign-home header.campaign-scrolled {
  --header-ink: var(--ink);
  background: #fff;
  border-bottom-color: var(--line);
}
.campaign-home .ann {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: stretch;
  min-height: 0;
  margin-inline: calc(-1 * var(--header-gutter));
}
.campaign-home header.campaign-scrolled { grid-template-rows: 0 68px; }
.campaign-home .campaign-scrolled .ann { display: none; }
.campaign-home .hrow { display: contents; }
.campaign-home .hrow .brand-mark { width: 87px; height: 46px; filter: invert(1); }
.campaign-home .campaign-scrolled .hrow .brand-mark { filter: none; }
.campaign-home .hrow .logo { justify-self: center; }
.campaign-home .hrow .logo, .campaign-home .hicons { grid-row: 2; }
.campaign-home .hicons .campaign-search { display: grid; }
.campaign-home header .icon { color: inherit; }
.campaign-home header .icon:hover { background: color-mix(in srgb, currentColor 13%, transparent); }
.campaign-home header :is(a, button):focus-visible { outline-color: currentColor; }
.campaign-home .hsearch {
  display: none;
  position: absolute;
  inset: calc(100% + 8px) clamp(16px, 2vw, 38px) auto auto;
  width: min(375px, calc(100vw - 32px));
  color: var(--ink);
}
.campaign-home .search-open .hsearch { display: block; }
.campaign-home .hsearch input, .campaign-home .hsearch input:focus { min-height: 48px; }
.campaign-home .menu {
  grid-column: 1;
  grid-row: 2;
  border: 0;
  justify-self: start;
}
.campaign-home .menu > .container { padding: 0; }
.campaign-home .menu li:not(:nth-child(-n+2), :has(> a[href="#/tienda?section=F%C3%BAtbol&kind=Retro"]), :last-child) { display: none; }
.campaign-home .menu a.top { color: inherit; padding-inline: clamp(7px, .7vw, 14px); font-weight: 600; }
.campaign-home .menu li:hover > a.top, .campaign-home .menu a.top:hover { border-color: currentColor; }
.campaign-home .menu .mega { color: var(--ink); }
.campaign-home .mega--football {
  width: calc(100% - 32px);
  padding-inline: max(26px, calc((100% - 1260px) / 2 - 16px));
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #201120;
}
.hero .slides {
  height: auto;
  aspect-ratio: 11 / 5;
}
.hero .slide {
  display: flex;
  align-items: flex-end;
  padding: clamp(38px, 4.22vw, 80px) clamp(20px, 2.53vw, 48px);
  visibility: hidden;
  transition: opacity 450ms var(--enter), visibility 450ms;
  isolation: isolate;
  color: var(--campaign-ink);
}
.hero .slide.on { visibility: visible; }
.slide--barcelona {
  --campaign-ink: #fff0d6;
  --campaign-primary: #f2cf91;
  --campaign-primary-ink: #29162b;
  --campaign-secondary: #ead8f0;
  --campaign-secondary-ink: #321d39;
}
.slide--clasico {
  --campaign-ink: #fff;
  --campaign-primary: #fbf9f5;
  --campaign-primary-ink: #123049;
  --campaign-secondary: #8b1740;
  --campaign-secondary-ink: #fff;
  background: linear-gradient(120deg, #1b2c53, #0b1b34 48%, #4a122b);
}
.campaign-photo, .hero .slide::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.campaign-photo { object-fit: cover; object-position: 64% center; z-index: -2; }
.hero .slide::after {
  content: "";
  background: linear-gradient(to bottom, #170c1aa8, transparent 23%),
              linear-gradient(90deg, #170d1a30, transparent 58%);
  z-index: -1;
}
.hero .slide--clasico::after {
  background: linear-gradient(to bottom, #071121e0, transparent 24%),
              linear-gradient(32deg, #061225f2, #06122565 24%, transparent 51%);
}
.hero .slide .txt { padding: 0; max-width: min(65ch, 55%); }
.hero .slide .k {
  display: block;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: clamp(12px, .9vw, 16px);
  font-weight: 600;
  letter-spacing: .075em;
}
.hero .slide h1 {
  color: inherit;
  margin: 12px 0 22px;
  font-size: clamp(48px, 4.22vw, 82px);
  line-height: .92;
  font-weight: 850;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.campaign-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hero .cta {
  justify-content: center;
  min-width: clamp(132px, 8.7vw, 166px);
  min-height: clamp(46px, 2.8vw, 53px);
  color: var(--campaign-primary-ink);
  background: var(--campaign-primary);
}
.hero .cta:hover { color: var(--campaign-primary-ink); background: color-mix(in srgb, var(--campaign-primary) 85%, white); }
.hero .cta + .cta { color: var(--campaign-secondary-ink); background: var(--campaign-secondary); }
.hero .cta + .cta:hover {
  color: var(--campaign-secondary-ink);
  background: color-mix(in srgb, var(--campaign-secondary) 85%, white);
}
.hero :is(a, button):focus-visible { outline-color: #fff; }
.hero .slide.on .txt { animation: campaign-enter 430ms var(--enter) both; }
@keyframes campaign-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.collection-controls {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 3;
  right: clamp(11px, .9vw, 17px);
  bottom: clamp(11px, .9vw, 17px);
  color: #fff;
}
.collection-controls button {
  display: grid;
  place-items: center;
  padding: 0;
  width: 34px;
  height: 44px;
  background: transparent;
  border: 0;
}
.campaign-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background var(--fast);
}
.campaign-dot[aria-pressed="true"]::after, .campaign-dot:hover::after { background: currentColor; }
.collection-controls .campaign-play { width: 44px; }
.campaign-play span { font-size: 13px; }

@media (max-width: 860px) {
  .campaign-home { --campaign-ann-height: 26px; --campaign-nav-height: 64px; }
  .campaign-home header.campaign-scrolled { grid-template-rows: 0 64px; }
  .campaign-home .ann { font-size: 11px; }
  .campaign-home .burger { grid-column: 1; grid-row: 2; }
  .campaign-home .hrow .brand-mark { width: 74px; height: 40px; }
  .campaign-home .hicons { gap: 0; }
  .hero .slides {
    height: clamp(500px, calc(86svh - var(--campaign-ann-height)), 720px);
    aspect-ratio: auto;
    min-height: 0;
  }
  .hero .slide { padding: 20px 20px 70px; }
  .campaign-photo { object-position: 73% top; }
  .slide--clasico::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background: url("assets/campana-madrid-barcelona.webp") center / cover;
    filter: blur(22px);
    opacity: .3;
  }
  .slide--clasico .campaign-photo {
    inset: 12% auto auto -5%;
    width: 110%;
    height: 59%;
    object-fit: contain;
    object-position: center;
  }
  .hero .slide::after {
    background: linear-gradient(to bottom, #170c1aa8, transparent 20%, transparent 38%, #1a0e1ddf 78%, #1a0e1d 100%);
  }
  .hero .slide--clasico::after {
    background: linear-gradient(to bottom, #04112470, transparent 28%, transparent 58%, #071324e8 85%, #071324 100%);
  }
  .hero .slide .txt { max-width: 100%; }
  .hero .slide h1 { margin: 12px 0 18px; font-size: clamp(34px, 11vw, 74px); }
  .hero .cta { min-width: 116px; padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .slide.on .txt { animation: none; }
  .collection-controls .campaign-play { display: none; }
}
