/* Womanhattan shop: After Hours. A dim, late-night New York store. */

.after {
  --night: oklch(14.5% 0.012 350);
  --night-2: oklch(19% 0.014 350);
  --night-3: oklch(24% 0.016 350);
  --haze: oklch(95% 0.012 78 / 0.08);
  --text: oklch(93% 0.012 78);
  --text-mute: oklch(70% 0.014 78);
  --sticker: oklch(78% 0.15 55);
  --lime: oklch(88% 0.17 120);
  background: var(--night);
  color: var(--text);
}
.after::after { opacity: 0.12; mix-blend-mode: overlay; }

/* Flashlight: a dim room lit where you look */
.spot {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(520px circle at var(--mx, 70%) var(--my, 18%), oklch(85% 0.06 8 / 0.13), transparent 70%),
    radial-gradient(900px circle at 15% 0%, oklch(70% 0.08 40 / 0.08), transparent 60%);
}
.after main, .after .footer { position: relative; z-index: 2; }

/* Nav on dark */
.after .nav { background: oklch(19% 0.014 350 / 0.72); box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.1), 0 10px 30px -18px oklch(5% 0 0 / 0.6); }
.after .nav__brand svg { color: var(--blush); }
.after .nav__brand img { filter: invert(1) brightness(1.1); }
.after .nav__links a { color: var(--text-mute); }
.after .nav__links a[aria-current="page"], .after .nav__links a:hover { color: var(--blush); }
.after .nav__cta { background: var(--blush); color: var(--ink); }
.after .nav__cta .ico { background: oklch(19% 0.012 350 / 0.08); }
.after .nav__toggle { background: oklch(98% 0.007 78 / 0.08); }
.after .nav__toggle span { background: var(--text); }
.after .menu { background: oklch(14.5% 0.012 350 / 0.94); color: var(--text); }
.after .menu__foot { color: var(--text-mute); }
.after .eyebrow { background: oklch(98% 0.007 78 / 0.06); box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.12); color: var(--text-mute); }
.after .display em { color: var(--blush); }
.after .lede, .after .body { color: var(--text-mute); }
.after .link { color: var(--text); }

/* Hero */
.ah-hero { padding-top: clamp(130px, 14vw, 180px); padding-bottom: clamp(32px, 4vw, 56px); }
.ah-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.ah-hero__copy { grid-column: 1 / span 7; }
.ah-hero__copy .eyebrow { margin-bottom: 26px; }
.ah-hero__copy .h1 { margin-bottom: 24px; }
.sign-wrap { grid-column: 9 / span 4; justify-self: end; }
.sign {
  position: relative;
  padding: 22px 26px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, oklch(30% 0.04 8), oklch(22% 0.03 8));
  box-shadow: inset 0 0 0 1px oklch(85% 0.06 8 / 0.25), inset 0 0 40px oklch(85% 0.06 8 / 0.12), 0 30px 60px -30px oklch(5% 0 0 / 0.8);
  transform: rotate(2deg);
  text-align: center;
}
.sign::before, .sign::after { content: ""; position: absolute; top: -40px; width: 1px; height: 40px; background: oklch(60% 0.01 78 / 0.5); }
.sign::before { left: 28%; } .sign::after { right: 28%; }
.sign__top { font-size: 0.62rem; letter-spacing: 0.4em; text-transform: uppercase; color: oklch(90% 0.05 8 / 0.8); }
.sign__word { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; color: oklch(92% 0.06 8); margin: 6px 0 8px; animation: hum 6s steps(1) infinite; }
.sign__open { display: inline-block; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--lime); color: var(--ink); }
@keyframes hum { 0%, 61%, 63%, 100% { opacity: 1; } 62% { opacity: 0.55; } }

/* Tabloid ticker */
.tabloid { overflow: hidden; border-block: 1px solid oklch(98% 0.007 78 / 0.1); background: oklch(19% 0.014 350); }
.tabloid__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.tabloid__group { display: flex; align-items: center; gap: 28px; padding: 16px 28px 16px 0; white-space: nowrap; }
.tabloid b { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 1.15rem; color: var(--text); }
.tabloid span { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--sticker); color: var(--ink); }

/* Search */
.finder { position: sticky; top: 92px; z-index: 20; padding-block: 20px; }
.finder__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: oklch(22% 0.014 350 / 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.12), 0 20px 40px -24px oklch(5% 0 0 / 0.8);
}
.finder__bar svg { flex: none; color: var(--text-mute); }
.finder__bar input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  font: inherit; font-size: 1.05rem; color: var(--text); padding: 10px 0;
}
.finder__bar input::placeholder { color: var(--text-mute); }
.finder__bar kbd { flex: none; font-family: var(--sans); font-size: 0.7rem; padding: 4px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.18); color: var(--text-mute); }
.finder__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chipf {
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.16); color: var(--text-mute);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.chipf[aria-pressed="true"] { background: var(--blush); color: var(--ink); box-shadow: none; }
.finder__count { font-size: 0.78rem; color: var(--text-mute); margin-top: 10px; min-height: 1.2em; }

/* Aisles */
.aisle { padding-top: clamp(56px, 7vw, 96px); }
.aisle__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.aisle__head > :first-child { grid-column: 1 / span 7; }
.aisle__head > :last-child { grid-column: 9 / span 4; }
.aisle__no { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sticker); margin-bottom: 14px; display: block; }
.aisle__head .h2 { color: var(--text); }

/* Womanhattan record sleeves */
.sleeves { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.sleeve { position: relative; border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.08); padding: 10px; display: flex; flex-direction: column; transition: transform 0.6s var(--ease); }
.sleeve:hover { transform: translateY(-4px); }
.sleeve__art { position: relative; border-radius: 14px; overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3; }
.sleeve__art img { width: 100%; height: 100%; object-fit: var(--fit, contain); object-position: 50% 22%; }
.sleeve__art.contain img { padding: 14px; mix-blend-mode: multiply; }
.price-dot {
  position: absolute; right: 14px; top: 14px; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center; transform: rotate(-12deg);
  background: var(--sticker); color: var(--ink);
  font-family: var(--serif); font-size: 1.55rem; line-height: 1;
  box-shadow: 0 6px 14px -6px oklch(5% 0 0 / 0.6);
}
.badge-tape { position: absolute; left: 14px; bottom: 14px; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 10px; background: var(--ink); color: var(--paper); border-radius: 4px; transform: rotate(-2deg); }
.sleeve__body { padding: 20px 14px 14px; display: grid; gap: 12px; flex: 1; align-content: start; }
.sleeve__name { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; color: var(--text); }
.sleeve__blurb { color: var(--text-mute); font-size: 0.95rem; }
.sleeve__mat { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--text-mute); }
.mini-books { margin-top: 4px; }
.mini-books__bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; }
.mini-books__bar i { display: block; flex: 0 0 var(--w); }
.mb-make { background: oklch(70% 0.014 78); }
.mb-pt { background: var(--blush); }
.mb-fee { background: oklch(50% 0.012 78); }
.mb-next { background: oklch(32% 0.014 350); }
.mini-books dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 10px; font-size: 0.8rem; }
.mini-books dt { color: var(--text-mute); display: flex; align-items: center; gap: 8px; }
.mini-books dt::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.mini-books dd { text-align: right; font-variant-numeric: tabular-nums; }
.mini-books .pt dd { color: var(--blush); }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span { display: grid; place-items: center; min-width: 44px; height: 38px; padding-inline: 10px; border-radius: 999px; font-size: 0.78rem; box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.2); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.sizes input:checked + span { background: var(--text); color: var(--ink); box-shadow: none; }
.sizes input:focus-visible + span { outline: 2px solid var(--blush); outline-offset: 2px; }
.buy { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.buy .btn { background: var(--blush); color: var(--ink); }
.buy .btn .ico { background: oklch(19% 0.012 350 / 0.08); }
.buy .btn[aria-disabled="true"] { background: oklch(98% 0.007 78 / 0.1); color: var(--text-mute); pointer-events: none; }
.buy small { font-size: 0.74rem; color: var(--text-mute); }
.tax-note { margin-top: 18px; font-size: 0.8rem; color: var(--text-mute); max-width: 75ch; }

/* The Recycled Shelf: "Recycled Facts" labels */
.disclose { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: oklch(98% 0.007 78 / 0.05); box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.1); font-size: 0.85rem; color: var(--text-mute); margin-bottom: 28px; max-width: 900px; }
.disclose b { color: var(--text); font-weight: 500; }
.labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.facts {
  background: oklch(97% 0.008 85); color: var(--ink);
  padding: 14px 16px 16px; border-radius: 6px;
  box-shadow: 0 0 0 1px oklch(19% 0.012 350 / 0.9), 0 24px 40px -26px oklch(5% 0 0 / 0.9);
  display: flex; flex-direction: column; transform: rotate(var(--r, 0deg));
  transition: transform 0.5s var(--ease);
}
.facts:hover { transform: rotate(0deg) translateY(-4px); }
.facts__h { font-family: var(--sans); font-weight: 500; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.facts__brand { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }
.facts__prod { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; padding-bottom: 8px; border-bottom: 8px solid var(--ink); }
.facts__row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid oklch(19% 0.012 350 / 0.35); font-size: 0.86rem; }
.facts__row b { font-weight: 500; }
.facts__big { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 4px solid var(--ink); }
.facts__big span { font-weight: 500; font-size: 0.95rem; }
.facts__big strong { font-family: var(--sans); font-size: 2.1rem; font-weight: 500; letter-spacing: -0.03em; }
.facts__claim { font-size: 0.8rem; color: var(--ink-soft); padding: 8px 0; font-style: italic; }
.facts__blurb { font-size: 0.86rem; padding-bottom: 10px; }
.facts__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--ink); }
.facts__foot a { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; }
.facts__foot a.src { color: var(--ink-soft); letter-spacing: 0.06em; text-transform: none; font-weight: 400; }
.shelf-soon { border-radius: 22px; padding: clamp(28px, 4vw, 48px); background: var(--night-2); box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.08); color: var(--text-mute); }

.empty { display: none; text-align: center; padding: 60px 20px; color: var(--text-mute); }
.empty b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--text); margin-bottom: 8px; font-weight: 400; }
.is-empty .empty { display: block; }
.hide { display: none !important; }

@media (max-width: 900px) {
  .ah-hero__copy, .sign-wrap, .aisle__head > :first-child, .aisle__head > :last-child { grid-column: 1 / -1; }
  .sign-wrap { justify-self: start; margin-top: 40px; }
  .finder { top: 80px; }
}
@media (prefers-reduced-motion: reduce) { .sign__word { animation: none; } }

/* =========================================================
   After-hours rave hero
   ========================================================= */
.ah-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(88vh, 860px); display: flex; align-items: flex-end; }
.ah-hero > .wrap { position: relative; z-index: 1; width: 100%; }
canvas.rave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.rave-on canvas.rave { opacity: 1; }
.ah-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 0; pointer-events: none; background: linear-gradient(180deg, transparent, var(--night)); }
.rave-fallback { background: radial-gradient(60% 70% at 74% 50%, oklch(55% 0.18 350 / 0.55), transparent 70%), radial-gradient(40% 50% at 70% 45%, oklch(75% 0.15 55 / 0.35), transparent 70%), var(--night); }
.ah-hero__copy .h1 { text-shadow: 0 2px 30px oklch(10% 0.01 350 / 0.6); }

/* =========================================================
   Bag button, steppers, product card buy row
   ========================================================= */
.bagbtn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--ink); transition: transform 0.4s var(--ease); }
.bagbtn:active { transform: scale(0.96); }
.bagbtn__n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 500; background: var(--sticker); color: var(--ink); transform: scale(0); transition: transform 0.4s var(--ease); }
.bagbtn.has-items .bagbtn__n { transform: scale(1); }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.2); }
.qty button { width: 38px; height: 40px; font-size: 1.1rem; color: var(--text); border-radius: 999px; }
.qty button:hover { background: oklch(98% 0.007 78 / 0.08); }
.qty output { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.buy { justify-content: flex-start; gap: 12px; }
.ship-note { display: block; margin-top: 10px; font-size: 0.74rem; color: var(--text-mute); }
.size-err { display: none; font-size: 0.8rem; color: var(--sticker); margin-top: -4px; }
.need-size .size-err { display: block; }
.need-size .sizes span { box-shadow: inset 0 0 0 1px var(--sticker); }
.sizes .sold-out span { opacity: 0.35; text-decoration: line-through; }

/* =========================================================
   Bag drawer
   ========================================================= */
.bag-scrim { position: fixed; inset: 0; z-index: 140; background: oklch(8% 0.01 350 / 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.38s var(--ease); }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: min(440px, 100vw); overflow-y: auto; overscroll-behavior: contain;
  background: oklch(17% 0.013 350); color: var(--text);
  box-shadow: -30px 0 60px -30px oklch(5% 0 0 / 0.8);
  padding: 22px 22px 28px; display: flex; flex-direction: column; gap: 18px;
  transform: translateX(104%); transition: transform 0.45s var(--ease);
}
.bag-open .bag { transform: none; }
.bag-open .bag-scrim { opacity: 1; }
.bag-open { overflow: hidden; }
.bag__head { display: flex; justify-content: space-between; align-items: center; }
.bag__head h2 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; }
.bag__x { width: 42px; height: 42px; border-radius: 50%; font-size: 1.5rem; color: var(--text); background: oklch(98% 0.007 78 / 0.06); }
.bag__row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid oklch(98% 0.007 78 / 0.1); }
.bag__row img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--paper); }
.bag__name { font-family: var(--serif); font-size: 1.08rem; line-height: 1.2; }
.bag__meta { font-size: 0.78rem; color: var(--text-mute); margin: 4px 0 8px; }
.qty--sm button { width: 32px; height: 32px; font-size: 1rem; }
.bag__right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.bag__price { font-variant-numeric: tabular-nums; }
.bag__rm { font-size: 0.72rem; color: var(--text-mute); text-decoration: underline; text-underline-offset: 3px; }
.bag__empty { color: var(--text-mute); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.bag__dest { border: 0; display: grid; gap: 8px; }
.bag__dest legend { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 8px; }
.bag__dest label { position: relative; display: block; }
.bag__dest input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bag__dest span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.14); transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); }
.bag__dest b { font-weight: 500; font-size: 0.92rem; }
.bag__dest small { font-size: 0.76rem; color: var(--text-mute); }
.bag__dest input:checked + span { background: oklch(85.5% 0.055 8 / 0.12); box-shadow: inset 0 0 0 1.5px var(--blush); }
.bag__dest input:focus-visible + span { outline: 2px solid var(--blush); outline-offset: 2px; }
.bag__sum { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding-top: 14px; border-top: 1px solid oklch(98% 0.007 78 / 0.1); font-variant-numeric: tabular-nums; }
.bag__sum dt { color: var(--text-mute); }
.bag__sum .tot { font-family: var(--serif); font-size: 1.4rem; color: var(--text); }
.bag__tax { font-size: 0.76rem; color: var(--text-mute); }
.bag__go { justify-content: space-between; background: var(--blush); color: var(--ink); }
.bag__go .ico { background: oklch(19% 0.012 350 / 0.08); }
.bag__go[aria-disabled="true"] { opacity: 0.75; }
.bag__go[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.bag__msg { font-size: 0.85rem; color: var(--blush); min-height: 1.2em; }
@media (max-width: 767px) { .bag { width: 100vw; } }
@media (prefers-reduced-motion: reduce) { .bag, .bag-scrim { transition: none; } }

/* Comic relief one-liners on product sleeves */
.lol { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 12px; padding: 12px 14px; border-radius: 12px;
  background: oklch(98% 0.007 78 / 0.04); box-shadow: inset 0 0 0 1px oklch(98% 0.007 78 / 0.08); }
.lol__k { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blush); }
.lol ul { list-style: none; display: grid; gap: 4px; }
.lol li { font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.35; color: var(--text); }
.lol.is-cycling li { display: none; }
.lol.is-cycling li.on { display: block; animation: lol-in 0.45s var(--ease) both; }
.lol__more { font: inherit; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); background: none; border: 0;
  padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.lol__more:hover { color: var(--text); }
@keyframes lol-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lol.is-cycling li.on { animation: none; } }
@media (max-width: 420px) { .lol { grid-template-columns: 1fr auto; } .lol__k { grid-column: 1 / -1; } }
