.shop-product .resource-wrap {
  padding-top: 32px;
}
.shop-preview {
  background: #fff0ef;
  color: #9e1a18;
  border-left: 3px solid #e02725;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 650;
}
.shop-heading {
  max-width: 810px;
  margin: 42px 0 36px;
}
.shop-heading h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 14px 0;
}
.shop-heading > p:last-child {
  max-width: 660px;
  color: #615b5d;
  font-size: 18px;
  line-height: 1.65;
}
.shop-tagline {
  font-size: 24px;
  line-height: 1.4;
  margin: 20px 0;
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 56px;
  align-items: start;
}
.shop-image {
  background: #f5f4f3;
  border-radius: 18px;
  overflow: hidden;
}
.shop-image picture {
  display: block;
  position: static;
  aspect-ratio: 4/3;
}
.shop-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.shop-corners {
  margin-top: 30px;
}
.shop-corners h2,
.shop-security h2 {
  font-size: 21px;
}
.corner-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.corner-choices button {
  border: 1px solid #d9d5d4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 14px;
  background: white;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.corner-choices button[aria-pressed='true'] {
  border: 2px solid #e02725;
  background: #fff5f4;
  padding: 17px 13px;
}
.corner-demo {
  display: grid;
  place-items: center;
  flex: 0 0 65px;
  height: 39px;
  background: #231f20;
  color: white;
  font-weight: 800;
  border-left: 5px solid #e02725;
  box-shadow: 2px 3px 0 #ddd;
}
.corner-demo.rounded {
  border-radius: 9px;
}
.shop-corners > p {
  font-size: 13px;
  color: #6a6364;
  margin-top: 12px;
}
.shop-security {
  background: #f6f5f4;
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
}
.shop-security p {
  line-height: 1.6;
  color: #615b5d;
}
.shop-form {
  border: 1px solid #e5e1df;
  border-radius: 16px;
  padding: 30px;
  background: #fff;
}
.shop-form h2 {
  font-size: 27px;
  margin: 0 0 14px;
}
.shop-form > p {
  font-size: 15px;
  line-height: 1.65;
  color: #615b5d;
}
.shop-form .wizard-fields {
  margin-top: 26px;
}
.shop-form .field {
  min-width: 0;
  margin-bottom: 24px;
}
.shop-form label {
  font-size: 16px;
}
.shop-form small {
  display: block;
  font-size: 13px;
  color: #625c5d;
  line-height: 1.55;
  margin-top: 9px;
}
.shop-form input,
.shop-form select {
  font-size: 17px;
  min-height: 54px;
  max-width: 100%;
  width: 100%;
}
.checkout-checkbox,
#cart-guest-form label:has(input[type='checkbox']) {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.6;
  margin: 18px 0;
  min-height: 44px;
}
.checkout-checkbox input[type='checkbox'],
#cart-guest-form input[type='checkbox'] {
  width: 21px;
  height: 21px;
  min-width: 21px;
  min-height: 21px;
  flex: 0 0 21px;
  margin-top: 4px;
  padding: 0;
  accent-color: #e02725;
}
#cart-delivery fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 24px 0;
}
#cart-delivery legend {
  font-size: 23px;
  font-weight: 700;
}
#cart-delivery textarea {
  width: 100%;
  min-height: 100px;
  font: inherit;
  padding: 14px;
}
.cart-product-image {
  width: 120px;
  height: auto;
  object-fit: contain;
  float: right;
  margin: 0 0 16px 16px;
  border-radius: 10px;
}
.cart-items article {
  display: flow-root;
}
.cart-items article > a {
  display: inline-block;
  padding: 12px;
}
#checkout-review,
#checkout-tracking {
  scroll-margin-top: 110px;
  margin-top: 24px;
}
.checkout-review {
  padding: 20px;
}
.checkout-review article {
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}
.checkout-status-dimensions dt {
  font-weight: 600;
}
.checkout-status-dimensions dd {
  margin: 0;
}
.shop-form .field-error {
  display: none;
}
.shop-files {
  border-top: 1px solid #e5e1df;
  margin-top: 30px;
  padding-top: 24px;
}
.shop-files h3 {
  font-size: 20px;
}
.shop-files p {
  font-size: 14px;
  line-height: 1.65;
}
.shop-file-button {
  display: block;
  border: 1px dashed #bdb5b2;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
  cursor: pointer;
  background: #faf9f8;
}
.shop-form #shop-local-files {
  font-size: 13px;
  min-height: 35px;
  margin: 10px 0;
}
.shop-files ul {
  list-style: none;
  padding: 0;
}
.shop-files li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  min-width: 0;
}
.shop-files li strong {
  width: 100%;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.shop-files li label {
  max-width: 85px;
  font-size: 13px;
}
.shop-files li input {
  min-height: 40px;
  font-size: 14px;
}
.shop-files li select {
  width: auto;
  flex: 1;
  min-height: 40px;
  font-size: 14px;
}
.shop-files li button {
  background: none;
  border: 0;
  color: #b71f1d;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.shop-files #shop-file-error {
  color: #a51d1b;
}
.shop-price {
  background: #231f20;
  color: #fff;
  border-radius: 16px;
  margin-top: 20px;
  padding: 28px;
}
.shop-price > p:first-child {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: #d7cecb;
}
.shop-price h2 {
  font-size: 35px;
  letter-spacing: -0.03em;
  margin: 15px 0;
}
.shop-price p {
  font-size: 14px;
  line-height: 1.65;
  color: #e3dbd8;
}
.shop-price .button {
  width: 100%;
  margin: 20px 0 13px;
  justify-content: center;
}
.shop-price small {
  display: block;
  color: #d5ccca;
  line-height: 1.6;
  font-size: 12px;
}
.shop-form-link {
  display: block;
  margin-top: 20px;
  text-decoration: underline;
  font-size: 14px;
}
.shop-templates {
  margin: 72px 0 24px;
  border-top: 1px solid #e5e1df;
  padding-top: 38px;
}
.shop-templates h2 {
  font-size: 30px;
  margin: 14px 0;
}
.shop-templates > p {
  max-width: 750px;
  color: #625c5d;
  line-height: 1.7;
}
.shop-templates > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 25px 0;
}
.shop-templates article {
  border: 1px solid #e4dedb;
  border-radius: 12px;
  padding: 22px;
}
.shop-templates article h3 {
  font-size: 17px;
  line-height: 1.45;
}
.shop-templates article p {
  font-size: 13px;
  line-height: 1.65;
  color: #625c5d;
}
.shop-templates article a {
  display: inline-block;
  color: #b6201e;
  font-weight: 650;
  margin-top: 16px;
}
.shop-product a:focus-visible,
.shop-product button:focus-visible,
.shop-product input:focus-visible,
.shop-product select:focus-visible {
  outline: 3px solid #e02725;
  outline-offset: 4px;
}
@media (max-width: 950px) {
  .shop-layout {
    gap: 28px;
  }
  .shop-form {
    padding: 22px;
  }
  .corner-choices {
    grid-template-columns: 1fr;
  }
  .shop-form .wizard-fields {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .corner-choices {
    grid-template-columns: 1fr 1fr;
  }
  .shop-showcase {
    display: grid;
    grid-template-columns: 1fr;
  }
  .shop-heading {
    margin: 28px 0;
  }
  .shop-heading h1 {
    font-size: 42px;
  }
  .shop-tagline {
    font-size: 21px;
  }
  .shop-form {
    padding: 22px 18px;
  }
  .shop-templates > div {
    grid-template-columns: 1fr;
  }
  .shop-security {
    margin-top: 22px;
  }
  .shop-preview {
    font-size: 12px;
    line-height: 1.6;
  }
  .corner-choices button {
    display: block;
  }
  .corner-demo {
    margin-bottom: 12px;
  }
  .shop-price h2 {
    font-size: 29px;
  }
  .shop-form input,
  .shop-form select {
    font-size: 16px;
  }
}
.shop-form #shop-local-files {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.shop-file-button:has(+ input:focus-visible) {
  outline: 3px solid #e02725;
  outline-offset: 4px;
}
.shop-templates article.is-matching {
  border: 2px solid #e02725;
  background: #fff7f6;
  padding: 21px;
}
.shop-quantity-breaks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.shop-quantity-breaks button {
  background: #fff;
  border: 1px solid #d9d5d4;
  border-radius: 7px;
  padding: 10px 13px;
  min-height: 44px;
  font: inherit;
  cursor: pointer;
}
.shop-quantity-breaks button[aria-pressed='true'] {
  border-color: #e02725;
  color: #b6201e;
  background: #fff5f4;
}
.corner-choices button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.shop-price details {
  font-size: 13px;
  line-height: 1.6;
  color: #e3dbd8;
  margin: 16px 0;
}
.shop-price summary {
  cursor: pointer;
  text-decoration: underline;
}
.shop-price details p {
  overflow-wrap: anywhere;
}
.shop-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.cart-items article {
  border: 1px solid #e5e1df;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.cart-items h2 {
  font-size: 22px;
  line-height: 1.3;
}
.cart-items p {
  line-height: 1.7;
  font-size: 16px;
}
.cart-items button {
  color: #b6201e;
  background: white;
  border: 1px solid #d9d5d4;
  border-radius: 7px;
  min-height: 44px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
}
.cart-totals {
  margin-top: 0;
}
.item-specifications {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}
.item-specifications div {
  min-width: 0;
}
.item-specifications dt {
  color: #655e5e;
  font-size: 14px;
}
.item-specifications dd {
  margin: 6px 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.cart-actions .text-link {
  color: white;
}
#cart-guest {
  color: #231f20;
  margin-top: 24px;
}
.shop-price #cart-guest p {
  color: #615b5d;
}
#cart-guest a:not(.button) {
  color: #a51d1b;
}
#cart-guest input[type='checkbox'] {
  width: 20px;
  min-height: 20px;
  vertical-align: middle;
}
.cart-totals h2 {
  font-size: 27px;
}
.cart-totals dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #655b5b;
}
.cart-totals dd {
  margin: 0;
  font-weight: 700;
}
#cart-address-error {
  color: #a51d1b;
}
.shop-product [hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .shop-cart-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .item-specifications {
    grid-template-columns: 1fr;
  }
}

/* Checkout review and secure tracking use the full page, outside the dark totals panel. */
.checkout-finalize {
  max-width: 940px;
  margin: 32px auto;
  color: #231f20;
}
.checkout-finalize h2,
.checkout-finalize h3,
.checkout-finalize h4 {
  color: #231f20;
}
.checkout-finalize h2 {
  font-size: 28px;
  line-height: 1.2;
}
.checkout-finalize p {
  color: #514b4d;
  line-height: 1.65;
}
.checkout-finalize .workspace-secondary {
  min-height: 48px;
  padding: 12px 20px;
  margin: 8px;
  border: 1px solid #777;
  background: #fff;
  color: #231f20;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}
.checkout-finalize .shop-form {
  padding: clamp(20px, 4vw, 40px);
}
.checkout-finalize .shop-specifications {
  margin: 12px 0;
}
.checkout-finalize .checkout-status-dimensions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px;
  border: 1px solid #dedad8;
  border-radius: 8px;
  background: #faf9f8;
}
.cart-items [data-cart-quantity] {
  min-height: 48px;
  width: 110px;
  padding: 8px 12px;
  border: 1px solid #bdb8b6;
  border-radius: 6px;
  font: inherit;
}
.shop-cart-layout[hidden] {
  display: none;
}
@media (max-width: 650px) {
  .checkout-finalize .checkout-status-dimensions {
    grid-template-columns: 1fr;
  }
  .checkout-finalize .button,
  .checkout-finalize .workspace-secondary {
    display: block;
    width: 100%;
    margin: 12px 0;
  }
}

/* Payment review: keep the decision and server totals together. */
.checkout-review {
  margin: 32px 0;
  scroll-margin-top: 110px;
}
.checkout-review > h2 {
  font-size: clamp(25px, 3vw, 34px);
  margin-bottom: 28px;
}
.checkout-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}
.checkout-review-details {
  min-width: 0;
  display: grid;
  gap: 24px;
}
.checkout-review-card,
.checkout-payment-panel {
  background: #fff;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #dedad8;
  border-radius: 12px;
}
.checkout-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.order-address,
.delivery-instructions {
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.delivery-instructions {
  padding-left: 12px;
  border-left: 3px solid #e02725;
}
.checkout-review-item {
  padding: 20px 0;
  border-top: 1px solid #e8e4e2;
}
.checkout-review-item h4 {
  font-size: 19px;
  margin: 0 0 12px;
}
.checkout-review-item > p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.checkout-payment-panel {
  position: sticky;
  top: 110px;
  border-top: 4px solid #e02725;
}
.checkout-payment-panel h3 {
  font-size: 23px;
  margin: 0 0 22px;
}
.checkout-amounts {
  margin: 0 0 24px;
}
.checkout-amounts > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0;
}
.checkout-amounts dd {
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
}
.checkout-grand-total {
  border-top: 1px solid #dedad8;
  padding-top: 22px;
  font-size: 23px;
  font-weight: 750;
  flex-wrap: wrap;
}
.checkout-payment-panel :is(.button, .workspace-secondary) {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  white-space: normal;
  min-height: 52px;
  margin: 12px 0;
}
.checkout-payment-panel .workspace-secondary {
  padding: 14px;
  border: 1px solid #bdb8b6;
  border-radius: 6px;
  background: #fff;
  color: #231f20;
  font: inherit;
  cursor: pointer;
}
.checkout-payment-note {
  font-size: 13px;
  line-height: 1.6;
  color: #615a5b;
}
.product-order-actions {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.shop-price .product-order-actions .button {
  margin: 0;
}
.product-order-actions .workspace-secondary {
  min-height: 52px;
  background: #fff;
  color: #231f20;
  border: 1px solid #fff;
  border-radius: 6px;
  font: inherit;
  font-weight: 650;
  padding: 14px 18px;
  cursor: pointer;
}
.product-order-actions > [hidden] {
  display: none;
}
.shop-price .product-quote-action {
  display: block;
  color: #fff;
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}
.shop-price .product-quote-action:hover {
  background: #fff;
  color: #242020;
}
.shop-price .product-quote-action:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.shop-product :is(button, .button) {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.shop-product :is(h1, h2, h3, h4) {
  word-spacing: normal;
}
@media (max-width: 900px) {
  .checkout-review-grid {
    grid-template-columns: 1fr;
  }
  .checkout-payment-panel {
    position: static;
    grid-row: 1;
  }
}
@media (max-width: 550px) {
  .checkout-address-grid {
    grid-template-columns: 1fr;
  }
  .checkout-review-card,
  .checkout-payment-panel {
    padding: 20px;
  }
}
/* Shared account/guest order summary, including the post-payment page. */
.checkout-finalize .order-overview {
  padding: 0;
  margin: 0 0 28px;
}
.checkout-finalize .order-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
  gap: 28px;
}
.checkout-finalize .order-amount-summary {
  background: #faf9f8;
  padding: 22px;
  border-radius: 8px;
  align-self: start;
}
.checkout-finalize .workspace-totals {
  margin: 0;
}
.checkout-finalize .workspace-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.checkout-finalize .workspace-totals dd {
  margin: 0;
  white-space: nowrap;
}
.checkout-finalize .workspace-totals .case-total {
  border-top: 1px solid #dedad8;
  font-size: 20px;
  flex-wrap: wrap;
}
.checkout-finalize .order-item-summary {
  padding: 20px 0;
  border-top: 1px solid #dedad8;
}
.checkout-finalize .order-item-summary h4 {
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
}
.checkout-finalize .order-item-number {
  font-size: 12px;
  background: #f3efed;
  padding: 4px 8px;
}
@media (max-width: 900px) {
  .checkout-finalize .order-overview-grid {
    grid-template-columns: 1fr;
  }
}
/* Override landing-page tracking on smaller commerce headings. */
.shop-product
  :is(.shop-heading h1, .storefront-product-hero h1, .checkout-finalize h2, .dashboard-heading h2) {
  letter-spacing: -0.015em;
  word-spacing: 0.06em;
}

/* Embedded, bilingual quote request. No mailto or external application. */
.shop-quote-panel {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e5dfdc;
  border-radius: 16px;
  padding: clamp(18px, 3vw, 28px);
}
.shop-quote-panel h2 { margin: 0 0 12px; }
.shop-quote-panel h3 { margin: 20px 0 10px; font-size: 1rem; }
.shop-quote-summary {
  margin: 12px 0 24px;
  padding: 16px 16px 16px 34px;
  border-radius: 10px;
  background: #f8f6f5;
  line-height: 1.7;
}
.shop-quote-panel textarea {
  width: 100%;
  min-height: 120px;
  max-width: 100%;
  border: 1px solid #c8c2be;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}
.shop-quote-panel textarea:focus-visible,
.shop-quote-panel input:focus-visible { outline: 2px solid #c5392e; outline-offset: 2px; }
.shop-quote-consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; line-height: 1.5; }
.shop-quote-consent input { width: 18px; height: 18px; margin-top: 4px; flex: 0 0 auto; }
.shop-quote-privacy { font-size: 0.875rem; color: #59524e; }
#shop-quote-turnstile { min-height: 55px; margin: 16px 0; }
#shop-quote-submit { width: 100%; justify-content: center; }
#shop-quote-submit:disabled { opacity: 0.55; cursor: not-allowed; }
#shop-quote-form-status { margin-top: 12px; font-weight: 600; }

/* Privacy explanation stays collapsed; only a discreet link is visible. */
.shop-quote-privacy-details {
  margin: 12px 0 18px;
  color: #514d4b;
  font-size: 0.875rem;
}
.shop-quote-privacy-details summary {
  display: inline-block;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shop-quote-privacy-details summary:focus-visible {
  outline: 2px solid #b71f1d;
  outline-offset: 3px;
}
.shop-quote-privacy-details p {
  margin: 12px 0;
  line-height: 1.6;
}

/* Cart line: one quantity, explicit line price, clear edit action. */
.cart-line-item .cart-line-details { margin: 12px 0 16px; }
.cart-line-item .cart-line-quantity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.cart-quantity-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.cart-quantity-display strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.cart-items .cart-quantity-edit-button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid #d9d5d4;
  color: #b6201e;
}
.cart-quantity-edit-button svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-quantity-editor { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-items .cart-quantity-editor button {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}
.cart-items .cart-quantity-editor button:not(.cart-quantity-cancel) {
  background: #e02725;
  color: #fff;
  border-color: #e02725;
}
.cart-line-price {
  clear: both;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 18px;
  padding: 16px 18px;
  background: #f7f6f4;
  border-radius: 10px;
  border-left: 3px solid #e02725;
}
.cart-line-price-label {
  font-size: 14px;
  font-weight: 600;
  color: #514c4a;
}
.cart-line-price-amount {
  font-size: clamp(21px, 2.2vw, 27px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: #231f20;
  white-space: nowrap;
}
.cart-line-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cart-line-item .cart-edit-config {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #b6201e;
  border-radius: 8px;
  background: #fff;
  color: #b6201e;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.cart-line-item .cart-edit-config:hover { background: #fff3f2; }
.cart-items .cart-remove-item {
  border: 0;
  background: transparent;
  text-decoration: underline;
  color: #625c59;
  font-size: 14px;
}
.cart-line-item :is(button, a):focus-visible,
.cart-line-item input:focus-visible {
  outline: 2px solid #b6201e;
  outline-offset: 3px;
}
@media (max-width: 540px) {
  .cart-line-price { flex-direction: column; align-items: flex-start; }
  .cart-line-actions { align-items: stretch; }
  .cart-line-actions .cart-edit-config { flex: 1; }
}

/* Saved addresses: separate billing and delivery, including mobile layouts. */
.customer-address-book { margin: 24px 0; padding: 20px; border: 1px solid #dedbd9; border-radius: 12px; background: #faf9f8; }
.customer-address-book h3 { margin: 0 0 12px; }
.customer-address-book h4 { margin: 0 0 12px; font-size: 1.1rem; }
.customer-address-book p { line-height: 1.6; margin: 8px 0 16px; }
.address-book-groups, .address-book-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.address-book-group, .address-book-card, .address-book-editor { min-width: 0; overflow-wrap: anywhere; }
.address-book-card { padding: 16px; margin-bottom: 16px; background: #fff; border: 1px solid #dedbd9; border-radius: 8px; }
.address-book-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.customer-address-book button { min-height: 44px; padding: 10px 14px; border: 1px solid #817a77; border-radius: 6px; background: #fff; color: #231f20; font: inherit; cursor: pointer; white-space: normal; }
.customer-address-book button:focus-visible { outline: 3px solid #231f20; outline-offset: 3px; }
.customer-address-book button:disabled { opacity: .6; cursor: wait; }
.address-book-editor { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dedbd9; }
.address-book-fields { margin-bottom: 20px; }
.address-book-fields label { display: grid; gap: 8px; align-content: start; }
.address-book-fields input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; padding: 10px; font: inherit; border: 1px solid #817a77; border-radius: 4px; background: #fff; color: #231f20; }
.customer-address-book [data-address-status]:empty { display: none; }
@media (max-width: 700px) {
  .address-book-groups, .address-book-fields { grid-template-columns: 1fr; }
  .customer-address-book { padding: 16px; }
}

.checkout-required, .checkout-field-error { color: #a51d1b; }
.checkout-required-note { font-size: .9rem; }
.checkout-field-error { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.5; }
.checkout-field-error[hidden] { display: none; }
#cart-delivery [aria-invalid="true"] { border: 2px solid #a51d1b; background-color: #fff6f5; }
#cart-delivery [aria-invalid="true"]:focus { outline: 2px solid #a51d1b; outline-offset: 2px; }

.checkout-blocking-error { color: #a51d1b; line-height: 1.6; font-weight: 600; }
.checkout-address-picker { margin: 16px 0 24px; }
.checkout-address-picker select { width: 100%; min-height: 48px; font: inherit; }
.checkout-save-address { margin: 14px 0; }
.checkout-save-address[hidden], .checkout-address-picker[hidden] { display: none; }
.checkout-address-manage { margin: 16px 0; font-size: .9rem; }
.tax-setup-state { font-weight: 700; padding: 12px 16px; background: #f3f2f0; border-radius: 8px; }
.tax-additional-accounts { margin: 24px 0; }
#tax-setup-form > .field { margin: 24px 0; }
#tax-setup-form .workspace-consent { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0; }
#tax-setup-form .workspace-consent input { flex: 0 0 22px; width: 22px; height: 22px; min-height: 22px; margin: 4px 0 0; }


.unit-price-list { margin: 24px 0; }
.unit-price-list table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.unit-price-list th, .unit-price-list td { padding: 10px 8px; border-bottom: 1px solid #dedbd9; text-align: right; }
.unit-price-list th:first-child { text-align: left; }
.unit-price-list p { font-size: .9rem; line-height: 1.5; }

.shop-form [aria-invalid="true"], .quote-wizard [aria-invalid="true"] { border: 2px solid #c21f26; background: #fff6f6; }
