:root {
  --verde: #044E33;
  --verde-2: #02301f;
  --lima: #CEE85D;
  --rosa: #FFA3D6;
  --naranja: #E2501C;
  --vino: #7D1D24;
  --crema: #F2EDE3;
  --bg: #F7F4EC;
  --card: #FFFFFF;
  --ink: #12261C;
  --muted: #5B6B61;
  --line: #E2DDD0;
  --radius: 18px;
  --display: "Archivo", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { background: var(--verde); color: var(--crema); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 170px; height: auto; }
.brand-tag {
  font: 800 12px/1 var(--display); font-stretch: 110%; letter-spacing: .08em; text-transform: uppercase;
  background: var(--lima); color: var(--verde); padding: 5px 8px; border-radius: 999px;
}
.cart-btn {
  display: flex; align-items: center; gap: 8px; background: transparent; color: var(--crema);
  border: 1.5px solid rgba(242, 237, 227, .35); border-radius: 999px; padding: 8px 14px; font-weight: 600;
}
.cart-btn:hover { border-color: var(--lima); }
.badge {
  background: var(--rosa); color: var(--verde); border-radius: 999px; min-width: 22px; height: 22px;
  display: grid; place-items: center; font-size: 12px; padding: 0 6px;
}

/* Hero */
.hero { background: var(--verde); color: var(--crema); overflow: hidden; }
.hero-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 26px; }
.hero h1 {
  font: 900 clamp(30px, 6vw, 56px)/.95 var(--display); font-stretch: 125%;
  margin: 0 0 12px; color: var(--lima); text-transform: uppercase; letter-spacing: -.01em;
}
.hero p { margin: 0; max-width: 52ch; color: rgba(242, 237, 227, .86); }
.hero-art { width: 200px; height: auto; transform: rotate(-6deg); flex-shrink: 0; }

/* Studio layout */
.studio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 48px; align-items: start; }
.stage-col { position: sticky; top: 84px; }
.stage-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 16px; }
.stage {
  aspect-ratio: 1; border-radius: 16px;
  background: radial-gradient(120% 90% at 50% 20%, #FFFFFF 0%, #EFEBE1 70%, #E6E0D2 100%);
  touch-action: none; user-select: none;
}
.stage svg { width: 100%; height: 100%; display: block; }
.stage .zona { fill: none; stroke: var(--verde); stroke-width: 1.5; stroke-dasharray: 6 6; opacity: 0; transition: opacity .2s; pointer-events: none; }
.stage:hover .zona, .stage.dragging .zona { opacity: .45; }
.stage image.drag { cursor: grab; }
.stage.dragging image.drag { cursor: grabbing; }
.stage-hint { margin: 12px 4px 0; font-size: 14px; color: var(--muted); text-align: center; }
.warn { margin: 8px 4px 0; font-size: 14px; color: var(--vino); background: #FBE6EA; border-radius: 10px; padding: 8px 12px; }

/* Panel */
.panel { display: grid; gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 800 17px/1.2 var(--display); font-stretch: 112%; }
.n { width: 26px; height: 26px; border-radius: 50%; background: var(--verde); color: var(--lima); display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.prod {
  background: var(--bg); border: 2px solid transparent; border-radius: 14px; padding: 8px 6px 10px;
  display: grid; justify-items: center; gap: 2px; text-align: center;
}
.prod svg { width: 64px; height: 64px; }
.prod b { font-size: 14px; }
.prod small { color: var(--muted); font-size: 12px; }
.prod:hover { border-color: var(--line); }
.prod[aria-checked="true"] { border-color: var(--verde); background: #EEF5E0; }

.opt + .opt { margin-top: 14px; }
.lbl { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.lbl b { color: var(--ink); font-weight: 600; }

.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 8px 14px; text-align: left; line-height: 1.25;
}
.seg button small { display: block; color: var(--muted); font-size: 12px; }
.seg button[aria-checked="true"] { border-color: var(--verde); background: var(--verde); color: var(--crema); }
.seg button[aria-checked="true"] small { color: var(--lima); }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--card); padding: 0;
  box-shadow: 0 0 0 1.5px var(--line); position: relative; overflow: hidden;
}
.sw:hover { box-shadow: 0 0 0 1.5px var(--muted); }
.sw[aria-checked="true"] { box-shadow: 0 0 0 3px var(--verde); }
.sw i { position: absolute; inset: 0; }
.sw i + i { clip-path: polygon(100% 0, 100% 100%, 0 100%); }

.tabs { display: flex; gap: 6px; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.tab { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 8px; font-weight: 600; color: var(--muted); }
.tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; max-height: 340px; overflow: auto; padding: 2px; }
.dz {
  border: 2px solid transparent; border-radius: 14px; padding: 8px; aspect-ratio: 1;
  display: grid; grid-template-rows: 1fr auto; gap: 4px; justify-items: center; align-items: center;
  background: #EAE5D8;
}
.dz.dark { background: var(--verde); color: var(--crema); }
.dz img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }
.dz span { font-size: 11px; line-height: 1.2; text-align: center; font-weight: 600; }
.dz:hover { border-color: var(--line); }
.dz[aria-checked="true"] { border-color: var(--naranja); }

.range-row { display: flex; gap: 12px; align-items: center; }
input[type="range"] { flex: 1; accent-color: var(--verde); height: 28px; }
.ghost-btn { border: 1.5px solid var(--line); background: var(--card); border-radius: 10px; padding: 7px 12px; font-size: 14px; font-weight: 600; }
.ghost-btn:hover { border-color: var(--verde); }

.buy { display: flex; gap: 12px; align-items: stretch; position: sticky; bottom: 12px; z-index: 5; }
.qty { display: flex; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.qty button { width: 44px; height: 100%; min-height: 52px; border: 0; background: transparent; font-size: 22px; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; }
.cta {
  flex: 1; border: 0; border-radius: 14px; background: var(--naranja); color: #fff; min-height: 52px;
  font: 800 16px/1 var(--display); font-stretch: 110%; letter-spacing: .01em; padding: 0 18px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 6px 18px rgba(226, 80, 28, .3);
}
.cta:hover { filter: brightness(1.06); }
.cta:disabled { opacity: .5; cursor: not-allowed; }

.foot { padding: 28px 0 40px; color: var(--muted); font-size: 14px; text-align: center; }

/* Cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(2, 48, 31, .45); z-index: 40; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); z-index: 50;
  display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(0,0,0,.15);
}
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: var(--verde); color: var(--crema); }
.cart-head h2 { margin: 0; font: 900 20px/1 var(--display); font-stretch: 120%; text-transform: uppercase; color: var(--lima); }
.x { border: 0; background: transparent; color: var(--crema); font-size: 30px; line-height: 1; width: 40px; height: 40px; }
.cart-body { flex: 1; overflow: auto; padding: 12px 16px; display: grid; gap: 10px; align-content: start; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.empty img { width: 120px; margin: 0 auto 12px; }
.item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; align-items: center; }
.item .thumb { width: 76px; height: 76px; border-radius: 10px; background: #EFEBE1; }
.item .thumb svg { width: 100%; height: 100%; }
.item h3 { margin: 0; font-size: 15px; }
.item p { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.35; }
.item .side { display: grid; justify-items: end; gap: 6px; }
.item .side b { font-size: 15px; }
.mini-qty { display: flex; align-items: center; gap: 4px; }
.mini-qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); line-height: 1; }
.mini-qty span { min-width: 18px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-foot { padding: 14px 16px 18px; border-top: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; }
.total { display: flex; justify-content: space-between; font-size: 18px; }
.cart-foot label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.cart-foot input, .cart-foot textarea {
  font: inherit; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--bg); resize: vertical;
}
.cart-foot input:focus, .cart-foot textarea:focus { outline: none; border-color: var(--verde); }
.cta.wa { background: #1FA855; box-shadow: none; }

.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 60;
  background: var(--verde); color: var(--crema); padding: 12px 18px; border-radius: 12px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); max-width: calc(100% - 32px);
}

:focus-visible { outline: 3px solid var(--naranja); outline-offset: 2px; }

@media (max-width: 860px) {
  .studio { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  .stage-col { position: static; }
  .stage-card { padding: 10px; }
  .hero-art { width: 120px; }
  .hero-in { padding-bottom: 20px; }
}
@media (max-width: 520px) {
  .brand img { width: 130px; }
  .cart-btn span { display: none; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .hero-art { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .prod, .sw, .dz, .seg button, .tab { transition: border-color .15s, background-color .15s, box-shadow .15s; }
}

/* ---------- Navegación entre secciones ---------- */
.top-in { gap: 16px; }
.nav { display: flex; gap: 4px; margin-right: auto; margin-left: 12px; }
.nav a {
  color: rgba(242, 237, 227, .78); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 7px 12px; border-radius: 999px;
}
.nav a:hover { color: var(--crema); background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: var(--verde); background: var(--lima); }
.hero-link {
  display: inline-block; margin-top: 14px; color: var(--lima); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid rgba(206, 232, 93, .5); padding-bottom: 2px;
}
.hero-link:hover { border-bottom-color: var(--lima); }

/* ---------- Diseñador de camisetas ---------- */
.stage.tee { aspect-ratio: 1000 / 856; }
.views { margin-bottom: 12px; }
.views button { flex: 1; text-align: center; font-weight: 600; }
.views button small { display: inline; font-size: 13px; }
.stage .sel rect { fill: none; stroke: var(--naranja); stroke-width: 2.5; stroke-dasharray: 8 6; pointer-events: none; }
.stage .sel line { stroke: var(--naranja); stroke-width: 2.5; pointer-events: none; }
.stage .sel .h { fill: #fff; stroke: var(--naranja); stroke-width: 4; }
.stage .sel .rot { cursor: grab; }
.stage .sel .scl { cursor: nwse-resize; }
.stage:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }

.toolbar { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 4px; }
.tb-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.tb-head b { font: 800 16px/1.2 var(--display); font-stretch: 110%; }
.tb-actions { display: flex; gap: 6px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card);
  display: grid; place-items: center; padding: 0; font-size: 20px; line-height: 1;
}
.icon-btn:hover { border-color: var(--verde); }
.icon-btn.danger:hover { border-color: var(--vino); color: var(--vino); }
.tb-ranges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.tb-ranges .lbl { margin: 0; }
.tb-ranges input { width: 100%; display: block; }

.note { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.note.center { text-align: center; margin: 0; }
.tallas button { min-width: 54px; text-align: center; }

.dz { position: relative; }
.dz .plus {
  position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--naranja); color: #fff; font: 700 16px/22px var(--display); font-style: normal; text-align: center;
  opacity: 0; transition: opacity .15s;
}
.dz:hover .plus, .dz:focus-visible .plus { opacity: 1; }
@media (hover: none) { .dz .plus { opacity: 1; } }

.layers { display: grid; gap: 8px; }
.layer { display: flex; align-items: center; gap: 8px; }
.layer-pick {
  flex: 1; display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0;
  border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 6px 10px;
}
.layer-pick img { width: 42px; height: 42px; object-fit: contain; background: #E3DED1; border-radius: 8px; padding: 3px; flex-shrink: 0; }
.layer-pick span { display: grid; min-width: 0; }
.layer-pick b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.layer-pick small { font-size: 12px; color: var(--muted); }
.layer.on .layer-pick { border-color: var(--naranja); background: #FFF3EC; }

@media (max-width: 720px) {
  .nav { margin-left: 4px; }
  .nav a { padding: 6px 9px; font-size: 14px; }
  .brand-tag { display: none; }
}
@media (max-width: 420px) {
  .brand img { width: 104px; }
  .tb-ranges { grid-template-columns: 1fr; gap: 6px; }
}

/* =====================================================================
 * ARMARIO (armario.html)
 * =================================================================== */
.closet-wrap { padding-top: 36px; padding-bottom: 56px; overflow-x: clip; }
.armario {
  --madera: #8B5A34; --madera-2: #6E4425; --madera-3: #A8724A;
  position: relative; max-width: 1120px; margin: 0 auto; perspective: 1800px;
  padding: 0 18px 18px; border-radius: 18px 18px 10px 10px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, var(--madera-3), var(--madera) 40%, var(--madera-2));
  box-shadow: 0 30px 60px rgba(40, 24, 10, .35), inset 0 2px 0 rgba(255,255,255,.18);
}
.corona { height: 58px; display: grid; place-items: center; }
.corona img {
  width: 150px; height: auto; padding: 7px 14px; border-radius: 8px; box-sizing: content-box;
  background: var(--verde); box-shadow: inset 0 0 0 2px #C9A45C, 0 3px 6px rgba(0,0,0,.35);
}
.interior {
  position: relative; border-radius: 8px; overflow: hidden; padding-top: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 3px, transparent 3px 14px),
    linear-gradient(180deg, #2B1D13, #3A281B 55%, #2A1C12);
  box-shadow: inset 0 0 70px rgba(0,0,0,.7), inset 0 22px 30px rgba(0,0,0,.55);
}
.luz {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 34% at 50% 0%, rgba(255, 214, 150, .32), transparent 70%),
              radial-gradient(60% 30% at 50% 52%, rgba(255, 214, 150, .14), transparent 70%);
}
.rail { position: relative; z-index: 1; overflow-x: auto; overflow-y: hidden; padding: 0 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.rail .rod { display: none; }
.rack { position: relative; }
.rack::before {
  content: ""; position: absolute; left: -12px; right: -12px; top: 21px; height: 10px; border-radius: 6px; z-index: 0;
  background: linear-gradient(180deg, #F4F4F4, #A9A9A9 45%, #6B6B6B 55%, #C9C9C9);
  box-shadow: 0 4px 6px rgba(0,0,0,.5);
}
.slot { position: absolute; left: 0; top: 0; transition: translate .55s cubic-bezier(.3, .75, .2, 1); }
.slot:hover { z-index: 40 !important; }
.slot.sel { z-index: 50 !important; }
.colgada { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.colgada:focus-visible { outline: 3px solid var(--lima); outline-offset: -4px; border-radius: 14px; }
.prenda {
  display: block; transform-origin: 53% 4%;
  transition: scale .45s cubic-bezier(.3,.75,.2,1), translate .35s ease, filter .4s ease;
  filter: drop-shadow(-10px 8px 12px rgba(0,0,0,.5));
}
.prenda svg { width: 100%; height: auto; display: block; }
.slot:hover .prenda { translate: 0 -6px; }
.rack.has-sel .slot:not(.sel) .prenda { filter: drop-shadow(-10px 8px 12px rgba(0,0,0,.5)) brightness(.55) saturate(.8); }
.rack.has-sel .slot:not(.sel):hover .prenda { filter: drop-shadow(-10px 8px 12px rgba(0,0,0,.5)) brightness(.85); }
.slot.sel .prenda { scale: 1.07; translate: 0 -4px; filter: drop-shadow(0 26px 28px rgba(0,0,0,.6)) brightness(1.05); }
.etiqueta {
  position: absolute; left: 50%; bottom: 3%; translate: -50% 6px; opacity: 0; pointer-events: none;
  background: var(--crema); color: var(--ink); border-radius: 8px; padding: 5px 10px 6px; text-align: center;
  font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 6px 14px rgba(0,0,0,.35);
  transition: opacity .25s, translate .25s;
}
.etiqueta b { display: block; font: 800 12px/1.2 var(--display); font-stretch: 105%; color: var(--verde); }
.slot:hover .etiqueta, .slot.sel .etiqueta, .colgada:focus-visible .etiqueta { opacity: 1; translate: -50% 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .colgada:hover .prenda { animation: mecer 1.5s ease-in-out; }
}
@keyframes mecer { 0% { rotate: 0deg; } 25% { rotate: 2.4deg; } 60% { rotate: -1.6deg; } 100% { rotate: 0deg; } }

.repisa {
  position: relative; z-index: 2; height: 16px; margin: 0 0 6px;
  background: linear-gradient(180deg, var(--madera-3), var(--madera) 60%, var(--madera-2));
  box-shadow: 0 10px 16px rgba(0,0,0,.55);
}
.piso { position: relative; z-index: 2; height: 20px; background: linear-gradient(180deg, #23170F, #3A281B); }

.puerta {
  position: absolute; top: 58px; bottom: 18px; width: calc(50% - 18px); z-index: 5; pointer-events: none;
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, var(--madera-3), var(--madera) 50%, var(--madera-2));
  box-shadow: inset 0 0 0 10px rgba(0,0,0,.08), inset 0 0 0 12px rgba(255,255,255,.08), 0 0 20px rgba(0,0,0,.35);
  transition: transform 1.3s cubic-bezier(.6, .05, .25, 1) .25s;
}
.puerta i {
  position: absolute; top: 50%; width: 10px; height: 50px; margin-top: -25px; border-radius: 6px;
  background: linear-gradient(90deg, #8C6A2C, #E6C877, #8C6A2C); box-shadow: 0 2px 4px rgba(0,0,0,.4);
}
.puerta.izq { left: 18px; transform-origin: left center; }
.puerta.der { right: 18px; transform-origin: right center; }
.puerta.izq i { right: 18px; }
.puerta.der i { left: 18px; }
.armario.abierto .puerta.izq { transform: rotateY(-100deg); }
.armario.abierto .puerta.der { transform: rotateY(100deg); }
@media (prefers-reduced-motion: reduce) {
  .puerta, .slot, .prenda { transition: none; }
}
.closet-hint { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.closet-hint .t-touch { display: none; }
@media (max-width: 860px) { .closet-hint .t-touch { display: inline; } }

/* ---------- Vitrina ---------- */
.vitrina { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: 16px; }
.v-scrim { position: absolute; inset: 0; background: rgba(24, 16, 10, .68); backdrop-filter: blur(3px); }
.v-card {
  position: relative; width: min(1000px, 100%); max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--bg); border-radius: 24px; display: grid; grid-template-columns: 1.15fr 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.v-stage {
  position: relative; display: grid; align-content: center; gap: 12px; padding: 22px 56px; min-height: 440px;
  background: radial-gradient(90% 80% at 50% 30%, #FFFFFF, #ECE6D9 80%);
}
.v-views { justify-self: center; }
.v-views button { min-width: 96px; text-align: center; font-weight: 600; }
.v-tee { will-change: transform; }
.v-tee svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 22px rgba(0,0,0,.18)); }
.v-nav {
  position: absolute; top: 50%; margin-top: -21px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--card); box-shadow: 0 4px 12px rgba(0,0,0,.15); font-size: 26px; line-height: 1; color: var(--verde);
}
.v-nav:hover { background: var(--lima); }
.v-nav.prev { left: 10px; }
.v-nav.next { right: 10px; }
.v-close { position: absolute; top: 10px; right: 10px; z-index: 3; color: var(--ink); background: var(--card); border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.v-info { padding: 30px 26px 24px; display: grid; gap: 10px; align-content: start; }
.v-num { margin: 0; font: 700 13px/1 var(--display); letter-spacing: .12em; color: var(--muted); }
.v-info h2 { margin: 0; font: 900 34px/1 var(--display); font-stretch: 125%; text-transform: uppercase; color: var(--verde); padding-right: 36px; }
.v-desc { margin: 0; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { background: #EEF5E0; color: var(--verde); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.v-price { margin: 4px 0; font: 900 30px/1 var(--display); font-stretch: 110%; }
.v-info .lbl { margin: 4px 0 0; }
.v-buy { position: static; margin-top: 6px; }
.v-custom { display: block; text-align: center; text-decoration: none; color: var(--ink); padding: 12px; }
@media (max-width: 760px) {
  .v-card { grid-template-columns: 1fr; }
  .v-stage { min-height: 0; padding: 16px 48px 10px; }
  .v-info { padding: 18px 18px 20px; }
  .v-info h2 { font-size: 26px; }
  .armario { padding: 0 10px 10px; }
  .puerta { bottom: 10px; width: calc(50% - 10px); }
  .puerta.izq { left: 10px; }
  .puerta.der { right: 10px; }
}

/* encabezado con 3 secciones en pantallas chicas */
@media (max-width: 640px) {
  .top-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 8px; row-gap: 8px; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .nav a { flex: 1; text-align: center; }
  .brand-tag { display: inline-block; }
}

/* ---------- Selector de estilo del armario ---------- */
.estilos {
  display: flex; gap: 6px; width: fit-content; margin: 0 auto 22px; padding: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
}
.estilos a {
  text-decoration: none; color: var(--muted); font-size: 14px; padding: 8px 14px; border-radius: 10px; white-space: nowrap;
}
.estilos a b { color: var(--ink); margin-right: 4px; }
.estilos a:hover { background: var(--bg); }
.estilos a[aria-current="page"] { background: var(--verde); color: var(--lima); }
.estilos a[aria-current="page"] b { color: var(--crema); }

/* =====================================================================
 * ARMARIO ESTILO 2: camisetas de lado que se dan la vuelta al elegirlas
 * =================================================================== */
.estilo-2 .repisa.alta { margin: 0 0 14px; height: 14px; }
.estilo-2 .rack { }
.estilo-2 .slot {
  transform: perspective(900px) rotateY(66deg);
  transition: translate .6s cubic-bezier(.3, .75, .2, 1), transform .7s cubic-bezier(.3, .75, .2, 1);
}
.estilo-2 .slot:hover { transform: perspective(900px) rotateY(52deg); }
.estilo-2 .slot.sel { transform: perspective(900px) rotateY(0deg); transition-delay: 0s, .12s; }
.estilo-2 .slot .prenda { filter: drop-shadow(-6px 6px 8px rgba(0,0,0,.55)) brightness(.82); }
.estilo-2 .slot:hover .prenda { filter: drop-shadow(-6px 6px 8px rgba(0,0,0,.55)) brightness(.98); }
.estilo-2 .rack.has-sel .slot:not(.sel) .prenda { filter: drop-shadow(-6px 6px 8px rgba(0,0,0,.55)) brightness(.5) saturate(.8); }
.estilo-2 .slot.sel .prenda { scale: 1.06; filter: drop-shadow(0 26px 28px rgba(0,0,0,.6)) brightness(1.05); }
.estilo-2 .slot:not(.sel):hover .etiqueta { opacity: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .estilo-2 .colgada:hover .prenda { animation: none; }
  .estilo-2 .slot.sel .colgada:hover .prenda { animation: mecer 1.5s ease-in-out; }
}
@media (prefers-reduced-motion: reduce) {
  .estilo-2 .slot { transition: none; }
}

.pick-bar {
  display: flex; align-items: center; gap: 12px; max-width: 1120px; margin: 16px auto 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.pb-txt { flex: 1; display: grid; min-width: 0; }
.pb-txt b { font: 900 20px/1.1 var(--display); font-stretch: 120%; text-transform: uppercase; color: var(--verde); }
.pb-txt span { font-size: 14px; color: var(--muted); }
.pick-bar .cta { flex: 0 0 auto; min-height: 46px; }
.pick-bar .ghost-btn { min-height: 46px; }
@media (max-width: 560px) {
  .pick-bar { flex-wrap: wrap; }
  .pb-txt { flex-basis: 100%; }
  .pick-bar .ghost-btn, .pick-bar .cta { flex: 1; }
  .estilos a { padding: 8px 10px; font-size: 13px; }
}
