/* ------------------------------------------------------------------
   Shop styles. Colours and type are set once here; change the
   variables below to restyle the whole shop.
------------------------------------------------------------------- */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/assets/fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* palette: waxed canvas, brass hardware, chalk-marked cotton */
  --chalk: #ecede7;     /* page */
  --paper: #f7f7f3;     /* raised surfaces, inputs */
  --loden: #24322a;     /* text, header, primary buttons */
  --moss: #56614a;      /* secondary text */
  --brass: #a67c2e;     /* progress, focus */
  --brass-light: #e3c98a; /* tags */
  --brass-ink: #75561b; /* sale prices */
  --thread: #bcbdb1;    /* stitch lines, borders */
  --error: #9e3524;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wide: 125%;
  --semi: 112%;

  /* type scale (classic: 14 17 21 28 36 48) */
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-h3: 1.3125rem;
  --t-h2: 1.75rem;
  --t-h1: 2.25rem;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 82rem;
  --radius-img: 3px;
  --radius-control: 6px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--chalk);
  color: var(--loden);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  font-stretch: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- stitched seam: the one decorative device ---------- */
.seam {
  border: 0;
  height: 2px;
  margin: 1.5rem 0;
  background: repeating-linear-gradient(90deg, var(--thread) 0 11px, transparent 11px 18px);
}

/* ---------- header & footer ---------- */
.announce {
  margin: 0;
  background: var(--loden);
  color: var(--paper);
  text-align: center;
  font-size: var(--t-small);
  padding: 0.45rem var(--gutter);
}

.site-header {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-stretch: var(--wide);
  font-weight: 900;
  font-size: 1.3125rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__list {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  text-decoration: underline;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.cart-link__count {
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--loden);
  color: var(--paper);
  font-size: var(--t-small);
  display: inline-grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.cart-link__count.is-bumped {
  animation: bump 420ms ease-out;
}
@keyframes bump {
  40% {
    transform: scale(1.35);
    background: var(--brass);
  }
}

.site-footer {
  margin-top: 5rem;
  background: var(--loden);
  color: var(--paper);
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 3rem;
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  font-size: var(--t-small);
}
.site-footer__name {
  margin: 0;
  font-stretch: var(--wide);
  font-weight: 800;
  font-size: var(--t-body);
  text-transform: uppercase;
}
.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.site-footer__links:empty {
  display: none;
}
.site-footer__note {
  margin: 0;
  color: #c9cfc4;
  max-width: 28ch;
}

/* ---------- buttons & controls ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--loden);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--loden);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: var(--paper);
}
.button--primary {
  background: var(--loden);
  color: var(--paper);
}
.button--primary:hover {
  background: #33463b;
}
.button--block {
  width: 100%;
}
.button:disabled,
.button[aria-disabled='true'] {
  background: var(--thread);
  border-color: var(--thread);
  color: var(--moss);
  cursor: not-allowed;
}

.field {
  display: grid;
  gap: 0.35rem;
}
.field__label {
  font-size: var(--t-small);
  font-weight: 600;
}
.field__select,
.field__input {
  font: inherit;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--thread);
  border-radius: var(--radius-control);
  background: var(--paper);
  color: var(--loden);
  width: 100%;
}

.form-error {
  color: var(--error);
  font-size: var(--t-small);
  margin: 0.75rem 0 0;
}

.alert {
  border-left: 4px solid var(--error);
  background: var(--paper);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.alert p {
  margin: 0.2rem 0;
}

.page-title {
  font-stretch: var(--semi);
  font-weight: 800;
  font-size: var(--t-h1);
  margin: 1.5rem 0 2rem;
  letter-spacing: -0.01em;
}

/* ---------- home ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.5rem 3rem;
  padding: 2.5rem 0 3rem;
}
.intro__title {
  font-stretch: var(--wide);
  font-weight: 850;
  font-size: clamp(2.75rem, 7.4vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.intro__text {
  margin: 0;
  max-width: 38ch;
  color: var(--moss);
  font-size: var(--t-h3);
  line-height: 1.45;
}

.catalog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  background: repeating-linear-gradient(90deg, var(--thread) 0 11px, transparent 11px 18px) bottom / 100% 2px no-repeat;
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter button {
  font: inherit;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--loden);
  border-radius: 999px;
  background: transparent;
  color: var(--loden);
  cursor: pointer;
}
.filter button[aria-pressed='true'] {
  background: var(--loden);
  color: var(--paper);
}
.catalog__count {
  margin: 0;
  color: var(--moss);
  font-size: var(--t-small);
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: 2.5rem 1.5rem;
}

.card {
  position: relative;
}
.card__link {
  text-decoration: none;
  display: block;
}
.card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: #e8e1d3;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.card__link:hover .card__media img {
  transform: scale(1.03);
}
.card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.card__name {
  font-size: var(--t-body);
  font-weight: 650;
}
.card__link:hover .card__name {
  text-decoration: underline;
}
.card__soldout .card__media img {
  opacity: 0.55;
}

.price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price--sale {
  color: var(--brass-ink);
  font-weight: 650;
}
.price__was {
  color: var(--moss);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 0.4rem;
}

.tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--brass-light);
  color: var(--loden);
  font-size: var(--t-small);
  font-weight: 700;
  padding: 0.2rem 0.6rem 0.2rem 1.25rem;
  border-radius: 2px 999px 999px 2px;
}
.tag::before {
  /* the punched hole of a hang tag */
  content: '';
  position: absolute;
  left: 0.45rem;
  top: 50%;
  width: 0.38rem;
  height: 0.38rem;
  margin-top: -0.19rem;
  border-radius: 50%;
  background: var(--chalk);
}
.tag--muted {
  background: var(--paper);
}

.dots {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.dots li {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--swatch, var(--thread));
  box-shadow: inset 0 0 0 1px rgba(36, 50, 42, 0.25);
}

.empty {
  color: var(--moss);
}

/* ---------- product page ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding-top: 1rem;
  align-items: start;
}
.product__media {
  position: sticky;
  top: 1rem;
}
.product__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-img);
  background: #e8e1d3;
}
.thumbs {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-img);
  background: none;
  cursor: pointer;
  width: 4.5rem;
}
.thumbs button[aria-current='true'] {
  border-color: var(--loden);
}
.thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
}

.crumb {
  margin: 0 0 0.75rem;
  font-size: var(--t-small);
  color: var(--moss);
}
.product__name {
  font-stretch: var(--semi);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.product__price {
  font-size: var(--t-h3);
  margin: 0.6rem 0 1.75rem;
}

.option {
  border: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  min-width: 0;
}
.option__legend {
  padding: 0;
  margin-bottom: 0.6rem;
  font-weight: 650;
}
.option__chosen {
  font-weight: 400;
  color: var(--moss);
}
.option__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.choice__face {
  display: inline-grid;
  place-items: center;
  min-width: 3.4rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
  border: 1.5px solid var(--thread);
  border-radius: var(--radius-control);
  background: var(--paper);
  font-weight: 600;
}
.choice input:checked + .choice__face {
  border-color: var(--loden);
  box-shadow: inset 0 0 0 1px var(--loden);
}
.choice input:focus-visible + .choice__face {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}
.choice--out .choice__face {
  color: var(--moss);
  text-decoration: line-through;
  background: transparent;
}

.choice--swatch .choice__face {
  min-width: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--chalk);
  background: var(--swatch, var(--thread));
  box-shadow: 0 0 0 1.5px var(--thread);
}
.choice--swatch input:checked + .choice__face {
  box-shadow: 0 0 0 2.5px var(--loden);
}
.choice--swatch.choice--out .choice__face {
  opacity: 0.45;
  background-image: linear-gradient(135deg, transparent 46%, var(--paper) 46% 54%, transparent 54%);
}

.stock-note {
  min-height: 1.5em;
  margin: -0.5rem 0 1rem;
  font-size: var(--t-small);
  color: var(--brass-ink);
  font-weight: 600;
}
.stock-note.is-out {
  color: var(--error);
}

.buy__row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.buy__add {
  flex: 1 1 12rem;
}
.qty {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--thread);
  border-radius: var(--radius-control);
  background: var(--paper);
  height: 3rem;
}
.qty__btn {
  width: 2.6rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.25rem;
  color: var(--loden);
  cursor: pointer;
}
.qty__input {
  width: 2.75rem;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 600;
  color: var(--loden);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty--small {
  height: 2.4rem;
}
.qty--small .qty__btn {
  width: 2.1rem;
}
.qty--small .qty__input {
  width: 2.2rem;
}

.added {
  margin: 0.9rem 0 0;
  font-weight: 600;
}

.product__desc {
  max-width: 60ch;
}
.product__desc p {
  margin: 0 0 1em;
}
.product__details {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--moss);
}
.product__details li {
  margin: 0.2rem 0;
}
.product__ship {
  font-size: var(--t-small);
  color: var(--moss);
  max-width: 55ch;
}

/* ---------- cart ---------- */
.cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr);
  gap: 2rem clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.cart__empty p {
  font-size: var(--t-h3);
  margin: 0 0 1.25rem;
}

.lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.line {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  gap: 0.4rem 1.25rem;
  padding: 1.25rem 0;
  background: repeating-linear-gradient(90deg, var(--thread) 0 11px, transparent 11px 18px) bottom / 100% 2px no-repeat;
}
.line__img {
  grid-row: span 2;
  width: 6.5rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-img);
  background: #e8e1d3;
}
.line__name {
  font-weight: 650;
  text-decoration: none;
}
.line__name:hover {
  text-decoration: underline;
}
.line__opts {
  margin: 0.15rem 0 0;
  color: var(--moss);
  font-size: var(--t-small);
}
.line__price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.line__each {
  display: block;
  font-weight: 400;
  color: var(--moss);
  font-size: var(--t-small);
}
.line__controls {
  grid-column: 2 / 4;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.line__remove {
  border: 0;
  background: none;
  padding: 0.25rem 0;
  font: inherit;
  font-size: var(--t-small);
  color: var(--moss);
  text-decoration: underline;
  cursor: pointer;
}
.line__problem {
  grid-column: 2 / 4;
  margin: 0;
  color: var(--error);
  font-size: var(--t-small);
  font-weight: 600;
}

.summary {
  background: var(--paper);
  border-radius: var(--radius-img);
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}
.summary__title {
  font-size: var(--t-h3);
  margin-bottom: 1rem;
}
.summary .seam {
  margin: 1.25rem 0;
}
.totals {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.totals dt,
.totals dd {
  margin: 0;
}
.totals dd {
  font-variant-numeric: tabular-nums;
}
.totals--grand {
  font-weight: 750;
  font-size: var(--t-h3);
}
.summary__note {
  margin: 0.6rem 0 0;
  font-size: var(--t-small);
  color: var(--moss);
}
.summary .button--block {
  margin-top: 1.25rem;
}
.summary__secure {
  margin: 0.75rem 0 0;
  font-size: var(--t-small);
  color: var(--moss);
  text-align: center;
}

.methods {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.methods li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--t-small);
}
.methods__days {
  display: block;
  color: var(--moss);
}
.methods__price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.free-ship {
  margin-top: 1rem;
}
.free-ship__text {
  margin: 0 0 0.4rem;
  font-size: var(--t-small);
  font-weight: 600;
}
.free-ship__track {
  height: 6px;
  border-radius: 3px;
  background: var(--chalk);
  overflow: hidden;
}
.free-ship__bar {
  height: 100%;
  width: 0;
  background: var(--brass);
  transition: width 400ms ease;
}

/* ---------- thanks & info ---------- */
.thanks,
.info {
  max-width: 44rem;
}
.thanks__lead {
  font-size: var(--t-h3);
  margin: -1rem 0 2rem;
  color: var(--moss);
  max-width: 40ch;
}
.receipt {
  background: var(--paper);
  padding: 1.5rem;
  border-radius: var(--radius-img);
  margin-bottom: 2rem;
}
.receipt__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.receipt__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.receipt__lines span:last-child {
  font-variant-numeric: tabular-nums;
}

.info__block {
  margin-bottom: 2.5rem;
}
.info__block h2 {
  font-stretch: var(--semi);
  font-size: var(--t-h2);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.info__block p {
  margin: 0 0 1em;
  max-width: 65ch;
}
.zones {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-small);
  margin-top: 0.5rem;
}
.zones th,
.zones td {
  text-align: left;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--thread);
  vertical-align: top;
}
.zones th {
  white-space: nowrap;
}
.zones + p {
  margin-top: 0.75rem;
}

/* ---------- admin ---------- */
.admin {
  max-width: var(--max);
}
.admin__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin__mode {
  margin: 0;
  font-size: var(--t-small);
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--brass-light);
}
.admin__mode.is-live {
  background: var(--loden);
  color: var(--paper);
}
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tabs button {
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--loden);
  border-radius: 999px;
  background: transparent;
  color: var(--loden);
  cursor: pointer;
}
.tabs button[aria-selected='true'] {
  background: var(--loden);
  color: var(--paper);
}
.admin__status {
  min-height: 1.5em;
  color: var(--moss);
  font-size: var(--t-small);
}

.order {
  background: var(--paper);
  border-radius: var(--radius-img);
  margin-bottom: 0.75rem;
}
.order summary {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}
.order summary::-webkit-details-marker {
  display: none;
}
.order__num {
  font-weight: 800;
  font-stretch: var(--semi);
}
.order__who {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order__when {
  display: block;
  color: var(--moss);
  font-size: var(--t-small);
}
.badge {
  font-size: var(--t-small);
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--chalk);
  white-space: nowrap;
}
.badge--paid {
  background: var(--brass-light);
}
.badge--shipped {
  background: var(--loden);
  color: var(--paper);
}
.order__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem 2.5rem;
  padding: 0 1.25rem 1.5rem;
}
.order__body h3 {
  font-size: var(--t-small);
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--moss);
}
.order__body h3:not(:first-child) {
  margin-top: 1.25rem;
}
.order__body address {
  font-style: normal;
}
.order__items {
  margin: 0;
  padding-left: 1.1rem;
}
.order__items li {
  margin-bottom: 0.3rem;
}
.ship-form {
  display: grid;
  gap: 0.75rem;
}
.check {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--t-small);
}
.stock-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  margin-bottom: 1.5rem;
  font-size: var(--t-small);
}
.stock-table caption {
  text-align: left;
  font-weight: 750;
  font-size: var(--t-body);
  padding: 0.5rem 0;
}
.stock-table th,
.stock-table td {
  text-align: left;
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid var(--chalk);
}
.stock-table td.num {
  font-variant-numeric: tabular-nums;
}
.stock-low {
  color: var(--brass-ink);
  font-weight: 700;
}
.stock-out {
  color: var(--error);
  font-weight: 700;
}

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .intro {
    grid-template-columns: 1fr;
    padding: 1.5rem 0 2rem;
  }
  .product {
    grid-template-columns: 1fr;
  }
  .product__media {
    position: static;
  }
  .cart__layout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .order summary {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  }
  .order summary .order__total {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-nav__list {
    gap: 0.9rem;
  }
  .line {
    grid-template-columns: 5rem minmax(0, 1fr) auto;
  }
  .line__img {
    width: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .announce,
  .tabs {
    display: none;
  }
}
