@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #151515;
  --muted: #61615d;
  --soft: #f3f3ef;
  --rule: #dadad3;
  --lime: #c7f000;
  --lime-ink: #182000;
  --danger: #9f221e;
  --success: #295d31;
  --header-height: 4.5rem;
  --display: "Barlow Condensed", sans-serif;
  --body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scrollbar-color: var(--ink) var(--paper);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--lime);
  color: var(--lime-ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--ink);
  border: 3px solid var(--paper);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button {
  color: inherit;
}

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

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.admin-header {
  min-height: var(--header-height);
  border-bottom: 1px solid var(--rule);
  background: rgb(255 255 255 / 96%);
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto minmax(13rem, 1fr);
  align-items: center;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 30;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 2.4rem;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.main-nav a,
.site-footer a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  position: relative;
}

.main-nav a::after,
.site-footer a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease-out;
}

.main-nav a:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-button,
.cart-button,
.drawer-close {
  border: 0;
  background: transparent;
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-button svg,
.cart-button svg,
.drawer-close svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button {
  grid-template-columns: auto auto;
  gap: 0.25rem;
}

.cart-button span {
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.search-panel {
  position: fixed;
  z-index: 25;
  top: var(--header-height);
  right: 0;
  left: 0;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.search-panel label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

.search-row input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--ink);
  padding: 0.35rem 0 0.65rem;
  border-radius: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  caret-color: var(--lime);
}

.search-row input::placeholder {
  color: #6a6a65;
  opacity: 1;
}

.search-row input:focus {
  outline: none;
  border-color: var(--lime-ink);
}

.hero {
  min-height: clamp(38rem, calc(100svh - var(--header-height)), 54rem);
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 84%) 0%, rgb(0 0 0 / 58%) 38%, rgb(0 0 0 / 12%) 72%, rgb(0 0 0 / 22%) 100%);
  pointer-events: none;
}

.hero-copy {
  grid-column: 1 / -1;
  align-self: end;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
  position: relative;
  z-index: 2;
}

.hero h1,
.admin-intro h1 {
  max-width: 12ch;
  margin-bottom: 1.6rem;
  font-family: var(--display);
  font-size: clamp(4.4rem, 6.2vw, 5.7rem);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(4.4rem, 7.2vw, 6rem);
}

.hero h1 span {
  white-space: nowrap;
}

.accent-rule {
  display: block;
  width: 3rem;
  height: 0.34rem;
  margin-bottom: 1.75rem;
  background: var(--lime);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.45rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}

.primary-button {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}

.primary-button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.secondary-button {
  background: var(--paper);
  color: var(--ink);
}

.secondary-button:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 100%;
  background: var(--ink);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 360ms ease-out, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual.is-video-ready {
  background: var(--ink);
}

.hero-visual.is-video-ready .hero-video {
  opacity: 1;
  transform: scale(1);
}

.hero-visual.is-video-ready > #heroImage {
  opacity: 0;
}

.hero-visual > #heroImage {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 240ms ease-out;
}

.featured-product {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(24rem, 0.88fr);
  min-height: clamp(34rem, 48vw, 44rem);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.featured-product-media {
  display: grid;
  min-height: 34rem;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--rule);
  background: #f7f7f5;
}

.featured-product-media img {
  width: min(82%, 42rem);
  height: auto;
  max-height: 39rem;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 1.75rem 1.6rem rgb(0 0 0 / 16%));
  transform: rotate(-2deg);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-product:hover .featured-product-media img {
  transform: rotate(-1deg) scale(1.025);
}

.featured-product-copy {
  align-self: center;
  padding: clamp(3rem, 6vw, 6rem);
}

.featured-product h2 {
  max-width: 10ch;
  margin: 0 0 2rem;
  font-family: var(--display);
  font-size: clamp(3.4rem, 5.3vw, 5.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.featured-product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.featured-product-meta p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.featured-product-meta p:first-child {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.featured-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.collection-entry {
  min-height: clamp(31rem, 52vw, 44rem);
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
}

.collection-entry::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 92%) 0%, rgb(0 0 0 / 70%) 28%, rgb(0 0 0 / 18%) 58%, transparent 78%);
}

.collection-entry > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.collection-entry-content {
  width: min(41rem, 100%);
  align-self: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.collection-entry h2 {
  max-width: 8ch;
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.collection-entry p {
  max-width: 42ch;
  margin: 0 0 2rem;
  color: #e3e3dc;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.65;
}

.asset-note {
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
  z-index: 2;
  margin: 0;
  padding: 0.3rem 0.45rem;
  background: rgb(255 255 255 / 92%);
  color: #3f3f3b;
  font-size: 0.67rem;
}

.catalog-section {
  padding: clamp(3rem, 5vw, 5rem) 2rem 0;
  scroll-margin-top: 5rem;
}

.section-heading,
.inventory-heading,
.editor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.story-section h2,
.drawer h2,
.admin-workspace h2 {
  margin-bottom: 0.25rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.3vw, 4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-heading p,
.inventory-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.catalog-status {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.catalog-disclosure {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 0;
}

.catalog-disclosure .secondary-button {
  min-width: min(100%, 15rem);
}

.product-card {
  min-width: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(13rem, 1.15fr) minmax(10rem, 0.85fr);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.product-media {
  min-height: 29rem;
  display: grid;
  place-items: center;
  background: #f7f7f5;
  padding: 2rem;
  position: relative;
  text-decoration: none;
}

.product-image-status {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.65rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-media img {
  width: min(78%, 18rem);
  height: 24rem;
  object-fit: contain;
  filter: drop-shadow(0 1.1rem 1.1rem rgb(0 0 0 / 12%));
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-media img {
  transform: translateY(-0.4rem) rotate(1.5deg);
}

.product-info {
  align-self: stretch;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.product-brand,
.status-badge {
  width: fit-content;
  margin-bottom: auto;
  border: 1px solid var(--ink);
  padding: 0.25rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.product-info h3 {
  max-width: 15ch;
  margin: 3rem 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.product-price {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-actions .primary-button,
.product-actions .secondary-button {
  min-height: 2.8rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.7rem;
}

.empty-state,
.admin-empty {
  padding: 4rem 2rem;
  border: 1px solid var(--rule);
  text-align: center;
}

.empty-state h3,
.admin-empty h3 {
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}

.brand-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem 3rem;
  border-bottom: 1px solid var(--rule);
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4rem);
}

.brand-list button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0.1rem 0 0.35rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
  cursor: pointer;
}

.brand-list button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.22rem;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease-out;
}

.brand-list button:hover::after,
.brand-list button[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.brand-strip p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(25rem, 0.85fr);
  min-height: clamp(40rem, 56vw, 52rem);
  background: var(--ink);
  color: var(--paper);
}

.story-media {
  min-width: 0;
  min-height: inherit;
  overflow: hidden;
  border-right: 1px solid rgb(255 255 255 / 18%);
}

.story-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-section:hover .story-media img {
  transform: scale(1.018);
  filter: saturate(1) contrast(1.04);
}

.story-content {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 5.5vw, 6rem);
}

.story-section h2 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 5.6vw, 5.7rem);
}

.story-belief {
  max-width: 38ch;
  margin: clamp(2.5rem, 4vw, 4.5rem) 0 0;
  color: var(--paper);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.65;
}

.store-note {
  max-width: 38rem;
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 24%);
  color: #d5d5cc;
  font-size: 0.8rem;
}

.site-footer {
  min-height: 11rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-top: 1px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  color: #d5d5cc;
  font-size: 0.75rem;
}

.footer-logo {
  width: clamp(7rem, 9vw, 8.5rem);
  height: auto;
  display: block;
}

.site-footer .footer-name {
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  justify-self: end;
}

.drawer {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(31rem, 94vw);
  background: var(--paper);
  border-left: 1px solid var(--ink);
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 320ms;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.drawer-close {
  margin-left: auto;
}

.page-scrim {
  position: fixed;
  z-index: 50;
  inset: 0;
  border: 0;
  background: rgb(21 21 21 / 48%);
  cursor: default;
}

.detail-media {
  position: relative;
  min-height: 22rem;
  margin: 1rem 0 2rem;
  background: #f7f7f5;
  display: grid;
  place-items: center;
}

.detail-media img {
  width: min(68%, 15rem);
  height: 21rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-brand {
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-drawer h2 {
  max-width: 12ch;
}

.detail-description {
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-note {
  margin: 1.5rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.72rem;
}

.full-button {
  width: 100%;
}

.cart-empty {
  padding: 4rem 0;
}

.cart-empty h3 {
  margin-bottom: 0.5rem;
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}

.cart-item {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.cart-item img {
  width: 5rem;
  height: 6rem;
  padding: 0.5rem;
  object-fit: contain;
  background: #f7f7f5;
  mix-blend-mode: multiply;
}

.cart-item h3 {
  margin-bottom: 0.25rem;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.cart-item p {
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.quantity-control {
  display: flex;
  width: fit-content;
  border: 1px solid var(--ink);
}

.quantity-control button {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: var(--paper);
  cursor: pointer;
}

.quantity-control span {
  min-width: 2rem;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.remove-button,
.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

.remove-button {
  align-self: start;
  color: var(--danger);
}

.cart-summary {
  padding-top: 1.5rem;
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.cart-summary strong {
  font-variant-numeric: tabular-nums;
}

.disabled-button,
.disabled-button:hover,
.primary-button:disabled,
.primary-button:disabled:hover {
  background: #e9e9e4;
  border-color: #e9e9e4;
  color: #5b5b57;
  cursor: not-allowed;
}

.cart-drawer {
  width: min(39rem, 96vw);
}

.checkout-heading {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--ink);
}

.checkout-heading .text-button {
  margin-bottom: 1.2rem;
}

.checkout-heading h2 {
  margin-bottom: 0.4rem;
}

.checkout-heading p {
  color: var(--muted);
  font-size: 0.82rem;
}

.checkout-section {
  margin: 0;
  padding: 1.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
}

.checkout-section legend {
  width: 100%;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.checkout-fields {
  display: grid;
  gap: 0.8rem;
}

.checkout-fields.two-fields {
  grid-template-columns: 1fr 1fr;
}

.checkout-field {
  margin-bottom: 0.8rem;
}

.checkout-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-field input,
.login-panel .field-row input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--field-border, #a8a8a0);
  border-radius: 0;
  background: var(--paper);
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  caret-color: var(--lime-ink);
}

.checkout-field input:focus,
.login-panel .field-row input:focus {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.checkout-field input[aria-invalid="true"],
.login-panel .field-row input[aria-invalid="true"] {
  border-color: var(--danger);
  outline-color: var(--danger);
}

.shipping-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--ink);
  padding: 0.9rem;
  cursor: pointer;
}

.shipping-option input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--lime-ink);
}

.shipping-option span,
.payment-banner p {
  display: grid;
  gap: 0.15rem;
}

.shipping-option small,
.payment-banner span {
  color: var(--muted);
  font-size: 0.7rem;
}

.payment-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
  background: var(--soft);
}

.payment-banner svg {
  width: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0.4rem;
  font-size: 0.9rem;
}

.checkout-total strong {
  font-variant-numeric: tabular-nums;
}

.checkout-state {
  min-height: calc(100svh - 4rem);
  display: grid;
  place-items: center;
  text-align: center;
}

.processing-state,
.success-state {
  width: min(100%, 30rem);
}

.processing-mark {
  display: block;
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 1.5rem;
  border: 0.45rem solid var(--soft);
  border-top-color: var(--lime-ink);
  border-radius: 50%;
  animation: checkout-spin 760ms linear infinite;
}

.processing-state p {
  margin-bottom: 0.3rem;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.processing-state > span:last-child {
  color: var(--muted);
  font-size: 0.8rem;
}

.success-state > svg {
  width: 5rem;
  margin-bottom: 1.25rem;
  fill: none;
  stroke: var(--lime-ink);
  stroke-width: 6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.success-state h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(3.8rem, 8vw, 5.5rem);
}

.success-message {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.success-detail {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@keyframes checkout-spin {
  to { transform: rotate(360deg); }
}

/* Admin */
.admin-body {
  background: #f7f7f4;
}

.login-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(24rem, 1.1fr) minmax(24rem, 0.9fr);
  background: var(--paper);
}

.login-stage {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 4vw, 4rem);
  background: var(--ink);
  color: var(--paper);
}

.login-stage .wordmark {
  color: var(--paper);
}

.login-stage .mark {
  background: var(--lime);
  color: var(--lime-ink);
}

.login-statement {
  align-self: center;
  max-width: 42rem;
  padding: 4rem 0;
}

.login-shield {
  width: 4rem;
  margin-bottom: 2rem;
  fill: none;
  stroke: var(--lime);
  stroke-width: 3;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.login-statement h1 {
  margin-bottom: 1.5rem;
  font-family: var(--display);
  font-size: clamp(4.8rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.login-statement p {
  max-width: 36rem;
  color: #cacac3;
}

.login-footnote {
  color: #a9a9a2;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 6rem);
  border-left: 1px solid var(--rule);
}

.login-panel-heading,
.login-form,
.login-back {
  width: min(100%, 31rem);
  margin-inline: auto;
}

.login-panel-heading h2 {
  margin-bottom: 0.4rem;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.login-panel-heading > p {
  margin-bottom: 2rem;
  color: var(--muted);
}

.login-back {
  margin-top: 1.2rem;
  text-align: center;
}

.admin-header {
  grid-template-columns: 1fr auto 1fr;
}

.admin-header > span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.admin-header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.compact-button {
  min-height: 2.6rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.7rem;
}

.admin-main {
  padding: 1.5rem 2rem 4rem;
}

.admin-intro {
  display: grid;
  grid-template-columns: minmax(20rem, 1fr) minmax(18rem, 0.55fr);
  align-items: end;
  gap: 3rem;
  max-width: 94rem;
  margin: 0 auto 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--ink);
}

.admin-intro h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.8rem, 5.2vw, 4.8rem);
}

.admin-intro > div > p {
  max-width: 46rem;
  margin-bottom: 0;
  color: var(--muted);
}

.store-status {
  position: relative;
  align-self: end;
  padding: 1.25rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
}

.store-status::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--lime);
}

.store-status strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-status p {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
}

.admin-workspace {
  max-width: 94rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(19rem, 0.55fr) minmax(30rem, 1.25fr);
  align-items: start;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.editor-panel {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 1.5rem;
  border-right: 1px solid var(--rule);
}

.editor-heading h2,
.inventory-heading h2 {
  font-size: 2.35rem;
}

.editor-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.field-row {
  margin-bottom: 0.8rem;
}

.field-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  border: 1px solid #a8a8a0;
  border-radius: 0;
  background: var(--paper);
  padding: 0.75rem 0.8rem;
  caret-color: var(--lime-ink);
}

.field-row textarea {
  resize: vertical;
}

.field-row select {
  min-height: 2.9rem;
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1rem) 1.2rem, calc(100% - 0.72rem) 1.2rem;
  background-size: 0.32rem 0.32rem, 0.32rem 0.32rem;
  background-repeat: no-repeat;
}

.field-row label > span {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.field-row input:focus,
.field-row select:focus,
.field-row textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}

.field-row input[aria-invalid="true"],
.field-row select[aria-invalid="true"],
.field-row textarea[aria-invalid="true"] {
  border-color: var(--danger);
  outline-color: var(--danger);
}

.image-upload-control {
  min-height: 2.9rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--field-border, #a8a8a0);
  background: var(--paper);
}

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

.image-file-button {
  min-height: 2.8rem;
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  border-right: 1px solid var(--field-border, #a8a8a0);
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 0.9rem;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.image-file-button:hover {
  background: var(--lime);
  color: var(--lime-ink);
}

.image-file-input:focus-visible + .image-file-button {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.image-upload-control > span {
  min-width: 0;
  align-self: center;
  padding: 0.6rem 0.75rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-upload-preview {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}

.image-upload-preview[hidden] {
  display: none;
}

.image-upload-preview img {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  background: var(--soft);
}

.image-upload-preview div {
  min-width: 0;
}

.image-upload-preview strong,
.image-upload-preview span {
  display: block;
  overflow-wrap: anywhere;
}

.image-upload-preview strong {
  font-size: 0.75rem;
}

.image-upload-preview span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.field-row small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.field-row code {
  font-family: var(--body);
}

.two-column-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.check-row {
  display: grid;
  gap: 0.65rem;
  margin: 0.95rem 0;
}

.check-row label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.check-row input {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
}

.check-row input::after {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  background: var(--ink);
  transform: scale(0);
  transition: transform 120ms ease-out;
}

.check-row input:checked {
  background: var(--lime);
}

.check-row input:checked::after {
  transform: scale(1);
}

.form-message {
  min-height: 1.4rem;
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
}

.form-message.is-error {
  color: var(--danger);
}

.form-message.is-success {
  color: var(--success);
}

.stock-editor {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.stock-editor h3,
.stock-history h4 {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
}

.stock-editor > p:first-of-type {
  margin: 0.65rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.stock-history {
  border-top: 1px solid var(--rule);
  margin-top: 1rem;
  padding-top: 1rem;
}

.stock-history h4 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.stock-history ul { list-style: none; margin: 0; padding: 0; }
.stock-history li { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; justify-content: space-between; padding: 0.65rem 0; border-bottom: 1px solid var(--rule); font-size: 0.875rem; }
.stock-history li span { flex-basis: 100%; color: var(--muted); overflow-wrap: anywhere; }
.stock-history li small { color: var(--muted); font-size: inherit; font-variant-numeric: tabular-nums; }
.stock-history p { color: var(--muted); font-size: 0.875rem; }

.inventory-panel {
  padding: 2rem;
}

.inventory-controls {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(10rem, 1fr);
  gap: 1rem;
  align-items: end;
  margin: 1rem 0;
}

.inventory-controls .field-row { margin: 0; }
.inventory-meta .inventory-stock { font-size: 0.875rem; overflow-wrap: anywhere; }
.inventory-stock strong { color: var(--ink); }
.inventory-stock.is-zero strong { color: var(--danger); }
.inventory-no-results { padding: 2rem 0; color: var(--muted); }

.inventory-list {
  border-top: 1px solid var(--ink);
}

.inventory-item {
  display: grid;
  grid-template-columns: 5.5rem minmax(12rem, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  min-height: 8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.inventory-thumb {
  width: 5.5rem;
  height: 6rem;
  background: #f7f7f5;
  object-fit: contain;
  padding: 0.4rem;
}

.inventory-meta h3 {
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.inventory-meta p {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.status-badge {
  margin: 0;
  font-size: 0.58rem;
}

.status-badge.is-draft {
  border-color: #878780;
  color: #5e5e59;
}

.status-badge.is-featured {
  border-color: var(--lime-ink);
  background: var(--lime);
  color: var(--lime-ink);
}

.inventory-actions {
  display: flex;
  gap: 0.6rem;
}

.inventory-actions button,
.inventory-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 0.55rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
}

.inventory-actions button:hover,
.inventory-actions a:hover {
  background: var(--ink);
  color: var(--paper);
}

.inventory-actions .danger-button {
  border-color: var(--danger);
  color: var(--danger);
}

.inventory-actions .danger-button:hover {
  background: var(--danger);
  color: var(--paper);
}

.orders-panel {
  max-width: 94rem;
  margin: 1.5rem auto 0;
  scroll-margin-top: 6rem;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.orders-panel > .inventory-heading {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--ink);
}

.orders-list {
  padding: 0 2rem;
}

.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.order-row > div,
.order-row-status {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.order-row strong {
  overflow-wrap: anywhere;
}

.order-row span,
.orders-empty {
  color: var(--muted);
}

.order-row.is-review .order-row-status strong {
  color: var(--danger);
}

.orders-empty {
  margin: 1.5rem 0;
}

.orders-detail {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--ink);
  overflow-wrap: anywhere;
}

.orders-detail-heading,
.orders-detail-grid,
.orders-items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.orders-detail h3,
.orders-detail h4 {
  font-family: var(--display);
  text-transform: uppercase;
}

.orders-detail h3 { font-size: 2rem; }
.orders-detail h4 { margin: 1.5rem 0 0.5rem; font-size: 1.35rem; }
.orders-detail-grid { flex-wrap: wrap; margin-top: 1rem; }
.orders-detail-grid > div { display: grid; gap: 0.25rem; min-width: 8rem; }
.orders-detail-grid span { color: var(--muted); }
.orders-items, .orders-history { margin: 0; padding: 0; list-style: none; }
.orders-items li, .orders-history li { padding: 0.65rem 0; border-top: 1px solid var(--rule); }

@media (max-width: 720px) {
  .orders-panel > .inventory-heading,
  .orders-detail { padding: 1.25rem; }
  .orders-list { padding: 0 1.25rem; }
  .order-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .order-row > button { justify-self: start; }
}

.taxonomy-panel {
  max-width: 94rem;
  margin: 1.5rem auto 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.taxonomy-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--ink);
}

.taxonomy-heading h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 2.35rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.taxonomy-heading p {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.taxonomy-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.taxonomy-columns > section {
  min-width: 0;
  padding: 1.5rem 2rem 2rem;
}

.taxonomy-columns > section + section {
  border-left: 1px solid var(--rule);
}

.taxonomy-columns h3 {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: 1.65rem;
  text-transform: uppercase;
}

.taxonomy-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.taxonomy-form input {
  min-width: 0;
  border: 1px solid #a8a8a0;
  border-right: 0;
  border-radius: 0;
  padding: 0.72rem 0.8rem;
}

.taxonomy-form input:focus {
  z-index: 1;
  outline: 2px solid var(--ink);
  outline-offset: -1px;
}

.taxonomy-list {
  border-top: 1px solid var(--rule);
}

.taxonomy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.3rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.82rem;
  font-weight: 600;
}

.taxonomy-item button {
  border: 0;
  background: transparent;
  padding: 0.55rem 0;
  color: var(--danger);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.taxonomy-item button:hover {
  text-decoration: underline;
}

.product-page-main {
  min-height: calc(100vh - var(--header-height));
}

.product-cart-link {
  justify-self: end;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.product-page-state {
  display: grid;
  place-items: center;
  min-height: 65vh;
  padding: 3rem 1.25rem;
  text-align: center;
}

.product-page-state h1 {
  margin-bottom: 0.75rem;
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.85;
  text-transform: uppercase;
}

.product-page-state p {
  max-width: 34rem;
  color: var(--muted);
}

.product-page-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(24rem, 0.88fr);
  min-height: calc(100vh - var(--header-height));
  border-bottom: 1px solid var(--rule);
}

.product-page-media {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.25rem;
  min-width: 0;
  min-height: 44rem;
  overflow: hidden;
  background: #f4f4ef;
  border-right: 1px solid var(--rule);
  padding: clamp(2rem, 6vw, 6rem);
}

.product-gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.product-gallery-stage > img {
  width: min(112%, 48rem);
  height: auto;
  max-height: 48rem;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: none;
  animation: product-settle 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.product-gallery-thumbs[hidden] {
  display: none;
}

.product-gallery-thumbs button {
  width: 5rem;
  height: 5rem;
  padding: 0.3rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  cursor: pointer;
}

.product-gallery-thumbs button[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 -0.25rem 0 var(--lime);
}

.product-gallery-thumbs button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.product-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@keyframes product-settle {
  from {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-page-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.product-breadcrumb {
  margin-bottom: clamp(2.5rem, 7vw, 6rem);
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-breadcrumb a {
  text-decoration-color: var(--lime);
}

.product-page-kicker {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-page-copy h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-family: var(--display);
  font-size: clamp(4rem, 6vw, 6.8rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.product-page-price {
  margin-bottom: 1.75rem;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.product-page-description {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

.product-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.product-page-actions .primary-button {
  min-width: min(100%, 19rem);
}

.product-page-facts {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  border-top: 1px solid var(--rule);
}

.product-page-facts div {
  padding: 1rem;
  border-bottom: 1px solid var(--rule);
}

.product-page-facts dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-page-facts dd {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
}

.related-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.related-section h2 {
  margin-bottom: 2rem;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.related-card {
  min-width: 0;
  border-right: 1px solid var(--rule);
}

.related-card:last-child {
  border-right: 0;
}

.related-card a {
  display: grid;
  grid-template-rows: minmax(17rem, 1fr) auto;
  height: 100%;
  text-decoration: none;
}

.related-card img {
  width: 100%;
  height: 100%;
  min-height: 17rem;
  background: #f4f4ef;
  object-fit: contain;
  padding: 2rem;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.related-card a:hover img {
  transform: scale(1.025);
}

.related-card-copy {
  padding: 1rem;
  border-top: 1px solid var(--rule);
}

.related-card-copy h3 {
  margin-bottom: 0.25rem;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.related-card-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-stage {
    min-height: 30rem;
  }

  .login-statement {
    padding: 3rem 0;
  }

  .login-panel {
    min-height: 36rem;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 4rem 2rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 10vw, 5.8rem);
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: 23rem;
  }

  .product-info {
    min-height: 18rem;
  }

  .admin-workspace {
    grid-template-columns: 1fr;
  }

  .product-page-detail {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-page-media {
    min-height: 36rem;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .editor-panel {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 4rem;
  }

  .site-header,
  .admin-header {
    padding: 0 1rem;
  }

  .wordmark > span:last-child {
    display: none;
  }

  .admin-header {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
  }

  .admin-header > span {
    justify-self: start;
  }

  .admin-header-actions {
    gap: 0.55rem;
  }

  .inventory-controls { grid-template-columns: 1fr; }

  .login-stage {
    min-height: 27rem;
    padding: 1.5rem;
  }

  .login-statement {
    padding: 2.5rem 0;
  }

  .login-statement h1 {
    font-size: clamp(4.7rem, 21vw, 5.7rem);
  }

  .login-panel {
    min-height: 34rem;
    padding: 3rem 1.25rem;
  }

  .checkout-fields.two-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .search-panel {
    padding: 1rem;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 0;
    padding: 5rem 1.25rem 3rem;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(4.25rem, 20vw, 5.5rem);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-visual {
    min-height: 100%;
  }

  .hero-visual > #heroImage {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .hero-video,
  .hero-visual > #heroImage {
    object-position: 58% center;
  }

  .hero::after {
    background: linear-gradient(180deg, rgb(0 0 0 / 20%) 0%, rgb(0 0 0 / 34%) 45%, rgb(0 0 0 / 88%) 100%);
  }

  .collection-entry {
    min-height: 38rem;
  }

  .collection-entry::after {
    background: linear-gradient(180deg, rgb(0 0 0 / 10%) 12%, rgb(0 0 0 / 35%) 42%, rgb(0 0 0 / 94%) 82%);
  }

  .collection-entry > img {
    object-position: 65% center;
  }

  .collection-entry-content {
    width: 100%;
    align-self: end;
    padding: 2.5rem 1.25rem 3rem;
  }

  .collection-entry h2 {
    max-width: 8ch;
    font-size: clamp(3.6rem, 16vw, 4.75rem);
  }

  .featured-product {
    grid-template-columns: 1fr;
  }

  .featured-product-media {
    min-height: 28rem;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .featured-product-copy {
    padding: 3rem 1.25rem 3.5rem;
  }

  .featured-product h2 {
    font-size: clamp(3.4rem, 15vw, 4.75rem);
  }

  .catalog-section {
    padding: 4.5rem 1rem 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: minmax(10rem, 1fr) minmax(9rem, 0.9fr);
  }

  .product-media {
    min-height: 24rem;
    padding: 1rem;
  }

  .product-media img {
    width: 95%;
    height: 20rem;
  }

  .product-info {
    min-height: 24rem;
    padding: 1.25rem;
  }

  .product-info h3 {
    margin-top: 2rem;
    font-size: 1.9rem;
  }

  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-strip {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 2rem 1.25rem;
  }

  .brand-list {
    gap: 1rem 1.8rem;
  }

  .brand-list button {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .brand-strip p {
    display: none;
  }

  .story-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-media {
    min-height: clamp(24rem, 110vw, 34rem);
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
  }

  .story-media img {
    min-height: clamp(24rem, 110vw, 34rem);
    object-position: 52% center;
  }

  .story-content {
    padding: 5rem 1.25rem 6rem;
  }

  .story-belief {
    margin-top: 2.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 3rem 1.25rem;
  }

  .site-footer a {
    justify-self: start;
  }

  .admin-main {
    padding: 2rem 1rem 4rem;
  }

  .admin-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .admin-intro h1 {
    font-size: clamp(4.4rem, 20vw, 5.6rem);
  }

  .editor-panel,
  .inventory-panel {
    padding: 1.25rem;
  }

  .taxonomy-heading {
    display: block;
    padding: 1.25rem;
  }

  .taxonomy-heading p {
    margin-top: 0.75rem;
  }

  .taxonomy-columns {
    grid-template-columns: 1fr;
  }

  .taxonomy-columns > section {
    padding: 1.25rem;
  }

  .taxonomy-columns > section + section {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .product-page-media {
    min-height: 28rem;
    padding: 2rem;
  }

  .product-page-copy {
    padding: 3rem 1.25rem 4rem;
  }

  .product-breadcrumb {
    margin-bottom: 3rem;
  }

  .product-page-copy h1 {
    font-size: clamp(4rem, 18vw, 5.5rem);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card,
  .related-card:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .two-column-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .inventory-heading {
    align-items: start;
  }

  .inventory-item {
    grid-template-columns: 4.5rem 1fr;
  }

  .inventory-thumb {
    width: 4.5rem;
    height: 5rem;
  }

  .inventory-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 430px) {
  .admin-header > span {
    display: none;
  }

  .admin-header {
    grid-template-columns: auto 1fr;
  }

  .admin-header-actions {
    justify-self: end;
  }

  .admin-header-actions .text-button {
    font-size: 0.75rem;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-media,
  .product-info {
    min-height: 20rem;
  }

  .product-info h3 {
    margin-top: 1rem;
  }

  .brand-strip {
    padding-inline: 1rem;
  }

  .product-page-actions,
  .taxonomy-form {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .taxonomy-form input {
    border-right: 1px solid #a8a8a0;
    border-bottom: 0;
  }
}

.payment-result-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.payment-result-main {
  display: grid;
  align-items: center;
  flex: 1;
  width: min(100% - 3rem, 84rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.payment-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.payment-result-heading h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.payment-result-heading > p {
  max-width: 55ch;
  margin: 2rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.payment-result-detail {
  min-width: 0;
  padding: 2rem;
  border: 1px solid var(--rule);
  background: var(--soft);
}

.payment-result-rule {
  display: block;
  width: 3rem;
  height: 0.35rem;
  margin-bottom: 2.5rem;
  background: var(--lime);
}

.payment-result-label {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.payment-result-detail strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
}

.payment-result-status {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
  font-weight: 600;
}

.payment-result-note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.payment-result-body[data-payment-state="APPROVED"] .payment-result-status {
  color: var(--success);
}

.payment-result-body[data-payment-state="REJECTED"] .payment-result-status,
.payment-result-body[data-payment-state="CANCELLED"] .payment-result-status,
.payment-result-body[data-payment-state="ERROR"] .payment-result-status {
  color: var(--danger);
}

@media (max-width: 720px) {
  .payment-result-main {
    width: min(100% - 2.5rem, 38rem);
  }

  .payment-result-layout {
    grid-template-columns: 1fr;
  }

  .payment-result-heading h1 {
    font-size: clamp(3.5rem, 12vw, 5rem);
  }

  .payment-result-detail {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

/* Stock launch: dense, scannable merchandising for the complete Excel inventory. */
.catalog-section {
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.brand-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.65rem 0 1.8rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.brand-filter-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6rem;
}

.brand-list button {
  min-width: 0;
  min-height: 7.4rem;
  border: 1px solid var(--rule);
  background: #f7f7f3;
  padding: 0.7rem 0.75rem 0.65rem;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--body);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease-out, background-color 180ms ease-out;
}

.brand-list button::after {
  height: 4px;
}

.brand-list button:hover {
  background: var(--paper);
  border-color: var(--ink);
}

.brand-list button[aria-pressed="true"] {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
}

.brand-logo-frame {
  width: 100%;
  height: 4rem;
  display: grid;
  place-items: center;
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-frame .brand-all-mark {
  width: 2.85rem;
  height: 2.85rem;
}

.brand-wordmark {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-filter-name {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-list button:hover .brand-logo-frame img,
.brand-list button:hover .brand-wordmark {
  transform: translateY(-0.12rem) scale(1.025);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.product-media {
  width: 100%;
  min-height: 22rem;
  padding: 0.75rem;
  overflow: hidden;
}

.product-media img {
  width: min(94%, 22rem);
  height: 21rem;
  mix-blend-mode: multiply;
  filter: none;
  transform: scale(1.05);
}

.product-card:hover .product-media img {
  transform: translateY(-0.4rem) rotate(1.5deg) scale(1.09);
}

.hero-visual > #heroImage[src*="-cutout.webp"],
.product-media img[src*="-cutout.webp"],
.detail-media img[src*="-cutout.webp"],
.cart-item img[src*="-cutout.webp"],
.product-gallery-stage > img[src*="-cutout.webp"],
.product-gallery-thumbs img[src*="-cutout.webp"] {
  mix-blend-mode: normal;
}

.product-media img[src*="-cutout.webp"] {
  filter: drop-shadow(0 1.1rem 1.1rem rgb(0 0 0 / 12%));
}

.product-gallery-stage > img[src*="-cutout.webp"] {
  filter: drop-shadow(0 2rem 2.4rem rgb(0 0 0 / 13%));
}

.product-info {
  width: 100%;
  min-height: 15.5rem;
  padding: 1.35rem;
  border-top: 1px solid var(--rule);
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: auto;
}

.product-brand {
  margin-bottom: 0;
  font-size: 0.7rem;
}

.product-info h3 {
  max-width: 18ch;
  min-height: 3.8rem;
  margin: 2rem 0 0.45rem;
  font-size: clamp(1.65rem, 2.35vw, 2.25rem);
}

.product-price {
  margin-bottom: 1.1rem;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
}

.product-actions .primary-button,
.product-actions .secondary-button {
  width: 100%;
  padding-inline: 0.55rem;
  text-align: center;
}

.product-rating-panel {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.rating-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rating-panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rating-panel-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.product-rating-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.rating-item {
  padding: 0.75rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.rating-item > div {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
}

.rating-item strong {
  font-variant-numeric: tabular-nums;
}

.rating-item.is-overall {
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--paper);
}

.rating-meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.2rem;
}

.rating-meter i {
  display: block;
  height: 0.28rem;
  background: #d8d8d1;
}

.rating-meter i.is-active {
  background: var(--lime-ink);
}

.rating-item.is-overall .rating-meter i {
  background: rgb(255 255 255 / 22%);
}

.rating-item.is-overall .rating-meter i.is-active {
  background: var(--lime);
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .brand-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .catalog-section {
    padding-bottom: 4.5rem;
  }

  .brand-strip {
    display: grid;
    padding: 1.25rem 0;
  }

  .brand-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-right: -1rem;
    padding: 0 1rem 0.2rem 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: inline mandatory;
  }

  .brand-list::-webkit-scrollbar {
    display: none;
  }

  .brand-list button {
    flex: 0 0 9.5rem;
    min-height: 6.8rem;
    scroll-snap-align: start;
  }

  .brand-logo-frame {
    height: 3.65rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) minmax(10rem, 0.95fr);
  }

  .product-media,
  .product-info {
    min-height: 23rem;
  }

  .product-media {
    padding: 0;
  }

  .product-media img {
    width: 112%;
    height: 21rem;
    transform: scale(1.03);
  }

  .product-info {
    padding: 1.1rem;
    border-top: 0;
    border-left: 1px solid var(--rule);
  }

  .product-info h3 {
    min-height: 0;
    margin-top: 1rem;
    font-size: 1.75rem;
  }

  .product-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-rating-grid {
    grid-template-columns: 1fr;
  }

  .rating-item.is-overall {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .product-card {
    display: flex;
  }

  .product-media,
  .product-info {
    min-height: 20rem;
  }

  .product-info {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }
}
.checkout-main {
  max-width: 94rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 2rem 6rem;
}

.checkout-intro { max-width: 48rem; margin-bottom: 3rem; }
.checkout-intro h1 {
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.88;
  text-transform: uppercase;
  margin: 0.7rem 0 1.5rem;
}
.checkout-intro > p:last-child { color: var(--muted); max-width: 36rem; }

.checkout-unavailable {
  max-width: 42rem;
  padding: 2rem 0;
  border-top: 1px solid var(--ink);
}
.checkout-unavailable h2 { font-family: var(--display); font-size: clamp(2.4rem, 4.3vw, 4rem); line-height: 1; text-transform: uppercase; }
.checkout-unavailable p { color: var(--muted); margin: 1rem 0 2rem; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.8fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.checkout-step { border-top: 1px solid var(--ink); padding: 1.6rem 0 2.8rem; }
.checkout-step-title { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; }
.checkout-step-title > span { font-family: var(--display); font-size: 1.65rem; font-weight: 800; color: var(--lime-ink); }
.checkout-step-title h2 { font-family: var(--display); font-size: clamp(1.65rem, 3vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.checkout-step .checkout-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1rem; }
.checkout-field-wide { grid-column: 1 / -1; }
.checkout-step .field-row input, .checkout-step .field-row select { min-height: 3rem; }
.checkout-step .form-message { min-height: 1.5rem; margin: 0.7rem 0 0; }

.checkout-methods { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0 0; padding: 1.5rem 0 0; }
.checkout-methods legend { font-family: var(--display); font-size: 1.65rem; font-weight: 700; text-transform: uppercase; }
.checkout-method { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; border: 1px solid var(--rule); margin: 0.7rem 0; padding: 1rem; cursor: pointer; }
.checkout-method:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.checkout-method > span { display: grid; gap: 0.25rem; }
.checkout-method small { color: var(--muted); }
.checkout-method input { accent-color: var(--ink); width: 1.1rem; height: 1.1rem; }
.checkout-provider-note { color: var(--muted); margin: 0.5rem 0 1.3rem; }

.checkout-summary { position: sticky; top: 6rem; background: var(--soft); border: 1px solid var(--rule); padding: 2rem; }
.checkout-summary h2 { font-family: var(--display); font-size: clamp(1.65rem, 3vw, 2.6rem); text-transform: uppercase; margin: 1.5rem 0; }
.checkout-summary-item, .checkout-totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--rule); }
.checkout-summary-item > span { max-width: 16rem; }
.checkout-summary-item strong, .checkout-totals dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.checkout-totals { margin: 1.5rem 0 0; }
.checkout-totals dt, .checkout-totals dd { margin: 0; }
.checkout-grand-total { border-top-color: var(--ink) !important; font-weight: 700; font-size: 1.15rem; }

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; grid-row: 1; }
}

@media (max-width: 600px) {
  .checkout-main { padding: 2rem 1.25rem 4rem; }
  .checkout-intro { margin-bottom: 2rem; }
  .checkout-intro h1 { font-size: clamp(3.5rem, 12vw, 5rem); }
  .checkout-summary { padding: 1.25rem; }
  .checkout-step .checkout-fields { grid-template-columns: 1fr; }
  .checkout-method { gap: 0.6rem; padding: 0.8rem; }
  .checkout-summary-item, .checkout-totals > div { font-size: 0.9rem; }
}
.operations-main { max-width: 94rem; margin: 0 auto; padding: 3rem 2rem 6rem; }
.operations-intro { margin-bottom: 2.5rem; }
.operations-intro h1 { font-family: var(--display); font-size: clamp(3.4rem, 5.3vw, 5.6rem); line-height: 0.95; text-transform: uppercase; }
.operations-intro p { max-width: 43rem; color: var(--muted); }
.operations-gate { border-top: 1px solid var(--ink); padding: 2rem 0; }
.operations-gate h2 { font-family: var(--display); font-size: 2.4rem; text-transform: uppercase; }
.operations-gate p { color: var(--muted); }
.operations-panel { margin-top: 1.5rem; border: 1px solid var(--rule); background: var(--paper); }
.operations-heading { padding: 1.5rem 2rem; border-bottom: 1px solid var(--ink); }
.operations-heading h2 { font-family: var(--display); font-size: 2.35rem; line-height: 1; text-transform: uppercase; }
.operations-heading p { margin: 0.5rem 0 0; color: var(--muted); }
.operations-form { min-width: 0; padding: 1.5rem 2rem 2rem; }
.operations-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.operations-form .field-row small { display: block; margin-top: 0.35rem; color: var(--muted); }
.operations-form .field-row input { min-height: 2.9rem; }
.operations-check { display: flex; align-items: center; gap: 0.7rem; margin: 0.6rem 0 1.5rem; font-weight: 600; }
.operations-check input { accent-color: var(--ink); width: 1.1rem; height: 1.1rem; }
.operations-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.operations-form .form-message { min-height: 1.5rem; margin: 0.8rem 0 0; }
.operations-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr); }
.operations-split > .operations-list { border-left: 1px solid var(--rule); padding: 0 1.5rem; }
.operations-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.operations-row > div { display: grid; gap: 0.3rem; min-width: 0; overflow-wrap: anywhere; }
.operations-row span, .operations-empty { color: var(--muted); }
.operations-empty { margin-top: 1.5rem; }
.state-selector { border: 0; border-top: 1px solid var(--rule); margin: 1.5rem 0; padding: 0.8rem 0 0; }
.state-selector legend { font-family: var(--display); font-size: 1.65rem; font-weight: 700; text-transform: uppercase; }
.state-selector > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; }
.state-selector label { display: flex; align-items: center; gap: 0.5rem; min-height: 2.3rem; }
.state-selector input { accent-color: var(--ink); width: 1rem; height: 1rem; }

@media (max-width: 900px) {
  .operations-split { grid-template-columns: 1fr; }
  .operations-split > .operations-list { border-left: 0; border-top: 1px solid var(--rule); padding: 0 2rem 1rem; }
}

@media (max-width: 600px) {
  .operations-main { padding: 2rem 1.25rem 4rem; }
  .operations-heading, .operations-form { padding: 1.25rem; }
  .operations-fields { grid-template-columns: 1fr; }
  .operations-split > .operations-list { padding: 0 1.25rem 1rem; }
  .state-selector > div { grid-template-columns: 1fr; }
  .operations-row { align-items: flex-start; flex-direction: column; }
}
