.s360-checkout { padding: 38px 0 70px; background: #fff; }
.s360-checkout > .wrap { padding: clamp(14px, 2vw, 32px); background: #f1f3f5; border: 1px solid #e4e7eb; border-radius: 16px; box-shadow: 0 12px 36px rgba(25,27,31,.04); }
.s360-checkout [hidden] { display: none !important; }
.co-back { display: inline-block; margin-bottom: 25px; color: #636872; font-size: 13px; font-weight: 700; text-decoration: none; }
.co-back:hover { color: var(--red); }
.co-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 34px; }
.co-heading h1 { margin: 0; font-size: clamp(36px, 4.5vw, 58px); letter-spacing: -.05em; line-height: 1.1; }
.co-heading p:not(.eyebrow) { margin: 14px 0 0; color: #646973; font-size: 16px; line-height: 1.5; }
.co-secure { padding: 16px 20px; border-left: 3px solid var(--red); background: #f3f3f5; color: var(--dark); font-size: 20px; font-weight: 800; }
.co-secure span { display: block; margin-top: 5px; color: #636873; font-size: 12px; font-weight: 500; }
.co-step { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.co-step > span { display: grid; place-items: center; flex: 0 0 31px; height: 31px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; }
.co-step h2 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.co-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.co-option { display: flex; flex-direction: column; min-width: 0; min-height: 224px; padding: 20px; border: 1px solid #d6d9df; background: #fff; color: var(--dark); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.co-option:hover { border-color: var(--red); }
.co-option[aria-current="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: #fff7f8; }
.co-option-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 7px; min-height: 47px; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.co-option-title i { display: grid; place-items: center; flex: 0 0 18px; height: 18px; margin-top: 3px; border: 1px solid #bfc4cd; border-radius: 50%; background: #fff; }
.co-option[aria-current="true"] .co-option-title i { background: var(--red); border-color: var(--red); }
.co-option[aria-current="true"] .co-option-title i:after { content: '✓'; color: #fff; font-size: 12px; font-style: normal; }
.co-option-caption { margin: 10px 0 10px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .045em; }
.co-option-amount { font-size: clamp(23px, 2.2vw, 30px); letter-spacing: -.04em; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-option-amount small { font-size: .48em; letter-spacing: 0; }
.co-option-total { display: block; margin: 10px 0 16px; color: var(--dark); font-size: 14px; font-weight: 800; line-height: 1.45; }
.co-option-benefit { display: flex; align-items: center; min-height: 26px; margin-top: 4px; }
.co-discount { display: inline-block; padding: 5px 9px; background: #166534; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.co-duration-note { color: #646b75; font-size: 11px; font-weight: 600; }
.co-list-price { display: block; min-height: 39px; margin: -8px 0 8px; color: #555b65; font-size: 13px; font-weight: 700; line-height: 1.5; }
.co-list-price s { white-space: nowrap; }
.co-tax-included { align-self: flex-start; margin-top: 9px; padding: 5px 8px; border: 1px solid #b7d8c4; border-radius: 4px; background: #eaf5ef; color: #175b35; font-size: 12px; font-weight: 800; line-height: 1.4; }
.co-option-total > span, .co-option-total > b { display: block; }
.co-option-total b { white-space: nowrap; }
.co-tax-breakdown { display: grid; gap: 7px; margin: -4px 0 16px; color: #59616e; font-size: 11px; line-height: 1.5; }
.co-tax-breakdown > span { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; }
.co-tax-breakdown b { color: #3d4652; font-weight: 650; white-space: nowrap; }
.co-tax-breakdown + .co-list-price { margin-top: 0; padding-top: 10px; border-top: 1px solid #e5e8ed; font-size: 12px; }
.co-tax-breakdown + .co-list-price:empty { border-color: transparent; }
.co-summary-saving strong > span { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; }
.co-option-selection { display: block; margin-top: auto; padding-top: 12px; border-top: 1px solid #e6e8ed; color: #626873; font-size: 11px; font-weight: 800; }
.co-option[aria-current="true"] .co-option-selection { color: var(--red); }
.co-option--unavailable { background: #f0f1f3; border-style: dashed; color: #666e78; }
.co-option-pending { font-size: 20px; line-height: 1.3; }
.co-price-note { margin: 15px 0 33px; color: #6a707b; font-size: 12px; line-height: 1.6; }
.co-form { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.co-info { padding: 28px; background: #fff; border: 1px solid #dfe2e7; }
.co-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.co-card-security + .co-fields { margin-top: 20px; }
.co-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.co-field label { font-size: 13px; font-weight: 700; }
.co-field input, .co-field textarea { width: 100%; min-height: 47px; padding: 12px; border: 1px solid #cfd4dc; border-radius: 0; background: #fff; color: var(--dark); font: inherit; font-size: 16px; }
.co-field select { width: 100%; min-height: 47px; padding: 12px; border: 1px solid #cfd4dc; border-radius: 0; background: #fff; color: var(--dark); font: inherit; font-size: 16px; }
.co-card-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.co-section-note { margin: -7px 0 23px; color: #69717b; font-size: 13px; line-height: 1.7; }
.co-card-security { display: flex; align-items: center; gap: 13px; padding: 17px; margin-top: 22px; background: #f7f8fa; border: 1px solid #e3e6eb; }
.co-card-security > span { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; background: #e9f2ec; color: #237347; font-size: 19px; font-weight: 800; }
.co-card-security p { margin: 0; }
.co-card-security strong { display: block; color: var(--dark); font-size: 13px; }
.co-card-security p > span { display: block; margin-top: 5px; color: #737983; font-size: 11px; line-height: 1.5; }
.co-billing-heading { padding-top: 28px; border-top: 1px solid #e1e4e9; margin-top: 28px; }
.co-summary-product { margin: 9px 0 17px; color: #bbc1cb; font-size: 12px; line-height: 1.5; }
.co-inline-error { padding: 15px; border: 1px solid #e8a3ab; background: #fff0f2; color: #9b1629; }
.co-inline-error ul { padding-left: 18px; margin: 8px 0 0; }
.co-pay-button:disabled { opacity: .65; cursor: wait; }
.co-form[aria-busy="true"] .co-field { opacity: .75; }
.site-page:has(.s360-checkout) .contact-dock, .site-page:has(.s360-checkout) .service-switch { display: none; }
.co-payment-help { display: block; margin-top: 22px; padding-top: 17px; border-top: 1px solid #ffffff26; color: #bdc4ce; text-align: center; font-size: 11px; text-decoration: none; }
.co-payment-help strong { display: block; margin-top: 6px; color: #fff; font-size: 16px; }
.co-field textarea { min-height: 120px; resize: vertical; }
.co-field--full { grid-column: 1 / -1; }
.co-summary { position: sticky; top: 130px; padding: 28px; background: var(--dark); color: #fff; }
.co-summary .eyebrow { color: #ff6474; font-size: 10px; }
.co-summary h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.co-summary-term { margin: 8px 0 25px; color: #e4e6eb; font-size: 17px; font-weight: 700; }
.co-summary-saving { padding: 14px 16px; margin: -8px 0 22px; background: #16653433; border-left: 3px solid #4ade80; color: #86efac; font-size: 12px; font-weight: 700; }
.co-summary-saving strong { display: block; margin-top: 5px; color: #fff; font-size: 19px; }
.co-summary-saving small { display: block; margin-top: 5px; color: #e2e5eb; font-size: 13px; font-weight: 700; }
.co-summary dl { margin: 0; }
.co-summary dl > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 13px; }
.co-summary dt { color: #bfc4ce; }
.co-summary dd { margin: 0; color: #fff; font-weight: 700; white-space: nowrap; }
.co-summary .co-grand-total { display: block; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid #ffffff26; }
.co-grand-total dd { margin-top: 8px; font-size: clamp(27px, 2.8vw, 36px); letter-spacing: -.03em; }
.co-installments { margin: 20px 0 24px; padding: 14px 16px; background: #ffffff0d; border-left: 3px solid var(--red); font-size: 14px; font-weight: 800; }
.co-installments strong { display: block; margin-top: 7px; font-size: 22px; }
.co-installments small { display: block; margin-top: 7px; color: #bfc4ce; font-size: 10px; font-weight: 400; line-height: 1.5; }
.co-checkbox { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; color: #d3d6dd; font-size: 11px; line-height: 1.6; }
.co-checkbox input { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--red); }
.co-checkbox a { color: #fff; text-underline-offset: 3px; }
.co-pay-button { display: flex; align-items: center; justify-content: center; gap: 15px; width: 100%; min-height: 55px; margin-top: 22px; padding: 14px 10px; border: 0; background: var(--red); color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.co-pay-button:hover { background: #b70718; }
.co-pay-button span { font-size: 23px; }
.co-pay-note { margin: 12px 0 0; color: #bfc4ce; font-size: 10px; text-align: center; }
.co-info .errors { margin-bottom: 20px; font-size: 13px; line-height: 1.5; }
.co-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.s360-checkout a:focus-visible, .s360-checkout input:focus-visible, .s360-checkout select:focus-visible, .s360-checkout textarea:focus-visible, .s360-checkout button:focus-visible { outline: 3px solid #ee8791; outline-offset: 3px; }
@media (max-width: 1050px) { .co-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } .co-option-amount { font-size: 30px; } .co-form { grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr); gap: 18px; } .co-info, .co-summary { padding: 23px; } }
@media (max-width: 760px) { .s360-checkout { padding: 27px 0 40px; } .co-heading { display: block; margin-bottom: 27px; } .co-heading p:not(.eyebrow) { font-size: 14px; } .co-secure { display: inline-block; margin-top: 20px; padding: 12px 15px; font-size: 16px; } .co-form { grid-template-columns: 1fr; } .co-summary { position: static; } .co-heading h1 { font-size: 39px; } .co-step h2 { font-size: 20px; } }
@media (max-width: 480px) { .co-options { gap: 10px; } .co-option { padding: 14px 11px; min-height: 220px; } .co-option-title { min-height: 45px; font-size: 17px; } .co-option-title i { flex-basis: 15px; height: 15px; } .co-option-amount { font-size: 23px; } .co-option-caption { font-size: 9px; } .co-option-total { font-size: 10px; } .co-option-pending { font-size: 18px; } .co-option-selection { font-size: 10px; } .co-info, .co-summary { padding: 20px; } .co-fields { grid-template-columns: 1fr; gap: 15px; } .co-summary h2 { font-size: 27px; } }
@media (max-width: 360px) { .co-option-amount { font-size: 19px; } .co-option-title { font-size: 15px; } .co-option-pending { font-size: 16px; } .co-heading h1 { font-size: 34px; } }
@media (max-width: 480px) { .co-option-caption { font-size: 11px; } .co-option-total { font-size: 12px; } }
@media (max-width: 1050px) { .co-card-fields { column-gap: 9px; } .co-card-fields label { font-size: 11px; } .co-card-fields select { padding: 12px 6px; } }
@media (max-width: 480px) { .co-card-fields { gap: 15px 9px; } .co-card-fields .co-field--full label { font-size: 13px; } .co-billing-heading h2 { font-size: 19px; } }

/* Checkout only: compact mobile contact actions in the bottom-right safe area. */
@media (max-width: 760px) {
 body.site-page:has(.s360-checkout) .contact-dock {
  position: fixed; display: flex; top: auto; left: auto;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  transform: none; width: auto; max-width: none; gap: 8px;
  margin: 0; padding: 0; background: transparent; box-shadow: none;
 }
 body.site-page:has(.s360-checkout) .contact-dock :is(.contact-call, .whatsapp-float) {
  position: relative; inset: auto; transform: none; display: flex; flex-direction: row; align-items: center; justify-content: center;
  flex: 0 0 50px; width: 50px; min-width: 50px; height: 50px; min-height: 50px;
  padding: 0; gap: 0; border: 2px solid #fff; border-radius: 50%;
  box-shadow: 0 4px 16px #17233126;
 }
 body.site-page:has(.s360-checkout) .contact-dock .contact-call strong,
 body.site-page:has(.s360-checkout) .contact-dock .whatsapp-float > span {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
 }
 body.site-page:has(.s360-checkout) .contact-dock .contact-call > span { font-size: 24px; line-height: 1; }
 body.site-page:has(.s360-checkout) .contact-dock .whatsapp-float svg { width: 25px; height: 25px; flex-basis: 25px; }
 body.site-page:has(.s360-checkout) .contact-dock a:focus-visible { outline-offset: 3px; }
 .s360-checkout .co-pay-button, .s360-checkout .co-field { scroll-margin-bottom: 90px; }
 /* Keep the keyboard/input area clear while the customer enters payment details. */
 body.site-page:has(.s360-checkout .co-field :is(input:focus, select:focus, textarea:focus)) .contact-dock { display: none; }
}
