:root {
   color-scheme: light;
   --bg: #f5f5f5;
   --surface: #ffffff;
   --text: #111111;
   --muted: #6b7280;
   --primary: #2563eb;
   --primary-hover: #1d4ed8;
   --success: #15803d;
   --error: #b91c1c;
   --border: #e5e7eb;
   --radius: 12px;
   --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
   font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
   box-sizing: border-box;
}

body {
   margin: 0;
   min-height: 100vh;
   background: var(--bg);
   color: var(--text);
}

.checkout {
   max-width: 640px;
   margin: 2rem auto;
   padding: 0 1rem 3rem;
   width: 100%;
   overflow-x: clip;
}

.checkout.checkout--columns-2 {
   max-width: 1080px;
}

.checkout__layout {
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
}

.checkout__main {
   min-width: 0;
}

.checkout__summary {
   min-width: 0;
}

.checkout.checkout--columns-2 .checkout__layout {
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
   gap: 2rem;
   align-items: start;
}

.checkout.checkout--columns-2 .checkout__main {
   grid-column: 1;
   grid-row: 1;
}

.checkout.checkout--columns-2 .checkout__summary {
   grid-column: 2;
   grid-row: 1;
   position: sticky;
   top: 1.5rem;
}

@media (max-width: 860px) {
   .checkout.checkout--columns-2 {
      max-width: 100%;
   }

   .checkout.checkout--columns-2 .checkout__layout {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      width: 100%;
   }

   .checkout.checkout--columns-2 .checkout__main,
   .checkout.checkout--columns-2 .checkout__summary {
      grid-column: auto;
      grid-row: auto;
      width: 100%;
      max-width: 100%;
      min-width: 0;
   }

   .checkout.checkout--columns-2 .checkout__main {
      order: 2;
   }

   .checkout.checkout--columns-2 .checkout__summary {
      order: 1;
      position: static;
      top: auto;
   }

   .checkout.checkout--columns-2 .checkout__product-headers {
      margin-bottom: 0;
   }
}

.checkout__header {
   display: none;
}

.checkout__section-heading {
   display: none;
}

.checkout__top {
   margin-bottom: 0;
   padding-bottom: 0;
   border-bottom: none;
}

.checkout__product-headers {
   margin-bottom: 1.25rem;
   padding: 1.25rem;
   border: 1px solid var(--border);
   border-radius: var(--radius);
   background: var(--surface);
   box-shadow: var(--shadow);
}

.checkout.checkout--columns-2 .checkout__product-headers {
   margin-bottom: 0;
}

.checkout__country-row {
   display: flex;
   justify-content: flex-end;
   margin-bottom: 1rem;
}

.checkout__country-row .checkout-country__trigger {
   padding: 0;
   font-size: 0.875rem;
   line-height: 1.25;
}

.checkout__product-headers-title {
   margin: 0 0 0.65rem;
   font-size: 0.75rem;
   font-weight: 600;
   line-height: 1.25;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   color: var(--muted);
}

.checkout__product-list {
   display: flex;
   flex-direction: column;
}

.checkout__product-header {
   display: flex;
   align-items: center;
   gap: 0.85rem;
   padding: 0.7rem 0;
}

.checkout__product-header + .checkout__product-header {
   border-top: 1px solid rgba(216, 222, 233, 0.85);
}

.checkout__order-bumps {
   display: flex;
   flex-direction: column;
   gap: 0.75rem;
   margin: 0;
}

.checkout__order-bumps-title {
   margin: 0;
   font-size: 1rem;
   font-weight: 650;
}

.checkout__order-bumps-hint {
   margin: 0;
   font-size: 0.8125rem;
   color: var(--muted);
   line-height: 1.4;
}

.checkout__order-bump {
   display: flex;
   flex-direction: column;
   border: 1.5px solid color-mix(in srgb, var(--primary) 42%, var(--border));
   border-radius: var(--radius);
   background: var(--surface);
   overflow: hidden;
}

.checkout__order-bump.is-selected {
   background: color-mix(in srgb, var(--primary) 7%, var(--surface));
   border-color: color-mix(in srgb, var(--primary) 70%, var(--border));
}

.checkout__order-bump-body {
   display: flex;
   align-items: flex-start;
   justify-content: flex-start;
   gap: 0.85rem;
   padding: 0.85rem 1rem;
}

.checkout__order-bump-body > .checkout__product-media {
   align-self: flex-start;
}

.checkout__order-bump-copy {
   min-width: 0;
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: stretch;
   text-align: left;
}

.checkout__order-bump-name {
   margin: 0;
   font-size: 0.95rem;
   font-weight: 650;
   line-height: 1.3;
}

.checkout__order-bump-price {
   margin: 0.35rem 0 0;
   font-size: 0.95rem;
   font-weight: 700;
}

label.checkout__order-bump-action {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   align-items: center;
   justify-content: flex-start;
   align-self: flex-start;
   width: max-content;
   max-width: 100%;
   gap: 0.25rem 0.5rem;
   margin: 0.5rem 0 0;
   padding: 0;
   background: none;
   border: 0;
   font-size: 0.8125rem;
   font-weight: 600;
   line-height: 1.3;
   text-align: left;
   cursor: pointer;
}

.checkout__order-bump-action input {
   width: 1.05rem;
   height: 1.05rem;
   margin: 0;
   flex-shrink: 0;
   accent-color: var(--primary);
   cursor: pointer;
}

.checkout__order-bump-action-text {
   min-width: 0;
}

.checkout__order-totals {
   display: flex;
   flex-direction: column;
   gap: 0.55rem;
   margin-top: 0.85rem;
   padding-top: 0.85rem;
   border-top: 1px solid var(--border);
}

.checkout__order-total-row {
   display: flex;
   align-items: baseline;
   justify-content: space-between;
   gap: 0.75rem 1rem;
   flex-wrap: wrap;
}

.checkout__order-total-label {
   font-size: 0.8125rem;
   font-weight: 600;
   color: var(--muted);
   flex: 1 1 8rem;
   min-width: 0;
}

.checkout__order-total-row--emphasis .checkout__order-total-label {
   font-size: 0.875rem;
   color: var(--text);
}

.checkout__order-total-value {
   font-size: 0.9375rem;
   font-weight: 700;
   color: var(--text);
   text-align: right;
   flex: 0 1 auto;
   min-width: 0;
}

.checkout__order-total-row--emphasis .checkout__order-total-value {
   font-size: 1.0625rem;
}

.checkout__order-total-row--muted .checkout__order-total-value {
   font-size: 0.875rem;
   font-weight: 600;
   color: var(--muted);
}

.checkout__fx-disclaimer {
   margin: 0.15rem 0 0;
   font-size: 0.75rem;
   line-height: 1.45;
   color: var(--muted);
}

.checkout__product-media {
   flex-shrink: 0;
   width: 72px;
   height: 72px;
   border-radius: 10px;
   overflow: hidden;
   border: 1px solid var(--border);
   background: #fff;
}

.checkout__product-media img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.checkout__product-media--empty {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 0.3rem;
   padding: 0.35rem;
   background: #f1f5f9;
   color: #94a3b8;
}

.checkout__product-media--empty svg {
   width: 22px;
   height: 22px;
}

.checkout__product-media--empty span {
   font-size: 0.625rem;
   font-weight: 600;
   line-height: 1.1;
   text-align: center;
}

.checkout__product-body {
   flex: 1;
   min-width: 0;
   display: flex;
   flex-direction: column;
   gap: 0.2rem;
}

.checkout__product-name {
   margin: 0;
   font-size: 0.9375rem;
   font-weight: 600;
   line-height: 1.35;
   color: var(--text);
}

.checkout__product-qty {
   margin-left: 0.35rem;
   font-size: 0.8125rem;
   font-weight: 500;
   color: var(--muted);
}

.checkout__product-pricing {
   display: flex;
   flex-direction: column;
   gap: 0.2rem;
}

.checkout__product-pricing--split {
   flex-direction: row;
   flex-wrap: wrap;
   align-items: baseline;
   gap: 0.5rem 1.15rem;
}

.checkout__product-price-block {
   display: inline-flex;
   flex-wrap: wrap;
   align-items: baseline;
   gap: 0.25rem 0.35rem;
   min-width: 0;
}

.checkout__product-pricing--split .checkout__product-price-block {
   flex: 1 1 9.5rem;
}

.checkout__product-price-block--unit {
   color: var(--muted);
}

.checkout__product-price-block--unit .checkout__product-price-amount {
   font-weight: 600;
   color: var(--text);
}

.checkout__product-price-block--total .checkout__product-price-caption {
   color: var(--text);
}

.checkout__product-price-block--total .checkout__product-price-amount {
   font-weight: 700;
}

.checkout__product-price {
   margin: 0;
   display: flex;
   flex-wrap: wrap;
   align-items: baseline;
   gap: 0.3rem;
   font-size: 0.9375rem;
   line-height: 1.3;
}

.checkout__product-price--unit {
   color: var(--muted);
}

.checkout__product-price--unit .checkout__product-price-amount {
   font-weight: 600;
   color: var(--text);
}

.checkout__product-price-caption {
   font-size: 0.6875rem;
   font-weight: 600;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   color: var(--muted);
}

.checkout__product-pricing:not(.checkout__product-pricing--split) .checkout__product-price-caption {
   flex: 0 0 100%;
}

.checkout__product-price--total .checkout__product-price-caption {
   color: var(--text);
}

.checkout__product-price-amount {
   font-weight: 700;
   color: var(--text);
   font-size: 0.9375rem;
}

.checkout__product-price-term {
   font-size: 0.8125rem;
   font-weight: 500;
   color: var(--muted);
}

.checkout__section--personal {
   margin-top: 1.5rem;
   padding-top: 0;
}

.checkout__country-row.checkout__hidden + .checkout__section--personal,
.checkout__country-row[hidden] + .checkout__section--personal {
   margin-top: 0;
}

.checkout__section--personal h2 {
   margin-bottom: 1rem;
}

.checkout__address-fields {
   margin-top: 0.15rem;
}

.checkout__address-details {
   display: flex;
   flex-direction: column;
   gap: 0;
}

.checkout__field-hint {
   margin: -0.35rem 0 0.65rem;
   font-size: 0.8125rem;
   color: var(--muted);
}

.checkout__field-hint--error {
   color: var(--error);
}

.checkout__field--locked input[readonly],
.checkout__field--locked select:disabled {
   background: #f8fafc;
   color: var(--text);
   cursor: default;
}

.checkout__section--personal + .checkout__section {
   margin-top: 1.5rem;
   padding-top: 1.5rem;
   border-top: 1px solid var(--border);
}

.checkout__form,
.checkout__result,
.checkout__pix-result {
   background: var(--surface);
   border: 1px solid var(--border);
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   padding: 1.5rem;
   position: relative;
}

.checkout__form-toolbar {
   display: none;
}

.checkout-country {
   position: relative;
}

.checkout-country__trigger {
   display: inline-flex;
   align-items: center;
   gap: 0.45rem;
   padding: 0.35rem 0.5rem;
   border: none;
   border-radius: 8px;
   background: transparent;
   color: var(--text);
   font: inherit;
   font-size: 0.875rem;
   font-weight: 600;
   cursor: pointer;
}

.checkout-country__trigger:hover {
   background: rgba(37, 99, 235, 0.06);
}

.checkout-country__flag {
   width: 20px;
   height: 15px;
   box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.checkout-country__chevron {
   width: 0;
   height: 0;
   border-left: 4px solid transparent;
   border-right: 4px solid transparent;
   border-top: 5px solid var(--text);
   margin-left: 0.1rem;
}

.checkout-country__dropdown {
   position: absolute;
   top: calc(100% + 0.35rem);
   right: 0;
   z-index: 30;
   width: min(320px, calc(100vw - 2rem));
   padding: 0.65rem;
   border: 1px solid var(--border);
   border-radius: 10px;
   background: #fff;
   box-shadow: var(--shadow);
}

.checkout-country__search {
   width: 100%;
   margin-bottom: 0.55rem;
   font: inherit;
   padding: 0.55rem 0.65rem;
   border: 1px solid var(--border);
   border-radius: 8px;
}

.checkout-country__list {
   list-style: none;
   margin: 0;
   padding: 0;
   max-height: 240px;
   overflow-y: auto;
}

.checkout-country__option,
.checkout-country__empty {
   display: flex;
   align-items: center;
   gap: 0.55rem;
   padding: 0.55rem 0.45rem;
   border-radius: 8px;
   font-size: 0.875rem;
}

.checkout-country__option {
   cursor: pointer;
}

.checkout-country__option:hover,
.checkout-country__option--selected {
   background: rgba(37, 99, 235, 0.08);
}

.checkout-country__option-flag {
   flex: 0 0 auto;
   box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.checkout-country__option-name {
   flex: 1;
   min-width: 0;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

.checkout-country__option-dial {
   color: var(--muted);
   font-size: 0.8rem;
   font-weight: 500;
}

.checkout-country__empty {
   color: var(--muted);
   justify-content: center;
}

.checkout__pix-result {
   margin-top: 1rem;
}

.checkout__pix-result h2 {
   margin-top: 0;
}

.checkout__section + .checkout__section {
   margin-top: 1.5rem;
   padding-top: 1.5rem;
   border-top: 1px solid var(--border);
}

.checkout__section h2 {
   margin: 0 0 1rem;
   font-size: 1rem;
   line-height: 1.25;
   text-transform: uppercase;
   letter-spacing: 0.04em;
   color: var(--muted);
}

label {
   display: flex;
   flex-direction: column;
   gap: 0.35rem;
   margin-bottom: 0.85rem;
   font-size: 0.9rem;
   font-weight: 600;
}

.checkout__field-error {
   color: var(--error);
   font-size: 0.8rem;
   font-weight: 500;
   line-height: 1.3;
}

.checkout__paypal-button {
   min-height: 48px;
}

.checkout__stripe-element {
   padding: 0.8rem 0.75rem;
   border: 1px solid var(--border);
   border-radius: 8px;
   background: #fff;
}

.checkout__stripe-element.StripeElement--focus {
   outline: 2px solid color-mix(in srgb, var(--primary) 28%, transparent);
   border-color: var(--primary);
}

.checkout__field--invalid .checkout__stripe-element {
   border-color: var(--error);
}

.checkout__field--invalid input,
.checkout__field--invalid select,
.checkout__field--invalid .iti__tel-input {
   border-color: var(--error);
}

.checkout__field--invalid input:focus,
.checkout__field--invalid select:focus,
.checkout__field--invalid .iti__tel-input:focus {
   outline: 2px solid rgba(185, 28, 28, 0.2);
   border-color: var(--error);
}

input,
select {
   font: inherit;
   padding: 0.65rem 0.75rem;
   border: 1px solid var(--border);
   border-radius: 8px;
   background: #fff;
}

input:focus,
select:focus {
   outline: 2px solid color-mix(in srgb, var(--primary) 28%, transparent);
   border-color: var(--primary);
}

.checkout__phone-wrap {
   display: block;
}

.checkout__phone-wrap .iti {
   width: 100%;
   display: block;
}

.checkout__phone-wrap .iti__tel-input {
   width: 100%;
   font: inherit;
   padding: 0.65rem 0.75rem;
   border: 1px solid var(--border);
   border-radius: 8px;
   background: #fff;
}

.checkout__phone-wrap .iti__tel-input:focus {
   outline: 2px solid rgba(37, 99, 235, 0.25);
   border-color: var(--primary);
}

.checkout__phone-wrap .iti__country-container {
   border-radius: 8px 0 0 8px;
}

.checkout__phone-wrap .iti__selected-country {
   border-radius: 8px 0 0 8px;
   padding-left: 0.35rem;
}

.checkout__phone-wrap .iti__dropdown-content {
   border-radius: 8px;
   border-color: var(--border);
   box-shadow: var(--shadow);
   max-height: 240px;
}

.checkout__phone-wrap .iti__search-input {
   font: inherit;
   padding: 0.55rem 0.65rem;
   border: 1px solid var(--border);
   border-radius: 6px;
}

.checkout__phone-wrap .iti__country.iti__highlight {
   background: rgba(37, 99, 235, 0.08);
}

.checkout__row {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
   gap: 0.75rem;
}

.checkout__row--split {
   grid-template-columns: minmax(0, 1fr) minmax(96px, 120px);
}

.checkout__row--tax-phone {
   grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
   margin-bottom: 0.85rem;
}

.checkout__row--tax-phone.checkout__row--single {
   grid-template-columns: minmax(0, 1fr);
}

.checkout__row--tax-phone > .checkout__field {
   margin-bottom: 0;
   min-width: 0;
}

.checkout__field--grow {
   min-width: 0;
}

.checkout__field--number input {
   text-align: center;
}

.checkout__payment-methods {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
   gap: 0.75rem;
   margin-bottom: 1.25rem;
}

.checkout__payment-method {
   display: block;
   margin: 0;
   cursor: pointer;
   font-weight: 600;
}

.checkout__payment-method input {
   position: absolute;
   opacity: 0;
   pointer-events: none;
}

.checkout__payment-method__box {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 0.65rem;
   min-height: 5.5rem;
   padding: 0.85rem 0.75rem;
   border: 1px solid var(--border);
   border-radius: 10px;
   background: color-mix(in srgb, var(--primary) 4%, var(--surface));
   color: var(--text);
   text-align: center;
   transition:
      background 0.15s ease,
      border-color 0.15s ease,
      color 0.15s ease,
      box-shadow 0.15s ease;
}

.checkout__payment-method__icon {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 2rem;
   height: 2rem;
   color: inherit;
}

.checkout__payment-method__icon svg {
   width: 100%;
   height: 100%;
}

.checkout__payment-method__icon--pix {
   width: 2.15rem;
   height: 2.15rem;
}

.checkout__payment-method__label {
   font-size: 0.8125rem;
   line-height: 1.25;
}

.checkout__payment-method:hover .checkout__payment-method__box {
   border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
   background: color-mix(in srgb, var(--primary) 10%, var(--surface));
}

.checkout__payment-method:has(input:checked) .checkout__payment-method__box {
   background: var(--primary);
   border-color: var(--primary-hover);
   color: #fff;
   box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 24%, transparent);
}

.checkout__payment-method:has(input:focus-visible) .checkout__payment-method__box {
   outline: 2px solid color-mix(in srgb, var(--primary) 40%, transparent);
   outline-offset: 2px;
}

.checkout__payment-panel {
   animation: checkout-payment-panel-in 0.18s ease;
}

.checkout__card-component {
   display: block;
   width: 100%;
   min-height: 88px;
   border: 0;
   background: transparent;
   color-scheme: normal;
}

.checkout__form--payment-result > :not(.checkout__section--payment) {
   display: none !important;
}

.checkout__form--payment-result .checkout__payment-methods,
.checkout__form--payment-result .checkout__section--payment > h2,
.checkout__form--payment-result #payment-methods-empty {
   display: none !important;
}

.checkout__payment-panel.checkout__hidden {
   display: none;
}

.checkout__payment-panel__hint {
   margin: 0;
   padding: 0.85rem 1rem;
   border: 1px solid var(--border);
   border-radius: 8px;
   background: #f8fafc;
   color: var(--muted);
   font-size: 0.875rem;
   line-height: 1.5;
}

.checkout__row--card-details {
   grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1.35fr);
}

.checkout__section--payment .checkout__payment-panel .checkout__row:last-child .checkout__field {
   margin-bottom: 0;
}

.checkout__field--installments select {
   width: 100%;
}

@keyframes checkout-payment-panel-in {
   from {
      opacity: 0;
      transform: translateY(-4px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.checkout__pix-option {
   opacity: 0.55;
}

.checkout__pix-qr {
   display: block;
   max-width: 240px;
   margin: 1rem auto;
   border-radius: 8px;
}

.checkout__pix-copy textarea {
   font: inherit;
   padding: 0.65rem 0.75rem;
   border: 1px solid var(--border);
   border-radius: 8px;
   resize: vertical;
   width: 100%;
}

.checkout__submit--secondary {
   margin-top: 0.75rem;
   background: #fff;
   color: var(--primary);
   border: 1px solid var(--primary);
}

.checkout.checkout--booting #checkout-content,
.checkout.checkout--booting #checkout-unavailable {
   visibility: hidden;
}

.checkout__form-tail {
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
   margin-top: 1.5rem;
}

.checkout__form-submit {
   display: flex;
   flex-direction: column;
   gap: 0.75rem;
}

.checkout__form-submit .checkout__submit {
   margin-top: 0;
}

.checkout__pre-purchase {
   margin: 0;
   padding: 0.875rem 1rem;
   border-radius: 8px;
   background: #f8fafc;
   border: 1px solid var(--border);
   color: var(--muted);
   font-size: 0.925rem;
   line-height: 1.5;
   white-space: pre-wrap;
}

.checkout__consent {
   display: flex;
   align-items: flex-start;
   gap: 0.625rem;
   margin: 0.75rem 0 0;
   padding: 0.75rem 0.875rem;
   border: 1px solid var(--border);
   border-radius: 0.5rem;
   background: #f8fafc;
   color: var(--text);
   font-size: 0.875rem;
   line-height: 1.45;
   cursor: pointer;
}

.checkout__consent input {
   margin-top: 0.2rem;
   flex-shrink: 0;
}

.checkout__legal {
   margin: 0;
   color: var(--muted);
   font-size: 0.8125rem;
   line-height: 1.45;
   text-align: center;
}

.checkout__legal a {
   color: var(--primary);
   text-decoration: underline;
}

.checkout__legal a:hover {
   color: var(--primary-hover);
}

.checkout__social {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 0.75rem;
   margin-top: 1.5rem;
   padding-top: 1rem;
}

.checkout__social-link {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 2.5rem;
   height: 2.5rem;
   border-radius: 999px;
   border: 1px solid var(--border);
   background: var(--surface);
   color: var(--muted);
   text-decoration: none;
   transition:
      color 0.15s ease,
      border-color 0.15s ease,
      background 0.15s ease;
}

.checkout__social-link:hover {
   color: var(--primary);
   border-color: #c7d2fe;
   background: #eef2ff;
}

.checkout__social-link svg,
.checkout__social-link .checkout__social-icon {
   display: block;
   width: 1.125rem;
   height: 1.125rem;
   flex-shrink: 0;
}

.checkout__submit {
   width: 100%;
   margin-top: 1rem;
   padding: 0.9rem 1rem;
   border: none;
   border-radius: 8px;
   background: var(--primary);
   color: #fff;
   font-size: 1rem;
   font-weight: 700;
   cursor: pointer;
}

.checkout__submit:hover:not(:disabled) {
   background: var(--primary-hover);
}

.checkout__submit:disabled {
   opacity: 0.65;
   cursor: not-allowed;
}

.checkout__status {
   margin: 0.75rem 0 0;
   padding: 0.75rem;
   border-radius: 8px;
   background: #eff6ff;
   color: #1e40af;
   font-size: 0.95rem;
}

.checkout__status--error {
   background: #fef2f2;
   color: var(--error);
}

.checkout__status--success {
   background: #f0fdf4;
   color: var(--success);
}

.checkout__notice {
   margin: 0 0 1rem;
   padding: 0.85rem 1rem;
   border-radius: 10px;
   border: 1px solid #fde68a;
   background: #fffbeb;
   color: #92400e;
}

.checkout__notice-title {
   margin: 0 0 0.35rem;
   font-size: 0.8125rem;
   font-weight: 700;
   letter-spacing: 0.02em;
   text-transform: uppercase;
}

.checkout__notice-body {
   margin: 0;
   font-size: 0.875rem;
   line-height: 1.45;
}

.checkout--correction.checkout--booting #correction-content {
   visibility: hidden;
}

.checkout__correction-header {
   margin-bottom: 1.5rem;
   padding: 1.25rem 1.5rem;
   border: 1px solid var(--border);
   border-radius: var(--radius);
   background: var(--surface);
   box-shadow: var(--shadow);
}

.checkout__correction-identity {
   margin: 1rem 0 0.75rem;
}

.checkout__correction-subscription {
   margin: 0 0 0.25rem;
   font-size: 1.0625rem;
   font-weight: 600;
   color: var(--text);
}

.checkout__correction-customer {
   margin: 0;
   font-size: 0.9375rem;
   color: var(--muted);
}

.checkout--correction .checkout__product-header--compact {
   padding: 0.75rem 0;
   border-bottom: 1px solid var(--border);
}

.checkout--correction .checkout__product-header--compact:last-child {
   border-bottom: none;
   padding-bottom: 0;
}

.checkout--correction .checkout__product-list {
   margin-top: 0.75rem;
}

.checkout--correction .checkout__section h2 {
   margin: 0 0 0.35rem;
   font-size: 1.125rem;
}

.checkout--correction .checkout__section.checkout__section--personal {
   margin-top: 0;
   padding-top: 0;
   border-top: none;
}

.checkout__hidden,
[hidden] {
   display: none !important;
}

.checkout__unavailable {
   margin-top: 2rem;
   padding: 1.75rem 1.5rem;
   border: 1px solid var(--border);
   border-radius: var(--radius);
   background: var(--surface);
   box-shadow: var(--shadow);
   text-align: center;
}

.checkout__unavailable h1 {
   margin: 0 0 0.75rem;
   font-size: 1.35rem;
   color: var(--text);
}

.checkout__unavailable p {
   margin: 0;
   color: var(--muted);
   line-height: 1.5;
   font-size: 1rem;
}

.checkout__result h2 {
   margin-top: 0;
}

@media (max-width: 480px) {
   .checkout {
      margin-top: 1rem;
      padding-inline: 0.75rem;
   }

   .checkout.checkout--columns-2 .checkout__layout {
      gap: 1rem;
   }

   .checkout__section-heading {
      grid-template-columns: 1fr;
   }

   .checkout__section--personal .checkout-country {
      justify-self: start;
   }

   .checkout__product-headers {
      padding: 1rem;
   }

   .checkout__product-media {
      width: 64px;
      height: 64px;
   }

   .checkout__product-name {
      font-size: 0.875rem;
   }

   .checkout__product-price {
      font-size: 0.875rem;
   }

   .checkout__product-pricing--split {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.35rem;
   }

   .checkout__product-pricing--split .checkout__product-price-block {
      flex: 1 1 auto;
      width: 100%;
   }

   .checkout__form,
   .checkout__result,
   .checkout__pix-result {
      padding: 1rem;
   }

   .checkout__payment-methods {
      grid-template-columns: 1fr 1fr;
   }

   .checkout__row--card-details {
      grid-template-columns: 1fr 1fr;
   }

   .checkout__field--installments {
      grid-column: 1 / -1;
   }
}

.checkout__coupon-row {
   display: flex;
   flex-wrap: wrap;
   gap: 0.75rem;
   align-items: flex-end;
}

.checkout__coupon-btn {
   border: 0;
   border-radius: 8px;
   background: var(--primary);
   color: #fff;
   font: inherit;
   font-weight: 600;
   padding: 0.7rem 1rem;
   cursor: pointer;
}

.checkout__coupon-btn:hover {
   background: var(--primary-hover);
}

.checkout__coupon-btn--ghost {
   background: transparent;
   color: var(--primary);
   border: 1px solid var(--border);
}
