:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #222;
  background: #fff;
  font-synthesis: none;
  font-size: 14px;
  --accent: #1773b0;
  --line: #dedede;
  --muted: #707070;
}
.integration-notice {
  padding: 14px 16px;
  margin: 0 0 24px;
  background: #f1f6fc;
  border: 1px solid #dbe6f3;
  border-radius: 7px;
  line-height: 1.8;
  color: #344b63;
  font-size: 13px;
}
.method-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.method-copy small,
.channel-name {
  font-size: 12px;
  color: #707070;
  font-weight: 400;
}
.shipping-summary {
  padding: 18px;
  border: 1px solid #dedede;
  border-radius: 6px;
  margin: 16px 0;
  line-height: 1.7;
}
.shipping-summary p {
  margin: 4px 0 0;
  color: #707070;
}
.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}
.checkout-unavailable {
  padding: 80px 20px;
  text-align: center;
  line-height: 1.8;
}
.checkout-unavailable h1 {
  font-size: 24px;
}
.checkout-unavailable p {
  color: #777;
}
.hosted-card-note {
  padding: 15px;
  background: #edf4fc;
  border: 1px solid #d6e3f3;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 18px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: linear-gradient(
    90deg,
    #fff 0,
    #fff calc(50% + 88px),
    #f5f5f5 calc(50% + 88px),
    #f5f5f5 100%
  );
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
[hidden] {
  display: none !important;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  flex-shrink: 0;
}
.header {
  height: 98px;
  background: white;
  border-bottom: 1px solid #e6e6e6;
}
.header-inner {
  max-width: 1192px;
  height: 100%;
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #191919;
  text-decoration: none !important;
}
.brand span {
  color: inherit;
}
.brand i {
  display: none;
}
.header-divider {
  height: 22px;
  width: 1px;
  background: #dedede;
}
.header-title {
  font-size: 15px;
  color: #555;
}
.preview-tag {
  margin-left: auto;
  color: #737373;
  font-size: 12px;
}
.container {
  max-width: 1192px;
  padding: 0 32px;
  margin: auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  padding: 24px 0 28px;
  width: 60%;
  color: #777;
}
.breadcrumb > span {
  color: #aaa;
}
.breadcrumb strong {
  color: #333;
  font-weight: 500;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  column-gap: 64px;
  align-items: start;
}
.checkout-main {
  min-width: 0;
  padding-bottom: 34px;
}
.panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  min-width: 0;
}
.express-checkout h2 {
  text-align: center;
  margin: 0 0 15px;
  font-size: 13px;
  color: #666;
  font-weight: 400;
}
.express-buttons {
  display: flex;
  gap: 10px;
}
.express-buttons button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  border: 0;
  border-radius: 5px;
  font-size: 23px;
  font-weight: 600;
}
.express-buttons button:hover {
  filter: brightness(0.95);
}
.express-paypal {
  background: #ffc439;
  color: #003087;
}
.express-paypal > span {
  font-style: italic;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.8px;
}
.express-paypal > span > span {
  color: #0070e0;
}
.express-google,
.express-apple {
  background: #111;
  color: white;
}
.express-google b {
  font-size: 23px;
  font-weight: 700;
  margin-right: 5px;
}
.express-apple svg {
  width: 23px;
  height: 25px;
  margin-right: 4px;
  fill: currentColor;
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 26px 0 29px;
  font-size: 12px;
  color: #888;
}
.or-divider:before,
.or-divider:after {
  content: "";
  height: 1px;
  background: #e5e5e5;
  flex: 1;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 0 19px;
}
.section-heading h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.2px;
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 13px;
}
.text-button:hover {
  text-decoration: underline;
}
.muted-label {
  font-size: 12px;
  color: #707070;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  color: #444;
  font-size: 13px;
}
.field > span:first-child {
  font-weight: 400;
}
.field input,
.field select {
  width: 100%;
  height: 49px;
  border: 1px solid #c7c7c7;
  border-radius: 5px;
  color: #333;
  background: white;
  padding: 0 13px;
  min-width: 0;
  font-size: 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field input::placeholder {
  color: #919191;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.field input[aria-invalid="true"] {
  border-color: #d82c0d;
  box-shadow: 0 0 0 1px #d82c0d;
}
.field-error {
  color: #bf260c;
  font-size: 12px;
  line-height: 1.5;
}
.field-error:empty {
  display: none;
}
.shipping-address {
  display: flex;
  gap: 11px;
  padding: 17px 15px;
  margin-top: 16px;
  border: 1px solid #dedede;
  border-radius: 5px;
  align-items: flex-start;
}
.shipping-address > .icon {
  width: 19px;
  height: 19px;
  color: #737373;
  margin-top: 2px;
}
.shipping-address strong {
  font-size: 13px;
  font-weight: 500;
}
.shipping-address p {
  color: #666;
  font-size: 12px;
  line-height: 1.7;
  margin: 4px 0 7px;
  overflow-wrap: anywhere;
}
.shipping-address span {
  font-size: 12px;
  color: #777;
}
.shipping-editor {
  padding-top: 20px;
}
.secondary-button {
  min-height: 42px;
  background: #f4f4f4;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 13px;
}
.payment-panel {
  margin-top: 30px;
}
.payment-panel .section-heading {
  flex-wrap: wrap;
  gap: 9px;
}
.payment-options {
  margin: 0;
  padding: 0;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  overflow: hidden;
  min-width: 0;
}
.payment-option + .payment-option {
  border-top: 1px solid #d0d0d0;
}
.option-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 15px;
  cursor: pointer;
  min-height: 65px;
}
.option-heading:hover {
  background: #fafafa;
}
.selected .option-heading {
  background: #f2f7fb;
  outline: 1px solid #1773b0;
  outline-offset: -1px;
}
.option-heading input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}
.option-icon {
  display: none;
}
.option-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.option-title strong {
  font-size: 14px;
  font-weight: 500;
}
.option-title small {
  font-size: 11px;
  color: #777;
  line-height: 1.5;
}
.option-badge {
  color: #666;
  background: #eee;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 400;
}
.card-brands {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}
.card-brands > b {
  background: white;
  min-width: 32px;
  height: 21px;
  border: 1px solid #ddd;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.visa {
  color: #1a3973;
  font-style: italic;
}
.mastercard i {
  background: #e75b46;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mastercard i + i {
  margin-left: -4px;
  background: #f3ac3d;
  opacity: 0.9;
}
.card-brands .amex {
  color: white;
  background: #3476a8;
  font-size: 7px;
}
.card-brands .unionpay {
  color: #407d88;
  font-size: 8px;
}
.option-body {
  padding: 19px 17px;
  border-top: 1px solid #dedede;
  background: #f7f7f7;
}
.demo-card-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #777;
  font-size: 11px;
  margin-bottom: 17px;
}
.demo-card-note button {
  font-size: 11px;
  white-space: nowrap;
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 15px 13px;
}
.full {
  grid-column: 1 / -1;
}
#card-fields #card-name {
  text-transform: uppercase;
}
.input-with-icon {
  display: flex;
  position: relative;
}
.input-with-icon input {
  padding-right: 78px;
}
.input-with-icon > .icon,
.detected-brand {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}
.input-with-icon > .icon {
  width: 18px;
  height: 18px;
}
.detected-brand {
  font-size: 10px;
  font-weight: 600;
}
.detected-brand.identified {
  color: #2c5584;
}
.info-icon {
  color: #858585;
  font-size: 12px;
  font-weight: 400;
}
.billing-section {
  border-top: 1px solid #ddd;
  margin-top: 21px;
  padding-top: 18px;
}
.billing-label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #555;
  margin-top: 13px;
  cursor: pointer;
}
.checkbox-label input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  margin: 0;
}
#billing-fields {
  margin-top: 18px;
}
.inline-note {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #767676;
  font-size: 11px;
  margin: 18px 0 0;
  line-height: 1.7;
}
.inline-note .icon {
  width: 13px;
  height: 13px;
}
.paypal-icon {
  color: #194b95;
  font-size: 25px;
  font-style: italic;
  font-weight: 900;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.paypal-wordmark {
  font-size: 19px;
  font-weight: 750;
  font-style: italic;
  color: #003087;
  margin-left: auto;
  letter-spacing: -0.6px;
}
.paypal-wordmark > span {
  color: #0070e0;
}
.provider-panel {
  text-align: center;
  padding: 26px 20px;
}
.provider-mark {
  margin: auto;
  width: 45px;
  font-size: 35px;
}
.provider-panel h3 {
  font-size: 15px;
  margin: 16px 0 10px;
  font-weight: 500;
}
.provider-panel p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  max-width: 360px;
  margin: auto;
}
.provider-note {
  font-size: 11px;
  color: #777;
  margin-top: 17px;
}
.wallet-mini-logos {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
  color: #4285f4;
}
.wallet-mini-logos span {
  color: #168dda;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 12px;
  padding: 3px;
}
.wallet-mini-logos span + span {
  color: #25a65a;
}
.wallet-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.wallet-toolbar label {
  font-size: 13px;
  color: #555;
}
.wallet-toolbar select {
  background: white;
  border: 1px solid #c7c7c7;
  padding: 8px 25px 8px 9px;
  color: #444;
  border-radius: 5px;
  font-size: 13px;
}
.wallet-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.wallet-choice {
  display: flex;
  align-items: center;
  min-height: 63px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 11px;
  gap: 9px;
  cursor: pointer;
  background: white;
}
.wallet-choice.active {
  background: #f2f7fb;
  border-color: var(--accent);
}
.wallet-choice input {
  accent-color: var(--accent);
  margin: 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.wallet-logo {
  font-size: 18px;
  font-weight: 700;
  width: 22px;
  text-align: center;
  color: var(--wallet-color, #333);
  flex-shrink: 0;
}
.wallet-choice strong {
  font-size: 13px;
  font-weight: 500;
}
.wallet-description {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
  margin: 17px 0 6px;
}
.form-hint {
  font-size: 12px;
  color: #777;
  line-height: 1.7;
  margin: 8px 0 0;
}
#shipping-error {
  color: #bf260c;
}
.payment-footer {
  padding: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #777;
  font-size: 12px;
}
.payment-footer .icon {
  width: 14px;
  height: 14px;
}
.checkout-actions {
  margin-top: 24px;
}
.pay-button {
  width: 100%;
  min-height: 54px;
  border: 1px solid #1a1a1a;
  border-radius: 5px;
  background: #1a1a1a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s;
}
.pay-button:hover {
  background: #333;
}
.pay-button .icon {
  width: 17px;
  height: 17px;
}
.pay-button.paypal-button {
  background: #ffc439;
  border-color: #ffc439;
  color: #003087;
}
.pay-button.paypal-button:hover {
  background: #efb92f;
}
.checkout-status {
  font-size: 12px;
  color: #bf260c;
  line-height: 1.7;
  margin: 12px 0 0;
}
.checkout-status:empty {
  display: none;
}
.preview-note {
  font-size: 11px;
  color: #777;
  text-align: center;
  margin: 13px 0 0;
  line-height: 1.7;
}
.checkout-help {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin: 22px 0 0;
  font-size: 12px;
  color: #777;
  line-height: 1.7;
}
.checkout-help button {
  font-size: 12px;
}
.checkout-help > span {
  width: 100%;
  font-size: 11px;
  margin-top: 2px;
}
.summary {
  position: sticky;
  top: 28px;
  padding: 0 0 36px;
}
.summary .section-heading {
  padding-bottom: 19px;
}
.summary .section-heading h2 {
  font-size: 16px;
}
.order-badge {
  font-size: 11px;
  color: #777;
}
.order-number {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #777;
  padding-bottom: 22px;
}
.order-number strong {
  font-weight: 400;
  font-size: 11px;
  color: #555;
}
.order-products {
  display: grid;
  gap: 20px;
  padding: 0 0 24px;
  border-bottom: 1px solid #ddd;
}
.product {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  min-width: 0;
  padding: 0;
}
.product:first-child {
  padding-top: 0;
}
.product:last-child {
  padding-bottom: 0;
}
.product + .product {
  margin-top: 0;
  padding-top: 0;
}
.product-image {
  width: 80px;
  height: 96px;
  background: #f0f0f0;
  border-radius: 6px;
  border: 1px solid #e1e1e1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
.product-copy {
  min-width: 0;
  padding-top: 2px;
}
.product h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.product p {
  color: #777;
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.6;
}
.product .product-variant {
  color: #555;
  margin-top: 9px;
  font-size: 12px;
}
.product-quantity {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #777;
}
.product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding-top: 3px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.product-price strong {
  font-size: 14px;
  font-weight: 500;
}
.product-price small {
  font-size: 10px;
  color: #777;
}
.discount-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #666;
  padding: 16px 0 0;
}
.discount-row b {
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  margin-left: 5px;
  color: #444;
  font-size: 11px;
  font-weight: 500;
  background: #eee;
}
.discount-row > span:last-child {
  padding-top: 5px;
}
.price-breakdown {
  display: grid;
  gap: 15px;
  margin: 22px 0 0;
  padding-bottom: 22px;
  border-bottom: 1px solid #ddd;
}
.price-breakdown div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.price-breakdown dt {
  color: #666;
}
.price-breakdown dt > span {
  font-size: 11px;
}
.price-breakdown dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: #333;
}
.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 17px;
}
.total > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.total span {
  font-size: 17px;
  font-weight: 500;
}
.total small {
  font-size: 11px;
  color: #777;
}
.total strong {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: #222;
  font-variant-numeric: tabular-nums;
}
.selected-payment {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #777;
}
.selected-payment strong {
  font-weight: 400;
  color: #555;
}
.delivery-promise {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 23px;
  margin-top: 23px;
  border-top: 1px solid #ddd;
}
.delivery-promise > .icon {
  color: #777;
  width: 23px;
  height: 23px;
}
.delivery-promise strong {
  font-size: 12px;
  color: #555;
  font-weight: 400;
}
.delivery-promise p {
  font-size: 11px;
  color: #777;
  margin: 5px 0 0;
}
.mobile-summary-toggle {
  display: none;
}
.footer {
  max-width: 1128px;
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid #ddd;
  color: #888;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
}
.footer > div {
  display: flex;
  gap: 20px;
}
.footer button {
  font-size: 11px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
}
.footer > span:last-child {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
dialog {
  width: min(440px, calc(100% - 32px));
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 34px;
  text-align: center;
  color: #222;
  box-shadow: 0 20px 80px #0002;
}
dialog::backdrop {
  background: #0006;
}
.close-dialog {
  position: absolute;
  top: 9px;
  right: 14px;
  background: transparent;
  color: #777;
  border: 0;
  font-size: 27px;
}
.dialog-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  font-size: 26px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
  color: #888;
}
.dialog-icon + .eyebrow {
  display: none;
}
dialog h2 {
  margin: 14px 0 10px;
  font-size: 22px;
  font-weight: 600;
}
#dialog-description {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}
#dialog-amount {
  font-size: 30px;
  font-weight: 600;
  margin: 20px 0;
}
#dialog-amount:empty {
  display: none;
}
.dialog-details {
  display: grid;
  gap: 12px;
  font-size: 12px;
  color: #777;
  text-align: left;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.dialog-details:empty {
  display: none;
}
.dialog-details > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.dialog-details strong {
  font-weight: 400;
  color: #333;
  text-align: right;
}
.dialog-cancel {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  padding: 15px 0 0;
}
.dialog-note {
  font-size: 11px;
  color: #888;
  margin: 17px 0 0;
}
@media (min-width: 1001px) {
  .summary:before {
    content: "";
    position: absolute;
    top: -68px;
    bottom: -100px;
    left: -32px;
    width: 1px;
    background: #dedede;
  }
}
@media (max-width: 1200px) and (min-width: 1001px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
  }
  .summary:before {
    left: -24px;
  }
  .card-brands {
    gap: 3px;
  }
  .card-brands > b {
    min-width: 26px;
  }
  .option-title small {
    max-width: 220px;
  }
  .product {
    gap: 10px;
  }
  .product h3 {
    font-size: 12px;
  }
  .product > strong {
    font-size: 13px;
  }
  body {
    background: linear-gradient(
      90deg,
      white 0,
      white 57.5%,
      #f5f5f5 57.5%,
      #f5f5f5 100%
    );
  }
  .footer {
    margin: 0 32px;
  }
}
@media (max-width: 1000px) {
  body {
    background: white;
  }
  .header {
    height: 78px;
  }
  .header-inner {
    max-width: 704px;
    padding: 0 28px;
  }
  .brand {
    font-size: 27px;
  }
  .header-title {
    font-size: 14px;
  }
  .preview-tag {
    font-size: 11px;
  }
  .container {
    max-width: 704px;
    padding: 0 28px;
  }
  .breadcrumb {
    width: 100%;
    padding: 22px 0;
    font-size: 12px;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .checkout-main {
    grid-row: 2;
    padding-top: 26px;
  }
  .summary {
    grid-row: 1;
    position: static;
    padding: 0;
    background: #f6f6f6;
    margin: 0 -28px;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
  }
  .mobile-summary-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 19px 28px;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-size: 13px;
  }
  .mobile-summary-toggle > strong {
    font-size: 19px;
    font-weight: 500;
    color: #333;
  }
  .summary-chevron {
    margin-left: 5px;
  }
  .summary-content {
    display: none;
    padding: 5px 28px 26px;
  }
  #summary-toggle[aria-expanded="true"] + .summary-content {
    display: block;
  }
  #summary-toggle[aria-expanded="true"] .summary-chevron {
    display: inline-block;
    transform: rotate(180deg);
  }
  .summary .section-heading {
    display: none;
  }
  .order-number {
    padding: 6px 0 22px;
  }
  .order-products {
    gap: 19px;
  }
  .footer {
    max-width: 648px;
    margin: 0 auto;
    padding: 23px 0;
  }
}
@media (max-width: 500px) {
  .header {
    height: 72px;
  }
  .header-inner {
    padding: 0 20px;
    gap: 14px;
  }
  .brand {
    font-size: 25px;
  }
  .header-title {
    font-size: 13px;
  }
  .preview-tag {
    font-size: 10px;
  }
  .container {
    padding: 0 20px;
  }
  .breadcrumb {
    padding: 19px 0;
    font-size: 11px;
  }
  .summary {
    margin: 0 -20px;
  }
  .mobile-summary-toggle {
    padding: 17px 20px;
  }
  .summary-content {
    padding: 5px 20px 23px;
  }
  .checkout-main {
    padding-top: 25px;
  }
  .express-buttons {
    gap: 8px;
  }
  .express-buttons button {
    min-height: 45px;
    font-size: 20px;
  }
  .express-paypal > span {
    font-size: 20px;
  }
  .express-google b {
    font-size: 20px;
  }
  .express-apple svg {
    width: 21px;
    height: 23px;
  }
  .or-divider {
    font-size: 11px;
    margin: 24px 0;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading {
    padding-bottom: 17px;
  }
  .muted-label {
    font-size: 11px;
  }
  .field input,
  .field select {
    font-size: 16px;
  }
  .field input::placeholder {
    font-size: 13px;
  }
  .shipping-address {
    padding: 14px 12px;
  }
  .shipping-address p {
    font-size: 12px;
  }
  .payment-panel {
    margin-top: 27px;
  }
  .option-heading {
    padding: 15px 12px;
    flex-wrap: wrap;
    gap: 9px;
  }
  .option-title strong {
    font-size: 13px;
  }
  .option-title small {
    display: none;
  }
  .card-brands {
    gap: 3px;
  }
  .card-brands > b {
    min-width: 28px;
    font-size: 8px;
    height: 20px;
  }
  .card-brands .amex {
    font-size: 6px;
  }
  .card-brands .unionpay {
    font-size: 7px;
  }
  .option-body {
    padding: 17px 13px;
  }
  .demo-card-note {
    font-size: 10px;
  }
  .demo-card-note button {
    font-size: 10px;
  }
  .form-grid {
    column-gap: 10px;
  }
  .input-with-icon input {
    padding-right: 70px;
  }
  .detected-brand {
    font-size: 9px;
  }
  .inline-note {
    font-size: 10px;
  }
  .paypal-wordmark {
    font-size: 18px;
  }
  .wallet-toolbar select {
    font-size: 12px;
  }
  .wallet-choice {
    padding: 12px 8px;
    gap: 7px;
  }
  .wallet-choice strong {
    font-size: 12px;
  }
  .wallet-logo {
    width: 19px;
    font-size: 17px;
  }
  .wallet-description {
    font-size: 12px;
  }
  .form-hint {
    font-size: 11px;
  }
  .payment-footer {
    font-size: 11px;
  }
  .product h3 {
    font-size: 12px;
  }
  .product > strong {
    font-size: 13px;
  }
  .product {
    gap: 11px;
  }
  .footer {
    margin: 0 20px;
    font-size: 10px;
    align-items: flex-start;
  }
  .footer > div {
    gap: 13px;
  }
  .footer button {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .card-brands {
    margin-left: 26px;
  }
  .preview-tag {
    font-size: 9px;
  }
  .header-inner {
    gap: 10px;
  }
  .wallet-choice {
    flex-wrap: wrap;
  }
  .product h3 {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
/* Live PayPal handoff and status recovery. */
.resume-paypal,
.paypal-reopen {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: #fff;
  color: #174b80;
  text-align: center;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin: 12px 0;
  box-sizing: border-box;
}
.resume-paypal:hover,
.paypal-reopen:hover {
  background: #f3f7fb;
  border-color: #839db8;
}
.resume-paypal[hidden],
.paypal-reopen[hidden] {
  display: none;
}
.checkout-status.payment-waiting {
  color: #52667d;
}
.checkout-status.payment-success {
  color: #157347;
}
.preview-tag {
  line-height: 1.5;
  text-align: right;
}
.header-inner {
  min-width: 0;
}
.brand {
  flex-shrink: 0;
}
.order-badge {
  white-space: nowrap;
}
#preview-dialog {
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
@media (max-width: 600px) {
  html[lang="en"] .header-title {
    display: none;
  }
  .preview-tag {
    max-width: 55%;
  }
}
