:root {
  --bg: #fafaf8;
  --surface: #f0f0ed;
  --ink: #171918;
  --muted: #656862;
  --line: #dcded7;
  --accent: #385646;
  --error: #9d302e;
  --radius: 12px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
img {
  max-width: 100%;
  display: block;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(36px, 3.65vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.052em;
  font-weight: 550;
}
h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 550;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  padding: 0;
  font-weight: 600;
  width: 100%;
}
small {
  font-size: 12px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
html[data-input-modality="pointer"] :is(button, a, summary, [tabindex]):focus,
:is(h1, h2, h3)[tabindex="-1"]:focus {
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  top: -80px;
  left: 16px;
  background: white;
  padding: 12px;
  z-index: 200;
}
.skip:focus {
  top: 6px;
}
.wordmark {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -1.2px;
  text-decoration: none;
  position: relative;
  line-height: 1;
}
.wordmark-dot {
  font-size: 10px;
  position: absolute;
  top: 0;
  right: -10px;
  letter-spacing: 0;
}
.product-main {
  max-width: 1440px;
  margin: auto;
  padding: 0 64px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  margin: 28px 0 32px;
}
.breadcrumb a {
  text-decoration: none;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  gap: 76px;
  align-items: start;
}
.gallery-column {
  min-width: 0;
}
.gallery-stage {
  position: relative;
  aspect-ratio: 1.1;
  background: var(--surface);
  border: 1px solid #e9eae4;
  border-radius: 3px;
  overflow: hidden;
}
.stage-label {
  position: absolute;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font: 9px/1.4 monospace;
  letter-spacing: 0.06em;
  color: #686b63;
  z-index: 2;
}
.stage-label {
  top: 23px;
}
.selected-kit {
  padding-top: 30px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 18px;
}
.section-heading > span {
  font-family: monospace;
  font-size: 10px;
  color: var(--muted);
}
.contents-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.content-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.content-item > span:first-child {
  font: 10px monospace;
  color: var(--muted);
  background: var(--surface);
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.content-item strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
}
.content-item small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.eyebrow {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 7px;
}
.configuration > .eyebrow {
  margin-bottom: 18px;
  color: #54674d;
}
.product-intro {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0 26px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.product-price strong {
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 550;
}
.product-price span {
  font-size: 11px;
  color: var(--muted);
}
.config-section {
  margin: 0 0 25px;
}
.config-section legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 10px;
}
.step-label {
  font: 10px monospace;
  font-weight: 400;
  color: var(--muted);
}
.field-hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 7px;
}
.plate-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin: 13px 0 10px;
}
.plate-choice {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 7px;
  padding: 12px;
  min-height: 76px;
}
.plate-choice strong,
.plate-choice span {
  display: block;
}
.plate-choice strong {
  font-size: 22px;
  font-weight: 700;
}
.plate-choice span {
  font-size: 10px;
  color: var(--muted);
}
.plate-choice.selected {
  border: 1.5px solid var(--ink);
  background: #f0f1eb;
  box-shadow: inset 0 0 0 0.5px var(--ink);
}
.sleeve-row {
  margin: 12px 0;
}
.sleeve-row-heading {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 9px;
}
.sleeve-row-heading span:last-child {
  color: var(--muted);
}
.color-options {
  display: flex;
  gap: 10px;
}
.color-choice {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 66px;
  min-height: 54px;
  padding: 6px 9px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 10px;
}
.color-choice:before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid #00000012;
}
.color-choice[data-color="black"] {
  --swatch: #292a2c;
}
.color-choice[data-color="blue"] {
  --swatch: #344d6c;
}
.color-choice[data-color="red"] {
  --swatch: #8e3b3d;
}
.color-choice[data-color="coffee"] {
  --swatch: #795a43;
}
.color-choice.selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 0.5px var(--ink);
}
.text-button {
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 11px;
  cursor: pointer;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tool-option {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px;
  cursor: pointer;
}
.tool-icon {
  font-size: 26px;
  width: 25px;
  text-align: center;
  color: var(--muted);
}
.tool-option strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.tool-option small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.option-cost {
  margin-left: auto;
  font-size: 12px;
  white-space: nowrap;
}
.tool-option input {
  width: 19px;
  height: 19px;
  accent-color: var(--ink);
  flex: none;
}
.custom-check {
  display: none;
}
.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.quantity-row strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.quantity-row small {
  font-size: 10px;
  color: var(--muted);
}
.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  flex: none;
}
.quantity-control button {
  width: 40px;
  height: 42px;
  background: transparent;
  border: 0;
  font-size: 20px;
}
.quantity-control output {
  min-width: 30px;
  text-align: center;
  font-size: 12px;
}
.configuration-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  font-size: 12px;
}
.configuration-total strong {
  font-size: 23px;
  letter-spacing: -0.7px;
  font-weight: 550;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 50px;
  border-radius: 7px;
  border: 1px solid var(--ink);
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
  transition:
    background 0.15s,
    color 0.15s;
}
.primary {
  background: var(--ink);
  color: white;
}
.primary:hover {
  background: #333831;
}
.secondary {
  background: transparent;
}
.secondary:hover {
  background: #eeefe9;
}
.wide {
  width: 100%;
  justify-content: space-between;
}
.under-cta {
  text-align: center;
  margin: 10px 0;
  font-size: 10px;
}
#continueButton {
  margin-top: 17px;
  min-height: 66px;
  font-size: 22px;
  font-weight: 600;
}
.dispatch-note {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 22px;
  display: flex;
  gap: 15px;
}
.dispatch-note > span {
  font-size: 22px;
}
.dispatch-note strong {
  font-size: 11px;
  font-weight: 600;
}
.dispatch-note p {
  font-size: 11px;
  margin-top: 5px;
}
.product-story {
  border-top: 1px solid var(--line);
  margin-top: 100px;
  padding: 55px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: end;
}
.product-story h2 {
  font-size: 35px;
  margin-top: 15px;
}
.product-story > p {
  font-size: 14px;
  max-width: 470px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.detail-photo {
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}
.detail-photo > img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 32px;
}
.detail-photo > div {
  padding: 0 32px 32px;
}
.detail-photo h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 10px 0;
}
.detail-photo p {
  font-size: 12px;
  max-width: 400px;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  padding: 85px 0;
}
.faq-section h2 {
  margin: 15px 0;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: 15px;
  min-height: 27px;
  align-items: center;
}
.faq-list summary:after {
  content: "+";
  font-size: 20px;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details p {
  font-size: 12px;
  margin: 12px 25px 5px 0;
}
.shop-footer {
  max-width: 1440px;
  border-top: 1px solid var(--line);
  margin: auto;
  padding: 32px 64px 35px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.shop-footer > .wordmark {
  font-size: 20px;
}
.shop-footer > p {
  font-size: 10px;
}
.shop-footer nav {
  flex-wrap: wrap;
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 10px;
}
.shop-footer > span {
  font-size: 9px;
  color: var(--muted);
}
.mobile-buy {
  display: none;
}
.dialog-close {
  position: absolute;
  right: 8px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 30px;
  width: 44px;
  height: 44px;
}
.notice {
  border: 1px solid #ced7c5;
  background: #edf1e8;
  padding: 14px 18px;
  font-size: 12px;
  border-radius: 7px;
  color: #37452e;
}
.notice.error {
  border-color: #e6c5c2;
  background: #fcf2f0;
  color: var(--error);
}
.global-error {
  position: fixed;
  top: calc(var(--shop-header-h, 60px) + env(safe-area-inset-top, 0px) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  width: min(90%, 600px);
  box-shadow: 0 5px 25px #0002;
}
.checkout-main {
  max-width: 1240px;
  padding: 32px 50px 80px;
  margin: auto;
}
.back-link {
  font-size: 11px;
  text-decoration: none;
  color: var(--muted);
}
.checkout-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin: 32px 0;
}
.checkout-heading h1 {
  font-size: 42px;
  margin-top: 10px;
}
.guest-note {
  font-size: 11px;
  color: var(--muted);
}
.checkout-progress {
  padding: 0 0 26px;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--line);
  list-style: none;
  display: flex;
  gap: 30px;
  font-size: 11px;
  color: var(--muted);
}
.checkout-progress li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.checkout-progress li > span {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.checkout-progress .current {
  color: var(--ink);
}
.checkout-progress .current > span {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
.checkout-panel {
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 9px;
  background: #fff;
}
.checkout-panel .section-heading {
  margin-bottom: 10px;
}
.section-copy {
  font-size: 12px;
  margin-bottom: 22px;
}
.field {
  margin-bottom: 18px;
}
.field > label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 6px;
}
.field label > span {
  font-weight: 400;
  color: var(--muted);
}
input:not([type="checkbox"]):not([type="radio"]),
select {
  width: 100%;
  height: 46px;
  border: 1px solid #cdd0c7;
  border-radius: 6px;
  background: #fff;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 13px;
  min-width: 0;
}
.checkout-main select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%23565b53' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.checkout-main select:hover:not(:disabled) {
  border-color: #aeb3a8;
  background-color: #fafbf8;
}
.checkout-main select:disabled {
  cursor: wait;
}
input::placeholder {
  color: #8b8e85;
}
input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--error) !important;
}
.checkout-main input:not([type="checkbox"]):not([type="radio"]):focus,
.checkout-main select:focus {
  outline: none;
  box-shadow: none;
}
.field-error {
  font-size: 11px;
  color: var(--error);
  display: block;
  margin-top: 5px;
  line-height: 1.5;
}
.field-error:empty {
  display: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.checkout-panel h3 {
  font-size: 14px;
  margin-bottom: 17px;
}
.shipping-options,
.payment-methods {
  display: grid;
  gap: 10px;
}
.choice-row {
  display: flex;
  gap: 11px;
  align-items: start;
  padding: 15px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  position: relative;
}
.choice-row:has(input:checked) {
  border-color: var(--ink);
  background: #f6f7f2;
}
.choice-row input {
  margin: 4px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
  flex: none;
}
.choice-row strong {
  font-weight: 550;
  font-size: 12px;
  display: block;
}
.choice-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.choice-price {
  font-size: 12px;
  white-space: nowrap;
  margin-left: auto;
}
.dispatch-inline {
  font-size: 11px;
  margin: 18px 0 22px;
}
.empty-note {
  font-size: 12px;
  padding: 15px 0;
}
.order-summary {
  background: var(--surface);
  padding: 26px;
  border-radius: 9px;
  position: sticky;
  top: calc(var(--shop-header-h, 60px) + env(safe-area-inset-top, 0px) + 22px);
}
.order-summary > details > summary {
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order-summary > details > summary:after {
  content: "−";
  margin-left: 10px;
}
.order-summary > details:not([open]) > summary:after {
  content: "+";
}
.summary-items {
  margin: 24px 0 8px;
}
.summary-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.summary-item > img {
  width: 64px;
  height: 58px;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: #e5e6de;
  border-radius: 5px;
  padding: 5px;
}
.summary-item > div {
  flex: 1;
  min-width: 0;
}
.summary-item strong {
  font-size: 12px;
  display: block;
  font-weight: 550;
}
.summary-item p {
  font-size: 10px;
  margin-top: 3px;
}
.summary-item > span {
  font-size: 12px;
  white-space: nowrap;
}
.summary-costs {
  border-top: 1px solid #d5d7ce;
  padding-top: 18px;
  margin-top: 16px;
}
.summary-costs > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  margin-bottom: 10px;
}
.summary-costs > div > span:first-child {
  color: var(--muted);
}
.summary-costs .summary-total {
  border-top: 1px solid #d5d7ce;
  padding-top: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
  align-items: center;
}
.summary-total strong {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.6px;
}
.summary-total strong:first-child {
  font-size: 14px;
  letter-spacing: 0;
}
.summary-total small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 5px;
}
.promo-details {
  border-top: 1px solid #d5d7ce;
  margin-top: 20px;
  padding-top: 15px;
}
.promo-details summary {
  font-size: 11px;
  cursor: pointer;
}
.promo-input {
  display: flex;
  margin: 12px 0 5px;
  gap: 6px;
}
.promo-input button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 0 15px;
  font-size: 11px;
}
.summary-help {
  border-top: 1px solid #d5d7ce;
  padding-top: 18px;
  margin-top: 22px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.summary-help > span {
  color: var(--muted);
}
.summary-help > a {
  white-space: nowrap;
}
.review-details {
  display: grid;
  gap: 18px;
  font-size: 12px;
  margin-top: 22px;
}
.review-details strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight: 400;
}
.asset-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.asset-options label {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
}
.asset-options input {
  accent-color: var(--ink);
}
#cryptoAssets {
  margin-top: 16px;
}
#cryptoAssets legend {
  font-size: 11px;
}
.payment-explainer {
  font-size: 11px;
  background: #f1f3ed;
  padding: 14px;
  border-radius: 5px;
  margin: 20px 0;
  color: var(--muted);
}
.terms-check {
  display: flex;
  align-items: start;
  gap: 9px;
  font-size: 11px;
  line-height: 1.6;
}
.terms-check input {
  margin: 3px 0;
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--ink);
}
#payButton {
  margin-top: 22px;
}
#paymentError {
  margin-top: 15px;
}
.status-main {
  max-width: 1000px;
  margin: 60px auto 80px;
  padding: 0 32px;
  text-align: center;
  min-height: 55vh;
}
.status-main > .eyebrow {
  justify-content: center;
  margin-bottom: 17px;
}
.status-main h1 {
  font-size: 43px;
}
.status-copy {
  max-width: 530px;
  margin: 20px auto;
  font-size: 14px;
}
.status-mark {
  width: 65px;
  height: 65px;
  margin: 0 auto 25px;
  border: 1px solid #c8d2c1;
  background: #eaf0e5;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 27px;
  color: #395337;
}
.order-reference {
  font: 11px monospace;
  margin: 15px 0;
  color: var(--muted);
}
.status-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}
.confirmation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  text-align: left;
  margin: 35px 0;
}
.receipt-card {
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 8px;
  background: #fff;
}
.receipt-card h2 {
  font-size: 17px;
  margin-bottom: 22px;
}
.receipt-lines {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 15px;
}
.receipt-lines > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 9px;
  gap: 15px;
}
.receipt-lines dt {
  color: var(--muted);
}
.receipt-lines dd {
  margin: 0;
  font-weight: 550;
}
.receipt-card p {
  font-size: 12px;
}
.receipt-card address {
  font-style: normal;
  font-size: 12px;
  margin: 12px 0;
}
.fulfillment-timeline {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.fulfillment-timeline li {
  position: relative;
  font-size: 11px;
  padding: 0 0 20px 25px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  margin-left: 5px;
}
.fulfillment-timeline li:last-child {
  border-left: 0;
  padding-bottom: 0;
}
.fulfillment-timeline li:before {
  position: absolute;
  left: -5px;
  top: 4px;
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e0e3d9;
}
.fulfillment-timeline li.current {
  color: var(--ink);
}
.fulfillment-timeline li.current:before {
  background: var(--accent);
}
.post-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 25px;
  padding: 30px;
  background: var(--surface);
  border-radius: 8px;
}
.post-purchase h2 {
  font-size: 23px;
  margin: 10px 0;
}
.post-purchase p {
  font-size: 12px;
}
.restore-card {
  max-width: 500px;
  margin: 30px auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-align: left;
}
.crypto-payment {
  background: white;
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 8px;
  max-width: 500px;
  margin: 25px auto;
  overflow-wrap: anywhere;
}
.crypto-payment img {
  width: 200px;
  height: 200px;
  margin: 20px auto;
}
.crypto-payment p {
  font-size: 12px;
}
.crypto-payment code {
  font-size: 10px;
  display: block;
  margin: 12px 0;
}
.terms-main {
  max-width: 760px;
  margin: 55px auto 80px;
  padding: 0 28px;
}
.terms-main h1 {
  margin: 18px 0 30px;
}
.terms-main h2 {
  font-size: 20px;
  margin: 28px 0 12px;
}
.terms-main p {
  font-size: 14px;
}
.terms-main > .button {
  margin-top: 30px;
}
.empty-state {
  text-align: center;
  padding: 50px;
}
.empty-state p {
  margin: 15px 0 25px;
}
.operations-main {
  max-width: 1150px;
  margin: 45px auto;
  padding: 0 30px 60px;
}
.operations-main h1 {
  margin: 15px 0 25px;
}
.operations-order {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 25px;
  background: white;
}
.operations-order h2 {
  font-size: 18px;
}
.operations-order p {
  font-size: 12px;
  margin: 10px 0;
}
.operations-order form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.operations-order input,
.operations-order select {
  max-width: 230px;
}
.operations-order pre {
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.loading {
  opacity: 0.55;
  pointer-events: none;
}
.shop-loading {
  min-height: 200px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
@media (min-width: 1200px) {
  .gallery-column {
    position: sticky;
    top: 24px;
  }
  .gallery-stage {
    aspect-ratio: 1.12;
  }
}
@media (max-width: 1199px) {
  .product-main {
    padding: 0 35px;
  }
  .product-layout {
    gap: 35px;
  }
  .gallery-stage {
    aspect-ratio: 0.9;
  }
  .stage-label {
    left: 16px;
    right: 16px;
    font-size: 8px;
  }
  .color-options {
    gap: 6px;
  }
  .color-choice {
    min-width: 0;
    padding: 8px 6px;
  }
  .product-price {
    gap: 10px;
  }
  .contents-list {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    gap: 25px;
  }
  .checkout-main {
    padding: 30px 35px 65px;
  }
  .checkout-panel {
    padding: 22px;
  }
  .order-summary {
    padding: 22px;
  }
  .shop-footer {
    padding: 30px 35px;
    gap: 20px;
  }
  .shop-footer > p {
    display: none;
  }
}
@media (max-width: 800px) {
  .wordmark {
    font-size: 24px;
  }
  .product-main {
    padding: 0 24px;
  }
  .product-layout {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .product-intro {
    font-size: 12px;
  }
  h1 {
    font-size: 38px;
  }
  .gallery-stage {
    aspect-ratio: 0.82;
  }
  .plate-choice {
    padding: 8px;
    min-height: 65px;
  }
  .color-choice {
    flex-direction: column;
    gap: 3px;
  }
  .tool-icon {
    display: none;
  }
  .tool-option {
    padding: 12px;
    gap: 8px;
  }
  .tool-option small {
    font-size: 9px;
  }
  .option-cost {
    font-size: 11px;
  }
  .product-price {
    align-items: baseline;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  .product-story {
    gap: 35px;
    margin-top: 60px;
    padding: 40px 0;
  }
  .product-story h2 {
    font-size: 28px;
  }
  .product-story > p {
    font-size: 12px;
  }
  .detail-photo > img {
    height: 250px;
    padding: 25px;
  }
  .detail-photo > div {
    padding: 0 23px 25px;
  }
  .detail-photo h3 {
    font-size: 18px;
  }
  .faq-section {
    gap: 30px;
    padding: 55px 0;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .order-summary {
    position: static;
    grid-row: 1;
    padding: 20px 24px;
  }
  .checkout-heading h1 {
    font-size: 38px;
  }
  .guest-note {
    font-size: 10px;
  }
  .checkout-panel {
    padding: 27px;
  }
  .summary-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .summary-item {
    flex: 1;
  }
  .summary-help {
    display: none;
  }
  .summary-costs {
    margin-top: 12px;
  }
  .summary-total strong {
    font-size: 22px;
  }
  .order-summary .field-hint {
    font-size: 10px;
  }
  .checkout-main {
    max-width: 690px;
    padding: 25px 24px 55px;
  }
  .confirmation-grid {
    gap: 15px;
  }
  .post-purchase {
    padding: 25px;
    gap: 20px;
  }
  .post-purchase .button {
    font-size: 11px;
    padding: 12px 15px;
  }
  .status-main {
    padding: 0 24px;
  }
  .receipt-card {
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .wordmark {
    font-size: 23px;
  }
  .product-main {
    padding: 0 20px;
  }
  .breadcrumb {
    margin: 19px 0;
    font-size: 10px;
  }
  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .gallery-column {
    width: 100%;
    display: contents;
  }
  .gallery-stage {
    width: 100%;
    aspect-ratio: 1.13;
    order: 0;
  }
  .stage-label {
    top: 20px;
  }
  .configuration {
    order: 3;
    width: 100%;
    margin-top: 0;
  }
  .selected-kit {
    order: 5;
    padding-top: 0;
    width: 100%;
  }
  .contents-list {
    grid-template-columns: 1fr 1fr;
    gap: 15px 10px;
  }
  .content-item {
    gap: 7px;
  }
  .content-item strong {
    font-size: 10px;
  }
  .content-item small {
    font-size: 9px;
  }
  .configuration h1 {
    font-size: 42px;
    line-height: 1.03;
  }
  .configuration h1 br {
    display: none;
  }
  .configuration > .eyebrow {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .product-intro {
    font-size: 13px;
    max-width: 100%;
    margin-top: 14px;
  }
  .product-price {
    margin: 20px 0 24px;
    padding-bottom: 20px;
    gap: 14px;
  }
  .product-price strong {
    font-size: 25px;
  }
  .product-price span {
    font-size: 11px;
  }
  .config-section {
    margin-bottom: 25px;
  }
  .config-section legend {
    font-size: 13px;
  }
  .plate-choice {
    min-height: 72px;
  }
  .plate-choice strong {
    font-size: 23px;
  }
  .color-choice {
    flex-direction: row;
    min-height: 51px;
    font-size: 10px;
    gap: 6px;
  }
  .color-options {
    gap: 8px;
  }
  .sleeve-row-heading {
    font-size: 11px;
  }
  .tool-icon {
    display: block;
  }
  .tool-option {
    padding: 15px 12px;
  }
  .tool-option small {
    font-size: 10px;
  }
  .quantity-row small {
    font-size: 10px;
  }
  .button {
    min-height: 51px;
  }
  .configuration-total strong {
    font-size: 25px;
  }
  .dispatch-note {
    margin-top: 22px;
  }
  .product-story {
    display: block;
    margin-top: 45px;
    padding: 35px 0;
  }
  .product-story h2 {
    font-size: 30px;
  }
  .product-story > p {
    font-size: 13px;
    margin-top: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .detail-photo > img {
    height: 260px;
  }
  .detail-photo h3 {
    font-size: 22px;
  }
  .detail-photo p {
    font-size: 12px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 45px 0;
  }
  .faq-section h2 {
    font-size: 27px;
  }
  .faq-section > .faq-list {
    margin-top: 0;
  }
  .shop-footer {
    padding: 28px 20px 110px;
    flex-wrap: wrap;
    gap: 22px;
  }
  .shop-footer > span {
    width: 100%;
    font-size: 9px;
  }
  .shop-footer nav {
    gap: 16px;
    font-size: 10px;
  }
  .mobile-buy {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fafaf8f5;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 11px 20px calc(11px + env(safe-area-inset-bottom, 0px));
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
  }
  .mobile-buy small {
    display: block;
    font-size: 9px;
    color: var(--muted);
  }
  .mobile-buy strong {
    font-size: 20px;
    font-weight: 550;
    letter-spacing: -0.5px;
  }
  .mobile-buy .button {
    flex: 1;
    max-width: 240px;
    min-height: 44px;
    font-size: 12px;
  }
  .checkout-heading {
    margin: 25px 0;
    display: block;
  }
  .checkout-heading h1 {
    font-size: 37px;
    margin: 12px 0;
  }
  .guest-note {
    font-size: 10px;
  }
  .checkout-progress {
    gap: 15px;
    font-size: 9px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    justify-content: space-between;
  }
  .checkout-progress li {
    gap: 6px;
  }
  .checkout-progress li > span {
    width: 20px;
    height: 20px;
    font-size: 9px;
    flex: none;
  }
  .checkout-main {
    padding: 22px 20px 40px;
  }
  .checkout-panel {
    padding: 22px 17px;
  }
  .section-heading > span {
    font-size: 8px;
  }
  .checkout-panel .section-heading h2 {
    font-size: 19px;
  }
  .form-grid {
    gap: 12px;
  }
  .field > label {
    font-size: 11px;
  }
  input:not([type="checkbox"]):not([type="radio"]),
  select {
    font-size: 16px;
    min-height: 48px;
  }
  .form-grid .field > label {
    font-size: 10px;
  }
  .order-summary {
    padding: 19px 18px;
  }
  .summary-item > img {
    width: 54px;
    height: 50px;
  }
  .summary-item > span {
    font-size: 11px;
  }
  .summary-items {
    margin-top: 20px;
  }
  .summary-costs > div {
    font-size: 11px;
  }
  .order-summary > details > summary {
    font-size: 13px;
  }
  .choice-row {
    padding: 14px 11px;
    gap: 9px;
  }
  .choice-row strong {
    font-size: 11px;
  }
  .choice-row small {
    font-size: 10px;
  }
  .choice-price {
    font-size: 11px;
  }
  .payment-explainer {
    font-size: 11px;
  }
  .status-main {
    margin: 40px auto 50px;
    padding: 0 20px;
  }
  .status-main h1 {
    font-size: 35px;
  }
  .status-copy {
    font-size: 13px;
  }
  .confirmation-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 25px 0;
  }
  .post-purchase {
    flex-direction: column;
    align-items: start;
    padding: 24px;
  }
  .post-purchase h2 {
    font-size: 24px;
  }
  .receipt-card {
    padding: 22px;
  }
  .status-actions > .button {
    width: 100%;
  }
  .restore-card {
    padding: 23px 20px;
  }
  .terms-main {
    margin-top: 35px;
    padding: 0 22px;
  }
  .terms-main h1 {
    font-size: 38px;
  }
  .operations-main {
    padding: 0 20px;
  }
  .operations-main h1 {
    font-size: 35px;
  }
  .operations-order {
    padding: 18px;
  }
  .operations-order form > * {
    max-width: none !important;
    width: 100%;
  }
  body:not([data-page="product"]) .shop-footer {
    padding-bottom: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .confirmation-grid {
    display: block;
  }
  .receipt-card {
    break-inside: avoid;
  }
}

/* Keep focus, totals and form feedback usable below the fixed site header. */
html {
  scrollbar-gutter: stable;
}
.checkout-panel,
.field,
.configuration,
.status-main,
input,
select,
#detailsStepTitle,
#paymentStepTitle,
#main {
  scroll-margin-top: calc(var(--shop-header-h, 60px) + env(safe-area-inset-top, 0px) + 20px);
}
.checkout-layout > *,
.confirmation-grid > *,
.form-grid > *,
.configuration,
.tool-option > span,
.choice-row > span {
  min-width: 0;
}
.review-details,
.receipt-card address,
.receipt-card p,
.order-reference,
.content-item,
.global-error {
  overflow-wrap: anywhere;
}
.global-error {
  max-height: min(35dvh, 240px);
  overflow-y: auto;
}
.text-button,
.back-link,
.promo-details > summary,
.order-summary > details > summary {
  min-height: 44px;
}
.back-link,
.promo-details > summary {
  display: inline-flex;
  align-items: center;
}
.order-summary > details > summary {
  gap: 10px;
  line-height: 1.4;
}
#summaryCompact,
.summary-costs > div > :last-child,
.receipt-lines dd {
  flex-shrink: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.summary-item {
  min-width: 0;
}
.summary-item > img {
  flex: none;
}
.summary-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.choice-row > span:not(.choice-price) {
  flex: 1;
  overflow-wrap: anywhere;
}
.terms-check {
  align-items: center;
  min-height: 44px;
}
.terms-check label {
  padding-block: 8px;
  cursor: pointer;
}
.terms-check input {
  width: 20px;
  height: 20px;
}
.quantity-control button {
  width: 44px;
  height: 44px;
}
.configuration .button,
.checkout-panel .button {
  gap: 12px;
}
.button[aria-busy="true"] {
  cursor: wait;
}
.sleeve-quantity {
  margin-block: 14px;
}
.sleeve-quantity > div:first-child {
  min-width: 0;
}
.sleeve-quantity small {
  display: block;
  line-height: 1.5;
  margin-top: 3px;
}
.config-breakdown {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.config-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.config-breakdown > div > :last-child {
  flex-shrink: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
#configStatus {
  min-height: 20px;
}
#configError {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .gallery-column {
    display: contents;
    position: static;
    width: 100%;
  }
  .gallery-stage {
    order: 0;
    width: 100%;
  }
  .configuration {
    order: 3;
    width: 100%;
  }
  .selected-kit {
    order: 5;
    padding-top: 0;
    width: 100%;
  }
  .product-intro {
    max-width: 580px;
    font-size: 14px;
  }
  .contents-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .color-choice {
    flex-direction: row;
    font-size: 12px;
    gap: 7px;
    min-height: 48px;
  }
  .tool-option strong,
  .choice-row strong,
  .summary-item strong {
    font-size: 13px;
  }
  .tool-option small,
  .choice-row small,
  .summary-item p,
  .field-hint,
  .content-item strong {
    font-size: 12px;
  }
  .content-item small {
    font-size: 11px;
  }
}
@media (max-width: 800px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select {
    font-size: 16px;
    min-height: 48px;
  }
  .checkout-panel .section-heading > span {
    display: none;
  }
  .checkout-progress {
    gap: 12px;
    font-size: 11px;
  }
  .order-summary {
    position: static;
  }
  .summary-items {
    gap: 0;
  }
  .summary-help {
    display: flex;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 14px;
  }
  .summary-help a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .mobile-buy {
    gap: 14px;
  }
  .mobile-buy > div {
    min-width: 0;
  }
  .mobile-buy .button {
    flex-shrink: 0;
    max-width: 190px;
  }
  .mobile-buy small {
    font-size: 11px;
    line-height: 1.3;
  }
  .mobile-buy strong {
    white-space: nowrap;
  }
  .shop-footer nav {
    width: 100%;
    margin-left: 0;
    gap: 4px 20px;
    font-size: 12px;
  }
  .shop-footer nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .summary-help {
    font-size: 11px;
  }
  .checkout-progress li {
    min-width: 0;
    line-height: 1.4;
  }
  .field > label,
  .form-grid .field > label,
  .terms-check {
    font-size: 12px;
  }
  .field-error {
    font-size: 12px;
  }
  .empty-state {
    padding: 32px 0;
  }
  .status-actions > select {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .color-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .color-choice {
    font-size: 12px;
  }
  .summary-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: start;
  }
  .summary-item > img {
    width: 48px;
    height: 48px;
    grid-row: 1 / 3;
  }
  .summary-item > span {
    grid-column: 2;
    font-size: 13px;
  }
  .tool-icon {
    display: none;
  }
  .configuration h1 {
    font-size: clamp(34px, 10vw, 42px);
  }
}

/* One plate/sleeve pair per selection, arranged without obscuring the count. */
.kit-visual {
  position: absolute;
  inset: 65px 32px 55px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  align-content: center;
  align-items: center;
}
.kit-pair { margin: 0; min-width: 0; width: 90%; justify-self: center; }
.kit-visual[data-count="1"] { grid-template-columns: 1fr; }
.kit-visual[data-count="1"] .kit-pair { width: 80%; max-width: 390px; justify-self: center; }
.kit-visual[data-count="3"] .kit-pair:last-child { grid-column: 1 / -1; width: calc(45% - 9px); justify-self: center; }
.kit-pair-images { position: relative; aspect-ratio: 1.5; isolation: isolate; }
.kit-pair .hero-plate {
  width: 82%; height: auto; position: absolute; left: 0; bottom: 0;
  z-index: 1; transform: none;
  filter: drop-shadow(0 9px 7px #00000018);
}
.kit-pair .visual-sleeves { position: absolute; inset: auto; width: 80%; aspect-ratio: 1.4; top: -18%; right: 0; overflow: hidden; }
.kit-pair .visual-sleeves img {
  position: absolute; width: 138%; max-width: none; height: auto;
  left: -19.5%; top: -35.5%; transform: none;
  filter: drop-shadow(0 4px 5px #00000010);
}
.kit-pair figcaption { text-align: center; margin-top: 18px; font-size: 10px; color: var(--muted); }
.gallery-stage { aspect-ratio: 1.05; }
.gallery-column { scroll-margin-top: 80px; }
@media (min-width: 1200px) { .gallery-column { top: 84px; } }
@media (min-width: 601px) and (max-width: 900px) {
  .kit-visual { inset: 70px 15px 50px; gap: 20px 12px; }
  .gallery-stage { aspect-ratio: 0.8; }
}
@media (max-width: 600px) {
  .kit-visual { inset: 55px 22px 40px; gap: 14px 14px; }
  .kit-pair figcaption { margin-top: 12px; font-size: 9px; }
  .gallery-stage { aspect-ratio: 1.05; }
}

/* Preserve the whole photograph at every size, independently of its ratio. */
.gallery-stage { touch-action: pan-y pinch-zoom; user-select: none; cursor: grab; }
.gallery-stage.is-dragging { cursor: grabbing; }
.commercial-copy { white-space: pre-line; overflow-wrap: anywhere; }
.gallery-image {
  position: absolute;
  inset: 58px 32px 52px;
  width: calc(100% - 64px);
  height: calc(100% - 110px);
  object-fit: contain;
  object-position: center;
}
.gallery-image-status {
  position: absolute;
  inset: 44% 24px auto;
  text-align: center;
  font-size: 13px;
}
.kit-pair.plate-only .hero-plate { width: 95%; left: 2.5%; }
.kit-pair figcaption { line-height: 1.4; }
@media (min-width: 601px) and (max-width: 900px) {
  .gallery-stage { aspect-ratio: 1.35; max-height: 520px; }
  .kit-visual { inset: 70px 18% 46px; }
}
@media (max-width: 600px) {
  .gallery-stage { min-height: 284px; }
  .gallery-image { inset: 50px 18px 42px; width: calc(100% - 36px); height: calc(100% - 92px); }
  .stage-label { left: 15px; right: 15px; }
}
/* Compact plate configurator. */
.compact-product { max-width: 1240px; padding-bottom: 44px; }
.compact-product .breadcrumb { margin: 20px 0 24px; }
.compact-product .product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.compact-product .gallery-column { position: static; }
.compact-product .gallery-stage { aspect-ratio: 1.15; }
.compact-product .configuration > .eyebrow { margin-bottom: 10px; }
.compact-product .configuration h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }
.compact-product .product-intro { margin-top: 10px; font-size: 14px; line-height: 1.5; max-width: none; }
.compact-product .product-price { margin: 18px 0; padding-bottom: 16px; }
.compact-product .product-price strong { font-size: 28px; line-height: 1.2; }
.compact-product .product-price span { font-size: 13px; }
.compact-product .plate-config { margin-bottom: 14px; }
.plate-table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.plate-table { border-collapse: collapse; width: 100%; text-align: left; }
.plate-table th, .plate-table td { padding: 10px 0; }
.plate-table thead th { color: var(--muted); background: #f3f4ef; font-size: 11px; font-weight: 500; padding-block: 10px; }
.plate-table thead th span:not(.sr-only) { font-size: 10px; margin-left: 4px; }
.plate-table tr > :first-child { padding-left: 16px; width: 100px; }
.plate-table tr > :last-child { padding-right: 10px; width: 42px; }
.plate-row { border-top: 1px solid var(--line); }
.plate-row th { font-size: 13px; font-weight: 500; }
.plate-row th strong { display: block; font-weight: 600; white-space: nowrap; }
.plate-row th small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.plate-swatches { display: grid; grid-template-columns: repeat(6, minmax(32px, 1fr)); max-width: 240px; }
.plate-swatches > .plate-swatch { width: 100%; }
.plate-swatch { display: inline-grid; place-items: center; position: relative; width: 38px; height: 42px; padding: 0; border: 0; border-radius: 7px; background: transparent; flex: none; font-size: 22px; }
/* The dot and selection ring share one centre at every control size. */
.plate-swatch::before, .plate-swatch.selected::after { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.plate-swatch::before { content: ''; display: block; width: 23px; height: 23px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px #00000015; }
.plate-swatch[data-color='black'] { --swatch: #292a2c; }
.plate-swatch[data-color='blue'] { --swatch: #344d6c; }
.plate-swatch[data-color='red'] { --swatch: #8e3b3d; }
.plate-swatch[data-color='coffee'] { --swatch: #795a43; }
.plate-swatch[data-color='green'] { --swatch: #3f7754; }
.plate-swatch.selected::after { content: ''; width: 32px; height: 32px; box-sizing: border-box; border: 1px solid var(--ink); border-radius: 50%; }
.plate-swatch:hover { background: var(--surface); }
.plate-swatch.no-sleeve { color: #6c7168; font-size: 0; }
.plate-swatch.no-sleeve::before {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M4 20L20 4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.remove-plate { background: none; border: 0; width: 32px; height: 44px; padding: 0; color: var(--muted); font-size: 21px; border-radius: 5px; }
.remove-plate:hover { background: var(--surface); color: var(--ink); }
.add-plate { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 12px; border: 0; border-top: 1px dashed var(--line); padding: 10px 16px; background: #f9faf6; text-align: left; font-size: 16px; font-weight: 600; }
.add-plate:hover:not(:disabled) { background: #edf1e9; }
.add-plate-icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid #cdd5c6; border-radius: 50%; font-size: 0; }
.add-plate-icon::before, .add-plate-icon::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: currentColor; }
.add-plate-icon::before { width: 16px; height: 1px; }
.add-plate-icon::after { width: 1px; height: 16px; }
.add-plate small { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 400; }
.add-plate:disabled { opacity: .7; }
#confirmAddPlate { min-height: 58px; font-size: 18px; font-weight: 600; }
#mobileContinue { min-height: 56px; font-size: 20px; font-weight: 600; }
.plate-material { font-size: 11px; margin-top: 7px; }
.compact-product .compact-tool { border: 0; border-radius: 0; padding: 6px 0; gap: 10px; min-height: 52px; }
.compact-product .compact-tool input { order: 0; width: 18px; height: 18px; }
.compact-product .compact-tool strong { font-size: 13px; }
.compact-product .compact-tool small { font-size: 11px; line-height: 1.5; }
.compact-product .configuration-total { padding-top: 14px; margin-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.config-total-notes { display: flex; justify-content: space-between; align-items: start; gap: 12px; position: relative; color: var(--muted); font-size: 11px; margin-bottom: 14px; }
.compact-product .config-price-details { margin: 0; border: 0; }
.compact-product .config-price-details summary { font-size: 11px; min-height: 26px; padding-block: 0; display: flex; align-items: start; text-decoration: underline; text-underline-offset: 3px; }
.compact-product .config-price-details[open] { padding-bottom: 0; }
.compact-product .config-price-details .config-breakdown { position: absolute; z-index: 5; top: 28px; right: 0; width: min(400px, 100%); padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 10px 30px #00000015; margin: 0; font-size: 12px; }
.compact-product .under-cta { margin-top: 8px; font-size: 11px; }
.compact-product .configuration #configStatus:empty { display: none; }
.compact-product #continueButton { margin-top: 0; }
.kit-contents { border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.compact-product .selected-kit { margin-top: 16px; padding-top: 0; }
.kit-contents-heading { display: flex; align-items: center; gap: 12px; min-height: 50px; padding-block: 12px; }
.kit-contents-heading h2 { margin-right: auto; font-size: 14px; letter-spacing: 0; color: var(--ink); }
.kit-contents-heading > span { font-size: 10px; white-space: nowrap; }
.kit-contents .contents-list { padding: 0 0 18px; }
body[data-page='product']:not(.checking-out) .shop-footer { padding-top: 18px; }
body[data-page='product']:not(.checking-out) .shop-footer-top { display: none; }
body[data-page='product']:not(.checking-out) .shop-footer-bottom { border-top: 0; padding-top: 0; }
body[data-page='product']:not(.checking-out) .shop-footer-bottom > :last-child { display: none; }
body.adding-plate { overflow: hidden; }
.add-plate-dialog { width: min(420px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); color: var(--ink); box-shadow: 0 24px 100px #00000030; }
.add-plate-dialog::backdrop { background: #111a15a6; backdrop-filter: blur(3px); }
.add-plate-dialog .dialog-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; color: var(--muted); }
.add-plate-dialog .eyebrow { margin: 4px 0 10px; font-size: 9px; }
.add-plate-dialog h2 { font-size: 30px; }
.add-plate-dialog > p { margin-top: 8px; font-size: 13px; }
.add-plate-preview { height: 175px; display: grid; place-items: center; padding-top: 20px; margin: 15px 0; border-radius: 10px; background: var(--surface); overflow: hidden; }
.add-plate-preview .kit-pair { width: 210px; max-width: 90%; }
.add-plate-dialog legend { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; }
.add-plate-dialog legend span { font-weight: 400; color: var(--muted); }
.add-plate-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-bottom: 22px; }
.add-color { display: flex; flex-direction: column; align-items: center; border: 1px solid transparent; border-radius: 8px; padding: 4px 0 8px; background: transparent; font-size: 10px; gap: 2px; }
.add-color.selected { border-color: var(--ink); background: #f0f1eb; }
.add-color:hover { background: var(--surface); }
.add-color > .plate-swatch { height: 34px; pointer-events: none; }
@media (max-width: 1050px) {
  .compact-product .product-layout { gap: 28px; }
  .plate-table tr > :first-child { padding-left: 12px; width: 80px; }
  .plate-table tr > :last-child { padding-right: 4px; width: 30px; }
  .plate-swatch { width: 34px; }
  .remove-plate { width: 28px; }
}
@media (max-width: 900px) {
  .compact-product { max-width: 680px; padding-bottom: 26px; }
  .compact-product .product-layout { gap: 18px; }
  .compact-product .gallery-stage { aspect-ratio: 1.65; min-height: 220px; max-height: 300px; }
  .compact-product .gallery-stage .stage-label { top: 10px; }
  .compact-product .kit-visual { inset: 55px 20% 35px; }
  .compact-product .selected-kit { margin-top: 0; }
  .compact-product .product-price { margin: 14px 0; padding-bottom: 12px; }
  .plate-table tr > :first-child { width: 100px; }
  .plate-table tr > :last-child { width: 40px; padding-right: 8px; }
  .plate-swatch { width: 38px; }
  .remove-plate { width: 32px; }
}
@media (max-width: 420px) {
  .compact-product { padding-inline: 16px; }
  .compact-product .breadcrumb { margin: 12px 0; }
  .compact-product .configuration h1 { font-size: clamp(24px, 7.3vw, 29px); }
  .compact-product .gallery-stage { min-height: 210px; aspect-ratio: 1.55; }
  .compact-product .kit-visual { inset: 50px 14% 30px; gap: 12px; }
  .compact-product .kit-pair figcaption { font-size: 8px; margin-top: 8px; }
  .plate-table tr > :first-child { width: 72px; padding-left: 10px; }
  .plate-table tr > :last-child { width: 29px; padding-right: 2px; }
  .plate-swatch { width: 34px; }
  .plate-row th { font-size: 12px; }
  .plate-row th small { font-size: 10px; }
  .remove-plate { width: 27px; }
  .add-plate { padding-inline: 10px; gap: 10px; }
  .add-plate small { font-size: 10px; }
  .add-plate-dialog { padding: 22px 18px; }
}
@media (max-width: 360px) {
  .plate-swatches { grid-template-columns: repeat(3, minmax(32px, 1fr)); }
}
@media (max-width: 900px) {
  .compact-product .kit-visual:not([data-count="1"]) { inset: 50px 16px 28px; gap: 28px 16px; }
  .compact-product .kit-visual:not([data-count="1"]) .kit-pair { width: 100%; max-width: 180px; }
  .compact-product .kit-visual[data-count="2"] .kit-pair { max-width: 210px; }
  .compact-product .kit-visual[data-count="3"] .kit-pair:last-child { width: calc(50% - 8px); }
  .compact-product .gallery-stage:has(.kit-visual:is([data-count="3"], [data-count="4"]):not([hidden])) { aspect-ratio: 1.04; min-height: 290px; max-height: 410px; }
}

/* Per-plate configuration and shared product checkout. */
.plate-card { padding: 20px; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.plate-card-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.plate-card-heading span { font-size: 13px; color: #555951; text-align: right; }
.plate-card .color-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.plate-card .color-choice { min-width: 0; min-height: 56px; padding: 8px 4px; flex-direction: column; font-size: 13px; border-radius: 8px; transition: background-color 160ms, border-color 160ms, box-shadow 160ms; }
.plate-card .color-choice.selected { background: #f0f1eb; }
.plate-card .color-choice:hover { background: #f5f5f1; }
.plate-card .color-choice:before { width: 19px; height: 19px; flex-shrink: 0; }
.plate-card .photo-options .color-choice:before { display: none; }
.photo-options img { width: 100%; height: 66px; object-fit: contain; }
.plate-card .sleeve-toggle { margin-top: 12px; min-height: 44px; font-size: 13px; text-underline-offset: 4px; }
body .field-hint, body .quantity-row small, body .tool-option small, body .under-cta { font-size: 14px; line-height: 1.6; color: #555951; }
body .field label, body .summary-item p, body .config-breakdown, body .summary-costs { font-size: 14px; line-height: 1.6; }
body .content-item small, body .dispatch-note p { font-size: 13px; line-height: 1.6; }
body .product-intro { font-size: 16px; line-height: 1.65; max-width: 44ch; }
body .config-section legend { font-size: 18px; }
body .step-label { font-size: 12px; }
body .plate-choice span { font-size: 13px; }
body .checkout-title { font-size: clamp(30px, 4vw, 44px); }
body.checking-out .mobile-buy { display: none; }
#configStatus:empty { display: none; }
#productCheckout { scroll-margin-top: 90px; }
@media (max-width: 600px) {
  .plate-card { padding: 14px; }
  .plate-card-heading { gap: 8px; }
  .plate-card-heading span { font-size: 12px; }
  .plate-card .color-options { gap: 6px; }
  .photo-options img { height: 52px; }
  .plate-card .color-choice { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .plate-card .color-choice { transition: none; } }
