/* All checkout steps use the shared TEA tokens and button system. */
.tea-checkout {
    padding: 40px 0 64px;
    background: var(--tea-page);
    color: var(--tea-color-text-primary);
    font-family: var(--tea-font-family);
}
.tea-checkout__progress { margin-bottom: 32px; }
.tea-checkout__progress ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.tea-checkout__progress li { border-bottom: 2px solid var(--tea-border); padding-bottom: 16px; }
.tea-checkout__progress li[aria-current] { border-color: var(--tea-accent); }
.tea-checkout__progress a,
.tea-checkout__progress li > span { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 18px; color: var(--tea-muted); }
.tea-checkout__progress a { color: var(--tea-brand); }
.tea-checkout__step-number { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--tea-border); border-radius: 50%; font-weight: 600; }
.tea-checkout__progress [aria-current] .tea-checkout__step-number { background: var(--tea-brand); border-color: var(--tea-brand); color: var(--tea-surface); }
.tea-checkout__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.tea-checkout__card,
.tea-checkout__summary { min-width: 0; background: var(--tea-surface); border: 1px solid var(--tea-border); border-radius: var(--tea-radius-card); }
.tea-checkout__card { padding: 32px; }
.tea-checkout__eyebrow { font-size: 12px; line-height: 18px; font-weight: 600; color: var(--tea-muted); margin-bottom: 12px; }
.tea-checkout h1 { margin: 0 0 24px; font: 600 28px/1.3 var(--tea-font-family); overflow-wrap: anywhere; }
.tea-checkout__details { display: flex; flex-wrap: wrap; gap: 20px 32px; padding: 0 0 24px; margin: 0 0 24px; border-bottom: 1px solid var(--tea-border); }
.tea-checkout__details dt,
.tea-checkout__label { display: block; margin: 0 0 8px; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--tea-muted); }
.tea-checkout__details dd { font-size: 14px; line-height: 20px; margin: 0; }
.tea-checkout__fields { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.tea-checkout__unit-price { flex: 1; min-width: 140px; }
.tea-checkout__unit-price strong { font-size: 26px; line-height: 44px; font-weight: 600; color: var(--tea-brand); }
.tea-checkout select { min-width: 100px; max-width: 100%; height: 44px; padding: 8px 32px 8px 12px; border: 1px solid var(--tea-border); border-radius: 8px; background-color: var(--tea-surface); font: 400 16px/24px var(--tea-font-family); color: var(--tea-brand); }
.tea-checkout select:focus-visible { outline: 2px solid var(--tea-brand); outline-offset: 2px; }
.tea-checkout__card .form-group label { display: block; margin: 0 0 8px; color: var(--tea-muted); font: 400 13px/18px var(--tea-font-family); }
.tea-checkout__card input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
.tea-checkout__card textarea {
    border: 1px solid var(--tea-border);
    border-radius: var(--tea-radius-control);
    padding: 10px 12px;
    background: var(--tea-surface);
    color: var(--tea-brand);
    font: 400 16px/24px var(--tea-font-family);
    min-width: 0;
}
.tea-checkout__card input[readonly] { background: var(--tea-subtle) !important; color: var(--tea-muted) !important; }
.tea-checkout__card textarea { display: block; resize: vertical; }
.tea-checkout__card input:focus-visible,
.tea-checkout__card textarea:focus-visible { outline: 2px solid var(--tea-brand); outline-offset: 2px; }
.tea-checkout__section-title { font: 600 20px/28px var(--tea-font-family); color: var(--tea-brand); }
.tea-checkout__card .border-grey { border-color: var(--tea-border); border-radius: var(--tea-radius-card); }
.tea-checkout__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--tea-border); }
.tea-checkout__actions .tea-button { gap: 12px; }
.tea-checkout__summary { overflow: hidden; }
.tea-checkout__summary > div { max-width: none; width: 100%; padding: 24px !important; background: transparent; }
.tea-checkout__summary .sticky-top-panel { position: static; min-height: 0; }
.tea-checkout__summary .img-block-rel { border-radius: 8px; overflow: hidden; }
.tea-checkout__summary [id="display-total"] { color: var(--tea-brand); font-size: 22px; white-space: nowrap; }
.tea-checkout__summary .t-m_b-16 { border-top: 1px solid var(--tea-border); padding-top: 20px; gap: 12px; flex-wrap: wrap; }
.tea-checkout__summary .t-m_r-14.d-flex { gap: 12px; }
.tea-checkout__summary .t-m_r-14.d-flex > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.tea-checkout__summary .t-m_r-14.d-flex > span:last-child { white-space: nowrap; }
@media (max-width: 991.98px) {
    .tea-checkout__layout { grid-template-columns: minmax(0, 1fr) 280px; }
    .tea-checkout__card { padding: 24px; }
}
@media (max-width: 767.98px) {
    .tea-checkout { padding: 24px 0 40px; }
    .tea-checkout__progress ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .tea-checkout__layout { grid-template-columns: minmax(0, 1fr); }
    .tea-checkout h1 { font-size: 23px; }
    .tea-checkout__card { padding: 20px; }
    .tea-checkout__summary .img-block-rel { display: none; }
    .tea-checkout__actions .tea-button { width: 100%; justify-content: center; }
    .tea-checkout__action { width: 100%; }
    .tea-checkout__card .border-grey { padding: 16px !important; }
    .tea-checkout__section-title { font-size: 18px; line-height: 24px; }
}
