/* Avant Heir Closet — Street Heirloom callout, on ink.
   Uses the theme's --ah-* tokens with hard fallbacks so it degrades sanely. */

.ah-closet {
  background: var(--ah-ink, #2b2620);
  color: var(--ah-cream, #fbf7ed);
  margin: 56px 0;
  padding: 40px 24px;
}
@media (min-width: 720px) { .ah-closet { padding-inline: 40px; } }

.ah-closet__header {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 1px solid rgba(251, 247, 237, 0.35);
  padding-bottom: 12px;
}
.ah-closet__no {
  font-weight: 900; font-size: 12px; letter-spacing: 0.18em;
  color: var(--ah-marigold, #c99a2e);
}
.ah-closet h2.ah-closet__title {
  font-family: var(--font-sans, "Archivo", sans-serif);
  font-weight: 900; font-stretch: var(--stretch-display, 78%);
  font-size: clamp(20px, 3vw, 26px) !important; line-height: 1.05 !important;
  text-transform: uppercase; letter-spacing: 0 !important;
  color: var(--ah-cream, #fbf7ed); margin: 0 !important; border: none !important; padding: 0 !important;
  flex: 1;
}
.ah-closet__aside {
  font-weight: 600; font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(251, 247, 237, 0.6);
}

.ah-closet__listing {
  display: grid; gap: 0; margin-top: 24px;
  border: 1px solid rgba(251, 247, 237, 0.28);
}
@media (min-width: 720px) { .ah-closet__listing { grid-template-columns: 5fr 7fr; } }

.ah-closet__photo { display: block; margin: 0; line-height: 0; }
.ah-closet__photo img {
  width: 100%; height: 100% !important; min-height: 240px;
  object-fit: cover; display: block; aspect-ratio: auto;
}
@media (max-width: 719px) { .ah-closet__photo img { aspect-ratio: 4 / 3; height: auto !important; min-height: 0; } }

.ah-closet__body {
  padding: 22px 22px 26px;
  display: flex; flex-direction: column; align-items: flex-start;
}
@media (min-width: 720px) { .ah-closet__body { padding: 30px 32px; } }

.ah-closet__status {
  font-weight: 700; font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(251, 247, 237, 0.6);
}
.ah-closet h3.ah-closet__item-title {
  font-family: var(--font-sans, "Archivo", sans-serif);
  font-weight: 900; font-stretch: var(--stretch-display, 78%);
  font-size: clamp(22px, 3.4vw, 30px) !important; line-height: 1.05 !important;
  text-transform: uppercase; letter-spacing: 0 !important;
  color: var(--ah-cream, #fbf7ed); margin: 10px 0 0 !important; border: none !important; padding: 0 !important;
}
.ah-closet__meta {
  font-family: var(--font-serif, "Newsreader", serif); font-style: italic;
  font-size: 15px; color: rgba(251, 247, 237, 0.72); margin: 8px 0 0 !important;
}
.ah-closet__price {
  font-weight: 900; font-stretch: var(--stretch-display, 78%);
  font-size: 34px; margin-top: 18px; color: var(--ah-cream, #fbf7ed);
}
.ah-closet__cta { margin-top: 20px; }
.ah-closet__btn, .ah-closet__btn:visited {
  display: inline-block; background: var(--ah-marigold, #c99a2e);
  color: var(--ah-ink, #2b2620) !important; border: 2px solid var(--ah-marigold, #c99a2e);
  font-family: var(--font-sans, "Archivo", sans-serif);
  font-weight: 800; text-transform: uppercase; font-size: 13px;
  letter-spacing: 0.12em; padding: 12px 22px; text-decoration: none !important;
  background-image: none !important; box-shadow: none !important;
}
.ah-closet__btn:hover { background: transparent; color: var(--ah-cream, #fbf7ed) !important; }
.ah-closet__folio {
  font-weight: 600; font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(251, 247, 237, 0.6); margin: 16px 0 0 !important;
}

/* --------------------------------------------------------------------------
   Shop the Closet — aesthetic sections with scrollable rails, on cream
   -------------------------------------------------------------------------- */
.ah-shop { margin-top: 8px; }
.ah-shop__section { margin: 0 0 52px; }
.ah-shop__header {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-bottom: 2px solid var(--ah-ink, #2b2620); padding-bottom: 10px; margin-bottom: 20px;
}
.ah-shop h2.ah-shop__name {
  font-family: var(--font-serif, "Newsreader", serif) !important; font-style: italic; font-weight: 500 !important;
  font-size: clamp(26px, 3.6vw, 36px) !important; line-height: 1.05 !important;
  text-transform: none !important; letter-spacing: 0 !important; margin: 0 !important; border: none !important; padding: 0 !important;
  display: flex; gap: 12px; align-items: baseline; color: var(--ah-ink, #2b2620);
}
.ah-shop__name::before {
  content: "/"; font-family: var(--font-sans, "Archivo", sans-serif); font-style: normal;
  font-weight: 900; font-size: 0.55em; color: var(--ah-marigold, #c99a2e);
}
.ah-shop__name a { color: inherit !important; text-decoration: none !important; background: none !important; }
.ah-shop__name a:hover { color: var(--ah-marigold-deep, #a87f22) !important; }
.ah-shop__guide {
  font-family: var(--font-sans, "Archivo", sans-serif); font-weight: 800; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  color: var(--ah-ink, #2b2620) !important; text-decoration: none !important;
  border-bottom: 2px solid var(--ah-marigold, #c99a2e); background: none !important;
}
.ah-shop__railwrap { position: relative; }
ul.ah-shop__rail {
  display: flex; overflow-x: auto; gap: 18px; margin: 0; padding: 0 0 14px; list-style: none;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--ah-ink, #2b2620) var(--ah-hairline, #e2dbc9);
}
ul.ah-shop__rail::-webkit-scrollbar { height: 4px; }
ul.ah-shop__rail::-webkit-scrollbar-track { background: var(--ah-hairline, #e2dbc9); }
ul.ah-shop__rail::-webkit-scrollbar-thumb { background: var(--ah-ink, #2b2620); }
li.ah-shop__card {
  flex: 0 0 clamp(220px, 24vw, 280px); scroll-snap-align: start; margin: 0;
  background: var(--ah-warm-fog, #efe9db); border: 1px solid var(--ah-hairline, #e2dbc9);
}
.ah-shop__cardlink { display: block; color: inherit !important; text-decoration: none !important; background: none !important; }
.ah-shop__photo { display: block; line-height: 0; }
.ah-shop__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.ah-shop__body { display: block; border-top: 2px solid var(--ah-ink, #2b2620); padding: 12px 14px 16px; }
.ah-shop__title {
  display: block; font-family: var(--font-sans, "Archivo", sans-serif); font-weight: 700;
  font-size: 14px; line-height: 1.3; color: var(--ah-ink, #2b2620);
}
.ah-shop__card:hover .ah-shop__title { color: var(--ah-marigold-deep, #a87f22); }
.ah-shop__price {
  display: block; font-family: var(--font-sans, "Archivo", sans-serif); font-weight: 900;
  font-stretch: var(--stretch-display, 78%); font-size: 20px; margin-top: 8px; color: var(--ah-ink, #2b2620);
}
.ah-shop__arrow {
  position: absolute; top: 38%; transform: translateY(-50%);
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--ah-cream, #fbf7ed); border: 1px solid var(--ah-ink, #2b2620); border-radius: 0;
  color: var(--ah-ink, #2b2620); font-family: var(--font-sans, "Archivo", sans-serif);
  font-weight: 900; font-size: 18px; cursor: pointer; z-index: 2; padding: 0;
}
.ah-shop__arrow--prev { left: -10px; }
.ah-shop__arrow--next { right: -10px; }
.ah-shop__arrow:hover:not(:disabled) { background: var(--ah-ink, #2b2620); color: var(--ah-cream, #fbf7ed); }
.ah-shop__arrow:disabled { opacity: 0.2; cursor: default; }
@media (max-width: 719px) {
  li.ah-shop__card { flex-basis: min(72vw, 300px); }
  .ah-shop__arrow--prev { left: -4px; }
  .ah-shop__arrow--next { right: -4px; }
}
