/* Portada WolfJeans 2026 — capa visual aislada.
   La lógica del catálogo, carrito y pagos continúa en los archivos existentes. */

:root {
  --wj-blue: #4f91c5;
  --wj-blue-dark: #2f678f;
  --wj-black: #07090b;
  --wj-ink: #111214;
  --wj-paper: #f5f5f3;
  --wj-line: #d8d8d5;
}

body {
  background: var(--wj-paper);
  color: var(--wj-ink);
}

.container { max-width: 1420px; }

.anuncio-bar {
  position: relative;
  z-index: 81;
  background: #111;
  color: #fff;
}

.anuncio-bar__inner { min-height: 34px; padding-block: 7px; }
.anuncio-bar__inner span { font-size: 11px; letter-spacing: .12em; }
.anuncio-bar__inner button { color: #fff; }

.utility-bar {
  min-height: 34px;
  background: linear-gradient(90deg, #326b94, #5796c7 48%, #326b94);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.utility-bar__inner {
  position: relative;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.utility-bar span { display: inline-flex; align-items: center; gap: 7px; }
.utility-bar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.utility-bar i { width: 1px; height: 13px; background: rgba(255,255,255,.55); }
.utility-bar small {
  position: absolute;
  right: 24px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.header {
  top: 0;
  background: rgba(7, 9, 11, .98);
  border: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.13);
}

.header__inner { height: 74px; gap: 34px; }

.logo { gap: 12px; min-width: max-content; }
.logo__mark { width: 47px; height: 47px; border-radius: 8px; }
.logo__wordmark {
  display: flex;
  flex-direction: column;
  font-size: 22px;
  line-height: .9;
  letter-spacing: -.02em;
}
.logo__wordmark small {
  margin-top: 7px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .4em;
  color: #aeb0b3;
}

.nav { flex: 1; justify-content: center; gap: clamp(16px, 2.1vw, 34px); }
.nav a { position: relative; color: #f5f5f5; font-size: 10px; letter-spacing: .08em; }
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -13px;
  height: 2px;
  background: var(--wj-blue);
  transition: right .2s ease;
}
.nav a:hover::after,
.nav a.is-active::after { right: 0; }
.nav a:hover { color: #fff; }

.header__actions { gap: 14px; }
.header-search {
  width: min(230px, 17vw);
  height: 34px;
  display: flex;
  align-items: center;
  border: 1px solid #62666a;
  border-radius: 20px;
  color: #fff;
  padding: 0 12px;
  transition: border-color .2s, width .25s;
}
.header-search:focus-within { border-color: var(--wj-blue); width: min(260px, 19vw); }
.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: 600 10px/1 Inter, sans-serif;
}
.header-search input::placeholder { color: #9da1a5; }
.header-search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.account-slot { max-width: 95px; overflow: hidden; text-overflow: ellipsis; }
.cart-toggle { width: 34px; }
.cart-count { background: var(--wj-blue); color: #fff; }

.hero {
  position: relative;
  min-height: 500px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(circle at 72% 50%, rgba(80,115,145,.28), transparent 28%),
    linear-gradient(112deg, #050607 0%, #111820 52%, #050607 100%);
  border: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .1;
  pointer-events: none;
  background-image: repeating-linear-gradient(112deg, transparent 0 30px, rgba(255,255,255,.16) 31px, transparent 32px);
}

.hero__inner {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: .83fr 1.35fr;
  align-items: center;
}

.hero__content { position: relative; z-index: 3; padding: 54px 0 64px 74px; }
.hero__kicker {
  margin: 0 0 12px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .42em;
}
.hero__title {
  margin: 0 0 18px;
  font-size: clamp(60px, 6.4vw, 102px);
  line-height: .78;
  letter-spacing: -.065em;
  transform: rotate(-2deg);
  text-shadow: 0 4px 20px rgba(0,0,0,.28);
}
.hero__title em {
  display: inline-block;
  margin-left: 28px;
  color: #69a7d6;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.08em;
}
.hero__subtitle {
  max-width: 390px;
  margin: 0 0 26px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-left: 8px; }
.btn--light { background: #fff; border-color: #fff; color: #0a0a0a; }
.btn--light:hover { background: var(--wj-blue); border-color: var(--wj-blue); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: #0a0a0a; }
.hero__actions .btn { min-width: 172px; padding: 13px 20px; text-align: center; font-size: 10px; }
.hero__actions .btn span { margin-left: 12px; font-size: 16px; line-height: 0; }

.hero__visual { position: absolute; z-index: 1; inset: 0 0 0 37%; overflow: hidden; }
.hero__visual::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, #080a0d 0%, rgba(8,10,13,.62) 18%, transparent 48%),
              linear-gradient(0deg, rgba(3,5,7,.32), transparent 35%);
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: grayscale(.85) contrast(1.12) brightness(.72);
}
.hero__signature {
  position: absolute;
  z-index: 3;
  right: 38px;
  bottom: 28px;
  color: rgba(255,255,255,.8);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.category-showcase { padding-top: 12px; }
.category-showcase__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, calc((100% - 30px) / 4));
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--wj-blue) #d9d9d6;
  padding-bottom: 8px;
}
.category-showcase__grid::-webkit-scrollbar { height: 6px; }
.category-showcase__grid::-webkit-scrollbar-track { background: #d9d9d6; }
.category-showcase__grid::-webkit-scrollbar-thumb { background: var(--wj-blue); border-radius: 20px; }
.category-tile {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  border: 0;
  background: #222;
  color: #fff;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  scroll-snap-align: start;
}
.category-tile::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.45) 57%, rgba(0,0,0,.08));
}
.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 30%;
  filter: grayscale(.6);
  transition: transform .45s ease, filter .3s;
}
.category-tile:hover img { transform: scale(1.06); filter: grayscale(.15); }
.category-tile__content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: 142px; padding: 20px; }
.category-tile strong { font-size: 21px; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; }
.category-tile span { max-width: 150px; margin-top: 3px; color: #d4d4d4; font-size: 9px; line-height: 1.35; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.category-tile b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 14px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 14px;
}

.catalogo { padding-top: 26px; padding-bottom: 30px; }
.catalogo__head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border: 0;
  text-align: center;
}
.section-kicker { margin: 0 0 3px; color: var(--wj-blue-dark); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.section-title { font-size: 30px; letter-spacing: -.045em; }
.catalogo__controls { gap: 18px; margin-left: 0; }
.filtros { gap: 14px; max-width: 620px; }
.filtro-btn { font-size: 9px; letter-spacing: .08em; }
.filtro-btn.is-active { border-bottom-color: var(--wj-blue); }
.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 9px 7px 14px;
  border: 1px solid #d2d3d3;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.045);
}
.sort-control > span {
  color: #7a7d80;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.orden-select {
  min-width: 142px;
  padding: 3px 22px 3px 4px;
  border: 0;
  color: #151719;
  font-size: 9px;
  text-align: center;
  text-align-last: center;
}
.orden-select:focus { border-color: transparent; }

.grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 12px; }
.card { border: 0; background: transparent; box-shadow: none; }
.card:hover { transform: translateY(-3px); }
.card__image { aspect-ratio: 4 / 4.7; background: #e7e7e5; }
.card__badge { top: 8px; left: 8px; padding: 5px 9px; font-size: 8px; }
.card__badge--nuevo { background: var(--wj-blue-dark); color: #fff; }
.card__badge--top { background: #0a0a0a; color: #fff; }
.card__badge--descuento { left: auto; right: 8px; background: #d83238; }
.card__body { padding: 9px 0 0; }
.card__categoria { color: #777; font-size: 8px; letter-spacing: .12em; }
.card__title { margin: 3px 0 3px; font-size: 12px; letter-spacing: 0; }
.card__stock { margin-bottom: 7px; font-size: 10px; }
.card__price { font-size: 15px; }
.card__price-old { font-size: 10px; }
.card__add {
  min-width: 118px;
  padding: 8px 9px;
  border-color: #111;
  background: #111;
  color: #fff;
  font-size: 8px;
}
.card__add::before { content: '🛒'; margin-right: 7px; filter: grayscale(1) brightness(4); }
.card__add:hover { background: var(--wj-blue-dark); border-color: var(--wj-blue-dark); color: #fff; }

.benefits { overflow-x: auto; background: #090b0d; color: #fff; }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  min-width: 900px;
}
.benefits article {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 24px;
  border-right: 1px solid #2a2c2f;
  background: linear-gradient(135deg, rgba(255,255,255,.025), transparent 60%);
}
.benefits article:last-child { border: 0; }
.benefits svg {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 11px;
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  border: 1px solid rgba(105,167,214,.65);
  border-radius: 50%;
  background: rgba(79,145,197,.13);
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.22));
}
.benefits article > div { display: flex; flex-direction: column; gap: 4px; }
.benefits strong { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.benefits span { color: #aeb0b3; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.season-banner {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0a0c0f;
}
.season-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.3), rgba(0,0,0,.7)); }
.season-banner__media { position: absolute; inset: 0; }
.season-banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; filter: grayscale(1) brightness(.5) contrast(1.25); }
.season-banner__content { position: relative; z-index: 2; text-align: center; }
.season-banner__content p { margin: 0 0 4px; font-size: 9px; font-weight: 800; letter-spacing: .5em; text-transform: uppercase; }
.season-banner__content h2 { margin: 0 0 13px; font-size: clamp(29px, 3.5vw, 50px); line-height: .87; letter-spacing: -.05em; text-transform: uppercase; }
.season-banner__content .btn { padding: 9px 16px; font-size: 8px; }
.season-banner__claim { position: absolute; z-index: 2; right: 6%; bottom: 18%; max-width: 110px; font-size: 18px; font-style: italic; font-weight: 900; line-height: .9; text-transform: uppercase; transform: rotate(-5deg); }

.footer { margin: 0; padding-top: 38px; border-top: 0; background: #080a0c; }
.footer__inner { grid-template-columns: 1.3fr repeat(3, 1fr); }
.footer h3 { color: #fff; }
.footer__bottom { justify-content: space-between; margin-top: 24px; }
.footer .logo__wordmark { font-size: 18px; }

.btn--accent { background: var(--wj-blue); border-color: var(--wj-blue); color: #fff; }
.btn--accent:hover { background: var(--wj-blue-dark); border-color: var(--wj-blue-dark); }
.modal__categoria { color: var(--wj-blue-dark); }
.talle-btn.is-selected { border-color: var(--wj-blue-dark); background: var(--wj-blue-dark); color: #fff; }
.color-swatch.is-selected { outline-color: var(--wj-blue-dark); }

@media (max-width: 1180px) {
  .header__inner { gap: 18px; }
  .nav { gap: 16px; }
  .nav a { font-size: 9px; }
  .header-search { width: 160px; }
  .hero__content { padding-left: 32px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-showcase__grid { grid-auto-columns: minmax(245px, calc((100% - 20px) / 3)); }
}

@media (max-width: 900px) {
  .utility-bar__inner { gap: 9px; }
  .utility-bar small { display: none; }
  .header__inner { height: 66px; }
  .logo__mark { width: 39px; height: 39px; }
  .logo__wordmark { font-size: 17px; }
  .header-search { width: min(220px, 34vw); }
  .header__actions .account-slot { display: none; }
  .nav { top: 66px; }
  .hero, .hero__inner { min-height: 450px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { padding-left: 20px; }
  .hero__visual { left: 25%; opacity: .82; }
  .hero__visual::before { background: linear-gradient(90deg, #080a0d 0%, rgba(8,10,13,.75) 40%, rgba(8,10,13,.18)); }
  .hero__title { font-size: clamp(52px, 12vw, 84px); }
  .catalogo__head { flex-direction: column; align-items: center; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits__grid { grid-template-columns: repeat(4, minmax(210px, 1fr)); min-width: 840px; }
}

@media (max-width: 640px) {
  .utility-bar__inner { min-height: 30px; justify-content: center; overflow: hidden; }
  .utility-bar span { display: inline-flex; font-size: 8px; }
  .utility-bar i { display: block; }
  .header__inner { gap: 10px; }
  .logo__wordmark { display: none; }
  .header-search { order: 2; width: 42vw; height: 32px; }
  .header-search:focus-within { width: 45vw; }
  .hero, .hero__inner { min-height: 480px; }
  .hero__visual { left: 0; opacity: .52; }
  .hero__visual img { object-position: 61% center; }
  .hero__visual::before { background: linear-gradient(90deg, rgba(4,6,8,.96), rgba(4,6,8,.35)), linear-gradient(0deg, rgba(4,6,8,.75), transparent); }
  .hero__content { padding: 66px 0 56px; align-self: end; }
  .hero__title { line-height: .84; }
  .hero__title em { margin-left: 12px; }
  .hero__subtitle { max-width: 270px; margin-left: 0; line-height: 1.7; }
  .hero__actions { margin-left: 0; }
  .hero__actions .btn { min-width: 145px; padding-inline: 13px; }
  .hero__signature { display: none; }
  .category-showcase { padding-top: 8px; }
  .category-showcase__grid { grid-auto-columns: minmax(168px, 72vw); gap: 7px; }
  .category-tile, .category-tile__content { min-height: 118px; }
  .category-tile__content { padding: 13px; }
  .category-tile strong { font-size: 17px; }
  .category-tile__content > span { display: none; }
  .category-tile b { margin-top: 10px; }
  .catalogo__head { flex-direction: column; align-items: center; }
  .catalogo__controls { width: auto; margin-left: 0; }
  .orden-select { width: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 9px; }
  .card__footer { align-items: flex-end; flex-direction: column; }
  .card__precios { align-self: flex-start; }
  .card__add { width: 100%; min-width: 0; }
  .benefits__grid { grid-template-columns: repeat(4, minmax(210px, 1fr)); min-width: 840px; }
  .benefits article { min-height: 82px; justify-content: flex-start; border-right: 1px solid #2a2c2f; border-bottom: 0; }
  .season-banner__claim { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; text-align: left; }
  .footer__inner > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .category-tile img, .card, .card__image img { transition: none; }
}
