/* ==========================================================================
   Abrko WHMCS Theme  ·  v1.0.0
   Child theme of Twenty-One · RTL + LTR · Light + Dark
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    --ab-primary: #4f6bff;
    --ab-secondary: #00c2d1;
    --ab-accent: #ff7a59;
    --ab-success: #16a34a;
    --ab-warning: #f59e0b;
    --ab-danger: #ef4444;
    --ab-info: #0ea5e9;

    --ab-bg: #f4f6fb;
    --ab-surface: #ffffff;
    --ab-surface-2: #f1f4fa;
    --ab-text: #0f172a;
    --ab-heading: #0b1222;
    --ab-muted: #64748b;
    --ab-border: rgba(15, 23, 42, .08);
    --ab-glass: rgba(255, 255, 255, .72);
    --ab-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
    --ab-shadow: 0 10px 30px -12px rgba(15, 23, 42, .14);
    --ab-shadow-lg: 0 30px 60px -20px rgba(30, 41, 99, .28);

    --ab-primary-soft: color-mix(in srgb, var(--ab-primary) 12%, transparent);
    --ab-primary-strong: color-mix(in srgb, var(--ab-primary) 82%, #000);
    --ab-gradient: linear-gradient(135deg, var(--ab-primary), var(--ab-secondary));

    --ab-radius-sm: 10px;
    --ab-radius: 16px;
    --ab-radius-lg: 24px;
    --ab-ease: cubic-bezier(.22, 1, .36, 1);
    --ab-font: "Plus Jakarta Sans", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
}

[dir="rtl"] { --ab-font: "Vazirmatn", "Plus Jakarta Sans", system-ui, Tahoma, sans-serif; }

html[data-theme="dark"] {
    --ab-bg: #0a0f1d;
    --ab-surface: #111a2e;
    --ab-surface-2: #172238;
    --ab-text: #dbe3f4;
    --ab-heading: #f4f7ff;
    --ab-muted: #8f9cb6;
    --ab-border: rgba(255, 255, 255, .08);
    --ab-glass: rgba(17, 26, 46, .68);
    --ab-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --ab-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    --ab-shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .75);
    --ab-primary-soft: color-mix(in srgb, var(--ab-primary) 20%, transparent);
    color-scheme: dark;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }
body.ab-body {
    font-family: var(--ab-font);
    background: var(--ab-bg) !important;
    color: var(--ab-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color .3s, color .3s;
}
.ab-body h1, .ab-body h2, .ab-body h3, .ab-body h4, .ab-body h5, .ab-body h6,
.ab-body .h1, .ab-body .h2, .ab-body .h3, .ab-body .h4, .ab-body .h5, .ab-body .h6 {
    color: var(--ab-heading);
    font-weight: 800;
    letter-spacing: -.01em;
}
[dir="rtl"] .ab-body h1, [dir="rtl"] .ab-body h2, [dir="rtl"] .ab-body h3 { letter-spacing: 0; }
.ab-body a:not(.btn) { color: var(--ab-primary); transition: color .2s; }
.ab-body a:not(.btn):hover { color: var(--ab-primary-strong); text-decoration: none; }
.ab-body a.btn:hover { text-decoration: none; }
.ab-muted, .ab-body .text-muted { color: var(--ab-muted) !important; }
::selection { background: var(--ab-primary); color: #fff; }

/* Animated background blobs */
.ab-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ab-blob {
    position: absolute; width: 520px; height: 520px; border-radius: 50%;
    filter: blur(90px); opacity: .22; animation: abFloat 22s var(--ab-ease) infinite alternate;
}
.ab-blob-1 { background: var(--ab-primary); top: -180px; inset-inline-start: -120px; }
.ab-blob-2 { background: var(--ab-secondary); top: 30%; inset-inline-end: -200px; animation-delay: -7s; }
.ab-blob-3 { background: var(--ab-accent); bottom: -260px; inset-inline-start: 30%; opacity: .12; animation-delay: -14s; }
html[data-theme="dark"] .ab-blob { opacity: .16; }
@keyframes abFloat { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }

.ab-glass {
    background: var(--ab-glass) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--ab-border);
}

/* ---------- 3. Admin bar & header ---------- */
.ab-admin-bar { background: #111827; color: #e5e7eb; font-size: .85rem; padding: .45rem 0; }
.ab-admin-bar i { color: var(--ab-warning); margin-inline-end: .35rem; }

.ab-header {
    position: sticky; top: 0; z-index: 1030;
    padding: .75rem 0;
    background: transparent !important;
    border: 0 !important;
    transition: padding .3s var(--ab-ease);
}
.ab-header .ab-navbar {
    background: var(--ab-glass);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius);
    padding: .55rem .75rem;
    box-shadow: var(--ab-shadow-sm);
    transition: box-shadow .3s;
}
.ab-header.is-scrolled { padding: .4rem 0; }
.ab-header.is-scrolled .ab-navbar { box-shadow: var(--ab-shadow); }

.ab-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; color: var(--ab-heading) !important; margin: 0; padding: 0; }
.ab-brand .logo-img { max-height: 42px; width: auto; }
.ab-brand-mark { display: inline-flex; }

.ab-navbar .navbar-nav .nav-link {
    color: var(--ab-text) !important;
    font-weight: 600; font-size: .92rem;
    padding: .55rem .85rem !important;
    border-radius: var(--ab-radius-sm);
    transition: background-color .2s, color .2s;
}
.ab-navbar .navbar-nav .nav-link:hover,
.ab-navbar .navbar-nav .active > .nav-link,
.ab-navbar .navbar-nav .show > .nav-link {
    background: var(--ab-primary-soft);
    color: var(--ab-primary) !important;
}
.ab-nav-primary { margin-inline-start: 1rem; }
.ab-nav-secondary { margin-inline-start: auto; }

.ab-toolbar { display: flex; align-items: center; gap: .4rem; margin-inline-start: auto; }
@media (min-width: 1200px) { .ab-toolbar { margin-inline-start: .75rem; } }

.ab-icon-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    border: 1px solid var(--ab-border);
    background: var(--ab-surface);
    color: var(--ab-text) !important;
    cursor: pointer;
    transition: transform .2s var(--ab-ease), background-color .2s, color .2s;
}
.ab-icon-btn:hover { color: var(--ab-primary) !important; transform: translateY(-1px); }
.ab-icon-btn:focus { outline: none; box-shadow: 0 0 0 3px var(--ab-primary-soft); }
.ab-ico-light { display: none; }
html[data-theme="dark"] .ab-ico-dark { display: none; }
html[data-theme="dark"] .ab-ico-light { display: inline-block; color: #fbbf24; }

.ab-badge-dot {
    position: absolute; top: -6px; inset-inline-end: -6px;
    min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 999px;
    background: var(--ab-accent); color: #fff;
    font-size: .68rem; font-weight: 700; line-height: 19px; text-align: center;
    box-shadow: 0 0 0 2px var(--ab-surface);
}
.ab-hidden-zero { display: none; }

/* Dropdowns */
.ab-body .dropdown-menu {
    background: var(--ab-surface);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius);
    box-shadow: var(--ab-shadow-lg);
    padding: .5rem;
    animation: abDrop .22s var(--ab-ease);
    text-align: start;
}
@keyframes abDrop { from { opacity: 0; transform: translateY(6px); } }
.ab-body .dropdown-item { border-radius: var(--ab-radius-sm); padding: .55rem .8rem; color: var(--ab-text); font-size: .9rem; }
.ab-body .dropdown-item:hover, .ab-body .dropdown-item:focus { background: var(--ab-primary-soft); color: var(--ab-primary); }
.ab-body .dropdown-item.active, .ab-body .dropdown-item:active { background: var(--ab-primary); color: #fff; }
.ab-body .dropdown-divider { border-color: var(--ab-border); }
.ab-body .dropdown-header { color: var(--ab-muted); font-weight: 700; }
.ab-notifications { width: 340px; max-height: 420px; overflow: auto; }
.ab-alert-item { display: flex !important; gap: .6rem; white-space: normal; align-items: flex-start; }
.ab-sev-danger i { color: var(--ab-danger); }
.ab-sev-warning i { color: var(--ab-warning); }
.ab-sev-info i { color: var(--ab-info); }
.ab-sev-success i { color: var(--ab-success); }

/* Mobile menu */
.ab-mobile-search { margin: .75rem 0 .5rem; }
@media (max-width: 1199.98px) {
    .ab-navbar .navbar-collapse { flex-basis: 100%; order: 10; }
    .ab-nav-primary, .ab-nav-secondary { margin: 0; }
    .ab-navbar .dropdown-menu { box-shadow: none; border: 0; background: var(--ab-surface-2); animation: none; }
}

/* Breadcrumb */
.ab-breadcrumb { background: transparent !important; border: 0 !important; padding: .25rem 0 0 !important; }
.ab-breadcrumb .breadcrumb { background: transparent; padding: .5rem 0; margin: 0; font-size: .85rem; }
.ab-breadcrumb .breadcrumb-item a { color: var(--ab-muted); }
.ab-breadcrumb .breadcrumb-item.active { color: var(--ab-text); font-weight: 600; }
[dir="rtl"] .breadcrumb-item + .breadcrumb-item { padding-left: 0; padding-right: .5rem; }
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before { padding-right: 0; padding-left: .5rem; float: right; }

/* ---------- 4. Main layout ---------- */
.ab-main { background: transparent !important; padding: 1.5rem 0 3rem; min-height: 55vh; }
.tpl-homepage .ab-main { padding-top: 0; }

/* ---------- 5. Buttons ---------- */
.ab-body .btn { border-radius: 12px; font-weight: 600; transition: transform .2s var(--ab-ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
.ab-body .btn:focus { box-shadow: 0 0 0 3px var(--ab-primary-soft) !important; }
.ab-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; }
.ab-btn.btn-block { display: flex; }
.ab-btn-primary, .ab-body .btn-primary {
    background: var(--ab-gradient) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--ab-primary) 70%, transparent);
}
.ab-btn-primary:hover, .ab-body .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--ab-primary) 80%, transparent); }
.ab-btn-soft { background: var(--ab-primary-soft); color: var(--ab-primary) !important; }
.ab-btn-soft:hover { background: var(--ab-primary); color: #fff !important; }
.ab-btn-ghost { background: transparent; border: 1px solid currentColor; color: inherit; }
.ab-btn-light { background: #fff; color: var(--ab-primary) !important; }
.ab-btn-light:hover { transform: translateY(-2px); }
.ab-btn-outline-light { border: 1px solid rgba(255,255,255,.6); color: #fff !important; }
.ab-btn-outline-light:hover { background: rgba(255,255,255,.12); }
.ab-body .btn-default, .ab-body .btn-secondary, .ab-body .btn-light {
    background: var(--ab-surface-2); border: 1px solid var(--ab-border); color: var(--ab-text);
}
.ab-body .btn-default:hover, .ab-body .btn-secondary:hover, .ab-body .btn-light:hover { background: var(--ab-surface); color: var(--ab-primary); border-color: var(--ab-primary); }
.ab-body .btn-success { background: var(--ab-success); border-color: var(--ab-success); }
.ab-body .btn-danger { background: var(--ab-danger); border-color: var(--ab-danger); }
.ab-body .btn-info { background: var(--ab-info); border-color: var(--ab-info); }
.ab-body .btn-outline-primary { color: var(--ab-primary); border-color: var(--ab-primary); }
.ab-body .btn-outline-primary:hover { background: var(--ab-primary); color: #fff; }

/* ---------- 6. Forms ---------- */
.ab-body .form-control, .ab-body .custom-select, .ab-body select.form-control {
    background-color: var(--ab-surface);
    border: 1px solid var(--ab-border);
    border-radius: 12px;
    color: var(--ab-text);
    min-height: 44px;
    transition: border-color .2s, box-shadow .2s;
}
.ab-body .form-control:focus, .ab-body .custom-select:focus {
    border-color: var(--ab-primary);
    box-shadow: 0 0 0 4px var(--ab-primary-soft);
    background-color: var(--ab-surface);
    color: var(--ab-text);
}
.ab-body .form-control::placeholder { color: var(--ab-muted); opacity: .7; }
.ab-body .form-control:disabled, .ab-body .form-control[readonly] { background: var(--ab-surface-2); }
.ab-body label, .ab-body .form-control-label { font-weight: 600; font-size: .88rem; color: var(--ab-heading); }
.ab-body .input-group-text { background: var(--ab-surface-2); border-color: var(--ab-border); color: var(--ab-muted); }

.ab-input-icon { position: relative; }
.ab-input-icon > i { position: absolute; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); color: var(--ab-muted); pointer-events: none; }
.ab-input-icon > .form-control { padding-inline-start: 2.6rem; }
.ab-pw-toggle { position: absolute; top: 50%; inset-inline-end: 8px; transform: translateY(-50%); border: 0; background: transparent; color: var(--ab-muted); padding: .35rem .5rem; cursor: pointer; }
.ab-pw-toggle:hover { color: var(--ab-primary); }
/* ltr inputs inside rtl pages: icon still on visual start of page */
[dir="rtl"] .ab-input-icon > input[dir="ltr"] { text-align: left; }

.ab-switch { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 500 !important; }
.ab-switch input { position: absolute; opacity: 0; pointer-events: none; }
.ab-switch-ui { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--ab-surface-2); border: 1px solid var(--ab-border); transition: background .2s; flex: none; }
.ab-switch-ui::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--ab-shadow-sm); transition: inset-inline-start .25s var(--ab-ease); }
.ab-switch input:checked + .ab-switch-ui { background: var(--ab-primary); }
.ab-switch input:checked + .ab-switch-ui::after { inset-inline-start: 20px; }

/* ---------- 7. Cards, panels, sidebar ---------- */
.ab-body .card {
    background: var(--ab-surface);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius);
    box-shadow: var(--ab-shadow-sm);
    color: var(--ab-text);
    overflow: hidden;
}
.ab-body .card-header, .ab-body .card-footer { background: transparent; border-color: var(--ab-border); }
.ab-body .card-footer:empty { display: none; }
.ab-body .card-title { font-size: 1rem; font-weight: 700; }
.ab-body .card-header .card-title i { color: var(--ab-primary); }

.ab-body .list-group-item {
    background: transparent;
    border-color: var(--ab-border);
    color: var(--ab-text);
    transition: background .2s, color .2s, padding .2s;
}
.ab-body .list-group-item-action:hover { background: var(--ab-primary-soft); color: var(--ab-primary); }
.ab-body .list-group-item.active { background: var(--ab-primary-soft); color: var(--ab-primary); border-color: var(--ab-border); font-weight: 700; box-shadow: inset 3px 0 0 var(--ab-primary); }
[dir="rtl"] .ab-body .list-group-item.active { box-shadow: inset -3px 0 0 var(--ab-primary); }

.ab-sidebar .card { margin-bottom: 1.25rem; }
.ab-sidebar .card-header { padding: .9rem 1.1rem; }
.ab-sidebar .card-title { font-size: .92rem; }
.ab-sidebar .list-group-item { padding: .65rem 1.1rem; font-size: .9rem; }

/* ---------- 8. Tables / DataTables ---------- */
.ab-body .table { color: var(--ab-text); }
.ab-body .table th, .ab-body .table td { border-color: var(--ab-border); vertical-align: middle; }
.ab-body .table thead th { background: var(--ab-surface-2); color: var(--ab-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--ab-border); }
.ab-body .table-hover tbody tr:hover, .ab-body .table-list tbody tr:hover { background: var(--ab-primary-soft); }
.ab-body .table-list > tbody > tr > td { background: transparent !important; }
.ab-body .table-container { background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: var(--ab-radius); padding: 1rem; }
.ab-body .dataTables_wrapper .dataTables_info, .ab-body .dataTables_wrapper .dataTables_length { color: var(--ab-muted); }
.ab-body .dataTables_filter input { border-radius: 10px; }

/* ---------- 9. Misc components ---------- */
.ab-body .alert { border-radius: var(--ab-radius-sm); border: 1px solid transparent; }
.ab-body .alert-info { background: color-mix(in srgb, var(--ab-info) 12%, transparent); color: var(--ab-text); border-color: color-mix(in srgb, var(--ab-info) 30%, transparent); }
.ab-body .alert-success { background: color-mix(in srgb, var(--ab-success) 12%, transparent); color: var(--ab-text); border-color: color-mix(in srgb, var(--ab-success) 30%, transparent); }
.ab-body .alert-warning { background: color-mix(in srgb, var(--ab-warning) 14%, transparent); color: var(--ab-text); border-color: color-mix(in srgb, var(--ab-warning) 32%, transparent); }
.ab-body .alert-danger { background: color-mix(in srgb, var(--ab-danger) 12%, transparent); color: var(--ab-text); border-color: color-mix(in srgb, var(--ab-danger) 30%, transparent); }
.ab-body .badge { border-radius: 999px; font-weight: 700; padding: .35em .7em; }
.ab-body .modal-content { background: var(--ab-surface); color: var(--ab-text); border: 1px solid var(--ab-border); border-radius: var(--ab-radius-lg); box-shadow: var(--ab-shadow-lg); }
.ab-body .modal-header, .ab-body .modal-footer { border-color: var(--ab-border); }
.ab-body .close { color: var(--ab-text); text-shadow: none; }
.ab-body .modal-backdrop.show { opacity: .55; backdrop-filter: blur(4px); }
.ab-body .page-link { background: var(--ab-surface); border-color: var(--ab-border); color: var(--ab-text); }
.ab-body .page-item.active .page-link { background: var(--ab-primary); border-color: var(--ab-primary); }
.ab-body .nav-tabs { border-color: var(--ab-border); }
.ab-body .nav-tabs .nav-link { border-radius: 10px 10px 0 0; color: var(--ab-muted); }
.ab-body .nav-tabs .nav-link.active { background: var(--ab-surface); border-color: var(--ab-border) var(--ab-border) var(--ab-surface); color: var(--ab-primary); }
.ab-body hr { border-color: var(--ab-border); }
.ab-body .progress { background: var(--ab-surface-2); border-radius: 999px; }
.ab-body .progress-bar { background: var(--ab-gradient); }
.ab-body .bg-white, .ab-body .bg-light { background: var(--ab-surface) !important; }

/* Language modal */
.modal-localisation .item-selector .item {
    display: block; padding: .7rem 1rem; margin-bottom: .75rem;
    border-radius: 12px; border: 1px solid var(--ab-border);
    background: var(--ab-surface-2); color: var(--ab-text);
    text-align: center; font-weight: 600;
}
.modal-localisation .item-selector .item:hover,
.modal-localisation .item-selector .item.active { border-color: var(--ab-primary); color: var(--ab-primary); background: var(--ab-primary-soft); }

/* ---------- 10. Homepage ---------- */
.ab-full { width: 100vw; position: relative; margin-inline-start: calc(50% - 50vw); }
.tpl-homepage .primary-content { position: static; }

.ab-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem .9rem; border-radius: 999px;
    background: var(--ab-primary-soft); color: var(--ab-primary);
    font-weight: 700; font-size: .82rem;
}
.ab-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ab-primary); box-shadow: 0 0 0 0 var(--ab-primary); animation: abPulse 2s infinite; }
@keyframes abPulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.ab-hero { padding: 3.5rem 0 2.5rem; }
.ab-hero-title {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.25; margin: 1.2rem 0 1rem;
    background: linear-gradient(120deg, var(--ab-heading) 30%, var(--ab-primary) 70%, var(--ab-secondary));
    -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.ab-hero-text { font-size: 1.1rem; color: var(--ab-muted); max-width: 560px; line-height: 2; }
.ab-hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.ab-domain-search { margin-top: 1.75rem; max-width: 600px; }
.ab-domain-box {
    display: flex; align-items: center; gap: .5rem;
    padding: .5rem; padding-inline-start: 1rem;
    background: var(--ab-surface); border: 1px solid var(--ab-border);
    border-radius: 18px; box-shadow: var(--ab-shadow);
    transition: box-shadow .25s, border-color .25s;
}
.ab-domain-box:focus-within { border-color: var(--ab-primary); box-shadow: 0 0 0 5px var(--ab-primary-soft), var(--ab-shadow); }
.ab-domain-ico { color: var(--ab-primary); font-size: 1.1rem; }
.ab-domain-box .form-control { border: 0 !important; box-shadow: none !important; background: transparent !important; font-size: 1.05rem; min-width: 0; }
.ab-domain-actions { display: flex; gap: .4rem; flex: none; }
.ab-domain-actions .btn { padding: .65rem 1.1rem; }
.ab-tld-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
[dir="rtl"] .ab-tld-chips { justify-content: flex-end; }
.ab-chip {
    border: 1px solid var(--ab-border); background: var(--ab-surface);
    color: var(--ab-text); border-radius: 999px; padding: .25rem .8rem;
    font-weight: 700; font-size: .82rem; cursor: pointer;
    transition: all .2s var(--ab-ease);
}
.ab-chip:hover { border-color: var(--ab-primary); color: var(--ab-primary); transform: translateY(-2px); }
@media (max-width: 575.98px) {
    .ab-domain-box { flex-wrap: wrap; padding: .6rem; }
    .ab-domain-box .form-control { flex: 1 1 calc(100% - 2rem); }
    .ab-domain-actions { width: 100%; }
    .ab-domain-actions .btn { flex: 1; }
}

/* Hero visual */
.ab-hero-visual { position: relative; padding: 2rem; }
.ab-mock { border-radius: var(--ab-radius-lg); box-shadow: var(--ab-shadow-lg); overflow: hidden; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ab-ease); }
[dir="rtl"] .ab-mock { transform: perspective(1200px) rotateY(8deg) rotateX(4deg); }
.ab-hero-visual:hover .ab-mock { transform: none; }
.ab-mock-head { display: flex; align-items: center; gap: 6px; padding: .8rem 1rem; border-bottom: 1px solid var(--ab-border); }
.ab-mock-head > span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.ab-mock-head > span:nth-child(2) { background: #febc2e; }
.ab-mock-head > span:nth-child(3) { background: #28c840; }
.ab-mock-url { margin-inline-start: .75rem; flex: 1; font-size: .75rem; color: var(--ab-muted); background: var(--ab-surface-2); border-radius: 8px; padding: .25rem .6rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ab-mock-body { padding: 1.5rem; }
.ab-mock-stat { margin-bottom: 1rem; }
.ab-mock-stat small { font-weight: 700; color: var(--ab-muted); font-size: .72rem; }
.ab-bar { height: 8px; border-radius: 999px; background: var(--ab-surface-2); overflow: hidden; margin-top: .35rem; }
.ab-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--ab-gradient); animation: abGrow 1.6s var(--ab-ease) both; }
@keyframes abGrow { from { width: 0; } }
.ab-mock-chart { width: 100%; height: 110px; margin-top: .5rem; }
.ab-chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: abDraw 2.2s var(--ab-ease) .3s forwards; }
@keyframes abDraw { to { stroke-dashoffset: 0; } }
.ab-float {
    position: absolute; padding: .6rem .95rem; border-radius: 14px;
    font-weight: 700; font-size: .85rem; color: var(--ab-heading);
    box-shadow: var(--ab-shadow); animation: abBob 5s ease-in-out infinite; white-space: nowrap; direction: ltr;
}
.ab-float i { color: var(--ab-primary); margin-right: .35rem; }
.ab-float-1 { top: 0; inset-inline-end: 0; }
.ab-float-2 { bottom: 18%; inset-inline-start: -4%; animation-delay: -1.6s; }
.ab-float-3 { bottom: -2%; inset-inline-end: 12%; animation-delay: -3.2s; }
@keyframes abBob { 50% { transform: translateY(-10px); } }
.ab-online { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ab-success); margin-right: .35rem; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ab-success) 25%, transparent); }

/* Stats */
.ab-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    margin-top: 3rem; border-radius: var(--ab-radius-lg); overflow: hidden;
    background: var(--ab-border); border: 1px solid var(--ab-border); box-shadow: var(--ab-shadow-sm);
}
.ab-stat { background: var(--ab-surface); padding: 1.5rem 1rem; text-align: center; }
.ab-stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--ab-heading); direction: ltr; }
.ab-stat small { color: var(--ab-muted); font-weight: 600; }
@media (max-width: 767.98px) { .ab-stats { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.ab-section { padding: 4rem 0; }
.ab-section-tinted { background: linear-gradient(180deg, transparent, var(--ab-primary-soft) 30%, var(--ab-primary-soft) 70%, transparent); }
.ab-section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.ab-section-head.ab-head-start { text-align: start; margin: 0 0 2rem; }
.ab-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .6rem 0; }
.ab-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ab-primary); }
[dir="rtl"] .ab-eyebrow { letter-spacing: 0; }

.ab-cards > [class*="col-"] { margin-bottom: 1.5rem; }
.ab-card {
    position: relative; display: block; padding: 1.75rem;
    background: var(--ab-surface); border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius-lg); color: var(--ab-text) !important;
    box-shadow: var(--ab-shadow-sm); overflow: hidden;
    transition: transform .35s var(--ab-ease), box-shadow .35s var(--ab-ease), border-color .35s;
}
.ab-card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--ab-gradient); opacity: 0; transition: opacity .35s;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.ab-card:hover { transform: translateY(-6px); box-shadow: var(--ab-shadow-lg); }
.ab-card:hover::before { opacity: 1; }
.ab-card h3 { font-size: 1.2rem; margin: 1.1rem 0 .5rem; }
.ab-card p { color: var(--ab-muted); margin-bottom: 1.2rem; line-height: 1.9; }
.ab-card-ico { display: inline-flex; width: 54px; height: 54px; border-radius: 16px; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; background: var(--ab-gradient); box-shadow: 0 10px 20px -8px var(--ab-primary); }
.ab-ico-2 { background: linear-gradient(135deg, var(--ab-secondary), #22d3ee); }
.ab-ico-3 { background: linear-gradient(135deg, var(--ab-accent), #fbbf24); }
.ab-ico-0 { background: linear-gradient(135deg, #8b5cf6, var(--ab-primary)); }
.ab-card-link { font-weight: 700; color: var(--ab-primary); display: inline-flex; align-items: center; gap: .4rem; }
.ab-arrow { transition: transform .3s var(--ab-ease); }
[dir="ltr"] .ab-arrow { transform: scaleX(-1); }
.ab-card:hover .ab-arrow { transform: translateX(-4px); }
[dir="ltr"] .ab-card:hover .ab-arrow { transform: scaleX(-1) translateX(-4px); }
.ab-card-highlight { background: var(--ab-gradient); color: #fff !important; border: 0; }
.ab-card-highlight h3, .ab-card-highlight p, .ab-card-highlight .ab-card-link { color: #fff !important; }
.ab-card-highlight .ab-card-ico { background: rgba(255,255,255,.2); box-shadow: none; }

.ab-feature { padding: 1.5rem; margin-bottom: 1.5rem; border-radius: var(--ab-radius); transition: background .3s; height: calc(100% - 1.5rem); }
.ab-feature:hover { background: var(--ab-surface); box-shadow: var(--ab-shadow-sm); }
.ab-feature-ico { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; align-items: center; justify-content: center; background: var(--ab-surface); color: var(--ab-primary); font-size: 1.2rem; box-shadow: var(--ab-shadow-sm); border: 1px solid var(--ab-border); }
.ab-feature h4 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
.ab-feature p { color: var(--ab-muted); margin: 0; line-height: 1.9; font-size: .93rem; }

.ab-shortcuts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 991.98px) { .ab-shortcuts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .ab-shortcuts { grid-template-columns: repeat(2, 1fr); } }
.ab-shortcut {
    display: flex; flex-direction: column; align-items: center; gap: .75rem;
    padding: 1.5rem 1rem; text-align: center;
    background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: var(--ab-radius);
    color: var(--ab-text) !important; font-weight: 600; font-size: .9rem;
    transition: transform .3s var(--ab-ease), border-color .3s, box-shadow .3s;
}
.ab-shortcut i { font-size: 1.5rem; color: var(--ab-primary); }
.ab-shortcut:hover { transform: translateY(-4px); border-color: var(--ab-primary); box-shadow: var(--ab-shadow); }

.ab-faq-item { background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: var(--ab-radius); margin-bottom: .75rem; overflow: hidden; transition: box-shadow .3s; }
.ab-faq-item[open] { box-shadow: var(--ab-shadow); border-color: color-mix(in srgb, var(--ab-primary) 35%, transparent); }
.ab-faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 700; color: var(--ab-heading); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ab-faq-item summary::-webkit-details-marker { display: none; }
.ab-faq-item summary i { color: var(--ab-primary); transition: transform .3s var(--ab-ease); flex: none; }
.ab-faq-item[open] summary i { transform: rotate(45deg); }
.ab-faq-body { padding: 0 1.25rem 1.2rem; color: var(--ab-muted); line-height: 2; }

.ab-cta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding: 3rem; border-radius: var(--ab-radius-lg);
    background: var(--ab-gradient); color: #fff; box-shadow: var(--ab-shadow-lg);
}
.ab-cta::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.12); top: -160px; inset-inline-end: -80px; }
.ab-cta h2 { color: #fff !important; margin-bottom: .5rem; }
.ab-cta p { margin: 0; opacity: .9; }
.ab-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- 11. Auth (login) ---------- */
.ab-auth {
    display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 1rem auto;
    background: var(--ab-surface); border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius-lg); box-shadow: var(--ab-shadow-lg); overflow: hidden;
}
@media (max-width: 991.98px) { .ab-auth { grid-template-columns: 1fr; max-width: 480px; } }
.ab-auth-side {
    position: relative; overflow: hidden; flex-direction: column; justify-content: center;
    padding: 3rem; background: var(--ab-gradient); color: #fff;
}
.ab-auth-side h2 { color: #fff !important; margin: 1.25rem 0 .75rem; }
.ab-auth-side p { opacity: .9; line-height: 2; }
.ab-auth-side .ab-pill { background: rgba(255,255,255,.18); color: #fff; }
.ab-auth-side .ab-pulse { background: #fff; }
.ab-checks { list-style: none; padding: 0; margin: 1.5rem 0 0; position: relative; z-index: 1; }
.ab-checks li { display: flex; gap: .6rem; align-items: center; margin-bottom: .7rem; font-weight: 600; }
.ab-checks i { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }
.ab-auth-orbit span { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; bottom: -120px; inset-inline-end: -120px; animation: abSpin 30s linear infinite; }
.ab-auth-orbit span:nth-child(1) { width: 260px; height: 260px; }
.ab-auth-orbit span:nth-child(2) { width: 380px; height: 380px; animation-duration: 45s; bottom: -180px; inset-inline-end: -180px; }
.ab-auth-orbit span:nth-child(3) { width: 500px; height: 500px; animation-duration: 60s; bottom: -240px; inset-inline-end: -240px; }
@keyframes abSpin { to { transform: rotate(360deg); } }
.ab-auth-main { padding: 3rem; }
@media (max-width: 575.98px) { .ab-auth-main { padding: 1.75rem; } }
.ab-auth-head { margin-bottom: 1.75rem; }
.ab-auth-form .btn-lg { padding: .8rem 1rem; }

/* ---------- 12. Client dashboard ---------- */
.ab-welcome {
    display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap;
    padding: 1.75rem; margin-bottom: 1.5rem;
    background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: var(--ab-radius-lg);
    box-shadow: var(--ab-shadow-sm); position: relative; overflow: hidden;
}
.ab-welcome::before { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--ab-primary-soft); }
.ab-welcome > * { position: relative; }
.ab-welcome-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.ab-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 1199.98px) { .ab-tiles { grid-template-columns: repeat(2, 1fr); } }
.ab-tile {
    display: flex; align-items: center; gap: 1rem; padding: 1.25rem;
    background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: var(--ab-radius);
    color: var(--ab-text) !important; box-shadow: var(--ab-shadow-sm);
    transition: transform .3s var(--ab-ease), box-shadow .3s;
}
.ab-tile:hover { transform: translateY(-4px); box-shadow: var(--ab-shadow); }
.ab-tile strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: var(--ab-heading); }
.ab-tile small { color: var(--ab-muted); font-weight: 600; }
.ab-tile-ico { width: 50px; height: 50px; flex: none; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.ab-c1 { background: var(--ab-primary-soft); color: var(--ab-primary); }
.ab-c2 { background: color-mix(in srgb, var(--ab-secondary) 16%, transparent); color: var(--ab-secondary); }
.ab-c3 { background: color-mix(in srgb, var(--ab-warning) 16%, transparent); color: var(--ab-warning); }
.ab-c4 { background: color-mix(in srgb, var(--ab-accent) 16%, transparent); color: var(--ab-accent); }
.ab-tile-alert { border-color: color-mix(in srgb, var(--ab-accent) 45%, transparent); }
.ab-tile-alert .ab-tile-ico { animation: abPulseBox 2s infinite; }
@keyframes abPulseBox { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ab-accent) 15%, transparent); } }

.ab-panels .card { margin-bottom: 1.5rem; }
.ab-panels .card-header { padding: 1rem 1.25rem; }
.ab-panels .card[class*="card-accent-"] { border-top: 3px solid var(--ab-primary); }
.ab-panels .card-accent-gold, .ab-panels .card-accent-amber { border-top-color: var(--ab-warning) !important; }
.ab-panels .card-accent-red, .ab-panels .card-accent-pomegranate { border-top-color: var(--ab-danger) !important; }
.ab-panels .card-accent-green, .ab-panels .card-accent-emerald { border-top-color: var(--ab-success) !important; }
.ab-panels .card-accent-blue, .ab-panels .card-accent-midnight-blue { border-top-color: var(--ab-info) !important; }
.ab-panel-btn .btn { border-radius: 8px; font-size: .75rem; padding: .25rem .6rem; }

/* ---------- 13. Footer ---------- */
.ab-footer { background: var(--ab-surface) !important; border-top: 1px solid var(--ab-border); color: var(--ab-text); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.ab-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--ab-border); }
@media (max-width: 991.98px) { .ab-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .ab-footer-top { grid-template-columns: 1fr; } }
.ab-footer-brand p { margin: 1rem 0; line-height: 2; font-size: .92rem; }
.ab-footer h6 { font-weight: 800; margin-bottom: 1rem; color: var(--ab-heading); }
.ab-footer ul { list-style: none; padding: 0; margin: 0; }
.ab-footer li { margin-bottom: .55rem; }
.ab-footer li a { color: var(--ab-muted); font-size: .92rem; }
.ab-footer li a:hover { color: var(--ab-primary); }
.ab-contact-list li { display: flex; gap: .6rem; align-items: center; }
.ab-contact-list i { color: var(--ab-primary); width: 16px; }
.ab-social { display: flex; gap: .5rem; }
.ab-social a { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--ab-surface-2); color: var(--ab-text); transition: all .25s var(--ab-ease); }
.ab-social a:hover { background: var(--ab-primary); color: #fff; transform: translateY(-3px); }
.ab-trust { margin-top: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.ab-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; color: var(--ab-muted); font-size: .88rem; }
.ab-sep { opacity: .4; margin: 0 .25rem; }

.ab-to-top {
    position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 1040;
    width: 46px; height: 46px; border-radius: 14px; border: 0;
    background: var(--ab-gradient); color: #fff; box-shadow: var(--ab-shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .35s var(--ab-ease); cursor: pointer;
}
.ab-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- 14. Reveal animations ---------- */
.ab-js [data-ab-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ab-ease), transform .8s var(--ab-ease); }
.ab-js [data-ab-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-ab-reveal] { opacity: 1; transform: none; }
}

/* ---------- 15. Order form (standard_cart) polish ---------- */
.ab-body #order-standard_cart .product, .ab-body #order-standard_cart .panel,
.ab-body #order-standard_cart .order-summary, .ab-body #order-standard_cart .view-cart-items {
    background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: var(--ab-radius); color: var(--ab-text);
}
.ab-body #order-standard_cart .order-summary { overflow: hidden; }
.ab-body #order-standard_cart .order-summary h2 { background: var(--ab-gradient); color: #fff; }
.ab-body #order-standard_cart .summary-container { background: var(--ab-surface-2); }
.ab-body #order-standard_cart .product header { background: var(--ab-surface-2); border-radius: var(--ab-radius) var(--ab-radius) 0 0; }
.ab-body #order-standard_cart .header-lined h1 { color: var(--ab-heading); }
.ab-body #order-standard_cart .view-cart-items-header { background: var(--ab-primary); border-radius: var(--ab-radius) var(--ab-radius) 0 0; }
.ab-body #order-standard_cart .sub-heading span { background: var(--ab-bg); color: var(--ab-muted); }

/* ---------- 16. RTL fixes for Bootstrap 4 ---------- */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .text-left { text-align: right !important; }
[dir="rtl"] .text-right { text-align: left !important; }
[dir="rtl"] .float-left { float: right !important; }
[dir="rtl"] .float-right { float: left !important; }
[dir="rtl"] .ml-auto { margin-left: 0 !important; margin-right: auto !important; }
[dir="rtl"] .mr-auto { margin-right: 0 !important; margin-left: auto !important; }
[dir="rtl"] .ml-1 { margin-left: 0 !important; margin-right: .25rem !important; }
[dir="rtl"] .ml-2 { margin-left: 0 !important; margin-right: .5rem !important; }
[dir="rtl"] .ml-3 { margin-left: 0 !important; margin-right: 1rem !important; }
[dir="rtl"] .mr-1 { margin-right: 0 !important; margin-left: .25rem !important; }
[dir="rtl"] .mr-2 { margin-right: 0 !important; margin-left: .5rem !important; }
[dir="rtl"] .mr-3 { margin-right: 0 !important; margin-left: 1rem !important; }
[dir="rtl"] .pl-0 { padding-left: inherit !important; padding-right: 0 !important; }
[dir="rtl"] .pr-0 { padding-right: inherit !important; padding-left: 0 !important; }
[dir="rtl"] .dropdown-menu-right { right: auto !important; left: 0 !important; }
[dir="rtl"] .dropdown-menu:not(.dropdown-menu-right) { right: 0; left: auto; }
[dir="rtl"] .dropdown-toggle::after { margin-left: 0; margin-right: .255em; }
[dir="rtl"] .input-group > .form-control:not(:last-child),
[dir="rtl"] .input-group > .custom-select:not(:last-child) { border-radius: 0 12px 12px 0; }
[dir="rtl"] .input-group > .input-group-append > .btn,
[dir="rtl"] .input-group > .input-group-append > .input-group-text { border-radius: 12px 0 0 12px; }
[dir="rtl"] .input-group > .input-group-prepend > .btn,
[dir="rtl"] .input-group > .input-group-prepend > .input-group-text { border-radius: 0 12px 12px 0; }
[dir="rtl"] .input-group > .form-control:not(:first-child) { border-radius: 12px 0 0 12px; }
[dir="rtl"] .modal-header .close { margin: -1rem auto -1rem -1rem; }
[dir="rtl"] .custom-control { padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .custom-control-label::before, [dir="rtl"] .custom-control-label::after { left: auto; right: -1.5rem; }
[dir="rtl"] .form-check { padding-left: 0; padding-right: 1.25rem; }
[dir="rtl"] .form-check-input { margin-left: 0; margin-right: -1.25rem; }
[dir="rtl"] .list-group-item .badge.float-right, [dir="rtl"] .list-group-item .badge { float: left; }
[dir="rtl"] .fa-chevron-right, [dir="rtl"] .fa-arrow-right, [dir="rtl"] .fa-angle-right,
[dir="rtl"] .fa-chevron-left:not(.ab-keep), [dir="rtl"] .fa-angle-left { transform: scaleX(-1); }
[dir="rtl"] .ab-arrow { transform: none; }
[dir="rtl"] .table th, [dir="rtl"] .table td { text-align: right; }
[dir="rtl"] .dataTables_wrapper .dataTables_filter { text-align: left; }
[dir="rtl"] .dataTables_wrapper .dataTables_length { text-align: right; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"], [dir="rtl"] input[type="tel"] { direction: ltr; text-align: right; }
[dir="rtl"] .ab-float { direction: ltr; }

/* icon-inputs that use dir="ltr" inside an RTL page: use physical sides */
[dir="rtl"] .ab-input-icon > .form-control { padding-right: 2.6rem; padding-left: .75rem; }
[dir="rtl"] .ab-input-icon > .ab-pw-toggle ~ .form-control,
[dir="rtl"] .ab-input-icon > .form-control.pw-input { padding-left: 2.6rem; }
[dir="ltr"] .ab-input-icon > .form-control.pw-input { padding-right: 2.6rem; }

/* ==========================================================================
   17. Pricing cards – pure_comparison order form (+ featured / popular fix)
   ========================================================================== */
#order-pure_comparison .price-table-container > ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 1.75rem; padding: 1.5rem 0 !important; margin: 0; list-style: none; }
#order-pure_comparison .price-table-container > ul > li {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 !important; float: none !important;
    flex: 1 1 280px; max-width: 380px; width: auto !important; display: flex;
}
#order-pure_comparison .price-table {
    position: relative; width: 100%; display: flex; flex-direction: column;
    background: var(--ab-surface) !important; color: var(--ab-text) !important;
    border: 1px solid var(--ab-border) !important; border-radius: var(--ab-radius-lg) !important;
    box-shadow: var(--ab-shadow) !important; padding: 1.5rem 1.5rem 1.75rem !important;
    overflow: visible; text-align: center;
    transition: transform .4s var(--ab-ease), box-shadow .4s var(--ab-ease);
}
#order-pure_comparison .price-table:hover { transform: translateY(-8px); box-shadow: var(--ab-shadow-lg) !important; }
#order-pure_comparison .price-table * { color: inherit; }

/* header pill */
#order-pure_comparison .price-table .top-head,
#order-pure_comparison .price-table .top-area { background: transparent !important; border: 0 !important; padding: 0 !important; height: auto !important; }
#order-pure_comparison .price-table .top-area {
    background: var(--ab-primary-soft) !important; border-radius: 14px !important;
    padding: .7rem 1rem !important; margin-bottom: 1.25rem;
}
#order-pure_comparison .price-table .top-area,
#order-pure_comparison .price-table .top-area * { color: var(--ab-primary) !important; font-weight: 800 !important; font-size: 1rem !important; margin: 0 !important; line-height: 1.7; }

/* price */
#order-pure_comparison .price-table .price-area { background: transparent !important; border: 0 !important; padding: 0 0 1rem !important; margin-bottom: .5rem; border-bottom: 1px dashed var(--ab-border) !important; }
#order-pure_comparison .price-table .price,
#order-pure_comparison .price-table .price * { color: var(--ab-heading) !important; font-weight: 800; }
#order-pure_comparison .price-table .price { font-size: 2rem !important; line-height: 1.4; }
#order-pure_comparison .price-table .price small,
#order-pure_comparison .price-table .price .billing-cycle,
#order-pure_comparison .price-table .price-area .billing-cycle,
#order-pure_comparison .price-table .price-area small,
#order-pure_comparison .price-table .price-area span.small { color: var(--ab-muted) !important; font-size: .82rem !important; font-weight: 600 !important; display: block; }

/* features */
#order-pure_comparison .price-table > ul { list-style: none; padding: .5rem 0 !important; margin: 0 0 1.5rem !important; flex: 1; }
#order-pure_comparison .price-table > ul > li {
    position: relative; background: transparent !important; border: 0 !important;
    border-bottom: 1px solid var(--ab-border) !important;
    padding: .7rem 0 !important; color: var(--ab-text) !important; font-size: .92rem; line-height: 1.8;
}
#order-pure_comparison .price-table > ul > li:last-child { border-bottom: 0 !important; }
#order-pure_comparison .price-table > ul > li::before {
    content: "\f00c"; font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free"; font-weight: 900;
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%; font-size: .6rem; vertical-align: middle;
    background: color-mix(in srgb, var(--ab-success) 15%, transparent); color: var(--ab-success);
    margin-inline-end: .5rem;
}

/* button */
#order-pure_comparison .price-table .order-button,
#order-pure_comparison .price-table a.btn {
    display: flex !important; align-items: center; justify-content: center; gap: .5rem;
    width: 100%; margin-top: auto; padding: .8rem 1rem !important;
    border-radius: 14px !important; border: 1px solid var(--ab-primary) !important;
    background: transparent !important; color: var(--ab-primary) !important; font-weight: 700 !important;
    transition: all .3s var(--ab-ease);
}
#order-pure_comparison .price-table .order-button:hover,
#order-pure_comparison .price-table a.btn:hover { background: var(--ab-gradient) !important; border-color: transparent !important; color: #fff !important; transform: translateY(-2px); }

/* ---- Featured / popular card ---- */
#order-pure_comparison .price-table-container > ul > li.featured { z-index: 2; }
#order-pure_comparison li.featured .price-table {
    border: 2px solid transparent !important;
    background:
        linear-gradient(var(--ab-surface), var(--ab-surface)) padding-box,
        var(--ab-gradient) border-box !important;
    box-shadow: 0 30px 60px -22px color-mix(in srgb, var(--ab-primary) 55%, transparent) !important;
    transform: translateY(-14px);
}
#order-pure_comparison li.featured .price-table:hover { transform: translateY(-20px); }
#order-pure_comparison li.featured .price-table .top-area { background: var(--ab-gradient) !important; }
#order-pure_comparison li.featured .price-table .top-area,
#order-pure_comparison li.featured .price-table .top-area * { color: #fff !important; }
#order-pure_comparison li.featured .price-table .price,
#order-pure_comparison li.featured .price-table .price *:not(small):not(.billing-cycle) {
    background: var(--ab-gradient); -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
#order-pure_comparison li.featured .price-table .order-button,
#order-pure_comparison li.featured .price-table a.btn {
    background: var(--ab-gradient) !important; border-color: transparent !important; color: #fff !important;
    box-shadow: 0 10px 22px -10px var(--ab-primary);
}
/* "Most popular" ribbon */
#order-pure_comparison .popular-plan {
    position: absolute !important; top: -14px; left: 50% !important; right: auto !important;
    transform: translateX(-50%); z-index: 3; margin: 0 !important; padding: 0 !important;
    background: transparent !important; width: auto !important; height: auto !important;
}
#order-pure_comparison .popular-plan .plan-container,
#order-pure_comparison .popular-plan .txt-container {
    position: static !important; transform: none !important; width: auto !important; height: auto !important;
    background: transparent !important; border: 0 !important; margin: 0 !important; padding: 0 !important;
}
#order-pure_comparison .popular-plan .txt-container,
#order-pure_comparison .popular-plan > *:only-child:not(.plan-container) {
    display: inline-flex !important; align-items: center; gap: .35rem; white-space: nowrap;
    background: linear-gradient(135deg, var(--ab-accent), #fbbf24) !important; color: #fff !important;
    border-radius: 999px !important; padding: .3rem .95rem !important;
    font-size: .75rem !important; font-weight: 800 !important; line-height: 1.6;
    box-shadow: 0 8px 18px -8px var(--ab-accent);
}
#order-pure_comparison .popular-plan .txt-container::before { content: "\f005"; font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free"; font-weight: 900; font-size: .65rem; }

@media (max-width: 767.98px) {
    #order-pure_comparison .price-table-container > ul > li { max-width: 100%; }
    #order-pure_comparison li.featured .price-table { transform: none; }
}

/* ==========================================================================
   18. v1.2 – Advanced UI
   ========================================================================== */
kbd { font-family: inherit; }

/* ---- Page progress bar ---- */
.ab-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 2000; pointer-events: none; }
.ab-progress i { display: block; height: 100%; width: 0; background: var(--ab-gradient); box-shadow: 0 0 10px var(--ab-primary); opacity: 0; transition: width .4s var(--ab-ease), opacity .3s; }
.ab-progress.is-loading i { opacity: 1; width: 80%; transition: width 6s cubic-bezier(.1, .7, .2, 1), opacity .2s; }
.ab-progress.is-done i { opacity: 0; width: 100%; transition: width .2s, opacity .4s .2s; }
[dir="rtl"] .ab-progress i { margin-inline-start: 0; }

/* ---- Announcement top bar ---- */
.ab-topbar { position: relative; background: var(--ab-gradient); color: #fff; font-size: .88rem; font-weight: 600; overflow: hidden; }
.ab-topbar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); background-size: 250% 100%; animation: abShine 4s linear infinite; }
@keyframes abShine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.ab-topbar .container { position: relative; display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 42px; padding-inline-end: 3rem; flex-wrap: wrap; }
.ab-topbar-btn { background: rgba(255,255,255,.2); color: #fff !important; padding: .2rem .8rem; border-radius: 999px; font-size: .8rem; display: inline-flex; align-items: center; gap: .35rem; transition: background .2s; }
.ab-topbar-btn:hover { background: rgba(255,255,255,.35); }
.ab-topbar-close { position: absolute; inset-inline-end: 15px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #fff; opacity: .8; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; }
.ab-topbar-close:hover { opacity: 1; background: rgba(255,255,255,.15); }

/* ---- Search trigger in header ---- */
.ab-search-trigger {
    display: inline-flex; align-items: center; gap: .55rem; height: 40px; padding: 0 .75rem;
    border-radius: 12px; border: 1px solid var(--ab-border); background: var(--ab-surface);
    color: var(--ab-muted); font-size: .85rem; cursor: pointer; transition: border-color .2s, color .2s;
}
.ab-search-trigger:hover { border-color: var(--ab-primary); color: var(--ab-primary); }
.ab-search-trigger span { text-align: start; white-space: nowrap; }
.ab-search-trigger kbd, .ab-cmdk kbd {
    display: inline-flex; align-items: center; gap: 2px; padding: .1rem .4rem; border-radius: 6px;
    background: var(--ab-surface-2); border: 1px solid var(--ab-border); border-bottom-width: 2px;
    color: var(--ab-muted); font-size: .68rem; font-weight: 700; box-shadow: none;
}

/* ---- Command palette ---- */
.ab-cmdk { position: fixed; inset: 0; z-index: 2050; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.ab-cmdk[hidden] { display: none; }
.ab-cmdk-backdrop { position: absolute; inset: 0; background: rgba(8, 12, 28, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: abFade .2s; }
@keyframes abFade { from { opacity: 0; } }
.ab-cmdk-panel {
    position: relative; width: 100%; max-width: 620px; max-height: 72vh; display: flex; flex-direction: column;
    background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,.45); overflow: hidden;
    animation: abPop .28s var(--ab-ease);
}
@keyframes abPop { from { opacity: 0; transform: translateY(-12px) scale(.97); } }
.ab-cmdk-search { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--ab-border); }
.ab-cmdk-search > i { color: var(--ab-primary); font-size: 1.1rem; }
.ab-cmdk-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--ab-heading); font-size: 1.05rem; font-family: inherit; min-width: 0; }
.ab-cmdk-search input::placeholder { color: var(--ab-muted); }
.ab-cmdk-search kbd { cursor: pointer; }
.ab-cmdk-list { overflow-y: auto; padding: .5rem; overscroll-behavior: contain; }
.ab-cmdk-label { padding: .75rem .75rem .35rem; font-size: .72rem; font-weight: 800; color: var(--ab-muted); }
.ab-cmdk-item { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 12px; color: var(--ab-text) !important; font-weight: 600; font-size: .92rem; scroll-margin: .5rem; }
.ab-cmdk-item[hidden] { display: none; }
.ab-cmdk-item b { color: var(--ab-primary); direction: ltr; unicode-bidi: isolate; }
.ab-cmdk-item.is-active { background: var(--ab-primary-soft); color: var(--ab-primary) !important; }
.ab-cmdk-ico { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: .9rem; }
.ab-cmdk-enter { margin-inline-start: auto; opacity: 0; color: var(--ab-primary); transform: rotate(90deg); }
[dir="rtl"] .ab-cmdk-enter { transform: rotate(90deg) scaleY(-1); }
.ab-cmdk-item.is-active .ab-cmdk-enter { opacity: 1; }
.ab-cmdk-danger .ab-cmdk-ico { background: color-mix(in srgb, var(--ab-danger) 14%, transparent); color: var(--ab-danger); }
.ab-cmdk-empty { padding: 2rem; text-align: center; color: var(--ab-muted); }
.ab-cmdk-group[hidden] { display: none; }
.ab-cmdk-foot { display: flex; gap: 1.25rem; padding: .65rem 1.25rem; border-top: 1px solid var(--ab-border); font-size: .75rem; color: var(--ab-muted); background: var(--ab-surface-2); }
.ab-cmdk-foot kbd { margin: 0 2px; }
body.ab-cmdk-open { overflow: hidden; }

/* ---- Mobile bottom nav ---- */
.ab-bottom-nav { display: none; }
@media (max-width: 767.98px) {
    body.ab-has-bn { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .ab-bottom-nav {
        position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 1035;
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
        height: 62px; padding: 0 .25rem;
        background: var(--ab-glass); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
        border: 1px solid var(--ab-border); border-radius: 20px; box-shadow: var(--ab-shadow-lg);
    }
    .ab-bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; color: var(--ab-muted) !important; font-size: .66rem; font-weight: 700; }
    .ab-bottom-nav a i { font-size: 1.05rem; transition: transform .25s var(--ab-ease); }
    .ab-bottom-nav a.is-active { color: var(--ab-primary) !important; }
    .ab-bottom-nav a.is-active::after { content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--ab-primary); }
    .ab-bottom-nav a.is-active span { display: none; }
    .ab-bottom-nav a:active i { transform: scale(.85); }
    .ab-bottom-nav .ab-bn-main {
        width: 52px; height: 52px; margin: -26px auto 0; border-radius: 18px;
        background: var(--ab-gradient); color: #fff !important; box-shadow: 0 12px 24px -8px var(--ab-primary);
        border: 4px solid var(--ab-bg);
    }
    .ab-bn-main em { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 18px; height: 18px; border-radius: 999px; background: var(--ab-accent); font-style: normal; font-size: .65rem; line-height: 18px; text-align: center; padding: 0 4px; }
    .ab-has-bn .ab-to-top { bottom: calc(86px + env(safe-area-inset-bottom)); }
    .ab-has-bn .ab-fab { bottom: calc(86px + env(safe-area-inset-bottom)); }
    .ab-search-trigger { width: 40px; padding: 0; justify-content: center; }
}

/* ---- Floating contact ---- */
.ab-fab { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 1040; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.ab-fab-btn {
    position: relative; width: 54px; height: 54px; border-radius: 18px; border: 0; cursor: pointer;
    background: var(--ab-gradient); color: #fff; font-size: 1.25rem; box-shadow: 0 14px 28px -10px var(--ab-primary);
    transition: transform .3s var(--ab-ease), border-radius .3s;
}
.ab-fab-btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; z-index: -1; animation: abRing 2.4s infinite; }
@keyframes abRing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.ab-fab-btn:hover { transform: translateY(-3px); }
.ab-fab-close { display: none; }
.ab-fab.is-open .ab-fab-open { display: none; }
.ab-fab.is-open .ab-fab-close { display: inline-block; }
.ab-fab.is-open .ab-fab-btn { border-radius: 50%; }
.ab-fab.is-open .ab-fab-btn::before { animation: none; opacity: 0; }
.ab-fab-menu { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.ab-fab-item {
    display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem .45rem .45rem;
    background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: 999px;
    color: var(--ab-text) !important; font-weight: 700; font-size: .85rem; box-shadow: var(--ab-shadow);
    opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
    transition: opacity .25s, transform .3s var(--ab-ease);
}
[dir="rtl"] .ab-fab-item { padding: .45rem .45rem .45rem .9rem; }
.ab-fab-item i { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--c); color: #fff; }
.ab-fab-item:hover { transform: translateX(4px) !important; }
.ab-fab.is-open .ab-fab-item { opacity: 1; transform: none; pointer-events: auto; }
.ab-fab.is-open .ab-fab-item:nth-last-child(1) { transition-delay: .02s; }
.ab-fab.is-open .ab-fab-item:nth-last-child(2) { transition-delay: .06s; }
.ab-fab.is-open .ab-fab-item:nth-last-child(3) { transition-delay: .1s; }
.ab-fab.is-open .ab-fab-item:nth-last-child(4) { transition-delay: .14s; }
.ab-fab.is-open .ab-fab-item:nth-last-child(5) { transition-delay: .18s; }

/* ---- Ripple ---- */
.ab-ripple-host { position: relative; overflow: hidden; }
.ab-ripple { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .25; pointer-events: none; animation: abRipple .6s ease-out forwards; }
@keyframes abRipple { to { transform: scale(2.6); opacity: 0; } }

/* ---- Status pills (services / invoices / tickets / domains) ---- */
.ab-body .label.status, .ab-body span.status, .ab-body .badge.status {
    display: inline-flex !important; align-items: center; gap: .4rem; padding: .3rem .75rem !important;
    border-radius: 999px !important; font-size: .76rem !important; font-weight: 700 !important;
    border: 1px solid transparent; line-height: 1.4; white-space: nowrap;
    background: var(--ab-surface-2) !important; color: var(--ab-muted) !important;
}
.ab-body .label.status::before, .ab-body span.status::before, .ab-body .badge.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.ab-body .status-active, .ab-body .status-paid, .ab-body .status-open, .ab-body .status-answered, .ab-body .status-completed, .ab-body .status-accepted, .ab-body .status-delivered {
    background: color-mix(in srgb, var(--ab-success) 13%, transparent) !important; color: var(--ab-success) !important; border-color: color-mix(in srgb, var(--ab-success) 25%, transparent) !important;
}
.ab-body .status-active::before, .ab-body .status-open::before { animation: abBlink 1.8s infinite; }
@keyframes abBlink { 50% { opacity: .35; } }
.ab-body .status-pending, .ab-body .status-unpaid, .ab-body .status-customer-reply, .ab-body .status-in-progress, .ab-body .status-pending-transfer, .ab-body .status-draft, .ab-body .status-payment-pending {
    background: color-mix(in srgb, var(--ab-warning) 15%, transparent) !important; color: #c27c00 !important; border-color: color-mix(in srgb, var(--ab-warning) 30%, transparent) !important;
}
html[data-theme="dark"] .ab-body .status-pending, html[data-theme="dark"] .ab-body .status-unpaid, html[data-theme="dark"] .ab-body .status-customer-reply, html[data-theme="dark"] .ab-body .status-in-progress { color: #fbbf24 !important; }
.ab-body .status-suspended, .ab-body .status-overdue, .ab-body .status-fraud, .ab-body .status-expired, .ab-body .status-collections, .ab-body .status-dead {
    background: color-mix(in srgb, var(--ab-danger) 12%, transparent) !important; color: var(--ab-danger) !important; border-color: color-mix(in srgb, var(--ab-danger) 25%, transparent) !important;
}
.ab-body .status-terminated, .ab-body .status-cancelled, .ab-body .status-closed, .ab-body .status-refunded, .ab-body .status-transferred-away, .ab-body .status-grace, .ab-body .status-redemption {
    background: var(--ab-surface-2) !important; color: var(--ab-muted) !important; border-color: var(--ab-border) !important;
}

/* ---- Skeleton helper (برای استفاده در افزونه‌ها) ---- */
.ab-skeleton { position: relative; overflow: hidden; background: var(--ab-surface-2); border-radius: 8px; color: transparent !important; }
.ab-skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: abShine 1.4s infinite; background-size: 200% 100%; }


/* ==========================================================================
   19. v1.4 – Header fixes (nowrap / compact) + button text colors
   ========================================================================== */
.ab-navbar { flex-wrap: nowrap; }
.ab-navbar .navbar-nav .nav-link,
.ab-navbar .dropdown-toggle,
.ab-search-trigger, .ab-search-trigger kbd, .ab-cmdk kbd { white-space: nowrap; }
.ab-search-trigger kbd { flex-direction: row; line-height: 1.3; }
.ab-brand { flex: none; }
.ab-brand .logo-img { max-height: 40px; }
@media (min-width: 1200px) {
    .ab-navbar .navbar-collapse { min-width: 0; }
    .ab-navbar .navbar-nav .nav-link { padding: .5rem .6rem !important; font-size: .88rem; }
    .ab-nav-primary { margin-inline-start: .5rem; }
    .ab-toolbar { flex: none; gap: .35rem; }
}
/* جستجو: تا ۱۴۰۰px فقط آیکن، بالاتر متن + میانبر */
.ab-search-trigger span, .ab-search-trigger kbd { display: none !important; }
.ab-search-trigger { width: 40px; padding: 0; justify-content: center; }
@media (min-width: 1400px) {
    .ab-search-trigger { width: auto; padding: 0 .7rem; }
    .ab-search-trigger span { display: inline !important; }
    .ab-search-trigger kbd { display: inline-flex !important; }
}
@media (max-width: 1199.98px) { .ab-navbar { flex-wrap: wrap; } }

/* دکمه‌هایی که لینک هستند (a.btn) رنگ متن خودشان را بگیرند */
.ab-body a.btn-success, .ab-body a.btn-danger, .ab-body a.btn-info, .ab-body a.btn-warning,
.ab-body a.btn-dark, .ab-body a.btn-secondary:not(.btn-default) { color: #fff !important; }
.ab-body .btn-warning { background: var(--ab-warning); border-color: var(--ab-warning); color: #fff; }
.ab-body a.btn-default, .ab-body a.btn-light { color: var(--ab-text) !important; }
.ab-body a.btn-default:hover, .ab-body a.btn-light:hover { color: var(--ab-primary) !important; }
.ab-body .btn-success:hover, .ab-body .btn-danger:hover, .ab-body .btn-info:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* دکمه‌های هدر پنل‌های داشبورد (bg-color-*) */
.ab-body .card-header .btn, .ab-panel-btn .btn {
    background: var(--ab-primary-soft) !important; color: var(--ab-primary) !important;
    border: 1px solid transparent !important; border-radius: 10px !important;
    font-size: .75rem !important; font-weight: 700 !important; padding: .3rem .7rem !important;
    display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
}
.ab-body .card-header .btn:hover, .ab-panel-btn .btn:hover { background: var(--ab-primary) !important; color: #fff !important; }
.ab-body .card-header .btn i { color: inherit !important; }

/* ==========================================================================
   20. v1.4 – Stunning client dashboard
   ========================================================================== */
.ab-dash-hero {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: center;
    padding: 2rem; margin-bottom: 1.25rem; border-radius: 28px; color: #fff;
    background: linear-gradient(135deg, #1b1f5e 0%, color-mix(in srgb, var(--ab-primary) 85%, #1b1f5e) 45%, color-mix(in srgb, var(--ab-secondary) 80%, #0b1222) 100%);
    box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--ab-primary) 75%, transparent);
}
@media (max-width: 991.98px) { .ab-dash-hero { grid-template-columns: 1fr; padding: 1.5rem; } }
.ab-dash-mesh { position: absolute; inset: 0; z-index: -1; }
.ab-dash-mesh span { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: abFloat 14s var(--ab-ease) infinite alternate; }
.ab-dash-mesh span:nth-child(1) { width: 320px; height: 320px; background: var(--ab-secondary); top: -140px; inset-inline-end: 8%; }
.ab-dash-mesh span:nth-child(2) { width: 260px; height: 260px; background: #a855f7; bottom: -150px; inset-inline-start: 20%; animation-delay: -5s; opacity: .4; }
.ab-dash-mesh span:nth-child(3) { width: 200px; height: 200px; background: var(--ab-accent); top: 30%; inset-inline-start: -80px; animation-delay: -9s; opacity: .3; }
.ab-dash-grid {
    position: absolute; inset: 0; z-index: -1; opacity: .12;
    background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 0%, #000 10%, transparent 70%);
}
.ab-dash-id { display: flex; align-items: center; gap: 1rem; }
.ab-avatar {
    position: relative; flex: none; width: 68px; height: 68px; border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px);
    font-size: 1.8rem; font-weight: 900; box-shadow: 0 10px 25px -10px rgba(0,0,0,.4);
}
.ab-avatar-online { position: absolute; bottom: -3px; inset-inline-end: -3px; width: 16px; height: 16px; border-radius: 50%; background: #22c55e; border: 3px solid #2a3a9a; }
.ab-dash-date { display: inline-block; font-size: .78rem; font-weight: 700; opacity: .8; margin-bottom: .2rem; }
.ab-dash-hero h1 { color: #fff !important; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .2rem; line-height: 1.4; }
.ab-dash-hero p { margin: 0; opacity: .75; font-size: .9rem; }
.ab-wave { display: inline-block; margin-inline-start: .4rem; transform-origin: 70% 70%; animation: abWave 2.4s ease-in-out 1s 2; }
@keyframes abWave { 0%,60%,100% { transform: rotate(0); } 10%,30% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
.ab-dash-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; }
.ab-dash-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.ab-dash-chip.is-warn { background: rgba(251,191,36,.22); border-color: rgba(251,191,36,.45); }
.ab-dash-chip.is-warn i { color: #fde047; animation: abBlink 1.6s infinite; }
.ab-dash-chip.is-ok i { color: #4ade80; }
.ab-dash-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.ab-dash-actions .btn { padding: .65rem 1.2rem; }

/* wallet card */
.ab-wallet {
    position: relative; overflow: hidden; padding: 1.3rem; border-radius: 22px; aspect-ratio: 1.6 / 1;
    display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 25px 45px -20px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.4);
    transform: perspective(900px) rotateY(-10deg) rotateX(6deg); transition: transform .6s var(--ab-ease);
}
[dir="rtl"] .ab-wallet { transform: perspective(900px) rotateY(10deg) rotateX(6deg); }
.ab-wallet:hover { transform: none !important; }
.ab-wallet::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); background-size: 250% 100%; animation: abShine 5s linear infinite; pointer-events: none; }
.ab-wallet-top { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-weight: 700; }
.ab-wallet-top i { margin-inline-end: .35rem; }
.ab-wallet-chip { width: 38px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, #fde68a, #d4a017); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.ab-wallet-amount { font-size: 1.65rem; font-weight: 900; letter-spacing: .5px; text-shadow: 0 2px 10px rgba(0,0,0,.2); word-break: break-word; }
.ab-wallet-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; }
.ab-wallet-foot > span { opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-wallet-btn { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 10px; background: #fff; color: var(--ab-primary) !important; font-size: .75rem; font-weight: 800; transition: transform .2s; }
.ab-wallet-btn:hover { transform: translateY(-2px); }
@media (max-width: 991.98px) { .ab-wallet { transform: none !important; max-width: 380px; width: 100%; } }

/* unpaid strip */
.ab-due-strip {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; margin-bottom: 1.25rem;
    border-radius: 18px; background: var(--ab-surface);
    border: 1px solid color-mix(in srgb, var(--ab-accent) 35%, transparent);
    box-shadow: 0 12px 30px -18px var(--ab-accent); position: relative; overflow: hidden;
}
.ab-due-strip::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: linear-gradient(var(--ab-accent), #fbbf24); }
.ab-due-ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--ab-accent); background: color-mix(in srgb, var(--ab-accent) 14%, transparent); animation: abPulseBox 2s infinite; }
.ab-due-text { flex: 1; min-width: 200px; }
.ab-due-text b { display: block; color: var(--ab-heading); }
.ab-due-text small { color: var(--ab-muted); font-size: .8rem; }
.ab-due-text strong { color: var(--ab-accent); }
.ab-due-actions { display: flex; gap: .5rem; }

/* stat tiles */
.ab-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
@media (max-width: 1199.98px) { .ab-stat-grid { grid-template-columns: repeat(2, 1fr); } }
.ab-stat-tile {
    --t: var(--ab-primary);
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .2rem;
    padding: 1.2rem 1.25rem 1rem; border-radius: 20px; min-height: 150px;
    background: var(--ab-surface); border: 1px solid var(--ab-border); color: var(--ab-text) !important;
    box-shadow: var(--ab-shadow-sm); transition: transform .35s var(--ab-ease), box-shadow .35s, border-color .35s;
}
.ab-stat-tile.is-c2 { --t: var(--ab-secondary); }
.ab-stat-tile.is-c3 { --t: #f59e0b; }
.ab-stat-tile.is-c4 { --t: var(--ab-accent); }
.ab-stat-tile::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--t), transparent); opacity: .8; }
.ab-stat-tile::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--t); opacity: 0; filter: blur(50px); top: -60px; inset-inline-end: -40px; transition: opacity .4s; }
.ab-stat-tile:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px var(--t); border-color: color-mix(in srgb, var(--t) 40%, transparent); }
.ab-stat-tile:hover::after { opacity: .22; }
.ab-stat-ico { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem; margin-bottom: .55rem; background: linear-gradient(135deg, var(--t), color-mix(in srgb, var(--t) 55%, #fff)); box-shadow: 0 10px 20px -10px var(--t); position: relative; z-index: 1; }
.ab-stat-bg { position: absolute; bottom: -18px; inset-inline-end: -10px; font-size: 6.5rem; color: var(--t); opacity: .06; transform: rotate(-12deg); transition: transform .5s var(--ab-ease), opacity .4s; }
.ab-stat-tile:hover .ab-stat-bg { transform: rotate(0) scale(1.08); opacity: .1; }
.ab-stat-tile strong { font-size: 2rem; font-weight: 900; line-height: 1.1; color: var(--ab-heading); position: relative; z-index: 1; }
.ab-stat-tile small { color: var(--ab-muted); font-weight: 700; font-size: .85rem; position: relative; z-index: 1; }
.ab-stat-more { margin-top: auto; padding-top: .6rem; font-size: .75rem; font-weight: 800; color: var(--t); display: inline-flex; align-items: center; gap: .3rem; opacity: 0; transform: translateY(6px); transition: all .3s var(--ab-ease); position: relative; z-index: 1; }
.ab-stat-tile:hover .ab-stat-more, .ab-stat-tile.is-alert .ab-stat-more { opacity: 1; transform: none; }
.ab-stat-tile.is-alert { border-color: color-mix(in srgb, var(--ab-accent) 45%, transparent); }
.ab-stat-tile.is-alert .ab-stat-ico { animation: abPulseBox 2s infinite; }
@media (hover: none) { .ab-stat-more { opacity: 1; transform: none; } }

/* quick actions */
.ab-quick { padding: 1.25rem; margin-bottom: 1.5rem; border-radius: 22px; background: var(--ab-surface); border: 1px solid var(--ab-border); box-shadow: var(--ab-shadow-sm); }
.ab-quick-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.ab-quick-head h2 { font-size: 1.05rem; margin: 0; }
.ab-quick-search { display: inline-flex; align-items: center; gap: .5rem; border: 1px dashed var(--ab-border); background: var(--ab-surface-2); color: var(--ab-muted); border-radius: 12px; padding: .45rem .9rem; font: inherit; font-size: .8rem; cursor: pointer; transition: all .2s; }
.ab-quick-search:hover { border-color: var(--ab-primary); color: var(--ab-primary); }
.ab-quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
@media (max-width: 1199.98px) { .ab-quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .ab-quick-grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; } }
.ab-quick-item {
    display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1rem .5rem; text-align: center;
    border-radius: 16px; color: var(--ab-text) !important; font-weight: 700; font-size: .82rem;
    transition: background .25s, transform .3s var(--ab-ease);
}
.ab-quick-item span { width: 50px; height: 50px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem; background: linear-gradient(135deg, var(--q1), var(--q2)); box-shadow: 0 12px 22px -12px var(--q1); transition: transform .35s var(--ab-ease); }
.ab-quick-item:hover { background: var(--ab-surface-2); transform: translateY(-3px); }
.ab-quick-item:hover span { transform: rotate(-8deg) scale(1.08); }

/* panels polish */
.ab-panels .card { border-radius: 20px; border-top-width: 1px !important; transition: box-shadow .3s; }
.ab-panels .card[class*="card-accent-"] { border-top: 1px solid var(--ab-border) !important; position: relative; }
.ab-panels .card[class*="card-accent-"]::before { content: ""; position: absolute; top: 0; inset-inline: 1.25rem; height: 3px; border-radius: 0 0 4px 4px; background: var(--ab-gradient); }
.ab-panels .card-accent-gold::before, .ab-panels .card-accent-amber::before { background: linear-gradient(90deg, #f59e0b, #fbbf24) !important; }
.ab-panels .card-accent-red::before, .ab-panels .card-accent-pomegranate::before { background: linear-gradient(90deg, #ef4444, #fb7185) !important; }
.ab-panels .card-accent-green::before, .ab-panels .card-accent-emerald::before { background: linear-gradient(90deg, #16a34a, #4ade80) !important; }
.ab-panels .card:hover { box-shadow: var(--ab-shadow); }
.ab-panels .card-header { display: flex; align-items: center; }
.ab-panels .card-header .card-title { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; width: 100%; line-height: 1.6; }
.ab-panels .card-header .card-title .float-right, .ab-panels .ab-panel-btn { order: 2; margin-inline-start: auto; float: none !important; }
.ab-panels .card-body { line-height: 2; }
.ab-panels .list-group-item { padding: .8rem 1.25rem; }

/* mobile: dashboard content before sidebar, compact header toolbar */
@media (max-width: 991.98px) {
    .tpl-clientareahome #main-body .primary-content { order: -1; }
}
@media (max-width: 575.98px) {
    .ab-toolbar { gap: .25rem; }
    .ab-icon-btn, .ab-search-trigger { width: 36px; height: 36px; border-radius: 11px; }
    .ab-brand { font-size: 1.05rem; }
    .ab-brand-mark svg { width: 28px; height: 28px; }
    .ab-dash-actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   21. v1.5 – coowhm-cart order form (products page) + featured fix
   ========================================================================== */
.ab-body #order-standard_cart .coowhm-product .row-eq-height { display: flex; flex-wrap: wrap; row-gap: 1.75rem; margin-bottom: 1.75rem; }
.ab-body #order-standard_cart .coowhm-product .row-eq-height:empty { display: none; }
.ab-body #order-standard_cart .coowhm-product .product {
    background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
    padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; display: flex; float: none;
}
.ab-body #order-standard_cart .coowhm-product .product > .clearfix {
    position: relative; width: 100%; display: flex; flex-direction: column;
    background: var(--ab-surface) !important; color: var(--ab-text) !important;
    border: 1px solid var(--ab-border) !important; border-radius: 24px !important;
    box-shadow: var(--ab-shadow) !important; padding: 1.5rem !important; margin: 0 !important;
    text-align: center; transition: transform .4s var(--ab-ease), box-shadow .4s var(--ab-ease);
}
.ab-body #order-standard_cart .coowhm-product .product > .clearfix:hover { transform: translateY(-8px); box-shadow: var(--ab-shadow-lg) !important; }
.ab-body #order-standard_cart .coowhm-product .product > .clearfix * { text-shadow: none !important; }

/* header */
.ab-body #order-standard_cart .coowhm-product .product header {
    background: var(--ab-primary-soft) !important; border: 0 !important; border-radius: 14px !important;
    padding: .8rem 1rem !important; margin: 0 0 1.25rem !important; min-height: 0 !important; height: auto !important;
}
.ab-body #order-standard_cart .coowhm-product .product header,
.ab-body #order-standard_cart .coowhm-product .product .product-name {
    color: var(--ab-primary) !important; font-weight: 800 !important; font-size: 1rem !important; line-height: 1.7 !important;
    display: block; white-space: normal; background-clip: border-box;
}
.ab-body #order-standard_cart .coowhm-product .product .product-name { background: transparent !important; padding: 0 !important; }

/* price */
.ab-body #order-standard_cart .coowhm-product .product .product-pricing {
    background: transparent !important; border: 0 !important; border-bottom: 1px dashed var(--ab-border) !important;
    padding: 0 0 1rem !important; margin: 0 0 .5rem !important;
    color: var(--ab-muted) !important; font-size: .85rem !important; font-weight: 600; line-height: 1.6;
}
.ab-body #order-standard_cart .coowhm-product .product .product-pricing br { display: none; }
.ab-body #order-standard_cart .coowhm-product .product .product-pricing .price {
    display: block; color: var(--ab-heading) !important; background: none !important;
    font-size: 2rem !important; font-weight: 900 !important; line-height: 1.4; margin-bottom: .1rem;
}

/* features */
.ab-body #order-standard_cart .coowhm-product .product .product-desc { flex: 1; background: transparent !important; padding: 0 !important; margin: 0 0 1.25rem !important; color: var(--ab-text) !important; border: 0 !important; }
.ab-body #order-standard_cart .coowhm-product .product .prod-desc-div { color: var(--ab-text) !important; font-size: .9rem; line-height: 1.9; background: transparent !important; }
.ab-body #order-standard_cart .coowhm-product .prod-desc-ul:empty { display: none; }
.ab-feat-list { list-style: none; padding: 0; margin: 0; text-align: start; }
.ab-feat-list li { display: flex; align-items: center; gap: .55rem; padding: .62rem .15rem; border-bottom: 1px solid var(--ab-border); color: var(--ab-text) !important; font-size: .9rem; }
.ab-feat-list li:last-child { border-bottom: 0; }
.ab-feat-list li::before {
    content: "\f00c"; font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free"; font-weight: 900; flex: none;
    width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .58rem;
    background: color-mix(in srgb, var(--ab-success) 15%, transparent); color: var(--ab-success);
}
.ab-feat-list .ab-feat-k { color: var(--ab-muted) !important; }
.ab-feat-list .ab-feat-v { margin-inline-start: auto; font-weight: 800; color: var(--ab-heading) !important; text-align: end; }

/* footer / button */
.ab-body #order-standard_cart .coowhm-product .product footer { background: transparent !important; border: 0 !important; padding: 0 !important; margin-top: auto !important; text-align: center; }
.ab-body #order-standard_cart .coowhm-product .product .btn-order-coowhm {
    display: flex !important; align-items: center; justify-content: center; gap: .5rem; width: 100% !important;
    padding: .8rem 1rem !important; border-radius: 14px !important; border: 1px solid var(--ab-primary) !important;
    background: transparent !important; color: var(--ab-primary) !important; font-weight: 800 !important; font-size: .95rem !important;
    box-shadow: none !important; transition: all .3s var(--ab-ease);
}
.ab-body #order-standard_cart .coowhm-product .product .btn-order-coowhm::after { content: "\f07a"; font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free"; font-weight: 900; font-size: .85rem; }
.ab-body #order-standard_cart .coowhm-product .product .btn-order-coowhm:hover { background: var(--ab-gradient) !important; border-color: transparent !important; color: #fff !important; transform: translateY(-2px); }
.ab-body #order-standard_cart .coowhm-product .coowhm-setupFee {
    display: inline-flex !important; align-items: center; gap: .3rem; margin-top: .7rem; padding: .2rem .7rem; border-radius: 999px;
    background: color-mix(in srgb, var(--ab-success) 12%, transparent) !important; color: var(--ab-success) !important; font-size: .72rem !important; font-weight: 800;
}
.ab-body #order-standard_cart .coowhm-product .coowhm-setupFee::before { content: "\f00c"; font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free"; font-weight: 900; font-size: .6rem; }

/* ---- FEATURED (feature-plan) ---- */
.ab-body #order-standard_cart .coowhm-product .product.feature-plan { z-index: 2; }
.ab-body #order-standard_cart .coowhm-product .product.feature-plan > .clearfix {
    border: 2px solid transparent !important;
    background: linear-gradient(var(--ab-surface), var(--ab-surface)) padding-box, var(--ab-gradient) border-box !important;
    box-shadow: 0 30px 60px -22px color-mix(in srgb, var(--ab-primary) 55%, transparent) !important;
    padding-top: 2rem !important;
}
@media (min-width: 768px) {
    .ab-body #order-standard_cart .coowhm-product .product.feature-plan > .clearfix { transform: translateY(-12px); }
    .ab-body #order-standard_cart .coowhm-product .product.feature-plan > .clearfix:hover { transform: translateY(-18px); }
}
.ab-body #order-standard_cart .coowhm-product .product.feature-plan > .clearfix::before {
    content: "\f005  محبوب‌ترین"; font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "Vazirmatn", sans-serif; font-weight: 900;
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 3;
    padding: .3rem 1rem; border-radius: 999px; font-size: .75rem; color: #fff;
    background: linear-gradient(135deg, var(--ab-accent), #fbbf24); box-shadow: 0 8px 18px -8px var(--ab-accent);
}
.ab-body #order-standard_cart .coowhm-product .product.feature-plan header { background: var(--ab-gradient) !important; box-shadow: 0 10px 20px -12px var(--ab-primary); }
.ab-body #order-standard_cart .coowhm-product .product.feature-plan header,
.ab-body #order-standard_cart .coowhm-product .product.feature-plan .product-name { color: #fff !important; }
.ab-body #order-standard_cart .coowhm-product .product.feature-plan .product-pricing .price {
    background: var(--ab-gradient) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
}
.ab-body #order-standard_cart .coowhm-product .product.feature-plan .btn-order-coowhm {
    background: var(--ab-gradient) !important; border-color: transparent !important; color: #fff !important;
    box-shadow: 0 12px 24px -12px var(--ab-primary) !important;
}
.ab-body #order-standard_cart .coowhm-product .product.feature-plan .ab-feat-list li::before { background: var(--ab-primary-soft); color: var(--ab-primary); }

/* page header of coowhm */
.ab-body #order-standard_cart .header-lined h1 { color: var(--ab-heading) !important; font-weight: 900; }
.ab-body #order-standard_cart .header-lined h1 small { color: var(--ab-muted) !important; }
.ab-body #order-standard_cart .drop-down-btn { background: var(--ab-surface) !important; color: var(--ab-text) !important; border: 1px solid var(--ab-border) !important; border-radius: 12px !important; }

/* ---- Real WHMCS navbar markup (li > a.pr-4, no .nav-link) ---- */
.ab-navbar .navbar-nav > li > a {
    display: block; white-space: nowrap; color: var(--ab-text) !important; text-decoration: none !important;
    font-weight: 600; font-size: .9rem; line-height: 1.6;
    padding: .5rem .75rem !important; border-radius: var(--ab-radius-sm);
    transition: background-color .2s, color .2s;
}
.ab-navbar .navbar-nav > li > a:hover,
.ab-navbar .navbar-nav > li.show > a,
.ab-navbar .navbar-nav > li.active > a { background: var(--ab-primary-soft); color: var(--ab-primary) !important; }
.ab-navbar .navbar-nav > li > a.dropdown-toggle::after { vertical-align: middle; opacity: .6; }
@media (min-width: 1200px) {
    .ab-navbar .navbar-nav { align-items: center; flex-wrap: nowrap; }
    .ab-navbar .navbar-nav > li > a { padding: .5rem .55rem !important; font-size: .86rem; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .ab-navbar .navbar-nav > li > a { padding: .45rem .4rem !important; font-size: .82rem; }
}
/* dropdown items: WHMCS nests a.dropdown-item inside li.dropdown-item */
.ab-navbar .dropdown-menu li.dropdown-item { padding: 0 !important; background: transparent !important; }
.ab-navbar .dropdown-menu li.dropdown-item > a.dropdown-item { display: block; padding: .55rem .85rem !important; border-radius: var(--ab-radius-sm); color: var(--ab-text) !important; }
.ab-navbar .dropdown-menu li.dropdown-item > a.dropdown-item:hover { background: var(--ab-primary-soft); color: var(--ab-primary) !important; }
/* search label only on very wide screens */
@media (max-width: 1599.98px) {
    .ab-search-trigger { width: 40px !important; padding: 0 !important; justify-content: center; }
    .ab-search-trigger span, .ab-search-trigger kbd { display: none !important; }
}
/* mobile collapsed menu */
@media (max-width: 1199.98px) {
    .ab-navbar .navbar-nav > li > a { padding: .7rem .9rem !important; }
    .ab-navbar .navbar-nav .dropdown-menu { position: static; float: none; }
}
