/* Noir Atelier · minimalismo editorial en blanco y negro */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/bodoni-moda.woff2) format("woff2") }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/bodoni-moda-italic.woff2) format("woff2") }
.na {
  --w: #ffffff; --ink: #0d0d0d; --ink-2: #3b3b3b; --stone: #6d6a64; --soft: #f2f0ec; --line: #e2dfd9;
  --didone: "Bodoni Moda", "Didot", Georgia, serif; --sans: "Inter Tight", system-ui, sans-serif;
  margin: 0; background: var(--w); color: var(--ink); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased
}
.na *, .na *::before, .na *::after { box-sizing: border-box }
.na img { display: block; max-width: 100%; height: auto }
.na a { color: inherit; text-decoration: none }
.na h1, .na h2, .na h3, .na p, .na ul, .na figure, .na dl, .na dd { margin: 0 }
.na button, .na select { font: inherit; color: inherit }
.na :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px }
.na em { font-family: var(--didone); font-style: italic; font-weight: 400 }
.na .na-w { width: min(1400px, 100% - clamp(32px, 6vw, 96px)); margin-inline: auto }
.na-eyebrow, .na-nav, .na-bag, .na-btn, .na-cats button, .np-new, .na-count, .na figcaption, .na-tools select { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase }

/* Cabecera */
.na-hd { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.na-hd-in { height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px }
.na-nav { display: flex; gap: 26px }
.na-nav a:hover { text-decoration: underline; text-underline-offset: 5px }
.na-logo { font-family: var(--didone); font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: .26em; text-transform: uppercase; font-weight: 500; white-space: nowrap }
.na-bag { justify-self: end; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 0 }
.na-bag-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: var(--w); font-size: .7rem; letter-spacing: 0; padding: 0 6px; transition: transform .3s }
.na-bag-n.bump { animation: bump .45s ease }
@keyframes bump { 50% { transform: scale(1.35) } }
@media (max-width: 700px) { .na-nav { display: none } .na-hd-in { grid-template-columns: auto 1fr } .na-logo { justify-self: start } }

/* Hero */
.na-hero { display: grid; grid-template-columns: 1.15fr 1fr; min-height: calc(100vh - 106px); border-bottom: 1px solid var(--line) }
.na-hero-img { overflow: hidden; background: var(--soft) }
.na-hero-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02) }
.js .na-hero-img img { animation: reveal 1.6s cubic-bezier(.16, 1, .3, 1) both }
@keyframes reveal { from { clip-path: inset(0 0 100% 0); transform: scale(1.08) } }
.na-hero-txt { display: grid; align-content: center; gap: 24px; padding: clamp(40px, 7vw, 110px) }
.na-hero h1 { font-family: var(--didone); font-weight: 400; font-size: clamp(3rem, 6.4vw, 6.4rem); line-height: .98; letter-spacing: -.02em }
.na-hero-txt > p:not(.na-eyebrow) { color: var(--ink-2); max-width: 34ch; font-size: 1.02rem }
.js .na-hero-txt > * { animation: up 1.1s cubic-bezier(.16, 1, .3, 1) both }
.js .na-hero-txt > :nth-child(2) { animation-delay: .12s } .js .na-hero-txt > :nth-child(3) { animation-delay: .24s } .js .na-hero-txt > :nth-child(4) { animation-delay: .36s }
@keyframes up { from { opacity: 0; transform: translateY(24px) } }
@media (max-width: 900px) { .na-hero { grid-template-columns: 1fr; min-height: 0 } .na-hero-img { aspect-ratio: 4 / 5; max-height: 70vh } }
.na .na-btn { justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 30px; background: var(--ink); color: var(--w); border: 1px solid var(--ink); cursor: pointer; transition: background .3s, color .3s }
.na .na-btn:hover { background: var(--w); color: var(--ink) }
.na .na-btn.ghost { background: var(--w); color: var(--ink) }
.na .na-btn.ghost:hover { background: var(--ink); color: var(--w) }
.na .na-btn[disabled] { opacity: .4; cursor: not-allowed }

/* Colección */
.na-coll { padding: clamp(56px, 8vw, 110px) 0 }
.na-coll-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px }
.na-coll h2, .na-look h2, .na-atelier h2 { font-family: var(--didone); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.02em }
.na-count { color: var(--stone) }
.na-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px }
.na-cats { display: flex; flex-wrap: wrap; gap: 6px }
.na .na-cats button { background: none; border: 1px solid transparent; padding: 9px 14px; cursor: pointer; transition: border-color .2s }
.na .na-cats button:hover { border-color: var(--line) }
.na .na-cats button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--w) }
.na-sel { display: flex; gap: 10px }
.na-sel select { border: 1px solid var(--line); background: var(--w); padding: 10px 12px; cursor: pointer }
.na-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 18px }
@media (max-width: 1100px) { .na-grid { grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 700px) { .na-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px } .na-tools { flex-direction: column; flex-wrap: nowrap; align-items: stretch } .na-cats { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px } .na-cats button { flex: 0 0 auto } .na-sel select { flex: 1; min-width: 0; width: 100% } .na-sel label { flex: 1; min-width: 0; display: flex } }
.np[hidden] { display: none }
.np-a { display: grid; gap: 10px }
.np-img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft) }
.np-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1), filter .6s; filter: saturate(.9) }
.np-a:hover .np-img img { transform: scale(1.05); filter: none }
.np-new { position: absolute; left: 10px; top: 10px; background: var(--w); padding: 4px 8px; font-size: .62rem }
.np-name { font-size: .95rem }
.np-row { display: flex; justify-content: space-between; align-items: center; gap: 10px }
.np-price { color: var(--ink-2) }
.np-sw { display: flex; gap: 4px }
.np-sw i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2) }
.na-empty { text-align: center; padding: 60px 20px; display: grid; gap: 16px; justify-items: center }

/* Lookbook */
.na-look { background: var(--ink); color: var(--w); padding: clamp(70px, 10vw, 140px) 0 }
.na-look-in { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 26px clamp(16px, 2vw, 30px); align-items: start }
.na-look h2 { grid-column: 1 / -1; margin-bottom: 20px }
.na-l1 { grid-column: 2; grid-row: 2 }
.na-l2 { grid-column: 3; grid-row: 2; margin-top: 90px }
.na-l3 { grid-column: 1; grid-row: 2; margin-top: 160px }
.na-look figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s }
.na-look figure:hover img { filter: none }
.na-look figcaption { margin-top: 10px; color: #bdbab3 }
@media (max-width: 800px) { .na-look-in { grid-template-columns: 1fr 1fr } .na-l1 { grid-column: 1 / -1; grid-row: auto } .na-l2, .na-l3 { grid-column: auto; grid-row: auto; margin-top: 0 } }

/* Atelier */
.na-atelier { padding: clamp(70px, 10vw, 140px) 0 }
.na-at-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px) }
.na-at-txt { display: grid; gap: 26px; align-content: start; color: var(--ink-2); font-size: 1.02rem }
.na-at-txt dl { display: grid; border-top: 1px solid var(--line) }
.na-at-txt dl div { display: grid; grid-template-columns: 140px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line) }
.na-at-txt dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink) }
.na-note { font-size: .84rem; color: var(--stone) }
@media (max-width: 800px) { .na-at-in { grid-template-columns: 1fr } }
.na-ft { border-top: 1px solid var(--line); padding: 36px 0; color: var(--stone); font-size: .85rem }
.na-ft .na-w { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center }
.na-ft .na-logo { color: var(--ink) }

/* Ficha de producto */
.na-dlg { background: var(--w); color: var(--ink) }
.na-dlg .dk-close { background: var(--ink); color: var(--w) }
.p-wrap { display: grid; grid-template-columns: 1.05fr 1fr }
@media (max-width: 820px) { .p-wrap { grid-template-columns: 1fr } }
.p-img { background: var(--soft) }
.p-img img { width: 100%; height: 100%; max-height: 86vh; object-fit: cover; aspect-ratio: 3 / 4 }
.p-info { padding: clamp(24px, 4vw, 56px); display: grid; gap: 20px; align-content: start }
.p-cat { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone) }
.p-info h2 { font-family: var(--didone); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05 }
.p-price { font-size: 1.15rem }
.p-info fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px }
.p-info legend { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; padding: 0 }
.p-info legend b { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--ink-2) }
.p-opts { display: flex; flex-wrap: wrap; gap: 8px }
.p-opts input { position: absolute; opacity: 0; width: 1px; height: 1px }
.p-opts label { cursor: pointer }
.p-col span { display: block; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 0 0 3px var(--w); transition: box-shadow .2s }
.p-col input:checked + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 0 0 3px var(--w), 0 0 0 4px var(--ink) }
.p-size span { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 10px; border: 1px solid var(--line); font-size: .85rem; transition: border-color .2s, background .2s }
.p-size label:hover span { border-color: var(--ink) }
.p-size input:checked + span { background: var(--ink); color: var(--w); border-color: var(--ink) }
.p-size input:disabled + span { color: #a3a09a; text-decoration: line-through; cursor: not-allowed; background: var(--soft) }
.p-opts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px }
.p-qty { display: inline-flex; align-items: center; border: 1px solid var(--line) }
.na .p-qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.1rem }
.p-qty output { min-width: 34px; text-align: center }
.p-err { color: #9b1c12; font-size: .88rem }
.p-err::before { content: "⚠ " }
.p-ok { color: var(--ink); font-size: .9rem; border-left: 2px solid var(--ink); padding-left: 12px }
.p-det { border-top: 1px solid var(--line) }
.p-det details { border-bottom: 1px solid var(--line) }
.p-det summary { cursor: pointer; padding: 14px 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase }
.p-det p { padding: 0 0 16px; color: var(--ink-2) }

/* Bolsa (panel lateral) */
.na-bagdlg { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); max-width: 100vw; padding: 0; border: 0; background: var(--w); color: var(--ink) }
.na-bagdlg::backdrop { background: rgba(0, 0, 0, .45) }
.na-bagdlg[open] { animation: slide .45s cubic-bezier(.16, 1, .3, 1) }
@keyframes slide { from { transform: translateX(100%) } }
.na-bag-in { display: flex; flex-direction: column; height: 100% }
.na-bag-hd { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line) }
.na-bag-hd h2 { font-family: var(--didone); font-weight: 400; font-size: 1.8rem }
.na .na-x { width: 44px; height: 44px; border: 0; background: none; font-size: 1.6rem; cursor: pointer }
#bagBody { flex: 1; display: flex; flex-direction: column; min-height: 0 }
.b-list { list-style: none; padding: 0 24px; margin: 0; overflow-y: auto; flex: 1 }
.b-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start }
.b-item img { width: 76px; aspect-ratio: 3 / 4; object-fit: cover }
.b-item h3 { font-size: .95rem; font-weight: 500 }
.b-item p { color: var(--stone); font-size: .82rem }
.b-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px }
.na .b-ctrl button { width: 32px; height: 32px; border: 1px solid var(--line); background: none; cursor: pointer }
.na .b-rm { background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--stone); font-size: .8rem; padding: 0; margin-left: 6px }
.b-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px }
.b-row { display: flex; justify-content: space-between }
.b-row.t { font-size: 1.1rem; font-weight: 600 }
.b-ship { font-size: .82rem; color: var(--stone) }
.b-bar { height: 3px; background: var(--soft) }
.b-bar i { display: block; height: 100%; background: var(--ink); transition: width .5s }
.b-foot .na-btn { width: 100%; justify-self: stretch }
.b-empty { padding: 40px 24px; display: grid; gap: 16px; color: var(--ink-2) }
.b-demo { font-size: .88rem; background: var(--soft); padding: 14px 16px; color: var(--ink-2) }
