/* Shop, product, blog and info pages. Builds on hero.css (tokens, header, footer) and keeps its language:
   light page, dark wall panels with a gold edge, gold type. */

main.page { display: block; height: auto; }

.sub .wall {
  border: var(--gold-edge);
  border-radius: var(--r);
  box-shadow: var(--panel-shadow);
  color: #f1f0ec;
  background: #121212 url("/themes/sasha/assets/annie.webp?v=2") center / cover;
}

.gold-text {
  background: var(--gold-shine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Breadcrumbs */

.crumbs { margin: clamp(14px, 1.4vw, 22px) clamp(4px, .6vw, 10px); font-size: 12px; font-stretch: 100%; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.crumbs li { color: #6f6b64; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #b8913f; }
.crumbs a { color: #3a3833; transition: color .3s; }
.crumbs a:hover { color: #8a6420; }
.crumbs [aria-current] { color: #8a6420; }

/* Banner: the dark wall panel opening every listing */

.banner {
  margin-bottom: var(--gap);
  padding: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px);
  border: var(--gold-edge);
  border-radius: var(--r);
  box-shadow: var(--panel-shadow);
  color: #f1f0ec;
  background: #121212 url("/themes/sasha/assets/annie.webp?v=2") center / cover;
}
.banner .eyebrow, .eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #d8ad4c;
}
.banner h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  background: var(--gold-shine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.banner--slim h1 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.banner__lead { max-width: 62ch; margin: 18px 0 0; font-size: 15px; font-stretch: 100%; line-height: 1.6; color: rgb(241 240 236 / .78); }
.banner__subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* Chips: filters, sub-categories, blog categories */

.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, .chip--link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgb(216 173 76 / .4);
  border-radius: 999px;
  font-size: 12px;
  font-stretch: 100%;
  color: #e9e6df;
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
}
.chip span:hover, .chip--link:hover { border-color: #d8ad4c; }
.chip input:checked + span, .chip--link.is-on { border-color: transparent; color: var(--ink); background: var(--gold-shine); }
.chip input:focus-visible + span { outline: 1.5px solid #e0bd62; outline-offset: 2px; }

/* Listing panel with filters and the product grid */

.listing {
  margin-bottom: var(--gap);
  padding: clamp(16px, 2vw, 32px);
  border: var(--gold-edge);
  border-radius: var(--r);
  box-shadow: var(--panel-shadow);
  color: #f1f0ec;
  background: #121212 url("/themes/sasha/assets/annie.webp?v=2") center / cover;
}
.listing__title { margin: 0 0 20px; font-size: clamp(1.1rem, 1.8vw, 1.6rem); font-weight: 400; text-transform: uppercase; color: #e0bd62; }

.shopbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 28px;
  margin-bottom: clamp(18px, 2vw, 28px);
  padding-bottom: clamp(16px, 1.8vw, 24px);
  border-bottom: 1px solid rgb(216 173 76 / .25);
}
.shopbar__group { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.shopbar__group legend { width: 100%; margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #d8ad4c; }
.shopbar__end { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.shopbar__count { margin: 0; font-size: 13px; font-stretch: 100%; color: rgb(241 240 236 / .7); }
.shopbar__count b { color: #e0bd62; font-weight: 500; }
.shopbar__sort { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgb(241 240 236 / .7); }
.shopbar__sort select {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgb(216 173 76 / .45);
  border-radius: calc(var(--r) * .6);
  color: #f1f0ec;
  background: #1a1a1a;
  font: inherit;
}

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.pcard[hidden] { display: none; }
.pcard a { display: grid; gap: 8px; }
.pcard__img {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: var(--gold-line);
  border-radius: var(--r);
  box-shadow: var(--card-shadow);
  background: #d9d9d9;
}
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
.pcard__alt { opacity: 0; }
.pcard a:hover .pcard__alt, .pcard a:focus-visible .pcard__alt { opacity: 1; }
.pcard a:hover img { transform: scale(1.03); }
.pcard__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  background: var(--gold-shine);
}
.pcard__tag--out { color: #f1f0ec; background: rgb(18 18 18 / .8); }
.pcard__name { font-size: 13px; font-stretch: 100%; line-height: 1.35; color: #f1f0ec; }
.pcard__price { font-size: 14px; font-variant-numeric: tabular-nums; color: #e0bd62; }
.pgrid__empty { margin: 24px 0 0; color: rgb(241 240 236 / .7); }

/* Product page */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 60px);
  margin-bottom: var(--gap);
  padding: clamp(16px, 2.4vw, 40px);
  border: var(--gold-edge);
  border-radius: var(--r);
  box-shadow: var(--panel-shadow);
  color: #f1f0ec;
  background: #121212 url("/themes/sasha/assets/annie.webp?v=2") center / cover;
}
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-self: start; position: sticky; top: 16px; }
.gallery__stage { grid-column: 2; position: relative; aspect-ratio: 2 / 3; overflow: hidden; border: var(--gold-line); border-radius: var(--r); box-shadow: var(--card-shadow); background: #d9d9d9; }
.gallery__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s var(--ease); }
.gallery__slide.is-on { opacity: 1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { grid-column: 1; grid-row: 1; display: grid; align-content: start; gap: 10px; }
.gallery__thumb { padding: 0; overflow: hidden; border: 1px solid transparent; border-radius: calc(var(--r) * .6); background: none; cursor: pointer; opacity: .6; transition: opacity .3s, border-color .3s; }
.gallery__thumb img { width: 100%; height: auto; }
.gallery__thumb.is-on, .gallery__thumb:hover { opacity: 1; border-color: #d8ad4c; }

.product__info h1 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 400; line-height: 1.15; color: #f1f0ec; }
.price { margin: 16px 0 0; font-size: clamp(1.3rem, 2vw, 1.8rem); color: #e0bd62; font-variant-numeric: tabular-nums; }
.price small { font-size: 12px; color: rgb(241 240 236 / .6); }
.product__short { margin-top: 18px; font-size: 14px; font-stretch: 100%; line-height: 1.65; color: rgb(241 240 236 / .8); }
.product__short p { margin: 0 0 10px; }

.buy { display: grid; gap: 4px; margin-top: 22px; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; border: 0; }
.pick legend { width: 100%; margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #d8ad4c; }
.pick.is-missing legend { color: #ff9f80; }
.pick.is-missing .chip span { border-color: #ff9f80; }
.chip.is-gone span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.buy__row { display: flex; gap: 10px; align-items: stretch; margin-top: 6px; }
.buy__row .btn { flex: 1; margin-top: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgb(216 173 76 / .45); border-radius: calc(var(--r) * .7); }
.qty button { width: 40px; height: 48px; border: 0; color: #e0bd62; background: none; font: inherit; font-size: 18px; cursor: pointer; }
.qty input { width: 42px; height: 48px; border: 0; text-align: center; color: #f1f0ec; background: none; font: inherit; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 32px; height: 34px; font-size: 16px; }
.qty--sm span { min-width: 24px; text-align: center; font-size: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 10px;
  padding: 0 28px;
  border: 0;
  border-radius: calc(var(--r) * .7);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .3s, transform .4s var(--ease), background .3s, color .3s;
}
.btn--gold { color: var(--ink); background: var(--gold-shine); }
.btn--gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--line { width: 100%; color: #e0bd62; border: 1px solid rgb(216 173 76 / .6); background: none; }
.btn--line:hover { color: var(--ink); background: var(--gold-shine); border-color: transparent; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.out { margin: 18px 0 0; color: #e0bd62; }
.out a { color: #e0bd62; }

.buy__note { min-height: 1.4em; margin: 10px 0 0; font-size: 13px; color: #e0bd62; }

.perks-mini { display: grid; gap: 8px; margin: 26px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgb(216 173 76 / .25); font-size: 13px; font-stretch: 100%; color: rgb(241 240 236 / .78); }
.perks-mini li::before { content: "✦"; margin-right: 10px; font-size: 10px; color: #d8ad4c; }
.perks-mini a { color: #e0bd62; }
.ship { margin-top: 18px; padding: 14px 0 0; border-top: 1px solid rgb(216 173 76 / .25); font-size: 13px; font-stretch: 100%; }
.ship summary { cursor: pointer; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #d8ad4c; }
.ship ul { display: grid; gap: 6px; margin: 12px 0; padding: 0; list-style: none; color: rgb(241 240 236 / .8); }
.ship li { display: flex; justify-content: space-between; gap: 16px; }
.ship b { font-weight: 500; color: #e0bd62; }
.ship a { color: #e0bd62; }

/* Cart lines, drawer and page */

.cline { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid rgb(216 173 76 / .2); }
.cline__img { overflow: hidden; border: var(--gold-line); border-radius: calc(var(--r) * .7); aspect-ratio: 2 / 3; }
.cline__img img { width: 100%; height: 100%; object-fit: cover; }
.cline__body { display: grid; gap: 6px; align-content: start; }
.cline__name { font-size: 13px; font-stretch: 100%; line-height: 1.35; color: #f1f0ec; }
.cline__opts { margin: 0; font-size: 12px; color: rgb(241 240 236 / .65); }
.cline__opts b { font-weight: 500; color: #e0bd62; }
.cline__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cline__price { font-weight: 500; color: #e0bd62; font-variant-numeric: tabular-nums; }
.cline__remove { justify-self: start; padding: 0; border: 0; background: none; color: rgb(241 240 236 / .55); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.cline__remove:hover { color: #ff9f80; }
.cart__empty { margin: 20px 0; color: rgb(241 240 236 / .75); }
.cart__empty a { color: #e0bd62; }
.cart__row { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: 15px; }
.cart__row b { color: #e0bd62; font-weight: 500; font-variant-numeric: tabular-nums; }

.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__veil { position: absolute; inset: 0; background: rgb(0 0 0 / .5); opacity: 0; transition: opacity .4s; }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  border: var(--gold-edge);
  border-radius: var(--r);
  color: #f1f0ec;
  background: #121212 url("/themes/sasha/assets/annie.webp?v=2") center / cover;
  transform: translateX(110%);
  transition: transform .6s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid rgb(216 173 76 / .25); }
.drawer__head p { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #e0bd62; }
.drawer__head button { width: 36px; height: 36px; border: 0; color: #e0bd62; background: none; font-size: 24px; cursor: pointer; }
.drawer__lines { flex: 1; overflow-y: auto; padding: 0 20px; }
.drawer__foot { display: grid; gap: 4px; padding: 18px 20px; border-top: 1px solid rgb(216 173 76 / .25); }
.drawer__foot .btn { width: 100%; margin-top: 6px; }
body.has-drawer { overflow: hidden; }

.cart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: clamp(20px, 3vw, 48px); align-items: start; }
.cart__sum { position: sticky; top: 16px; padding: 22px; border: var(--gold-line); border-radius: var(--r); background: rgb(10 10 10 / .55); }
.cart__sum .btn { width: 100%; }
.cart__hint { margin: 16px 0 8px; font-size: 12px; color: rgb(241 240 236 / .65); }
.cart__ship { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: rgb(241 240 236 / .8); }
.cart__ship li { display: flex; justify-content: space-between; gap: 12px; }
.cart__ship b { color: #e0bd62; font-weight: 500; }
.cart__back { display: block; margin-top: 14px; text-align: center; font-size: 12px; color: #e0bd62; }

.handover { margin-top: 14px; padding: 14px; border: 1px solid rgb(216 173 76 / .4); border-radius: calc(var(--r) * .7); font-size: 13px; color: rgb(241 240 236 / .85); }
.handover ol { margin: 8px 0; padding-left: 1.2em; }
.handover a { color: #e0bd62; }
.handover .btn { width: 100%; color: var(--ink); }

/* Long-form text: product descriptions, category copy, articles, info pages */

.prose {
  max-width: 78ch;
  margin: 0 auto var(--gap);
  padding: clamp(28px, 4vw, 64px) clamp(4px, 1vw, 16px);
  font-size: 16px;
  font-stretch: 100%;
  line-height: 1.75;
  color: #2a2824;
}
.prose h2, .prose h3, .prose h4 { margin: 1.8em 0 .6em; font-weight: 500; line-height: 1.25; color: #141312; }
.prose h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.prose h3 { font-size: 1.15rem; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose a { color: #7a5a17; text-decoration: underline; text-decoration-color: rgb(165 123 38 / .45); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: #141312; font-weight: 600; }
.prose table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid #d8d5ce; text-align: left; }
.prose th { color: #7a5a17; font-weight: 500; }
.prose__more { padding-top: 1.2em; border-top: 1px solid #d8d5ce; font-size: 14px; }

/* Blog */

.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.bcard a { display: grid; gap: 10px; }
.bcard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: var(--gold-line); border-radius: var(--r); box-shadow: var(--card-shadow); background: #2a2a2a; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.1s var(--ease); }
.bcard a:hover .bcard__img img { transform: scale(1.04); }
.bcard__meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #d8ad4c; }
.bcard__title { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.3; color: #f1f0ec; }
.bcard__text { font-size: 13px; font-stretch: 100%; line-height: 1.55; color: rgb(241 240 236 / .7); }

.post { margin-bottom: var(--gap); }
.post__head {
  padding: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px);
  border: var(--gold-edge);
  border-radius: var(--r);
  box-shadow: var(--panel-shadow);
  color: #f1f0ec;
  background: #121212 url("/themes/sasha/assets/annie.webp?v=2") center / cover;
}
.post__head h1 {
  max-width: 26ch;
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  background: var(--gold-shine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.post__meta { margin: 16px 0 0; font-size: 12px; color: rgb(241 240 236 / .65); }
.post__cover { max-width: 1100px; height: clamp(260px, 42vw, 560px); margin: var(--gap) auto 0; overflow: hidden; border: var(--gold-line); border-radius: var(--r); box-shadow: var(--card-shadow); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.post__body { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 78ch); justify-content: center; gap: clamp(24px, 4vw, 64px); }
.post__body .prose { margin: 0; }

.toc { position: sticky; top: 16px; align-self: start; margin-top: clamp(28px, 4vw, 64px); padding: 20px; border: var(--gold-line); border-radius: var(--r); background: #fff; font-size: 13px; font-stretch: 100%; }
.toc__title { margin: 0 0 10px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8a6420; }
.toc ol { display: grid; gap: 8px; margin: 0; padding-left: 1.1em; color: #6f6b64; }
.toc a { color: #2a2824; transition: color .3s; }
.toc a:hover, .toc a.is-on { color: #8a6420; }

.faq { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid #d8d5ce; }
.faq__item { border-bottom: 1px solid #d8d5ce; }
.faq__item summary { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; cursor: pointer; font-weight: 500; color: #141312; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; color: #a57b26; transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 16px; color: #3a3833; }

/* Reveal on scroll, same easing as the home page */

.js .sub [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .sub [data-rise].is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post__body { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; margin-top: var(--gap); }
}

@media (max-width: 760px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bgrid { grid-template-columns: minmax(0, 1fr); }
  .shopbar__end { margin-left: 0; width: 100%; justify-content: space-between; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .cart { grid-template-columns: minmax(0, 1fr); }
  .cart__sum { position: static; }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .gallery__stage { grid-column: 1; }
  .gallery__thumbs { grid-column: 1; grid-row: 2; grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; }
  .prose { font-size: 15px; }
}
