@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f8f6f0;
  --ink: #24231e;
  --night: #24231e;
  --muted: #625f55;
  --line: #d8d5ca;
  --accent: var(--ink);
  --wash: #eeece4;
  --sans: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: var(--sans);
  --display: var(--sans);
}
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; min-width: 0; }
main:focus, [tabindex="-1"]:focus { outline: 0; }
.pv-skip { position: fixed; z-index: 30; top: 8px; left: 8px; padding: .75rem 1rem; background: white; color: var(--ink); transform: translateY(-160%); }
.pv-skip:focus { transform: none; }
[hidden] { display: none !important; }
#cart-toast {
  position: fixed;
  z-index: 20;
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  right: 1.2rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  max-width: calc(100vw - 2.4rem);
  padding: .82rem .8rem .82rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-size: .91rem;
}
#cart-toast a { color: var(--paper); font-weight: 600; white-space: nowrap; text-underline-offset: .2em; }
#cart-toast button { border: 0; background: transparent; color: white; padding: 0 .5rem; min-height: 2rem; font-size: 1.35rem; cursor: pointer; }
.pv-toast-icon { color: var(--paper); font-size: 1.1rem; }
.pv-flow {
  width: min(100%, 80rem);
  padding: clamp(2rem, 5.2vw, 4.8rem) clamp(1.1rem, 4.8vw, 4.8rem) clamp(4.5rem, 8vw, 7.2rem);
  margin-inline: auto;
}
.pv-flow-back, .pv-flow-text { width: fit-content; padding: .15rem 0; border: 0; background: transparent; color: var(--accent); font: 600 .94rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: .22em; }
.pv-flow-back { display: inline-block; font: 400 .95rem var(--mono); letter-spacing: -.025em; }
.pv-flow-header { margin-bottom: clamp(1.8rem, 4.2vw, 3.4rem); }
.pv-flow-back + .pv-flow-header { margin-top: 1.25rem; }
.pv-flow-header h1 { margin: 0; font: 400 clamp(2.6rem, 6vw, 5.2rem)/1.06 var(--display); letter-spacing: -.025em; }
.pv-flow-header p { max-width: 54ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.22rem); margin: 1rem 0 0; }
.pv-flow-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(17.3rem, 1fr); gap: clamp(1.25rem, 4.8vw, 4rem); align-items: start; }
.pv-flow-summary, .pv-receipt {
  padding: clamp(1.15rem, 2.6vw, 2rem) 0;
  border-block: 1px solid var(--line);
  background: transparent;
}
.pv-flow-summary { border-top-color: var(--ink); }
.pv-flow-summary h2, .pv-cart-desc h2 { margin: 0; font-size: 1.34rem; line-height: 1.15; letter-spacing: -.025em; }
.pv-flow-summary p { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.pv-flow-summary dl, .pv-receipt dl { margin: 1.15rem 0; }
.pv-flow-summary dl > div, .pv-receipt dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid var(--line); }
.pv-flow-summary dt, .pv-receipt dt { color: var(--muted); }
.pv-flow-summary dd, .pv-receipt dd { margin: 0; font-weight: 560; text-align: right; overflow-wrap: anywhere; white-space: pre-line; }
.pv-flow-summary dd { font-variant-numeric: tabular-nums; font-size: .91rem; white-space: nowrap; }
.pv-flow-total dt, .pv-flow-total dd { color: var(--ink); font-weight: 600; }
.pv-flow-total dd { color: var(--accent); }
.pv-flow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; }
.pv-flow-primary {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content;
  min-height: 2.95rem; padding: .72rem 1.2rem; border: 1px solid transparent;
  border-radius: 0; background: var(--accent); color: var(--paper);
  font: 600 .97rem var(--sans); text-decoration: none; cursor: pointer;
}
.pv-flow-primary:hover { background: #3e3c32; }
.pv-flow-text:hover, .pv-flow-back:hover { text-decoration-thickness: 2px; }
.pv-cart-list { padding: 0; margin: 0; list-style: none; }
.pv-cart-line { display: grid; grid-template-columns: minmax(5.25rem, 7.5rem) 1fr auto; gap: 1.2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.pv-cart-line:last-child { border-bottom: 1px solid var(--line); }
.pv-cart-photo { display: grid; place-items: center; align-self: start; width: 100%; aspect-ratio: 1; }
.pv-cart-photo img { width: 91%; height: 87%; object-fit: contain; }
.pv-cart-desc p { max-width: 46ch; margin: .38rem 0 .5rem; color: var(--muted); font-size: .925rem; line-height: 1.4; }
.pv-line-unit { display: block; font: 400 .95rem var(--mono); color: var(--muted); }
.pv-qty { display: inline-flex; align-items: center; margin-top: .8rem; border: 1px solid var(--line); }
.pv-qty button, .pv-qty span { border: 0; min-width: 2.1rem; text-align: center; font: 500 .94rem var(--mono); }
.pv-qty button { min-height: 2.15rem; border-radius: .15rem; background: transparent; color: var(--ink); cursor: pointer; }
.pv-qty button:hover:not(:disabled) { background: var(--wash); }
.pv-qty button:disabled { color: var(--muted); opacity: .65; cursor: default; }
.pv-cart-line-end { display: flex; align-items: flex-end; flex-direction: column; justify-content: space-between; gap: .5rem; text-align: right; }
.pv-cart-line-end strong { font: 600 .98rem var(--mono); white-space: nowrap; }
.pv-cart-line-end .pv-flow-text { font-size: .95rem; }
.pv-cart-continue { margin-block: 1.05rem; }
.pv-form { min-width: 0; }
.pv-form fieldset { min-width: 0; margin: 0 0 1.5rem; padding: 0; border: 0; }
.pv-form legend, .pv-field { font-weight: 600; }
.pv-form legend { padding: 0; margin-bottom: .6rem; }
.pv-field { display: block; margin-bottom: 1.2rem; }
.pv-field > span { font-weight: 400; color: var(--muted); }
.pv-field input, .pv-field select, .pv-field textarea { width: 100%; display: block; min-height: 2.95rem; margin-top: .4rem; padding: .7rem .9rem; border: 1px solid #aba89e; border-radius: 0; background-color: #fffefa; color: var(--ink); font: 400 1rem var(--sans); }
.pv-field textarea { resize: vertical; }
.pv-field select { appearance: none; padding-right: 2.65rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23384152' stroke-width='1.6'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E"); background-size: 1rem; background-repeat: no-repeat; background-position: right 1rem center; }
.pv-delivery { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .95rem; margin-top: .4rem; border: 1px solid var(--line); cursor: pointer; }
.pv-delivery:has(:checked) { background: var(--wash); border-color: var(--accent); }
.pv-delivery input { accent-color: var(--accent); width: 1rem; height: 1rem; margin: 0; }
.pv-delivery strong { font: 400 .95rem var(--mono); white-space: nowrap; }
.pv-form-note { margin: 1.2rem 0; color: var(--muted); font-size: .92rem; }
.pv-receipt { max-width: 48rem; margin-bottom: 1.35rem; border-top-color: var(--ink); }
.pv-receipt-id { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; font: 400 .95rem var(--mono); }
.pv-receipt-id strong { color: var(--accent); }
.pv-receipt-lines { list-style: none; padding: 0; margin: 0; }
.pv-receipt-lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.pv-receipt-lines small { display: block; margin-top: .25rem; color: var(--muted); line-height: 1.35; }
.pv-receipt-lines b { white-space: nowrap; font: 500 .92rem var(--mono); }
@media (prefers-reduced-motion: no-preference) {
  #cart-toast:not([hidden]) { animation: pvToastIn .26s cubic-bezier(.2,.7,.2,1) both; }
  .pv-flow-primary { transition: transform .16s ease, background-color .18s ease; }
  .pv-flow-primary:active { transform: translateY(1px); }
}
@keyframes pvToastIn { from { opacity: 0; transform: translateY(.65rem); } }
@media (max-width: 48rem) {
  .pv-flow-grid { grid-template-columns: 1fr; }
  .pv-cart-line { gap: .8rem; grid-template-columns: 5.15rem 1fr; }
  .pv-cart-line-end { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .pv-cart-line-end .pv-flow-text { padding-block: .5rem; }
  #cart-toast { bottom: .65rem; right: .65rem; left: .65rem; max-width: none; flex-wrap: wrap; gap: .35rem .65rem; }
  #cart-status { flex: 1 1 9rem; }
}
@media (max-width: 25rem) {
  .pv-flow-header h1 { font-size: 2.5rem; overflow-wrap: anywhere; }
  .pv-delivery { grid-template-columns: auto 1fr; }
  .pv-delivery strong { grid-column: 2; }
  .pv-flow-summary dl > div, .pv-receipt dl > div { gap: .5rem; }
}
@media print {
  body, main { display: block; background: white; color: black; }
  #site-header, #site-footer, #cart-toast, .pv-skip, .pv-flow-actions, .pv-flow-back { display: none !important; }
  .pv-flow { width: 100%; padding: 0; }
  .pv-flow-header h1 { font-size: 30pt; }
  .pv-receipt { max-width: none; border: none; padding: 0; }
  .pv-receipt dl > div, .pv-receipt-lines li { break-inside: avoid; }
}
