/* Styles loaded only for the cart and checkout route trees. */

.checkout-page {
  padding-top: 28px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: 22px;
}

.checkout-main > h1,
.checkout-result h1 {
  margin: 4px 0 28px;
  color: var(--plum-deep);
  font-family: 'Editorial Serif', serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.checkout-order-card,
.checkout-connection-panel,
.stripe-checkout-fields,
.checkout-result {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 34px rgba(56, 28, 51, 0.08);
}

.checkout-order-card {
  position: sticky;
  top: 20px;
  padding: 24px;
}

.checkout-order-card h2,
.stripe-checkout-fields h2,
.checkout-connection-panel h2 {
  margin: 0;
  color: var(--plum-deep);
  font-size: 21px;
  line-height: 1.2;
}

.checkout-order-card article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.checkout-order-card article img {
  width: 76px;
  aspect-ratio: 1;
  border-radius: 9px;
  object-fit: cover;
}

.checkout-order-card article div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.checkout-order-card article > strong {
  grid-column: 2;
}

.checkout-order-card article span,
.checkout-order-card p {
  color: var(--muted-foreground);
  font-size: 13px;
}

.checkout-order-card dl {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
}

.checkout-order-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.checkout-order-card dd {
  margin: 0;
  font-weight: 600;
}

.checkout-order-card p,
.secure-caption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkout-order-card p svg,
.secure-caption svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.checkout-connection-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: var(--mist);
}

.checkout-connection-panel > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: white;
}

.checkout-connection-panel p {
  margin: 7px 0 0;
  color: var(--muted-foreground);
}

.checkout-connection-panel--ready {
  border-color: #b9cbbd;
  background: #f2f7f3;
}

.stripe-checkout-fields {
  display: grid;
  gap: 26px;
  padding: clamp(20px, 4vw, 34px);
}

.stripe-checkout-fields section {
  display: grid;
  gap: 14px;
}

.checkout-pay-button {
  min-height: 50px;
  border: 0;
  cursor: pointer;
}

.checkout-loading,
.checkout-error,
.admin-form-error {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  padding: 12px 14px;
}

.checkout-error,
.admin-form-error {
  background: #fff0f1;
  color: var(--destructive);
}

.checkout-error:focus {
  outline: 3px solid rgba(163, 40, 54, 0.24);
  outline-offset: 3px;
}

.checkout-error .hero__actions {
  margin-top: 14px;
}

.checkout-account-gate {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #d9cad6;
  border-radius: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: #faf5f8;
}

.checkout-account-gate > svg {
  flex: 0 0 auto;
  color: var(--plum);
}

.checkout-account-gate h2,
.checkout-account-gate p {
  margin: 0;
}

.checkout-account-gate p {
  margin-top: 8px;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.checkout-account-gate .hero__actions {
  margin-top: 20px;
}

.checkout-result {
  max-width: 760px;
  margin: 36px auto 80px;
  padding: clamp(30px, 6vw, 64px);
  text-align: center;
}

.checkout-result:focus {
  outline: 3px solid rgba(102, 36, 97, 0.2);
  outline-offset: 4px;
}

.checkout-result > svg {
  width: 58px;
  height: 58px;
  color: var(--plum);
}

.checkout-result--success > svg {
  color: #417750;
}

.checkout-result h1 {
  margin-bottom: 18px;
}

.checkout-result .hero__actions {
  justify-content: center;
  margin-top: 28px;
}

.checkout-confirmation-summary {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 28px auto 0;
  padding: 20px;
  border: 1px solid rgba(42, 42, 42, 0.12);
  border-radius: 16px;
  background: #fff;
  text-align: left;
}

.checkout-confirmation-summary > p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
}

.checkout-confirmation-item {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(42, 42, 42, 0.1);
}

.checkout-confirmation-item span,
.checkout-confirmation-item small {
  color: var(--muted-foreground);
}

.checkout-confirmation-breakdown {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(42, 42, 42, 0.1);
}

.checkout-confirmation-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.checkout-confirmation-delivery {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid rgba(42, 42, 42, 0.1);
}

.checkout-confirmation-delivery span,
.checkout-confirmation-delivery small {
  color: var(--muted-foreground);
}

.spin {
  animation: vf-spin 0.85s linear infinite;
}

@keyframes vf-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-field-note {
  color: var(--muted-foreground);
  font-size: 12px;
}

@media (max-width: 880px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-order-card {
    position: static;
  }

  .checkout-order-card {
    order: -1;
  }
}

@media (max-width: 620px) {
  .checkout-layout {
    gap: 20px;
  }

  .checkout-main > h1,
  .checkout-result h1 {
    font-size: 36px;
  }

  .checkout-connection-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .checkout-connection-panel > button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Protocol checkout: shopping stays familiar; payment becomes quiet and exact. */
.checkout-header {
  border-bottom: 1px solid var(--border);
  background: #fffdf8;
}

.checkout-header__inner,
.checkout-footer__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.checkout-header__brand {
  color: inherit;
  text-decoration: none;
}

.checkout-header nav,
.checkout-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.checkout-header nav a,
.checkout-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  color: var(--plum-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.checkout-footer {
  border-top: 1px solid var(--border);
  background: var(--mist);
  color: var(--muted-foreground);
  font-size: 13px;
}

.checkout-footer__inner {
  min-height: 70px;
}

.checkout-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted-foreground);
  font-size: 13px;
}

.checkout-progress a,
.checkout-order-card__heading a {
  color: var(--plum);
  font-weight: 700;
}

.checkout-progress {
  padding-block: 12px;
}

.checkout-progress a {
  display: inline-flex;
  min-height: 44px;
  margin-block: -12px;
  align-items: center;
}

.checkout-intro {
  max-width: 760px;
  margin-top: 26px;
}

.checkout-intro h1 {
  margin: 5px 0 10px;
  color: var(--plum-deep);
  font-family: 'Editorial Serif', serif;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
}

.checkout-intro > p:last-child {
  max-width: 680px;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.checkout-layout--protocol {
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.72fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: 34px;
}

.checkout-layout--protocol .checkout-main {
  grid-column: 1;
  grid-row: 1;
}

.checkout-layout--protocol .checkout-order-card {
  grid-column: 2;
  grid-row: 1;
}

.checkout-order-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checkout-order-card--mobile {
  display: none;
}

.checkout-order-card__edit {
  display: inline-flex;
  min-height: 44px;
  margin-top: 14px;
  align-items: center;
  color: var(--plum);
  font-size: 14px;
  font-weight: 800;
}

.checkout-order-card__due {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.checkout-order-card__due dt,
.checkout-order-card__due dd {
  font-weight: 800;
}

.checkout-order-card__due dd {
  max-width: 180px;
  text-align: right;
}

.checkout-recurring-summary,
.checkout-readiness-note,
.cart-delivery-note,
.cart-recurring-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border-radius: 10px;
  padding: 14px;
  background: #f1f6ef;
  color: #334b38;
}

.checkout-recurring-summary > svg,
.checkout-readiness-note > svg,
.cart-delivery-note > svg,
.cart-recurring-note > svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.checkout-recurring-summary p,
.checkout-readiness-note p,
.cart-delivery-note p,
.cart-recurring-note p {
  margin: 5px 0 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-assurances {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.45;
  list-style: none;
}

.checkout-assurances li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkout-assurances svg {
  flex: 0 0 auto;
  color: var(--plum);
}

.checkout-readiness-note {
  margin-bottom: 18px;
  border: 1px solid #c6d8c9;
}

.stripe-checkout-fields {
  gap: 20px;
  padding: clamp(20px, 4vw, 32px);
}

.stripe-checkout-fields > section {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.checkout-step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: white;
  font-weight: 800;
}

.checkout-section-heading h2,
.checkout-section-heading p {
  margin: 0;
}

.checkout-section-heading p {
  margin-top: 5px;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.5;
}

.checkout-element-slot,
.checkout-preview-fields,
.checkout-preview-grid,
.checkout-preview-payment {
  grid-column: 2;
  margin-top: 14px;
}

.helcim-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.helcim-field-grid label {
  display: grid;
  gap: 7px;
  color: var(--plum-deep);
  font-size: 13px;
  font-weight: 750;
}

.helcim-field-grid label > span {
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 500;
}

.helcim-field-grid input,
.helcim-field-grid select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #bdb4ba;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--foreground);
  font: inherit;
  font-weight: 500;
}

.helcim-field-grid input:focus-visible,
.helcim-field-grid select:focus-visible {
  border-color: var(--plum);
  outline: 3px solid rgba(102, 36, 97, 0.16);
  outline-offset: 1px;
}

.helcim-field-grid__wide {
  grid-column: 1 / -1;
}

.helcim-field-grid .checkout-consent-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 2px 0;
  color: var(--foreground);
  font-weight: 500;
  line-height: 1.45;
}

.helcim-field-grid .checkout-consent-option input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--plum);
  flex: 0 0 auto;
}

.helcim-field-grid .checkout-consent-option span {
  color: var(--foreground);
  font-size: 13px;
  font-weight: 500;
}

.helcim-checkout-fields .checkout-preview-payment {
  grid-column: 2;
  margin-top: 14px;
  background: #f8f4f7;
  color: var(--plum-deep);
}

.checkout-payment-methods {
  grid-column: 2;
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.checkout-method-picker {
  display: grid;
  gap: 10px;
}

.checkout-helcim-methods,
.checkout-method-picker .checkout-wallet-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-method-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  min-height: 70px;
  align-items: center;
  border: 1px solid #bdb4ba;
  border-radius: 12px;
  padding: 13px 15px;
  background: #fff;
  color: var(--plum-deep);
  text-align: left;
  cursor: pointer;
}

.checkout-method-choice:hover,
.checkout-method-choice[aria-pressed='true'] {
  border-color: var(--plum);
  background: #faf5f8;
}

.checkout-method-choice:focus-visible {
  outline: 3px solid rgba(102, 36, 97, 0.16);
  outline-offset: 2px;
}

.checkout-method-choice > svg {
  width: 22px;
  height: 22px;
  color: var(--plum);
}

.checkout-method-choice > span {
  display: grid;
  gap: 3px;
}

.checkout-method-choice small {
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.4;
}

.checkout-payment-methods .checkout-preview-payment {
  grid-column: auto;
  margin-top: 0;
}

.checkout-quoted-total,
.checkout-payment-method {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  background: #fff;
  color: var(--plum-deep);
}

.checkout-quoted-total {
  align-items: center;
  border-color: #b8d1bf;
  background: #f1f8f2;
  font-weight: 800;
}

.checkout-quoted-total svg {
  width: 18px;
  height: 18px;
  color: #2d6b3a;
}

.checkout-payment-method {
  display: grid;
  gap: 3px;
}

.checkout-payment-method span,
.checkout-wallet-note,
.checkout-wallet-loading {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-payment-method--guarded {
  border-style: dashed;
  background: #faf8f9;
}

.checkout-payment-method--unavailable {
  background: #f5f3f4;
  opacity: 0.82;
}

.checkout-wallet-buttons {
  display: grid;
  gap: 10px;
}

.checkout-wallet-buttons paypal-button,
.checkout-wallet-buttons apple-pay-button {
  display: block;
  width: 100%;
  min-height: 48px;
}

.checkout-apple-pay-brand-button {
  display: block;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border-radius: 8px;
  background: #000;
  cursor: pointer;
  --apple-pay-button-width: 100%;
  --apple-pay-button-height: 48px;
  --apple-pay-button-border-radius: 8px;
  --apple-pay-button-padding: 0;
}

.checkout-apple-pay-brand-button:hover {
  filter: brightness(0.96);
}

.checkout-apple-pay-brand-button:focus-visible {
  outline: 3px solid rgba(102, 36, 97, 0.2);
  outline-offset: 2px;
}

.checkout-wallet-buttons apple-pay-button {
  --apple-pay-button-width: 100%;
  --apple-pay-button-height: 48px;
  --apple-pay-button-border-radius: 8px;
  --apple-pay-button-padding: 0;
}

.checkout-method-picker .checkout-wallet-loading,
.checkout-method-picker .checkout-wallet-note {
  grid-column: 1 / -1;
}

.checkout-wallet-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.checkout-wallet-note {
  margin: 0;
}

.checkout-express-section[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .checkout-helcim-methods,
  .checkout-method-picker .checkout-wallet-buttons {
    grid-template-columns: 1fr;
  }
}

.checkout-express-section .checkout-section-heading,
.checkout-express-section .checkout-express-divider {
  grid-column: 1 / -1;
}

.checkout-express-element {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.checkout-express-divider {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 10px;
  color: var(--muted-foreground);
  font-size: 12px;
}

.checkout-express-divider hr {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.checkout-express-divider span {
  position: absolute;
  padding-inline: 12px;
  background: #fff;
}

.checkout-guest-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--mist);
}

.checkout-guest-note > svg {
  color: var(--plum);
}

.checkout-guest-note p {
  margin: 3px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.4;
}

.checkout-guest-note a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--plum);
  font-size: 13px;
  font-weight: 800;
}

.checkout-final-review {
  border: 1px solid #d9cad6;
  border-radius: 10px;
  padding: 16px;
  background: #faf5f8;
}

.checkout-final-review p,
.checkout-error p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.checkout-pay-button {
  min-height: 54px;
  font-weight: 800;
}

.checkout-pay-button:disabled {
  border-color: #7d717b;
  background: #7d717b;
  color: white;
  cursor: not-allowed;
  opacity: 0.72;
}

.checkout-order-action {
  display: grid;
  gap: 12px;
}

.checkout-order-action--top,
.checkout-mobile-action-bar {
  display: none;
}

.checkout-order-agreement {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.55;
}

.checkout-order-agreement a {
  color: var(--plum);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-delivery-expectation {
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 4px;
  border: 1px solid #cad8cd;
  border-radius: 10px;
  padding: 13px;
  background: #f1f6ef;
  color: #334b38;
}

.checkout-delivery-expectation > svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.checkout-delivery-expectation p {
  margin: 4px 0 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.checkout-preview-fields,
.checkout-preview-grid,
.checkout-preview-payment {
  display: grid;
  gap: 10px;
}

.checkout-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-preview-fields span,
.checkout-preview-grid span,
.checkout-preview-payment {
  min-height: 48px;
  border: 1px solid #d2ccd0;
  border-radius: 8px;
  padding: 14px;
  background: #f7f6f4;
  color: #7c7378;
  font-size: 13px;
}

.checkout-preview-grid span:first-child,
.checkout-preview-grid span:nth-child(2) {
  grid-column: 1 / -1;
}

.checkout-preview-payment {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cart-page {
  padding-bottom: 78px;
}

.cart-fast-checkout {
  display: none;
}

.cart-adjacent-nav {
  display: flex;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 18px;
  contain: inline-size;
  scrollbar-width: thin;
}

.cart-adjacent-nav a,
.cart-adjacent-nav span {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--plum-deep);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.cart-adjacent-nav [aria-current='page'] {
  border-color: var(--plum);
  background: var(--plum);
  color: white;
}

.cart-heading,
.cart-review__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.cart-heading h1 {
  margin: 4px 0 0;
  color: var(--plum-deep);
  font-family: 'Editorial Serif', serif;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
}

.cart-layout--complete {
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  align-items: start;
  margin-top: 28px;
}

.cart-review {
  display: grid;
  gap: 18px;
}

.cart-review__heading {
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.cart-review__heading h2,
.cart-anything-else h2 {
  margin: 0;
  color: var(--plum-deep);
  font-family: 'Editorial Serif', serif;
}

.cart-line {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: white;
  box-shadow: 0 10px 30px rgba(56, 28, 51, 0.06);
}

.cart-line > img {
  width: 150px;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
}

.cart-line--unavailable {
  grid-template-columns: minmax(0, 1fr);
  border-color: #b85d65;
  background: #fffafa;
}

.cart-line h2 {
  margin: 5px 0 12px;
  color: var(--plum-deep);
  font-family: 'Editorial Serif', serif;
  font-size: 26px;
}

.cart-line dl {
  display: grid;
  gap: 5px;
  margin: 0;
  font-size: 13px;
}

.cart-line dl div {
  display: flex;
  gap: 7px;
}

.cart-line dt {
  color: var(--muted-foreground);
}

.cart-line dd {
  margin: 0;
  font-weight: 650;
}

.cart-line__price {
  color: var(--plum-deep);
  white-space: nowrap;
}

.cart-line__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.cart-line__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--plum);
  font-size: 13px;
  font-weight: 750;
}

.cart-line__actions button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--plum);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.cart-line__field {
  display: inline-grid;
  gap: 5px;
  margin: 0 12px 8px 0;
  color: var(--muted-foreground);
  font-size: 12px;
}

.cart-line__field select,
.cart-estimator input,
.cart-estimator select {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 10px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.cart-estimator {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.cart-estimator > div {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 8px;
}

.cart-estimator label {
  display: grid;
  gap: 4px;
  color: var(--muted-foreground);
  font-size: 11px;
}

.cart-reminder-choice {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.45;
}

.cart-reminder-choice .checkout-consent-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--foreground);
  cursor: pointer;
}

.cart-reminder-choice .checkout-consent-option input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--plum);
  flex: 0 0 auto;
}

.cart-reminder-choice p { margin: 8px 0 0; }

.cart-error {
  border: 1px solid #b85d65;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff7f7;
  color: #722e35;
}

.cart-error--action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cart-error--action p {
  margin: 0;
}

.cart-error--action .button {
  flex: 0 0 auto;
  min-height: 40px;
}

.cart-undo {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 8px;
  padding: 13px 16px;
  background: var(--ink);
  color: white;
  box-shadow: 0 10px 30px rgba(30, 18, 27, 0.24);
}

.cart-undo button {
  border: 0;
  padding: 4px;
  background: transparent;
  color: white;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.header-cart-icon {
  position: relative;
  display: inline-flex;
}

.header-cart-icon b {
  position: absolute;
  right: -9px;
  top: -10px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid var(--plum-deep);
  border-radius: 999px;
  padding-inline: 3px;
  background: white;
  color: var(--plum-deep);
  font-size: 9px;
  line-height: 1;
}

.cart-addons--compact {
  max-width: 760px;
}

.cart-delivery-note {
  border: 1px solid #cad8cd;
  padding: 18px;
}

.cart-anything-else {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.35fr);
  gap: 28px;
  border-radius: 14px;
  padding: 22px;
  background: var(--mist);
}

.cart-anything-else p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.cart-recurring-note {
  margin: 0 0 18px;
}

.cart-summary .button {
  min-height: 52px;
}

.cart-empty {
  display: grid;
  max-width: 760px;
  justify-items: center;
  margin: 40px auto 80px;
  padding: clamp(34px, 7vw, 76px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  text-align: center;
  box-shadow: 0 12px 36px rgba(56, 28, 51, 0.08);
}

.cart-empty > span {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--plum);
}

.cart-empty h1 {
  max-width: 600px;
  margin: 8px 0;
  color: var(--plum-deep);
  font-family: 'Editorial Serif', serif;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.05;
}

.cart-empty > p:not(.overline) {
  color: var(--muted-foreground);
}

.cart-mobile-bar {
  display: none;
}

.cart-addons,
.checkout-recommendations {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 34px;
}

.cart-addons > header,
.checkout-recommendations > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.cart-addons > header h2,
.checkout-recommendations > header h2,
.cart-addons--loading h2,
.checkout-recommendations--loading h2,
.checkout-recommendations h3 {
  margin: 3px 0 0;
  color: var(--plum-deep);
  font-family: 'Editorial Serif', serif;
}

.cart-addons > header h2,
.checkout-recommendations > header h2,
.cart-addons--loading h2,
.checkout-recommendations--loading h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.cart-addons--loading,
.checkout-recommendations--loading {
  min-height: 180px;
}

.cart-addons--loading > p:last-child,
.checkout-recommendations--loading > p:last-child {
  color: var(--muted-foreground);
}

.cart-addons > header p:last-child,
.checkout-recommendations > header p:last-child {
  margin: 7px 0 0;
  color: var(--muted-foreground);
}

.cart-addons > header > a,
.checkout-recommendations > header > a {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 800;
}

.cart-addons > ul,
.checkout-recommendations section > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-addons li > a,
.checkout-recommendations li > a {
  height: 100%;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  color: inherit;
  box-shadow: 0 7px 22px rgba(56, 28, 51, 0.07);
}

.cart-addons li img,
.checkout-recommendation__image > img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.cart-addons__copy,
.checkout-recommendation__copy {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.cart-addons__copy small,
.checkout-recommendation__copy > small {
  overflow: hidden;
  color: var(--plum);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cart-addons__copy > strong,
.checkout-recommendation__copy > strong {
  overflow: hidden;
  color: var(--plum-deep);
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-addons__copy > span,
.checkout-recommendation__copy
  > span:not(.checkout-recommendation__rating):not(
    .checkout-recommendation__link
  ) {
  font-size: 14px;
  font-weight: 800;
}

.cart-addons__action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: auto 13px 13px;
  border: 1px solid var(--plum);
  border-radius: 999px;
  color: var(--plum);
  font-size: 13px;
  font-weight: 800;
}

.checkout-recommendations {
  margin-bottom: 56px;
}

.checkout-recommendations__groups {
  display: grid;
  gap: 34px;
}

.checkout-recommendations__groups > section {
  min-width: 0;
}

.checkout-recommendations h3 {
  margin-bottom: 14px;
  font-size: 26px;
}

.checkout-recommendation__image {
  position: relative;
  display: block;
}

.checkout-recommendation__plus {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(42, 42, 42, 0.16);
}

.checkout-recommendation__rating,
.checkout-recommendation__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.checkout-recommendation__rating {
  color: #9a6815;
  font-size: 12px;
  font-weight: 700;
}

.checkout-recommendation__rating small {
  color: var(--muted-foreground);
}

.checkout-recommendation__link {
  min-height: 40px;
  margin-top: 3px;
  color: var(--plum);
  font-size: 12px;
  font-weight: 800;
}

@media (max-height: 760px) {
  .cart-summary,
  .checkout-order-card {
    position: static;
  }
}

@media (max-width: 880px) {
  .checkout-header {
    position: sticky;
    z-index: 60;
    top: 0;
  }

  .checkout-layout--protocol,
  .cart-layout--complete {
    grid-template-columns: 1fr;
  }

  .checkout-layout--protocol .checkout-order-card,
  .checkout-layout--protocol .checkout-main {
    grid-column: 1;
  }

  .checkout-layout--protocol .checkout-order-card {
    grid-row: 1;
  }

  .checkout-layout--protocol .checkout-main {
    grid-row: 2;
  }

  .checkout-order-card--desktop {
    display: none;
  }

  .checkout-order-card--mobile {
    position: static;
    display: block;
    padding: 0;
  }

  .checkout-order-card--mobile > summary {
    display: grid;
    min-height: 74px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
  }

  .checkout-order-card--mobile > summary::-webkit-details-marker {
    display: none;
  }

  .checkout-order-card--mobile > summary span {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .checkout-order-card--mobile > summary small {
    overflow: hidden;
    color: var(--muted-foreground);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .checkout-order-card--mobile > summary > strong {
    max-width: 130px;
    color: var(--plum-deep);
    font-size: 13px;
    text-align: right;
  }

  .checkout-order-card--mobile > summary > .checkout-order-card__confirmation {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: -4px;
    overflow: visible;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .checkout-order-card--mobile > summary svg {
    transition: transform 160ms ease;
  }

  .checkout-order-card--mobile[open] > summary svg {
    transform: rotate(180deg);
  }

  .checkout-order-card__mobile-content {
    display: flex;
    flex-direction: column;
    padding: 0 18px 18px;
    border-top: 1px solid var(--border);
  }

  .checkout-order-card__mobile-content > dl {
    order: 0;
    margin-top: 18px;
  }

  .checkout-order-card__mobile-content > article {
    order: 1;
  }

  .checkout-order-card__mobile-content > .checkout-recurring-summary {
    order: 2;
  }

  .checkout-order-card__mobile-content > .checkout-order-card__edit {
    order: 3;
  }

  .checkout-order-action--top {
    display: grid;
    gap: 12px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
  }

  .checkout-order-action--bottom {
    display: none;
  }

  .checkout-mobile-action-bar {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px max(16px, env(safe-area-inset-right))
      calc(10px + env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
    border-top: 1px solid var(--border);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 -8px 24px rgba(56, 28, 51, 0.13);
    backdrop-filter: blur(12px);
  }

  .checkout-mobile-action-bar .checkout-pay-button {
    min-height: 52px;
  }

  .checkout-page {
    padding-bottom: 88px;
  }

  .cart-summary {
    position: static;
  }

  .cart-fast-checkout {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    background: white;
    box-shadow: 0 8px 24px rgba(56, 28, 51, 0.08);
  }

  .cart-fast-checkout p {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    color: var(--plum-deep);
  }

  .cart-fast-checkout strong {
    max-width: 190px;
    text-align: right;
  }

  .cart-fast-checkout small {
    color: var(--muted-foreground);
    font-size: 12px;
    line-height: 1.4;
  }

  .cart-mobile-bar {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    min-height: 72px;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px max(16px, env(safe-area-inset-right))
      calc(10px + env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
    border-top: 1px solid var(--border);
    background: rgba(255, 253, 248, 0.97);
    box-shadow: 0 -8px 24px rgba(56, 28, 51, 0.1);
    backdrop-filter: blur(12px);
  }

  .cart-undo {
    right: 16px;
    bottom: 88px;
  }

  .cart-page {
    padding-bottom: 96px;
  }

  .cart-mobile-bar div {
    display: grid;
    gap: 2px;
  }

  .cart-mobile-bar span {
    color: var(--muted-foreground);
    font-size: 11px;
  }

  .cart-mobile-bar strong {
    color: var(--plum-deep);
  }

  .cart-mobile-bar .button {
    min-height: 50px;
    padding-inline: 24px;
  }

  .cart-addons,
  .checkout-recommendations {
    margin-top: 38px;
    padding-top: 28px;
  }

  .cart-addons > ul,
  .checkout-recommendations section > ul {
    grid-auto-columns: minmax(178px, 44vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-padding-left: 1px;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--plum) transparent;
    scrollbar-width: thin;
  }

  .cart-addons li,
  .checkout-recommendations li {
    min-width: 0;
    scroll-snap-align: start;
  }
}

@media (max-width: 620px) {
  .checkout-header__inner,
  .checkout-footer__inner {
    min-height: 70px;
  }

  .checkout-header .wordmark__copy,
  .checkout-footer__inner > span {
    display: none;
  }

  .checkout-header nav,
  .checkout-footer nav {
    gap: 14px;
  }

  .checkout-intro h1 {
    font-size: 38px;
  }

  .checkout-intro > p:last-child {
    font-size: 14px;
  }

  .checkout-order-card:not(.checkout-order-card--mobile),
  .stripe-checkout-fields {
    padding: 18px;
  }

  .checkout-intro {
    margin-top: 18px;
  }

  .checkout-layout--protocol {
    margin-top: 22px;
  }

  .checkout-delivery-expectation {
    grid-column: 1 / -1;
  }

  .checkout-order-agreement {
    font-size: 14px;
  }

  .checkout-guest-note {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .checkout-guest-note a {
    grid-column: 2;
  }

  .checkout-section-heading p,
  .checkout-recurring-summary p,
  .checkout-readiness-note p,
  .checkout-assurances,
  .checkout-preview-fields span,
  .checkout-preview-grid span,
  .checkout-preview-payment {
    font-size: 14px;
  }

  .checkout-preview-grid {
    grid-template-columns: 1fr;
  }

  .helcim-field-grid {
    grid-template-columns: 1fr;
  }

  .helcim-field-grid > label {
    grid-column: 1 / -1;
  }

  .checkout-preview-grid span {
    grid-column: 1 / -1;
  }

  .cart-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-line {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .cart-line > img {
    width: 94px;
  }

  .cart-line h2 {
    font-size: 21px;
  }

  .cart-line__price {
    grid-column: 2;
    white-space: normal;
  }

  .cart-anything-else {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-addons > header,
  .checkout-recommendations > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .cart-addons > header h2,
  .checkout-recommendations > header h2 {
    font-size: 32px;
  }

  .checkout-recommendations h3 {
    font-size: 24px;
  }

  .cart-addons > header > a,
  .checkout-recommendations > header > a {
    margin-top: 2px;
  }

  .cart-mobile-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-mobile-bar div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
  }

  .cart-mobile-bar .button {
    width: 100%;
    padding-inline: 16px;
  }
}

.checkout-shipping-options {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.checkout-shipping-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.checkout-shipping-option:has(input:checked) {
  border-color: var(--plum);
  box-shadow: 0 0 0 2px rgba(92, 31, 70, 0.12);
}

.checkout-shipping-option > span {
  display: grid;
  gap: 3px;
}

.checkout-shipping-option > input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--plum);
}

.checkout-shipping-option small,
.checkout-provider-note {
  color: #625e61;
}

.checkout-provider-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.checkout-fulfillment-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
  border: 0;
  padding: 0;
}

.checkout-fulfillment-choice legend {
  margin-bottom: 12px;
  font-weight: 650;
}

.checkout-fulfillment-choice label {
  display: flex;
  flex: 1 1 160px;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.checkout-fulfillment-choice label:has(input:checked) {
  border-color: var(--plum);
  background: #faf5f8;
}

.checkout-fulfillment-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--plum);
}

.checkout-pickup-details {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #faf5f8;
}

.checkout-pickup-details p {
  margin: 8px 0;
  font-size: 0.9rem;
}

.checkout-field-error {
  color: #9b2424;
  font-size: 0.85rem;
  font-weight: 500;
}

.checkout-address-search {
  position: relative;
}

.checkout-address-search > label {
  display: grid;
  gap: 8px;
}

.checkout-address-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% - 32px);
  right: 0;
  left: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 28px rgba(30, 18, 27, 0.16);
}

.checkout-address-suggestions button {
  display: grid;
  gap: 3px;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.checkout-address-suggestions button:hover,
.checkout-address-suggestions button:focus-visible,
.checkout-address-suggestions button[aria-selected='true'] {
  background: #faf5f8;
}

.checkout-address-suggestions span,
.checkout-address-search__footer,
.checkout-address-search > p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.checkout-address-search__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.checkout-address-search__footer button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--plum);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.helcim-checkout-fields [aria-invalid='true'] {
  border-color: #9b2424;
}

@media (max-width: 720px) {
  .checkout-shipping-option {
    align-items: flex-start;
  }
}

/* Simple checkout: express wallets above a single, always-visible form. */
.checkout-page--simple { width: 100%; max-width: 1120px; padding: 0 24px 40px; font-family: var(--font-utility); }
.checkout-page--simple .checkout-layout--protocol { margin-top: 0; padding-top: 32px; }
.checkout-page--simple .checkout-order-card { background: #f8f8f8; border-color: #e3e3e3; box-shadow: none; }
.checkout-page--simple .checkout-order-card h2 { font: 600 20px/1.3 var(--font-sans, sans-serif); }
.checkout-page--simple .checkout-order-card article img { width: 64px; height: 64px; object-fit: cover; }
.checkout-form--simple { display: flex; flex-direction: column; gap: 28px; background: #fff; border: 0; border-radius: 0; box-shadow: none; padding: 0; color: #171717; }
.checkout-form--simple section { display: block; border: 0; padding: 0; }
.checkout-form--simple .checkout-section-heading { margin-bottom: 16px; }
.checkout-form--simple .checkout-step-number { display: none; }
.checkout-form--simple .checkout-section-heading h2,
.checkout-form--simple .checkout-fulfillment-choice legend { margin: 0; font: 600 24px/1.3 var(--font-sans, sans-serif); color: #171717; }
.checkout-form--simple .checkout-section-heading p { font-size: 14px; line-height: 1.5; }
.checkout-form--simple .checkout-express-top h2 { margin: 0 0 14px; text-align: center; font: 400 15px/1.5 var(--font-sans, sans-serif); color: #707070; }
.checkout-wallet-buttons--express { display: flex; flex-direction: column; gap: 10px; }
.checkout-express-apple { width: 100%; }
.checkout-express-secondary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.checkout-express-secondary > :only-child { grid-column: 1 / -1; }
.checkout-express-secondary > [hidden] + paypal-button { grid-column: 1 / -1; }
.checkout-google-pay-slot > div, .checkout-google-pay-slot button { width: 100%; min-height: 50px; }
.checkout-google-pay-slot[aria-disabled=true] { opacity: .55; }
.checkout-express-secondary paypal-button { display: block; width: 100%; min-width: 0; min-height: 50px; }
.checkout-apple-pay-brand-button[aria-disabled=true] { cursor: not-allowed; opacity: .55; }
.checkout-recovery-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.checkout-form--simple .checkout-apple-pay-brand-button { width: 100%; height: 50px; min-height: 50px; border-radius: 8px; --apple-pay-button-height: 50px; }
.checkout-simple-divider { display: flex; align-items: center; gap: 18px; color: #777; font-size: 14px; }
.checkout-simple-divider::before,.checkout-simple-divider::after { content: ''; flex: 1; height: 1px; background: #dedede; }
.checkout-accepted-cards { display: grid; place-items: center; align-content: center; gap: 0; margin-top: -20px; padding: 0; color: #666; }
.checkout-accepted-cards > p { margin: 0; font-size: 13px; line-height: 1.35; }
.checkout-accepted-cards ul { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 7px; width: 100%; max-width: 380px; margin: 0; padding: 0; list-style: none; }
.checkout-accepted-cards li { display: flex; flex: 0 1 46px; min-width: 0; }
.checkout-accepted-cards img { display: block; width: 100%; height: auto; aspect-ratio: 38 / 24; object-fit: contain; }
.checkout-form--simple .helcim-field-grid { grid-template-columns: 1fr; gap: 12px; }
.checkout-form--simple .helcim-field-grid input:not([type=checkbox]),
.checkout-form--simple .helcim-field-grid select { min-height: 50px; border-color: #d8d8d8; border-radius: 8px; background: white; font-size: 16px; }
.checkout-form--simple .helcim-field-grid label { font-size: 14px; font-weight: 400; color: #333; }
.checkout-form--simple .checkout-consent-option { font-size: 14px; }
.checkout-form--simple .checkout-fulfillment-choice { border: 0; padding: 0; gap: 10px; }
.checkout-form--simple .checkout-fulfillment-choice legend { padding-bottom: 14px; }
.checkout-form--simple .checkout-fulfillment-choice label { min-height: 52px; justify-content: center; background: #f5f5f5; border-color: #dedede; border-radius: 8px; }
.checkout-form--simple .checkout-fulfillment-choice label:has(input:checked) { background: #fff; border-color: var(--plum); box-shadow: 0 1px 5px #0000000d; }
.checkout-form--simple .checkout-delivery-expectation { background: #f6f6f6; border: 0; border-radius: 8px; }
.checkout-form--simple .checkout-payment-methods { margin-top: 16px; }
.checkout-form--simple .checkout-order-action--bottom { display: grid; gap: 12px; }
.checkout-form--simple .checkout-order-agreement { margin: 0; }
.checkout-form--simple .checkout-pay-button { min-height: 54px; border-radius: 8px; font-size: 17px; }
.checkout-inline-card-panel { display: grid; gap: 16px; padding: 18px; border: 1px solid #b3a27b; border-radius: 10px; background: #fbf9f3; }
.checkout-inline-card-heading { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.checkout-inline-card-heading svg { width: 20px; height: 20px; flex: 0 0 auto; }
.checkout-inline-card-heading svg:last-child { margin-left: auto; color: #727272; width: 16px; }
.checkout-inline-card-panel label, .checkout-billing-fields { display: grid; gap: 7px; font-size: 14px; }
.checkout-inline-card-panel input:not([type=checkbox]), .checkout-inline-card-panel select { width: 100%; min-height: 50px; padding: 12px; border: 1px solid #d8d8d8; border-radius: 8px; background: #fff; color: #171717; font: inherit; font-size: 16px; }
.checkout-inline-card-panel label.checkout-billing-checkbox { display: flex; align-items: center; gap: 10px; }
.checkout-inline-card-panel input[type=checkbox] { width: 19px; height: 19px; accent-color: var(--plum); flex: 0 0 auto; }
.checkout-billing-fields { border: 0; padding: 0; margin: 0; gap: 12px; }
.checkout-billing-fields legend { margin-bottom: 12px; font-weight: 600; }
.checkout-inline-total { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; font-size: 21px; }
.checkout-payment-methods > p:empty { display: none; }
.checkout-details { display: contents; border: 0; padding: 0; margin: 0; min-width: 0; }
.checkout-card-fields-grid { display: grid; gap: 14px; border: 0; margin: 0; padding: 0; min-width: 0; }
.checkout-card-field { display: grid; gap: 7px; min-width: 0; }
.checkout-card-field-label { font-size: 14px; }
.checkout-card-field > div { height: 50px; width: 100%; border: 1px solid #d8d8d8; border-radius: 8px; background: #fff; overflow: hidden; }
.checkout-card-field > div > * { width: 100%; height: 100%; }
.checkout-card-fields-status { margin: 10px 0 0; font-size: 14px; color: #6f6862; }
.checkout-design-notice { margin: 0 0 24px; padding: 10px 12px; border-radius: 6px; background: #f4f1e9; color: #62533b; font: 400 13px/1.5 var(--font-utility); text-align: center; }
.checkout-design-wallet { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 50px; min-height: 50px; border: 0; border-radius: 8px; background: #000; color: #fff; font: 500 25px/1 -apple-system, BlinkMacSystemFont, Arial, sans-serif; }
.checkout-design-wallet:disabled { opacity: 1; cursor: default; }
.checkout-design-apple-mark { font-size: 31px; line-height: 1; }
.checkout-design-wallet--google { background: #000; color: #fff; font-style: normal; }
.checkout-design-google-mark { width: 25px; height: 25px; flex: 0 0 auto; }
.checkout-design-wallet--paypal { background: #ffc439; color: #003087; font: italic 700 24px/1 Arial, sans-serif; letter-spacing: -.8px; }
.checkout-design-wallet--paypal > span > span { color: #0070e0; }
.checkout-design-card-fields { display: grid; gap: 12px; }
.checkout-design-card-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 12px; background: #fff; color: #757575; border: 1px solid #d8d8d8; border-radius: 8px; font-size: 16px; }
.checkout-design-card-field svg { width: 18px; height: 18px; }
.checkout-form--design-preview .checkout-pay-button:disabled { opacity: 1; cursor: default; }
.checkout-form--design-preview input:disabled, .checkout-form--design-preview select:disabled { opacity: 1; -webkit-text-fill-color: #333; }
@media(max-width:880px) {
 .checkout-page--simple { padding-inline: 16px; }
 .checkout-page--simple .checkout-layout--protocol { padding-top: 0; gap: 24px; }
 .checkout-page--simple .checkout-order-card--mobile { margin-inline: -16px; border-radius: 0; border-inline: 0; }
 .checkout-page--simple .checkout-order-card--mobile > summary { min-height: 66px; padding: 14px 16px; }
 .checkout-page--simple .checkout-order-card--mobile > summary > strong { max-width: 160px; font-size: 16px; }
 .checkout-form--simple { padding: 0; }
}


/* SARAH-3: keep both destination fieldsets in the checkout grid without native fieldset chrome. */
.checkout-destination { border: 0; padding: 0; margin: 0; min-width: 0; }
.checkout-destination[hidden], .checkout-gift-options [hidden] { display: none; }
.checkout-gift-options { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.checkout-gift-options textarea { width: 100%; min-height: 6rem; resize: vertical; }
