/* Mad Outdoor Sale. All styles live here. Tokens first. */

:root {
  /* Color tokens */
  --pegboard: #DDE2DF;
  --slate: #1E2B30;
  --manila: #EBD49A;
  --tag-white: #FBFBF8;
  --blaze: #F2601D;
  --moss: #3F5B3C;
  --pencil: #5E676B;
  /* --pencil fails AA as small text on manila and pegboard (about 4:1).
     Secondary text on those surfaces uses this slightly darker pencil. */
  --pencil-text: #444D51;
  --slate-dim: #C5CFCB; /* secondary text on slate */

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.8rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.563rem;
  --step-3: 1.953rem;
  --step-4: 2.441rem;
  --step-5: clamp(2.6rem, 1.2rem + 5.5vw, 3.815rem);

  /* Layout */
  --gutter: 16px;
  --maxw: 1240px;
  --radius: 4px;
  --tag-shadow: drop-shadow(0 1px 0 rgba(30, 43, 48, .25)) drop-shadow(0 6px 6px rgba(30, 43, 48, .17));

  color-scheme: light;
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 17px; -webkit-text-size-adjust: 100%; }
@media (min-width: 900px) { html { font-size: 18px; } }

body {
  margin: 0;
  background: var(--pegboard);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.no-scroll { overflow: hidden; }
main { flex: 1 0 auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--moss); text-underline-offset: 3px; }
a:hover { color: var(--moss); }

:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }
/* Blaze only shows clearly against the dark header/footer */
:is(.site-header, #site-header, .site-footer, #site-footer) :focus-visible { outline-color: var(--blaze); }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--tag-white); color: var(--slate);
  padding: 12px 16px; border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: 8px; }

.section { padding-block: 40px; border-top: 1px solid var(--pencil); }
.section:first-child { border-top: 0; }
@media (min-width: 900px) { .section { padding-block: 56px; } }

.muted { color: var(--pencil-text); }
.small { font-size: var(--step--1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 2px solid var(--slate); border-radius: var(--radius);
  background: transparent; color: var(--slate);
  font: 700 1.125rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn--primary { background: var(--blaze); border-color: var(--blaze); color: var(--slate); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tel-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

.link-btn {
  background: none; border: 0; padding: 0 4px; min-height: 44px;
  font: inherit; color: var(--moss); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label, .field .label, fieldset legend {
  display: block; font-weight: 700; margin-bottom: 6px; padding: 0;
}
.field .hint { font-weight: 400; color: var(--pencil-text); }
.panel .field .hint, .tagpanel--new .hint { color: var(--pencil); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  background: var(--tag-white); color: var(--slate);
  border: 2px solid var(--pencil); border-radius: var(--radius);
  font: inherit;
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: auto; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.check {
  display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer;
}
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--moss); }
.check .n { margin-left: auto; color: var(--pencil-text); font-size: var(--step--1); }
.form-note {
  border: 2px solid var(--slate); border-radius: var(--radius);
  background: var(--tag-white); padding: 12px 14px; margin: 0 0 16px;
}
.form-note[hidden] { display: none; }
.req { font-weight: 400; color: var(--pencil-text); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Header ---------- */
.site-header { background: var(--slate); color: var(--tag-white); }
.site-header a { color: var(--tag-white); }
.site-header__bar {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "brand menu" "phone phone";
  gap: 4px 12px; align-items: center; padding-block: 10px;
}
.brand {
  grid-area: brand; font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-2); letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.menu-btn {
  grid-area: menu; min-height: 44px; min-width: 76px; padding: 0 16px;
  background: transparent; color: var(--tag-white);
  border: 2px solid var(--tag-white); border-radius: var(--radius);
  font: 700 1rem var(--font-body); cursor: pointer;
}
.header-contact { grid-area: phone; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 16px; }
.header-phone {
  font-weight: 700; font-size: 1.125rem; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.header-status { color: var(--slate-dim); font-size: var(--step--1); margin: 0; }
.site-nav { display: none; grid-column: 1 / -1; padding-bottom: 8px; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; }
.site-nav a {
  display: flex; align-items: center; min-height: 48px;
  font-weight: 700; font-size: 1.125rem; text-decoration: none;
  border-top: 1px solid rgba(251, 251, 248, .25);
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

@media (min-width: 900px) {
  .site-header__bar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav phone";
    gap: 0 32px;
  }
  .menu-btn { display: none; }
  .site-nav { display: block; grid-area: nav; grid-column: auto; padding: 0; }
  .site-nav ul { display: flex; gap: 8px; }
  .site-nav a { border: 0; padding: 0 10px; font-size: 1.0625rem; }
  .header-contact { display: block; text-align: right; }
  .header-phone { display: flex; justify-content: flex-end; min-height: 44px; margin-bottom: -10px; }
  .header-status { line-height: 1.2; padding-bottom: 6px; }
  .brand { font-size: var(--step-3); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: var(--tag-white); margin-top: 40px; padding-block: 40px; }
.site-footer a { color: var(--tag-white); }
.site-footer h2 { font-size: var(--step-1); margin-bottom: .4em; }
.site-footer__grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer p { margin-bottom: .5em; }
.hours-compact { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 0; font-size: var(--step--1); }
.hours-compact dt { font-weight: 700; }
.hours-compact dd { margin: 0; }
.footer-links { list-style: none; }
.footer-links a, .footer-links span { display: inline-flex; align-items: center; min-height: 44px; }
.disclaimer { color: var(--slate-dim); font-size: var(--step--1); margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(251, 251, 248, .25); }

/* ---------- Tag component ----------
   a.tag            link, rotation, focus ring
   .tag__shadow     drop-shadow (box-shadow would be clipped by the tag shape)
   .tag__body       clip-path shape + punched hole mask + background        */
.tag-grid {
  list-style: none; display: grid; gap: 22px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) { .tag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; } }
@media (min-width: 1100px) { .tag-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tag-grid > li { display: flex; }

.tag {
  display: block; width: 100%; color: var(--slate); text-decoration: none;
  transform: rotate(var(--rot, 0deg)); transform-origin: 50% 12px;
  transition: transform .15s ease-out;
}
.tag:hover, .tag:focus-visible { transform: rotate(0deg) translateY(-2px); }
.tag--flat { transform: none; }
.tag--flat:hover, .tag--flat:focus-visible { transform: translateY(-2px); }
.tag__shadow { display: block; height: 100%; filter: var(--tag-shadow); }

.tagshape, .tag__body {
  --c: 22px;
  position: relative; display: flex; flex-direction: column;
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%, 0 var(--c));
  -webkit-mask-image: radial-gradient(circle at 50% 21px, transparent 0 6px, #000 6.5px);
          mask-image: radial-gradient(circle at 50% 21px, transparent 0 6px, #000 6.5px);
}
.tagshape > *, .tag__body > * { position: relative; }
.tagshape--used { background: var(--manila); }
.tagshape--new { background: var(--tag-white); }
/* reinforcement ring around the punched hole */
.tagshape::before, .tag__body::before {
  content: ""; position: absolute; top: 21px; left: 50%; width: 20px; height: 20px;
  margin: -10px 0 0 -10px; border: 1px solid var(--pencil); border-radius: 50%; z-index: 1;
}
/* thin printed rule 6px in from the edge, with matching clipped corners (used tags only).
   Built from a pencil-coloured shape (.tagshape__rule) with a manila shape 1px inside it (.tagshape__fill). Real elements, not pseudo-elements, so contrast checkers can read the background. */
.tagshape--used > .tagshape__rule {
  position: absolute; inset: 6px; background: var(--pencil);
  clip-path: polygon(18.5px 0, calc(100% - 18.5px) 0, 100% 18.5px, 100% 100%, 0 100%, 0 18.5px);
  z-index: 0; pointer-events: none;
}
.tagshape--used > .tagshape__fill {
  position: absolute; inset: 7px; background: var(--manila);
  clip-path: polygon(17.9px 0, calc(100% - 17.9px) 0, 100% 17.9px, 100% 100%, 0 100%, 0 17.9px);
  z-index: 0; pointer-events: none;
}
.tagshape > *, .tag__body > * { z-index: 1; }
.tagshape > .tagshape__rule, .tag__body > .tagshape__rule,
.tagshape > .tagshape__fill, .tag__body > .tagshape__fill { position: absolute; z-index: 0; pointer-events: none; }

.tag__body { padding: 40px 14px 16px; height: 100%; }
.tag__photo { position: relative; }
.tag__photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 2px; background: var(--pegboard);
}
.tag__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-weight: 700; line-height: 1.25; margin-top: 10px; min-height: 2.5em;
}
.tag__sub { font-size: var(--step--1); color: var(--pencil-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 0 8px; margin-top: auto; padding-top: 10px;
}
.tag__price { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1; letter-spacing: -0.01em; }
.tag__cond { margin-left: auto; font-weight: 700; font-size: var(--step--1); }
.tag__was { font-size: var(--step--1); color: var(--pencil-text); min-height: 1.4em; }
.tagshape--new .tag__sub, .tagshape--new .tag__was { color: var(--pencil); }
.tag__bars {
  display: block; width: 40px; height: 14px; margin-top: 4px;
  background: repeating-linear-gradient(90deg, var(--slate) 0 1px, transparent 1px 3px, var(--slate) 3px 5px, transparent 5px 6px, var(--slate) 6px 7px, transparent 7px 10px);
}
.tag__chip {
  position: absolute; top: 6px; left: 6px; padding: 1px 8px 0;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.35;
  border-radius: 2px;
}
.tag__chip--hold { background: var(--tag-white); color: var(--blaze); }
.tag__chip--new { background: var(--blaze); color: var(--slate); }
.tag__stamp {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%, -50%) rotate(-8deg);
  border: 4px solid var(--slate); border-radius: 4px; padding: 0 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1.15; letter-spacing: .06em;
  color: var(--slate); opacity: .85; background: rgba(251, 251, 248, .6);
  pointer-events: none;
}
.tag__photo .tag__stamp { font-size: 2rem; }

/* Home: Just in swing (the one motion on the site) */
@keyframes swing {
  from { transform: rotate(calc(var(--rot, 0deg) + 6deg)); }
  to   { transform: rotate(var(--rot, 0deg)); }
}
@media (prefers-reduced-motion: no-preference) {
  .swing .tag { animation: swing .4s ease-out backwards; animation-delay: calc(var(--i, 0) * 60ms); }
}
@media (prefers-reduced-motion: reduce) {
  .tag, .tag:hover, .tag:focus-visible { transform: none; transition: none; }
  .tag:hover, .tag:focus-visible { transform: translateY(-2px); }
}

/* ---------- Home ---------- */
.hero { padding-block: 36px 44px; }
@media (min-width: 900px) { .hero { padding-block: 64px 72px; } }
.hero h1 { max-width: 14ch; }
.hero p { font-size: var(--step-1); max-width: 40ch; margin-bottom: 1.2em; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.section-head h2 { margin: 0; }
.section-head h2::before {
  content: ""; display: inline-block; width: .38em; height: .38em; background: var(--blaze);
  margin-right: .3em; vertical-align: .08em;
}
.section-head--plain h2::before { content: none; }
.see-all { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.see-all::after { content: "\25B8"; margin-left: .35em; }
.strip {
  list-style: none; display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden;
  margin-inline: calc(-1 * var(--gutter)); padding: 18px var(--gutter) 28px;
  scroll-padding-inline: var(--gutter);
}
.strip > li { flex: 0 0 188px; display: flex; }

.cat-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.cat-links a {
  display: inline-flex; align-items: baseline; gap: 8px; min-height: 48px; padding: 4px 0;
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1;
  letter-spacing: -0.01em; color: var(--slate);
}
.cat-links .n { font-family: var(--font-body); font-weight: 400; font-size: var(--step--1); color: var(--pencil-text); }

.two-col { display: grid; gap: 40px; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.steps { list-style: none; counter-reset: step; margin: 0 0 1em; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; align-items: baseline; padding: 6px 0; }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-3); line-height: 1; color: var(--slate);
}
.steps--row { display: grid; gap: 8px 32px; }
@media (min-width: 768px) { .steps--row { grid-template-columns: repeat(3, 1fr); } }

.visit-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.hours-table { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours-table th, .hours-table td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--pencil); font-weight: 400; }
.hours-table th { font-weight: 700; width: 5em; }
.hours-table tr.today th, .hours-table tr.today td { font-weight: 700; }

/* ---------- Shop ---------- */
.page-head { padding-block: 28px 8px; }
.page-head h1 { font-size: var(--step-4); margin-bottom: .15em; }
.shop { display: block; padding-bottom: 24px; }
.shop-search { margin-bottom: 12px; }
.shop-search label { display: block; font-weight: 700; margin-bottom: 6px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 10px; }
.toolbar .count { order: 3; flex: 1 0 100%; margin: 0; font-weight: 700; font-size: var(--step-1); }
.toolbar .filters-btn { order: 1; }
.toolbar .sort { order: 2; flex: 1 1 150px; display: flex; align-items: center; gap: 8px; }
.toolbar .sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toolbar .sort select { width: 100%; min-width: 0; }
.filters-btn { min-height: 48px; padding: 0 18px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 16px; min-height: 0; }
.active-filters:empty { display: none; }
.active-filters .lbl { font-weight: 700; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  background: var(--tag-white); color: var(--slate); border: 2px solid var(--slate);
  border-radius: var(--radius); font: 700 .9rem var(--font-body); cursor: pointer;
}
.empty { background: var(--tag-white); border: 2px solid var(--slate); border-radius: var(--radius); padding: 24px; }
.empty p { font-size: var(--step-1); }

.filters { display: none; }
.filters .grp { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1; margin: 0 0 4px; padding: 0; }
.filters fieldset { margin-bottom: 20px; }
.filters .sheet-only { display: none; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-row label { font-weight: 700; display: block; margin-bottom: 4px; }
.filters .group { margin-bottom: 4px; }

@media (max-width: 1099.98px) {
  .filters.is-open {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 50;
    background: var(--pegboard);
  }
  .filters .sheet-only { display: flex; }
  .filters .sheet__head { align-items: center; justify-content: space-between; padding: 8px var(--gutter); border-bottom: 1px solid var(--pencil); }
  .filters .sheet__head h2 { margin: 0; font-size: var(--step-2); }
  .filters .sheet__body { flex: 1 1 auto; overflow-y: auto; padding: 16px var(--gutter) 24px; }
  .filters .sheet__foot { padding: 12px var(--gutter); border-top: 1px solid var(--pencil); background: var(--pegboard); }
  .sheet__foot .btn { width: 100%; }
  .filters .sheet__body, .filters .sheet__foot { display: block; }
}
@media (min-width: 1100px) {
  .shop {
    display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 40px;
    grid-template-rows: auto 1fr; grid-template-areas: "search results" "filters results"; align-items: start;
  }
  .shop-search { grid-area: search; }
  .filters { display: block; grid-area: filters; }
  .shop-results { grid-area: results; }
  .filters-btn { display: none; }
  .toolbar .count { order: 0; flex: 1 1 auto; }
  .toolbar .sort { order: 0; flex: 0 0 auto; }
  .toolbar .sort label { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-weight: 700; }
  .toolbar .sort select { width: auto; min-width: 12.5em; }
  .filters .sheet__head, .filters .sheet__foot { display: none !important; }
}

/* ---------- Item ---------- */
.crumbs { padding-block: 18px 6px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.item { display: grid; gap: 28px; align-items: start; padding-bottom: 32px; }
@media (min-width: 800px) { .item { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; } }
.gallery__main {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
}
.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: var(--tag-white); }
.gallery__main .tag__stamp { font-size: 3.5rem; border-width: 6px; }
.thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs button {
  display: block; width: 72px; padding: 0; background: none; border: 2px solid transparent;
  border-radius: 4px; cursor: pointer;
}
.thumbs button[aria-current="true"] { border-color: var(--slate); }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.sold-wrap { position: relative; }

.tagpanel-shadow { filter: var(--tag-shadow); }
.tagpanel { padding: 52px 24px 28px; }
@media (min-width: 900px) { .tagpanel { padding: 52px 32px 32px; } }
.tagpanel h1 { font-size: var(--step-4); margin-bottom: .2em; }
.tagpanel .sub { color: var(--pencil-text); margin-bottom: .6em; }
.tagpanel--new .sub, .tagpanel--new .muted { color: var(--pencil); }
.price-big { font-family: var(--font-display); font-weight: 800; font-size: var(--step-5); line-height: 1; letter-spacing: -0.01em; margin: 0; }
.was { margin: 0 0 1em; color: var(--pencil-text); }
.tagpanel--new .was { color: var(--pencil); }
.cond { font-weight: 700; margin-bottom: .3em; }
.notes { margin: 0 0 1em; font-style: italic; }
.status-line { font-weight: 700; color: var(--moss); margin-bottom: 1em; }
.hold-note { border-left: 4px solid var(--slate); padding: 4px 0 4px 12px; margin: 0 0 1em; }
.tagpanel .btn-row { margin-bottom: 14px; }
.tagpanel .btn-row .btn { flex: 1 1 180px; }
.hold-form { border-top: 1px solid var(--pencil); padding-top: 16px; margin-bottom: 16px; }
.hold-form[hidden] { display: none; }
.hold-form .terms { font-weight: 700; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin: 18px 0 0; }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; }
.related { padding-block: 24px 16px; border-top: 1px solid var(--pencil); }
.related h2 { margin-bottom: 18px; }

dialog.photo-dialog {
  border: 0; padding: 12px; background: var(--tag-white); color: var(--slate);
  max-width: 96vw; max-height: 96vh; border-radius: 2px;
}
dialog.photo-dialog::backdrop { background: rgba(30, 43, 48, .88); }
.photo-dialog img { max-width: 100%; max-height: calc(100vh - 120px); margin: 10px auto 0; object-fit: contain; }
.photo-dialog .dialog-bar { display: flex; justify-content: flex-end; }

/* ---------- Sell / thanks / 404 ---------- */
.prose { padding-block: 28px 8px; }
.prose h1 { font-size: var(--step-4); }
.prose .lede { font-size: var(--step-1); }
.list-plain { list-style: none; }
.list-plain li { padding: 4px 0; }
.panel { background: var(--tag-white); border: 2px solid var(--slate); border-radius: var(--radius); padding: 20px; }
.form-grid { display: grid; gap: 0 20px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.centered-msg { padding-block: 56px; }
noscript .noscript-msg { background: var(--tag-white); border: 2px solid var(--slate); padding: 16px; margin: 16px; }
