:root {
  --hueso: #f3efe7; --hueso-2: #e9e3d7; --tinta: #121212; --gris: #77736b; --marino: #1b2232; --suela: #9a6a3c; --linea: rgba(18,18,18,.12); --linea-o: rgba(243,239,231,.16);
  --display: "Instrument Serif", "Times New Roman", serif; --sans: "Inter Tight", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--hueso); color: var(--tinta); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 1.5px solid var(--suela); outline-offset: 4px; }
::selection { background: var(--marino); color: var(--hueso); }
.envoltura { width: min(1360px, 100% - 48px); margin: 0 auto; }
.mini { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.display { font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.display em { font-style: italic; }
.gris { color: var(--gris); }
.oscuro { background: var(--tinta); color: var(--hueso); }
.oscuro .gris { color: #a19c92; }
.seccion { padding: clamp(100px, 13vw, 180px) 0; position: relative; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 32px; background: var(--tinta); color: var(--hueso); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; transition: background .35s, color .35s; }
.btn:hover { background: var(--suela); }
.btn.claro { background: var(--hueso); color: var(--tinta); }
.btn.claro:hover { background: var(--suela); color: var(--hueso); }
.btn.linea { background: transparent; box-shadow: inset 0 0 0 1px currentColor; color: inherit; }
.btn.linea:hover { background: currentColor; }
.btn.linea:hover span { color: var(--hueso); mix-blend-mode: difference; }
.subraya { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; transition: background-size .4s; }
.subraya:hover { background-size: 0 1px; background-position: 100% 100%; }

/* grano */
.pelicula { position: fixed; inset: -50%; z-index: 95; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grano 1s steps(6) infinite; }
@keyframes grano { 0% { transform: translate(0,0); } 25% { transform: translate(-5%,4%); } 50% { transform: translate(4%,-3%); } 75% { transform: translate(-3%,-5%); } 100% { transform: translate(0,0); } }

/* aviso superior */
.aviso { position: fixed; inset: 0 0 auto; z-index: 72; height: 34px; white-space: nowrap; background: var(--tinta); color: var(--hueso); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.aviso span { position: absolute; transition: transform .7s cubic-bezier(.7,0,.2,1), opacity .7s; }

/* nav */
.nav { position: fixed; top: 34px; left: 0; right: 0; z-index: 70; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px 36px; color: var(--hueso); transition: color .4s, padding .4s; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hueso); box-shadow: 0 1px 0 var(--linea); opacity: 0; transition: opacity .4s; }
.nav.solida { color: var(--tinta); padding-block: 14px; }
.nav.solida::before { opacity: 1; }
.nav .izq, .nav .der { display: flex; gap: 30px; align-items: center; }
.nav .der { justify-content: flex-end; }
.nav a.link { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; position: relative; }
.nav a.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s; }
.nav a.link:hover::after, .nav a.link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .marca { font-family: var(--display); font-size: 34px; letter-spacing: .32em; padding-left: .32em; line-height: 1; }
.nav .menu-btn { display: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.menu-movil { display: none; }
@media (max-width: 900px) {
  .aviso { font-size: 9.5px; letter-spacing: .1em; }
  .nav { padding: 16px 18px; grid-template-columns: auto 1fr auto; }
  .nav .izq a.link, .nav .der a.link:not(.bolsa) { display: none; }
  .nav .menu-btn { display: block; }
  .nav .marca { font-size: 24px; letter-spacing: .26em; }
  .menu-movil { display: flex; position: fixed; inset: 0; z-index: 69; background: var(--hueso); color: var(--tinta); flex-direction: column; justify-content: center; padding: 0 26px; transform: translateY(-100%); visibility: hidden; transition: transform .6s cubic-bezier(.7,0,.2,1), visibility 0s .6s; }
  .menu-movil a { font-family: var(--display); font-size: 52px; line-height: 1.2; }
  .nav.abierta { color: var(--tinta); }
  .nav.abierta + .menu-movil { transform: none; visibility: visible; transition: transform .6s cubic-bezier(.7,0,.2,1); }
}

/* aparición */
.sube { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.sube.visto { opacity: 1; transform: none; }
.letras .p { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.letras .p > span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.letras.visto .p > span { transform: none; }
.revela { position: relative; overflow: hidden; }
.revela::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--hueso); transform-origin: top; transition: transform 1.4s cubic-bezier(.7,0,.2,1); pointer-events: none; }
.oscuro .revela::after { background: var(--tinta); }
.revela.visto::after { transform: scaleY(0); }
.revela img { transform: scale(1.2); transition: transform 2.2s cubic-bezier(.2,.7,.2,1); }
.revela.visto img { transform: scale(1); }

/* prenda */
.prendas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 16px; }
.prenda { display: grid; gap: 12px; cursor: pointer; }
.prenda .foto { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--hueso-2); }
.prenda .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.prenda .foto img.b { opacity: 0; transform: scale(1.08); }
.prenda:hover .foto img.a { transform: scale(1.06); opacity: 0; }
.prenda:hover .foto img.b { opacity: 1; transform: scale(1); }
.prenda .rapido { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--hueso); color: var(--tinta); height: 44px; display: grid; place-items: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transform: translateY(140%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.prenda:hover .rapido { transform: none; }
.prenda .info { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.prenda .tela { color: var(--gris); font-size: 13px; margin-top: -8px; }
@media (max-width: 1000px) { .prendas { grid-template-columns: repeat(2, 1fr); } .prenda .rapido { transform: none; height: 38px; } }

/* ficha rápida */
.ficha-m { position: fixed; inset: 0; z-index: 92; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.ficha-m .caja { width: min(980px, 100%); max-height: 92vh; overflow: auto; background: var(--hueso); display: grid; grid-template-columns: 1fr 1fr; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1); }
.ficha-m.abierta { pointer-events: auto; }
.ficha-m.abierta .caja { opacity: 1; transform: none; }
.ficha-m .img { aspect-ratio: 3 / 4; background: var(--hueso-2); }
.ficha-m .img img { width: 100%; height: 100%; object-fit: cover; }
.ficha-m .txt { padding: 46px 40px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.ficha-m h3 { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; }
.ficha-m .talles { display: flex; flex-wrap: wrap; gap: 8px; }
.ficha-m .talles button { min-width: 52px; height: 44px; box-shadow: inset 0 0 0 1px var(--linea); font-size: 14px; }
.ficha-m .talles button[aria-pressed="true"] { background: var(--tinta); color: var(--hueso); }
.ficha-m .cerrar { position: absolute; top: 16px; right: 18px; font-size: 26px; }
@media (max-width: 760px) { .ficha-m .caja { grid-template-columns: 1fr; } .ficha-m .img { aspect-ratio: 4 / 3; } .ficha-m .txt { padding: 28px 24px; } }

/* pie */
.pie-sitio { background: var(--tinta); color: var(--hueso); padding: 110px 0 36px; }
.pie-sitio .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.pie-sitio h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; color: #a19c92; }
.pie-sitio li { list-style: none; margin-bottom: 10px; font-size: 15px; }
.pie-sitio li a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s; }
.pie-sitio li a:hover { background-size: 100% 1px; }
.pie-sitio form { display: flex; border-bottom: 1px solid var(--linea-o); margin-top: 20px; max-width: 420px; }
.pie-sitio input { flex: 1; background: transparent; border: 0; padding: 12px 0; outline: none; }
.pie-sitio .marca-xl { font-family: var(--display); font-size: clamp(70px, 17vw, 280px); letter-spacing: .14em; line-height: .8; margin-top: 90px; text-align: center; white-space: nowrap; }
.pie-sitio .legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--linea-o); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #a19c92; }
@media (max-width: 800px) { .pie-sitio .cols { grid-template-columns: 1fr 1fr; } .pie-sitio .cols > :first-child { grid-column: 1 / -1; } }

/* bolsa */
.panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); z-index: 93; background: var(--hueso); transform: translateX(105%); transition: transform .6s cubic-bezier(.7,0,.2,1); display: flex; flex-direction: column; }
.panel.abierto { transform: none; }
.panel header { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--linea); }
.panel header h3 { font-family: var(--display); font-weight: 400; font-size: 34px; }
.panel .lista { flex: 1; overflow: auto; padding: 4px 28px; }
.panel .item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linea); align-items: center; }
.panel .item img { width: 64px; height: 84px; object-fit: cover; }
.panel .item b { font-weight: 500; display: block; }
.panel .item small { color: var(--gris); }
.panel .cant { display: flex; align-items: center; gap: 10px; }
.panel .cant button { width: 28px; height: 28px; box-shadow: inset 0 0 0 1px var(--linea); }
.panel .vacio { color: var(--gris); padding: 30px 0; }
.panel footer { padding: 22px 28px 28px; border-top: 1px solid var(--linea); display: grid; gap: 14px; }
.panel .total { display: flex; justify-content: space-between; font-size: 18px; }
.velo-panel { position: fixed; inset: 0; z-index: 91; background: rgba(18,18,18,.45); opacity: 0; pointer-events: none; transition: opacity .5s; }
.velo-panel.abierto { opacity: 1; pointer-events: auto; }

/* portada interna */
.portada-int { padding: 200px 0 70px; border-bottom: 1px solid var(--linea); }
.portada-int h1 { font-size: clamp(64px, 11vw, 190px); }

@media (prefers-reduced-motion: reduce) {
  .sube, .letras .p > span, .revela::after, .revela img { transition: none !important; opacity: 1; transform: none !important; }
  .revela::after { display: none; }
  .pelicula { animation: none; }
}
