/* 2cool2026 — shopping cart, checkout registration/login and payment.
 *
 * Built from the "Shopping Cart" frames (empty, bundle, registration, payment,
 * add promo code, promo code used) in the 2Cool Traffic School — Site Figma file.
 *
 * Loaded after 2C-login.css, which owns the --tc26-* tokens, the .tc-field
 * input shell. Everything here is scoped under .tc-checkout.
 */

.tc-checkout {
    /* The pale yellow ground from the design: bundle note, terms, review pill. */
    --tc26-yellow: #f5f8e3;
    width: 100%;
    padding: 56px 16px 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--tc26-font);
    color: var(--tc26-ink);
}

.tc-checkout *,
.tc-checkout *::before,
.tc-checkout *::after {
    box-sizing: border-box;
}

.tc-checkout__logo {
    display: block;
    margin-bottom: 56px;
}

.tc-checkout__logo img {
    display: block;
    height: 48px;
    width: auto;
}

.tc-checkout form {
    width: 100%;
    margin: 0;
}

/* ---------- Layout ---------- */

.tc-checkout__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 384px;
    align-items: start;
    gap: 48px;
    width: 100%;
    max-width: 1184px;
    margin: 0 auto;
}

.tc-checkout__grid--narrow {
    max-width: 1008px;
}

.tc-checkout__single {
    width: 100%;
    max-width: 688px;
    margin: 0 auto;
}

.tc-card {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--tc26-border);
    border-radius: 32px;
}

/* ---------- Type ---------- */

.tc-checkout .tc-title {
    margin: 0 0 16px;
    font-family: var(--tc26-font);
    font-size: 32px;
    font-weight: 800;
    line-height: 40px;
    letter-spacing: -0.96px;
    text-transform: none;
    color: var(--tc26-blue);
}

.tc-checkout .tc-title span {
    color: var(--tc26-orange);
}

.tc-checkout .tc-title--sm {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.72px;
}

.tc-checkout .tc-title--section {
    margin-top: 40px;
}

.tc-lead {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 22px;
    color: var(--tc26-ink);
}

.tc-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--tc26-blue);
    text-decoration: underline;
}

.tc-link:hover,
.tc-link:focus-visible {
    color: var(--tc26-orange);
}

/* ---------- Buttons ---------- */

.tc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    padding: 0 36px;
    border: 0;
    border-radius: 14px;
    background: var(--tc26-green);
    color: #fff;
    font-family: var(--tc26-font);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, opacity .15s ease;
}

.tc-btn:hover,
.tc-btn:focus-visible {
    background: var(--tc26-green-hover);
    color: #fff;
    outline: 0;
}

.tc-btn:disabled,
.tc-btn.is-busy {
    opacity: .6;
    cursor: not-allowed;
}

.tc-btn i {
    color: #ffe14d;
    font-size: 13px;
}

.tc-btn--inline {
    display: inline-flex;
    width: auto;
}

/* The empty cart's call to action is a pill, unlike the full-width buttons. */
.tc-btn--pill {
    min-height: 48px;
    padding: 0 32px;
    border-radius: 999px;
}

.tc-btn--sm {
    width: auto;
    min-height: 44px;
    padding: 0 28px;
    font-size: 12px;
}

/* ---------- Alerts ---------- */

.tc-checkout .alert {
    border-radius: 14px;
    font-size: 14px;
}

.tc-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--tc26-yellow);
    font-size: 13px;
    line-height: 20px;
    color: var(--tc26-ink);
}

.tc-note > i {
    color: var(--tc26-orange);
    font-size: 16px;
    line-height: 20px;
}

.tc-note p {
    margin: 0;
}

.tc-inline-msg {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
}

.tc-inline-msg--error {
    color: #c62828;
}

.tc-inline-msg--ok {
    color: var(--tc26-green-hover);
}

/* ---------- Cart items ---------- */

.tc-item {
    padding: 20px 0;
    border-top: 1px solid #e6e9ee;
}

.tc-cart__foot {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid #e6e9ee;
}

.tc-cart__clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #9aa3af;
    text-decoration: none;
}

.tc-cart__clear:hover,
.tc-cart__clear:focus-visible {
    color: #4b5563;
    text-decoration: underline;
}

.tc-item__head {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tc-item__name {
    font-size: 15px;
    font-weight: 800;
    line-height: 22px;
    color: var(--tc26-ink);
}

.tc-item__qty-badge {
    margin-left: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tc26-muted);
}

/* Remove-from-cart: a small grey trash icon at the right-hand end of the price row. */
.tc-item__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 28px;
    padding: 0 4px;
    /* Pull the hover pad past the edge so the icon itself lines up with Clear Cart. */
    margin-right: -4px;
    margin-left: auto;
    border-radius: 6px;
    color: #9aa3af;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease;
}

/* With a Details toggle in the row, the toggle takes the free space instead. */
.tc-item__toggle + .tc-item__remove {
    margin-left: 0;
}

.tc-item__remove:hover,
.tc-item__remove:focus-visible {
    background: #f1f3f5;
    color: #4b5563;
    outline: 0;
}

.tc-item__desc {
    margin-top: 10px;
    font-size: 13px;
    line-height: 22px;
    color: var(--tc26-muted);
}

.tc-item__desc[hidden] {
    display: none;
}

.tc-item__desc p:last-child {
    margin-bottom: 0;
}

.tc-item__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.tc-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    line-height: 28px;
    color: var(--tc26-ink);
}

.tc-price s {
    font-size: 12px;
    font-weight: 600;
    color: var(--tc26-muted);
}

.tc-price small {
    font-size: 12px;
    font-weight: 600;
    color: var(--tc26-muted);
}

.tc-price--sm {
    font-size: 15px;
    line-height: 22px;
}

.tc-item__qty {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tc26-muted);
}

.tc-item__qty label {
    margin: 0;
}

.tc-checkout .tc-item__qty input {
    width: 64px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--tc26-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    font-family: var(--tc26-font);
    font-size: 14px;
    text-align: center;
    color: var(--tc26-ink);
}

.tc-item__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 4px 0;
    border: 0;
    background: transparent;
    font-family: var(--tc26-font);
    font-size: 12px;
    color: var(--tc26-muted);
    cursor: pointer;
}

.tc-item__toggle i {
    color: var(--tc26-orange);
    font-size: 12px;
    transition: transform .15s ease;
}

.tc-item__toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.tc-item__toggle:hover,
.tc-item__toggle:focus-visible {
    color: var(--tc26-ink);
    outline: 0;
}

.tc-item__shipping {
    margin-top: 12px;
}

.tc-item__plus {
    margin: 10px 0 6px;
    color: var(--tc26-orange);
    font-size: 18px;
    line-height: 1;
}

.tc-item__child .tc-item__name {
    font-size: 13px;
    line-height: 20px;
}

.tc-item__child .tc-item__desc {
    margin-top: 0;
}

.tc-item__child .tc-price {
    margin-top: 10px;
}

/* ---------- Empty cart ---------- */

.tc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 16px;
    text-align: center;
}

.tc-empty__art {
    display: block;
    width: 120px;
    height: 144px;
    margin-bottom: 12px;
}

.tc-checkout .tc-empty__title {
    margin: 0 0 4px;
    font-family: var(--tc26-font);
    font-size: 20px;
    font-weight: 800;
    line-height: 28px;
    text-transform: none;
    color: var(--tc26-ink);
}

.tc-empty p {
    max-width: 440px;
    margin: 0 0 28px;
    font-size: 13px;
    line-height: 20px;
    color: var(--tc26-ink);
}

/* ---------- Order summary ---------- */

.tc-summary {
    padding: 32px;
}

.tc-checkout .tc-summary__title {
    margin: 0 0 20px;
    font-family: var(--tc26-font);
    font-size: 22px;
    font-weight: 800;
    line-height: 28px;
    text-align: center;
    text-transform: none;
    color: var(--tc26-ink);
}

.tc-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    padding: 8px 0;
    border-bottom: 1px solid #e6e9ee;
    font-size: 13px;
    line-height: 20px;
}

.tc-summary__row > span:first-child {
    color: var(--tc26-muted);
}

.tc-summary__row > span:last-child {
    font-size: 14px;
    color: var(--tc26-ink);
    white-space: nowrap;
}

.tc-summary__row.is-discount > span:last-child {
    color: var(--tc26-green);
}

.tc-summary__row--promo > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tc26-blue);
}

.tc-summary__row--promo a {
    color: var(--tc26-blue);
    font-size: 15px;
    line-height: 1;
}

.tc-summary__row--promo a:hover {
    color: #c62828;
}

.tc-summary__empty {
    margin: 0 0 16px;
    font-size: 12px;
    text-align: center;
    color: var(--tc26-ink);
}

.tc-promo {
    padding: 8px 0;
    border-bottom: 1px solid #e6e9ee;
}

.tc-promo__open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--tc26-font);
    font-size: 13px;
    color: var(--tc26-blue);
    cursor: pointer;
}

.tc-promo__open:hover,
.tc-promo__open:focus-visible {
    color: var(--tc26-orange);
    outline: 0;
}

.tc-promo__form {
    display: flex;
    gap: 8px;
}

.tc-promo__form[hidden],
.tc-promo__open[hidden] {
    display: none;
}

.tc-promo__form .tc-field {
    flex: 1;
    min-width: 0;
}

.tc-promo__apply {
    flex-shrink: 0;
    width: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--tc26-orange);
    color: #ffe14d;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .15s ease;
}

.tc-promo__apply:hover,
.tc-promo__apply:focus-visible {
    background: #e85f00;
    outline: 0;
}

.tc-summary__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 4px;
    font-size: 13px;
    font-weight: 800;
}

.tc-summary__total > span:last-child {
    font-size: 24px;
    line-height: 32px;
}

.tc-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 20px;
    color: var(--tc26-ink);
}

.tc-terms + .tc-terms {
    margin-top: 8px;
}

.tc-terms label p:last-child {
    margin-bottom: 0;
}

.tc-terms input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--tc26-green);
    cursor: pointer;
}

.tc-terms label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.tc-terms.is-missing label {
    color: #c62828;
}

.tc-summary .tc-btn,
.tc-pay .tc-btn {
    margin-top: 20px;
}

.tc-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 800;
    color: var(--tc26-ink);
}

.tc-secure i {
    color: var(--tc26-green);
    font-size: 16px;
}

.tc-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    text-decoration: none;
}

/* Shopper Approved's image opens with "Click here for more reviews |"; the
   design shows only the star and wordmark, so the frame crops that part off. */
.tc-reviews__logo {
    display: block;
    width: 96px;
    height: 32px;
    overflow: hidden;
}

.tc-reviews__logo img {
    display: block;
    height: 32px;
    width: auto;
    max-width: none;
    margin-left: -75px;
}

.tc-reviews__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--tc26-yellow);
    font-size: 12px;
    font-weight: 700;
    color: var(--tc26-ink);
}

.tc-reviews__pill i {
    color: var(--tc26-orange);
    font-size: 11px;
}

/* ---------- Frequently bought together ---------- */

.tc-upsell {
    width: 100%;
    max-width: 1184px;
    margin: 72px auto 0;
}

.tc-upsell__lead {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 800;
    color: var(--tc26-ink);
}

.tc-upsell__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tc-upsell__card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 28px;
}

.tc-checkout .tc-upsell__name {
    margin: 0 0 10px;
    font-family: var(--tc26-font);
    font-size: 15px;
    font-weight: 800;
    line-height: 22px;
    text-transform: none;
    color: var(--tc26-ink);
}

.tc-upsell__desc {
    flex: 1;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 22px;
    color: var(--tc26-muted);
}

.tc-upsell__desc p:last-child {
    margin-bottom: 0;
}

.tc-upsell__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ---------- Form fields (extends .tc-field from 2C-login.css) ---------- */

.tc-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tc-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tc-form__row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tc-field label span {
    font-weight: 400;
    color: var(--tc26-muted);
}

/* Symfony's Bootstrap form theme puts .form-control / .form-select on the
   widget; strip that chrome so the .tc-field shell is the only border. */
.tc-checkout .tc-field .form-control,
.tc-checkout .tc-field .form-control:focus,
.tc-checkout .tc-field .form-select,
.tc-checkout .tc-field .form-select:focus,
.tc-checkout .tc-field select {
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background-color: transparent;
    box-shadow: none;
    font-family: var(--tc26-font);
    font-size: 16px;
    line-height: 22px;
    color: var(--tc26-ink);
}

.tc-checkout .tc-field .form-control.is-invalid {
    background-image: none;
}

.tc-checkout .tc-field select {
    padding-right: 24px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ff6900' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 14px 14px;
    cursor: pointer;
}

.tc-checkout .tc-field input::placeholder {
    color: #9aa5b5;
}

.tc-field--invalid {
    border-color: #c62828;
}

.tc-field-wrap {
    min-width: 0;
}

.tc-field-wrap .invalid-feedback,
.tc-field-wrap .form-error-message,
.tc-field-wrap ul {
    display: block;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    font-weight: 600;
    color: #c62828;
}

.tc-field__hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--tc26-muted);
}

/* Stripe mounts an iframe here; give it the same line box as an input. */
.tc-field .tc-stripe {
    min-height: 22px;
    padding: 2px 0 0;
}

.tc-form__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.tc-form__back {
    align-self: center;
}

/* ---------- Payment ---------- */

.tc-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--tc26-ink);
}

.tc-divider::before,
.tc-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--tc26-border);
}

/* ---------- Order complete ---------- */

/* The brand face from the preloader, winking: brows lift, the right eye closes to a bar,
   holds and opens, then a rest before the next wink. It pops in first, then bobs. */
.tc-done {
    max-width: 576px;
}

.tc-done__card {
    position: relative;
    padding-top: 40px;
    text-align: center;
    animation: tc-done-rise .5s cubic-bezier(.2, .8, .3, 1) both;
}

.tc-done__face {
    display: flex;
    justify-content: center;
    margin: 0 auto 20px;
    animation: tc-done-pop .6s cubic-bezier(.34, 1.56, .64, 1) .15s both;
}

.tc-done__face svg {
    width: 132px;
    height: auto;
    overflow: visible;
    animation: tc-done-bob 3s ease-in-out .75s infinite;
}

.tc-done__eye,
.tc-done__bar,
.tc-done__brow {
    transform-box: fill-box;
    transform-origin: center;
}

.tc-done__eye   { animation: tc-done-eye 3s cubic-bezier(.33, 1, .68, 1) .6s infinite; }
.tc-done__bar   { opacity: 0; animation: tc-done-bar 3s cubic-bezier(.33, 1, .68, 1) .6s infinite; }
.tc-done__brow--l { animation: tc-done-brow-l 3s ease-in-out .6s infinite; }
.tc-done__brow--r { animation: tc-done-brow-r 3s ease-in-out .6s infinite; }

@keyframes tc-done-eye   { 0%, 20% { transform: scaleY(1); opacity: 1; } 25%, 41% { transform: scaleY(.25); opacity: 0; } 47%, 100% { transform: scaleY(1); opacity: 1; } }
@keyframes tc-done-bar   { 0%, 20% { transform: scaleY(3.9); opacity: 0; } 25%, 41% { transform: scaleY(1); opacity: 1; } 47%, 100% { transform: scaleY(3.9); opacity: 0; } }
@keyframes tc-done-brow-l { 0%, 13% { transform: translateY(0); } 19% { transform: translateY(-16px); } 25%, 41% { transform: translateY(-14px); } 48%, 100% { transform: translateY(0); } }
@keyframes tc-done-brow-r { 0%, 13% { transform: translateY(0); } 19% { transform: translateY(-16px); } 25%, 41% { transform: translateY(22px); } 48%, 100% { transform: translateY(0); } }
@keyframes tc-done-bob  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes tc-done-pop  { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: scale(1); } }
@keyframes tc-done-rise { 0% { opacity: 0; transform: translateY(16px); } 100% { opacity: 1; transform: translateY(0); } }

.tc-done__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tc26-orange);
}

.tc-checkout .tc-done__title {
    margin-bottom: 12px;
}

.tc-done__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ebf7e5;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #2a7f02;
}

.tc-done__status i {
    font-size: 16px;
    color: var(--tc26-green);
}

.tc-done__note {
    text-align: left;
}

.tc-done__details {
    margin: 0 0 24px;
    padding: 20px 24px 12px;
    border-radius: 20px;
    background: var(--tc26-yellow);
    text-align: left;
}

.tc-checkout .tc-done__subtitle {
    margin: 0 0 8px;
    font-family: var(--tc26-font);
    font-size: 16px;
    font-weight: 800;
    line-height: 24px;
    text-transform: none;
    color: var(--tc26-ink);
}

.tc-done__items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tc-done__items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e6e9ee;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--tc26-ink);
}

.tc-done__qty {
    font-weight: 600;
    color: var(--tc26-muted);
    white-space: nowrap;
}

.tc-done__txn {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
    text-align: right;
}

/* Confetti: a layer over the page that ignores the pointer. Each piece falls from above the
   viewport to below it, drifting sideways and tumbling; the script sets the variables. */
.tc-confetti {
    position: fixed;
    inset: 0;
    z-index: 1050;
    overflow: hidden;
    pointer-events: none;
}

.tc-confetti__piece {
    position: absolute;
    top: 0;
    left: var(--x);
    width: var(--size);
    height: var(--size);
    background: var(--c);
    opacity: 0;
    animation-name: tc-confetti-fall;
    animation-timing-function: cubic-bezier(.25, .46, .45, .94);
    animation-fill-mode: both;
}

.tc-confetti__piece--strip { width: calc(var(--size) * .45); height: calc(var(--size) * 1.6); border-radius: 2px; }
.tc-confetti__piece--square { border-radius: 2px; }
.tc-confetti__piece--dot { border-radius: 50%; }
.tc-confetti__piece--ring { border-radius: 50%; background: transparent; border: 2.5px solid var(--c); }

@keyframes tc-confetti-fall {
    0%   { opacity: 1; transform: translate3d(0, -20px, 0) rotate(0deg); }
    85%  { opacity: 1; }
    100% { opacity: 0; transform: translate3d(var(--drift), 105vh, 0) rotate(var(--spin)); }
}

@media (prefers-reduced-motion: reduce) {
    .tc-done__card,
    .tc-done__face,
    .tc-done__face svg,
    .tc-done__eye,
    .tc-done__bar,
    .tc-done__brow {
        animation: none;
    }
    .tc-confetti {
        display: none;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    .tc-checkout__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        max-width: 688px;
    }
    .tc-upsell {
        max-width: 688px;
        margin-top: 48px;
    }
    .tc-upsell__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .tc-checkout {
        padding: 32px 8px 64px;
    }
    .tc-checkout__logo {
        margin-bottom: 32px;
    }
    .tc-card,
    .tc-summary {
        padding: 24px 16px;
        border-radius: 20px;
    }
    .tc-checkout .tc-title {
        font-size: 26px;
        line-height: 32px;
    }
    .tc-checkout .tc-title--sm {
        font-size: 21px;
        line-height: 30px;
    }
    .tc-form__row,
    .tc-form__row--3 {
        grid-template-columns: minmax(0, 1fr);
    }
    .tc-empty {
        padding: 32px 8px;
    }
    .tc-done__face svg {
        width: 108px;
    }
    .tc-done__details {
        padding: 16px 16px 8px;
    }
}
