/* ==========================================================================
   JC — Prototipo de diseño (home)
   Sistema visual: blanco · negro · beige. Editorial, silencioso, preciso.
   Cada bloque <section> corresponde a una futura "section" de Shopify OS 2.0.
   ========================================================================== */

@font-face { font-family: "Coolvetica"; src: url("fonts/coolvetica-rg.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Coolvetica"; src: url("fonts/coolvetica-it.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  /* Color */
  --white: #ffffff;
  --ivory: #faf8f4;
  --sand: #efe8dd;
  --beige: #d6c6ad;
  --beige-deep: #b9a587;
  --stone: #8a8174;
  --ink: #141414;
  --black: #0a0a0a;
  --line: rgba(10, 10, 10, 0.12);
  --line-light: rgba(255, 255, 255, 0.22);

  /* Tipografía */
  /* Coolvetica en toda la página (Inter solo de respaldo para símbolos que no trae, como →) */
  --serif: "Coolvetica", "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: "Coolvetica", "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Ritmo */
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(88px, 12vw, 180px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: var(--beige); color: var(--black); }

/* --------------------------------------------------------------------------
   Tipografía utilitaria
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow--beige { color: var(--beige-deep); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
}
.display em { font-style: italic; font-weight: 300; }

.h-xl { font-size: clamp(52px, 9vw, 148px); }
.h-lg { font-size: clamp(40px, 6vw, 96px); }
.h-md { font-size: clamp(32px, 4vw, 60px); }
.h-sm { font-size: clamp(26px, 2.6vw, 38px); }

.lead { font-size: clamp(15px, 1.2vw, 17px); color: #4a4640; max-width: 46ch; }

.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 6px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0); transform-origin: left; }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 34px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn--light { background: var(--white); color: var(--black); }
.btn--light::before { background: var(--beige); }

.btn--ghost-light { border: 1px solid var(--line-light); color: var(--white); }
.btn--ghost-light::before { background: var(--white); }
.btn--ghost-light:hover { color: var(--black); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark::before { background: #2a2722; }

.btn--outline { border: 1px solid var(--black); color: var(--black); }
.btn--outline::before { background: var(--black); }
.btn--outline:hover { color: var(--white); }

.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Placeholders de imagen (reemplazar por fotografía / video real)
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.ph::before {
  /* luz de estudio */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 50% 38%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(40% 70% at 50% 100%, rgba(0, 0, 0, 0.10), transparent 70%);
}
.ph::after {
  /* grano analógico */
  content: "";
  position: absolute;
  inset: -50%;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
}
.ph[data-tone="dark"] { background: linear-gradient(160deg, #24221f 0%, #0b0b0b 70%); }
.ph[data-tone="dark"]::before {
  background:
    radial-gradient(45% 55% at 62% 40%, rgba(214, 198, 173, 0.22), transparent 70%),
    radial-gradient(70% 60% at 20% 100%, rgba(0, 0, 0, 0.6), transparent 70%);
}
.ph[data-tone="dark"]::after { mix-blend-mode: screen; opacity: 0.08; filter: invert(1); }
.ph[data-tone="stone"] { background: linear-gradient(170deg, #c9bba6 0%, #a8987f 100%); }
.ph[data-tone="beige"] { background: linear-gradient(170deg, #e6dccb 0%, #d2c2a8 100%); }
.ph[data-tone="light"] { background: linear-gradient(170deg, #f6f2ec 0%, #e9e2d6 100%); }
.ph[data-tone="mocha"] { background: linear-gradient(170deg, #6e5f50 0%, #463b31 100%); }

.ph__label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}
.ph[data-tone="dark"] .ph__label,
.ph[data-tone="mocha"] .ph__label { color: rgba(255, 255, 255, 0.38); }

/* Silueta abstracta para dar sensación de producto */
.ph__figure {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46%;
  height: 82%;
  transform: translateX(-50%);
  border-radius: 48% 48% 0 0 / 22% 22% 0 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.16), rgba(10, 10, 10, 0.05));
  filter: blur(0.3px);
  transition: transform 1.2s var(--ease);
}
.ph[data-tone="dark"] .ph__figure,
.ph[data-tone="mocha"] .ph__figure { background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)); }

/* --------------------------------------------------------------------------
   Barra de anuncios
   -------------------------------------------------------------------------- */
.announce {
  position: relative;
  z-index: 60;
  height: 36px;
  background: var(--black);
  color: var(--beige);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.announce__track { position: relative; height: 36px; width: 100%; }
.announce__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.announce__item.is-active { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--white);
  transition: background 0.6s var(--ease), color 0.6s var(--ease), top 0.5s var(--ease), transform 0.6s var(--ease);
}
.header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line-light);
  transition: background 0.6s var(--ease);
}
.header.is-solid,
.header.is-open { background: var(--white); color: var(--black); top: 0; }
.header.is-solid::after,
.header.is-open::after { background: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
/* Con el menú abierto la barra va por encima de la franja negra de anuncios
   (antes la franja tapaba el logo y el botón de cerrar) y nunca se esconde */
.header.is-open { z-index: 70; transform: none; }

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--gutter);
}
.header__nav { display: flex; gap: 30px; }
.header__nav a,
.header__nav button {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
}
.header__nav a::after,
.header__nav button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.header__nav a:hover::after,
.header__nav button:hover::after,
.header__nav button[aria-expanded="true"]::after { transform: scaleX(1); }

/* Logo JC: la máscara toma el color del texto (blanco sobre el hero, negro en header sólido) */
.logo {
  display: block;
  height: 30px;
  aspect-ratio: 1006 / 577;
  background: currentColor;
  -webkit-mask: url("brand/logo-jc.png") center / contain no-repeat;
  mask: url("brand/logo-jc.png") center / contain no-repeat;
  transition: background 0.6s var(--ease);
}
.logo--footer { height: 40px; color: var(--white); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.header__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.icon-btn { display: inline-flex; align-items: center; gap: 8px; }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--beige);
  color: var(--black);
  font-size: 10px;
  letter-spacing: 0;
}
.bag-count.bump { animation: bump 0.6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-toggle { display: none; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: currentColor; margin: 6px 0; transition: transform 0.4s var(--ease); }
.header.is-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.header.is-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Mega menú */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  color: var(--black);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  gap: 40px;
  padding: 44px var(--gutter) 56px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.header.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__col h4 { margin-bottom: 18px; color: var(--stone); }
.mega__col li + li { margin-top: 10px; }
.mega__col a { font-family: var(--serif); font-size: 22px; font-weight: 400; transition: color 0.3s; }
.mega__col a:hover { color: var(--beige-deep); }
.mega__feature .ph { aspect-ratio: 4 / 5; margin-bottom: 14px; }
.mega__feature p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__film { position: absolute; inset: -6% 0; height: 112%; background: #0b0a09; }
.hero__poster,
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__poster { transform: scale(1.06); filter: brightness(0.55); transition: transform 2.6s var(--ease), filter 2.6s var(--ease); }
.is-loaded .hero__poster { transform: none; filter: none; }
.hero__video { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
}
.hero__content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(40px, 8vh, 96px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.hero__title { font-size: clamp(42px, 6.4vw, 108px); line-height: 1; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__title .line > span { display: block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: 0.24s; }
.hero__eyebrow { margin-bottom: 28px; color: var(--beige); }
.hero__side { max-width: 320px; }
.hero__side p { color: rgba(255, 255, 255, 0.78); margin-bottom: 28px; font-size: 14px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-loaded .fade-up { opacity: 1; transform: none; transition-delay: 0.5s; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 1px;
  height: 56px;
  background: var(--line-light);
  overflow: hidden;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--white);
  animation: scrollcue 2.4s var(--ease) infinite;
}
@keyframes scrollcue { to { top: 100%; } }

/* --------------------------------------------------------------------------
   Marquee de valores
   -------------------------------------------------------------------------- */
.marquee {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 22px 0;
}
.marquee__track { display: inline-flex; animation: marquee 48s linear infinite; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.marquee__item::after { content: "✦"; color: var(--beige-deep); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Secciones genéricas
   -------------------------------------------------------------------------- */
.section { padding: var(--section) var(--gutter); }
.section--ivory { background: var(--ivory); }
.section--sand { background: var(--sand); }
.section--black { background: var(--black); color: var(--white); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .eyebrow { margin-bottom: 20px; display: block; }

/* Reveal al hacer scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.6s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }

/* --------------------------------------------------------------------------
   Intro / manifiesto
   -------------------------------------------------------------------------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
.intro__text { font-size: clamp(28px, 3.4vw, 54px); line-height: 1.12; }
.intro__text em { color: var(--beige-deep); }
.section--intro { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
#categorias { padding-top: clamp(64px, 8vw, 120px); }

/* --------------------------------------------------------------------------
   Categorías
   -------------------------------------------------------------------------- */
.cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.cat { position: relative; display: block; }
.cat .ph { aspect-ratio: 3 / 4.4; }
.cat:hover .ph__figure { transform: translateX(-50%) scale(1.04); }
.cat__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
}
.cat__name { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.cat__count { font-size: 11px; letter-spacing: 0.18em; color: var(--stone); text-transform: uppercase; }
.cat:nth-child(even) { margin-top: 64px; }

/* --------------------------------------------------------------------------
   Productos
   -------------------------------------------------------------------------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.chip:hover { border-color: var(--black); }
.chip.is-active { background: var(--black); color: var(--white); border-color: var(--black); }

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 14px;
}

.card { position: relative; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.card__media .ph { position: absolute; inset: 0; transition: opacity 0.8s var(--ease), transform 1.4s var(--ease); }
.card__media .ph--alt { opacity: 0; }
.card:hover .card__media .ph--alt { opacity: 1; }
.card:hover .card__media .ph:first-child { transform: scale(1.03); }

.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 6px 10px;
  background: var(--white);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.card__badge--beige { background: var(--beige); }

.card__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.card__wish svg { width: 18px; height: 18px; stroke: var(--black); fill: none; stroke-width: 1.2; transition: fill 0.3s; }
.card__wish.is-on svg { fill: var(--black); }

/* Quick add */
.quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px;
  transform: translateY(calc(100% + 12px));
  transition: transform 0.6s var(--ease);
}
.card:hover .quick,
.card.is-quick .quick { transform: none; }
.quick__label { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin-bottom: 10px; }
.quick__sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.size {
  height: 36px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.size:hover { border-color: var(--black); }
.size.is-picked { background: var(--black); color: var(--white); border-color: var(--black); }
.size[disabled] { color: #bbb; text-decoration: line-through; cursor: not-allowed; }
.size[disabled]:hover { border-color: var(--line); }

.quick-open {
  display: none;
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.card__info { padding-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.card__name { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }
.card__price { font-size: 13px; }
.card__sub { font-size: 12px; color: var(--stone); }
.swatches { display: flex; gap: 6px; padding-top: 10px; grid-column: 1 / -1; }
.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  outline: 1px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.3s;
}
.swatch.is-on,
.swatch:hover { outline-color: var(--black); }

.products-foot { display: flex; justify-content: center; margin-top: clamp(56px, 6vw, 88px); }

/* --------------------------------------------------------------------------
   Editorial · Shop the look
   -------------------------------------------------------------------------- */
.look {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
}
.look__media { position: relative; }
.look__media .ph { aspect-ratio: 4 / 5; }
.look__media .ph__figure { width: 40%; height: 86%; }

.hotspot {
  position: absolute;
  z-index: 4;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hotspot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  animation: pulse 2.4s var(--ease) infinite;
}
.hotspot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--white); position: relative; box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.35), 0 1px 6px rgba(10, 10, 10, 0.35); }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hotspot-card {
  position: absolute;
  z-index: 5;
  width: 240px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 12px;
  background: var(--white);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.hotspot-card.is-on { opacity: 1; visibility: visible; transform: none; }
.hotspot-card .ph { aspect-ratio: 3 / 4; }
.hotspot-card__name { font-size: 12px; font-weight: 500; }
.hotspot-card__price { font-size: 12px; color: var(--stone); margin: 2px 0 10px; }
.hotspot-card button { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid; padding-bottom: 2px; }

.look__list { margin: 36px 0 40px; border-top: 1px solid var(--line); }
.look__row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease);
}
.look__row:hover { padding-left: 8px; }
.look__row span:first-child { font-family: var(--serif); font-style: italic; color: var(--beige-deep); font-size: 18px; }
.look__row .name { font-size: 13px; font-weight: 500; }
.look__row .price { font-size: 13px; color: var(--stone); }
.look__row button { font-size: 18px; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; line-height: 1; transition: background 0.3s, color 0.3s; }
.look__row button:hover { background: var(--black); color: var(--white); }
.look__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; font-size: 13px; }
.look__total s { color: var(--stone); margin-right: 8px; }

/* --------------------------------------------------------------------------
   Tecnología / tejido
   -------------------------------------------------------------------------- */
.tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
}
.tech__sticky { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.tech__sticky .ph { aspect-ratio: 4 / 5; }
.tech__intro { margin-bottom: clamp(48px, 6vw, 96px); }
.tech__intro h2 { margin: 20px 0 24px; }
.tech__intro .lead { color: rgba(255, 255, 255, 0.62); }

.feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--line-light);
}
.feature__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--beige); }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; line-height: 1.1; }
.feature p { color: rgba(255, 255, 255, 0.62); max-width: 44ch; font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); margin-top: 16px; }
.stat { padding: 32px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stat strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4vw, 64px); line-height: 1; color: var(--beige); }
.stat span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* --------------------------------------------------------------------------
   Fit finder
   -------------------------------------------------------------------------- */
.finder {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.finder__steps { display: flex; gap: 8px; margin-bottom: 36px; }
.finder__steps i { flex: 1; height: 2px; background: rgba(10, 10, 10, 0.12); position: relative; overflow: hidden; }
.finder__steps i::after { content: ""; position: absolute; inset: 0; background: var(--black); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.finder__steps i.is-done::after { transform: scaleX(1); }

.finder__panel { display: none; }
.finder__panel.is-active { display: block; animation: panelIn 0.8s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.finder__q { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; margin-bottom: 28px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option {
  text-align: left;
  padding: 22px 22px 20px;
  border: 1px solid rgba(10, 10, 10, 0.16);
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.option:hover { border-color: var(--black); background: var(--white); }
.option strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 4px; }
.option span { font-size: 12px; color: var(--stone); }

.result { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.result .ph { aspect-ratio: 3 / 4; }
.result h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 10px 0 8px; }
.result p { font-size: 14px; color: #5a554d; margin-bottom: 20px; }
.result__sizes { display: flex; gap: 4px; margin-bottom: 14px; }
.result__sizes .size { width: 44px; }
.finder__restart { margin-top: 24px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); border-bottom: 1px solid; }

/* --------------------------------------------------------------------------
   Reseñas
   -------------------------------------------------------------------------- */
.reviews { text-align: center; }
.reviews__rating { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 40px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.stars { color: var(--beige-deep); letter-spacing: 0.2em; font-size: 13px; }
.quote-wrap { position: relative; min-height: 260px; max-width: 980px; margin: 0 auto; }
.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { margin: 0 0 28px; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.15; }
.quote cite { font-style: normal; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.quote cite span { color: var(--stone); }
/* Todas las reseñas en la misma celda: el bloque toma la altura de la más larga */
.quote-wrap { display: grid; min-height: 0; }
.quote-wrap > .quote { position: relative; inset: auto; grid-area: 1 / 1; }
.quote blockquote { font-size: clamp(24px, 3vw, 44px); }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.dots button { width: 28px; height: 2px; background: var(--line); transition: background 0.4s; }
.dots button.is-active { background: var(--black); }

.press {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: 48px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: 0.18em;
  color: #9a9286;
}

/* --------------------------------------------------------------------------
   Servicios (confianza para la conversión)
   -------------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service { padding: 40px 28px; }
.service + .service { border-left: 1px solid var(--line); }
.service svg { width: 26px; height: 26px; stroke: var(--black); fill: none; stroke-width: 1; margin-bottom: 18px; }
.service h4 { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }
.service p { font-size: 13px; color: var(--stone); }

/* --------------------------------------------------------------------------
   Club / newsletter
   -------------------------------------------------------------------------- */
.club { position: relative; min-height: 640px; display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; }
.club > .ph { position: absolute; inset: 0; }
.club__inner { position: relative; z-index: 2; max-width: 640px; padding: 0 var(--gutter); }
.club__inner .eyebrow { color: var(--beige); }
.club__inner h2 { margin: 22px 0 18px; }
.club__inner p { color: rgba(255, 255, 255, 0.7); margin: 0 auto 36px; max-width: 42ch; }
.club__form { display: flex; border-bottom: 1px solid rgba(255, 255, 255, 0.5); max-width: 460px; margin: 0 auto; }
.club__form input {
  flex: 1;
  min-width: 0;
  height: 54px;
  background: transparent;
  border: 0;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  outline: none;
}
.club__form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.club__form button { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--beige); }
.club__note { margin-top: 16px; font-size: 11px; color: rgba(255, 255, 255, 0.45); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--black); color: var(--white); padding: clamp(72px, 8vw, 120px) var(--gutter) 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; padding-bottom: 72px; }
.footer h4 { color: var(--beige); margin-bottom: 20px; }
.footer li + li { margin-top: 10px; }
.footer li a { font-size: 14px; color: rgba(255, 255, 255, 0.72); transition: color 0.3s; }
.footer li a:hover { color: var(--white); }
.footer__brand p { color: rgba(255, 255, 255, 0.55); max-width: 34ch; margin-top: 20px; font-size: 14px; }
.footer__wordmark {
  width: min(62vw, 620px);
  aspect-ratio: 1006 / 577;
  margin: 0 auto 56px;
  background: linear-gradient(180deg, rgba(214, 198, 173, 0.28), rgba(214, 198, 173, 0.06));
  -webkit-mask: url("brand/logo-jc.png") center / contain no-repeat;
  mask: url("brand/logo-jc.png") center / contain no-repeat;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.payments { display: flex; gap: 8px; }
.payments span { padding: 4px 8px; border: 1px solid var(--line-light); font-size: 9px; letter-spacing: 0.12em; }

/* --------------------------------------------------------------------------
   Drawer de bolsa (Shopify Cart API)
   -------------------------------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 10, 10, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.overlay.is-on { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(460px, 100%);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.8s var(--ease);
}
.drawer.is-on { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.drawer__close { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }

.ship { padding: 20px 28px; background: var(--ivory); font-size: 12px; }
.ship__bar { height: 2px; background: var(--line); margin-top: 12px; overflow: hidden; }
.ship__bar i { display: block; height: 100%; background: var(--black); transition: width 0.8s var(--ease); }

.drawer__body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.line-item { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-item .ph { aspect-ratio: 3 / 4; }
.line-item__top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 500; }
.line-item__meta { font-size: 12px; color: var(--stone); margin: 4px 0 14px; }
.line-item__ctrl { display: flex; justify-content: space-between; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 34px; }
.qty button { width: 32px; height: 100%; }
.qty span { min-width: 22px; text-align: center; font-size: 12px; }
.remove { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); border-bottom: 1px solid; }

.empty { text-align: center; padding: 72px 0; }
.empty p { font-family: var(--serif); font-size: 26px; margin-bottom: 24px; }

.upsell { padding: 24px 0; }
.upsell h4 { margin-bottom: 14px; color: var(--stone); }
.upsell__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; }
.upsell__item .ph { aspect-ratio: 3 / 4; }
.upsell__item p { font-size: 12px; }
.upsell__item p span { display: block; color: var(--stone); }
.upsell__item button { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; border-bottom: 1px solid; }

.drawer__foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.drawer__foot small { display: block; color: var(--stone); font-size: 12px; margin-bottom: 18px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translate(-50%, 20px);
  padding: 14px 22px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .menu-toggle { display: block; }
  .header__actions .label { display: none; }
  .mega { display: none; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat:nth-child(even) { margin-top: 40px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .service:nth-child(4) { border-top: 1px solid var(--line); }
  .press { grid-template-columns: repeat(3, 1fr); }
  .press span:nth-child(n + 4) { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .logo { height: 24px; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  /* Móvil: el video es horizontal, así que no llena la pantalla (se ampliaba ~2x y
     recortaba el logo). Ocupa una franja superior a su resolución real, con el JC
     completo, y se funde en negro hacia el texto. */
  .hero__media { background: #0b0a09; }
  .hero__film { inset: auto 0; top: var(--header-h); height: min(58svh, 112vw); }
  .hero__film::after {
    content: ""; position: absolute; inset: auto 0 0; height: 45%;
    background: linear-gradient(180deg, rgba(11, 10, 9, 0), #0b0a09);
  }
  .hero__poster, .hero__video { object-position: 56% 45%; }
  .intro,
  .look,
  .tech,
  .finder { grid-template-columns: 1fr; }
  .tech__sticky { position: relative; top: 0; }
  .section-head { flex-direction: column; align-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .quick-open { display: block; }
  .card:hover .quick { transform: translateY(calc(100% + 12px)); }
  .card.is-quick .quick { transform: none; }
  .card.is-quick .quick-open { display: none; }
}

@media (max-width: 560px) {
  .header__actions { gap: 16px; }
  .options { grid-template-columns: 1fr; }
  .result { grid-template-columns: 120px 1fr; gap: 18px; }
  .result h3 { font-size: 26px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .services { grid-template-columns: 1fr; }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); }
  .products { gap: 36px 10px; }
  .quick__sizes { grid-template-columns: repeat(5, 1fr); }
  .hotspot-card { width: 210px; }
}

/* Menú móvil */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 65; /* encima de la franja de anuncios, debajo de la barra */
  background: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.8s var(--ease);
}
.mobile-nav.is-on { transform: none; }
.mobile-nav ul a { display: block; font-family: var(--serif); font-size: 40px; line-height: 1.25; }
.mobile-nav__foot { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; }
}

/* Lema de marca en el footer */
.footer__brand .footer__tagline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.15;
  color: var(--white);
  max-width: 18ch;
  margin-top: 28px;
}
.footer__tagline em { color: var(--beige); }

@media (max-width: 560px) {
  .announce { font-size: 9px; letter-spacing: 0.16em; }
}

/* --------------------------------------------------------------------------
   Datos reales de la marca (Instagram @julicarrillo____)
   -------------------------------------------------------------------------- */
.service__link { border-bottom: 1px solid currentColor; color: var(--ink); }
.footer__brand .footer__store { color: rgba(255, 255, 255, 0.72); }
.footer__store .eyebrow { display: block; color: var(--beige); margin-bottom: 6px; }

.ig-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: 48px;
  border-top: 1px solid var(--line);
  color: var(--stone);
}
.ig-cta__handle { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); color: var(--ink); transition: color 0.3s; }
.ig-cta:hover .ig-cta__handle { color: var(--beige-deep); }

.wa-float {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 16px;
  background: var(--beige);
  color: var(--black);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.wa-float:hover { background: var(--white); }
.wa-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
@media (max-width: 560px) {
  .wa-float { width: 52px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}

/* --------------------------------------------------------------------------
   Shopify headless: fotos reales dentro de los marcos .ph, estado de carga
   -------------------------------------------------------------------------- */
.ph--img::before,
.ph--img::after { display: none; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.products-empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--stone); font-size: 13px; letter-spacing: 0.08em; }
.drawer.is-busy .drawer__body,
.drawer.is-busy .drawer__foot { opacity: 0.55; pointer-events: none; transition: opacity 0.2s; }
.chip[hidden] { display: none; }
.hotspot[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Página de producto
   -------------------------------------------------------------------------- */
body.is-pdp main > section:not(#pdp) { display: none; }
.header.is-light:not(.is-solid) { background: var(--white); color: var(--black); }
.header.is-light:not(.is-solid)::after { background: var(--line); }
.pdp { padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) var(--gutter) var(--section); }
.pdp__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.pdp__main { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.pdp__main > img, .pdp__main > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pdp__thumb { flex: 0 0 72px; aspect-ratio: 3 / 4; overflow: hidden; opacity: 0.55; outline: 1px solid transparent; outline-offset: 2px; transition: opacity 0.3s, outline-color 0.3s; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-on, .pdp__thumb:hover { opacity: 1; outline-color: var(--black); }
.pdp__info { position: sticky; top: calc(var(--header-h) + 32px); max-width: 480px; }
.pdp__crumbs { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); }
.pdp__crumbs a:hover { color: var(--black); }
.pdp__crumbs span { margin: 0 6px; }
.pdp__title { font-size: clamp(40px, 4.4vw, 68px); line-height: 1; margin: 18px 0 14px; }
.pdp__price { font-size: 17px; margin-bottom: 36px; }
.pdp__opt { margin-bottom: 28px; }
.pdp__label { display: flex; gap: 10px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 12px; }
.pdp__label span { color: var(--stone); }
.pdp__swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp__swatches .swatch { width: 26px; height: 26px; outline-offset: 3px; }
.pdp__sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
.pdp__sizes .size { height: 48px; font-size: 12px; }
.pdp__sizes.is-shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.pdp__add { height: 56px; }
.pdp__add[disabled] { opacity: 0.5; cursor: not-allowed; }
.pdp__wa { display: block; margin: 16px 0 40px; text-align: center; font-size: 12px; color: var(--stone); text-decoration: underline; text-underline-offset: 3px; }
.pdp__desc { border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; line-height: 1.75; color: #444; }
.pdp__desc p + p, .pdp__desc ul { margin-top: 12px; }
.pdp__desc ul { padding-left: 18px; list-style: disc; }
.pdp__acc { border-top: 1px solid var(--line); padding: 18px 0; }
.pdp__acc:last-of-type { border-bottom: 1px solid var(--line); }
.pdp__acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }
.pdp__acc summary::-webkit-details-marker { display: none; }
.pdp__acc summary::after { content: "+"; font-size: 16px; line-height: 1; }
.pdp__acc[open] summary::after { content: "−"; }
.pdp__acc p { margin-top: 12px; font-size: 13px; line-height: 1.7; color: #555; }
.pdp__related { margin-top: var(--section); }
.pdp__related h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.card__name a:hover, .look__row a.name:hover, .line-item__top a:hover, .hotspot-card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__media { cursor: pointer; }
@media (max-width: 860px) {
  .pdp { padding-top: var(--header-h); }
  .pdp__inner { grid-template-columns: 1fr; gap: 28px; }
  .pdp__gallery { margin: 0 calc(var(--gutter) * -1); }
  .pdp__thumbs { padding: 0 var(--gutter); }
  .pdp__info { position: static; max-width: none; }
  .pdp__title { font-size: 44px; }
}

/* --------------------------------------------------------------------------
   Catálogo: buscador + desplegables de filtro
   -------------------------------------------------------------------------- */
.refine {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: -16px;
}
.refine__search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 260px;
  max-width: 360px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.3s var(--ease);
}
.refine__search:focus-within { border-color: var(--black); }
.refine__search svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.refine__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  outline: none;
  color: var(--ink);
}
.refine__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.refine__search input::placeholder { color: var(--stone); }
.refine__drops { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.drop { position: relative; }
.drop[hidden] { display: none; }
.drop__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.3s var(--ease);
}
.drop__btn:hover, .drop.is-open .drop__btn { background: var(--sand); }
.drop__btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.3s var(--ease); }
.drop.is-open .drop__btn svg { transform: rotate(180deg); }
.drop__val { letter-spacing: 0.08em; text-transform: none; color: var(--stone); font-weight: 400; }
.drop__val:empty { display: none; }
.drop__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0;
}
.drop__count:empty { display: none; }
.drop__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 230px;
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(10, 10, 10, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.drop.is-open .drop__panel { opacity: 1; visibility: visible; transform: none; }
.drop[data-drop="size"] .drop__panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; min-width: 220px; }
.drop__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 13px;
  text-align: left;
  transition: background 0.2s;
}
.drop__opt:hover { background: var(--ivory); }
.drop__check {
  width: 16px;
  height: 16px;
  flex: none;
  border: 1px solid var(--beige-deep);
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
}
.drop__opt--radio .drop__check { border-radius: 50%; }
.drop__opt.is-on .drop__check { background: var(--black); border-color: var(--black); box-shadow: inset 0 0 0 3px var(--white); }
.drop__dot { width: 18px; height: 18px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.15); }
.drop__opt.is-on .drop__dot { box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--black); }
.drop__opt.is-on { font-weight: 500; }
/* Tallas como botones */
.drop[data-drop="size"] .drop__opt { justify-content: center; border: 1px solid var(--line); padding: 10px 6px; }
.drop[data-drop="size"] .drop__check { display: none; }
.drop[data-drop="size"] .drop__opt.is-on { background: var(--black); color: var(--white); border-color: var(--black); }
.refine__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 52px;
  padding: 10px 0 28px;
}
.refine__count { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.refine__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.refine__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px 0 14px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 12px;
}
.refine__tag span { font-size: 15px; line-height: 1; color: var(--stone); }
.refine__tag:hover span { color: var(--black); }
.refine__clear { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--stone); }
.refine__clear:hover { color: var(--black); }
.refine__clear[hidden] { display: none; }

@media (max-width: 860px) {
  .refine { flex-direction: column; align-items: stretch; gap: 10px; }
  .refine__search { max-width: none; flex-basis: auto; }
  .refine__drops { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
  .drop { position: static; }
  .drop__btn { width: 100%; justify-content: space-between; padding: 0 16px; border: 1px solid var(--line); }
  .drop__btn svg { margin-left: auto; }
  .drop__panel { left: 0; right: 0; min-width: 0; }
  .drop[data-drop="size"] .drop__panel { grid-template-columns: repeat(4, 1fr); }
  .drop[data-drop="color"] .drop__panel { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Catálogo como página aparte (/catalogo) */
body:not(.is-catalog) #catalogo { display: none; }
body.is-catalog main > section:not(#catalogo) { display: none; }
body.is-catalog #catalogo { padding-top: calc(var(--header-h) + clamp(16px, 2vw, 32px)); min-height: 80vh; }
#catalogMore[hidden] { display: none; }
@media (max-width: 860px) {
  body.is-catalog #catalogo { padding-top: calc(var(--header-h) + 4px); }
}

/* "JC" dentro de los textos se muestra con el logo (toma el color del texto) */
.jc-mark {
  display: inline-block;
  height: 0.72em;
  aspect-ratio: 1006 / 577;
  vertical-align: baseline;
  background: currentColor;
  -webkit-mask: url("brand/logo-jc.png") center / contain no-repeat;
  mask: url("brand/logo-jc.png") center / contain no-repeat;
}

/* Flechas de la galería del producto */
.pdp__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--black);
  box-shadow: 0 4px 18px rgba(10, 10, 10, 0.12);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.pdp__arrow:hover { background: var(--white); transform: scale(1.06); }
.pdp__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pdp__arrow--prev { left: 14px; }
.pdp__arrow--next { right: 14px; }
.pdp__count {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  letter-spacing: 0.12em;
}
@media (max-width: 860px) {
  .pdp__arrow { width: 38px; height: 38px; margin-top: -19px; }
  .pdp__arrow--prev { left: 10px; }
  .pdp__arrow--next { right: 10px; }
}

/* Enlaces aún no disponibles (p. ej. tarjeta regalo) */
a.is-soon { opacity: 0.55; cursor: default; }
a.is-soon::after { content: "Próximamente"; margin-left: 8px; font-family: var(--sans); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; vertical-align: middle; }

/* Ventanas de información (Envíos, Cambios y devoluciones) */
.info-modal {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 40px 36px 34px;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(10, 10, 10, 0.25);
  font-size: 15px;
  line-height: 1.6;
}
.info-modal::backdrop { background: rgba(10, 10, 10, 0.45); backdrop-filter: blur(3px); }
.info-modal[open] { animation: modal-in 0.35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.info-modal .eyebrow { display: block; margin-bottom: 12px; }
.info-modal h3 { font-size: 32px; margin-bottom: 18px; }
.info-modal p + p { margin-top: 10px; }
.info-modal ul { margin: 14px 0 0; padding-left: 18px; list-style: disc; }
.info-modal li + li { margin-top: 6px; }
.info-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s;
}
.info-modal__close:hover { background: var(--sand); }
.info-modal__cta { margin-top: 24px; width: 100%; justify-content: center; }
.info-modal h3:focus { outline: none; }
.info-modal__note { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid rgba(10,10,10,.1); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Pie de página en celular: Comprar, Ayuda y Casa JC en una sola fila */
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
  .footer h4 { font-size: 10px; letter-spacing: 0.16em; margin-bottom: 16px; }
  .footer li + li { margin-top: 12px; }
  .footer li a { font-size: 13px; line-height: 1.35; display: inline-block; }
  .footer a.is-soon::after { display: block; margin: 3px 0 0; }
  .footer__brand { text-align: center; }
  .footer__brand > a, .footer__brand > img, .footer__brand .logo { display: inline-block; }
  .footer__brand p { margin-left: auto; margin-right: auto; max-width: none; }
  .footer__brand .footer__tagline { max-width: none; }
}
