/*
 * SkyHost order form: configure, review, checkout and confirmation pages
 * (orderforms/standard_cart/{configureproduct,viewcart,checkout,complete}.tpl).
 *
 * Every page opts in with the `skc` class on #order-standard_cart. The design
 * language matches skyhost-order.css (server selection) so the whole flow
 * reads as one product.
 *
 * Direction-neutral: logical properties only, so the same file serves LTR and
 * RTL languages without being mirrored by build-rtl.js.
 * Uses native CSS nesting; every nested selector starts with `&` so it also
 * parses in the earliest nesting implementations.
 * Motion convention (shared with skyhost-home.css): `translate` is reserved for
 * entrance animations (fill-mode `backwards`, so no transform lingers and
 * position:fixed modals inside the page are never re-anchored), `transform`
 * for hover/pointer interactions.
 */

.fivem-theme #order-standard_cart.skc {
    --skc-ink: #f4f7fc;
    --skc-text: #c2cad8;
    --skc-muted: #8e99ad;
    --skc-dim: #63708a;
    --skc-line: rgba(158, 179, 204, .12);
    --skc-line-2: rgba(158, 179, 204, .24);
    --skc-accent: #9eb3cc;
    --skc-ok: #68c5a1;
    --skc-warn: #e7bd72;
    --skc-bad: #ee7d8b;
    --skc-card: linear-gradient(180deg, rgba(26, 29, 56, .78), rgba(10, 11, 28, .86));
    --skc-field: rgba(5, 6, 20, .62);
    --skc-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
    --skc-ease: cubic-bezier(.22, 1, .36, 1);
    --skc-fa: "Font Awesome 6 Pro", "Font Awesome 5 Free";

    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 0 88px;
    color: var(--skc-text);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* ------------------------------------------------------ Progress steps */
    & .fivem-order-progress {
        display: flex;
        max-width: 720px;
        margin: 8px auto 48px;
        padding: 0;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        color: var(--skc-dim);
    }
    & .fivem-order-progress > div {
        position: relative;
        display: flex;
        width: auto;
        flex: 0 0 auto;
        align-items: center;
        gap: 11px;
        color: var(--skc-dim);
        font-size: 12px;
        font-weight: 650;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    /* Legacy absolutely-positioned connector from custom.css. */
    & .fivem-order-progress > div::after { content: none; }
    & .fivem-order-progress > div + div::before {
        content: "";
        width: clamp(26px, 9vw, 110px);
        height: 2px;
        margin-inline: 16px;
        background: var(--skc-line);
        border-radius: 2px;
    }
    & .fivem-order-progress > .is-complete + div::before {
        background: linear-gradient(90deg, #dfe9f6, var(--skc-accent));
        animation: skc-fill 1s .2s var(--skc-ease) backwards;
    }
    & .fivem-order-progress > div > span {
        position: relative;
        display: inline-flex;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        align-items: center;
        justify-content: center;
        color: var(--skc-muted);
        background: rgba(255, 255, 255, .03);
        border: 1px solid var(--skc-line-2);
        border-radius: 50%;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0;
        transition: background-color .4s ease, border-color .4s ease, color .4s ease;
    }
    & .fivem-order-progress > div > strong { color: inherit; font-size: 12px; font-weight: 650; white-space: nowrap; }
    & .fivem-order-progress > .is-complete > span {
        color: var(--skc-ok);
        background: rgba(104, 197, 161, .12);
        border-color: rgba(104, 197, 161, .42);
    }
    & .fivem-order-progress > .is-complete > strong { color: var(--skc-text); }
    & .fivem-order-progress > .is-active > span {
        color: #0a0c1d;
        background: linear-gradient(180deg, #fff, #cfdbeb);
        border-color: transparent;
        box-shadow: 0 0 0 4px rgba(158, 179, 204, .12), 0 8px 24px -6px rgba(158, 179, 204, .7);
    }
    & .fivem-order-progress > .is-active > span::after {
        content: "";
        position: absolute;
        inset: -5px;
        border: 1px solid rgba(158, 179, 204, .45);
        border-radius: 50%;
        animation: skc-ping 2.6s var(--skc-ease) infinite;
    }
    & .fivem-order-progress > .is-active > strong { color: var(--skc-ink); }

    /* --------------------------------------------------------------- Heading */
    & .fivem-order-heading {
        margin: 0 0 44px !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: start;
        animation: skc-rise .8s var(--skc-ease) backwards;
    }
    & .fivem-order-heading .fivem-kicker {
        display: inline-flex;
        padding: 7px 14px;
        align-items: center;
        gap: 9px;
        color: var(--skc-accent);
        background: rgba(158, 179, 204, .08);
        border: 1px solid var(--skc-line-2);
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
    }
    & .fivem-order-heading .fivem-kicker::before {
        content: "";
        width: 7px;
        height: 7px;
        background: var(--skc-ok);
        border-radius: 50%;
        animation: skc-pulse 2.2s ease-out infinite;
    }
    & .fivem-order-heading h1 {
        margin: 20px 0 14px;
        background: linear-gradient(180deg, #fff 30%, #a9b9cf);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: clamp(32px, 4.4vw, 48px) !important;
        font-weight: 750;
        line-height: 1.1;
        letter-spacing: -.04em;
    }
    & .fivem-order-heading p {
        max-width: 620px;
        margin: 0;
        color: var(--skc-muted) !important;
        font-size: 16px;
        line-height: 1.65;
    }

    /* ---------------------------------------------------------------- Layout */
    & .fivem-cart-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 392px;
        gap: 36px;
        margin: 0;
        align-items: start;
    }
    & .fivem-cart-layout > .secondary-cart-body,
    & .fivem-cart-layout > .secondary-cart-sidebar {
        float: none;
        width: auto;
        max-width: none;
        margin: 0 !important;
        padding: 0;
    }
    & .fivem-cart-layout > .secondary-cart-body { animation: skc-rise .8s .1s var(--skc-ease) backwards; }
    /* With the grid the WHMCS scroll script sees float:none and stands down,
       so the summary follows the page with plain CSS instead. */
    & .fivem-cart-layout > .secondary-cart-sidebar {
        position: sticky;
        inset-block-start: 112px;
        animation: skc-rise .8s .22s var(--skc-ease) backwards;
    }
    /* The category switcher that WHMCS shows on narrow screens has no place
       in a checkout flow (custom.css targets the wrong class name for it). */
    & .sidebar-collapsed { display: none !important; }
    & .skc-intro { margin: 0 0 22px; color: var(--skc-muted) !important; font-size: 15px; line-height: 1.6; }

    /* ---------------------------------------------------------------- Cards */
    & :is(.product-info, .field-container, .product-configurable-options, .view-cart-tabs, .order-summary, .already-registered, #frmCheckout, .view-cart-items .item, .view-cart-empty, .account, .cc-input-container, .apply-credit-container) {
        background: var(--skc-card) !important;
        border: 1px solid var(--skc-line) !important;
        border-radius: 24px !important;
        box-shadow: var(--skc-shadow) !important;
    }

    /* Plan banner (configure page) */
    & .product-info {
        position: relative;
        display: flex;
        margin: 0 0 12px;
        padding: 28px;
        align-items: flex-start;
        gap: 22px;
        overflow: hidden;
        isolation: isolate;
    }
    & .product-info::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(ellipse 55% 130% at 100% 0%, rgba(92, 120, 255, .14), transparent 60%);
        pointer-events: none;
    }
    html[dir="rtl"] & .product-info::before {
        background: radial-gradient(ellipse 55% 130% at 0% 0%, rgba(92, 120, 255, .14), transparent 60%);
    }
    & .skc-plan-icon {
        display: flex;
        width: 56px;
        height: 56px;
        flex: 0 0 56px;
        align-items: center;
        justify-content: center;
        color: #dbe5f2;
        background: linear-gradient(145deg, rgba(158, 179, 204, .22), rgba(109, 131, 159, .05));
        border: 1px solid var(--skc-line-2);
        border-radius: 17px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
        font-size: 19px;
    }
    & .skc-plan-body { min-width: 0; flex: 1; }
    & .product-info .product-title {
        margin: 2px 0 16px;
        color: var(--skc-ink) !important;
        font-size: 25px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -.03em;
    }
    & .skc-specs { display: flex; margin: 0; padding: 0; flex-wrap: wrap; gap: 10px; list-style: none; }
    & .skc-specs li {
        display: inline-flex;
        margin: 0;
        padding: 8px 14px;
        align-items: center;
        gap: 9px;
        color: var(--skc-text);
        background: rgba(255, 255, 255, .04);
        border: 1px solid var(--skc-line);
        border-radius: 999px;
        font-size: 13px;
        font-weight: 550;
        line-height: 1.3;
    }
    & .skc-specs li:empty { display: none; }
    & .skc-specs li::before {
        content: "\f00c";
        color: var(--skc-ok);
        font: 900 9px/1 var(--skc-fa);
    }

    /* Section headings */
    & .sub-heading {
        position: relative;
        display: flex;
        height: auto;
        margin: 48px 0 22px;
        padding: 0;
        align-items: center;
        gap: 18px;
        border: 0;
        text-align: start;
    }
    & .sub-heading::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, var(--skc-line-2), transparent); }
    html[dir="rtl"] & .sub-heading::after { background: linear-gradient(270deg, var(--skc-line-2), transparent); }
    & .sub-heading span {
        position: static;
        display: inline-flex;
        padding: 0;
        align-items: center;
        gap: 12px;
        color: var(--skc-ink);
        background: none !important;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: .1em;
        text-transform: uppercase;
        order: -1;
    }
    & .sub-heading span::before {
        content: "";
        width: 4px;
        height: 18px;
        flex: 0 0 4px;
        background: linear-gradient(180deg, #fff, var(--skc-accent));
        border-radius: 4px;
    }
    & .sub-heading span small { color: var(--skc-dim); font-size: 11px; letter-spacing: 0; text-transform: none; }
    & .sub-heading span br { display: none; }
    & .sub-heading span i { margin-inline-start: 10px; }
    & .product-info + .sub-heading,
    & .skc-intro + .sub-heading,
    & #frmCheckout > .sub-heading:first-child { margin-block-start: 0; }

    /* --------------------------------------------------------------- Fields */
    & .field-container,
    & .product-configurable-options { margin: 0; padding: 32px; }
    & .form-group { margin-bottom: 22px; }
    & .form-group > br { display: none; }
    & .field-container > .form-group:last-child { margin-bottom: 0; }
    & label {
        margin-bottom: 9px;
        color: var(--skc-text);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
    }
    & :is(.form-control, input.field, select.field, textarea.field) {
        height: 54px;
        min-height: 54px;
        padding: 0 18px;
        color: var(--skc-ink) !important;
        background-color: var(--skc-field) !important;
        border: 1px solid var(--skc-line-2) !important;
        border-radius: 15px !important;
        box-shadow: none !important;
        font-size: 14px;
        transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
    }
    & textarea:is(.form-control, .field) { height: auto; min-height: 120px; padding: 16px 18px; line-height: 1.6; }
    & :is(.form-control, input.field, select.field, textarea.field):hover { border-color: rgba(158, 179, 204, .4) !important; }
    & :is(.form-control, input.field, select.field, textarea.field):focus {
        background-color: rgba(5, 6, 20, .9) !important;
        border-color: var(--skc-accent) !important;
        box-shadow: 0 0 0 4px rgba(158, 179, 204, .14) !important;
        outline: 0;
    }
    & :is(.form-control, .field)::placeholder { color: var(--skc-dim) !important; opacity: 1; }
    & :is(.form-control, .field):disabled,
    & :is(.form-control, .field)[readonly] { opacity: .6; }
    & :is(select.form-control, select.field, .custom-select) {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%239eb3cc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 20px center;
        background-size: 12px 8px;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
    }
    html:not([dir="rtl"]) & :is(select.form-control, select.field, .custom-select) { padding-right: 46px !important; }
    html[dir="rtl"] & :is(select.form-control, select.field, .custom-select) { padding-left: 46px !important; background-position: left 20px center; }
    & select option { color: #edf1f6; background: #111326; }
    & .select-inline { width: 100%; max-width: 420px; }
    & .form-control-qty { width: 84px; padding-inline: 10px; text-align: center; }
    & .form-control-static-inline { margin-inline-start: 10px; color: var(--skc-muted); }
    & .field-help-text { display: block; margin-top: 8px; color: var(--skc-dim); font-size: 12px; line-height: 1.5; }
    & .field-error-msg { color: var(--skc-bad); font-size: 12px; }

    /* Icon-prefixed inputs */
    & .prepend-icon { position: relative; display: block; width: 100%; }
    & .prepend-icon .field-icon {
        position: absolute;
        inset-block-start: 0;
        inset-inline-start: 0;
        z-index: 4;
        display: flex;
        width: 52px;
        height: 54px;
        margin: 0;
        padding: 0;
        align-items: center;
        justify-content: center;
        color: var(--skc-dim);
        background: none !important;
        border: 0 !important;
        line-height: 1;
        pointer-events: none;
        transition: color .3s ease;
    }
    & .prepend-icon .field-icon i { color: inherit; font-size: 14px; }
    & .prepend-icon:focus-within .field-icon { color: var(--skc-accent); }
    /* Inputs can carry their own direction (email, password and phone fields
       are forced LTR for data entry), so the gutter for the icon follows the
       page direction instead of the input's. */
    html:not([dir="rtl"]) & .prepend-icon :not(.intl-tel-input) > :is(.field, .form-control),
    html:not([dir="rtl"]) & .prepend-icon > :is(.field, .form-control) { padding-left: 52px !important; padding-right: 18px !important; }
    html[dir="rtl"] & .prepend-icon :not(.intl-tel-input) > :is(.field, .form-control),
    html[dir="rtl"] & .prepend-icon > :is(.field, .form-control) { padding-right: 52px !important; padding-left: 18px !important; }
    html:not([dir="rtl"]) & .prepend-icon > select:is(.field, .form-control) { padding-right: 46px !important; }
    html[dir="rtl"] & .prepend-icon > select:is(.field, .form-control) { padding-left: 46px !important; }
    & .prepend-icon .input-group { flex-wrap: nowrap; }
    & .prepend-icon .input-group .btn { min-height: 54px; border-start-start-radius: 0; border-end-start-radius: 0; }
    /* intl-tel-input draws its own flag selector where the icon would sit. */
    & .prepend-icon:has(.intl-tel-input) .field-icon { display: none; }
    & .intl-tel-input { display: flex; width: 100%; align-items: stretch; direction: ltr; }
    & .intl-tel-input .flag-container { position: relative; inset: auto; padding: 0; flex: 0 0 auto; }
    & .intl-tel-input .selected-flag {
        position: relative;
        display: flex;
        width: auto;
        height: 100%;
        padding: 0 14px;
        align-items: center;
        gap: 8px;
        background: rgba(158, 179, 204, .08) !important;
        border: 1px solid var(--skc-line-2);
        border-inline-end: 0;
        border-radius: 15px 0 0 15px;
        transition: background-color .3s ease;
    }
    & .intl-tel-input .flag-container:hover .selected-flag { background: rgba(158, 179, 204, .16) !important; }
    & .intl-tel-input .selected-flag :is(.iti-flag, .iti-arrow) { position: static; margin: 0; }
    & .intl-tel-input .selected-dial-code { position: static; padding: 0; color: var(--skc-text); font-size: 13px; font-weight: 600; }
    & .intl-tel-input input.form-control { width: auto; min-width: 0; flex: 1; padding-inline: 16px !important; border-radius: 0 15px 15px 0 !important; text-align: start; }
    & .intl-tel-input .country-list {
        max-height: 240px;
        color: var(--skc-text);
        background: #111326;
        border: 1px solid var(--skc-line-2);
        border-radius: 16px;
        box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9);
        direction: ltr;
    }
    & .intl-tel-input .country-list .country { padding: 9px 14px; }
    & .intl-tel-input .country-list .country.highlight,
    & .intl-tel-input .country-list .country:hover { background: rgba(158, 179, 204, .14); }
    & .intl-tel-input .country-list .divider { border-color: var(--skc-line); }
    & .intl-tel-input .country-list .dial-code { color: var(--skc-dim); }

    /* Option tiles: radio and checkbox labels inside option groups. */
    & .product-configurable-options .form-group > br { display: none; }
    & .product-configurable-options > .row { display: grid; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
    & .product-configurable-options > .row > [class*="col-"] { width: auto; max-width: none; padding: 0; flex: none; }
    & .product-configurable-options > .row > .col-sm-12 { grid-column: 1 / -1; }
    & .product-configurable-options .form-group:last-child { margin-bottom: 0; }
    & :is(.product-configurable-options, .field-container) label:has(> input[type="radio"]:not(.no-icheck)),
    & :is(.product-configurable-options, .field-container) label:has(> input[type="checkbox"]:not(.no-icheck)) {
        display: flex;
        margin: 0 0 10px;
        padding: 14px 18px;
        align-items: center;
        gap: 14px;
        color: var(--skc-ink);
        background: rgba(255, 255, 255, .03);
        border: 1px solid var(--skc-line-2);
        border-radius: 15px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
        cursor: pointer;
        transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease, transform .4s var(--skc-ease);
    }
    & :is(.product-configurable-options, .field-container) label:has(> input[type="radio"]:not(.no-icheck)):hover,
    & :is(.product-configurable-options, .field-container) label:has(> input[type="checkbox"]:not(.no-icheck)):hover { border-color: rgba(158, 179, 204, .42); background: rgba(158, 179, 204, .06); }
    & :is(.product-configurable-options, .field-container) label:has(> input[type="radio"]:checked),
    & :is(.product-configurable-options, .field-container) label:has(> input[type="checkbox"]:checked) {
        background: rgba(158, 179, 204, .1);
        border-color: var(--skc-accent);
        box-shadow: 0 0 0 3px rgba(158, 179, 204, .1);
    }

    /* Add-on cards */
    & .addon-products { display: grid; margin: 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
    & .addon-products > [class*="col-"] { width: auto; max-width: none; padding: 0; flex: none; }
    & .panel-addon {
        position: relative;
        display: flex;
        height: 100%;
        margin: 0;
        flex-direction: column;
        overflow: hidden;
        color: var(--skc-muted);
        background: var(--skc-card);
        border: 1px solid var(--skc-line);
        border-radius: 20px;
        box-shadow: var(--skc-shadow);
        transition: transform .5s var(--skc-ease), border-color .35s ease, box-shadow .35s ease;
        cursor: pointer;
    }
    & .panel-addon:hover { transform: translateY(-4px); border-color: var(--skc-line-2); }
    & .panel-addon .card-body,
    & .panel-addon .panel-body { padding: 24px; flex: 1; font-size: 13px; line-height: 1.65; }
    & .panel-addon .card-body label,
    & .panel-addon .panel-body label {
        display: flex;
        margin: 0 0 10px;
        padding: 0;
        align-items: center;
        gap: 12px;
        color: var(--skc-ink);
        background: none;
        border: 0;
        box-shadow: none;
        font-size: 15px;
        font-weight: 700;
    }
    & .panel-addon .panel-price { padding: 15px 24px; color: var(--skc-ink); background: rgba(255, 255, 255, .02); border-block-start: 1px dashed var(--skc-line); font-size: 13px; font-weight: 600; }
    & .panel-addon .panel-add {
        padding: 15px 24px;
        color: var(--skc-accent);
        background: rgba(158, 179, 204, .07);
        border-block-start: 1px solid var(--skc-line);
        font-size: 13px;
        font-weight: 650;
        text-align: center;
        transition: background-color .3s ease, color .3s ease;
    }
    & .panel-addon:hover .panel-add { background: rgba(158, 179, 204, .13); color: #fff; }
    & .panel-addon.panel-addon-selected { border-color: var(--skc-accent); box-shadow: 0 0 0 3px rgba(158, 179, 204, .12), var(--skc-shadow); }
    & .panel-addon.panel-addon-selected .panel-add { color: var(--skc-ok); background: rgba(104, 197, 161, .1); }

    /* --------------------------------------------------------------- Alerts */
    & .alert {
        margin: 0 0 24px;
        padding: 16px 22px;
        color: var(--skc-text);
        background: rgba(158, 179, 204, .07);
        border: 1px solid var(--skc-line-2);
        border-radius: 18px;
        font-size: 14px;
        line-height: 1.65;
    }
    & .alert p { margin: 0 0 6px; color: inherit !important; }
    & .alert ul { margin: 8px 0 0; padding-inline-start: 20px; }
    & .alert .alert-link { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
    & .alert-danger { color: #f6bec5; background: rgba(238, 125, 139, .09); border-color: rgba(238, 125, 139, .32); }
    & .alert-success { color: #b8e8d4; background: rgba(104, 197, 161, .09); border-color: rgba(104, 197, 161, .3); }
    & .alert-warning { color: #f0d8a8; background: rgba(231, 189, 114, .08); border-color: rgba(231, 189, 114, .28); }
    & .alert-info { color: #c6d4ff; background: rgba(92, 120, 255, .09); border-color: rgba(124, 156, 255, .3); }
    /* "Have questions?" note: quiet, not a warning. */
    & .alert.info-text-sm {
        display: block;
        margin: 40px 0 0;
        padding: 18px 22px;
        color: var(--skc-muted);
        background: rgba(255, 255, 255, .025);
        border-color: var(--skc-line);
        font-size: 13px;
    }
    & .alert.info-text-sm > i { margin-inline-end: 10px; color: var(--skc-accent); font-size: 16px; vertical-align: -1px; }

    /* -------------------------------------------------------------- Buttons */
    & .btn {
        display: inline-flex;
        min-height: 46px;
        padding: 0 22px;
        align-items: center;
        justify-content: center;
        gap: 9px;
        color: var(--skc-ink) !important;
        background: rgba(158, 179, 204, .09) !important;
        border: 1px solid var(--skc-line-2) !important;
        border-radius: 14px;
        box-shadow: none;
        font-size: 13px;
        font-weight: 650;
        line-height: 1.2;
        letter-spacing: 0;
        text-decoration: none;
        text-transform: none;
        transition: transform .4s var(--skc-ease), background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .4s var(--skc-ease);
    }
    & .btn:hover { color: #fff !important; background: rgba(158, 179, 204, .17) !important; border-color: rgba(158, 179, 204, .42) !important; transform: translateY(-1px); }
    & .btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
    & .btn:focus-visible { outline: 2px solid var(--skc-accent); outline-offset: 3px; box-shadow: none; }
    & .btn-sm, & .btn-xs { min-height: 38px; padding: 0 16px; font-size: 12px; border-radius: 12px; }
    & .btn-link { color: var(--skc-muted) !important; background: transparent !important; border-color: transparent !important; }
    & .btn-link:hover { color: #fff !important; background: rgba(158, 179, 204, .09) !important; border-color: transparent !important; }
    & .btn.disabled, & .btn:disabled { opacity: .45; pointer-events: none; }

    /* Primary call to action */
    & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta) {
        position: relative;
        display: flex;
        width: 100%;
        min-height: 58px;
        padding: 0 26px;
        overflow: hidden;
        color: #0a0c1d !important;
        background: linear-gradient(180deg, #fff, #d6e0ee) !important;
        border: 0 !important;
        border-radius: 17px;
        box-shadow: inset 0 1px 0 #fff, 0 16px 38px -14px rgba(158, 179, 204, .65);
        font-size: 15px;
        font-weight: 700;
    }
    & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta)::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%);
        transform: translateX(-120%);
        transition: transform .9s var(--skc-ease);
        pointer-events: none;
    }
    html[dir="rtl"] & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta)::after { transform: translateX(120%); }
    & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta):hover,
    & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta):focus {
        color: #0a0c1d !important;
        background: linear-gradient(180deg, #fff, #dfe8f4) !important;
        box-shadow: inset 0 1px 0 #fff, 0 22px 48px -14px rgba(158, 179, 204, .85);
        transform: translateY(-2px);
    }
    & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta):hover::after { transform: translateX(120%); }
    html[dir="rtl"] & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta):hover::after { transform: translateX(-120%); }
    & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta) i { font-size: .9em; transition: transform .4s var(--skc-ease); }
    & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta):hover .fa-arrow-right { transform: translateX(4px); }
    & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta):hover .fa-arrow-left { transform: translateX(-4px); }
    & :is(#btnCompleteProductConfig, .btn-checkout, #btnCompleteOrder, .skc-cta):is(:disabled, .disabled) { opacity: .4; filter: grayscale(.6); box-shadow: none; }
    & .btn.skc-cta { width: auto !important; min-width: 280px; margin-inline: auto; }
    & .btn .fa-spin { margin: 0; }

    /* Small trust line under the main buttons */
    & .skc-secure {
        display: flex;
        margin: 16px 0 0;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--skc-dim) !important;
        font-size: 12px;
        text-align: center;
    }
    & .skc-secure i { color: var(--skc-ok); font-size: 11px; }

    /* ------------------------------------------------------ Order summary */
    & .order-summary { position: relative; margin: 0; padding: 0; overflow: hidden; }
    & .order-summary h2 {
        display: flex;
        margin: 0;
        padding: 22px 30px;
        align-items: center;
        gap: 12px;
        color: var(--skc-ink);
        background: rgba(255, 255, 255, .03) !important;
        border-block-end: 1px solid var(--skc-line);
        font-size: 15px !important;
        font-weight: 700;
        letter-spacing: -.01em;
        text-align: start;
    }
    & .order-summary h2::before {
        content: "\f570";
        display: inline-flex;
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
        color: var(--skc-accent);
        background: rgba(158, 179, 204, .12);
        border-radius: 10px;
        font: 900 12px/1 var(--skc-fa);
    }
    & .order-summary .summary-container { padding: 28px 30px 30px !important; background: none !important; font-size: 14px; }
    & .order-summary .loader {
        position: absolute;
        inset: 0;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--skc-accent);
        background: rgba(8, 9, 26, .72);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        font-size: 22px;
    }
    & .order-summary .loader.w-hidden { display: none; }
    & .order-summary .product-name {
        display: block;
        color: var(--skc-ink);
        font-size: 19px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -.02em;
    }
    & .order-summary .product-group { display: block; margin: 4px 0 20px; color: var(--skc-dim); font-size: 12px; font-weight: 550; }
    & .order-summary .clearfix {
        display: flex;
        padding: 9px 0;
        align-items: baseline;
        justify-content: space-between;
        gap: 18px;
        color: var(--skc-text);
        font-size: 14px;
        line-height: 1.5;
    }
    & .order-summary .clearfix::before,
    & .order-summary .clearfix::after { content: none; display: none; }
    & .order-summary .clearfix > span:last-child,
    & .order-summary .clearfix > div:last-child { color: var(--skc-ink); font-weight: 600; text-align: end; white-space: nowrap; }
    & .order-summary .clearfix a { margin-inline-start: 8px; color: var(--skc-dim); }
    & .order-summary .clearfix a:hover { color: var(--skc-bad); }
    & .order-summary :is(.summary-totals, .bordered-totals) { margin-top: 12px; padding-top: 12px; border-block-start: 1px dashed var(--skc-line-2); }
    & .order-summary .subtotal { padding: 0; border: 0; }
    & .order-summary .recurring-totals { margin-top: 12px; padding-top: 14px; border-block-start: 1px dashed var(--skc-line-2); }
    & .order-summary .recurring-charges { display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
    & .order-summary .recurring-charges br { display: none; }
    & .order-summary .recurring-charges > span { padding: 2px 0; color: var(--skc-muted); font-size: 12px; font-weight: 500; }
    & .order-summary .recurring-charges .cost { color: var(--skc-ink); font-size: 14px; font-style: normal; font-weight: 700; }
    & .order-summary .total-due-today {
        display: flex;
        margin: 22px 0 0;
        padding: 24px;
        flex-direction: column-reverse;
        gap: 8px;
        text-align: start;
        background: linear-gradient(135deg, rgba(158, 179, 204, .13), rgba(92, 120, 255, .06));
        border: 1px solid var(--skc-line-2);
        border-radius: 20px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    }
    & .order-summary .total-due-today .amt {
        color: #fff;
        font-size: clamp(32px, 3vw, 40px);
        font-weight: 750;
        line-height: 1;
        letter-spacing: -.045em;
    }
    & .order-summary .total-due-today > span { text-align: start; }
    html[dir="rtl"] & .order-summary .total-due-today .amt { text-align: right; }
    & .order-summary .total-due-today > span:not(.amt) { color: var(--skc-muted); font-size: 12px; font-weight: 600; }
    & .order-summary .express-checkout-buttons { margin-top: 18px; }
    & .order-summary .express-checkout-buttons .separator { margin: 14px 0; color: var(--skc-dim); font-size: 11px; letter-spacing: .12em; text-align: center; }

    & #orderSummary:not(.order-summary) { display: flex; flex-direction: column; gap: 4px; }
    & #orderSummary:not(.order-summary) > .text-center { margin-top: 14px; }

    & .skc-summary-actions { display: flex; margin-top: 22px; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
    & .skc-summary-actions .btn-continue-shopping { min-height: 42px; align-self: center; color: var(--skc-muted) !important; }
    & .skc-summary-actions .skc-secure { margin-top: 6px; }

    /* ----------------------------------------------------- Cart line items */
    & .view-cart-items-header { display: none; }
    & .view-cart-items {
        display: grid;
        gap: 18px;
        overflow: visible;
        background: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    & .view-cart-items .item {
        position: relative;
        margin: 0;
        padding: 26px 30px;
        overflow: hidden;
        transition: transform .5s var(--skc-ease), border-color .35s ease, box-shadow .5s var(--skc-ease);
        animation: skc-rise .7s var(--skc-ease) backwards;
        animation-delay: .18s;
    }
    & .view-cart-items .item:nth-child(2) { animation-delay: .26s; }
    & .view-cart-items .item:nth-child(3) { animation-delay: .34s; }
    & .view-cart-items .item:nth-child(n + 4) { animation-delay: .42s; }
    & .view-cart-items .item:hover {
        transform: translateY(-3px);
        border-color: var(--skc-line-2) !important;
        box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .07) !important;
    }
    & .view-cart-items .item > .row {
        display: flex;
        margin: 0;
        align-items: center;
        flex-wrap: nowrap;
        gap: 22px;
    }
    & .view-cart-items .item > .row::after { content: none; }
    & .view-cart-items .item > .row > [class*="col-"] { width: auto; max-width: none; padding: 0; flex: 0 0 auto; }
    & .view-cart-items .item > .row > div:first-of-type { min-width: 0; flex: 1 1 auto; }
    & .view-cart-items .item > .row:first-child::before {
        content: "\f233";
        display: flex;
        width: 54px;
        height: 54px;
        flex: 0 0 54px;
        align-items: center;
        justify-content: center;
        align-self: flex-start;
        color: #dbe5f2;
        background: linear-gradient(145deg, rgba(158, 179, 204, .22), rgba(109, 131, 159, .05));
        border: 1px solid var(--skc-line-2);
        border-radius: 17px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
        font: 900 18px/1 var(--skc-fa);
        transition: transform .5s var(--skc-ease), box-shadow .5s var(--skc-ease);
    }
    & .view-cart-items .item:hover > .row:first-child::before { transform: rotate(-6deg) scale(1.06); box-shadow: 0 10px 26px -8px rgba(158, 179, 204, .55); }
    & .view-cart-items .item-addon > .row:first-child::before { content: "\f12e"; }
    & .view-cart-items .item-domain-reg > .row:first-child::before { content: "\f0ac"; }
    & .view-cart-items .item-renewal > .row:first-child::before { content: "\f021"; }
    & .view-cart-items .item-upgrade > .row:first-child::before { content: "\f0aa"; }

    & .view-cart-items .item span.item-title {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 12px;
        color: var(--skc-ink);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -.02em;
    }
    & .view-cart-items .item-title .btn-link {
        min-height: 28px;
        margin: 0;
        padding: 0 11px;
        color: var(--skc-accent) !important;
        background: rgba(158, 179, 204, .08) !important;
        border: 1px solid var(--skc-line) !important;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 650;
    }
    & .view-cart-items .item-title .btn-link:hover { color: #fff !important; background: rgba(158, 179, 204, .16) !important; border-color: var(--skc-line-2) !important; }
    & .view-cart-items .item span.item-group { display: block; margin-top: 5px; color: var(--skc-muted); font-size: 13px; }
    & .view-cart-items .item span.item-domain {
        display: inline-flex;
        margin-top: 12px;
        padding: 5px 13px;
        color: var(--skc-accent);
        background: rgba(158, 179, 204, .08);
        border: 1px solid var(--skc-line);
        border-radius: 999px;
        font-size: 12px;
        font-weight: 600;
    }
    & .view-cart-items .item span.item-domain:empty { display: none; }
    & .view-cart-items .item small { display: block; margin-top: 12px; color: var(--skc-dim); font-size: 12.5px; line-height: 1.9; }

    & .view-cart-items .item-price {
        min-width: 132px;
        color: var(--skc-muted);
        font-size: 12px;
        line-height: 1.7;
        text-align: end;
    }
    & .view-cart-items .item-price > span:first-child {
        display: block;
        color: #fff;
        font-size: 23px;
        font-weight: 750;
        line-height: 1.15;
        letter-spacing: -.035em;
    }
    & .view-cart-items .item-price .cycle { display: block; color: var(--skc-muted); font-size: 12px; font-weight: 500; }
    & .view-cart-items .item-price .renewal { margin-top: 4px; color: var(--skc-dim); }
    & .view-cart-items .item-price .dropdown { margin-top: 8px; }
    & .view-cart-items .item-qty { display: flex; align-items: center; flex-direction: column; gap: 8px; }
    & .view-cart-items .item-qty .form-control { width: 84px; height: 46px; min-height: 46px; }
    & .view-cart-items .row-upgrade-credit { margin-top: 18px; padding-top: 18px; border-block-start: 1px dashed var(--skc-line-2); }
    & .view-cart-items .upgrade-calc-msg { margin-top: 4px; color: var(--skc-dim); font-size: 12px; }

    & .btn-remove-from-cart {
        min-width: 42px;
        min-height: 42px;
        padding: 0 12px;
        color: var(--skc-muted) !important;
        background: transparent !important;
        border: 1px solid var(--skc-line) !important;
        border-radius: 999px;
    }
    & .btn-remove-from-cart:hover { color: #fff !important; background: rgba(238, 125, 139, .16) !important; border-color: rgba(238, 125, 139, .5) !important; }
    & .item-title .btn-remove-from-cart { min-height: 28px; min-width: 0; padding: 0 11px; font-size: 11px; }

    & .empty-cart { margin-top: 20px; text-align: end; }
    & .empty-cart .btn { min-height: 38px; color: var(--skc-dim) !important; font-size: 12px; }
    & .empty-cart .btn:hover { color: var(--skc-bad) !important; background: rgba(238, 125, 139, .08) !important; }

    & .view-cart-empty {
        display: flex;
        padding: 72px 28px;
        align-items: center;
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
    & .view-cart-empty p { margin: 0; color: var(--skc-muted) !important; font-size: 16px; }
    & .skc-empty-icon {
        display: flex;
        width: 84px;
        height: 84px;
        align-items: center;
        justify-content: center;
        color: var(--skc-accent);
        background: radial-gradient(circle, rgba(158, 179, 204, .16), rgba(158, 179, 204, .03));
        border: 1px solid var(--skc-line-2);
        border-radius: 50%;
        box-shadow: 0 0 0 10px rgba(158, 179, 204, .04);
        font-size: 28px;
    }

    /* ---------------------------------------------- Promo code / tax tools */
    & .view-cart-tabs { margin-top: 26px; overflow: hidden; animation: skc-rise .8s .4s var(--skc-ease) backwards; }
    & .view-cart-tabs .nav-tabs {
        display: flex;
        padding: 10px 18px 0;
        gap: 8px;
        background: rgba(255, 255, 255, .02);
        border-block-end: 1px solid var(--skc-line);
    }
    & .view-cart-tabs .nav-item { margin: 0; }
    & .view-cart-tabs .nav-link {
        padding: 14px 10px;
        color: var(--skc-muted);
        background: transparent !important;
        border: 0 !important;
        border-block-end: 2px solid transparent !important;
        border-radius: 0 !important;
        font-size: 13px;
        font-weight: 650;
        letter-spacing: 0;
        text-transform: none;
        transition: color .3s ease, border-color .3s ease;
    }
    & .view-cart-tabs .nav-link:hover { color: var(--skc-ink); }
    & .view-cart-tabs .nav-link.active { color: var(--skc-ink); border-block-end-color: var(--skc-accent) !important; }
    & .view-cart-tabs .tab-content,
    & .view-cart-tabs .tab-pane { min-height: 0; padding: 0; background: none !important; }
    & .view-cart-tabs .tab-pane { padding: 26px 28px !important; }
    & .fivem-promo-form { display: flex; align-items: flex-start; gap: 14px; }
    & .fivem-promo-form .form-group { flex: 1; margin: 0; }
    & .fivem-promo-form .fivem-promo-submit { min-width: 150px; min-height: 54px; }
    & .view-cart-promotion-code {
        margin-bottom: 16px;
        padding: 15px 20px;
        color: var(--skc-ok);
        background: rgba(104, 197, 161, .08);
        border: 1px solid rgba(104, 197, 161, .28);
        border-radius: 16px;
        font-weight: 600;
        text-align: center;
    }
    & #calcTaxes .form-group.row { margin-bottom: 18px; align-items: center; }
    & #calcTaxes .form-group.row:last-child { margin-bottom: 0; }

    /* ------------------------------------------------------------- Checkout */
    & .already-registered {
        display: flex;
        margin: 0 0 26px;
        padding: 20px 26px;
        align-items: center;
        justify-content: space-between;
        gap: 22px;
        animation: skc-rise .8s .1s var(--skc-ease) backwards;
    }
    & .already-registered::after { content: none; }
    & .already-registered > div { order: 2; float: none; flex: 0 0 auto; }
    & .already-registered > p { order: 1; margin: 0; flex: 1; overflow: visible; color: var(--skc-text) !important; font-size: 14px; line-height: 1.6; }
    & .already-registered .btn { min-height: 42px; }
    & .already-registered .btn-info,
    & .already-registered .btn-warning { color: var(--skc-ink) !important; }

    & #frmCheckout {
        padding: 6px clamp(26px, 4vw, 46px) clamp(30px, 4vw, 46px) !important;
        animation: skc-rise .8s .2s var(--skc-ease) backwards;
    }
    & #frmCheckout .row { margin-inline: -12px; }
    & #frmCheckout .row > [class*="col-"] { padding-inline: 12px; }
    &.fivem-checkout-page .cart-body { max-width: 900px !important; margin-inline: auto; }

    & .account-select-container { display: grid; margin: 0 0 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
    & .account-select-container > [class*="col-"] { width: auto; max-width: none; padding: 0 !important; flex: none; }
    & .account-select-container > .col-sm-12 { grid-column: 1 / -1; }
    & .account { margin: 0; padding: 18px 20px; box-shadow: none !important; transition: border-color .3s ease, background .3s ease, box-shadow .3s ease; }
    & .account:hover { border-color: rgba(158, 179, 204, .4) !important; }
    & .account.active { background: rgba(158, 179, 204, .1) !important; border-color: var(--skc-accent) !important; box-shadow: 0 0 0 3px rgba(158, 179, 204, .1) !important; }
    & .account label { display: flex; width: 100%; margin: 0; padding: 0; align-items: flex-start; gap: 14px; background: none; border: 0; box-shadow: none; cursor: pointer; }
    & .account .address { display: block; color: var(--skc-muted); font-size: 13px; font-weight: 500; line-height: 1.6; }
    & .account .address strong { color: var(--skc-ink); font-size: 15px; }

    & .password-strength-meter .progress { height: 6px; margin: 0; overflow: hidden; background: rgba(255, 255, 255, .07); border-radius: 99px; }
    & .password-strength-meter .progress-bar { border-radius: 99px; }
    & #passwordStrengthTextLabel { margin: 10px 0 0; color: var(--skc-dim) !important; font-size: 12px; }

    &.fivem-checkout-page #totalDueToday {
        display: flex;
        margin: 0 0 28px;
        padding: 24px 28px;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        color: var(--skc-muted);
        background: linear-gradient(135deg, rgba(104, 197, 161, .13), rgba(158, 179, 204, .06));
        border: 1px solid rgba(104, 197, 161, .3);
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        text-align: start;
    }
    & #totalCartPrice { color: #fff; font-size: 32px; font-weight: 750; line-height: 1; letter-spacing: -.045em; }

    & .apply-credit-container { display: grid; margin: 0 0 24px; padding: 22px 24px; gap: 12px; box-shadow: none !important; }
    & .apply-credit-container p { margin: 0 0 4px; color: var(--skc-text) !important; }
    & .apply-credit-container label.radio { display: flex; margin: 0; padding: 0; align-items: center; gap: 12px; background: none; border: 0; box-shadow: none; font-weight: 500; cursor: pointer; }

    & #paymentGatewaysContainer { margin: 0 0 8px; padding: 0 !important; background: none !important; border: 0 !important; }
    & #paymentGatewaysContainer > p { margin: 0 0 14px; color: var(--skc-muted) !important; font-size: 13px; }
    & #paymentGatewaysContainer .text-center {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 12px;
        text-align: start;
    }
    & #paymentGatewaysContainer .radio-inline {
        display: flex;
        margin: 0;
        padding: 20px 22px;
        align-items: center;
        gap: 14px;
        color: var(--skc-ink);
        background: rgba(255, 255, 255, .03);
        border: 1px solid var(--skc-line-2);
        border-radius: 18px;
        font-size: 14px;
        font-weight: 650;
        cursor: pointer;
        transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease, transform .4s var(--skc-ease);
    }
    & #paymentGatewaysContainer .radio-inline:hover { transform: translateY(-2px); border-color: rgba(158, 179, 204, .42); background: rgba(158, 179, 204, .06); }
    & #paymentGatewaysContainer .radio-inline:has(input:checked) { background: rgba(158, 179, 204, .1); border-color: var(--skc-accent); box-shadow: 0 0 0 3px rgba(158, 179, 204, .1); }

    & .fivem-payment-empty { grid-column: 1 / -1; padding: 20px; color: var(--skc-muted); border-radius: 16px; font-size: 13px; }
    & .fivem-payment-empty strong { color: var(--skc-ink); font-size: 14px; }
    & .fivem-payment-empty span { margin-top: 4px; font-size: 12px; }

    & .cc-input-container { margin-top: 18px; padding: 28px; box-shadow: none !important; }
    & .cc-input-container > ul { margin: 0 0 18px; padding: 0; list-style: none; }
    & .cc-input-container .existing-cc-grid { margin-bottom: 18px; }
    & .cc-input-container .input-group { display: flex; }
    & .cc-input-container .input-group .btn { border-radius: 0 15px 15px 0; }
    html[dir="rtl"] & .cc-input-container .input-group .btn { border-radius: 15px 0 0 15px; }

    & .checkbox-inline {
        display: inline-flex;
        margin: 0;
        padding: 0;
        align-items: center;
        gap: 12px;
        color: var(--skc-muted);
        background: none;
        border: 0;
        box-shadow: none;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.5;
        cursor: pointer;
    }
    & .checkbox-inline a { color: var(--skc-accent); text-decoration: underline; text-underline-offset: 3px; }
    & #frmCheckout > .text-center { margin-top: 36px; }
    & #frmCheckout > .text-center > p { margin: 0 0 22px; }
    & #btnCompleteOrder { width: 100%; max-width: 460px; margin-inline: auto; }

    & .checkout-security-msg {
        display: flex;
        margin: 26px 0 0;
        align-items: center;
        gap: 12px;
        color: var(--skc-muted);
        background: rgba(104, 197, 161, .06);
        border-color: rgba(104, 197, 161, .22);
        font-size: 13px;
    }
    & .checkout-security-msg > i { color: var(--skc-ok); }
    & .checkout-security-msg .clearfix { display: none; }

    /* ---------------------------------------------------------- Confirmation */
    & .fivem-complete-heading { padding: 12px 0 0 !important; text-align: center !important; }
    & .fivem-complete-heading .fivem-kicker { color: var(--skc-ok); background: rgba(104, 197, 161, .08); border-color: rgba(104, 197, 161, .3); }
    & .fivem-complete-heading p { margin-inline: auto; }
    & .fivem-complete-mark {
        display: block;
        width: 104px;
        height: 104px;
        margin: 0 auto 26px;
        padding: 26px;
        object-fit: contain;
        background: radial-gradient(circle, rgba(104, 197, 161, .18), rgba(104, 197, 161, .03));
        border: 1px solid rgba(104, 197, 161, .38);
        border-radius: 50%;
        box-shadow: 0 0 0 12px rgba(104, 197, 161, .06), 0 28px 70px -24px rgba(104, 197, 161, .55);
        animation: skc-pop 1s var(--skc-ease) backwards;
    }
    &.fivem-complete-page .cart-body > p {
        max-width: 640px;
        margin: 0 auto 28px;
        color: var(--skc-muted) !important;
        font-size: 15px;
        line-height: 1.75;
        text-align: center;
    }
    &.fivem-complete-page .order-confirmation {
        margin: 0 0 28px;
        padding: 32px !important;
        color: var(--skc-muted);
        font-size: 14px;
        text-align: center;
        animation: skc-rise .8s .25s var(--skc-ease) backwards;
    }
    &.fivem-complete-page .order-confirmation span {
        display: block;
        margin-top: 10px;
        background: linear-gradient(180deg, #fff 30%, #a9b9cf);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: clamp(30px, 5vw, 42px);
        font-weight: 750;
        line-height: 1.1;
        letter-spacing: -.04em;
    }
    &.fivem-complete-page .cart-body > .text-center { margin-top: 8px; }

    /* ---------------------------------------------------------------- Modals */
    & .modal-content {
        color: var(--skc-text);
        background: linear-gradient(180deg, #151835, #0b0d24);
        border: 1px solid var(--skc-line-2);
        border-radius: 26px;
        box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9);
    }
    & .modal-body { position: relative; padding: 40px 34px 30px; text-align: center; font-size: 14px; line-height: 1.7; }
    & .modal-body > .float-right { position: absolute; inset-block-start: 14px; inset-inline-end: 16px; float: none !important; }
    & .modal-body .close { color: var(--skc-muted); text-shadow: none; opacity: 1; }
    & .modal-body .close:hover { color: #fff; }
    & .modal-title { display: block; margin-bottom: 16px; color: var(--skc-ink); font-size: 20px; font-weight: 700; }
    & .modal-title i {
        display: flex;
        width: 76px;
        height: 76px;
        margin: 0 auto 20px;
        align-items: center;
        justify-content: center;
        color: var(--skc-bad);
        background: rgba(238, 125, 139, .1);
        border: 1px solid rgba(238, 125, 139, .3);
        border-radius: 50%;
        font-size: 26px !important;
    }
    & .modal-title span { display: block; }
    & .modal-footer { padding: 18px 24px 26px; justify-content: center; gap: 12px; border: 0; }
    & .modal-footer .btn { min-width: 110px; }

    & .dropdown-menu { padding: 8px; background: #10122b; border: 1px solid var(--skc-line-2); border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9); }
    & .dropdown-item { padding: 10px 14px; color: var(--skc-text); border-radius: 10px; font-size: 13px; }
    & .dropdown-item a { color: inherit; }
    & .dropdown-item:hover { color: #fff; background: rgba(158, 179, 204, .12); }
}

/* --------------------------------------------------------------- Keyframes */
@keyframes skc-rise {
    from { opacity: 0; translate: 0 24px; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes skc-pop {
    from { opacity: 0; scale: .6; }
    to { opacity: 1; scale: 1; }
}
@keyframes skc-ping {
    0% { opacity: .9; transform: scale(.85); }
    70%, 100% { opacity: 0; transform: scale(1.5); }
}
@keyframes skc-fill {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}
@keyframes skc-pulse {
    0% { box-shadow: 0 0 0 0 rgba(104, 197, 161, .55); }
    70%, 100% { box-shadow: 0 0 0 9px rgba(104, 197, 161, 0); }
}

/* Latin type gets Inter; Arabic script must never be letter-spaced. */
html:not([dir="rtl"]) .fivem-theme #order-standard_cart.skc {
    font-family: Inter, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-feature-settings: "cv11", "ss01", "ss03";
}
html[dir="rtl"] .fivem-theme #order-standard_cart.skc,
html[dir="rtl"] .fivem-theme #order-standard_cart.skc * { letter-spacing: 0 !important; }
html[dir="rtl"] .fivem-theme #order-standard_cart.skc .fivem-order-progress > .is-complete + div::before { background: linear-gradient(270deg, #dfe9f6, #9eb3cc); }

/* -------------------------------------------------------------- Responsive */
@media (max-width: 1099px) {
    .fivem-theme #order-standard_cart.skc .fivem-cart-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
}
@media (max-width: 991px) {
    .fivem-theme #order-standard_cart.skc .fivem-cart-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .fivem-theme #order-standard_cart.skc .fivem-cart-layout > .secondary-cart-sidebar { position: static; }
}
@media (max-width: 767px) {
    .fivem-theme #order-standard_cart.skc { padding-bottom: 64px; }
    .fivem-theme #order-standard_cart.skc .fivem-order-progress { margin-bottom: 30px; }
    .fivem-theme #order-standard_cart.skc .fivem-order-progress > div > strong { display: none; }
    .fivem-theme #order-standard_cart.skc .fivem-order-progress > div.is-active > strong { display: block; }
    .fivem-theme #order-standard_cart.skc .fivem-order-progress > div + div::before { width: 28px; margin-inline: 10px; }
    .fivem-theme #order-standard_cart.skc .fivem-order-heading { margin-bottom: 32px !important; }
    .fivem-theme #order-standard_cart.skc .product-info { padding: 22px; flex-direction: column; gap: 16px; }
    .fivem-theme #order-standard_cart.skc .field-container,
    .fivem-theme #order-standard_cart.skc .product-configurable-options { padding: 22px; }
    .fivem-theme #order-standard_cart.skc .product-configurable-options > .row { grid-template-columns: minmax(0, 1fr); }
    .fivem-theme #order-standard_cart.skc .view-cart-items .item { padding: 22px; }
    .fivem-theme #order-standard_cart.skc .view-cart-items .item > .row { flex-wrap: wrap; gap: 16px; }
    .fivem-theme #order-standard_cart.skc .view-cart-items .item > .row > div:first-of-type { flex: 1 1 calc(100% - 76px); }
    .fivem-theme #order-standard_cart.skc .view-cart-items .item > .row > .item-qty { flex: 1 1 auto; margin-inline-start: 70px; }
    .fivem-theme #order-standard_cart.skc .view-cart-items .item > .row > .item-price { min-width: 0; flex: 1 1 100%; margin-inline-start: 70px; text-align: start; }
    .fivem-theme #order-standard_cart.skc .view-cart-items .item > .row > .item-price > span:first-child { font-size: 22px; }
    .fivem-theme #order-standard_cart.skc .view-cart-items .row-upgrade-credit { margin-top: 14px; padding-top: 14px; }
    .fivem-theme #order-standard_cart.skc .fivem-promo-form { flex-direction: column; align-items: stretch; }
    .fivem-theme #order-standard_cart.skc .fivem-promo-form .fivem-promo-submit { width: 100%; }
    .fivem-theme #order-standard_cart.skc .view-cart-tabs .tab-pane { padding: 22px !important; }
    .fivem-theme #order-standard_cart.skc .order-summary h2 { padding: 20px 22px; }
    .fivem-theme #order-standard_cart.skc .order-summary .summary-container { padding: 22px !important; }
    .fivem-theme #order-standard_cart.skc .already-registered { padding: 20px; flex-direction: column; align-items: stretch; text-align: center; }
    .fivem-theme #order-standard_cart.skc .already-registered > div { order: 2; }
    .fivem-theme #order-standard_cart.skc .already-registered .btn { width: 100%; }
    .fivem-theme #order-standard_cart.skc #frmCheckout { padding: 24px 20px !important; }
    .fivem-theme #order-standard_cart.skc.fivem-checkout-page #totalDueToday { padding: 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .fivem-theme #order-standard_cart.skc #totalCartPrice { white-space: nowrap; }
    .fivem-theme #order-standard_cart.skc #totalCartPrice { font-size: 26px; }
    .fivem-theme #order-standard_cart.skc .cc-input-container { padding: 20px; }
    .fivem-theme #order-standard_cart.skc .empty-cart { text-align: center; }
    .fivem-theme #order-standard_cart.skc .modal-body { padding: 36px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .fivem-theme #order-standard_cart.skc *,
    .fivem-theme #order-standard_cart.skc *::before,
    .fivem-theme #order-standard_cart.skc *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
    }
}
