/* Checkout only. Cart, shared header/footer and payment visibility are unchanged. */
body.tb-storefront:has(main.tb-order-flow),
body.tb-storefront:has(main.tb-order-flow) :is(.l-wrapper,.l-wrapper-none) { background: #fff !important; }
body.tb-storefront main.tb-order-flow {
  --tb-checkout-line: var(--tb-color-line);
  --tb-checkout-tint:var(--tb-color-white);
  --tb-checkout-ink: var(--tb-color-ink);
  --tb-checkout-muted: var(--tb-color-muted);
  box-sizing: border-box;
  width: min(1140px, calc(100% - 64px));
  max-width: none;
  margin: 32px auto 72px;
  padding: 0;
  background: #fff;
  color: var(--tb-checkout-ink);
  font-family: var(--tb-sans);
  --tb-type-body: 16px;
  --tb-type-body-leading: 1.75;
}
body.tb-storefront main.tb-order-flow * { box-sizing: border-box; }
body.tb-storefront main.tb-order-flow > .l-container__row { width: 100%; max-width: none; margin: 0; padding: 0; }
body.tb-storefront main.tb-order-flow .p-page_header { margin: 28px 0 32px; padding: 0; }
body.tb-storefront main.tb-order-flow .p-page_header__inner { max-width: 880px; margin: 0 auto; text-align: center; }
body.tb-storefront main.tb-order-flow h1.p-page_header__inner__title.u-text--head { margin: 0; color: var(--tb-checkout-ink) !important; font: 700 32px/1.5 var(--tb-sans) !important; letter-spacing: normal; text-wrap: balance; }
body.tb-storefront main.tb-order-flow .tb-checkout-intro { margin: 12px 0 0; color: var(--tb-checkout-muted); font-size: 16px !important; line-height: 1.75 !important; }
body.tb-storefront main.tb-order-flow .p-page_header__inner__lead { margin-top: 12px; color: var(--tb-checkout-muted); font-size: 16px !important; line-height: 1.75 !important; }

/* Equal steps keep the current position clear at every width. */
body.tb-storefront main.tb-order-flow .c-steps_to_order { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 540px; margin: 0 auto; }
body.tb-storefront main.tb-order-flow .c-steps_to_order__step { position: relative; min-width: 0; margin: 0; }
body.tb-storefront main.tb-order-flow .c-steps_to_order__step:not(:last-child)::after { position: absolute; z-index: 0; content: ""; top: 17px; left: calc(50% + 25px); width: calc(100% - 50px); border-top: 1px solid #c6cec7; }
body.tb-storefront main.tb-order-flow .c-steps_to_order__number { z-index: 1; width: 36px; height: 36px; margin: 0; border: 1px solid #bac7bf; border-radius: 50%; background: #fff; color: var(--tb-checkout-muted); font: 700 16px/1 var(--tb-sans) !important; }
body.tb-storefront main.tb-order-flow .c-steps_to_order__number:is(.is-active,.is-complete) { border-color: var(--tb-color-coral); background: var(--tb-color-coral-dark); color: #fff; }
body.tb-storefront main.tb-order-flow .c-steps_to_order__number::before,
body.tb-storefront main.tb-order-flow .c-steps_to_order__number::after { content: none; }
body.tb-storefront main.tb-order-flow .c-steps_to_order__text { max-width: none; margin: 8px 0 0; color: var(--tb-checkout-muted); font-size: 14px !important; line-height: 1.5 !important; white-space: normal; }
body.tb-storefront main.tb-order-flow .c-steps_to_order__text br { display: inline; }
body.tb-storefront main.tb-order-flow [aria-current="step"] .c-steps_to_order__text { color: var(--tb-color-coral-dark); font-weight: 700; }

/* White fields and clear section boundaries; native conditional rows stay native. */
body.tb-storefront main.tb-order-flow--new .p-checkout { width: 100%; max-width: 880px; margin: 0 auto; }
body.tb-storefront main.tb-order-flow--new .p-checkout__list { width: 100%; padding: 0; }
body.tb-storefront main.tb-order-flow--new .p-checkout__list__block { margin: 0 0 24px; padding: 0; border: 1px solid var(--tb-checkout-line); border-color: var(--tb-checkout-line) !important; border-radius: 8px; background: #fff; }
body.tb-storefront main.tb-order-flow--new .p-checkout__list__block__inner { max-width: none; padding: 24px 28px; }
body.tb-storefront main.tb-order-flow--new .p-checkout__list__block__inner__title,
body.tb-storefront main.tb-order-flow--confirm :is(.p-checkout_confirm__inner__list__block__title,.p-order_confirmation__heading) { margin: 0 0 24px; padding: 12px 16px; border: 0; border-left: 3px solid var(--tb-color-coral); border-radius: 0 4px 4px 0; background: var(--tb-checkout-tint); color: var(--tb-checkout-ink) !important; font: 700 20px/1.6 var(--tb-sans) !important; }
body.tb-storefront main.tb-order-flow--new .p-checkout__list__block__inner__content { margin: 0 0 16px; font-size: 16px !important; line-height: 1.75 !important; }
body.tb-storefront main.tb-order-flow--new .c-form_table { display: block; width: 100%; border: 0; table-layout: fixed; }
body.tb-storefront main.tb-order-flow--new .c-form_table > tbody { display: block; width: 100%; }
body.tb-storefront main.tb-order-flow--new .c-form_table > tbody > tr { display: block; width: 100%; border: 0; }
body.tb-storefront main.tb-order-flow--new .c-form_table > tbody > tr > :is(th,td) { display: block; width: 100%; max-width: none; border: 0; background: transparent; text-align: left; }
body.tb-storefront main.tb-order-flow--new .c-form_table > tbody > tr > th { padding: 0 0 8px; font: 700 16px/1.6 var(--tb-sans) !important; }
body.tb-storefront main.tb-order-flow--new .c-form_table > tbody > tr > td { padding: 0 0 24px; }
body.tb-storefront main.tb-order-flow--new .c-form_table > tbody > tr:last-child > td { padding-bottom: 0; }
body.tb-storefront main.tb-order-flow--new .c-form_table > tbody > tr > th:empty { padding: 0; }
body.tb-storefront main.tb-order-flow--new .c-form_table th > .u-color__text--alert { display: inline-block; margin-left: 8px; color: #a52a30 !important; font-size: 14px !important; }
body.tb-storefront main.tb-order-flow--new :is(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],input[type="password"],select,textarea) { min-width: 0; max-width: 100%; min-height: 52px; height: auto; padding: 12px 14px; border: 1px solid #929b94; border-color: #929b94 !important; border-radius: 5px; background-color: #fff !important; color: var(--tb-checkout-ink); font: 400 16px/1.6 var(--tb-sans) !important; box-shadow: none; }
/* Reserve the arrow area even when the shared input shorthand wins the cascade. */
body.tb-storefront main.tb-order-flow--new .c-form_table__select > select { padding-right: 40px !important; }
body.tb-storefront main.tb-order-flow--new .c-form_table__tel > .c-form_table__select { width: auto; min-width: 104px; max-width: 100%; flex: 0 0 auto; }
body.tb-storefront main.tb-order-flow--new textarea { min-height: 112px; }
body.tb-storefront main.tb-order-flow--new input::placeholder,
body.tb-storefront main.tb-order-flow--new textarea::placeholder { color: var(--tb-color-ink); opacity: 1; }
body.tb-storefront main.tb-order-flow--new :is(input,select,textarea):focus-visible { outline: 3px solid var(--tb-color-coral-light); outline-offset: 2px; border-color: var(--tb-color-coral) !important; }
body.tb-storefront main.tb-order-flow--new :is(input,select,textarea):disabled { background: #f0f2ef !important; color: #222222; }
body.tb-storefront main.tb-order-flow--new :is(.c-form_table__name,.c-form_table__postcode,.c-form_table__tel) { gap: 12px; }
body.tb-storefront main.tb-order-flow--new .c-form_table__name input { width: calc((100% - 12px)/2); max-width: none; }
body.tb-storefront main.tb-order-flow--new .c-form_table__name.is-single input { width: 100%; }
body.tb-storefront main.tb-order-flow--new :is(.c-form_table__checkbox,.c-form_table__radio) { min-height: 44px; align-items: flex-start; padding-block: 0; }
body.tb-storefront main.tb-order-flow--new .c-form_table__checkbox__text { line-height: 1.75 !important; }
body.tb-storefront main.tb-order-flow--new :is(.c-form_table__checkbox,.c-form_table__radio) input { flex-shrink: 0; margin-top: 3px; }
body.tb-storefront main.tb-order-flow--new .c-form_table__checkbox__frame { top: 10px; }
body.tb-storefront main.tb-order-flow--new .c-form_table__radio__frame { top: 9px; }
body.tb-storefront main.tb-order-flow--new .radio__top .c-form_table__radio__frame { top: 7px; }
body.tb-storefront main.tb-order-flow--new .tb-form-consent input { margin-top: 2px; }
body.tb-storefront main.tb-order-flow--new .tb-form-consent .c-form_table__checkbox__frame { top: 8px; }
body.tb-storefront main.tb-order-flow--new :is(input,select,textarea):is(.formErrorInput,[aria-invalid="true"]) { border-color: #b52e32 !important; }
body.tb-storefront main.tb-order-flow--new .p-checkout__list__block__inner__payment--credit { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--tb-checkout-line); }
body.tb-storefront main.tb-order-flow--new .amazon_pay_box { max-width: 880px; margin: 0 auto 24px; padding: 20px 24px; border: 1px solid var(--tb-checkout-line); border-radius: 8px; background: var(--tb-checkout-tint) !important; }
body.tb-storefront main.tb-order-flow--new .amazon_pay_title { margin: 0; font: 700 16px/1.6 var(--tb-sans) !important; text-wrap: balance; }
body.tb-storefront main.tb-order-flow--new :is(.amazon_pay_button_wrapper,.amazon_pay_button_area,.amazon_pay_payments_area) { margin: 8px 0 0; padding: 0; }
body.tb-storefront main.tb-order-flow--new .amazon_pay_subtitle { margin: 0 0 8px; }
body.tb-storefront main.tb-order-flow--new .tb-checkout-amazon-preview { width: 100%; max-width: 340px; min-height: 44px; margin: 0 auto; padding: 8px 12px; border: 1px solid #b69b4b; border-radius: 5px; background: #f6d476 !important; color: #222222 !important; font: 700 16px/1.5 var(--tb-sans) !important; }
body.tb-storefront main.tb-order-flow--new :is(.amazon_pay_subtitle,.amazon_pay_message,.amazon_pay_not_use_message) { font-size: 14px !important; line-height: 1.7 !important; }
body.tb-storefront main.tb-order-flow--new .amazon_pay_message { margin-top: 12px; }
body.tb-storefront main.tb-order-flow--new .p-checkout__bottom { margin: 32px 0 0; padding: 0; }

/* Confirmation keeps native amount/tax calculations and the floating CTA option. */
body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm { padding: 0; }
body.tb-storefront main.tb-order-flow--confirm .tb-checkout-confirm-guide { max-width: 700px; margin: 20px auto 0; padding: 16px 24px; border: 1px solid var(--tb-color-coral-light); border-radius: 8px; background: var(--tb-color-white); }
body.tb-storefront main.tb-order-flow--confirm .tb-checkout-confirm-guide__title { margin: 0; color: var(--tb-color-coral-dark); font-size: 18px !important; font-weight: 700; line-height: 1.6 !important; }
body.tb-storefront main.tb-order-flow--confirm .tb-checkout-confirm-guide .tb-checkout-intro { margin-top: 6px; color: var(--tb-checkout-ink); }
body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 32px; width: 100%; max-width: none; }
body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner__list { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; margin: 0; }
body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner__side { display: flex; grid-column: 2; grid-row: 1; flex-direction: column; gap: 24px; width: 100%; min-width: 0; }
body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner__list__block { margin: 0 0 24px; padding: 24px; border: 1px solid var(--tb-checkout-line); border-radius: 8px; background: #fff; }
body.tb-storefront main.tb-order-flow--confirm :is(.c-form_table,.c-form_table--confirm,.c-confirm_field) { width: 100%; border: 0; table-layout: fixed; }
body.tb-storefront main.tb-order-flow--confirm :is(.c-form_table,.c-form_table--confirm) > tbody > tr { border-color: #e5e5df; }
body.tb-storefront main.tb-order-flow--confirm :is(.c-form_table,.c-form_table--confirm) > tbody > tr > th { width: 34%; padding: 14px 16px 14px 0; text-align: left; vertical-align: top; font-size: 16px !important; }
body.tb-storefront main.tb-order-flow--confirm :is(.c-form_table,.c-form_table--confirm) > tbody > tr > td { padding: 14px 0; text-align: left; vertical-align: top; overflow-wrap: anywhere; font-size: 16px !important; line-height: 1.75 !important; }
body.tb-storefront main.tb-order-flow--confirm :is(.c-confirm_field__label,.c-confirm_field__value) { padding: 12px 0; line-height: 1.75 !important; }
body.tb-storefront main.tb-order-flow--confirm :is(.c-billing_list,.c-cart_list) { order: initial; width: 100%; margin: 0; padding: 24px; border: 1px solid var(--tb-checkout-line); border-radius: 12px; background: #fff !important; box-shadow: 0 3px 12px color-mix(in srgb, var(--tb-color-ink) 4.71%, transparent); }
body.tb-storefront main.tb-order-flow--confirm :is(.c-billing_list__title,.c-cart_list__title) { margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--tb-checkout-line); color: var(--tb-checkout-ink) !important; font: 700 20px/1.6 var(--tb-sans) !important; }
body.tb-storefront main.tb-order-flow--confirm .c-billing_list__detail__item__row { gap: 12px; }
body.tb-storefront main.tb-order-flow--confirm .c-billing_list__detail__item__row :is(dt,dd) { font-size: 14px !important; line-height: 1.7 !important; }
body.tb-storefront main.tb-order-flow--confirm .c-billing_list__detail__item__row__price { white-space: nowrap; }
body.tb-storefront main.tb-order-flow--confirm .c-billing_list__total { align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 16px; }
body.tb-storefront main.tb-order-flow--confirm .c-billing_list__total__title { font: 700 16px/1.6 var(--tb-sans) !important; }
body.tb-storefront main.tb-order-flow--confirm .c-billing_list__total__price { font: 700 28px/1.4 var(--tb-sans) !important; white-space: nowrap; }
body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list { border: 0; }
body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list__item { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 16px 0; border-color: var(--tb-checkout-line); }
body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list__item__img { flex: 0 0 96px; width: 96px; margin: 0; }
body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list__item__img__inner { height: 112px; padding: 0; background-position: center; background-size: contain; background-repeat: no-repeat; }
body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list__item__info { width: auto; flex: 1; min-width: 0; padding: 0; }
body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list__item__info__title.u-text--body { margin-top: 6px; color: var(--tb-checkout-ink) !important; font: 700 16px/1.65 var(--tb-sans) !important; overflow-wrap: anywhere; }
body.tb-storefront main.tb-order-flow--confirm :is(.c-cart_list__list__item__info__category,.c-cart_list__list__item__info__variant,.c-cart_list__list__item__info__total__quantity) { color: var(--tb-checkout-muted); font-size: 14px !important; line-height: 1.7 !important; }
body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list__item__info__total { display: block; }
body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list__item__info__total__price { margin-top: 6px; font-size: 18px !important; }
body.tb-storefront main.tb-order-flow--confirm .tb-checkout-submit-note { margin: 32px 0 16px; text-align: center; }
body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner__list__block--bottom { margin-top: 0; padding: 0; }
body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__float { z-index: 50; width: 100%; padding: 12px 16px max(12px,env(safe-area-inset-bottom)); }
body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__float_content { gap: 16px; max-width: 500px; }
body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__total { margin: 0; font-size: 14px !important; line-height: 1.5 !important; }
body.tb-storefront main.tb-order-flow--confirm .tb-checkout-final-step { margin: 0; color: var(--tb-color-ink); font-size: 14px !important; font-weight: 700; line-height: 1.5 !important; }

/* Shared action treatment matches the cart; back links remain easy to find. */
body.tb-storefront main.tb-order-flow :is(.p-checkout__bottom__submit,.p-checkout_confirm__inner__list__block__submit,.p-checkout_confirm__submit) { width: 100%; max-width: 420px; min-height: 56px; height: auto; margin-inline: auto; padding: 14px 20px; border: 0; border-radius: 4px 32px 32px 4px; background: linear-gradient(90deg,var(--tb-color-purchase-bg),var(--tb-color-purchase-bg)) !important; color:var(--tb-color-ink) !important; font: 700 18px/1.5 var(--tb-sans) !important; box-shadow: 0 3px 8px color-mix(in srgb, var(--tb-color-purchase-bg) 14.51%, transparent); opacity: 1; }
body.tb-storefront main.tb-order-flow :is(.p-checkout__bottom__submit,.p-checkout_confirm__inner__list__block__submit,.p-checkout_confirm__submit):not(:disabled):not([aria-disabled="true"]):hover { background: var(--tb-color-purchase-bg) !important; opacity: 1; }
body.tb-storefront main.tb-order-flow :is(.p-checkout__bottom__submit,.p-checkout_confirm__inner__list__block__submit,.p-checkout_confirm__submit):is(:disabled,[aria-disabled="true"]) { background: #dce3df !important; color: #222222 !important; box-shadow: none; cursor: not-allowed; }
body.tb-storefront main.tb-order-flow :is(.p-checkout__bottom__back,.p-checkout_confirm__inner__list__block__back) { display: flex; justify-content: center; align-items: center; width: fit-content; min-height: 44px; margin: 16px auto 0; color: var(--tb-color-coral-dark) !important; font-size: 16px !important; text-decoration: underline; text-underline-offset: 4px; }
body.tb-storefront main.tb-order-flow :is(a,button,input[type="submit"]):focus-visible { outline: 3px solid #b48a4b; outline-offset: 4px; }
body.tb-storefront main.tb-order-flow .tb-checkout-feedback { width: 100%; max-width: 880px; margin: 0 auto 24px; }

/* A clear receipt with the real translated message and real order number. */
body.tb-storefront main.tb-order-flow--complete { max-width: 880px; }
body.tb-storefront main.tb-order-flow--complete .p-page_header { margin-top: 32px; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-complete-card { max-width: 760px; padding: 36px 40px; border: 1px solid var(--tb-checkout-line); border-radius: 12px; background: #fff; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-complete-mark { display: block; margin: 0 auto 16px; color: var(--tb-color-coral-dark); }
body.tb-storefront main.tb-order-flow--complete .p-page_header__inner__lead { max-width: 560px; margin: 16px auto 0; overflow-wrap: anywhere; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-order-number { margin: 24px 0; padding: 16px; border-radius: 6px; background: var(--tb-checkout-tint); }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-order-number p { margin: 0; color: var(--tb-checkout-ink); font-size: 18px !important; font-weight: 700 !important; }
body.tb-storefront main.tb-order-flow--complete .p-page_header__inner__btn { max-width: 360px; min-height: 52px; margin: 24px auto 0; padding: 12px 24px; border: 1px solid var(--tb-color-purchase-bg) !important; border-radius: 6px; background: #fff !important; color:var(--tb-color-ink) !important; font-size: 16px !important; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-aftercare { max-width: 760px; margin: 0 auto; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks { display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; margin: 32px 0 40px; border-radius: 12px; background: #f7f3e9; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks__photo { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: 4/5; object-fit: contain; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks__message { padding: 28px; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks__message h2 { margin: 0 0 16px; color: var(--tb-color-ink); font: 700 24px/1.65 var(--tb-sans) !important; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks__message p { margin: 0 0 12px; font-size: 16px !important; line-height: 1.85 !important; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks__message .tb-checkout-thanks__signature { margin: 20px 0 0; font-size: 14px !important; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-aftercare__heading { margin: 0 0 20px; text-align: center; color: var(--tb-checkout-ink); font: 700 22px/1.6 var(--tb-sans) !important; text-wrap: balance; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-help__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-help__card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--tb-checkout-line); border-radius: 8px; background: #fff; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-help__card h3,
body.tb-storefront main.tb-order-flow--complete .tb-checkout-line h2 { margin: 0 0 12px; color: var(--tb-checkout-ink); font: 700 18px/1.7 var(--tb-sans) !important; }
body.tb-storefront main.tb-order-flow--complete :is(.tb-checkout-help__card,.tb-checkout-line) p { margin: 0 0 20px; font-size: 16px !important; line-height: 1.8 !important; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-help__link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin-top: auto; padding: 12px; border: 1px solid var(--tb-color-coral); border-radius: 6px; color: var(--tb-color-coral-dark) !important; font: 700 16px/1.6 var(--tb-sans) !important; text-align: center; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-help__link:hover { background: var(--tb-color-white); }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-help__email { margin: 16px 0 0; color: var(--tb-checkout-muted); font-size: 16px !important; line-height: 1.8 !important; text-align: center; overflow-wrap: anywhere; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-help__email a { display: inline-block; min-height: 44px; max-width: 100%; padding: 7px 0; color: var(--tb-color-coral-dark) !important; text-decoration: underline; text-underline-offset: 3px; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-line { margin-top: 24px; padding: 24px; border-radius: 8px; background: var(--tb-color-coral-light); }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-line__link { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 360px; min-height: 60px; margin: 0 auto; padding: 10px 16px; border-radius: 6px; background:#087c3f; color:#fff !important; font: 700 17px/1.6 var(--tb-sans) !important; text-align: center; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-line__link:hover { background:#056934; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-line__new-window { font-size: 12px; font-weight: 400; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-line-linkage { margin-top: 24px; padding: 24px; border: 1px solid var(--tb-checkout-line); border-radius: 8px; }
body.tb-storefront main.tb-order-flow--complete .tb-checkout-line-linkage .alert { margin-bottom: 16px; font-size: 16px !important; line-height: 1.8 !important; }

@media (max-width: 960px) {
  body.tb-storefront main.tb-order-flow { width: calc(100% - 48px); }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner { display: flex; flex-direction: column; gap: 24px; }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner__side { order: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner__list { order: 1; }
}
@media (max-width: 600px) {
  body.tb-storefront main.tb-order-flow { width: calc(100% - 32px); margin: 24px auto 48px; }
  body.tb-storefront main.tb-order-flow h1.p-page_header__inner__title.u-text--head { font-size: 26px !important; }
  body.tb-storefront main.tb-order-flow .p-page_header { margin: 24px 0; }
  body.tb-storefront main.tb-order-flow .c-steps_to_order__text { font-size:14px !important; }
  body.tb-storefront main.tb-order-flow .c-steps_to_order__number { width: 32px; height: 32px; }
  body.tb-storefront main.tb-order-flow .c-steps_to_order__step:not(:last-child)::after { top: 15px; }
  body.tb-storefront main.tb-order-flow--new .p-checkout__list__block__inner { padding: 20px 16px; }
  body.tb-storefront main.tb-order-flow--new .p-checkout__list__block__inner__title,
  body.tb-storefront main.tb-order-flow--confirm :is(.p-checkout_confirm__inner__list__block__title,.p-order_confirmation__heading) { padding: 10px 12px; font-size: 19px !important; }
  body.tb-storefront main.tb-order-flow--new :is(.c-form_table__name,.c-form_table__postcode,.c-form_table__tel) { gap: 8px; }
  body.tb-storefront main.tb-order-flow--new .c-form_table__name input { width: calc((100% - 8px)/2); }
  body.tb-storefront main.tb-order-flow--new .amazon_pay_box { padding: 16px; }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner__side { display: flex; }
  body.tb-storefront main.tb-order-flow--confirm .tb-checkout-confirm-guide { padding: 16px; text-align: left; }
  body.tb-storefront main.tb-order-flow--confirm .tb-checkout-guide-break { display: none; }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__inner__list__block { padding: 20px 16px; }
  body.tb-storefront main.tb-order-flow--confirm :is(.c-form_table,.c-form_table--confirm) > tbody > tr > :is(th,td) { display: block; width: 100%; padding: 0; }
  body.tb-storefront main.tb-order-flow--confirm :is(.c-form_table,.c-form_table--confirm) > tbody > tr > th { padding-top: 16px; padding-bottom: 6px; }
  body.tb-storefront main.tb-order-flow--confirm :is(.c-form_table,.c-form_table--confirm) > tbody > tr > td { padding-bottom: 16px; }
  body.tb-storefront main.tb-order-flow--confirm :is(.c-billing_list,.c-cart_list) { padding: 20px 16px; }
  body.tb-storefront main.tb-order-flow--complete .tb-checkout-complete-card { padding: 28px 20px; }
  body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks { grid-template-columns: 1fr; margin: 24px 0 32px; }
  body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks__photo { height: auto; min-height: 0; aspect-ratio: 4/5; }
  body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks__message { padding: 24px 20px; }
  body.tb-storefront main.tb-order-flow--complete .tb-checkout-thanks__message h2 { font-size: 23px !important; }
  body.tb-storefront main.tb-order-flow--complete .tb-checkout-help__grid { grid-template-columns: 1fr; gap: 16px; }
  body.tb-storefront main.tb-order-flow--complete :is(.tb-checkout-help__card,.tb-checkout-line,.tb-checkout-line-linkage) { padding: 20px; }
  body.tb-storefront main.tb-order-flow--complete .tb-checkout-aftercare__heading { font-size: 20px !important; }
}
@media (max-width: 719px) {
  body.tb-storefront:has(main.tb-order-flow--confirm .p-checkout_confirm__float) { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__float { padding: 12px 16px max(12px,env(safe-area-inset-bottom)); border-top: 2px solid var(--tb-color-gold); background: var(--tb-color-white) !important; box-shadow: 0 -4px 16px color-mix(in srgb, var(--tb-color-coral-dark) 10.2%, transparent); }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__float_content { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; width: 100%; max-width: 500px; }
  body.tb-storefront main.tb-order-flow--confirm .tb-checkout-final-step { grid-column: 2; grid-row: 1; align-self: center; color: var(--tb-color-ink); }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__total { grid-column: 1; grid-row: 1; text-align: left; }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__float_content .p-checkout_confirm__total span.p-checkout_confirm__price.u-font__en { color: var(--tb-checkout-ink); font: 700 22px/1.5 var(--tb-sans) !important; }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__submit { grid-column: 1/-1; width: 100%; max-width: none; min-width: 0; min-height: 56px; margin: 0; padding: 14px 20px; font-size: 18px !important; }
  body.tb-storefront main.tb-order-flow--confirm .p-checkout_confirm__float #AmazonPayButton { grid-column: 1/-1; width: 100%; }
}
@media (max-width: 360px) {
  body.tb-storefront main.tb-order-flow--complete h1.p-page_header__inner__title.u-text--head { font-size: 24px !important; }
  body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list__item { gap: 10px; }
  body.tb-storefront main.tb-order-flow--confirm .c-cart_list__list__item__img { flex-basis: 80px; width: 80px; }
}
