:root {
  --ink: #242723;
  --paper: #faf6ee;
  --olive: #a75940;
  --line: #dedfd6;
  --muted: #73766c;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #7b8e64;
  outline-offset: 4px;
}
button {
  border: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
.testbar {
  display: flex;
  justify-content: space-between;
  background: var(--ink);
  color: #fff;
  padding: 10px 5%;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.testbar span {
  letter-spacing: 0.3px;
  color: #cecec5;
}
header {
  height: 99px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 34px;
  letter-spacing: -2.2px;
  font-weight: 800;
}
.wordmark span {
  font-weight: 400;
}
.wordmark sup {
  font-size: 11px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 4px;
  line-height: 26px;
}
nav {
  display: flex;
  gap: 36px;
  font-size: 12px;
}
nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.bag-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  font-size: 12px;
}
.bag-button span {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}
.bag-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.hero {
  margin: 38px 5% 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  min-height: 580px;
}
.hero-copy {
  padding: 55px 40px 20px 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
  margin: 0 0 29px;
}
.eyebrow span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--olive);
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
}
h1 {
  font-size: clamp(54px, 5.7vw, 92px);
  letter-spacing: -5px;
  line-height: 1.03;
  font-weight: 500;
  margin: 0 0 25px;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
}
h1 em {
  color: var(--olive);
}
.intro {
  font-size: 14px;
  line-height: 1.85;
  color: #65685e;
  margin: 0 0 32px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  background: var(--ink);
  color: #fff;
  min-height: 49px;
  padding: 15px 22px;
  font-size: 12px;
}
.primary:hover {
  background: #42493a;
}
.primary span {
  font-size: 19px;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 40px;
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.hero-art {
  position: relative;
  overflow: hidden;
  background: #e6ccba;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px 28px;
  min-height: 540px;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 38%, #fff3e27d, transparent 65%);
}
.art-top,
.art-bottom {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 1.2px;
}
.art-top span:last-child {
  font-size: 25px;
}
.art-bottom {
  line-height: 1.8;
  align-items: flex-end;
}
.art-bottom small {
  font-size: 8px;
  color: #6b705c;
}
.art-label {
  border: 1px solid #92977f;
  padding: 7px 10px;
  font-size: 8px;
  text-align: center;
  transform: rotate(-6deg);
}
.vertical-note {
  position: absolute;
  right: -31px;
  top: 100px;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 2px;
  color: #858879;
}
.garment-defs {
  position: absolute;
  width: 0;
  height: 0;
}
.garment {
  display: block;
  width: 82%;
  margin: auto;
  overflow: visible;
  filter: drop-shadow(0 12px 14px #0000002e);
}
.garment .cloth {
  fill: var(--garment, #59644e);
}
.garment .shade {
  fill: url(#garment-light);
}
.garment .neck {
  fill: #00000040;
}
.garment .rib {
  fill: none;
  stroke: #0000001f;
  stroke-width: 4;
}
.garment .seam {
  fill: none;
  stroke: #ffffff52;
  stroke-width: 0.8;
  stroke-dasharray: 2.4 2;
}
.garment .fold {
  fill: none;
  stroke: #0000000d;
  stroke-width: 3.5;
  stroke-linecap: round;
}
.garment .rib-lines {
  stroke-width: 1;
  stroke: #00000024;
}
.garment text {
  font-size: 7px;
  letter-spacing: -0.3px;
  fill: #f3efe3;
  opacity: 0.85;
}
.garment tspan {
  font-weight: 700;
}
.large-shirt {
  width: 84%;
  max-width: 480px;
  margin: auto;
  transform: rotate(-9deg);
  position: relative;
}
.large-shirt .garment {
  width: 100%;
}
.benefits {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin: 0 5%;
  padding: 27px 0;
}
.benefits p {
  font-size: 11px;
  margin: 0;
}
.benefits span {
  color: #939789;
  font-size: 9px;
  margin-right: 17px;
}
.collection {
  padding: 75px 5% 65px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}
.section-title .eyebrow {
  margin-bottom: 14px;
}
.section-title h2 {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -1.2px;
  margin: 0;
}
.section-title h2 span {
  font-size: 13px;
  letter-spacing: 0;
  vertical-align: top;
  color: var(--muted);
  margin-left: 8px;
}
.section-title > p {
  font-size: 12px;
  color: var(--muted);
}
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}
.product-card {
  background: none;
  padding: 0;
  text-align: left;
  display: block;
  width: 100%;
}
.product-visual {
  aspect-ratio: 0.83;
  background: var(--back, #e8e6de);
  display: flex;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}
.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 8px;
  letter-spacing: 1px;
}
.product-plus {
  position: absolute;
  bottom: 12px;
  right: 12px;
  border-radius: 50%;
  background: #f7f6f1e0;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font-size: 19px;
}
.product-card:hover .product-plus {
  background: var(--ink);
  color: white;
}
.product-info {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  margin: 14px 0 6px;
}
.product-info h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}
.product-color {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.swatch {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--garment);
  margin-right: 5px;
}
.sample-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 20px;
}
.story {
  margin: 0 5% 65px;
  padding: 55px 6%;
  background: #efe0d1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story h2 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 400;
  margin: 0;
}
.story .eyebrow {
  font-size: 9px;
}
.story > div > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.7;
  max-width: 350px;
}
.story .subtle {
  color: #737869;
  font-size: 12px !important;
  line-height: 1.8 !important;
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  padding-bottom: 9px;
  margin-top: 22px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5%;
  border-top: 1px solid var(--line);
}
footer .wordmark {
  font-size: 27px;
}
footer p {
  font-size: 11px;
}
footer > span {
  font-size: 9px;
  color: var(--muted);
}
dialog {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  max-height: 90dvh;
  max-width: 92vw;
}
dialog::backdrop {
  background: #20271e88;
}
#product-dialog[open] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 790px;
}
.close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  background: var(--paper);
  width: 32px;
  height: 32px;
  font-size: 25px;
  line-height: 1;
}
.product-detail {
  padding: 52px 30px 30px;
}
.product-detail h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 0;
}
.product-detail .eyebrow {
  font-size: 8px;
  margin-bottom: 15px;
}
#product-price {
  font-size: 17px;
}
#product-description {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
fieldset {
  padding: 0;
  border: 0;
  margin: 24px 0;
}
legend {
  font-size: 11px;
  margin-bottom: 10px;
}
#sizes {
  display: flex;
  gap: 7px;
}
#sizes label {
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 11px;
  font-size: 11px;
  min-width: 38px;
  text-align: center;
}
#sizes input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
#sizes label:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
#sizes label:has(input:focus-visible) {
  outline: 3px solid #7b8e64;
}
#add-cart {
  width: 100%;
}
#cart-dialog {
  margin: 0 0 0 auto;
  width: 440px;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 28px;
}
.cart-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.cart-header h2 {
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -1px;
  margin: 8px 0;
}
.cart-header h2 span {
  font-size: 12px;
  color: var(--muted);
  vertical-align: top;
}
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 4px 0 9px;
}
.cart-item p {
  font-size: 10px;
  color: var(--muted);
}
.cart-item > strong {
  font-size: 12px;
  font-weight: 500;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
}
.quantity button {
  background: transparent;
  border: 1px solid var(--line);
  width: 26px;
  height: 26px;
}
.remove {
  font-size: 9px;
  background: none;
  text-decoration: underline;
  padding: 10px 0 0;
}
.total {
  display: flex;
  justify-content: space-between;
  margin: 25px 0 15px;
  font-size: 14px;
}
.empty {
  padding: 50px 0;
  font-size: 14px;
  color: var(--muted);
}
.checkout-note {
  background: #efe0d1;
  padding: 16px;
  font-size: 12px;
  line-height: 1.7;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 15px 23px;
  font-size: 12px;
  z-index: 20;
  display: none;
  box-shadow: 0 4px 20px #0002;
  white-space: nowrap;
}
.toast.visible {
  display: block;
}
@media (min-width: 1600px) {
  main,
  header,
  footer,
  .testbar {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 760px) {
  .testbar {
    font-size: 8px;
    justify-content: center;
    padding: 9px;
  }
  .testbar span {
    display: none;
  }
  header {
    height: 74px;
  }
  .wordmark {
    font-size: 30px;
  }
  nav {
    gap: 16px;
    font-size: 10px;
  }
  .bag-button {
    font-size: 0;
    gap: 5px;
  }
  .bag-button span {
    font-size: 10px;
  }
  .hero {
    margin-top: 22px;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 22px 0 28px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 22px;
  }
  h1 {
    font-size: 64px;
    letter-spacing: -3.7px;
    line-height: 1.01;
    margin-bottom: 18px;
  }
  .intro {
    font-size: 12px;
    margin-bottom: 22px;
  }
  .primary {
    min-height: 47px;
    font-size: 11px;
  }
  .hero-foot {
    display: none;
  }
  .hero-art {
    min-height: 385px;
    padding: 21px;
  }
  .large-shirt {
    max-width: 290px;
  }
  .art-top {
    font-size: 8px;
  }
  .art-bottom {
    font-size: 9px;
  }
  .vertical-note {
    display: none;
  }
  .benefits {
    padding: 20px 0;
    gap: 10px;
  }
  .benefits p {
    font-size: 9px;
    line-height: 1.5;
  }
  .benefits span {
    display: block;
    margin-bottom: 6px;
  }
  .collection {
    padding-top: 43px;
    padding-bottom: 36px;
  }
  .section-title {
    align-items: start;
    margin-bottom: 23px;
  }
  .section-title h2 {
    font-size: 26px;
  }
  .section-title .eyebrow {
    font-size: 8px;
    margin-bottom: 12px;
  }
  .section-title > p {
    display: none;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .product-info {
    font-size: 10px;
    flex-wrap: wrap;
    margin-top: 11px;
    gap: 6px;
  }
  .product-info h3 {
    font-size: 11px;
  }
  .product-tag {
    top: 10px;
    left: 10px;
    font-size: 7px;
  }
  .product-color {
    font-size: 9px;
  }
  .story {
    padding: 31px 25px;
    margin-bottom: 36px;
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .story h2 {
    font-size: 42px;
  }
  .story .eyebrow {
    margin-bottom: 20px;
    font-size: 8px;
  }
  .story > div > p:not(.eyebrow) {
    font-size: 14px;
  }
  .text-link {
    margin-top: 9px;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 26px;
  }
  footer > span {
    width: 100%;
  }
  footer p {
    margin-left: auto;
  }
  .product-detail {
    padding: 25px;
  }
  .product-detail h2 {
    font-size: 25px;
  }
  #product-dialog[open] {
    display: block;
    width: 380px;
    overflow: auto;
  }
  #product-dialog > .product-visual {
    height: 220px;
    aspect-ratio: auto;
  }
  #product-dialog .garment {
    width: 190px;
  }
  #cart-dialog {
    padding: 23px;
  }
  .toast {
    max-width: 92vw;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.collection-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 11px;
  min-height: 40px;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
#result-count {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  margin: 0;
}
@media (max-width: 760px) {
  .collection-tools {
    align-items: start;
    gap: 10px;
  }
  .filters {
    gap: 5px;
  }
  .filters button {
    padding: 9px 10px;
    font-size: 10px;
  }
  #result-count {
    padding-top: 13px;
    font-size: 9px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.favorite-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  font-size: 23px;
  padding: 5px;
}
.favorite-toggle small {
  font-size: 10px;
}
.favorite-toggle[aria-pressed="true"] {
  color: var(--olive);
}
.product-shell {
  position: relative;
  min-width: 0;
}
.favorite-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #faf6eee6;
  border-radius: 50%;
  font-size: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
}
.favorite-button[aria-pressed="true"] {
  color: var(--olive);
}
.products > .empty {
  grid-column: 1/-1;
  min-height: 180px;
  margin: 0;
}
.product-tag {
  max-width: calc(100% - 52px);
  line-height: 1.5;
}
@media (max-width: 760px) {
  .header-actions {
    gap: 9px;
  }
  .favorite-toggle {
    font-size: 20px;
    padding: 0;
  }
  .favorite-toggle small {
    font-size: 8px;
  }
  nav {
    gap: 12px;
    font-size: 9px;
  }
  .favorite-button {
    width: 31px;
    height: 31px;
    font-size: 20px;
    top: 7px;
    right: 7px;
  }
  .product-tag {
    max-width: calc(100% - 43px);
  }
}
.size-guide-button { display: block; background: transparent; border-block: 1px solid var(--line); width: 100%; text-align: left; min-height: 48px; padding: 13px 0; margin-bottom: 20px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
#size-guide-dialog[open] { display: flex; flex-direction: column; width: 560px; overflow: hidden; }
.size-guide-header { position: relative; padding: 24px 28px 18px; border-bottom: 1px solid var(--line); flex: none; }
.size-guide-header h2 { font-size: 25px; font-weight: 400; letter-spacing: -0.7px; margin: 0; padding-right: 44px; }
#size-guide-dialog .close { width: 44px; height: 44px; top: 14px; }
.size-guide-body { padding: 24px 28px; overflow-y: auto; overscroll-behavior: contain; font-size: 14px; line-height: 1.6; }
.size-guide-body > p:first-child { margin-top: 0; }
.size-guide-body h3 { font-size: 16px; font-weight: 500; margin-top: 24px; }
.size-guide-body ol { padding-left: 20px; }
.size-guide-body li + li { margin-top: 8px; }
.size-guide-body > p:last-child { color: var(--muted); }
.size-table { width: 100%; border-collapse: collapse; margin-top: 24px; text-align: left; }
.size-table caption { text-align: left; margin-bottom: 12px; }
.size-table th, .size-table td { border-bottom: 1px solid var(--line); padding: 12px 8px; }
.size-table th { font-weight: 500; }
.favorites-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; border-block: 1px solid var(--line); margin-bottom: 24px; padding: 12px 0; }
.favorites-actions p { flex: 1; min-width: 180px; margin: 0; font-size: 13px; line-height: 1.5; }
.favorites-actions button { background: transparent; min-height: 44px; padding: 10px 4px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
#undo-favorites { font-weight: 600; }
@media (max-width: 767px) {
  #size-guide-dialog[open] { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
  .size-guide-header { padding: max(22px, env(safe-area-inset-top)) 16px 18px; }
  .size-guide-body { padding: 24px 16px max(24px, env(safe-area-inset-bottom)); }
}
.search-tools { display: flex; gap: 16px; align-items: end; margin: 0 0 24px; }
.search-tools label { display: grid; gap: 7px; font-size: 12px; }
.search-tools label:first-child { flex: 1; }
.search-tools input, .search-tools select { min-height: 44px; border: 1px solid #d7d0c4; background: transparent; color: inherit; padding: 10px 12px; font: inherit; font-size: 14px; border-radius: 0; }
.search-tools input { width: 100%; }
.search-tools button { min-height: 44px; border: 0; background: transparent; text-decoration: underline; font-size: 12px; }
.search-tools [hidden] { display: none; }
@media (max-width: 600px) { .search-tools { flex-wrap: wrap; gap: 12px; } .search-tools label:first-child { flex-basis: 100%; } .search-tools label { flex: 1; } }

/* Local demo checkout: fixed controls, one scrolling content area. */
[hidden] { display: none !important; }
#cart-dialog[open] {
  display: flex;
  flex-direction: column;
  width: 680px;
  overflow: hidden;
  padding: 0;
}
#cart-dialog .cart-header { padding: 20px 28px 14px; flex: none; }
#cart-dialog .cart-header h2 { padding-right: 40px; }
#cart-dialog .close { width: 44px; height: 44px; top: 14px; right: 18px; }
.demo-banner { margin: 0; padding: 14px 28px; background: #efe0d1; font-size: 13px; line-height: 1.6; flex: none; }
.checkout-steps { display: flex; justify-content: space-between; gap: 8px; list-style: none; padding: 18px 28px; margin: 0; border-bottom: 1px solid var(--line); flex: none; }
.checkout-steps li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.checkout-steps li > span { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); }
.checkout-steps [aria-current="step"] { color: var(--ink); font-weight: 600; }
.checkout-steps [aria-current="step"] > span, .checkout-steps .completed > span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.checkout-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 28px; }
.checkout-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 28px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex: none; background: var(--paper); }
.checkout-actions .primary { flex: 1; justify-content: center; font-size: 13px; text-align: center; padding: 16px; }
.checkout-back, .review-heading button { background: transparent; padding: 12px 4px; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.step-title { font-size: 26px; letter-spacing: -0.7px; font-weight: 400; margin: 0 0 12px; }
.step-intro { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.address-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.address-field.wide { grid-column: 1 / -1; }
.address-field label { display: block; font-size: 14px; margin-bottom: 8px; }
.address-field input { width: 100%; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: 16px; border-radius: 0; padding: 12px; min-height: 48px; }
.address-field input[aria-invalid="true"] { border-color: #9b3926; }
.field-error { color: #9b3926; font-size: 13px; line-height: 1.5; margin: 7px 0 0; }
.field-error:empty { display: none; }
.shipping-options { margin: 0; }
.shipping-options legend { font-size: 14px; }
.shipping-options label { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); padding: 20px; margin-top: 12px; cursor: pointer; }
.shipping-options label:has(input:checked) { border-color: var(--ink); background: #efe0d1; }
.shipping-options input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.shipping-options strong { display: block; font-size: 16px; font-weight: 500; }
.shipping-options small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.review-section { border-top: 1px solid var(--line); padding: 18px 0; }
.review-section h4 { font-size: 16px; margin: 0 0 12px; font-weight: 500; }
.review-section p { font-size: 14px; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.review-heading h4 { margin: 0; }
.review-items { list-style: none; margin: 12px 0 0; padding: 0; }
.review-items li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; font-size: 14px; }
.review-items li strong { font-weight: 500; }
.review-items li span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.review-items li > strong { white-space: nowrap; }
.receipt-number { font-size: 14px; padding: 18px 0; border-block: 1px solid var(--line); }
.receipt-number strong { display: block; font-size: 16px; margin-top: 8px; overflow-wrap: anywhere; }
.receipt-explanation { font-size: 16px; line-height: 1.6; margin: 24px 0; }
.bag-size { display: flex; align-items: center; gap: 10px; font-size: 13px; margin: 10px 0; }
.bag-size select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; }
#cart-dialog .cart-item h3 { font-size: 16px; }
#cart-dialog .cart-item p, #cart-dialog .quantity { font-size: 13px; }
#cart-dialog .quantity button { width: 44px; height: 44px; font-size: 18px; }
#cart-dialog .remove { min-height: 44px; font-size: 13px; }
#cart-dialog .cart-item > strong { font-size: 14px; }
#cart-dialog button:disabled { opacity: 0.45; cursor: default; }
#cart-dialog :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 767px) {
  #cart-dialog[open] { width: 100%; max-width: 100%; height: 100dvh; margin: 0; }
  #cart-dialog .cart-header { padding: max(16px, env(safe-area-inset-top)) 16px 12px; }
  #cart-dialog .cart-header h2 { font-size: 22px; }
  .demo-banner { padding: 12px 16px; font-size: 12px; }
  .checkout-steps { padding: 14px 16px; gap: 4px; }
  .checkout-steps li { font-size: 11px; gap: 5px; }
  .checkout-steps li > span { width: 20px; height: 20px; }
  .checkout-body { padding: 24px 16px; }
  .checkout-actions { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); gap: 8px; }
  .checkout-actions .primary { font-size: 12px; padding: 14px 10px; }
  .checkout-back { font-size: 12px; }
  .address-fields { gap: 18px 12px; }
  .step-title { font-size: 24px; }
  #cart-dialog .cart-item { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; }
  #cart-dialog .cart-item h3 { font-size: 14px; }
}

/* Real generated raster photographs; labels stay visible in every usage. */
.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f3eb;
}
.photo-note {
  position: absolute;
  bottom: 12px;
  left: 10px;
  background: var(--paper);
  color: var(--ink);
  padding: 5px 7px;
  font-size: 10px;
  line-height: 1.3;
}
.cart-item .photo-note { position: static; font-size: 10px; padding: 4px; text-align: center; }
.cart-item .product-visual:has(.product-photo) { flex-direction: column; aspect-ratio: auto; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #efe3cc; }
.photo-hero::before { content: none; }
.photo-hero .art-top, .photo-hero .art-bottom { background: #f8f5edeb; padding: 10px 12px; }
.photo-hero .art-label { transform: none; font-size: 10px; line-height: 1.5; }
@media (max-width: 600px) {
  .photo-note { font-size: 10px; left: 6px; bottom: 7px; padding: 4px 5px; }
  .photo-hero .art-label { font-size: 9px; }
}
.vacation-dialog[open] {
  width: 440px;
  padding: 44px 40px 36px;
  border-top: 3px solid var(--olive);
}
.vacation-dialog .eyebrow {
  margin-bottom: 20px;
}
.vacation-dialog h2 {
  font-size: 40px;
  letter-spacing: -2px;
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 14px;
}
.vacation-dialog h2 em {
  color: var(--olive);
}
.vacation-dates {
  font-size: 14px;
  color: #65685e;
  margin: 0 0 28px;
}
.vacation-dialog .primary {
  width: 100%;
  border: 0;
}
@media (max-width: 760px) {
  .vacation-dialog[open] {
    padding: 38px 24px 24px;
  }
  .vacation-dialog h2 {
    font-size: 34px;
  }
}
