body {
  margin: 0;
  background: var(--yl-lard-ivory);
  color: var(--yl-roast-brown);
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

[hidden] { display: none !important; }

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

button { cursor: pointer; }

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--yl-lacquered-red);
  outline-offset: 2px;
}

.privacy-entry,
.privacy-declined {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.privacy-entry-panel,
.privacy-declined > div {
  width: min(100%, 600px);
  padding: 32px;
  border-top: 4px solid var(--yl-cured-burgundy);
  background: var(--yl-surface);
  box-shadow: 0 18px 46px rgb(50 24 18 / 14%);
}

.privacy-entry h1,
.privacy-declined h1 {
  margin: 8px 0 16px;
  font-size: 32px;
  line-height: 1.3;
}

.privacy-entry p,
.privacy-declined p { line-height: 1.8; }

.privacy-entry details {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--yl-line);
  background: var(--yl-meat-pink);
}

.privacy-entry-actions,
.account-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.consumer-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  border-bottom: 1px solid var(--yl-line);
  background: rgb(255 250 244 / 96%);
  box-shadow: 0 4px 18px rgb(50 24 18 / 5%);
}

.consumer-topbar .nav-link:hover,
.consumer-topbar .nav-link.is-active {
  color: var(--yl-cured-burgundy);
  background: var(--yl-meat-pink);
}

.consumer-topbar .nav-link.is-active::after { background: var(--yl-caramel-amber); }

.consumer-topbar .account-button {
  border-color: var(--yl-cured-burgundy);
  border-radius: var(--yl-radius-control);
  color: var(--yl-cured-burgundy);
}

.consumer-topbar .account-button:hover {
  color: var(--yl-surface);
  background: var(--yl-cured-burgundy);
}

.consumer-view {
  width: min(100% - 48px, 1360px);
  margin: 0 auto;
  padding: 32px 0 80px;
}

.consumer-home { padding-top: 24px; }

.consumer-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 500px;
  overflow: hidden;
  background: var(--yl-roast-brown);
  border-radius: var(--yl-radius-feature) var(--yl-radius-feature) 0 0;
}

.consumer-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.consumer-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consumer-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(50 24 18 / 92%) 0%, rgb(111 36 27 / 62%) 46%, rgb(50 24 18 / 14%) 78%);
}

.consumer-hero-copy {
  position: relative;
  z-index: 1;
  width: min(650px, 62%);
  padding: 64px 56px 132px;
  color: var(--yl-surface);
}

.consumer-hero-copy h1 {
  max-width: 8em;
  margin: 16px 0;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.consumer-hero-copy .yl-kicker { color: var(--yl-meat-pink); }
.consumer-hero-copy p:not(.yl-kicker) { max-width: 590px; margin-bottom: 0; color: var(--yl-meat-pink); font-size: 18px; line-height: 1.7; }

.consumer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.consumer-hero-actions .yl-action img { width: 22px; height: 22px; }

.consumer-evidence-wrap {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: -84px auto 0;
}

.consumer-evidence-rail { border-radius: var(--yl-radius-surface); }

.consumer-route-bands {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 12px;
  margin-top: 16px;
}

.consumer-route-action {
  justify-content: flex-start;
  min-height: 92px;
  padding: 16px 24px;
  text-align: left;
}

.consumer-route-action > span:nth-child(2) { min-width: 0; flex: 1; }
.consumer-route-action strong,
.consumer-route-action small { display: block; }
.consumer-route-action strong { font-size: 20px; }
.consumer-route-action small { margin-top: 4px; color: inherit; font-size: 14px; font-weight: 400; opacity: .82; }
.consumer-route-action b { font-size: 24px; }

.consumer-route-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  flex: none;
  border: 1px solid rgb(50 24 18 / 9%);
  border-radius: 50%;
  background: var(--yl-surface);
}

.consumer-route-icon img { width: 34px; height: 34px; }

.view-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--yl-line);
}

.view-heading h1 { margin: 8px 0 0; font-size: 40px; line-height: 1.25; }
.view-heading > p { max-width: 480px; margin: 0; color: var(--yl-muted); line-height: 1.65; }

.processing-button {
  min-height: 56px;
  padding: 14px 20px;
  border: 1px solid var(--yl-caramel-amber);
  border-radius: var(--yl-radius-control);
  background: var(--yl-caramel-amber);
  color: var(--yl-roast-brown);
  font-weight: 700;
  transition: transform var(--yl-duration-fast) var(--yl-ease), background-color var(--yl-duration-fast) var(--yl-ease);
}

.processing-button:hover { background: var(--yl-caramel-amber-hover); transform: translateY(-2px); }
.processing-button:active { background: var(--yl-caramel-pressed); transform: translateY(0); }
.processing-button:disabled { background: var(--yl-line); border-color: var(--yl-line); color: var(--yl-muted); cursor: not-allowed; transform: none; }

.empty-state {
  margin-top: 20px;
  padding: 34px;
  border: 1px dashed var(--yl-line-strong);
  border-radius: 8px;
  background: var(--yl-surface);
  text-align: center;
}

.empty-state strong { font-size: 19px; }
.empty-state p { color: var(--yl-muted); line-height: 1.7; }
.consumer-status { margin-top: 18px; color: var(--yl-muted); }

.consumer-panel-status {
  min-height: 24px;
  margin: 0 0 16px;
  color: var(--yl-muted);
  line-height: 1.65;
}

.commerce-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.commerce-product-card,
.commerce-cart-group {
  border: 1px solid var(--yl-line);
  border-top: 4px solid var(--yl-caramel-amber);
  border-radius: 8px;
  background: var(--yl-surface);
}

.commerce-address-book,
.commerce-order-detail,
.commerce-processing-orders {
  border: var(--yl-border-width) solid var(--yl-divider);
  border-radius: var(--yl-radius-surface);
  background: var(--yl-raised-surface);
}

.commerce-product-card { overflow: hidden; }
.commerce-product-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #f3e9df; }

.commerce-product-heading {
  padding: 24px 24px 18px;
  background: #fff7ee;
}

.commerce-product-heading h2,
.commerce-cart-heading h2,
.commerce-processing-orders h2,
.commerce-address-book h2,
.commerce-order-detail h2 {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.35;
}

.commerce-product-description {
  margin: 12px 0 0;
  color: var(--yl-muted);
  line-height: 1.65;
}

.commerce-sku-list,
.commerce-cart-lines,
.commerce-order-list,
.commerce-address-list {
  display: grid;
  gap: 1px;
  background: var(--yl-line);
}

.commerce-sku-row,
.commerce-cart-line,
.commerce-order-row,
.commerce-address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 16px 24px;
  background: var(--yl-surface);
}

.commerce-sku-summary,
.commerce-cart-line-summary,
.commerce-order-summary,
.commerce-address-summary {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.commerce-sku-summary strong,
.commerce-cart-line-summary strong,
.commerce-order-summary strong,
.commerce-address-summary strong {
  overflow-wrap: anywhere;
  font-size: 17px;
}

.commerce-sku-summary span,
.commerce-cart-line-summary span,
.commerce-order-summary span,
.commerce-address-summary span,
.commerce-subtle {
  color: var(--yl-muted);
  line-height: 1.55;
}

.commerce-cart-list,
.commerce-address-list {
  display: grid;
  gap: 16px;
  background: transparent;
}

.commerce-order-list { gap: var(--yl-space-small); background: transparent; }
.commerce-order-row { padding: var(--yl-space-comfortable) var(--yl-space-standard); border: var(--yl-border-width) solid var(--yl-divider); border-radius: var(--yl-radius-control); background: var(--yl-raised-surface); }
.commerce-order-summary { gap: var(--yl-space-micro); }
.commerce-order-summary strong { color: var(--yl-primary-text); font-size: var(--yl-role-body-large-font-size); }
.commerce-order-summary span { color: var(--yl-secondary-text); }

.commerce-cart-heading {
  display: grid;
  gap: 4px;
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--yl-line);
}

.commerce-cart-heading .section-label { margin: 0; }
.commerce-cart-heading .commerce-subtle { font-size: 14px; }

.commerce-cart-group .commerce-cart-lines { background: transparent; }
.commerce-cart-line { border-bottom: 1px solid var(--yl-line); }
.commerce-cart-line:last-child { border-bottom: 0; }
.commerce-cart-line.is-unavailable { background: #f7e8df; }

.commerce-quantity-control,
.commerce-address-actions,
.commerce-heading-actions,
.commerce-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.commerce-quantity-control input {
  box-sizing: border-box;
  width: 62px;
  min-height: 38px;
  border: 1px solid var(--yl-line-strong);
  border-radius: 4px;
  background: #fffdf9;
  color: var(--yl-roast-brown);
  text-align: center;
}

.commerce-icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--yl-line-strong);
  border-radius: 4px;
  background: var(--yl-surface);
  color: var(--yl-cured-burgundy);
  font-size: 20px;
  line-height: 1;
}

.commerce-icon-button:hover { border-color: var(--yl-cured-burgundy); background: var(--yl-meat-pink); }
.commerce-icon-button:disabled { cursor: not-allowed; opacity: .48; }

.commerce-inline-warning {
  margin: 0;
  padding: 14px 24px;
  border-top: 1px solid var(--yl-line);
  background: #fff7ee;
  color: var(--yl-muted);
  line-height: 1.6;
}

.commerce-checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--yl-line);
}

.commerce-checkout-option {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 18px 24px 22px;
}

.commerce-checkout-option + .commerce-checkout-option { border-left: 1px solid var(--yl-line); }
.commerce-checkout-option h3 { margin: 0; font-size: 18px; }
.commerce-checkout-option select {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--yl-line-strong);
  border-radius: 6px;
  background: #fffdf9;
  color: var(--yl-roast-brown);
}

.commerce-address-form input,
.commerce-address-form select,
.commerce-address-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--yl-field-min-height);
  padding: var(--yl-field-padding);
  border: var(--yl-border-width) solid var(--yl-strong-divider);
  border-radius: var(--yl-radius-control);
  background: var(--yl-control-surface);
  color: var(--yl-primary-text);
}

.commerce-checkout-option select:focus-visible,
.commerce-address-form input:focus-visible,
.commerce-address-form select:focus-visible,
.commerce-address-form textarea:focus-visible {
  outline-color: var(--yl-caramel-amber);
}

.commerce-checkout-option .quiet-button { justify-self: start; }

.commerce-processing-orders {
  margin-top: var(--yl-space-standard);
}

.commerce-processing-orders > div:first-child {
  padding: var(--yl-space-standard);
  border-bottom: var(--yl-border-width) solid var(--yl-divider);
}

.commerce-processing-orders .section-label { margin: 0; }

.commerce-processing-empty {
  display: grid;
  justify-items: start;
  gap: var(--yl-space-small);
  padding: var(--yl-space-standard);
  color: var(--yl-secondary-text);
}

.commerce-processing-empty strong { color: var(--yl-primary-text); font-size: var(--yl-role-body-font-size); }
.commerce-processing-empty p { max-width: 65ch; margin: 0; line-height: var(--yl-line-height-body); }
.commerce-processing-empty .quiet-button { margin-top: var(--yl-space-micro); }

.commerce-order-detail { margin-top: var(--yl-space-standard); }

.commerce-detail-heading,
.commerce-section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--yl-space-standard);
  padding: var(--yl-space-standard);
  border-bottom: var(--yl-border-width) solid var(--yl-divider);
}

.commerce-detail-heading > div { min-width: 0; }
.commerce-detail-heading .section-label { margin: 0; }

.commerce-detail-section {
  padding: var(--yl-space-standard);
  border-bottom: var(--yl-border-width) solid var(--yl-divider);
}

.commerce-detail-section:last-of-type { border-bottom: 0; }
.commerce-detail-section h3 { margin: 0 0 var(--yl-space-compact); font-size: var(--yl-role-body-large-font-size); }
.commerce-detail-section p { margin: var(--yl-space-small) 0 0; color: var(--yl-secondary-text); line-height: var(--yl-line-height-body); }

.commerce-detail-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1fr) auto;
  gap: var(--yl-space-compact);
  padding: var(--yl-space-compact) 0;
  border-top: var(--yl-border-width) solid var(--yl-divider);
}

.commerce-detail-row span { color: var(--yl-secondary-text); line-height: var(--yl-line-height-body); }
.commerce-detail-note { margin: 0; padding: var(--yl-space-comfortable) var(--yl-space-standard); color: var(--yl-secondary-text); line-height: var(--yl-line-height-body); }

.commerce-customer-services { background: var(--yl-reading-surface); }

.commerce-complaint-list {
  display: grid;
  gap: var(--yl-space-small);
  margin: var(--yl-space-comfortable) 0;
}

.commerce-complaint-item { padding: var(--yl-space-comfortable); border: var(--yl-border-width) solid var(--yl-divider); border-radius: var(--yl-radius-control); background: var(--yl-raised-surface); }

.commerce-complaint-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--yl-space-compact);
}

.commerce-complaint-item small { display: block; margin-top: var(--yl-space-small); color: var(--yl-secondary-text); }

.commerce-complaint-history {
  margin-top: var(--yl-space-compact);
  border-top: var(--yl-border-width) solid var(--yl-divider);
}

.commerce-complaint-history summary {
  min-height: var(--yl-action-min-height);
  padding: var(--yl-space-small) 0;
  cursor: pointer;
  color: var(--yl-commerce-action);
  font-size: var(--yl-role-label-font-size);
  font-weight: var(--yl-font-weight-strong);
}

.commerce-complaint-events {
  display: grid;
  gap: var(--yl-space-small);
  margin-bottom: var(--yl-space-micro);
}

.commerce-complaint-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--yl-space-micro) var(--yl-space-comfortable);
  padding: var(--yl-space-compact);
  border-radius: var(--yl-radius-control);
  background: var(--yl-info-surface);
}

.commerce-complaint-event strong { color: var(--yl-primary-text); }
.commerce-complaint-event span { color: var(--yl-secondary-text); font-size: var(--yl-role-caption-font-size); }
.commerce-complaint-event p { grid-column: 1 / -1; margin: 0; }
.delivery-dispute-evidence-actions,
.complaint-evidence-actions { display: flex; flex-wrap: wrap; gap: var(--yl-space-small); margin-top: var(--yl-space-small); }
.commerce-support-evidence-image {
  display: block;
  width: min(100%, 360px);
  max-height: 360px;
  margin-top: var(--yl-space-small);
  object-fit: contain;
  border: var(--yl-border-width) solid var(--yl-divider);
  border-radius: var(--yl-radius-control);
  background: var(--yl-raised-surface);
}

.commerce-status-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: var(--yl-space-cluster);
  padding: 0 var(--yl-space-small);
  border: var(--yl-border-width) solid var(--yl-divider);
  border-radius: var(--yl-radius-pill);
  color: var(--yl-primary-text);
  font-size: var(--yl-role-label-font-size);
  font-weight: var(--yl-font-weight-strong);
}

.commerce-customer-service-form {
  margin-top: var(--yl-space-comfortable);
  border-top: var(--yl-border-width) solid var(--yl-divider);
}

.commerce-customer-service-form summary {
  display: grid;
  gap: var(--yl-space-micro);
  min-height: var(--yl-action-min-height);
  padding: var(--yl-space-comfortable) 0;
  cursor: pointer;
}

.commerce-customer-service-form summary span { color: var(--yl-secondary-text); font-size: var(--yl-role-label-font-size); }

.commerce-customer-service-form form {
  display: grid;
  gap: var(--yl-space-comfortable);
  padding: var(--yl-space-micro) 0;
}

.commerce-customer-service-form label {
  display: grid;
  gap: var(--yl-space-small);
  color: var(--yl-primary-text);
  font-weight: var(--yl-font-weight-strong);
}

.commerce-customer-service-form input,
.commerce-customer-service-form select,
.commerce-customer-service-form textarea { width: 100%; min-height: var(--yl-field-min-height); padding: var(--yl-field-padding); border: var(--yl-border-width) solid var(--yl-strong-divider); border-radius: var(--yl-radius-control); background: var(--yl-control-surface); color: var(--yl-primary-text); }
.commerce-customer-service-form textarea { min-height: calc(var(--yl-field-min-height) * 2); resize: vertical; }
.commerce-customer-service-form .primary-button { justify-self: start; }

.customer-cooperation {
  margin-top: var(--yl-space-standard);
  border: var(--yl-border-width) solid var(--yl-divider);
  border-radius: var(--yl-radius-surface);
  background: var(--yl-raised-surface);
}

.customer-cooperation-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--yl-space-standard);
  padding: var(--yl-space-standard);
  border-bottom: var(--yl-border-width) solid var(--yl-divider);
  background: var(--yl-raised-surface);
}

.customer-cooperation-heading > div { min-width: 0; }
.customer-cooperation-heading .section-label { margin: 0; }
.customer-cooperation-heading h2 { margin: var(--yl-space-small) 0 0; font-size: var(--yl-role-h3-font-size); line-height: var(--yl-role-h3-line-height); }
.customer-cooperation-heading p:not(.section-label) { max-width: 65ch; margin: var(--yl-space-small) 0 0; color: var(--yl-secondary-text); line-height: var(--yl-line-height-body); }
.customer-cooperation-stamp {
  display: grid;
  flex: 0 0 var(--yl-space-section);
  width: var(--yl-space-section);
  height: var(--yl-space-section);
  place-items: center;
  border-radius: var(--yl-radius-control);
  background: var(--yl-cured-burgundy);
  color: var(--yl-surface);
  font-size: var(--yl-role-action-font-size);
  font-weight: var(--yl-font-weight-display);
}

.customer-cooperation-bound-phone,
.customer-cooperation-status {
  margin: 0;
  padding: var(--yl-space-comfortable) var(--yl-space-standard);
  color: var(--yl-secondary-text);
  line-height: var(--yl-line-height-body);
}

.customer-cooperation-bound-phone { border-bottom: var(--yl-border-width) solid var(--yl-divider); background: var(--yl-reading-surface); }
.customer-cooperation-bound-phone strong { color: var(--yl-roast-brown); }
.customer-cooperation-status { border-bottom: var(--yl-border-width) solid var(--yl-divider); }

.customer-cooperation-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--yl-space-comfortable); padding: var(--yl-space-standard); }
.customer-cooperation-form label { display: grid; gap: var(--yl-space-small); min-width: 0; color: var(--yl-primary-text); font-weight: var(--yl-font-weight-strong); }
.customer-cooperation-form input,
.customer-cooperation-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--yl-field-min-height);
  padding: var(--yl-field-padding);
  border: var(--yl-border-width) solid var(--yl-strong-divider);
  border-radius: var(--yl-radius-control);
  background: var(--yl-control-surface);
  color: var(--yl-primary-text);
}
.customer-cooperation-form textarea { min-height: calc(var(--yl-field-min-height) * 2); resize: vertical; }
.customer-cooperation-form input:focus-visible,
.customer-cooperation-form textarea:focus-visible { outline-color: var(--yl-lacquered-red); }
.customer-cooperation-demand,
.customer-cooperation-actions { grid-column: 1 / -1; }
.customer-cooperation-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--yl-space-comfortable); }
.customer-cooperation-actions p { max-width: 65ch; margin: 0; color: var(--yl-secondary-text); font-size: var(--yl-role-label-font-size); line-height: var(--yl-line-height-body); }
.customer-cooperation-confirmation { padding: var(--yl-space-standard); background: var(--yl-info-surface); }
.customer-cooperation-confirmation .section-label { margin: 0; color: var(--yl-cured-burgundy); }
.customer-cooperation-confirmation h3 { margin: var(--yl-space-small) 0 0; font-size: var(--yl-role-h3-font-size); }
.customer-cooperation-confirmation p:not(.section-label) { margin: var(--yl-space-compact) 0 0; color: var(--yl-secondary-text); line-height: var(--yl-line-height-body); }
.customer-cooperation-confirmation strong { color: var(--yl-roast-brown); overflow-wrap: anywhere; }

.commerce-address-book { margin-top: var(--yl-space-standard); }
.commerce-section-heading { padding-bottom: var(--yl-space-standard); }
.commerce-section-heading .section-label { margin: 0; }
.commerce-section-heading h2 { margin-top: var(--yl-space-small); }
.commerce-section-heading p:not(.section-label) { max-width: 65ch; margin: var(--yl-space-small) 0 0; color: var(--yl-secondary-text); line-height: var(--yl-line-height-body); }
.commerce-address-list { gap: var(--yl-space-small); margin: 0 var(--yl-space-standard); }
.commerce-address-list .commerce-address-row { padding: var(--yl-space-comfortable); border: var(--yl-border-width) solid var(--yl-divider); border-radius: var(--yl-radius-control); background: var(--yl-reading-surface); }

.commerce-address-form {
  margin: var(--yl-space-standard);
  padding: var(--yl-space-standard);
  border: var(--yl-border-width) solid var(--yl-divider);
  border-radius: var(--yl-radius-surface);
  background: var(--yl-reading-surface);
}

.commerce-form-heading h3 { margin: var(--yl-space-small) 0 0; font-size: var(--yl-role-h3-font-size); }
.commerce-form-heading p:not(.section-label) { margin: var(--yl-space-small) 0 0; color: var(--yl-secondary-text); line-height: var(--yl-line-height-body); }
.commerce-form-heading .section-label { margin: 0; }

.commerce-form-grid,
.commerce-region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--yl-space-compact);
  margin-top: var(--yl-space-standard);
}

.commerce-address-form label {
  display: grid;
  gap: var(--yl-space-small);
  min-width: 0;
  color: var(--yl-primary-text);
  font-weight: var(--yl-font-weight-strong);
}

.commerce-address-form textarea { min-height: calc(var(--yl-field-min-height) * 2); resize: vertical; }
.commerce-region-path { min-height: var(--yl-space-standard); margin: var(--yl-space-compact) 0 0; color: var(--yl-secondary-text); line-height: var(--yl-line-height-body); }
.commerce-address-detail { margin-top: var(--yl-space-comfortable); }
.commerce-form-actions { margin-top: var(--yl-space-standard); }

@media (max-width: 880px) {
  .commerce-product-grid { grid-template-columns: 1fr; }
  .commerce-cart-line { align-items: start; flex-direction: column; }
  .commerce-quantity-control { justify-content: flex-start; }
}

@media (max-width: 880px) {
  .consumer-topbar { position: static; }
  .consumer-route-bands { grid-template-columns: 1fr 1fr; }

  .consumer-hero-copy h1 { font-size: 38px; }


}

@media (max-width: 720px) {
  .consumer-topbar .main-nav { display: none; }
  .consumer-view { width: min(100% - 32px, 1360px); padding: 24px 0 48px; }
  .view-heading { display: block; }
  .view-heading > p { margin-top: 12px; }
  .view-heading h1 { font-size: 32px; }
  .consumer-hero { min-height: 570px; border-radius: var(--yl-radius-feature) var(--yl-radius-feature) 0 0; }
  .consumer-hero::after { background: linear-gradient(0deg, rgb(50 24 18 / 92%) 8%, rgb(111 36 27 / 58%) 60%, rgb(50 24 18 / 18%) 100%); }
  .consumer-hero-copy { align-self: end; width: auto; padding: 56px 24px 124px; }
  .consumer-hero-copy h1 { font-size: clamp(44px, 14vw, 64px); }
  .consumer-hero-copy p:not(.yl-kicker) { font-size: 16px; }
  .consumer-evidence-wrap { width: calc(100% - 32px); margin-top: -72px; }
  .consumer-route-bands { grid-template-columns: 1fr; }

  .customer-cooperation-form{ grid-template-columns: 1fr; }

  .commerce-sku-row,
  .commerce-order-row,
  .commerce-address-row,
  .commerce-section-heading,
  .commerce-detail-heading { align-items: stretch; flex-direction: column; }
  .commerce-sku-row > .primary-button,
  .commerce-order-row > .quiet-button,
  .commerce-heading-actions,
  .commerce-form-actions { width: 100%; }
  .commerce-heading-actions > *,
  .commerce-form-actions > * { flex: 1 1 140px; }
  .commerce-checkout-grid,
  .commerce-form-grid,
  .commerce-region-grid { grid-template-columns: 1fr; }
  .commerce-checkout-option + .commerce-checkout-option { border-top: 1px solid var(--yl-line); border-left: 0; }
  .commerce-checkout-option .quiet-button { width: 100%; }
  .commerce-detail-row { grid-template-columns: 1fr; gap: 5px; }
  .commerce-address-list { margin-inline: var(--yl-space-comfortable); }
  .commerce-address-form { margin: var(--yl-space-comfortable); padding: var(--yl-space-comfortable); }
}

@media (max-width: 560px) {
  .privacy-entry,
  .privacy-declined { align-items: end; padding: 0; }
  .privacy-entry-panel,
  .privacy-declined > div { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
  .consumer-route-action { min-height: 88px; padding: 16px; }

}

@media (prefers-reduced-motion: reduce) {
  .consumer-task-grid button,
  .processing-button { transition: none; }
}

.consumer-human-inline {
  display: grid;
  gap: var(--yl-space-comfortable);
  padding: var(--yl-space-comfortable);
  border: var(--yl-border-width) solid var(--yl-divider);
  border-radius: var(--yl-radius-control);
  background: var(--yl-raised-surface);
}

.consumer-human-inline[hidden] { display: none; }

.consumer-human-inline > p {
  margin: 0;
}

.consumer-human-inline__challenge {
  display: grid;
  place-items: center;
  height: var(--yl-action-min-height);
}

.consumer-human-inline__challenge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.consumer-human-inline__challenge button {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: var(--yl-border-width) solid var(--yl-strong-divider);
  border-radius: var(--yl-radius-control);
  background: var(--yl-control-surface);
  cursor: pointer;
}

.consumer-human-inline__hint { margin: 0; color: var(--yl-muted-text); font-size: var(--yl-role-caption-font-size); }

.consumer-human-inline__challenge button:disabled {
  cursor: wait;
}

.consumer-human-inline__challenge button:focus-visible {
  outline: 2px solid var(--yl-lacquered-red);
  outline-offset: 3px;
}

.consumer-human-inline [data-cookie-human-panel-message]:empty {
  display: none;
}
