/* Thriftipe
   Palette from the wordmark: forest green #14502F, burnt orange #C9522A,
   cream #FBF5E4. Hairlines, square corners, serif headlines. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("/fonts/karla-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("/fonts/karla-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("/fonts/karla-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf5e4;
  --paper-deep: #f2e8d0;
  --line: #e3d7bb;
  --ink: #1c2a21;
  --muted: #5c6a5e;
  --green: #14502f;
  --green-deep: #0e3a22;
  --orange: #c9522a;
  --max: 1320px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--green);
  color: var(--paper);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}

p,
dl,
dd,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

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

.sr-only:focus,
.focus\:not-sr-only:focus {
  position: fixed;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  z-index: 60;
}

.page {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 640px) {
  .page {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1024px) {
  .page {
    padding-left: 48px;
    padding-right: 48px;
  }
}

.label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

.num {
  font-variant-numeric: tabular-nums;
}

.font-serif {
  font-family: var(--serif);
}

/* Header --------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1) blur(6px);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--green);
  display: inline-flex;
  align-items: baseline;
}

.nav-link {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav-link:hover {
  border-color: var(--green);
}
.nav-link.is-active {
  color: var(--green);
  border-color: var(--green);
}

.bag-link {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid var(--green);
  font-size: 0.65rem;
  letter-spacing: 0;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: -10px;
}
.menu-bars {
  display: block;
  width: 22px;
}
.menu-bars span {
  display: block;
  height: 1px;
  background: var(--ink);
}
.menu-bars span + span {
  margin-top: 6px;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav a {
  font-family: var(--serif);
  font-size: 1.5rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green);
}
.mobile-nav a:last-child {
  border-bottom: 0;
}

.announce {
  background: var(--green);
  color: var(--paper);
  text-align: center;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 16px;
}

@media (min-width: 768px) {
  .head-inner {
    min-height: 76px;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* Typography ----------------------------------------------------------- */

.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--green);
}
.display em {
  font-style: italic;
}
.display-sm {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--green);
}

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--paper);
  border: 1px solid var(--green);
  padding: 14px 24px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 140ms ease, border-color 140ms ease;
  text-align: center;
}
.btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}
.btn[disabled],
.btn:disabled {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(20, 80, 47, 0.4);
  color: var(--green);
  padding: 13px 22px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.btn-outline:hover {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}

.link-underline {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 140ms ease;
}
.link-underline:hover {
  text-decoration-color: var(--orange);
}

/* Forms ---------------------------------------------------------------- */

.field {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font-size: 0.95rem;
  border-radius: 0;
  transition: border-color 140ms ease;
}
.field:focus {
  outline: none;
  border-color: var(--green);
}
.field::placeholder {
  color: rgba(92, 106, 94, 0.6);
}
select.field {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 8px) 55%, calc(100% - 3px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 20px;
}
textarea.field {
  resize: vertical;
}
.field-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 10px;
  font-size: 0.9rem;
  border-radius: 0;
}
.admin-input:focus {
  outline: none;
  border-color: var(--green);
}
.admin-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
}

/* Product grid --------------------------------------------------------- */

.product-grid {
  display: grid;
  gap: 40px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 640px) and (max-width: 899px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 4 / 5;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.product-card__media:hover img {
  transform: scale(1.02);
}
.product-card__body {
  padding-top: 12px;
}
.product-card__name {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 400;
}
.product-card__name a:hover {
  color: var(--green);
}
.product-card__price {
  font-size: 0.9rem;
  white-space: nowrap;
}
.product-card__meta {
  margin-top: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
}
.badge-sold {
  background: var(--ink);
  color: var(--paper);
}
.badge-reserved {
  background: var(--orange);
  color: var(--paper);
}

.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--paper-deep),
    var(--paper-deep) 10px,
    #ece0c6 10px,
    #ece0c6 11px
  );
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Category list -------------------------------------------------------- */

.category-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding 160ms ease, background 160ms ease;
}
.category-line:hover {
  padding-left: 12px;
  background: rgba(242, 232, 208, 0.4);
}
.category-line__name {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--green);
}
.category-line__note {
  grid-column: 1 / 2;
  font-size: 0.82rem;
  color: var(--muted);
}
.category-line__arrow {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--muted);
  transition: transform 160ms ease, color 160ms ease;
}
.category-line:hover .category-line__arrow {
  transform: translateX(4px);
  color: var(--orange);
}

/* Gallery -------------------------------------------------------------- */

.gallery__stage {
  background: var(--paper-deep);
  overflow: hidden;
}
.gallery__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery__thumb {
  flex: 0 0 72px;
  width: 72px;
  border: 1px solid transparent;
  opacity: 0.65;
  transition: opacity 140ms ease, border-color 140ms ease;
}
.gallery__thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.gallery__thumb:hover {
  opacity: 1;
}
.gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--green);
}

.measurements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.measurements > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.measurements dt {
  color: var(--muted);
}
.measurements dd {
  font-variant-numeric: tabular-nums;
}
.measurements > div:nth-child(odd) {
  padding-right: 16px;
}
.measurements > div:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

/* Shop filters --------------------------------------------------------- */

.filter-bar {
  display: grid;
  gap: 16px;
  align-items: end;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .filter-bar {
    grid-template-columns: 2fr 1fr 1fr auto;
  }
}
.filter-submit {
  height: 42px;
  padding: 0 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 140ms ease;
}
.chip:hover {
  border-color: var(--green);
  color: var(--green);
}
.chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
}

/* Contact -------------------------------------------------------------- */

.contact-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.contact-row__value {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--green);
  grid-column: 1;
}
.contact-row__note {
  grid-column: 1;
  font-size: 0.85rem;
  color: var(--muted);
}
.contact-row__arrow {
  grid-row: 1 / 4;
  align-self: center;
  color: var(--muted);
  transition: transform 160ms ease, color 160ms ease;
}
.contact-row:hover .contact-row__arrow {
  transform: translateX(4px);
  color: var(--orange);
}

/* Bag ------------------------------------------------------------------ */

.bag-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.bag-line__img {
  width: 80px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}
.bag-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.totals-row--grand {
  border-top: 1px solid var(--ink);
  margin-top: 6px;
  padding-top: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
}

/* Admin ---------------------------------------------------------------- */

body.admin {
  background: #f7f1e1;
}

.admin-top {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.admin-nav {
  border-top: 1px solid var(--line);
}
.admin-nav__link {
  display: inline-block;
  padding: 11px 14px;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.admin-nav__link:hover {
  color: var(--green);
}
.admin-nav__link.is-active {
  color: var(--green);
  border-color: var(--green);
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.status-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-available,
.status-order-confirmed,
.status-order-processing {
  color: var(--green);
}
.status-reserved,
.status-order-pending {
  color: #9a6b1f;
}
.status-sold {
  color: var(--ink);
}
.status-order-dispatched {
  color: var(--orange);
}
.status-order-delivered {
  color: var(--green);
}
.status-order-cancelled {
  color: #8a3a2a;
}

/* Utilities ------------------------------------------------------------ */

.hidden {
  display: none !important;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.items-end {
  align-items: flex-end;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-col {
  flex-direction: column;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.self-start {
  align-self: flex-start;
}
.self-end {
  align-self: flex-end;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.sticky {
  position: sticky;
}
.inline-block {
  display: inline-block;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.inline-flex {
  display: inline-flex;
}
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.min-w-0 {
  min-width: 0;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.uppercase {
  text-transform: uppercase;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre-line {
  white-space: pre-line;
}
.not-italic {
  font-style: normal;
}
.italic {
  font-style: italic;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.text-green {
  color: var(--green);
}
.text-muted {
  color: var(--muted);
}
.text-orange {
  color: var(--orange);
}
.text-ink {
  color: var(--ink);
}
.text-paper {
  color: var(--paper);
}
.bg-green {
  background: var(--green);
}
.bg-paper-deep {
  background: var(--paper-deep);
}
.border {
  border: 1px solid var(--line);
}
.border-t {
  border-top: 1px solid var(--line);
}
.border-b {
  border-bottom: 1px solid var(--line);
}
.border-y {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.border-l-2 {
  border-left: 2px solid var(--line);
}
.border-ink {
  border-color: var(--ink);
}
.border-green {
  border-color: var(--green);
}
.border-orange {
  border-color: var(--orange);
}
.border-dashed {
  border-style: dashed;
}
.border-paper-line {
  border-color: var(--line);
}
.divide-y > * + * {
  border-top: 1px solid var(--line);
}
.rounded-full {
  border-radius: 9999px;
}
.aspect-\[4\/5\] {
  aspect-ratio: 4 / 5;
}
.object-cover {
  object-fit: cover;
}
.h-14 {
  height: 56px;
}
.w-11 {
  width: 44px;
}
.h-16 {
  height: 64px;
}
.w-12 {
  width: 48px;
}
.h-5 {
  height: 20px;
}
.w-16 {
  width: 64px;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-\[22ch\] {
  max-width: 22ch;
}
.max-w-\[150px\] {
  max-width: 150px;
}
.max-w-\[200px\] {
  max-width: 200px;
}
.max-w-prose {
  max-width: 62ch;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-1 {
  margin-top: 4px;
}
.mt-2 {
  margin-top: 8px;
}
.mt-3 {
  margin-top: 12px;
}
.mt-4 {
  margin-top: 16px;
}
.mt-5 {
  margin-top: 20px;
}
.mt-6 {
  margin-top: 24px;
}
.mt-7 {
  margin-top: 28px;
}
.mt-8 {
  margin-top: 32px;
}
.mt-10 {
  margin-top: 40px;
}
.mt-14 {
  margin-top: 56px;
}
.mt-16 {
  margin-top: 64px;
}
.mt-20 {
  margin-top: 80px;
}
.mt-24 {
  margin-top: 96px;
}
.mb-1 {
  margin-bottom: 4px;
}
.mb-2 {
  margin-bottom: 8px;
}
.mb-3 {
  margin-bottom: 12px;
}
.mb-4 {
  margin-bottom: 16px;
}
.mb-6 {
  margin-bottom: 24px;
}
.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}
.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}
.py-4 {
  padding-top: 16px;
  padding-bottom: 16px;
}
.py-6 {
  padding-top: 24px;
  padding-bottom: 24px;
}
.py-8 {
  padding-top: 32px;
  padding-bottom: 32px;
}
.py-10 {
  padding-top: 40px;
  padding-bottom: 40px;
}
.py-12 {
  padding-top: 48px;
  padding-bottom: 48px;
}
.py-14 {
  padding-top: 56px;
  padding-bottom: 56px;
}
.py-16 {
  padding-top: 64px;
  padding-bottom: 64px;
}
.py-20 {
  padding-top: 80px;
  padding-bottom: 80px;
}
.px-1 {
  padding-left: 4px;
  padding-right: 4px;
}
.px-3 {
  padding-left: 12px;
  padding-right: 12px;
}
.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}
.px-5 {
  padding-left: 20px;
  padding-right: 20px;
}
.px-6 {
  padding-left: 24px;
  padding-right: 24px;
}
.p-5 {
  padding: 20px;
}
.p-6 {
  padding: 24px;
}
.pt-2 {
  padding-top: 8px;
}
.pt-3 {
  padding-top: 12px;
}
.pt-4 {
  padding-top: 16px;
}
.pt-5 {
  padding-top: 20px;
}
.pt-6 {
  padding-top: 24px;
}
.pt-8 {
  padding-top: 32px;
}
.pt-10 {
  padding-top: 40px;
}
.pt-12 {
  padding-top: 48px;
}
.pt-14 {
  padding-top: 56px;
}
.pb-2 {
  padding-bottom: 8px;
}
.pb-3 {
  padding-bottom: 12px;
}
.pb-5 {
  padding-bottom: 20px;
}
.pb-6 {
  padding-bottom: 24px;
}
.pb-8 {
  padding-bottom: 32px;
}
.pb-14 {
  padding-bottom: 56px;
}
.pr-3 {
  padding-right: 12px;
}
.gap-1 {
  gap: 4px;
}
.gap-2 {
  gap: 8px;
}
.gap-3 {
  gap: 12px;
}
.gap-4 {
  gap: 16px;
}
.gap-5 {
  gap: 20px;
}
.gap-6 {
  gap: 24px;
}
.gap-8 {
  gap: 32px;
}
.gap-10 {
  gap: 40px;
}
.gap-12 {
  gap: 48px;
}
.gap-16 {
  gap: 64px;
}
.space-y-1 > * + * {
  margin-top: 4px;
}
.space-y-1\.5 > * + * {
  margin-top: 6px;
}
.space-y-2 > * + * {
  margin-top: 8px;
}
.space-y-2\.5 > * + * {
  margin-top: 10px;
}
.space-y-3 > * + * {
  margin-top: 12px;
}
.space-y-4 > * + * {
  margin-top: 16px;
}
.space-y-5 > * + * {
  margin-top: 20px;
}
.space-y-6 > * + * {
  margin-top: 24px;
}
.space-y-7 > * + * {
  margin-top: 28px;
}
.space-y-8 > * + * {
  margin-top: 32px;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1.45;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.55;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 1.2;
}
.text-3xl {
  font-size: 1.9rem;
  line-height: 1.1;
}
.text-4xl {
  font-size: 2.4rem;
  line-height: 1.05;
}
.text-\[1\.02rem\] {
  font-size: 1.02rem;
}
.text-\[1\.05rem\] {
  font-size: 1.05rem;
}
.text-\[0\.65rem\] {
  font-size: 0.65rem;
}
.text-\[0\.6rem\] {
  font-size: 0.6rem;
}
.text-\[2rem\] {
  font-size: 2rem;
}
.leading-tight {
  line-height: 1.15;
}
.leading-relaxed {
  line-height: 1.65;
}
.leading-none {
  line-height: 1;
}
.tracking-\[-0\.02em\] {
  letter-spacing: -0.02em;
}
.tracking-\[0\.06em\] {
  letter-spacing: 0.06em;
}
.tracking-\[0\.12em\] {
  letter-spacing: 0.12em;
}
.tracking-\[0\.14em\] {
  letter-spacing: 0.14em;
}
.tracking-\[0\.16em\] {
  letter-spacing: 0.16em;
}
.underline {
  text-decoration: underline;
}
.resize-none {
  resize: none;
}
.resize-y {
  resize: vertical;
}
.cursor-pointer {
  cursor: pointer;
}
.top-1 {
  top: 4px;
}
.left-1 {
  left: 4px;
}
.bg-white\/40 {
  background: rgba(255, 255, 255, 0.4);
}
.bg-white {
  background: #fff;
}
.bg-orange\/5 {
  background: rgba(201, 82, 42, 0.05);
}
.bg-green\/5 {
  background: rgba(20, 80, 47, 0.06);
}
.pointer-events-none {
  pointer-events: none;
}
.min-h-screen {
  min-height: 100vh;
}
.min-h-\[60vh\] {
  min-height: 60vh;
}

details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after {
  content: "+";
  color: var(--green);
  font-size: 1rem;
}
details[open] summary::after {
  content: "–";
}

table {
  border-collapse: collapse;
}

/* Print: the order sheet should be readable on paper, nothing else. */
@media print {
  .no-print,
  header,
  footer,
  .admin-nav,
  .admin-top,
  form {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  a {
    text-decoration: none;
    color: #000;
  }
  .page {
    max-width: none;
    padding: 0;
  }
}

/* ---------------------------------------------------------------- layout */

.mt-20 { margin-top: 80px; }
.mt-8 { margin-top: 32px; }
.mt-6 { margin-top: 24px; }
.mt-4 { margin-top: 16px; }
.mt-3 { margin-top: 12px; }
.mt-7 { margin-top: 28px; }
.mt-10 { margin-top: 40px; }
.ml-4 { margin-left: 16px; }
.mb-3 { margin-bottom: 12px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.inline-block { display: inline-block; }
.hidden { display: none !important; }
.flex-1 { flex: 1 1 0%; }
.items-baseline { align-items: baseline; }
.text-sm { font-size: 0.875rem; line-height: 1.55; }
.text-xs { font-size: 0.75rem; line-height: 1.45; }
.text-2xl { font-size: 1.5rem; line-height: 1.2; }
.text-muted { color: var(--muted); }
.text-ink { color: var(--ink); }
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.w-full { width: 100%; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
}
.section-head h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}
.mt-8.product-grid { margin-top: 32px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 60;
  background: var(--green);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.head-nav {
  display: none;
  gap: 32px;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.head-search {
  display: none;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.head-search:hover {
  color: var(--green);
}

@media (min-width: 768px) {
  .head-nav,
  .head-search {
    display: flex;
  }
}

.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green);
}
.mobile-nav a:last-child {
  border-bottom: 0;
}
.mobile-nav a.is-active {
  color: var(--orange);
}

/* Hero ---------------------------------------------------------------- */

.hero {
  padding-top: 40px;
  padding-bottom: 56px;
}
@media (min-width: 1024px) {
  .hero {
    padding-top: 56px;
  }
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: end;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.hero .label {
  margin-bottom: 24px;
}
.hero-note {
  max-width: 28rem;
}
.hero-note p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(28, 42, 33, 0.82);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 28px;
}
.text-link {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
.text-link:hover {
  text-decoration-color: var(--orange);
}

/* Lead piece ---------------------------------------------------------- */

.lead-piece {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .lead-piece {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.lead-piece__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}
.lead-piece__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.lead-piece__media:hover img {
  transform: scale(1.015);
}
.lead-piece__flag {
  position: absolute;
  left: 20px;
  top: 20px;
  background: var(--paper);
  padding: 6px 12px;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.lead-piece__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px;
}
@media (min-width: 640px) {
  .lead-piece__body {
    padding: 40px;
  }
}
@media (min-width: 1024px) {
  .lead-piece__body {
    padding: 48px;
  }
}
.lead-piece__title {
  margin-top: 16px;
}
.lead-piece__title a:hover {
  color: var(--orange);
}
.lead-piece__copy {
  margin-top: 20px;
  max-width: 62ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}
.lead-piece__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .lead-piece__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.lead-piece__facts dd {
  margin-top: 4px;
}
.lead-piece__body .btn {
  align-self: flex-start;
}

/* Category rail ------------------------------------------------------- */

.rail-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .rail-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}
.rail-copy {
  margin-top: 16px;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}
.category-list {
  border-top: 1px solid var(--ink);
}

/* How it runs --------------------------------------------------------- */

.how-grid {
  display: grid;
  gap: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 48px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.how-list {
  display: grid;
  gap: 32px;
}
@media (min-width: 640px) {
  .how-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .how-list {
    grid-column: span 2;
  }
}
.how-list h3 {
  font-size: 1.125rem;
}
.how-list p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Shop --------------------------------------------------------------- */

.shop-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 32px;
}
@media (min-width: 768px) {
  .shop-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.shop-intro {
  margin-top: 12px;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}
.shop-count {
  font-size: 0.875rem;
  color: var(--muted);
}
.filter-bar {
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.filter-clear {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--muted);
}
.filter-submit {
  height: 44px;
  padding: 0 22px;
}
.empty-state {
  border: 1px solid var(--line);
  background: rgba(242, 232, 208, 0.3);
  padding: 56px 24px;
  text-align: center;
}
.empty-state h2 {
  font-size: 1.5rem;
}
.empty-state p {
  margin: 12px auto 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}
.empty-state .btn {
  margin-top: 28px;
}
.opening {
  border-top: 1px solid var(--ink);
  padding-top: 32px;
  display: grid;
  gap: 14px;
  max-width: 34rem;
}
.opening .display-sm {
  margin: 0;
}
.opening__copy {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}
.opening .hero-actions {
  margin-top: 10px;
}
.card-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

/* Product ------------------------------------------------------------ */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a:hover {
  color: var(--green);
}
.crumbs span:last-child {
  color: var(--ink);
}
.product-layout {
  display: grid;
  gap: 40px;
  margin-top: 24px;
}
@media (min-width: 1024px) {
  .product-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
  }
}
.product-info {
  padding-top: 8px;
}
.product-title {
  margin-top: 12px;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--green);
}
@media (min-width: 640px) {
  .product-title {
    font-size: 2.4rem;
  }
}
.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.price {
  font-family: var(--serif);
  font-size: 1.5rem;
}
.avail {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.avail.is-available {
  color: var(--green);
}
.avail.is-out {
  color: var(--orange);
}
.keyfacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 20px;
  font-size: 0.875rem;
}
.keyfacts dd {
  margin-top: 2px;
}
.prose-store p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--muted);
  font-size: 0.95rem;
}
.prose-store p:last-child {
  margin-bottom: 0;
}
.buy-block {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.buy-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.buy-ask {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
.buy-ask:hover {
  color: var(--green);
  text-decoration-color: var(--orange);
}
.ship-details {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.875rem;
}
.ship-details summary {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  cursor: pointer;
}
.ship-details div {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.ship-details p + p {
  margin-top: 8px;
}
.aspect-4-5 {
  aspect-ratio: 4 / 5;
}

/* Bag / checkout ----------------------------------------------------- */

.page-head {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 24px;
}
.bag-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.bag-line__img {
  width: 80px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}
.bag-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.totals-row--grand {
  border-top: 1px solid var(--ink);
  margin-top: 6px;
  padding-top: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
}
.checkout-grid {
  display: grid;
  gap: 48px;
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
/* Payment choice at checkout. Two cards, then the NayaPay details and the
   screenshot, drawn with the same hairlines as the rest of the site. */
.pay-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-option:hover {
  border-color: var(--muted);
}
.pay-option:has(input:checked) {
  border-color: var(--green);
  background: rgba(20, 80, 47, 0.05);
}
.pay-option:has(input:focus-visible) {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.pay-option input {
  margin-top: 3px;
  accent-color: var(--green);
  flex: none;
}
.pay-option__body {
  display: block;
  min-width: 0;
}
.pay-option__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}
.pay-option__tag {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 7px;
}
.pay-option__tag--save {
  color: var(--green);
  border-color: rgba(20, 80, 47, 0.35);
  background: rgba(20, 80, 47, 0.07);
}
.pay-option__copy {
  display: block;
  margin-top: 5px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.nayapay-box {
  border-left: 2px solid var(--orange);
  background: var(--paper-deep);
  padding: 14px 16px;
  margin: 16px 0 20px;
}
.nayapay-box__title {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nayapay-box__number {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nayapay-box__copy {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}

.field--file {
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 12px;
  font-size: 0.8125rem;
  cursor: pointer;
}
.field--file::file-selector-button {
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--green);
  border: 0;
  padding: 8px 12px;
  margin-right: 12px;
  cursor: pointer;
}

.proof-preview {
  position: relative;
  display: inline-block;
  margin-top: 12px;
  border: 1px solid var(--line);
  padding: 6px;
  background: #fff;
}
.proof-preview[hidden] {
  display: none;
}
.proof-preview img {
  display: block;
  width: 160px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}
.proof-preview .mini-link {
  display: block;
  margin-top: 6px;
  text-align: center;
}

.checkout-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}
.checkout-form legend {
  margin-bottom: 12px;
}
.form-row {
  margin-bottom: 20px;
}
.form-row--split {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .form-row--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cod-box {
  border: 1px solid var(--green);
  background: rgba(242, 232, 208, 0.3);
  padding: 16px;
}
.cod-box__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
}
.cod-box p + p,
.cod-box__title + p {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}
.form-error {
  border-left: 2px solid var(--orange);
  background: rgba(201, 82, 42, 0.06);
  padding: 12px 16px;
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--orange);
}
.checkout-terms {
  margin-top: 16px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}
.checkout-summary {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
@media (min-width: 1024px) {
  .checkout-summary {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-top: 0;
    padding-left: 40px;
  }
}

/* Order confirmation -------------------------------------------------- */

.order-sheet {
  max-width: 48rem;
  margin: 0 auto;
}
.order-intro {
  margin-top: 16px;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}
.order-facts {
  display: grid;
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .order-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.order-facts address,
.order-facts p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: normal;
}
.order-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 0.875rem;
}
.order-total {
  margin-top: 32px;
}
.order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

/* About / contact ---------------------------------------------------- */

.about-head {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .about-head {
    grid-template-columns: 0.95fr 1.05fr;
  }
}
.about-copy {
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(28, 42, 33, 0.82);
}
.about-copy p + p {
  margin-top: 20px;
}
.three-up {
  display: grid;
  gap: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
  margin-top: 64px;
}
@media (min-width: 640px) {
  .three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.three-up h2 {
  font-size: 1.5rem;
  color: var(--green);
}
.three-up p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}
.about-outro {
  margin-top: 56px;
  max-width: 42rem;
}
.about-outro h2 {
  font-size: 1.5rem;
  color: var(--green);
}
.about-outro p {
  margin-top: 16px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(28, 42, 33, 0.82);
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.contact-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.contact-intro {
  margin-top: 20px;
  max-width: 24rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}
.contact-list {
  border-top: 1px solid var(--ink);
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.contact-row--static {
  grid-template-columns: 1fr;
}
.contact-row__value {
  grid-column: 1;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--green);
}
.contact-row__note {
  grid-column: 1;
  font-size: 0.85rem;
  color: var(--muted);
}
.contact-row__arrow {
  grid-row: 1 / 4;
  grid-column: 2;
  align-self: center;
  color: var(--muted);
  transition: transform 160ms ease, color 160ms ease;
}
a.contact-row:hover .contact-row__arrow {
  transform: translateX(4px);
  color: var(--orange);
}
.contact-notes {
  display: grid;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
  margin-top: 64px;
}
@media (min-width: 640px) {
  .contact-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.contact-notes h2 {
  font-size: 1.5rem;
  color: var(--green);
}
.contact-notes ol,
.contact-notes p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted);
  padding-left: 0;
  list-style: none;
}
.notfound {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60vh;
  padding-top: 80px;
  padding-bottom: 80px;
}
.notfound .btn {
  align-self: flex-start;
  margin-top: 32px;
}
.notfound-copy {
  margin-top: 16px;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Footer ------------------------------------------------------------- */

.site-foot {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: rgba(242, 232, 208, 0.4);
}
.foot-grid {
  display: grid;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}
@media (min-width: 768px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
.wordmark--foot {
  font-size: 1.5rem;
}
.foot-brand p {
  margin-top: 16px;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}
.foot-brand .label {
  margin-top: 24px;
}
.foot-heading {
  margin-bottom: 16px;
}
.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-grid li {
  font-size: 0.875rem;
  margin-bottom: 10px;
}
.foot-base {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 640px) {
  .foot-base {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.foot-base a:hover {
  color: var(--green);
}

/* Admin shell -------------------------------------------------------- */

.admin-main {
  padding-top: 32px;
  padding-bottom: 64px;
}
@media (min-width: 768px) {
  .admin-main {
    padding-top: 40px;
  }
}
.admin-top__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.admin-top__brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.wordmark--admin {
  font-size: 1.25rem;
}
.admin-top__tag {
  display: none;
}
@media (min-width: 640px) {
  .admin-top__tag {
    display: block;
  }
}
.admin-top__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.admin-top__email {
  display: none;
  font-size: 0.75rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .admin-top__email {
    display: block;
  }
}
.admin-link {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-link:hover {
  color: var(--green);
}
.admin-link--out {
  color: var(--orange);
}
.admin-link--out:hover {
  text-decoration: underline;
}
.admin-nav__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}
.admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.admin-head h1 {
  margin-top: 8px;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--green);
}
.admin-sub {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--muted);
}
.admin-sub--wide {
  margin-top: 12px;
  max-width: 42rem;
  line-height: 1.65;
}
.flash {
  margin-bottom: 24px;
  padding: 12px 16px;
  font-size: 0.875rem;
  border-left: 2px solid var(--line);
}
.flash--ok {
  border-color: var(--green);
  background: rgba(20, 80, 47, 0.06);
  color: var(--green);
}
.flash--bad {
  border-color: var(--orange);
  background: rgba(201, 82, 42, 0.06);
  color: var(--orange);
}
.flash--warn {
  border-color: #9a6b1f;
  background: rgba(154, 107, 31, 0.07);
  color: #7a5417;
}
.flash code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.8em;
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 4px;
}
.err {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--orange);
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  cursor: pointer;
}
.check-row input {
  margin-top: 3px;
}
.check-row--tight {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}
.mini-link {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.mini-link:hover {
  text-decoration: underline;
}
.mini-link--muted {
  color: var(--muted);
}
.mini-link--muted:hover {
  color: var(--green);
}
.mini-link--out {
  color: var(--orange);
}
.admin-foot-note {
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Admin dashboard ---------------------------------------------------- */

.stat-row {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stat {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.stat__value {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--green);
  line-height: 1.1;
}
.stat__note {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--muted);
}
.dash-grid {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .dash-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.plain-list {
  margin-top: 4px;
}
.plain-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
a.plain-row:hover {
  background: rgba(242, 232, 208, 0.3);
}
.plain-row__title {
  display: block;
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 26ch;
}
.plain-row__meta {
  font-size: 0.75rem;
  color: var(--muted);
}
.plain-row__grow {
  flex: 1;
  min-width: 0;
}
.dash-empty {
  padding: 32px 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.thumb {
  width: 44px;
  height: 56px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--paper-deep);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Admin tables ------------------------------------------------------- */

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-top: 24px;
}
.admin-filters__grow {
  flex: 1;
  min-width: 200px;
}
.table-wrap {
  margin-top: 8px;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  min-width: 680px;
  text-align: left;
}
.admin-table--orders {
  min-width: 820px;
}
.admin-table th {
  border-bottom: 1px solid var(--line);
  padding: 8px 12px 8px 0;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 12px 12px 0;
  vertical-align: middle;
  font-size: 0.875rem;
}
.cell-piece {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cell-piece__text {
  min-width: 0;
}
.cell-piece__name {
  display: block;
  max-width: 22ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cell-piece__name:hover {
  color: var(--green);
}
.cell-meta {
  font-size: 0.75rem;
  color: var(--muted);
}
.cell-price {
  white-space: nowrap;
}
.cell-date {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}
.cell-actions {
  text-align: right;
  white-space: nowrap;
}
.cell-actions .mini-link + form {
  margin-left: 12px;
}
.cell-actions form {
  display: inline;
}
.cell-notify {
  font-size: 0.75rem;
  color: var(--muted);
}
.cell-notify.is-bad {
  color: var(--orange);
}
.cell-city {
  color: var(--muted);
}
.order-ref {
  font-weight: 600;
}
.order-ref:hover {
  color: var(--green);
}

/* Admin product form ------------------------------------------------- */

.product-form {
  display: grid;
  gap: 40px;
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .product-form {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}
.product-form__main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  .product-form__side {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}
.form-block {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-block > legend {
  margin-bottom: 4px;
}
.form-block--side {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  padding: 20px;
}
.form-help {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}
.form-pair {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .form-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.measurement-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .image-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.image-tile {
  border: 1px solid var(--line);
  background: #fff;
}
.image-tile__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}
.image-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-tile__flag {
  position: absolute;
  left: 4px;
  top: 4px;
  background: var(--green);
  color: var(--paper);
  padding: 2px 6px;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.image-tile__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 4px;
}
.image-tile__bar form {
  display: flex;
  gap: 2px;
}
.tile-btn {
  padding: 2px 6px;
  font-size: 0.7rem;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
}
.tile-btn:hover {
  color: var(--green);
}
.tile-btn[disabled] {
  opacity: 0.3;
  cursor: default;
}
.tile-btn--out {
  color: var(--orange);
}
.tile-btn--out:hover {
  color: var(--orange);
  text-decoration: underline;
}
.image-empty {
  border: 1px dashed var(--line);
  padding: 32px 16px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.file-input {
  display: block;
  width: 100%;
  font-size: 0.875rem;
}
.file-input::file-selector-button {
  margin-right: 12px;
  border: 0;
  background: var(--green);
  color: var(--paper);
  padding: 8px 16px;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.image-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.image-preview > div {
  overflow: hidden;
  background: var(--paper-deep);
}
.image-preview img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.save-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.danger-zone {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* Admin order detail ------------------------------------------------- */

.order-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 20px;
  margin-top: 24px;
}
.order-head__number {
  margin-top: 4px;
  font-size: 1.9rem;
  color: var(--green);
}
.order-status-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}
.order-body {
  display: grid;
  gap: 40px;
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .order-body {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.order-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.order-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.order-strong {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}
.order-address {
  margin-top: 12px;
  font-style: normal;
  white-space: pre-line;
  font-size: 0.875rem;
  line-height: 1.75;
}
.order-note {
  margin-top: 12px;
}
.order-note p {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--muted);
}
.item-table {
  width: 100%;
  margin-top: 12px;
  text-align: left;
  font-size: 0.875rem;
}
.item-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.item-qty {
  text-align: center;
  color: var(--muted);
  width: 60px;
}
.item-price {
  text-align: right;
  white-space: nowrap;
  width: 100px;
}
.order-totals {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.order-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.side-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  padding: 20px;
}
.side-card__title {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--green);
}
.side-card__copy {
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}
.side-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.btn-outline--small {
  padding: 8px 12px;
}
.side-facts {
  margin-top: 16px;
}
.side-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.875rem;
}
.side-facts dt {
  color: var(--muted);
}

/* Admin settings ----------------------------------------------------- */

.settings-grid {
  display: grid;
  gap: 40px;
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .settings-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}
.settings-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.category-admin {
  display: grid;
  gap: 40px;
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 32px;
}
@media (min-width: 1024px) {
  .category-admin {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.category-admin__intro h2 {
  font-size: 1.5rem;
  color: var(--green);
}
.category-admin__intro p {
  margin-top: 8px;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}
.category-new {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  padding: 16px;
}
@media (min-width: 640px) {
  .category-new {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }
}
.category-rows {
  margin-top: 16px;
}
.category-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.category-row__form {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.category-row__name {
  max-width: 150px;
}
.category-row__intro {
  max-width: 200px;
}
.category-row__order {
  width: 64px;
}

/* Login / setup ------------------------------------------------------ */

.login-split {
  display: grid;
  min-height: 100vh;
}
@media (min-width: 1024px) {
  .login-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.login-brand {
  display: none;
  background: var(--green);
  color: var(--paper);
  padding: 48px;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .login-brand {
    display: flex;
  }
}
.wordmark--paper {
  color: var(--paper);
}
.login-brand__label {
  color: rgba(251, 245, 228, 0.6);
}
.login-brand__line {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1.1;
}
.login-brand__copy {
  margin-top: 16px;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(251, 245, 228, 0.7);
}
.login-brand__foot {
  color: rgba(251, 245, 228, 0.5);
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
@media (min-width: 640px) {
  .login-panel {
    padding: 48px;
  }
}
.login-form {
  width: 100%;
  max-width: 24rem;
}
.wordmark--mobile {
  display: inline-flex;
  font-size: 1.5rem;
}
@media (min-width: 1024px) {
  .wordmark--mobile {
    display: none;
  }
}
.login-form h1 {
  margin-top: 32px;
  font-size: 1.9rem;
  color: var(--green);
}
@media (min-width: 1024px) {
  .login-form h1 {
    margin-top: 0;
  }
}
.login-sub {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}
.login-field {
  margin-top: 20px;
}
.login-form .btn {
  margin-top: 28px;
}
.login-help {
  margin-top: 20px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}
.setup-wrap {
  max-width: 28rem;
  margin: 0 auto;
  padding: 64px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.setup-body {
  margin-top: 40px;
}
.setup-body h1 {
  font-size: 1.9rem;
  color: var(--green);
}
.setup-copy {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}
.setup-copy code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 4px;
}
