:root {
  --navy-950: #08131f;
  --navy-900: #0d1b2a;
  --navy-800: #13263a;
  --navy-700: #1b344d;
  --paper: #f7f1e8;
  --paper-deep: #eee3d5;
  --white: #ffffff;
  --ink: #152333;
  --muted: #5a6672;
  --copper: #a6532a;
  --copper-dark: #813b1f;
  --rose: #9f426a;
  --green: #2f7a59;
  --red: #a33131;
  --line: #d8cbbb;
  --line-dark: #2e465d;
  --shadow-sm: 0 4px 14px rgba(8, 19, 31, 0.08);
  --shadow-lg: 0 18px 48px rgba(8, 19, 31, 0.18);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --page: min(1480px, calc(100% - 48px));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-rights { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin-block: 20px 12px; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.studio-rights input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--copper); }
.studio-storage-status { margin-block: 12px 20px; color: var(--ink); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.studio-storage-status.is-error { color: var(--red); }
.private-studio-notice { background: var(--paper-deep); padding: 20px max(24px, calc((100% - 1432px) / 2)); color: var(--ink); }
.private-studio-notice p { max-width: 70ch; margin-block: 0 12px; }
.private-studio-notice button { min-height: 44px; }

/* Product and category routes extend the existing collection system. */
.catalog-route-main { width: var(--page); margin-inline: auto; padding-bottom: 64px; }
.catalog-breadcrumbs { padding-block: 24px; font-size: .875rem; }
.catalog-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 12px; list-style: none; padding: 0; margin: 0; }
.catalog-breadcrumbs li + li::before { content: '/'; margin-right: 12px; color: var(--muted); }
.catalog-breadcrumbs [aria-current] { color: var(--muted); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.product-detail-image { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; }
.product-detail-image img { width: 100%; height: min(65vw, 620px); object-fit: contain; padding: 24px; }
.product-detail-copy { padding-block: 12px; max-width: 65ch; }
.product-detail-copy h1 { font-size: clamp(2rem, 3.3vw, 3.4rem); max-width: 22ch; line-height: 1.08; margin-bottom: 24px; }
.product-detail-description { font-size: 1.125rem; }
.product-detail-price { font-size: 2rem; font-weight: 750; margin-block: 24px; }
.product-detail-price span { display: block; font-size: .875rem; font-weight: 400; color: var(--muted); }
.product-detail-copy > .primary-button { min-height: 52px; width: 100%; max-width: 420px; }
.product-detail-note { font-size: .9375rem; color: var(--muted); max-width: 65ch; margin-top: 16px; }
.preview-product-header { flex-wrap: wrap; gap: 16px 32px; }
.preview-product-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.preview-product-nav a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.preview-product-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
.preview-product-links .primary-button { min-height: 52px; width: min(100%, 420px); text-align: center; }
.preview-mug-collection { margin-top: 48px; }
.preview-mug-collection h2 { margin-bottom: 16px; }
.preview-gallery { margin-top: 20px; }
.preview-gallery summary { padding: 14px 0; cursor: pointer; color: var(--copper-dark); font-weight: 700; }
.preview-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.preview-gallery figure { margin: 0; min-width: 0; }
.preview-gallery img { display: block; width: 100%; height: auto; background: var(--white); }
.collection-variant-choice { margin: 20px 0; }
.collection-variant-choice label { display: block; font-weight: 700; }
.collection-variant-choice select { max-width: 22rem; margin-top: 8px; font-size: 1rem; }
.preview-gallery figcaption { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.preview-variants { margin-top: 28px; }
.preview-variants h2 { font-size: 1.375rem; margin-bottom: 12px; }
.preview-variants ul { padding-left: 20px; }
.preview-variants li + li { margin-top: 12px; }
.view-only-card .product-image-wrap img { object-fit: contain; }
.preview-product-route .product-detail > div { min-width: 0; }
.product-facts { margin-block: 28px; }
.product-facts > div { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; }
.product-service-link { display: inline-flex; align-items: center; min-height: 44px; }
.wishlist-toggle { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--ink); font: inherit; font-size: .875rem; cursor: pointer; }
.wishlist-toggle[aria-pressed="true"] { color: var(--copper-dark); border-color: var(--copper); }
.wishlist-toggle:hover { background: var(--paper-deep); }
.product-save-action { margin-top: 12px; }
.wishlist-status { margin-block: 8px 28px; color: var(--muted); }
.wishlist-status.is-error { color: var(--red); }
.wishlist-empty { padding-block: 24px 48px; }
.wishlist-empty h2, .wishlist-unavailable h2 { font-size: 1.75rem; }
.wishlist-empty p { margin-block: 12px 24px; }
.wishlist-unavailable { margin-top: 40px; }
.wishlist-unavailable ul { list-style: none; padding: 0; }
.wishlist-unavailable-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.related-products { margin-top: 64px; }
.related-products h2, .theme-route-nav h2 { font-size: 2rem; margin-bottom: 24px; }
.route-collection-intro { max-width: 72ch; padding-block: 16px 24px; }
.route-collection-intro h1 { margin-bottom: 24px; overflow-wrap: anywhere; hyphens: auto; }
.route-collection-intro p { font-size: 1.125rem; }
.collection-route-nav { display: flex; flex-wrap: wrap; gap: 8px; border-block: 1px solid var(--line); padding-block: 16px; }
.collection-route-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-sm); }
.collection-route-nav [aria-current] { background: var(--navy-900); color: var(--paper); text-decoration: none; }
.route-result-count { margin-block: 24px; color: var(--muted); }
.theme-route-nav { margin-top: 48px; }
.theme-route-nav a { display: inline-flex; align-items: center; padding: 8px 20px 8px 0; min-height: 44px; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.collection-overview-link { margin-top: 24px; }
@media (max-width: 700px) {
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product-detail-image img { height: 360px; }
  .product-detail-copy h1 { font-size: 2.25rem; }
  .product-detail-copy > .primary-button { max-width: none; }
  .catalog-breadcrumbs { font-size: .8125rem; }
  .related-products { margin-top: 40px; }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.55;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
summary {
  font: inherit;
}

button,
summary,
label[for] {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.6vw, 4.9rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.08;
}

h3 {
  line-height: 1.15;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
canvas:focus-visible {
  outline: 3px solid #7a2f12;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(255, 220, 194, 0.95);
}

.upload-zone:focus-visible {
  outline: 3px solid #7a2f12;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(255, 220, 194, 0.95);
}

[hidden] {
  display: none !important;
}

.sr-only {
  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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.preview-ribbon {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 24px;
  background: var(--paper-deep);
  color: #493e33;
  font-size: 0.78rem;
  text-align: center;
}

.preview-ribbon strong {
  color: var(--copper-dark);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  min-height: 78px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 12px max(24px, calc((100% - 1480px) / 2));
  border-bottom: 1px solid rgba(216, 203, 187, 0.9);
  background: rgba(247, 241, 232, 0.97);
  box-shadow: 0 4px 18px rgba(8, 19, 31, 0.06);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  color: var(--navy-900);
  text-decoration: none;
}

.brand-name {
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1;
}

.brand-note {
  margin-top: 4px;
  color: var(--copper-dark);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.desktop-nav a,
.site-footer nav a {
  text-decoration: none;
  text-underline-offset: 5px;
}

.desktop-nav a {
  color: #263747;
  font-size: 0.9rem;
  font-weight: 650;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  text-decoration: underline;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  min-height: 44px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(270px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.mobile-menu nav a {
  padding: 14px 18px;
  border-bottom: 1px solid #eee5da;
  text-decoration: none;
  font-weight: 700;
}

.cart-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 8px 16px;
  cursor: pointer;
  border: 1px solid var(--navy-900);
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 800;
}

.cart-count {
  display: grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy-900);
  font-size: 0.78rem;
}

.studio-section,
.collection-section,
.faq-section {
  width: var(--page);
  margin-inline: auto;
}

.studio-section {
  padding: clamp(48px, 6vw, 92px) 0 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.7fr);
  align-items: end;
  gap: clamp(24px, 6vw, 100px);
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-intro > p,
.faq-heading > p,
.service-copy > p,
.atelier-copy > p {
  max-width: 70ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-kicker {
  margin-bottom: 12px !important;
  color: var(--copper-dark) !important;
  font-size: 0.78rem !important;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-workbench {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.42fr) minmax(390px, 0.94fr);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: 0 24px 70px rgba(8, 19, 31, 0.22);
}

.product-stage {
  display: flex;
  min-width: 0;
  min-height: 760px;
  flex-direction: column;
  padding: clamp(20px, 3vw, 38px);
  background: var(--navy-900);
  color: var(--white);
}

.stage-heading,
.stage-footer,
.ticket-heading,
.ticket-total,
.drawer-heading,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.stage-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(1.4rem, 2.2vw, 2.3rem);
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9e4ec;
  font-size: 0.78rem;
  font-weight: 750;
}

.status-dot > span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #54c591;
  box-shadow: 0 2px 8px rgba(84, 197, 145, 0.38);
}

.text-button {
  min-height: 42px;
  padding: 8px 2px;
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-weight: 750;
}

.canvas-frame {
  position: relative;
  display: grid;
  width: min(100%, 760px);
  aspect-ratio: 1 / 1;
  place-items: center;
  align-self: center;
  margin: clamp(20px, 3vw, 34px) auto;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background-color: #102338;
  background-image:
    linear-gradient(rgba(92, 122, 148, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 122, 148, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
}

.canvas-frame::before,
.canvas-frame::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.canvas-frame::before {
  inset: 7%;
  border: 1px solid rgba(205, 223, 236, 0.15);
}

.canvas-frame::after {
  top: 50%;
  right: 7%;
  left: 7%;
  border-top: 1px dashed rgba(205, 223, 236, 0.16);
}

#personalizationCanvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}

#personalizationCanvas:active {
  cursor: grabbing;
}

.canvas-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 19, 31, 0.88);
  color: var(--white);
  font-weight: 800;
}

.stage-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.stage-product {
  display: flex;
  min-width: 240px;
  align-items: center;
  gap: 12px;
}

.stage-product img {
  width: 52px;
  height: 68px;
  border: 1px solid #496078;
  border-radius: 6px;
  object-fit: cover;
}

.stage-product div {
  display: grid;
  gap: 3px;
}

.stage-product span,
.visual-note {
  color: #b7c6d3;
  font-size: 0.76rem;
}

.visual-note {
  max-width: 58ch;
  margin: 0;
  text-align: right;
}

.visual-note strong {
  color: var(--white);
}

.tool-rail {
  min-width: 0;
  padding: 0 clamp(20px, 2.5vw, 36px) clamp(24px, 3vw, 38px);
  border-left: 1px solid var(--line-dark);
  background: var(--navy-800);
  color: var(--white);
}

.tool-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 calc(clamp(20px, 2.5vw, 36px) * -1) 28px;
  border-bottom: 1px solid var(--line-dark);
}

.tool-tabs button {
  min-height: 64px;
  cursor: pointer;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #c4d1dc;
  font-weight: 800;
}

.tool-tabs button[aria-selected="true"] {
  border-bottom-color: #d77a49;
  color: var(--white);
}

.tool-panel {
  animation: panel-in 240ms var(--ease-out) both;
}

@keyframes panel-in {
  from { transform: translateY(8px); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}

.field-group {
  margin: 0 0 23px;
  padding: 0;
  border: 0;
}

.field-group > label,
.field-group > legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
}

input[type="text"],
input[type="search"],
input[type="number"],
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #8794a0;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}

input::placeholder {
  color: #697480;
  opacity: 1;
}

.field-help,
.ticket-note {
  margin: 7px 0 0;
  color: #b9c8d5;
  font-size: 0.74rem;
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.swatch-option {
  position: relative;
}

.swatch-option input {
  position: absolute;
  opacity: 0;
}

.swatch-option label {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 8px;
  cursor: pointer;
  border: 1px solid #51687d;
  border-radius: 999px;
  color: #dce5ed;
  font-size: 0.78rem;
  font-weight: 750;
}

.swatch-option label::before {
  width: 24px;
  height: 24px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: #fff;
}

.swatch-option label[data-swatch="wit"]::before { background: #f8fafc; }
.swatch-option label[data-swatch="zwart"]::before { background: #111827; }
.swatch-option label[data-swatch="roze"]::before { background: #d88ca3; }
.swatch-option label[data-swatch="blauw"]::before { background: #537da5; }
.swatch-option label[data-swatch="rvs"]::before { background: #a8b1ba; }

.swatch-option input:checked + label {
  border-color: #e68c5c;
  box-shadow: 0 4px 14px rgba(166, 83, 42, 0.28);
  color: var(--white);
}

.swatch-option input:focus-visible + label {
  outline: 3px solid #7a2f12;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(255, 220, 194, 0.95);
}

.next-tool-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-weight: 850;
}

.next-tool-button {
  width: 100%;
  border: 1px solid #5a7084;
  background: transparent;
  color: var(--white);
}

.primary-button {
  border: 1px solid var(--copper-dark);
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 7px 18px rgba(129, 59, 31, 0.28);
}

.primary-button:hover:not(:disabled) {
  background: var(--copper-dark);
}

.primary-button:disabled {
  cursor: not-allowed;
  border-color: #9aa3ab;
  background: #c5c9cc;
  color: #4f575e;
  box-shadow: none;
}

.secondary-button {
  border: 1px solid var(--navy-900);
  background: transparent;
  color: var(--navy-900);
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #536b80;
  border-radius: var(--radius-sm);
}

.segmented-control input {
  position: absolute;
  opacity: 0;
}

.segmented-control label {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 9px 6px;
  cursor: pointer;
  border-right: 1px solid #536b80;
  color: #c5d2dc;
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

.segmented-control label:last-of-type {
  border-right: 0;
}

.segmented-control input:checked + label {
  background: var(--paper);
  color: var(--navy-900);
}

.segmented-control input:focus-visible + label {
  outline: 3px solid #7a2f12;
  outline-offset: -4px;
  box-shadow: inset 0 0 0 6px rgba(255, 220, 194, 0.85);
}

.layer-control {
  grid-template-columns: repeat(2, 1fr);
}

.upload-zone {
  display: grid !important;
  min-height: 150px;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 22px;
  cursor: pointer;
  border: 1px dashed #91a4b4;
  border-radius: var(--radius);
  color: #d7e1e9 !important;
  text-align: center;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.upload-zone:hover,
.upload-zone.is-dragover {
  border-color: #e28c5a;
  background: rgba(166, 83, 42, 0.14);
}

.upload-zone > span:last-child {
  max-width: 45ch;
  color: #b6c5d1;
  font-size: 0.7rem;
}

.upload-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #778da0;
  border-radius: 999px;
  font-size: 1.35rem;
}

.upload-result {
  margin-top: 8px;
  color: #d7e1e9;
  font-size: 0.75rem;
}

.upload-result.is-error {
  color: #ffd1d1;
}

.background-tool {
  display: grid;
  gap: 13px;
  margin-top: 14px;
  padding-block: 15px;
  border-block: 1px solid #40586c;
}

.background-tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.background-tool-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.background-tool-copy strong {
  color: var(--white);
  font-size: 0.82rem;
}

.background-tool-copy span {
  max-width: 48ch;
  color: #b9c8d5;
  font-size: 0.7rem;
  line-height: 1.55;
}

.background-action {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #91a4b4;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 850;
}

.background-action:hover:not(:disabled) {
  border-color: #e28c5a;
  background: rgba(166, 83, 42, 0.16);
}

.background-action[aria-pressed="true"] {
  border-color: #df9a75;
  background: var(--paper);
  color: var(--navy-900);
}

.background-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.background-refinement {
  display: grid;
  gap: 8px;
}

.background-refinement > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #dce5ed;
  font-size: 0.76rem;
  font-weight: 800;
}

.background-refinement output {
  color: var(--white);
  text-align: right;
}

.background-status {
  margin: 0;
  color: #d7e1e9;
  font-size: 0.73rem;
  line-height: 1.55;
}

.background-status.is-success {
  color: #a8edcf;
}

.background-status.is-warning {
  color: #ffd7ad;
}

.background-status.is-error {
  color: #ffd1d1;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compact-row {
  margin-top: 9px;
}

.compact-row label {
  color: #d7e1e9;
  font-size: 0.75rem;
}

.compact-row select {
  width: auto;
  min-height: 40px;
}

.compact-row span {
  margin-left: auto;
  color: #b9c8d5;
  font-size: 0.72rem;
}

.nudge-grid {
  display: grid;
  width: 150px;
  grid-template-columns: repeat(3, 46px);
  gap: 6px;
  margin: 0 auto 24px;
}

.nudge-grid button {
  width: 46px;
  height: 46px;
  cursor: pointer;
  border: 1px solid #5b7083;
  border-radius: var(--radius-sm);
  background: #1a3045;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
}

.range-stack {
  display: grid;
  gap: 15px;
}

.range-stack label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dce5ed;
  font-size: 0.78rem;
  font-weight: 750;
}

.range-stack output {
  min-width: 48px;
  color: var(--white);
  text-align: right;
}

input[type="range"] {
  width: 100%;
  accent-color: #d47745;
}

.production-ticket {
  margin-top: 30px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(8, 19, 31, 0.18);
}

.ticket-heading {
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.ticket-heading h2 {
  margin: 0;
  font-size: 1.35rem;
}

.ticket-heading span {
  color: var(--copper-dark);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.production-ticket dl {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.production-ticket dl div {
  display: grid;
  grid-template-columns: minmax(90px, 0.65fr) 1fr;
  gap: 12px;
}

.production-ticket dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.production-ticket dd {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 750;
  text-align: right;
}

.ticket-total {
  align-items: end;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.ticket-total > div {
  display: grid;
}

.ticket-total span {
  color: var(--muted);
  font-size: 0.73rem;
}

.ticket-total strong {
  color: var(--copper-dark);
  font-size: 1.5rem;
}

.quantity-field {
  display: grid;
  width: 72px;
  gap: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.quantity-field input {
  min-height: 42px;
}

.production-ticket .primary-button {
  width: 100%;
}

.production-ticket .ticket-note {
  color: var(--muted);
  text-align: center;
}

.process-strip {
  margin-top: clamp(46px, 6vw, 78px);
  padding: clamp(28px, 4vw, 44px) max(24px, calc((100% - 1320px) / 2));
  border-block: 1px solid var(--line);
  background: #f0e5d8;
}

.process-strip ol {
  display: grid;
  max-width: 1320px;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.process-strip li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 14px;
}

.process-strip li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 850;
}

.process-strip strong {
  display: block;
  margin-bottom: 3px;
}

.process-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.collection-section {
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 124px);
}

.collection-intro h2,
.faq-heading h2,
.service-copy h2,
.atelier-copy h2 {
  max-width: 16ch;
  margin-bottom: 0;
}

.collaboration-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  overflow: hidden;
  margin-bottom: clamp(38px, 5vw, 64px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.collaboration-image {
  min-height: 300px;
  background: #e8dfd4;
}

.collaboration-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collaboration-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(30px, 5vw, 72px);
}

.collaboration-copy .section-kicker {
  color: #e9aa83 !important;
}

.collaboration-copy h2 {
  max-width: 16ch;
  margin-bottom: 18px;
}

.collaboration-copy p:not(.section-kicker) {
  max-width: 68ch;
  color: #cbd6df;
}

.collaboration-copy .secondary-button {
  margin-top: 8px;
  border-color: #e9aa83;
  color: var(--white);
}

.collection-feature-rotator {
  margin-bottom: clamp(38px, 5vw, 64px);
  touch-action: pan-y;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.hero-stage .collaboration-feature {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-film {
  position: relative;
  aspect-ratio: 1600 / 686;
}

.hero-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-product-link {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--navy-900);
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
  font-size: .9375rem;
  font-weight: 750;
  text-decoration: none;
}

.hero-product-link:hover {
  background: var(--navy-700);
}

.hero-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-top: 8px;
  color: var(--ink);
}

.hero-toolbar button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

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

.hero-video-toggle {
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 700;
}

.hero-navigation {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.hero-navigation button {
  width: 44px;
  padding: 0;
  font-size: 1.25rem;
}

#heroPosition {
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 981px) {
  .hero-stage {
    aspect-ratio: 1600 / 686;
  }

  .hero-stage > .hero-slide {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .hero-stage .collaboration-image {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .hero-product-link {
    right: 6px;
    bottom: 6px;
    gap: 10px;
    padding: 8px 12px;
    font-size: .8125rem;
  }
}

.catalog-filter-toggle {
  display: none;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 11px 14px;
  cursor: pointer;
  border: 1px solid var(--navy-900);
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
  font-weight: 850;
  text-align: left;
}

.catalog-filter-toggle span:last-child {
  color: #c5d2dc;
  font-size: 0.73rem;
  font-weight: 700;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 42px);
}

.catalog-filter-panel {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f3;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 981px) {
  .catalog-filters {
    align-self: stretch;
  }

  .catalog-filter-panel {
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
  }
}

.filter-panel-heading {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  background: var(--navy-900);
  color: var(--white);
}

.filter-panel-heading span,
.filter-panel-heading strong {
  display: block;
}

.filter-panel-heading span {
  margin-bottom: 2px;
  color: #c7d4de;
  font-size: 0.68rem;
}

.filter-panel-heading strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.filter-clear {
  min-height: 44px;
  padding: 7px 0 7px 10px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: #efb18b;
  font-size: 0.72rem;
  font-weight: 800;
}

.filter-clear:disabled {
  cursor: default;
  color: #7d8f9e;
}

.facet-group {
  margin: 0;
  padding: 18px 17px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.facet-group:last-child {
  border-bottom: 0;
}

.facet-group legend {
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  color: var(--navy-900);
  font-size: 0.79rem;
  font-weight: 850;
}

.facet-options {
  display: grid;
  gap: 2px;
}

.facet-option {
  position: relative;
}

.facet-option input {
  position: absolute;
  top: 13px;
  left: 2px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--copper-dark);
}

.facet-option label {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 5px 8px 29px;
  cursor: pointer;
  border-radius: 6px;
  color: #374654;
  font-size: 0.82rem;
}

.facet-option label:hover,
.facet-option input:checked + label {
  background: var(--paper-deep);
  color: var(--navy-900);
}

.facet-option input:focus-visible + label {
  outline: 3px solid #7a2f12;
  outline-offset: 1px;
  box-shadow: 0 0 0 5px rgba(255, 220, 194, 0.82);
}

.facet-option input:disabled + label {
  cursor: not-allowed;
  opacity: 0.48;
}

.facet-option-count {
  display: grid;
  min-width: 26px;
  height: 24px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #e5ddd3;
  color: #566370;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.catalog-results {
  min-width: 0;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.42fr) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-block: 1px solid var(--line);
}

.catalog-toolbar label {
  display: grid;
  gap: 6px;
  color: #485561;
  font-size: 0.72rem;
  font-weight: 800;
}

.result-count {
  min-width: 100px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: right;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 22px;
}

.active-filter-chip {
  min-height: 40px;
  padding: 7px 11px;
  cursor: pointer;
  border: 1px solid #c4aa96;
  border-radius: 999px;
  background: #fff9f2;
  color: var(--copper-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f3;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 13px 28px rgba(8, 19, 31, 0.12);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #ede8e1;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 440ms var(--ease-out);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.025);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(8, 19, 31, 0.91);
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 800;
}

.product-badge.is-limited {
  background: rgba(247, 241, 232, 0.94);
  color: var(--copper-dark);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  padding: 17px;
}

.product-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.product-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-taxonomy span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #53606c;
  font-size: 0.66rem;
  font-weight: 800;
}

.product-taxonomy .is-collaboration {
  border-color: #b36d48;
  background: #f5e4d8;
  color: var(--copper-dark);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.73rem;
}

.product-price {
  color: var(--copper-dark);
  font-size: 1rem;
  font-weight: 850;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-card-actions {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 5px;
}

.product-card-actions button {
  width: 100%;
}

.product-purchase-note {
  color: #5f4a3e;
  font-size: 0.7rem;
  font-weight: 800;
}

.product-unavailable-note {
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: #5f4a3e;
  font-size: 0.72rem;
}

.empty-state {
  padding: 70px 20px;
  border-block: 1px solid var(--line);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--muted);
}

.quality-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.12fr);
  gap: clamp(42px, 8vw, 130px);
  padding: clamp(66px, 8vw, 112px) max(24px, calc((100% - 1320px) / 2));
  border-block: 1px solid var(--line);
  background: #eee3d6;
}

.quality-heading h2 {
  max-width: 17ch;
  margin-bottom: 20px;
}

.quality-heading > p:last-child {
  max-width: 70ch;
  margin-bottom: 0;
  color: var(--muted);
}

.quality-ledger {
  margin: 0;
  border-top: 1px solid #baa895;
}

.quality-ledger div {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  padding: 23px 0;
  border-bottom: 1px solid #baa895;
}

.quality-ledger dt {
  color: var(--navy-900);
  font-weight: 850;
}

.quality-ledger dd {
  color: #4f5b66;
}

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(38px, 8vw, 130px);
  padding: clamp(68px, 8vw, 120px) max(24px, calc((100% - 1320px) / 2));
  background: var(--navy-900);
  color: var(--white);
}

.service-copy .section-kicker {
  color: #e4a47e !important;
}

.service-copy > p {
  color: #c3d0da;
}

.service-ledger {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.service-ledger div {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-ledger dt {
  color: var(--white);
  font-weight: 850;
}

.service-ledger dd {
  margin: 0;
  color: #c3d0da;
}

.atelier-section {
  display: grid;
  width: min(1280px, calc(100% - 48px));
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 8vw, 110px);
  margin: clamp(78px, 10vw, 140px) auto;
}

.atelier-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e8e1d8;
  box-shadow: 0 16px 42px rgba(8, 19, 31, 0.16);
}

.atelier-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
}

.atelier-image span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(247, 241, 232, 0.94);
  color: #4d433b;
  font-size: 0.68rem;
  font-weight: 750;
}

.atelier-copy address {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #44515d;
  font-style: normal;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.15fr);
  gap: clamp(36px, 8vw, 120px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.faq-heading {
  align-self: start;
}

.faq-heading h2 {
  margin-bottom: 20px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 62px;
  padding: 19px 44px 19px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 850;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 4px;
  content: "+";
  color: var(--copper-dark);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 70ch;
  margin: 0 0 22px;
  color: var(--muted);
}

.care-panel {
  grid-column: 1 / -1;
}

.care-instructions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 48px;
  margin: 0 0 28px;
  padding-left: 24px;
}

@media (max-width: 700px) {
  .care-instructions {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

#onderhoud-uv-dtf {
  scroll-margin-top: 110px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  padding: 46px max(24px, calc((100% - 1320px) / 2));
  background: var(--navy-950);
  color: #d4e0e9;
}

.footer-brand {
  color: var(--white);
}

.site-footer > div > p {
  max-width: 55ch;
  margin: 15px 0 0;
  color: #aebfcb;
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.82rem;
  font-weight: 750;
}

.footer-status {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #223548;
  color: #8fa3b2;
  font-size: 0.72rem;
}

.drawer-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  background: rgba(8, 19, 31, 0.64);
}

.cart-drawer {
  position: fixed;
  z-index: 310;
  top: 0;
  right: 0;
  display: flex;
  width: min(510px, 100%);
  height: 100dvh;
  flex-direction: column;
  padding: 26px;
  overflow-y: auto;
  transform: translateX(104%);
  background: var(--paper);
  color: var(--ink);
  box-shadow: -18px 0 48px rgba(8, 19, 31, 0.22);
  transition: transform 320ms var(--ease-out);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-heading .status-dot {
  color: var(--muted);
}

.drawer-heading h2 {
  margin: 6px 0 0;
  font-size: 2rem;
}

.icon-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--navy-900);
  font-size: 1.55rem;
}

.cart-storage-note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.cart-items {
  display: grid;
  gap: 14px;
  padding: 20px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-item-preview {
  width: 94px;
  height: 112px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #e9e3dc;
}

.cart-item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item.is-collection .cart-item-preview img {
  padding: 4px;
  object-fit: contain;
}

.cart-item-content {
  min-width: 0;
}

.cart-item-kind {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--copper-dark);
  font-size: 0.68rem;
  font-weight: 850;
}

.cart-item-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-heading h3 {
  margin: 0;
  font-size: 1rem;
}

.cart-item-heading strong {
  white-space: nowrap;
  color: var(--copper-dark);
}

.cart-item dl {
  display: grid;
  gap: 3px;
  margin: 9px 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.cart-item dl div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
}

.cart-item dd {
  margin: 0;
  color: #334353;
}

.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button {
  min-height: 40px;
  padding: 7px 10px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 750;
}

.cart-item-controls .remove-item {
  color: var(--red);
}

.cart-empty {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  padding: 30px;
  text-align: center;
}

.cart-empty h3 {
  margin-bottom: 8px;
}

.cart-empty p {
  max-width: 38ch;
  color: var(--muted);
}

.cart-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cart-empty-actions button {
  min-height: 44px;
}

.cart-checkout {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cart-checkout fieldset {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.cart-checkout legend {
  margin-bottom: 9px;
  font-weight: 850;
}

.cart-checkout fieldset label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.cart-checkout fieldset input {
  margin-top: 5px;
  accent-color: var(--copper-dark);
}

.cart-checkout fieldset span,
.cart-checkout fieldset small {
  display: block;
}

.cart-checkout fieldset small {
  color: var(--muted);
}

.cart-total {
  margin: 18px 0;
  font-weight: 800;
}

.cart-total strong {
  color: var(--copper-dark);
  font-size: 1.3rem;
}

.cart-checkout .primary-button {
  width: 100%;
}

.cart-checkout > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.checkout-review {
  margin-block: 20px 12px;
  padding-block-start: 20px;
  border-top: 1px solid var(--line);
}

.checkout-review h3 {
  margin-block-end: 18px;
  font-size: 1.45rem;
}

.checkout-order-lines {
  margin-block-end: 12px;
}

.checkout-order-lines > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 16px;
  padding-block: 7px;
}

.checkout-order-lines dt {
  overflow-wrap: anywhere;
}

.checkout-order-lines dd {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-reference {
  color: var(--muted);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.checkout-line-description {
  display: block;
  margin-block-start: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
  white-space: pre-wrap;
}

.checkout-information {
  margin-block: 22px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.checkout-information h4 {
  margin-block: 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-information p {
  margin-block: 0 12px;
  font-size: 1rem;
  line-height: 1.6;
}

.checkout-information summary {
  min-height: 44px;
  padding-block: 10px;
  cursor: pointer;
  font-weight: 700;
}

.checkout-terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding-block: 16px;
  font-size: 1rem;
  line-height: 1.6;
  cursor: pointer;
}

.checkout-terms[hidden] { display: none; }
.checkout-terms input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--navy-900);
}
.checkout-terms input:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 4px; }
.checkout-terms span { min-width: 0; overflow-wrap: anywhere; }
#checkoutAcceptanceNote { margin-block: 16px 0; }

#checkoutInformationSections section {
  margin-block-start: 22px;
}

.checkout-review button {
  width: 100%;
  min-height: 44px;
  margin-block-start: 10px;
}

.cart-checkout .checkout-status {
  text-align: start;
  color: var(--ink);
  font-size: 1rem;
}

.cart-checkout .checkout-status:empty {
  display: none;
}

.cart-checkout .checkout-status.is-error {
  color: var(--red);
}

.toast {
  position: fixed;
  z-index: 500;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100% - 44px));
  padding: 13px 16px;
  border: 1px solid #51687d;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  font-weight: 750;
}

/* Informational/legal pages */
.info-page {
  width: min(820px, calc(100% - 40px));
  margin: 70px auto 110px;
  overflow-wrap: anywhere;
}

.info-page h1 {
  max-width: 18ch;
  margin-bottom: 24px;
}

.info-status {
  margin-bottom: 34px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f0e5d8;
  color: #514438;
}

.info-page section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.info-page section h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.info-page section p,
.info-page section li {
  color: var(--muted);
}

/* Branded recovery page */
.not-found-page {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

.not-found-header {
  position: relative;
}

.not-found-home-link,
.not-found-actions a {
  text-decoration: none;
}

.not-found-main {
  display: grid;
  width: var(--page);
  flex: 1;
  place-items: center;
  margin-inline: auto;
  padding-block: clamp(56px, 8vw, 118px);
}

.not-found-layout {
  display: grid;
  width: min(1120px, 100%);
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}

.not-found-copy {
  min-width: 0;
}

.not-found-copy h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6vw, 5.5rem);
}

.not-found-lede {
  max-width: 62ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.not-found-note {
  max-width: 64ch;
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.not-found-note strong {
  color: var(--ink);
}

.not-found-artboard {
  position: relative;
  display: grid;
  width: min(100%, 390px);
  aspect-ratio: 4 / 5;
  place-items: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 18px 24px 54px rgba(8, 19, 31, 0.2);
}

.not-found-artboard::before {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(228, 164, 126, 0.46);
  border-radius: calc(var(--radius-lg) - 8px);
  content: "";
}

.not-found-number {
  position: relative;
  color: #f7d2bc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.not-found-art-note {
  position: absolute;
  bottom: 47px;
  color: #cbd6df;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.not-found-register {
  position: absolute;
  right: 28px;
  left: 28px;
  height: 1px;
  background: var(--line-dark);
}

.not-found-register::before,
.not-found-register::after {
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: #e4a47e;
  content: "";
}

.not-found-register::before {
  left: 0;
}

.not-found-register::after {
  right: 0;
}

.not-found-register-top {
  top: 62px;
}

.not-found-register-bottom {
  bottom: 62px;
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 16px;
  }

  .studio-workbench {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  }

  .product-stage {
    min-height: 680px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 32px, 820px);
  }

  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .mobile-menu {
    display: block;
  }

  .studio-workbench {
    grid-template-columns: 1fr;
  }

  .product-stage {
    min-height: auto;
  }

  .tool-rail {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .section-intro,
  .service-section,
  .quality-section,
  .atelier-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .section-intro {
    align-items: start;
  }

  .section-intro > p {
    max-width: 68ch;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filter-toggle {
    display: flex;
  }

  .catalog-filter-panel {
    position: static;
    display: none;
    margin-bottom: 12px;
  }

  .catalog-filter-panel.is-open {
    display: block;
  }

  .facet-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .search-field {
    grid-column: 1 / -1;
  }

  .result-count {
    grid-column: 1 / -1;
    margin: 0;
    text-align: left;
  }

  .service-copy h2,
  .quality-heading h2,
  .atelier-copy h2,
  .faq-heading h2 {
    max-width: 22ch;
  }

  .atelier-section {
    width: min(820px, calc(100% - 32px));
  }

  .atelier-image img {
    aspect-ratio: 16 / 9;
  }

  .not-found-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.58fr);
    gap: 38px;
  }
}

@media (max-width: 700px) {
  :root {
    --page: calc(100% - 24px);
  }

  html {
    scroll-padding-top: 90px;
  }

  .preview-ribbon {
    display: grid;
    gap: 0;
    min-height: 45px;
    padding: 6px 12px;
    line-height: 1.35;
  }

  .site-header {
    min-height: 68px;
    gap: 8px;
    padding: 9px 12px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-note {
    font-size: 0.58rem;
  }

  .mobile-menu summary {
    min-height: 42px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .cart-trigger {
    min-height: 42px;
    padding-left: 12px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.6rem);
  }

  .studio-section {
    padding-top: 42px;
  }

  .studio-workbench {
    margin-inline: -12px;
    border-radius: 0;
  }

  .product-stage {
    padding: 18px 12px 20px;
  }

  .stage-heading {
    align-items: start;
  }

  .stage-heading .text-button {
    font-size: 0.72rem;
  }

  .canvas-frame {
    width: 100%;
    margin-block: 18px;
  }

  .stage-footer {
    display: grid;
  }

  .visual-note {
    text-align: left;
  }

  .tool-rail {
    padding-inline: 14px;
  }

  .tool-tabs {
    position: sticky;
    top: 67px;
    margin-inline: -14px;
    background: var(--navy-800);
  }

  .tool-tabs button {
    min-height: 56px;
    font-size: 0.77rem;
  }

  .segmented-control {
    grid-template-columns: 1fr;
  }

  .segmented-control label {
    border-right: 0;
    border-bottom: 1px solid #536b80;
  }

  .segmented-control label:last-of-type {
    border-bottom: 0;
  }

  .background-tool-header {
    align-items: stretch;
    flex-direction: column;
  }

  .background-action {
    width: 100%;
  }

  .layer-control {
    grid-template-columns: repeat(2, 1fr);
  }

  .layer-control label {
    border-right: 1px solid #536b80;
    border-bottom: 0;
  }

  .production-ticket {
    padding: 19px;
  }

  .process-strip {
    padding: 30px 22px;
  }

  .process-strip ol {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .collection-section {
    padding-block: 74px;
  }

  .collaboration-feature {
    grid-template-columns: 1fr;
  }

  .collaboration-image {
    min-height: 0;
  }

  .collaboration-image img {
    display: block;
    aspect-ratio: 16 / 10;
  }

  .collaboration-copy {
    padding: 28px 22px 32px;
  }

  .collaboration-copy .secondary-button {
    width: 100%;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .search-field,
  .result-count {
    grid-column: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .quality-section {
    padding-inline: 22px;
  }

  .quality-ledger div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .product-card-body {
    padding: 13px;
  }

  .product-card h3 {
    font-size: 0.98rem;
  }

  .product-card p {
    display: none;
  }

  .product-meta {
    display: grid;
    gap: 2px;
  }

  .service-section {
    padding: 68px 22px;
  }

  .service-ledger div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .atelier-section {
    width: calc(100% - 24px);
    margin-block: 74px;
  }

  .atelier-image img {
    aspect-ratio: 1 / 0.85;
  }

  .faq-section {
    padding-bottom: 76px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .site-footer nav {
    display: grid;
    justify-content: start;
    gap: 13px;
  }

  .not-found-main {
    padding-block: 52px 72px;
  }

  .not-found-layout {
    grid-template-columns: 1fr;
  }

  .not-found-header .header-actions {
    display: none;
  }

  .not-found-actions,
  .not-found-actions a {
    width: 100%;
  }

  .not-found-artboard {
    width: 100%;
    aspect-ratio: 16 / 8;
    justify-self: stretch;
  }

  .not-found-art-note {
    bottom: 38px;
  }

  .not-found-register-top {
    top: 42px;
  }

  .not-found-register-bottom {
    bottom: 42px;
  }

  .cart-drawer {
    padding: 20px 16px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 390px) {
  .brand-note,
  .cart-trigger > span:first-child {
    display: none;
  }

  .cart-trigger {
    padding: 7px;
  }

  .header-actions {
    gap: 6px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .facet-options {
    grid-template-columns: 1fr;
  }

  .product-image-wrap {
    aspect-ratio: 1.18 / 1;
  }

  .product-card p {
    display: block;
  }

  .production-ticket dl div {
    grid-template-columns: 80px 1fr;
  }

  .cart-item {
    grid-template-columns: 76px 1fr;
  }

  .cart-item-preview {
    width: 76px;
    height: 94px;
  }

  .cart-empty-actions,
  .cart-empty-actions button {
    width: 100%;
  }

}

@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;
  }
}

@media print {
  .preview-ribbon,
  .site-header,
  .cart-drawer,
  .drawer-backdrop,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
