/* Lumen Cart (compact list): configure step, cart and checkout of the Lumen theme */
.page-configureproduct {
    --nk-primary: #5b1571;
    --nk-fg: #302334;
    --nk-muted: #f5edf8;
    --nk-muted-soft: #faf6fb;
    --nk-muted-fg: #695f6d;
    --nk-border: #e7ddea;
    --nk-bg: #ffffff;
    --nk-solid: #ffffff;
    --nk-hover: rgba(91, 21, 113, 0.04);
    --nk-hover-border: rgba(91, 21, 113, 0.4);
    --nk-on-bg: #fbf7fc;
    --nk-ok: #1d7d3e;
    --nk-ok-bg: #e6f6ea;
    --nk-warn: #9a5b10;
    --nk-warn-bg: #fdf2e3;
    --nk-track: #ece3f0;
    --nk-brand-tag: rgba(91, 21, 113, 0.1);
    --nk-ring: rgba(91, 21, 113, 0.14);
    --nk-float: 0 8px 24px -12px rgba(60, 20, 90, 0.18);
    --nk-pop: 0 16px 40px -16px rgba(60, 20, 90, 0.35);
    --nk-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
[data-theme="dark"] .page-configureproduct,
[data-theme="dark"].page-configureproduct {
    --nk-primary: #d38eed;
    --nk-fg: #f8f6f9;
    --nk-muted: rgba(255, 255, 255, 0.06);
    --nk-muted-soft: rgba(255, 255, 255, 0.03);
    --nk-muted-fg: #a699ab;
    --nk-border: rgba(255, 255, 255, 0.09);
    --nk-bg: rgba(255, 255, 255, 0.02);
    --nk-solid: #1a121d;
    --nk-hover: rgba(211, 142, 237, 0.06);
    --nk-hover-border: rgba(211, 142, 237, 0.45);
    --nk-on-bg: rgba(211, 142, 237, 0.08);
    --nk-ok: #6fd391;
    --nk-ok-bg: rgba(111, 211, 145, 0.12);
    --nk-warn: #f3b664;
    --nk-warn-bg: rgba(243, 182, 100, 0.12);
    --nk-track: rgba(255, 255, 255, 0.1);
    --nk-brand-tag: rgba(211, 142, 237, 0.14);
    --nk-ring: rgba(211, 142, 237, 0.2);
    --nk-float: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
    --nk-pop: 0 16px 40px -16px rgba(0, 0, 0, 0.7);
}

.nkc-hidden { display: none !important; }

/* ── Type ──────────────────────────────────────────────────── */
.page-configureproduct .main-body,
.page-configureproduct #orderSummaryMob,
.nkc-modal { font-family: var(--nk-font); }
.page-configureproduct .main-body .section-title {
    font-family: var(--nk-font);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--nk-fg);
}

/* ── Product datasheet ─────────────────────────────────────── */
.page-configureproduct .product-config-info {
    border: 1px solid var(--nk-border);
    border-radius: 14px;
    box-shadow: none;
    background: var(--nk-bg);
}
.page-configureproduct .product-config-info h2 {
    font-family: var(--nk-font);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--nk-fg);
    margin-bottom: 16px;
}
.nkc-spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--nk-border); }
.nkc-spec-row { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--nk-border); min-width: 0; }
.nkc-spec dt { font-size: 12px; font-weight: 500; color: var(--nk-muted-fg); margin: 0 0 2px; }
.nkc-spec dd { font-size: 14px; font-weight: 600; color: var(--nk-fg); margin: 0; font-variant-numeric: tabular-nums; }

/* ── Sections and cards ────────────────────────────────────── */
.nkc-sec-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.nkc-sec-head--2 { margin-top: 28px; }
.nkc-sec-num {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    background: var(--lm-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.page-configureproduct .nkc-sec-title {
    margin: 0;
    font-family: var(--nk-font);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--nk-fg);
    white-space: nowrap;
}
.nkc-sec-free {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--nk-ok-bg);
    color: var(--nk-ok);
}
.nkc-card {
    container: nkccard / inline-size;
    border: 1px solid var(--nk-border);
    border-radius: 14px;
    background: var(--nk-bg);
}
.page-configureproduct .nkc-card > .section { margin: 0; padding: 0; }
.page-configureproduct .nkc-card > .section + .section .nkc-row { border-top: 1px solid var(--nk-border); }
.page-configureproduct .nkc-card .section-body { margin: 0; padding: 0; }

.nkc-row {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 16px 22px;
    color: var(--nk-fg);
}
.nkc-row[data-kind="qty"]:has(.nkc-disk) { align-items: start; }
.nkc-row[data-kind="qty"]:has(.nkc-disk) .nkc-row-head { padding-top: 6px; }
.nkc-row-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nkc-row-ico {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 9px;
    background: var(--nk-muted);
    color: var(--nk-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.nkc-row-title {
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nkc-row-ctl { min-width: 0; }
.page-configureproduct .nkc-info {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    margin: 0 0 0 -4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--nk-muted-fg);
    font-size: 15px;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.page-configureproduct .nkc-info:hover { color: var(--nk-primary); background: var(--nk-muted); }
.nkc-help { margin: 8px 0 0; font-size: 12px; color: var(--nk-muted-fg); }

/* ── Searchable dropdown ───────────────────────────────────── */
.nkc-dd { position: relative; max-width: 440px; }
.page-configureproduct .nkc-dd-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--nk-border);
    border-radius: 10px;
    background: var(--nk-bg);
    color: var(--nk-fg);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.page-configureproduct .nkc-dd-btn:hover { border-color: var(--nk-hover-border); }
.nkc-dd.is-open .nkc-dd-btn { border-color: var(--nk-primary); box-shadow: 0 0 0 3px var(--nk-ring); }
.nkc-dd-cur { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.nkc-dd-text { min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nkc-dd-chev { font-size: 12px; color: var(--nk-muted-fg); transition: transform 0.15s ease; }
.nkc-dd.is-open .nkc-dd-chev { transform: rotate(180deg); }
.nkc-dd-pop {
    display: none;
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 260px;
    border: 1px solid var(--nk-border);
    border-radius: 12px;
    background: var(--nk-solid);
    box-shadow: var(--nk-pop);
    overflow: hidden;
}
.nkc-dd.is-open .nkc-dd-pop { display: block; }
.nkc-dd.is-up .nkc-dd-pop { top: auto; bottom: calc(100% + 6px); }
.nkc-dd-search { position: relative; padding: 8px; border-bottom: 1px solid var(--nk-border); }
.nkc-dd-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--nk-muted-fg); }
.page-configureproduct .nkc-dd-search input {
    width: 100%;
    height: 38px;
    margin: 0;
    padding: 0 10px 0 34px;
    border: 1px solid var(--nk-border);
    border-radius: 8px;
    background: var(--nk-bg);
    color: var(--nk-fg);
    font: inherit;
    font-size: 14px;
    box-shadow: none;
    outline: none;
}
.page-configureproduct .nkc-dd-search input:focus { border-color: var(--nk-primary); box-shadow: 0 0 0 3px var(--nk-ring); }
.nkc-dd-list { max-height: 300px; overflow-y: auto; padding: 6px; overscroll-behavior: contain; }
.nkc-dd-group {
    padding: 8px 8px 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nk-muted-fg);
}
.page-configureproduct .nkc-dd-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--nk-fg);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.page-configureproduct .nkc-dd-opt:hover,
.page-configureproduct .nkc-dd-opt:focus { background: var(--nk-hover); outline: none; }
.page-configureproduct .nkc-dd-opt.is-on { background: var(--nk-on-bg); }
.nkc-dd-opt .nkc-dd-text { font-weight: 500; }
.nkc-dd-opt.is-on .nkc-dd-text { font-weight: 600; }
.nkc-dd-opt.is-on::after {
    content: "\f00c";
    margin-left: auto;
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--nk-primary);
}
.nkc-dd-empty { display: none; padding: 14px 8px; font-size: 13px; color: var(--nk-muted-fg); }
.nkc-mini {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 7px;
    background: var(--nk-muted);
    color: var(--nk-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* official game icons (cacheprotect assets) */
.nkc-gimg {
    background: #fff !important;
    box-shadow: inset 0 0 0 1px var(--nk-border);
    overflow: hidden;
}
.nkc-gimg img { width: 78%; height: 78%; object-fit: contain; border-radius: 4px; }
.nkc-gimg img + i { display: none; }
.nkc-gimg.nkc-gimg-x { background: var(--nk-muted) !important; }
.nkc-chip-ico {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ── Chips, tags ───────────────────────────────────────────── */
.nkc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.page-configureproduct .nkc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid var(--nk-border);
    border-radius: 10px;
    background: var(--nk-bg);
    color: var(--nk-fg);
    font: inherit;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.page-configureproduct .nkc-chip:hover { border-color: var(--nk-hover-border); background: var(--nk-hover); }
.page-configureproduct .nkc-chip.is-on {
    border-color: var(--nk-primary);
    box-shadow: inset 0 0 0 1px var(--nk-primary);
    background: var(--nk-on-bg);
}
.nkc-chip b { font-weight: 600; }
.nkc-tag {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--nk-muted);
    color: var(--nk-muted-fg);
    white-space: nowrap;
}
.nkc-tag--brand { background: var(--nk-brand-tag); color: var(--nk-primary); }
.nkc-tag--warn { background: var(--nk-warn-bg); color: var(--nk-warn); }
.nkc-sub { flex: 0 0 auto; font-size: 12px; font-weight: 500; color: var(--nk-muted-fg); white-space: nowrap; }
.nkc-price { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--nk-muted-fg); font-variant-numeric: tabular-nums; }
.nkc-muted { color: var(--nk-muted-fg); font-weight: 500; }
.nkc-flag { width: 28px; height: 20px; flex: 0 0 28px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.nkc-static { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.nkc-static b { font-weight: 600; }

/* ── Stepper ───────────────────────────────────────────────── */
.nkc-qty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nkc-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--nk-border);
    border-radius: 10px;
    background: var(--nk-bg);
    overflow: hidden;
}
.page-configureproduct .nkc-step {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--nk-fg);
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.page-configureproduct .nkc-step:hover:not(:disabled) { background: var(--nk-hover); }
.page-configureproduct .nkc-step:disabled { opacity: 0.35; cursor: default; }
.nkc-step-val {
    min-width: 108px;
    padding: 0 10px;
    border-left: 1px solid var(--nk-border);
    border-right: 1px solid var(--nk-border);
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.nkc-qty-price { font-size: 14px; font-weight: 600; color: var(--nk-primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nkc-qty-price small { font-size: 12px; font-weight: 500; color: var(--nk-muted-fg); }

/* ── Switch ────────────────────────────────────────────────── */
.nkc-switch { position: relative; display: inline-flex; align-items: center; gap: 12px; margin: 0; font-weight: 400; cursor: pointer; user-select: none; }
.nkc-switch-in { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nkc-switch-track {
    position: relative;
    width: 44px;
    height: 26px;
    flex: 0 0 44px;
    border-radius: 999px;
    background: #d9cfdd;
    transition: background-color 0.2s ease;
}
.nkc-switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}
.nkc-switch-in:checked + .nkc-switch-track { background: var(--lm-primary); }
.nkc-switch-in:checked + .nkc-switch-track::after { transform: translateX(18px); }
.nkc-switch-in:focus-visible + .nkc-switch-track { outline: 2px solid var(--nk-primary); outline-offset: 2px; }
.nkc-switch-txt { font-size: 14px; color: var(--nk-fg); }
.nkc-switch-txt b { font-weight: 600; }
.nkc-cache-pick { margin-top: 12px; }

/* ── Disk note ─────────────────────────────────────────────── */
.nkc-disk {
    max-width: 560px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid var(--nk-border);
    border-radius: 10px;
    background: var(--nk-muted-soft);
    color: var(--nk-muted-fg);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.nkc-disk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.nkc-disk-head span { font-size: 13px; font-weight: 500; color: var(--nk-fg); }
.nkc-disk-head b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--nk-primary); white-space: nowrap; }
.nkc-disk-text { margin: 0; font-size: 12px; line-height: 1.5; }
.nkc-disk-text b { color: var(--nk-fg); font-weight: 600; }
.nkc-disk-bar { height: 6px; margin: 8px 0; border-radius: 999px; background: var(--nk-track); overflow: hidden; }
.nkc-disk-used { height: 100%; min-width: 4px; border-radius: 999px; background: var(--lm-primary); transition: width 0.3s ease; }
[data-theme="dark"] .nkc-disk-used { background: var(--nk-primary); }
.nkc-disk-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; }
.nkc-disk-key { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; background: var(--nk-track); }
.nkc-disk-key--os { background: var(--lm-primary); }

/* ── Focus ring ────────────────────────────────────────────── */
.page-configureproduct .nkc-chip:focus,
.page-configureproduct .nkc-step:focus,
.page-configureproduct .nkc-dd-btn:focus,
.page-configureproduct .nkc-info:focus { outline: none; }
.page-configureproduct .nkc-chip:focus-visible,
.page-configureproduct .nkc-step:focus-visible,
.page-configureproduct .nkc-dd-btn:focus-visible,
.page-configureproduct .nkc-info:focus-visible { outline: 2px solid var(--nk-primary); outline-offset: 2px; }

/* ── Billing cycles ────────────────────────────────────────── */
.page-configureproduct #sectionCycles .panel-check {
    border: 1px solid var(--nk-border);
    border-radius: 12px;
    box-shadow: none;
    background: var(--nk-bg);
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.page-configureproduct #sectionCycles .panel-check:hover { border-color: var(--nk-hover-border); }
.page-configureproduct #sectionCycles .panel-check.checked {
    border-color: var(--nk-primary);
    box-shadow: inset 0 0 0 1px var(--nk-primary);
    background: var(--nk-on-bg);
}
.page-configureproduct #sectionCycles .check-title {
    font-family: var(--nk-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--nk-fg);
    font-variant-numeric: tabular-nums;
}
@media (min-width: 992px) {
    .page-configureproduct #sectionCycles .panel-check-group { flex-wrap: nowrap; }
    .page-configureproduct #sectionCycles .panel-check-group > [class*="col-"] { flex: 1 1 0; max-width: none; width: auto; }
}

/* ── Summary ───────────────────────────────────────────────── */
.page-configureproduct .panel-summary.panel-summary-primary,
.page-configureproduct .panel-summary {
    background: var(--nk-solid) !important;
    background-image: none !important;
    border: 1px solid var(--nk-border);
    border-radius: 14px;
    box-shadow: var(--nk-float);
    color: var(--nk-fg);
    overflow: hidden;
}
.page-configureproduct .panel-summary .panel-heading { background: none !important; border: 0; padding: 20px 20px 4px; }
.page-configureproduct .panel-summary .panel-title {
    font-family: var(--nk-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--nk-fg) !important;
}
.page-configureproduct .panel-summary .panel-body { padding: 8px 20px 4px; background: none !important; }
.page-configureproduct .panel-summary .summary-item {
    padding: 0 0 12px;
    margin: 0;
    border-bottom: 1px solid var(--nk-border);
    align-items: baseline;
}
.page-configureproduct .panel-summary .summary-item .item-name,
.page-configureproduct .panel-summary .summary-item .item-name * {
    font-size: 14px;
    font-weight: 600;
    color: var(--nk-fg) !important;
}
.page-configureproduct .panel-summary .summary-item .pg-name { color: var(--nk-muted-fg) !important; font-weight: 500; }
.page-configureproduct .panel-summary .item-value,
.page-configureproduct .panel-summary .item-value * { color: var(--nk-fg) !important; font-variant-numeric: tabular-nums; }
.page-configureproduct .panel-summary .summary-item .item-value-price { font-size: 14px; font-weight: 600; }
.page-configureproduct .panel-summary .summary-list {
    margin: 0;
    padding: 4px 0 0;
    background: none !important;
    border: 0;
    border-radius: 0;
}
.page-configureproduct .panel-summary .summary-list .list-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    height: auto !important;
    min-height: 0;
    padding: 7px 0;
    margin: 0;
    border-bottom: 1px solid var(--nk-border);
    font-size: 13px;
    line-height: 1.4;
    background: none !important;
}
.page-configureproduct .panel-summary .summary-list .list-item:last-child { border-bottom: 0; }
.page-configureproduct .panel-summary .summary-list .item-name {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    height: auto !important;
    max-height: none !important;
    white-space: nowrap;
    overflow: hidden;
    -webkit-line-clamp: unset;
    font-size: 13px;
    color: var(--nk-muted-fg) !important;
}
.page-configureproduct .panel-summary .nkc-sk { flex: 0 0 104px; color: var(--nk-muted-fg) !important; font-weight: 500; }
.page-configureproduct .panel-summary .summary-list .item-optionname {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--nk-fg) !important;
    font-weight: 600;
}
.page-configureproduct .panel-summary .summary-list .item-value {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
}
.page-configureproduct .panel-summary .summary-list .nkc-free-row .item-value { display: none; }
/* no flash of raw rows or the WHMCS spinner while the summary refreshes */
body.nkc-on.page-configureproduct .panel-summary .summary-list .list-item:not(.nkc-tidy) { visibility: hidden; }
body.nkc-on.page-configureproduct .panel-summary #orderSummaryLoader,
body.nkc-on.page-configureproduct .panel-summary > .loader { display: none !important; }
.page-configureproduct .panel-summary .panel-footer {
    background: none !important;
    border-top: 1px solid var(--nk-border);
    margin: 8px 20px 0;
    padding: 16px 0 20px;
}
.page-configureproduct .panel-summary.nkc-own-total .panel-footer .price { display: none; }

/* totals with a rolling counter */
.nkc-totals { font-variant-numeric: tabular-nums; }
.nkc-t-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--nk-muted-fg); }
.nkc-t-row s { font-weight: 500; }
.nkc-promo-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 12px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--nk-ok-bg);
    color: var(--nk-ok);
    font-size: 13px;
    font-weight: 600;
}
.nkc-promo-line i { margin-right: 4px; }
.nkc-promo-note { font-size: 12px; color: var(--nk-muted-fg); padding: 0 0 8px; }
.nkc-t-label { font-size: 13px; font-weight: 500; color: var(--nk-muted-fg); }
.nkc-t-amt { display: flex; align-items: baseline; gap: 6px; color: var(--nk-fg); }
.nkc-totals .nkc-odo { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.nkc-odo {
    display: inline-flex;
    align-items: flex-start;
    height: 1.15em;
    line-height: 1.15em;
    overflow: hidden;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.nkc-odo.is-up { color: var(--nk-primary); }
.nkc-odo.is-down { color: var(--nk-ok); }
.nkc-odo-d { display: inline-block; height: 1.15em; line-height: 1.15em; overflow: hidden; vertical-align: top; }
.nkc-odo-s {
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
.nkc-odo-s > span { display: block; height: 1.15em; line-height: 1.15em; text-align: center; }
.nkc-odo-c { display: inline-block; line-height: 1.15em; }

/* Continue buttons */
.page-configureproduct #btnCompleteProductConfig,
.page-configureproduct #btnCompleteProductConfigMob {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    border: 0 !important;
    border-radius: 10px;
    background: var(--lm-primary) !important;
    color: #fff !important;
    font-family: var(--nk-font);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
[data-theme="dark"] .page-configureproduct #btnCompleteProductConfig,
[data-theme="dark"] .page-configureproduct #btnCompleteProductConfigMob,
[data-theme="dark"].page-configureproduct #btnCompleteProductConfig,
[data-theme="dark"].page-configureproduct #btnCompleteProductConfigMob { background: var(--lm-primary) !important; }
.page-configureproduct #btnCompleteProductConfig *,
.page-configureproduct #btnCompleteProductConfigMob * { color: #fff !important; }
.page-configureproduct #btnCompleteProductConfig:hover,
.page-configureproduct #btnCompleteProductConfigMob:hover { opacity: 0.9; transform: translateY(-1px); }

/* Phone bar: WHMCS shows it only below 992px; we only restyle it there */
@media (max-width: 991.98px) {
    .page-configureproduct #orderSummaryMob.nkc-mob {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 16px;
        background: var(--nk-solid);
        border-top: 1px solid var(--nk-border);
        box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, 0.18);
    }
    .page-configureproduct #orderSummaryMob.nkc-mob #btnCompleteProductConfigMob { flex: 1 1 auto; width: auto; }
    /* WHMCS drops "is-fixed" when the full summary is on screen: then the bar would repeat it */
    .page-configureproduct #orderSummaryMob.nkc-mob:not(.is-fixed) { display: none; }
}
.nkc-mob-total { display: flex; flex-direction: column; flex: 0 0 auto; line-height: 1.15; font-variant-numeric: tabular-nums; }
.nkc-mob-label { font-size: 11px; font-weight: 500; color: var(--nk-muted-fg); }
.nkc-mob-total .nkc-odo { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--nk-fg); }

/* ── Info modal ────────────────────────────────────────────── */
body.nkc-modal-open { overflow: hidden; }
.nkc-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(23, 17, 31, 0);
    transition: background-color 0.2s ease;
}
.nkc-modal.is-in { background: rgba(23, 17, 31, 0.55); }
.nkc-modal-box {
    --nk-primary: #5b1571;
    --nk-fg: #302334;
    --nk-muted: #f5edf8;
    --nk-muted-fg: #695f6d;
    --nk-border: #e7ddea;
    --nk-ok: #1d7d3e;
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    color: var(--nk-fg);
    box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
    outline: none;
}
.nkc-modal.is-in .nkc-modal-box { opacity: 1; transform: none; }
[data-theme="dark"] .nkc-modal-box {
    --nk-primary: #d38eed;
    --nk-fg: #f8f6f9;
    --nk-muted: rgba(255, 255, 255, 0.06);
    --nk-muted-fg: #a699ab;
    --nk-border: rgba(255, 255, 255, 0.09);
    --nk-ok: #6fd391;
    background: #1a121d;
}
.nkc-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 32px 12px 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--nk-fg);
}
.nkc-modal-title i { color: var(--nk-primary); }
.nkc-modal-box p { margin: 0 0 12px; }
.nkc-modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--nk-muted);
    color: var(--nk-fg);
    cursor: pointer;
}
.nkc-modal-ok {
    width: 100%;
    height: 44px;
    margin-top: 8px;
    border: 0;
    border-radius: 10px;
    background: var(--lm-primary);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.nkc-info-grid { display: grid; gap: 10px; margin: 0 0 12px; }
.nkc-info-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--nk-border);
    border-radius: 12px;
}
.nkc-info-card b { display: block; margin-bottom: 2px; }
.nkc-info-card p { margin: 0; font-size: 13px; color: var(--nk-muted-fg); }
.nkc-info-card .nkc-ico {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nkc-info-list { list-style: none; margin: 0 0 12px; padding: 0; }
.nkc-info-list li { position: relative; padding: 4px 0 4px 22px; }
.nkc-info-list li > i { position: absolute; left: 0; top: 9px; font-size: 12px; color: var(--nk-ok); }
.nkc-muted-note { font-size: 13px; color: var(--nk-muted-fg); }
.nkc-info-ports { border: 1px solid var(--nk-border); border-radius: 12px; overflow: hidden; margin-bottom: 4px; }
.nkc-info-ports-head { padding: 10px 12px; background: var(--nk-muted); font-size: 13px; }
.nkc-info-ports table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nkc-info-ports td { padding: 8px 12px; border-top: 1px solid var(--nk-border); }
.nkc-info-ports td:first-child { width: 120px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── Narrow card and phone ─────────────────────────────────── */
@container nkccard (max-width: 620px) {
    .nkc-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
    .nkc-row[data-kind="qty"]:has(.nkc-disk) .nkc-row-head { padding-top: 0; }
    .nkc-dd { max-width: none; }
}
@media (max-width: 600px) {
    .nkc-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-configureproduct .nkc-sec-title { font-size: 18px; }
    .nkc-step-val { min-width: 92px; }
    .nkc-modal { align-items: flex-end; padding: 0; }
    .nkc-modal-box { max-width: none; border-radius: 16px 16px 0 0; max-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) {
    .nkc-odo-s, .nkc-modal, .nkc-modal-box, .nkc-switch-track, .nkc-switch-track::after,
    .page-configureproduct #btnCompleteProductConfig, .page-configureproduct #btnCompleteProductConfigMob { transition: none; }
}
.nkc-info-note {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--nk-muted);
    font-size: 13px;
}
.nkc-info-note > b { color: var(--nk-fg); }
.nkc-info-note > span { color: var(--nk-muted-fg); }

/* ── Disk box: full row width, under label and control ─────── */
.nkc-row[data-kind="qty"]:has(.nkc-disk) { align-items: center; }
.nkc-row[data-kind="qty"]:has(.nkc-disk) .nkc-row-head { padding-top: 0; }
.nkc-row > .nkc-disk { grid-column: 1 / -1; max-width: none; margin-top: 0; padding: 14px 16px; }
.nkc-disk .nkc-disk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nkc-disk-name { font-size: 14px; font-weight: 500; color: var(--nk-fg); }
.nkc-disk-name i { margin-right: 6px; color: var(--nk-primary); }
.nkc-disk-name b { font-weight: 700; }
.nkc-disk-free { font-size: 13px; color: var(--nk-muted-fg); white-space: nowrap; }
.nkc-disk-free b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--nk-primary); }
.nkc-disk .nkc-disk-bar { position: relative; display: flex; height: 8px; margin: 10px 0 8px; border-radius: 999px; background: var(--nk-track); overflow: hidden; }
.nkc-disk-os { display: block; height: 100%; min-width: 4px; background: var(--lm-primary); transition: width 0.3s ease; }
[data-theme="dark"] .nkc-disk-os { background: var(--nk-primary); }
.nkc-disk-mark { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--nk-solid); }
.nkc-disk .nkc-disk-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--nk-muted-fg); }
.nkc-disk-sum { margin-left: auto; }
.nkc-disk .nkc-disk-text {
    display: flex;
    gap: 8px;
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--nk-border);
    font-size: 12px;
    line-height: 1.5;
    color: var(--nk-muted-fg);
}
.nkc-disk-text i { margin-top: 3px; color: var(--nk-primary); }

/* summary: what the plan already includes */
.nkc-plan-specs {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 10px 0 4px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--nk-muted);
    font-size: 12px;
    line-height: 1.4;
}
.nkc-plan-specs span { color: var(--nk-muted-fg); }
.nkc-plan-specs b { font-size: 13px; font-weight: 600; color: var(--nk-fg); }

/* dropdown: profile summary under the name, from the cacheprotect addon */
.nkc-dd-opt .nkc-dd-sub { margin-left: auto; padding-left: 8px; font-size: 12px; font-weight: 400; color: var(--nk-muted-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.nkc-dd-opt.is-on .nkc-dd-sub { margin-right: 6px; }
@media (max-width: 600px) { .nkc-dd-opt .nkc-dd-sub { display: none; } }

/* ── Hosting / apps / other: description as feature tags ──── */
.nkc-tagline { margin: -6px 0 14px; font-size: 14px; color: var(--nk-muted-fg); }
.nkc-feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nkc-feats li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--nk-border);
    border-radius: 999px;
    background: var(--nk-muted-soft);
    color: var(--nk-fg);
    font-size: 13px;
    font-weight: 500;
}
.nkc-feats i { font-size: 13px; color: var(--nk-primary); }

/* ── Dedicated: second disk ────────────────────────────────── */
.nkc-disks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.nkc-disk-card {
    padding: 10px 12px;
    border: 1px solid var(--nk-border);
    border-radius: 10px;
    background: var(--nk-solid);
    color: var(--nk-fg);
    font-size: 13px;
}
.nkc-disk-card b { font-weight: 600; }
.nkc-disk-card span { display: block; font-size: 12px; color: var(--nk-muted-fg); }
.nkc-disk-card.is-off { opacity: 0.55; }
@media (max-width: 600px) { .nkc-disks { grid-template-columns: 1fr; } }

/* game list: name on its own line, ports summary below it, nothing cut */
.page-configureproduct .nkc-row[data-kind="game"] .nkc-dd-opt {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 14px;
    column-gap: 10px;
    row-gap: 1px;
    align-items: center;
    padding: 8px 10px;
}
.nkc-row[data-kind="game"] .nkc-dd-opt .nkc-mini { grid-column: 1; grid-row: 1 / span 2; }
.nkc-row[data-kind="game"] .nkc-dd-opt .nkc-dd-text {
    grid-column: 2;
    grid-row: 1;
    white-space: normal;
    overflow: visible;
    line-height: 1.3;
}
.nkc-row[data-kind="game"] .nkc-dd-opt .nkc-dd-sub {
    display: block;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
    max-width: none;
    white-space: normal;
    overflow: visible;
    font-size: 12px;
    line-height: 1.35;
}
.nkc-row[data-kind="game"] .nkc-dd-opt .nkc-price { grid-column: 2; grid-row: 3; }
.nkc-row[data-kind="game"] .nkc-dd-opt.is-on::after { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.nkc-row[data-kind="game"] .nkc-dd { max-width: 480px; }
.nkc-row[data-kind="game"] .nkc-dd-list { max-height: 360px; }

/* "Padrão" (no game profile) entry in the protection list */
.nkc-mini--default { background: var(--nk-brand-tag); color: var(--nk-primary); }
.nkc-info-note--default > b i { margin-right: 6px; color: var(--nk-primary); }

/* ==========================================================================
   Lumen cart page (configureproduct.tpl): layout around the controls above.
   ========================================================================== */
.lmc { padding-bottom: 24px; }
.lmc-head { margin: 0 0 20px; }
.lumen .lmc-title { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.lmc-lead { margin: 4px 0 0; color: var(--nk-muted-fg); font-size: 14px; }
.lmc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.lmc-main { min-width: 0; }
.lmc-side { position: sticky; top: 88px; }
.lmc .section { margin: 0 0 24px; }
.lmc .section-header { margin: 0 0 12px; }
.lumen .lmc .section-title { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--nk-fg); }
.lmc-card { border: 1px solid var(--nk-border); border-radius: 14px; background: var(--nk-bg); }
.lmc-pad { padding: 20px 22px; }

/* product datasheet */
.page-configureproduct .product-config-info .panel-body { padding: 22px 24px 8px; }
.lumen .page-configureproduct .lmc-product-name { margin: 0 0 14px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.lmc-product-group { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--nk-muted-fg); margin-bottom: 2px; }
.page-configureproduct .product-info { color: var(--nk-muted-fg); font-size: 14px; }

/* billing cycles */
.lmc-cycles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.page-configureproduct #sectionCycles .lmc-cycle {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 14px 16px;
    cursor: pointer;
}
.lmc-cycle-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lmc-cycle-input:focus-visible + .lmc-cycle-name { outline: 2px solid var(--nk-primary); outline-offset: 4px; border-radius: 4px; }
.lmc-cycle-name { font-size: 13px; font-weight: 500; color: var(--nk-muted-fg); }
.page-configureproduct #sectionCycles .lmc-cycle-price { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.lmc-cycle-save:empty { display: none; }
.lmc-cycle-save {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--nk-ok-bg);
    color: var(--nk-ok);
    font-size: 11px;
    font-weight: 700;
}

/* server access */
.lmc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.lmc-fields .form-group { margin-bottom: 12px; }

/* native fallbacks (checkbox, quantity, radios before the script runs) */
.lmc-radio, .lmc-check { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-weight: 500; }
.lmc-qty-native { display: flex; align-items: center; gap: 10px; max-width: 260px; }

/* add-ons */
.lmc-addons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
/* the #order-standard_cart id is needed: the stock all.min.css styles these with the same id
   (grey price bar, green button, centered small text) */
#order-standard_cart .panel-addon {
    display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 0;
    border: 1px solid var(--nk-border); border-radius: 12px; background: var(--nk-bg);
    font-size: 14px; text-align: left; overflow: hidden; cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
#order-standard_cart .panel-addon:hover { border-color: color-mix(in srgb, var(--nk-primary) 45%, var(--nk-border)); }
#order-standard_cart .panel-addon-selected { border-color: var(--nk-primary); box-shadow: inset 0 0 0 1px var(--nk-primary); }
#order-standard_cart .panel-addon .panel-body { grid-column: 1 / -1; padding: 14px 16px 12px; border: 0; border-radius: 0; background: none; }
#order-standard_cart .panel-addon .panel-body label { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--nk-fg); font-size: 14px; font-weight: 600; cursor: pointer; }
#order-standard_cart .panel-addon .lmc-addon-desc { margin: 4px 0 0 28px; color: var(--nk-muted-fg); font-size: 13px; line-height: 1.45; }
#order-standard_cart .panel-addon .panel-price,
#order-standard_cart .panel-addon .panel-add { display: flex; align-items: center; padding: 10px 16px; border-top: 1px solid var(--nk-border); background: none; border-radius: 0; }
#order-standard_cart .panel-addon .panel-price { color: var(--nk-fg); font-size: 14px; font-weight: 700; white-space: nowrap; }
/* the price keeps one line; on phones the longer "Adicionado ao Carrinho (Remover)" wraps instead */
#order-standard_cart .panel-addon .panel-add { gap: 6px; justify-content: flex-end; color: var(--nk-primary); font-size: 13px; font-weight: 600; text-align: right; line-height: 1.35; }
/* narrow card (2 columns, phones): price on one line, the add button on the line below */
#order-standard_cart .panel-addon { container-type: inline-size; }
@container (max-width: 380px) {
    #order-standard_cart .panel-addon .panel-price { grid-column: 1 / -1; padding-bottom: 2px; }
    #order-standard_cart .panel-addon .panel-add { grid-column: 1 / -1; justify-content: flex-start; padding-top: 2px; padding-bottom: 12px; border-top: 0; text-align: left; }
}
#order-standard_cart .panel-addon-selected .panel-price,
#order-standard_cart .panel-addon-selected .panel-add { background: var(--lm-primary-soft, rgba(99, 102, 241, .1)); color: var(--nk-primary); }
/* iCheck box drawn in the Lumen style (the stock one is a blue image sprite) */
#order-standard_cart .panel-addon .icheckbox_square-blue {
    flex: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--nk-border); border-radius: 5px;
    background: var(--nk-bg) !important; transition: background-color .15s ease, border-color .15s ease;
}
#order-standard_cart .panel-addon .icheckbox_square-blue.checked {
    border-color: var(--nk-primary);
    background: var(--nk-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat !important;
}
#order-standard_cart .panel-addon .panel-body label > input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--nk-primary); }

.lmc-help-line { color: var(--nk-muted-fg); font-size: 13px; }
.lmc-help-line i { color: var(--nk-primary); margin-right: 4px; }

/* summary card internals */
.page-configureproduct .panel-summary .summary-item { display: flex; justify-content: space-between; gap: 12px; }
.page-configureproduct .panel-summary .summary-item .item-name { min-width: 0; }
.lmc-recurring { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--nk-muted-fg); padding-top: 8px; font-variant-numeric: tabular-nums; }
.page-configureproduct .panel-summary .panel-footer .btn-block { margin-top: 14px; }

/* phone bar: fixed while the summary is off screen */
.page-configureproduct #orderSummaryMob { display: none; }
@media (max-width: 991.98px) {
    .lmc-layout { grid-template-columns: minmax(0, 1fr); }
    .lmc-side { position: static; }
    .page-configureproduct #orderSummaryMob.is-fixed {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
    }
    .lmc { padding-bottom: 80px; }
}
@media (max-width: 600px) {
    .lmc-fields { grid-template-columns: minmax(0, 1fr); }
    .lmc-cycles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lumen .lmc-title { font-size: 24px; }
}

/* standard_cart's own box around the description */
#order-standard_cart.lmc .product-info {
    margin: 0 0 6px;
    padding: 0;
    font-size: 14px;
    background: none;
    border: 0;
}

/* ==========================================================================
   Store (products.tpl)
   ========================================================================== */
.lmc-store { padding-top: 4px; }
.lmc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.lmc-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--lm-border); background: var(--lm-surface); color: var(--lm-fg-soft); font-size: 14px; font-weight: 500; white-space: nowrap; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.lmc-chip:hover { border-color: var(--lm-primary); color: var(--lm-primary-ink); text-decoration: none; }
.lmc-chip.is-active, .lmc-chip.is-active:hover { background: var(--lm-primary); border-color: var(--lm-primary); color: var(--lm-primary-fg); }
.lmc-chip.is-active:hover { background: var(--lm-primary-hover); }
.lmc-store-head { margin: 0 0 22px; max-width: 720px; }
.lumen .lmc-store-title { font-size: 30px; font-weight: 700; letter-spacing: -.025em; margin: 0; color: var(--lm-fg); line-height: 1.2; }
.lmc-store-lead { margin: 6px 0 0; font-size: 15px; color: var(--lm-muted-fg); }
.lmc-currency { margin: -10px 0 18px; max-width: 160px; }

.lmc-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.lmc-plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--lm-surface); border: 1px solid var(--lm-border); border-radius: var(--lm-r-xl); transition: border-color .15s ease, box-shadow .15s ease; }
.lmc-plan:hover { border-color: var(--lm-border-strong); box-shadow: var(--lm-shadow-float); }
.lmc-plan.is-featured { border-color: var(--lm-primary); box-shadow: 0 0 0 1px var(--lm-primary) inset; }
.lmc-plan-flag { position: absolute; top: -11px; left: 20px; height: 22px; padding: 0 10px; border-radius: 999px; background: var(--lm-primary); color: var(--lm-primary-fg); font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; }
.lmc-plan-head { display: flex; flex-direction: column; gap: 4px; }
.lumen .lmc-plan-name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 0; color: var(--lm-fg); }
.lmc-plan-desc { margin: 0; font-size: 13.5px; color: var(--lm-muted-fg); }
.lmc-plan-desc p { margin: 0 0 6px; }
.lmc-plan-desc ul, .lmc-plan-desc ol { margin: 6px 0 0; padding-left: 18px; }
.lmc-plan-desc li + li { margin-top: 2px; }
.lmc-plan-stock { font-size: 12px; font-weight: 600; color: var(--lm-ok); }
.lmc-plan-stock.is-low { color: var(--lm-warn); }
.lmc-plan-price { display: flex; flex-direction: column; }
.lmc-plan-from { font-size: 12.5px; color: var(--lm-muted-fg); }
.lmc-plan-amount { font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--lm-fg); line-height: 1.1; font-variant-numeric: tabular-nums; }
.lmc-plan-amount small { font-size: 14px; font-weight: 500; color: var(--lm-muted-fg); letter-spacing: 0; margin-left: 2px; }
.lmc-plan-setup { font-size: 12.5px; color: var(--lm-muted-fg); margin-top: 2px; }
.lmc-plan-specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lm-border); flex: 1 1 auto; }
.lmc-plan-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--lm-border); font-size: 13.5px; }
.lmc-plan-specs li span { color: var(--lm-muted-fg); }
.lmc-plan-specs li b { font-weight: 600; color: var(--lm-fg); text-align: right; }
.lmc-plan-cta { margin-top: auto; height: 42px; display: inline-flex !important; align-items: center; justify-content: center; font-weight: 600; }

@media (max-width: 575.98px) {
    .lmc-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .lmc-chips::-webkit-scrollbar { display: none; }
    .lumen .lmc-store-title { font-size: 24px; }
}

/* ==========================================================================
   Steps bar (view cart, checkout)
   ========================================================================== */
.lmc-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--lm-muted-fg); }
.lmc-steps li { display: inline-flex; align-items: center; gap: 8px; }
.lmc-steps li + li::before { content: ""; width: 24px; height: 1px; background: var(--lm-border-strong); margin-right: 2px; }
.lmc-steps span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; border: 1px solid var(--lm-border-strong); background: var(--lm-surface); }
.lmc-steps .is-done span { background: var(--lm-primary-soft); border-color: transparent; color: var(--lm-primary-ink); }
.lmc-steps .is-current { color: var(--lm-fg); font-weight: 600; }
.lmc-steps .is-current span { background: var(--lm-primary); border-color: var(--lm-primary); color: var(--lm-primary-fg); }

.lmc-link { background: none; border: 0; padding: 0; color: var(--lm-primary-ink); font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.lmc-link:hover { text-decoration: underline; color: var(--lm-primary-ink); }
.lmc-link.is-muted { color: var(--lm-muted-fg); }
.lmc-link.is-muted:hover { color: var(--lm-danger); }

/* ==========================================================================
   View cart (viewcart.tpl)
   ========================================================================== */
.lmc-items { list-style: none; margin: 0; padding: 0; background: var(--lm-surface); border: 1px solid var(--lm-border); border-radius: var(--lm-r-xl); overflow: hidden; }
.lmc-items:empty { display: none; }
.lmc-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; padding: 18px 20px; align-items: start; }
.lmc-item + .lmc-item { border-top: 1px solid var(--lm-border); }
.lmc-item.is-sub { padding-left: 54px; background: var(--lm-surface-2); }
.lmc-item-ico { width: 40px; height: 40px; border-radius: var(--lm-r-lg); background: var(--lm-primary-soft); color: var(--lm-primary-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.lmc-item.is-sub .lmc-item-ico { width: 32px; height: 32px; font-size: 13px; }
.lmc-item-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lmc-item-group { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--lm-muted-fg); }
.lmc-item-name { font-size: 16px; font-weight: 700; color: var(--lm-fg); letter-spacing: -.01em; }
.lmc-item-domain { font-size: 13px; color: var(--lm-muted-fg); overflow-wrap: anywhere; }
.lmc-item-note { font-size: 12.5px; color: var(--lm-muted-fg); }
.lmc-item-opts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; font-size: 13px; color: var(--lm-fg); }
.lmc-item-opts span { color: var(--lm-muted-fg); }
.lmc-item-opts span::after { content: ":"; }
.lmc-item-actions { display: flex; gap: 16px; margin-top: 10px; }
.lmc-item-actions a, .lmc-item-actions button { background: none; border: 0; padding: 0; font-size: 13px; color: var(--lm-muted-fg); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.lmc-item-actions a:hover { color: var(--lm-primary-ink); text-decoration: none; }
.lmc-item-actions button:hover { color: var(--lm-danger); }
.lmc-item-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12.5px; color: var(--lm-muted-fg); }
.lmc-item-price b { font-size: 17px; font-weight: 700; color: var(--lm-fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lmc-item-qty { display: flex; gap: 6px; align-items: center; margin: 6px 0; }
.lmc-item-qty .form-control { width: 70px; }
.lmc-items-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 4px 0; }
.lmc-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 40px 20px; background: var(--lm-surface); border: 1px dashed var(--lm-border-strong); border-radius: var(--lm-r-xl); }
.lmc-empty p { margin: 0; color: var(--lm-muted-fg); }

.lmc-promo { margin-top: 18px; }
.lumen .lmc-promo-title { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: var(--lm-fg); display: flex; align-items: center; gap: 8px; }
.lmc-promo-title i { color: var(--lm-primary-ink); }
.lmc-promo-form { display: flex; gap: 8px; }
.lmc-promo-form .form-control { flex: 1 1 auto; text-transform: uppercase; }
.lmc-promo-form .form-control::placeholder { text-transform: none; }
.lmc-promo-on { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lmc-promo-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 600; font-size: 13px; padding: 4px 10px; border-radius: var(--lm-r-md); background: var(--lm-ok-soft); color: var(--lm-ok); }
.lmc-promo-desc { font-size: 13.5px; color: var(--lm-fg-soft); flex: 1 1 auto; }
.lmc-tax { margin-top: 12px; }
.lmc-tax summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.lmc-tax-form { margin-top: 12px; }

.lmc-sum { position: relative; padding: 20px 22px; }
.lmc-sum .loader { position: absolute; top: 18px; right: 20px; color: var(--lm-primary-ink); }
.lumen .lmc-sum-title { font-size: 16px; font-weight: 600; margin: 0 0 14px; color: var(--lm-fg); }
.lmc-sum-rows { margin: 0; display: grid; gap: 8px; }
.lmc-sum-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.lmc-sum-rows dt { font-weight: 400; color: var(--lm-muted-fg); }
.lmc-sum-rows dd { margin: 0; color: var(--lm-fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lmc-sum-rows .is-discount dd, .lmc-sum-rows .is-discount dt { color: var(--lm-ok); }
.lmc-sum-recurring { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--lm-border); display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--lm-muted-fg); }
.lmc-sum-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lmc-sum-recurring .recurring-charges > span { display: block; }
.lmc-sum-recurring .cost { color: var(--lm-fg); font-weight: 600; }
.lmc-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 14px 0 16px; padding: 14px 16px; border-radius: var(--lm-r-lg); background: var(--lm-primary-soft); }
.lmc-sum-total span { font-size: 14px; font-weight: 600; color: var(--lm-fg); }
.lmc-sum-total b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--lm-primary-ink); font-variant-numeric: tabular-nums; }
.lmc-sum-cta { display: flex !important; align-items: center; justify-content: center; gap: 8px; height: 48px; font-weight: 600; }
.lmc-sum-more { display: flex; justify-content: center; margin-top: 10px; }
.lmc-sum .express-checkout-buttons:empty { display: none; }
.lmc-sum .separator { text-align: center; font-size: 12px; color: var(--lm-muted-fg); margin: 8px 0; }

@media (max-width: 991.98px) {
    .lmc-viewcart .lmc-layout, .lmc-checkout .lmc-layout { grid-template-columns: 1fr; }
    .lmc-viewcart .lmc-side, .lmc-checkout .lmc-side { position: static; }
}
@media (max-width: 575.98px) {
    .lmc-item { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
    .lmc-item-ico { display: none; }
    .lmc-item.is-sub { padding-left: 28px; }
    .lmc-item-opts { grid-template-columns: 1fr; }
    .lmc-steps li + li::before { width: 10px; }
}

/* ==========================================================================
   Checkout (checkout.tpl): WHMCS markup kept, restyled into cards
   ========================================================================== */
.lmc-checkout .lmc-auth-switch { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: -6px 0 14px; }
.lmc-checkout #frmCheckout { background: var(--lm-surface); border: 1px solid var(--lm-border); border-radius: var(--lm-r-xl); padding: 4px 24px 24px; }
.lmc-checkout .sub-heading { margin: 22px 0 14px; padding: 0; height: auto; border: 0; text-align: left; }
.lmc-checkout .sub-heading:first-child { margin-top: 18px; }
.lmc-checkout .sub-heading span,
.lmc-checkout .sub-heading .primary-bg-color { position: static; display: block; padding: 0; background: transparent !important; color: var(--lm-fg) !important; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.lmc-checkout .sub-heading::before, .lmc-checkout .sub-heading::after { display: none; }
.lmc-checkout .sub-heading + * { margin-top: 0; }
.lmc-checkout .form-group { margin-bottom: 12px; }
.lmc-checkout .prepend-icon .field-icon { color: var(--lm-muted-fg); }
.lmc-checkout .field.form-control, .lmc-checkout .form-control { height: 42px; border-radius: var(--lm-r-md); }
.lmc-checkout textarea.form-control { height: auto; }

/* account choice */
.lmc-checkout .account-select-container { margin-left: -6px; margin-right: -6px; }
.lmc-checkout .account-select-container > [class*="col-"] { padding: 6px; }
.lmc-checkout .account { position: relative; border: 1px solid var(--lm-border); border-radius: var(--lm-r-lg); padding: 14px 16px; background: var(--lm-surface); color: var(--lm-fg); }
.lmc-checkout .account.active { border-color: var(--lm-primary); box-shadow: 0 0 0 1px var(--lm-primary) inset; background: var(--lm-primary-soft); }
.lmc-checkout .account.border-bottom { border-bottom: 1px solid var(--lm-border) !important; }
.lmc-checkout .account label { margin: 0; cursor: pointer; width: 100%; }
.lmc-checkout .account .address { color: var(--lm-muted-fg); font-size: 13px; }

/* totals + payment methods */
.lmc-pay-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--lm-r-lg); background: var(--lm-primary-soft); margin-bottom: 14px; }
.lmc-pay-total span { font-size: 14px; font-weight: 600; color: var(--lm-fg); }
.lmc-pay-total strong { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--lm-primary-ink); font-variant-numeric: tabular-nums; }
.lmc-checkout #paymentGatewaysContainer > p { font-size: 13px; color: var(--lm-muted-fg) !important; margin-bottom: 8px; }
.lmc-gateways { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.lmc-checkout .lmc-gateway { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 14px 16px !important; border: 1px solid var(--lm-border); border-radius: var(--lm-r-lg); background: var(--lm-surface); font-weight: 600; font-size: 14px; color: var(--lm-fg); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.lmc-checkout .lmc-gateway:hover { border-color: var(--lm-border-strong); }
.lmc-checkout .lmc-gateway:has(input:checked), .lmc-checkout .lmc-gateway:has(.checked) { border-color: var(--lm-primary); box-shadow: 0 0 0 1px var(--lm-primary) inset; background: var(--lm-primary-soft); }
.lmc-checkout .apply-credit-container { border: 1px solid var(--lm-border); border-radius: var(--lm-r-lg); padding: 14px 16px; margin-bottom: 14px; background: var(--lm-surface-2); }
.lmc-checkout .apply-credit-container label { display: block; font-weight: 500; }

/* finish */
.lmc-finish { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--lm-border); display: flex; flex-direction: column; gap: 12px; }
.lmc-tos { display: flex !important; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--lm-fg-soft); padding: 0 !important; }
.lmc-finish-btn { height: 52px; display: flex !important; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 16px; }
.lmc-secure { margin: 0; font-size: 12.5px; color: var(--lm-muted-fg); display: flex; align-items: center; gap: 6px; justify-content: center; text-align: center; }
.lmc-checkout .marketing-email-optin { margin-top: 18px; padding: 14px 16px; border-radius: var(--lm-r-lg); background: var(--lm-surface-2); }

/* side summary */
.lmc-sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lmc-sum-head .lmc-sum-title { margin: 0; }
.lmc-sum-items { list-style: none; margin: 0; padding: 0; }
.lmc-sum-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--lm-border); font-size: 13.5px; }
.lmc-sum-items li.is-sub { padding-left: 12px; }
.lmc-sum-items span { display: flex; flex-direction: column; min-width: 0; }
.lmc-sum-items b { font-weight: 600; color: var(--lm-fg); }
.lmc-sum-items small { font-size: 12px; color: var(--lm-muted-fg); }
.lmc-sum-items em { font-style: normal; font-weight: 600; color: var(--lm-fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lmc-sum-promo { margin: 8px 0 0; font-size: 12.5px; color: var(--lm-ok); }
.lmc-sum-note { margin: 0; font-size: 12.5px; color: var(--lm-muted-fg); }
.lmc-sum-compact .lmc-sum-total { margin: 12px 0; }

@media (max-width: 575.98px) {
    .lmc-checkout #frmCheckout { padding: 4px 16px 18px; }
    .lmc-checkout .lmc-auth-switch { justify-content: flex-start; }
}
.lmc-checkout .lmc-auth-switch.w-hidden { display: none !important; }
.lmc-checkout .already-registered { border: 0; background: transparent; padding: 0; }
.lmc-checkout .lmc-secure i, .lmc-checkout .checkout-security-msg i { font-size: 13px !important; float: none !important; margin: 0 !important; }
.lmc-checkout .account label > .address, .lmc-checkout .account .radio-inline { border: 0 !important; }

/* ==========================================================================
   Order complete (complete.tpl)
   ========================================================================== */
.lmc-complete { max-width: 640px; margin: 8px auto 0; }
.lmc-done-card { padding: 36px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lmc-done-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--lm-ok-soft); color: var(--lm-ok); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.lmc-order-num { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--lm-fg); }
.lmc-next { width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--lm-r-lg); background: var(--lm-warn-soft); text-align: left; flex-wrap: wrap; }
.lmc-next.is-ok { background: var(--lm-ok-soft); }
.lmc-next-ico { width: 40px; height: 40px; flex: none; border-radius: var(--lm-r-lg); background: var(--lm-surface); color: var(--lm-warn); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.lmc-next.is-ok .lmc-next-ico { color: var(--lm-ok); }
.lmc-next-txt { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--lm-fg); }
.lmc-next-txt span { color: var(--lm-fg-soft); font-size: 13.5px; }
.lmc-done-actions { margin-top: 12px; }

/* form fields inside the cart follow the theme (standard_cart paints them white) */
.lumen #order-standard_cart .form-control,
.lumen #order-standard_cart .custom-select,
.lumen #order-standard_cart .field { background-color: var(--lm-surface); color: var(--lm-fg); border-color: var(--lm-border-strong); }
.lumen #order-standard_cart .form-control::placeholder { color: var(--lm-muted-fg); }
.lumen #order-standard_cart .form-control:focus { border-color: var(--lm-primary); box-shadow: 0 0 0 3px var(--lm-primary-ring); }
.lumen #order-standard_cart .form-control:disabled,
.lumen #order-standard_cart .form-control[readonly] { background-color: var(--lm-muted); }
#order-standard_cart.lmc-checkout .account-select-container { border: 0 !important; }
#order-standard_cart.lmc-checkout .account-select-container div.account { background: var(--lm-surface) !important; border: 1px solid var(--lm-border) !important; border-radius: var(--lm-r-lg); }
#order-standard_cart.lmc-checkout .account-select-container div.account.active { background: var(--lm-primary-soft) !important; border-color: var(--lm-primary) !important; }
#order-standard_cart.lmc-checkout .account-select-container div.account label { background: transparent !important; color: var(--lm-fg); }
#order-standard_cart.lmc-checkout .lmc-gateway { color: var(--lm-fg) !important; }

/* Lumen 2: the configure-step tokens follow the theme (brand colour from the Lumen addon) */
.page-configureproduct,
[data-theme="dark"] .page-configureproduct,
[data-theme="dark"].page-configureproduct {
    --nk-primary: var(--lm-primary);
    --nk-fg: var(--lm-fg);
    --nk-muted: var(--lm-muted);
    --nk-muted-soft: var(--lm-surface-2);
    --nk-muted-fg: var(--lm-muted-fg);
    --nk-border: var(--lm-border);
    --nk-bg: var(--lm-surface);
    --nk-solid: var(--lm-surface);
    --nk-hover: var(--lm-hover);
    --nk-hover-border: hsl(var(--lm-p) / 0.45);
    --nk-on-bg: var(--lm-primary-soft);
    --nk-ok: var(--lm-ok);
    --nk-ok-bg: var(--lm-ok-soft);
    --nk-warn: var(--lm-warn);
    --nk-warn-bg: var(--lm-warn-soft);
    --nk-track: var(--lm-muted);
    --nk-brand-tag: var(--lm-primary-soft);
    --nk-ring: var(--lm-primary-ring);
    --nk-float: var(--lm-shadow-float);
    --nk-pop: var(--lm-shadow-pop);
    --nk-font: var(--lm-font);
}
/* steps now live in the order header (lm-checkout-header.tpl) */
.lmc-steps { display: none !important; }

/* ==========================================================================
   Lumen 2: configure step
   ========================================================================== */
.lmc .lm-back { margin-bottom: 10px; }
.lumen .lmc .lmc-title { font-size: 28px; letter-spacing: -0.025em; }
.lmc .lmc-lead { font-size: 15px; color: var(--lm-muted-fg); }
.lmc .lmc-cycles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lmc .lmc-cycle { position: relative; display: flex !important; flex-direction: column; align-items: stretch; gap: 4px; min-height: 0; padding: 16px 18px !important; margin: 0 !important; border: 1px solid var(--lm-border) !important; border-radius: var(--lm-r-lg) !important; background: var(--lm-surface) !important; box-shadow: var(--lm-shadow-xs); cursor: pointer; text-align: left; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.lmc .lmc-cycle:hover { border-color: var(--lm-border-strong) !important; box-shadow: var(--lm-shadow-md); }
.lmc .lmc-cycle.checked { border-color: var(--lm-primary) !important; background: hsl(var(--lm-p) / 0.05) !important; box-shadow: 0 0 0 1px var(--lm-primary); }
.lmc .lmc-cycle-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lmc .lmc-cycle-name { font-size: 15px; font-weight: 500; color: var(--lm-fg); }
.lmc .lmc-cycle-save { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--lm-ok-soft); color: var(--lm-ok); }
.lmc .lmc-cycle-save:empty { display: none; }
.lmc .lmc-cycle.checked .lmc-cycle-save { background: var(--lm-primary-soft); color: var(--lm-primary-ink); }
.lmc .lmc-cycle-pm { display: flex; align-items: baseline; gap: 2px; margin-top: 4px; }
.lmc .lmc-cycle-pmv { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--lm-fg); font-variant-numeric: tabular-nums; }
.lmc .lmc-cycle-pm small { font-size: 13px; color: var(--lm-muted-fg); }
.lmc .lmc-cycle-total { font-size: 12.5px; color: var(--lm-muted-fg); }
.lmc .lmc-cycle-total .lmc-cycle-price { font-size: 12.5px !important; font-weight: 400 !important; color: inherit !important; }
.lmc .lmc-cycle.is-monthly .lmc-cycle-total { visibility: hidden; }
.lmc .lmc-cycle-best { display: none; position: absolute; top: -10px; right: 12px; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--lm-gradient); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: var(--lm-shadow-md); }
.lmc .lmc-cycle.is-best .lmc-cycle-best { display: inline-flex; }
@media (max-width: 767.98px) { .lmc .lmc-cycles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* main call to action in the summary */
.lumen .lmc #btnCompleteProductConfig, .lumen .lmc #btnCompleteProductConfigMob, .lumen .lmc-sum-cta, .lumen .lmc-finish-btn { background: var(--lm-gradient) !important; border: 0 !important; color: #fff !important; }
.lumen .lmc #btnCompleteProductConfig:hover, .lumen .lmc-sum-cta:hover, .lumen .lmc-finish-btn:hover { filter: brightness(1.06); }

/* ==========================================================================
   Lumen 3: compact order pages (same scale as the client area)
   ========================================================================== */
.lmc .lmc-head { margin-bottom: 18px; }
.lumen .lmc .lmc-title { font-size: 24px; }
.lmc .lmc-lead { font-size: 14px; }
.lmc .lmc-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
.lmc .section { margin-bottom: 20px; }
.lumen .lmc .section-title, .lumen .page-configureproduct .nkc-sec-title { font-size: 16px !important; font-weight: 600; }
.lmc .section-header { margin-bottom: 10px; }

/* plan card: name + spec chips instead of the raw description */
.lmc-plan-card { border: 1px solid var(--lm-border); border-radius: var(--lm-r-lg); background: var(--lm-surface); box-shadow: var(--lm-shadow-xs); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.lmc-plan-card-head { display: flex; align-items: center; gap: 12px; }
.lmc-plan-card-ico { width: 36px; height: 36px; flex: none; border-radius: var(--lm-r-lg); background: var(--lm-primary-soft); color: var(--lm-primary-ink); display: inline-flex; align-items: center; justify-content: center; }
.lumen .lmc-plan-card-name { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.lmc-plan-card-lead { font-size: 13px; color: var(--lm-muted-fg); }
.lmc-plan-card-desc { font-size: 13.5px; color: var(--lm-fg-soft); }
.lmc-chips2 { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lmc-chips2 li { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--lm-muted); font-size: 12.5px; white-space: nowrap; }
.lmc-chips2 li span { color: var(--lm-muted-fg); }
.lmc-chips2 li b { font-weight: 600; color: var(--lm-fg); }

/* cycles: up to 4 per row, smaller cards */
.lmc .lmc-cycles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lmc .lmc-cycle { padding: 12px 14px !important; gap: 2px; }
.lmc .lmc-cycle-name { font-size: 13.5px; }
.lmc .lmc-cycle-pmv { font-size: 17px; }
.lmc .lmc-cycle-pm small { font-size: 12px; }
.lmc .lmc-cycle-total, .lmc .lmc-cycle-total .lmc-cycle-price { font-size: 12px !important; }
.lmc .lmc-cycle-save { height: 18px; font-size: 11px; padding: 0 6px; }
@media (max-width: 1199.98px) { .lmc .lmc-cycles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .lmc .lmc-cycles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* option rows: lower, smaller icons */
.page-configureproduct .nkc-card { border-radius: var(--lm-r-lg); box-shadow: var(--lm-shadow-xs); }
.page-configureproduct .nkc-row { grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 10px 18px; min-height: 56px; }
.page-configureproduct .nkc-row-ico { width: 30px; height: 30px; flex-basis: 30px; border-radius: var(--lm-r-md); font-size: 13px; }
/* long option names ("Proteção Anti-DDoS") wrap to a second line instead of ending in "..." */
.page-configureproduct .nkc-row-title { font-size: 14px; font-weight: 500; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; overflow-wrap: break-word; }
.page-configureproduct .nkc-sec-num { width: 22px; height: 22px; flex-basis: 22px; font-size: 12px; }
.page-configureproduct .nkc-sec-head--2 { margin-top: 20px; }

/* summary: never runs off screen; the list scrolls inside, total + button stay */
.lmc .lmc-side { position: sticky; top: 80px; max-height: calc(100vh - 96px); display: flex; flex-direction: column; }
.lmc .lmc-side > .panel-summary, .lmc .lmc-side > .lmc-sum, .lmc .lmc-side > #orderSummary { display: flex; flex-direction: column; max-height: 100%; min-height: 0; }
.lmc .lmc-side .summary-container, .lmc .lmc-side #producttotal, .lmc .lmc-side .lmc-sum-items { overflow-y: auto; min-height: 0; scrollbar-width: thin; }
.lmc .panel-summary { border-radius: var(--lm-r-lg) !important; }
.lumen .lmc .panel-summary .panel-heading, .lumen .lmc .panel-summary h2, .lumen .lmc .lmc-sum-title { font-size: 15px !important; font-weight: 600 !important; padding-left: 0 !important; }
.lmc .panel-summary .panel-body { padding: 16px 18px !important; }
.lmc .panel-summary .price-amount, .lmc .lmc-sum-total b { font-size: 24px !important; }
.lmc #btnCompleteProductConfig, .lmc .lmc-sum-cta { height: 44px !important; font-size: 14.5px !important; }
@media (max-width: 991.98px) {
    .lmc .lmc-side { position: static; max-height: none; }
    .lmc .lmc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .page-configureproduct .nkc-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 14px; }
}

/* store: same scale */
.lumen .lmc-store-title { font-size: 24px !important; }
.lmc-plan { padding: 18px; gap: 12px; }
.lumen .lmc-plan-name { font-size: 17px; }
.lmc-plan-amount { font-size: 26px; }
.lmc-plan-specs li { padding: 7px 0; font-size: 13px; }
.lmc-plan-cta { height: 38px; }

/* WHMCS shows these with jQuery .show() (inline style), so no !important here */ .lumen .w-hidden, .lumen .hidden, .lumen .btn.w-hidden, .lumen .btn.hidden, .lumen .lm-optcard.w-hidden { display: none; } .lumen [hidden] { display: none !important; }

/* Lumen 3: info modals (appended to <body>, outside the configure wrapper) follow the theme */
html .lumen .nkc-modal-box, html[data-theme="dark"] .lumen .nkc-modal-box {
    --nk-primary: var(--lm-primary); --nk-fg: var(--lm-fg); --nk-muted: var(--lm-muted); --nk-muted-soft: var(--lm-surface-2);
    --nk-muted-fg: var(--lm-muted-fg); --nk-border: var(--lm-border); --nk-ok: var(--lm-ok); --nk-ok-bg: var(--lm-ok-soft);
    --nk-warn: var(--lm-warn); --nk-warn-bg: var(--lm-warn-soft); --nk-brand-tag: var(--lm-primary-soft); --nk-font: var(--lm-font);
    background: var(--lm-surface); color: var(--lm-fg); border: 1px solid var(--lm-border); border-radius: var(--lm-r-xl); box-shadow: var(--lm-shadow-pop);
}
html .lumen .nkc-modal.is-in { background: rgba(9, 9, 11, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
html .lumen .nkc-modal-title i, html .lumen .nkc-modal-box .nkc-ico, html .lumen .nkc-modal-box h3 i, html .lumen .nkc-modal-box h4 i { color: var(--lm-primary-ink) !important; }
html .lumen .nkc-modal-x { background: var(--lm-muted) !important; color: var(--lm-fg) !important; }
html .lumen .nkc-modal-x:hover { background: var(--lm-hover) !important; }
html .lumen .nkc-modal-ok { background: var(--lm-primary) !important; color: var(--lm-primary-fg) !important; border-color: var(--lm-primary) !important; }
html .lumen .nkc-info-card, html .lumen .nkc-info-note { background: var(--lm-surface-2) !important; border: 1px solid var(--lm-border) !important; color: var(--lm-fg-soft); }
html .lumen .nkc-info-card b, html .lumen .nkc-info-note b { color: var(--lm-fg); }
html .lumen .nkc-info-ports-head { background: var(--lm-surface-2) !important; color: var(--lm-fg); }
html .lumen .nkc-info-ports { border-color: var(--lm-border) !important; }
html .lumen .nkc-info-ports td { border-color: var(--lm-border) !important; color: var(--lm-fg-soft); }
html .lumen .nkc-info-list li > i { color: var(--lm-ok) !important; }

/* Lumen 3: configure summary. One card, even padding, and it always fits the screen:
   heading and footer (total + Continuar) stay put, only the item list scrolls. */
.lumen .lmc .lmc-side { align-self: start; }
.lumen .lmc .lmc-side #orderSummary { margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; max-height: calc(100vh - 96px); overflow: hidden; border: 1px solid var(--lm-border) !important; border-radius: var(--lm-r-xl) !important; background: var(--lm-surface) !important; box-shadow: var(--lm-shadow-xs) !important; }
.lumen .lmc .lmc-side #orderSummary .panel-heading { flex: none; margin: 0 !important; padding: 18px 20px 8px !important; border: 0 !important; background: transparent !important; }
.lumen .lmc .lmc-side #orderSummary .panel-title { margin: 0 !important; padding: 0 !important; font-size: 16px !important; font-weight: 600; color: var(--lm-fg); }
.lumen .lmc .lmc-side #orderSummary .panel-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 !important; padding: 6px 20px 10px !important; scrollbar-width: thin; }
.lumen .lmc .lmc-side #orderSummary #producttotal { overflow: visible; max-height: none; }
.lumen .lmc .lmc-side #orderSummary .panel-footer { flex: none; margin: 0 !important; padding: 14px 20px 18px !important; border-top: 1px solid var(--lm-border) !important; background: var(--lm-surface) !important; }
.lumen .lmc .lmc-side #orderSummary .loader { position: absolute; top: 16px; right: 16px; }
@media (max-width: 991.98px) { .lumen .lmc .lmc-side #orderSummary { max-height: none; } }

/* Lumen 3.1: cart page fixes. The configure summary rule above zeroes the padding of #orderSummary;
   on the cart page #orderSummary is a plain card (.lmc-sum), so it keeps its own padding. */
.lumen .lmc-card { border: 1px solid var(--lm-border); border-radius: var(--lm-r-xl); background: var(--lm-surface); }
.lumen .lmc .lmc-side #orderSummary.lmc-sum { display: block; max-height: none; overflow: visible; padding: 20px !important; }
.lumen .lmc-sum-total b, .lumen .lmc-sum-total .amt { background: none !important; padding: 0 !important; }
@media (max-width: 575.98px) {
    .lumen .lmc .lmc-side #orderSummary.lmc-sum { padding: 16px !important; }
    .lumen .lmc-promo.lmc-pad { padding: 16px !important; }
    .lumen .lmc-promo-form { flex-direction: column; }
}

/* admin options (Pedido) */
/* coupon in use */
.lmc-coupon-pill { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: var(--lm-ok-soft); color: var(--lm-ok); font-size: 13px; font-weight: 500; line-height: 1.3; }
.lmc-coupon-pill b { font-weight: 700; letter-spacing: .02em; }
.lmc-coupon-pill .lm-i { width: 14px; height: 14px; flex: none; }
/* no savings badges */
.lmc-nosave .lmc-cycle-save, .lmc-nosave .lmc-cycle-best { display: none !important; }
/* add-ons in one column */
.lmc .lmc-addons.lmc-addons--1 { grid-template-columns: minmax(0, 1fr); }
/* server access: only the password left */
.lmc .lmc-fields.lmc-fields--1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
/* root password strength */
.lmc-pwmeter { display: flex; align-items: center; gap: 8px; margin-top: 8px; min-height: 16px; }
.lmc-pwmeter-bars { display: inline-flex; gap: 4px; }
.lmc-pwmeter-bars i { display: block; width: 34px; height: 4px; border-radius: 999px; background: var(--lm-border); transition: background-color .15s ease; }
.lmc-pwmeter-label { font-size: 12px; font-weight: 600; color: var(--lm-muted-fg); }
.lmc-pwmeter[data-level="0"] { visibility: hidden; }
.lmc-pwmeter[data-level="1"] .lmc-pwmeter-bars i:nth-child(1) { background: var(--lm-danger); }
.lmc-pwmeter[data-level="1"] .lmc-pwmeter-label { color: var(--lm-danger); }
.lmc-pwmeter[data-level="2"] .lmc-pwmeter-bars i:nth-child(-n+2) { background: var(--lm-warn); }
.lmc-pwmeter[data-level="2"] .lmc-pwmeter-label { color: var(--lm-warn); }
.lmc-pwmeter[data-level="3"] .lmc-pwmeter-bars i { background: var(--lm-ok); }
.lmc-pwmeter[data-level="3"] .lmc-pwmeter-label { color: var(--lm-ok); }
.lmc-pwmeter-error { margin-top: 6px; padding: 8px 10px; border-radius: var(--lm-r-sm); background: var(--lm-danger-soft); color: var(--lm-danger); font-size: 12.5px; font-weight: 500; }
.lmc-pwmeter-error[hidden] { display: none !important; }
.lmc #inputRootpw.is-invalid { border-color: var(--lm-danger) !important; }
@media (prefers-reduced-motion: reduce) { .lmc-pwmeter-bars i { transition: none; } }
/* zero prices shown as "Grátis" (the original text stays in the DOM for the other scripts) */
/* the id keeps these above the price rules such as ".lmc .lmc-sum-total b { font-size: 24px !important }" */
#order-standard_cart .lmc-is-free { font-size: 0 !important; letter-spacing: 0 !important; }
#order-standard_cart .lmc-is-free > * { display: none !important; }
#order-standard_cart .lmc-is-free::after { content: "Grátis"; font-size: var(--lmc-free-fs, 1em); letter-spacing: normal; }
/* "Depois, a cada período" with no recurring amount (zero or one-time items): hide the empty block */
.lmc .lmc-sum-recurring:not(:has(#recurring > span:not([style*="display:none"]):not([style*="display: none"]))) { display: none; }
.lmc .lmc-cycle-pmv.lmc-is-free + small { display: none; }
/* "Grátis" per month already says it all: no second "Grátis" for the cycle total */
.lmc .lmc-cycle-pm:has(> .lmc-is-free) + .lmc-cycle-total.lmc-is-free { display: none; }
/* the odometer box is 1.15em tall with overflow hidden, which is 0 at font-size 0 */
.lmc .nkc-odo.lmc-is-free { height: auto; overflow: visible; }
.lmc .nkc-odo.lmc-is-free::after { line-height: 1.15; }


/* ---------- Fluxo do pedido (admin > Pedido): plan switcher, buttons, one-page checkout, extra boxes ----------
   Same look as the billing cycle cards; only existing tokens. */
.lmc .lmc-ptiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.lmc .lmc-ptile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--lm-border); border-radius: var(--lm-r-lg); background: var(--lm-surface); box-shadow: var(--lm-shadow-xs); color: var(--lm-fg); text-decoration: none !important; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.lmc .lmc-ptile:hover { border-color: var(--lm-border-strong); box-shadow: var(--lm-shadow-md); color: var(--lm-fg); }
.lmc .lmc-ptile:focus-visible { outline: 2px solid var(--lm-primary); outline-offset: 2px; }
.lmc .lmc-ptile.checked { border-color: var(--lm-primary); background: hsl(var(--lm-p) / 0.05); box-shadow: 0 0 0 1px var(--lm-primary); }
.lmc .lmc-ptile .lmc-cycle-name { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.lmc .lmc-ptile .lmc-cycle-pmv { font-size: 18px; }
.lmc .lmc-ptile-ico { display: inline-flex; color: var(--lm-primary-ink); }
.lmc .lmc-ptile.is-loading { opacity: .7; pointer-events: none; }
.lmc .lmc-addcart-btn { margin-top: 8px; display: flex !important; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }
.lmc .lmc-reset-link { display: block; width: 100%; margin-top: 10px; text-align: center; background: none; border: 0; }
.lmc.lmc-busy .lmc-addcart-btn, .lmc.lmc-busy #btnCompleteProductConfig { pointer-events: none; opacity: .75; }
.lmc-onepage .lmc-onepage-config { margin-bottom: 8px; }
.lmc-onepage .lmc-onepage-loading { display: flex; align-items: center; gap: 8px; padding: 22px; border: 1px dashed var(--lm-border); border-radius: var(--lm-r-lg); color: var(--lm-muted-fg); }
.lmc-onepage .lmc-onepage-you { margin-top: 26px; }
.lmc-onepage .lmc-onepage-sum { margin-bottom: 14px; }
.lmc-onepage .lmc-onepage-sum .panel-summary { position: static !important; }
.lmc .lmc-xcheck { display: flex !important; align-items: flex-start; gap: 8px; margin: 0; padding-left: 0; font-weight: 400; color: var(--lm-fg); }
.lmc .lmc-xcheck input { margin-top: 3px; }
.lmc .lmc-xcheck a { color: var(--lm-primary-ink); }
.lmc .lmc-xcheck.is-invalid { color: var(--lm-danger); }
.lmc .lmc-req { color: var(--lm-danger); font-weight: 600; }
.lmc.lmc-onepage-boot .lmc-layout { visibility: hidden; }
.lmc.lmc-onepage-boot .lmc-head::after { content: "Preparando seu pedido…"; display: block; margin-top: 14px; color: var(--lm-muted-fg); }

/* ---------- Gráficos > Opções do pedido: own icon / image per choice, "cards" display ---------- */
.nkc-own-img { background: #fff !important; box-shadow: inset 0 0 0 1px var(--lm-border); overflow: hidden; }
.nkc-own-img img { width: 82%; height: 82%; object-fit: contain; }
.nkc-own-ico .lm-i { width: 15px; height: 15px; }
.nkc-chip-ico.nkc-own-ico { color: var(--lm-primary-ink); }
.page-configureproduct .nkc-chips--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.page-configureproduct .nkc-chips--cards .nkc-chip { flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; white-space: normal; text-align: center; }
.page-configureproduct .nkc-chips--cards .nkc-chip-ico { width: 44px; height: 44px; flex-basis: 44px; border-radius: 10px; font-size: 20px; }
.page-configureproduct .nkc-chips--cards .nkc-own-ico .lm-i { width: 24px; height: 24px; }
.page-configureproduct .nkc-chips--cards .nkc-price { margin: 0; }
/* add-on cards: icon / image chosen in Gráficos */
.lmc .lmc-addon-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: 8px; border-radius: 8px; background: var(--lm-muted); color: var(--lm-primary-ink); vertical-align: middle; flex: none; }
.lmc .lmc-addon-ico .lm-i { width: 16px; height: 16px; }
.lmc .lmc-addon-ico .lm-i-img { width: 24px; height: 24px; }
/* add-on card action: brand colour as text, contrast-safe in both modes */
#order-standard_cart .panel-addon .panel-add, #order-standard_cart .panel-addon-selected .panel-add { color: var(--lm-primary-ink); }

/* ---------- product domain step (cart.php?a=add&pid=X: "Escolha um domínio")
   The page is standard_cart's configureproductdomain.tpl: its scripts need that markup, so it is
   styled here instead of rewritten. Each option is a card; the chosen one shows its fields in a row. */
html body #order-standard_cart .header-lined h1 { margin: 0 0 18px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
html body #order-standard_cart .domain-selection-options { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; }
html body #order-standard_cart .domain-selection-options .option { margin: 0; padding: 0; border: 1px solid var(--lm-border); border-radius: 12px; background: var(--lm-surface); transition: border-color .15s ease, box-shadow .15s ease; }
html body #order-standard_cart .domain-selection-options .option:hover { border-color: var(--lm-border-strong); }
html body #order-standard_cart .domain-selection-options .option:has(> label .checked, > label input[type="radio"]:checked:not([style])) { border-color: var(--lm-primary); background: color-mix(in srgb, var(--lm-primary) 4%, var(--lm-surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lm-primary) 12%, transparent); }
html body #order-standard_cart .domain-selection-options .option > label { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 20px; color: var(--lm-fg); font-size: 15px; font-weight: 500; cursor: pointer; }
html body #order-standard_cart .domain-selection-options .option:has(> label .checked, > label input[type="radio"]:checked:not([style])) > label { font-weight: 600; }
html body #order-standard_cart .domain-selection-options .option > label input[type="radio"] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--lm-primary); }
/* iCheck draws a square blue sprite: a round radio in the theme colour instead */
html body #order-standard_cart .domain-selection-options [class^="iradio_"] { flex: none; width: 18px; height: 18px; margin: 0; border: 2px solid var(--lm-border); border-radius: 50%; background: var(--lm-surface) !important; transition: border-color .15s ease, box-shadow .15s ease; }
html body #order-standard_cart .domain-selection-options [class^="iradio_"].checked { border-color: var(--lm-primary); box-shadow: inset 0 0 0 3px var(--lm-surface), inset 0 0 0 9px var(--lm-primary); }
html body #order-standard_cart .domain-selection-options [class^="iradio_"].hover { border-color: var(--lm-primary); }
/* advanced (AI) domain search: the text box and its filters */
html body #order-standard_cart .domain-input-group textarea#message { width: 100%; min-height: 96px; padding: 12px 14px; border: 1px solid var(--lm-border); border-radius: 8px; background: var(--lm-surface); color: var(--lm-fg); font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; }
html body #order-standard_cart .domain-input-group textarea#message:focus { outline: none; border-color: var(--lm-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lm-primary) 18%, transparent); }
html body #order-standard_cart .domain-checker-advanced .domains-row { flex-wrap: wrap; align-items: center; }
html body #order-standard_cart .domain-checker-advanced .btn-group > .multiselect { height: 38px; padding: 0 14px; border: 1px solid var(--lm-border); border-radius: 8px; background: var(--lm-surface); color: var(--lm-fg); font-size: 14px; font-weight: 500; }
html body #order-standard_cart .domain-checker-advanced .domains-row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--lm-fg); font-size: 14px; }
html body #order-standard_cart .domain-input-group { margin: 0; padding: 0 20px 18px 50px; border: 0; background: none; }
html body #order-standard_cart .domain-input-group > .row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0; }
html body #order-standard_cart .domain-input-group > .row > [class*="col-"] { flex: 1 1 420px; max-width: none; width: auto; margin: 0; padding: 0; }
html body #order-standard_cart .domain-input-group > .row > [class*="col-"]:last-child { flex: 0 0 170px; }
html body #order-standard_cart .domain-input-group .domains-row { display: flex; align-items: stretch; gap: 10px; margin: 0; }
html body #order-standard_cart .domain-input-group .domains-row > [class*="col-"] { flex: 1 1 auto; max-width: none; width: auto; margin: 0; padding: 0; }
html body #order-standard_cart .domain-input-group .domains-row > .col-3, html body #order-standard_cart .domain-input-group .domains-row > .col-xs-3 { flex: 0 0 150px; }
html body #order-standard_cart .domain-input-group .domains-row > .col-2, html body #order-standard_cart .domain-input-group .domains-row > .col-xs-2 { flex: 0 0 auto; display: flex; align-items: center; }
html body #order-standard_cart .domain-input-group .domains-row .form-control-static { margin: 0; padding: 0 2px; color: var(--lm-muted-fg); font-size: 14px; }
html body #order-standard_cart .domain-input-group .form-control { height: 44px; border: 1px solid var(--lm-border); border-radius: 8px; background: var(--lm-surface); color: var(--lm-fg); font-size: 15px; box-shadow: none; }
html body #order-standard_cart .domain-input-group .form-control:focus { border-color: var(--lm-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lm-primary) 18%, transparent); }
html body #order-standard_cart .domain-input-group .input-group { flex-wrap: nowrap; }
html body #order-standard_cart .domain-input-group .input-group-text { height: 44px; padding: 0 12px; border: 1px solid var(--lm-border); border-right: 0; border-radius: 8px 0 0 8px; background: var(--lm-muted); color: var(--lm-muted-fg); font-size: 14px; }
html body #order-standard_cart .domain-input-group .input-group .form-control { border-radius: 0 8px 8px 0; }
html body #order-standard_cart .domain-input-group .btn-primary { height: 44px; width: 100%; border-radius: 8px; font-weight: 600; }
@media (max-width: 640px) {
    html body #order-standard_cart .domain-input-group { padding: 0 14px 16px; }
    html body #order-standard_cart .domain-input-group > .row > [class*="col-"], html body #order-standard_cart .domain-input-group > .row > [class*="col-"]:last-child { flex: 1 1 100%; }
    html body #order-standard_cart .domain-input-group .domains-row > .col-3, html body #order-standard_cart .domain-input-group .domains-row > .col-xs-3 { flex: 0 0 110px; }
}

/* Checkout fields: text label above each field (like register.php), no icon overlay */
#order-standard_cart.lmc-checkout .prepend-icon .field-icon.lmc-flabel { position: static; display: block !important; width: auto; height: auto; line-height: 1.3; margin: 0 0 6px; padding: 0; text-align: left; font-size: 13px; font-weight: 500; color: var(--lm-fg); pointer-events: auto; }
#order-standard_cart.lmc-checkout .prepend-icon > .field, #order-standard_cart.lmc-checkout .prepend-icon > .form-control, #order-standard_cart.lmc-checkout .prepend-icon .lm-sel select { padding-left: 12px; height: 42px; }
#order-standard_cart.lmc-checkout .prepend-icon .intl-tel-input { display: block; width: 100%; }
#order-standard_cart.lmc-checkout .prepend-icon .intl-tel-input input.form-control { height: 42px; }
#order-standard_cart.lmc-checkout .form-group > label:not(.field-icon) { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--lm-fg); }
#order-standard_cart.lmc-checkout .form-group { margin-bottom: 14px; }
#order-standard_cart.lmc-checkout select#stateselect:invalid, #order-standard_cart.lmc-checkout select#stateselect option[value=""] { color: var(--lm-muted-fg); }
/* payment method cards: brand mark + name */
.lmc-checkout .lmc-gateway .lmc-gw-ic { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--lm-surface-2); color: var(--lm-fg); }
.lmc-checkout .lmc-gateway .lmc-gw-ic svg { width: 18px; height: 18px; }
.lmc-checkout .lmc-gateway .lmc-gw-ic.is-pix, .lmc-checkout .lmc-gateway .lmc-gw-ic.is-paypal { background: #fff; box-shadow: inset 0 0 0 1px var(--lm-border); }
.lmc-checkout .lmc-gateway .lmc-gw-name { flex: 1; min-width: 0; }
