/* =========================================================
   JOHNNYCAY — Estilos
   Paleta y tipografías centralizadas en :root para editar fácil
   ========================================================= */
:root {
  --black: #0e0e0e;
  --white: #f5f3ef;
  --gray: #8a8781;
  --line: #dcd8d0;
  --accent: #ff4d00;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 48px);
  --header-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; background: #cfcac2; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), transform .2s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn--light  { background: var(--white); color: var(--black); }
.btn--light::before { background: var(--black); }
.btn--light:hover { color: var(--white); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent::before { background: var(--black); }
.btn--dark   { background: var(--black); color: var(--white); }
.btn--dark::before { background: var(--accent); }
.btn--full { width: 100%; }

.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .3s; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* ---------- Barra de anuncios ---------- */
.announce { background: var(--black); color: var(--white); overflow: hidden; font-size: 11px; font-weight: 600; letter-spacing: .15em; }
.announce__track { display: flex; gap: 32px; width: max-content; padding: 10px 0; animation: marquee 30s linear infinite; }
.announce__track span:nth-child(even) { color: var(--accent); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad);
  color: var(--white);
  margin-bottom: calc(var(--header-h) * -1);
  transition: background .4s, color .4s, box-shadow .4s, transform .4s var(--ease);
}
.header.is-solid { background: rgba(245, 243, 239, .92); backdrop-filter: blur(12px); color: var(--black); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }

.logo { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); letter-spacing: .04em; justify-self: center; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.nav--right { justify-self: end; gap: 12px; }
.nav--right a { margin-right: 12px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__sale { color: var(--accent) !important; font-weight: 700; }

.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

.burger { display: none; flex-direction: column; gap: 6px; }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.burger.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger.is-open span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--pad);
  clip-path: circle(0% at 30px 30px);
  transition: clip-path .7s var(--ease);
}
.mobile-menu.is-open { clip-path: circle(150% at 30px 30px); }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(40px, 12vw, 72px); text-transform: uppercase; line-height: 1.1; opacity: 0; transform: translateY(30px); transition: .5s var(--ease); }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .08s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .16s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .24s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .32s; }
.mobile-menu__foot { position: absolute; bottom: 32px; font-size: 12px; color: var(--gray); letter-spacing: .1em; }

/* Buscador */
.search {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 20px var(--pad); background: var(--white);
  transform: translateY(-100%); transition: transform .5s var(--ease);
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
}
.search.is-open { transform: none; }
.search input { flex: 1; border: 0; border-bottom: 1px solid var(--black); background: none; font-size: clamp(20px, 3vw, 32px); padding: 8px 0; outline: none; font-family: var(--font-body); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); color: var(--white); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__slide img { transform: scale(1.15); filter: brightness(.72); object-position: center 25%; }
.hero__slide.is-active img { animation: kenburns 7s linear forwards; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, transparent 50%, rgba(0,0,0,.6) 100%); }

.hero__content { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(80px, 12vh, 140px); }
.hero__kicker { font-size: 13px; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 16px; opacity: 0; transform: translateY(20px); }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 14vw, 220px); line-height: .88; text-transform: uppercase; margin-bottom: 32px; }
.hero__title span { display: block; }
.hero__title span { clip-path: inset(0 0 100% 0); transform: translateY(40%); }
.hero__content .btn { opacity: 0; transform: translateY(20px); }

.hero__slide.is-active .hero__kicker,
.hero__slide.is-active .btn { animation: fadeUp .9s var(--ease) .5s forwards; }
.hero__slide.is-active .btn { animation-delay: 1s; }
.hero__slide.is-active .hero__title span { animation: lineUp 1s var(--ease) forwards; }
.hero__slide.is-active .hero__title span:nth-child(1) { animation-delay: .3s; }
.hero__slide.is-active .hero__title span:nth-child(2) { animation-delay: .45s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes lineUp { to { clip-path: inset(-30% -5% -15% -5%); transform: none; } }

.hero__progress { position: absolute; z-index: 3; right: var(--pad); bottom: 40px; display: flex; gap: 8px; }
.hero__progress button { width: 48px; height: 18px; position: relative; }
.hero__progress button::before, .hero__progress button i { content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 100%; background: rgba(255,255,255,.3); }
.hero__progress button i { background: var(--white); width: 0; }
.hero__progress button.is-active i { animation: progress var(--slide-time, 6s) linear forwards; }
.hero__progress button.is-done i { width: 100%; }
@keyframes progress { to { width: 100%; } }
.hero__counter { position: absolute; z-index: 3; left: var(--pad); bottom: 40px; font-size: 12px; letter-spacing: .2em; opacity: .8; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; padding-bottom: 40px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 32px; background: var(--white); transform-origin: top; animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-bottom: 1px solid var(--line); }
.perk { padding: 28px var(--pad); display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.perk:last-child { border-right: 0; }
.perk strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.perk span { font-size: 13px; color: var(--gray); }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(220px, 30vw, 420px); gap: 8px; padding: 8px; }
.cat { position: relative; overflow: hidden; color: var(--white); }
.cat--big { grid-column: span 2; grid-row: span 2; }
.cat--wide { grid-column: span 2; }
.cat--full { grid-column: 1 / -1; }
.cat img { transition: transform 1.2s var(--ease), filter .6s; filter: brightness(.8); }
.cat:hover img { transform: scale(1.08); filter: brightness(.6); }
.cat__label { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cat__label span { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 52px); text-transform: uppercase; line-height: 1; }
.cat__label em { font-style: normal; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; opacity: 0; transform: translateX(-12px); transition: .5s var(--ease); white-space: nowrap; }
.cat:hover .cat__label em { opacity: 1; transform: none; }

/* ---------- Encabezados de sección ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 7vw, 104px); line-height: .9; text-transform: uppercase; }

/* ---------- Productos ---------- */
.shop { padding: clamp(64px, 10vw, 120px) var(--pad); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; transition: .3s; }
.filter:hover { border-color: var(--black); }
.filter.is-active { background: var(--black); color: var(--white); border-color: var(--black); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
.card { position: relative; animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px); } }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #e6e2db; margin-bottom: 14px; }
.card__media img { position: absolute; inset: 0; transition: opacity .6s, transform 1.2s var(--ease); }
.card__media img + img { opacity: 0; }
.card:hover .card__media img:first-child { transform: scale(1.05); }
.card:hover .card__media img + img { opacity: 1; transform: scale(1.05); }

.badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { padding: 5px 10px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--white); color: var(--black); }
.badge--sale { background: var(--accent); color: #fff; }
.badge--hot  { background: var(--black); color: var(--white); }

.fav { position: absolute; z-index: 2; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform .3s; }
.fav svg { width: 18px; height: 18px; fill: none; stroke: var(--black); stroke-width: 1.6; transition: fill .3s; }
.fav:hover { transform: scale(1.1); }
.fav.is-on svg { fill: var(--accent); stroke: var(--accent); }

.quick { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; background: var(--white); padding: 12px; transform: translateY(calc(100% + 12px)); transition: transform .5s var(--ease); }
.card:hover .quick { transform: none; }
.quick p { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; text-align: center; }
.sizes { display: flex; gap: 6px; justify-content: center; }
.sizes button { flex: 1; max-width: 44px; height: 36px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; transition: .25s; }
.sizes button:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.sizes button.is-out { color: #bbb; text-decoration: line-through; cursor: not-allowed; background: transparent; border-color: var(--line); }

.card__info { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.card__name { font-weight: 500; }
.card__price { text-align: right; white-space: nowrap; font-weight: 600; }
.card__price s { display: block; font-weight: 400; color: var(--gray); font-size: 12px; }
.card__transfer { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; color: #1f8a4c; white-space: normal; line-height: 1.3; max-width: 120px; margin-left: auto; }
.card__transfer b { display: block; font-size: 13px; }
.cart__note b { color: #1f8a4c; }
.card__meta { font-size: 12px; color: var(--gray); margin-top: 4px; }
.card__stock { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 4px; }
.card__colors { display: flex; gap: 6px; margin-top: 8px; }
.card.is-soldout .card__media img { filter: grayscale(.8); opacity: .7; }
.card__colors i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }

/* ---------- Marquee grande ---------- */
.big-marquee { background: var(--black); color: var(--white); overflow: hidden; padding: clamp(24px, 4vw, 48px) 0; }
.big-marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 25s linear infinite; font-family: var(--font-display); font-size: clamp(60px, 12vw, 180px); line-height: 1; text-transform: uppercase; }
.big-marquee .outline { color: transparent; -webkit-text-stroke: 1.5px var(--white); }

/* ---------- Sale ---------- */
.sale { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 80vh; }
.sale__img { overflow: hidden; }
.sale__img img { min-height: 400px; }
.sale__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(48px, 7vw, 96px) var(--pad); background: #ebe7e0; }
.sale__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(52px, 7vw, 110px); line-height: .9; margin-bottom: 20px; }
.sale__title span { color: var(--accent); }
.sale__text { max-width: 420px; line-height: 1.6; color: #4b4944; margin-bottom: 32px; }
.countdown { display: flex; gap: 12px; margin-bottom: 36px; }
.countdown div { background: var(--black); color: var(--white); min-width: 72px; padding: 14px 10px; text-align: center; }
.countdown strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1; }
.countdown span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; opacity: .7; }

/* ---------- Lookbook ---------- */
.lookbook { padding: clamp(64px, 10vw, 120px) 0; }
.lookbook .section-head { padding: 0 var(--pad); }
.lookbook__arrows { display: flex; gap: 8px; }
.arrow { width: 52px; height: 52px; border: 1px solid var(--black); font-size: 20px; }
.arrow:hover { background: var(--black); color: var(--white); }
.lookbook__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; cursor: grab; }
.lookbook__track::-webkit-scrollbar { display: none; }
.lookbook__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.lookbook__track figure { flex: 0 0 clamp(260px, 30vw, 440px); scroll-snap-align: start; }
.lookbook__track figure > img { aspect-ratio: 3 / 4; height: auto; transition: transform 1s var(--ease); pointer-events: none; }
.lookbook__track figure { overflow: hidden; }
.lookbook__track figure:hover > img { transform: scale(1.04); }
.lookbook__track figcaption { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding-top: 12px; background: var(--white); position: relative; }

/* ---------- Reseñas ---------- */
.reviews { padding: 0 var(--pad) clamp(64px, 10vw, 120px); text-align: center; }
.reviews .section-title { margin-bottom: 48px; font-size: clamp(36px, 5vw, 72px); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.review { border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease), box-shadow .4s; }
.review:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.06); }
.stars { color: var(--accent); letter-spacing: 4px; }
.review p { font-size: 17px; line-height: 1.5; }
.review cite { font-style: normal; font-size: 13px; color: var(--gray); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--accent); color: #fff; padding: clamp(64px, 10vw, 120px) var(--pad); text-align: center; }
.newsletter h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 7vw, 100px); line-height: .92; margin-bottom: 20px; }
.newsletter p { max-width: 460px; margin: 0 auto 32px; line-height: 1.6; }
.newsletter__form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; flex-wrap: wrap; }
.newsletter__form input { flex: 1 1 220px; padding: 16px 24px; border-radius: 999px; border: 0; font: inherit; outline: none; }
.newsletter .btn--accent { background: var(--black); }
.newsletter .btn--accent::before { background: var(--white); }
.newsletter .btn--accent:hover { color: var(--black); }

/* ---------- Instagram ---------- */
.insta { padding: clamp(48px, 8vw, 96px) 0 0; }
.insta__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 0 var(--pad) 24px; }
.insta__head span { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); }
.insta__head a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid; }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.insta__grid a { aspect-ratio: 1; overflow: hidden; position: relative; }
.insta__grid img { transition: transform .8s var(--ease), filter .5s; }
.insta__grid a:hover img { transform: scale(1.1); filter: brightness(.7); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding: clamp(56px, 8vw, 96px) var(--pad) 28px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 64px; }
.footer__brand { font-family: var(--font-display); font-size: clamp(56px, 12vw, 160px); line-height: .85; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__cols h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; font-weight: 600; }
.footer__cols a { opacity: .85; transition: opacity .3s, color .3s; }
.footer__cols a:hover { opacity: 1; color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #2a2a2a; font-size: 12px; color: var(--gray); }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: .4s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(440px, 100%); background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .6s var(--ease);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; text-transform: uppercase; }
.cart__ship { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.cart__ship p { margin-bottom: 10px; }
.cart__ship strong { color: var(--accent); }
.cart__bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.cart__bar div { height: 100%; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.cart__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart__empty { text-align: center; padding: 64px 0; color: var(--gray); }
.cart__empty strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--black); margin-bottom: 8px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: cardIn .5s var(--ease); }
.cart-item img { aspect-ratio: 3/4; height: auto; }
.cart-item h5 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cart-item small { color: var(--gray); font-size: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 30px; height: 30px; }
.qty button:disabled { opacity: .25; cursor: not-allowed; }
.qty span { min-width: 24px; text-align: center; font-size: 13px; }
.cart-item__right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-weight: 600; font-size: 14px; }
.cart-item__remove { font-size: 11px; text-decoration: underline; color: var(--gray); font-weight: 400; }
.cart__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 4px; }
.btn.is-disabled { opacity: .4; pointer-events: none; }
.cart__secure { text-align: center; font-size: 12px; color: var(--gray); margin-top: 10px; }
.cart__note { font-size: 12px; color: var(--gray); margin-bottom: 16px; }

/* ---------- Popup ---------- */
.popup { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: .4s; }
.popup.is-open { opacity: 1; visibility: visible; }
.popup__box { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(760px, 100%); background: var(--white); transform: translateY(30px) scale(.97); transition: transform .6s var(--ease); }
.popup.is-open .popup__box { transform: none; }
.popup__close { position: absolute; top: 8px; right: 8px; z-index: 2; }
.popup__img { min-height: 420px; }
.popup__body { padding: 48px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.popup__body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 9vw, 96px); line-height: .9; }
.popup__body p { margin: 8px 0 20px; color: #4b4944; }
.code { padding: 14px 28px; border: 2px dashed var(--black); font-family: var(--font-display); font-size: 26px; letter-spacing: .1em; transition: .3s; }
.code:hover { background: var(--black); color: var(--white); }
.popup__body small { margin-top: 10px; color: var(--gray); font-size: 12px; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--black); color: var(--white); padding: 14px 24px; border-radius: 999px; font-size: 14px; transition: transform .5s var(--ease); white-space: nowrap; }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- WhatsApp ---------- */
.whatsapp { position: fixed; z-index: 40; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .3s; }
.whatsapp svg { width: 30px; height: 30px; }
.whatsapp:hover { transform: scale(1.1); }
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .perk:nth-child(2) { border-right: 0; }
  .perk:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .nav--left, .hide-sm { display: none; }
  .burger { display: flex; justify-self: start; z-index: 50; }
  .header.menu-open { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .cats { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .cat--big, .cat--wide, .cat--full { grid-column: span 2; grid-row: span 1; height: auto; }
  .sale { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .popup__box { grid-template-columns: 1fr; }
  .popup__img { min-height: 180px; max-height: 220px; }
  .popup__body { padding: 32px 24px; }
  .hero__scroll { display: none; }
  .hero__progress { right: auto; left: 50%; transform: translateX(-50%); }
  .hero__progress button { width: 32px; }
  /* En touch, mostrar talles siempre (no hay hover) */
  .quick { transform: none; left: 6px; right: 6px; bottom: 6px; padding: 6px; background: rgba(245, 243, 239, .92); }
  .quick p { display: none; }
  .sizes { gap: 4px; }
  .sizes button { height: 28px; font-size: 11px; }
}

@media (max-width: 480px) {
  .perk { padding: 20px 16px; }
  .perk strong { font-size: 18px; }
  .countdown div { min-width: 0; flex: 1; }
  .countdown strong { font-size: 28px; }
  .cat__label { left: 16px; right: 16px; bottom: 16px; }
  .card__info { flex-direction: column; gap: 4px; font-size: 13px; }
  .card__price { text-align: left; }
  .card__price s { display: inline; margin-left: 6px; }
  .card__transfer { margin-left: 0; max-width: none; }
  .card__transfer b { display: inline; margin-right: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   FICHA DE PRODUCTO
   ========================================================= */
.card__media { cursor: pointer; }
.card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-item h5 a:hover { text-decoration: underline; }

.pdp { padding: calc(var(--header-h) + 28px) var(--pad) 96px; animation: cardIn .6s var(--ease); }
.pdp__wrap { max-width: 1440px; margin: 0 auto; }
.pdp__crumbs { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); margin-bottom: 20px; }
.pdp__crumbs a:hover { color: var(--black); }
.pdp__crumbs span { color: var(--black); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

/* Galería: en compu, fotos grandes en 2 columnas */
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdp__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #e6e2db; cursor: zoom-in; padding: 0; }
.pdp__img img { transition: transform .8s var(--ease); }
.pdp__img:hover img { transform: scale(1.04); }
.pdp__img:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.pdp__dots { display: none; }

/* Info fija al costado */
.pdp__info { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pdp__badges:empty { display: none; }
.pdp__badges .badge { border: 1px solid var(--line); }
.pdp__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 60px); line-height: .95; text-transform: uppercase; margin-bottom: 14px; }
.pdp__price { font-size: 26px; font-weight: 700; display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.pdp__price s { font-size: 17px; font-weight: 400; color: var(--gray); }
.pdp__pay { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #4b4944; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pdp__pay:empty { display: none; }
.pdp__colors { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; }
.pdp__colors span { margin-right: 6px; }
.pdp__colors i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 2px var(--white); }
.pdp__sizes-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.pdp__guide { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--gray); }
.pdp__guide:hover { color: var(--black); }
.pdp__sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pdp-size { position: relative; min-width: 58px; height: 50px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; transition: border-color .2s, background .2s, color .2s; }
.pdp-size:hover:not(:disabled) { border-color: var(--black); }
.pdp-size.is-on { background: var(--black); color: var(--white); border-color: var(--black); }
.pdp-size.is-out { color: #bbb; background: transparent; text-decoration: line-through; cursor: not-allowed; }
.pdp-size small { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; padding: 1px 5px; white-space: nowrap; text-decoration: none; }
.pdp__sizes.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pdp__stock { font-size: 13px; font-weight: 600; color: var(--accent); margin: 6px 0 14px; }
.pdp__buy { display: flex; gap: 10px; margin-top: 18px; }
.pdp__qty { margin: 0; height: 54px; background: #fff; }
.pdp__qty button { width: 40px; height: 100%; font-size: 18px; }
.pdp__add { flex: 1; padding: 0 20px; height: 54px; }
.pdp__add:disabled { opacity: .45; cursor: not-allowed; }
.pdp__now { margin-top: 10px; height: 54px; }
.pdp__msg { min-height: 20px; font-size: 13px; color: #b42318; font-weight: 500; margin-top: 8px; }
.pdp__perks { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #4b4944; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 8px; }

.pdp-acc { border-top: 1px solid var(--line); }
.pdp-acc:last-of-type { border-bottom: 1px solid var(--line); }
.pdp-acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; }
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: "+"; font-size: 18px; font-weight: 400; transition: transform .3s var(--ease); }
.pdp-acc[open] summary::after { transform: rotate(45deg); }
.pdp-acc > div { padding: 0 0 18px; font-size: 14px; line-height: 1.7; color: #4b4944; display: flex; flex-direction: column; gap: 8px; }

.pdp__related { margin-top: clamp(64px, 9vw, 120px); }
.pdp__related .section-title { font-size: clamp(36px, 5vw, 72px); margin-bottom: 28px; }

/* ---------- Fotos en pantalla completa ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10, 10, 10, .94); display: grid; place-items: center; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox img { width: auto; height: auto; max-width: 92vw; max-height: 88vh; object-fit: contain; background: none; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; transition: background .2s; }
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next, .lightbox.is-single .lightbox__count { display: none; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; letter-spacing: .15em; }

@media (max-width: 1024px) {
  .pdp .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .pdp { padding-top: calc(var(--header-h) + 12px); }
  .pdp__grid { grid-template-columns: minmax(0, 1fr); }
  /* Galería: carrusel deslizable a pantalla completa */
  .pdp__media { margin: 0 calc(var(--pad) * -1); }
  .pdp__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__img, .pdp__img:first-child:nth-last-child(odd) { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .pdp__img:hover img { transform: none; }
  .pdp__dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
  .pdp__dots i { width: 6px; height: 6px; border-radius: 3px; background: #cfcac2; transition: width .3s var(--ease), background .3s; }
  .pdp__dots i.is-on { width: 20px; background: var(--black); }
  .pdp__info { position: static; }
  .pdp__crumbs { margin-bottom: 12px; }
  .lightbox__prev, .lightbox__next { display: none; }
}

/* =========================================================
   PÁGINAS DE AYUDA
   ========================================================= */
.help__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; max-width: 1100px; }
.help__nav { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 2px; }
.help__nav h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; }
.help__nav a { padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: background .2s; }
.help__nav a:hover { background: #ebe7e0; }
.help__nav a.is-on { background: var(--black); color: var(--white); }
.help__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: .95; text-transform: uppercase; margin-bottom: 28px; }
.help__text { font-size: 16px; line-height: 1.75; color: #33312d; max-width: 680px; }
.help__text p { margin-bottom: 14px; }
.help__text h3 { font-size: 15px; font-weight: 700; margin: 26px 0 8px; color: var(--black); }
.help__text h3:first-child { margin-top: 0; }
.help__text ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.help__text .pdp-acc summary { text-transform: none; letter-spacing: 0; font-size: 16px; }
.help__cta { margin-top: 40px; padding: 24px; border-radius: 14px; background: #ebe7e0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 680px; }
.help__cta p { font-weight: 600; }
@media (max-width: 820px) {
  .help__grid { grid-template-columns: 1fr; }
  .help__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .help__nav h4 { display: none; }
  .help__nav a { border: 1px solid var(--line); padding: 8px 12px; font-size: 13px; }
}
