/*
 * Public marketing site (homepage + pricing/knowledgebase/downloads/cart +
 * shared layout chrome: nav/footer). Scoped by .whmcs-public-body / the
 * .whmcs-home-*, .whmcs-page-*, .whmcs-cat-*, .whmcs-list-* prefixes so
 * none of it touches the admin or customer-portal themes, which keep
 * their own separate stylesheets (whmcs-admin.css / whmcs-auth.css).
 */

.whmcs-public-body .btn-primary {
    background: #4f5bd5;
    border-color: #4f5bd5;
}

.whmcs-public-body .btn-primary:hover,
.whmcs-public-body .btn-primary:focus {
    background: #4249b8;
    border-color: #4249b8;
}

.whmcs-public-body .btn-outline-primary {
    color: #4f5bd5;
    border-color: #4f5bd5;
}

.whmcs-public-body .btn-outline-primary:hover {
    background: #4f5bd5;
    border-color: #4f5bd5;
    color: #fff;
}

.whmcs-public-body a:not(.btn) {
    color: #4f5bd5;
}

.whmcs-public-body a:not(.btn):hover {
    color: #4249b8;
}

/* ---- Pricing page hero + group/plan chips + trust strip ---- */
.whmcs-page-hero {
    position: relative;
    padding-top: .5rem;
}

.whmcs-page-hero::before {
    content: "";
    position: absolute;
    top: -.5rem;
    left: -1rem;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(#d7dbe8 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: .6;
    z-index: 0;
}

.whmcs-page-hero-head {
    position: relative;
    z-index: 1;
    max-width: 38rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.whmcs-page-hero-head h1 {
    font-weight: 800;
    font-size: 2.1rem;
    color: #1a2233;
}

.whmcs-page-hero-head p {
    color: #6c7a89;
    font-size: 1.02rem;
    margin: 0;
}

.whmcs-page-hero-head .rule {
    width: 3rem;
    height: 4px;
    border-radius: 999px;
    background: #4f5bd5;
    margin: .85rem auto 0;
}

.whmcs-icon-chip {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.whmcs-group-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.whmcs-group-head h4 {
    font-weight: 700;
    color: #1a2233;
    margin: 0;
    white-space: nowrap;
}

.whmcs-group-rule {
    flex: 1;
    height: 1px;
}

.whmcs-trust-strip {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: .85rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 3rem 0 1rem;
}

@media (max-width: 767.98px) {
    .whmcs-trust-strip { grid-template-columns: repeat(2, 1fr); }
}

.whmcs-trust-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1.5rem;
}

.whmcs-trust-item .whmcs-icon-chip {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    font-size: 1.15rem;
}

.whmcs-trust-item h6 {
    font-weight: 700;
    color: #1a2233;
    margin-bottom: .2rem;
}

.whmcs-trust-item p {
    color: #6c7a89;
    font-size: .82rem;
    margin: 0;
}

/* ---- Shared page title block (Pricing/Knowledgebase/Downloads/Cart) ---- */
.whmcs-page-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #64748b;
    text-decoration: none;
    font-size: .85rem;
    margin-bottom: .85rem;
}

.whmcs-page-back:hover {
    color: #4f5bd5;
}

/* ---- Register/Transfer Domain search page ---- */
.whmcs-domain-search-hero {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #f4b731, #e69f0e);
    border-radius: .85rem;
    padding: 2rem;
    overflow: hidden;
}

.whmcs-domain-search-hero-icon {
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9rem;
    color: rgba(255, 255, 255, .25);
    z-index: 0;
}

.whmcs-domain-search-form {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 34rem;
    background: #fff;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.whmcs-domain-search-form input[type="text"] {
    flex: 1;
    border: 0;
    outline: none;
    padding: .8rem 1rem;
    font-size: 1rem;
    min-width: 0;
}

.whmcs-domain-search-form button {
    border: 0;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    padding: 0 1.5rem;
}

.whmcs-domain-search-form button:hover {
    background: #1d4ed8;
}

.whmcs-tld-card {
    border: 1px solid #eef0f3;
    border-radius: .7rem;
    padding: 1.1rem;
    text-align: center;
    height: 100%;
}

.whmcs-tld-card-exact {
    border-color: #4f5bd5;
    box-shadow: 0 0 0 1px #4f5bd5 inset;
}

.whmcs-tld-card-ext {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a2233;
}

.whmcs-tld-card-price {
    font-weight: 700;
    color: #16a34a;
    margin: .4rem 0 .75rem;
}

.whmcs-domain-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: .85rem;
    padding: 1.25rem;
    height: 100%;
}

.whmcs-domain-promo i {
    font-size: 2.25rem;
    color: #d8dce6;
}

.whmcs-page-title {
    margin-bottom: 2rem;
}

.whmcs-page-title h1 {
    font-weight: 800;
    font-size: 2rem;
    color: #1a2233;
    margin-bottom: 0;
}

.whmcs-page-title p {
    color: #64748b;
    margin: .35rem 0 0;
}

/* ---- Category/group tiles (Knowledgebase + Downloads index pages) ---- */
.whmcs-cat-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: .85rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}

.whmcs-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -14px rgba(15, 23, 42, .16);
}

.whmcs-cat-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .65rem;
    background: #eef0fd;
    color: #4f5bd5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.whmcs-cat-card h5 {
    font-weight: 700;
    margin-bottom: .35rem;
}

.whmcs-cat-card h5 a {
    color: #1a2233;
    text-decoration: none;
}

.whmcs-cat-card h5 a:hover {
    color: #4f5bd5;
}

.whmcs-cat-card .desc {
    color: #6c7a89;
    font-size: .88rem;
    margin-bottom: .6rem;
}

.whmcs-cat-count {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 600;
    color: #4f5bd5;
    background: #eef0fd;
    border-radius: 999px;
    padding: .2rem .65rem;
}

.whmcs-cat-children {
    list-style: none;
    padding: 0;
    margin: .85rem 0 0;
    border-top: 1px solid #f1f2f5;
    padding-top: .75rem;
}

.whmcs-cat-children li {
    margin-bottom: .35rem;
    font-size: .85rem;
}

.whmcs-cat-children a {
    color: #4a5568;
    text-decoration: none;
}

.whmcs-cat-children a:hover {
    color: #4f5bd5;
}

/* ---- Generic row list (article/download/cart-line rows) ---- */
.whmcs-list-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: .85rem;
    overflow: hidden;
}

.whmcs-list-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f2f5;
    text-decoration: none;
    color: inherit;
}

.whmcs-list-row:last-child {
    border-bottom: 0;
}

.whmcs-list-row:hover {
    background: #fafbff;
}

.whmcs-list-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .6rem;
    background: #eef0fd;
    color: #4f5bd5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.whmcs-list-icon.orange { background: #fdf1e7; color: #ff9f43; }

.whmcs-list-body {
    flex: 1;
    min-width: 0;
}

.whmcs-list-body .title {
    font-weight: 600;
    color: #1a2233;
}

.whmcs-list-row:hover .whmcs-list-body .title {
    color: #4f5bd5;
}

.whmcs-list-body .meta {
    font-size: .8rem;
    color: #8592a3;
    margin-top: .1rem;
}

.whmcs-list-trailing {
    flex-shrink: 0;
    text-align: right;
    font-size: .82rem;
    color: #8592a3;
}

.whmcs-public-nav {
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
    padding: .85rem 0;
}

.whmcs-public-navlink {
    color: #4a5568;
    font-weight: 500;
    font-size: .92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.whmcs-public-navlink:hover {
    color: #1a6d9e;
}

.whmcs-public-footer {
    background: #fff;
    border-top: 1px solid #e6e9ee;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.whmcs-public-social {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: #f0f2f5;
    color: #6c7a89;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}

/* ---- Hero ---- */
.whmcs-home-hero {
    position: relative;
    background: linear-gradient(180deg, #f3f0fd 0%, #f7f9fd 60%, #fff 100%);
    padding: 4.5rem 0 4rem;
    overflow: hidden;
}

.whmcs-home-hero::before,
.whmcs-home-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.whmcs-home-hero::before {
    width: 420px;
    height: 420px;
    top: -140px;
    right: 6%;
    background: rgba(124, 58, 237, .16);
}

.whmcs-home-hero::after {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -60px;
    background: rgba(59, 130, 246, .14);
}

.whmcs-home-hero .container {
    position: relative;
    z-index: 1;
}

.whmcs-home-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 991.98px) {
    .whmcs-home-hero-grid { grid-template-columns: 1fr; }
}

.whmcs-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #ece7fd;
    color: #7c3aed;
    border-radius: 999px;
    padding: .35rem .9rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.whmcs-home-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a2233;
}

.whmcs-home-hero .lead {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 32rem;
    margin: 1.1rem 0 1.75rem;
}

.whmcs-home-hero .btn-primary,
.whmcs-home-hero .btn-outline-primary {
    font-weight: 600;
}

/* ---- Decorative dashboard preview (hero, right column) ---- */
.whmcs-home-preview {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 30px 60px -20px rgba(30, 41, 59, .25);
    overflow: hidden;
    display: flex;
    font-size: .72rem;
}

.whmcs-home-preview-side {
    width: 34%;
    background: #1b2430;
    padding: .9rem .6rem;
}

.whmcs-home-preview-brand {
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: 1rem;
    padding: 0 .3rem;
}

.whmcs-home-preview-nav span {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .14);
    margin-bottom: .5rem;
}

.whmcs-home-preview-nav span:first-child {
    background: #4f5bd5;
    width: 100%;
}

.whmcs-home-preview-nav span:nth-child(2) { width: 80%; }
.whmcs-home-preview-nav span:nth-child(3) { width: 65%; }
.whmcs-home-preview-nav span:nth-child(4) { width: 85%; }
.whmcs-home-preview-nav span:nth-child(5) { width: 55%; }
.whmcs-home-preview-nav span:nth-child(6) { width: 70%; }

.whmcs-home-preview-main {
    flex: 1;
    padding: .9rem 1rem;
}

.whmcs-home-preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: #1a2233;
    margin-bottom: .85rem;
}

.whmcs-home-preview-topbar i {
    color: #94a3b8;
    margin-left: .5rem;
}

.whmcs-home-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-bottom: .75rem;
}

.whmcs-home-preview-stat {
    border: 1px solid #eef0f3;
    border-radius: .5rem;
    padding: .5rem .55rem;
}

.whmcs-home-preview-stat i {
    color: #4f5bd5;
    margin-bottom: .3rem;
    display: block;
}

.whmcs-home-preview-stat b {
    display: block;
    font-size: .92rem;
    color: #1a2233;
}

.whmcs-home-preview-stat span {
    color: #94a3b8;
    font-size: .66rem;
}

.whmcs-home-preview-charts {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: .5rem;
}

.whmcs-home-preview-chart-card {
    border: 1px solid #eef0f3;
    border-radius: .5rem;
    padding: .5rem .55rem;
}

.whmcs-home-preview-chart-card .hd {
    color: #64748b;
    font-weight: 600;
    margin-bottom: .35rem;
}

.whmcs-home-preview-donut {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(#4f5bd5 0% 45%, #7367f0 45% 70%, #a78bfa 70% 100%);
}

.whmcs-home-preview-donut span {
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1a2233;
    font-size: .62rem;
}

.whmcs-home-blob-a,
.whmcs-home-blob-b {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    filter: blur(2px);
    opacity: .5;
}

.whmcs-home-blob-a {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(124, 58, 237, .25), transparent 70%);
    top: -30px;
    right: -20px;
}

.whmcs-home-blob-b {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(59, 130, 246, .25), transparent 70%);
    bottom: -20px;
    left: -20px;
}

/* ---- Stats strip (overlaps the hero bottom edge) ---- */
.whmcs-home-stats {
    position: relative;
    z-index: 2;
    margin-top: -2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.whmcs-home-stat {
    background: #fff;
    border-radius: .75rem;
    box-shadow: 0 12px 30px -14px rgba(15, 23, 42, .16);
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .9rem;
}

.whmcs-home-stat-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .65rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.whmcs-home-stat .num {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a2233;
    line-height: 1.1;
}

.whmcs-home-stat .label {
    font-size: .78rem;
    color: #6c7a89;
    margin-top: .1rem;
}

/* ---- Section headings ---- */
.whmcs-home-section {
    padding: 5rem 0;
    position: relative;
}

.whmcs-home-section-head {
    max-width: 38rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.whmcs-home-section-head h2 {
    font-weight: 800;
    font-size: 2rem;
    color: #1a2233;
}

.whmcs-home-section-head p {
    color: #6c7a89;
    font-size: 1.02rem;
}

.whmcs-home-section-head .rule {
    width: 3rem;
    height: 4px;
    border-radius: 999px;
    background: #4f5bd5;
    margin: .85rem auto 0;
}

/* Subtle dot-grid corner decoration behind the features section */
.whmcs-home-section-features::before,
.whmcs-home-section-features::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(#d7dbe8 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: .6;
    z-index: 0;
}

.whmcs-home-section-features::before {
    top: 1.5rem;
    left: 1rem;
}

.whmcs-home-section-features::after {
    bottom: 1.5rem;
    right: 1rem;
}

/* ---- Feature grid ---- */
.whmcs-home-features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991.98px) {
    .whmcs-home-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .whmcs-home-features { grid-template-columns: 1fr; }
}

.whmcs-home-feature {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: .85rem;
    padding: 1.75rem 1.5rem;
    transition: transform .15s ease, box-shadow .15s ease;
}

.whmcs-home-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -14px rgba(15, 23, 42, .16);
}

.whmcs-home-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #fff;
}

.whmcs-home-feature h5 {
    font-weight: 700;
    margin-bottom: .5rem;
}

.whmcs-home-feature p {
    color: #6c7a89;
    font-size: .92rem;
    margin: 0;
}

/* ---- Plans ---- */
.whmcs-home-plans-bg {
    background: #f7f9fb;
}

.whmcs-home-plan {
    --accent: #4f5bd5;
    background: #fff;
    border: 1px solid #eef0f3;
    border-top: 4px solid var(--accent);
    border-radius: .9rem;
    padding: 2.75rem 1.75rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform .15s ease, box-shadow .15s ease;
}

.whmcs-home-plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px -16px rgba(15, 23, 42, .18);
}

.whmcs-home-plan-icon {
    position: absolute;
    top: -1.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 18px -6px var(--accent);
}

.whmcs-home-plan .badge-featured {
    position: absolute;
    top: .85rem;
    right: 1.1rem;
    background: #ff9f43;
    color: #fff;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .03em;
    padding: .25rem .6rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.whmcs-home-plan h4 {
    font-weight: 700;
}

.whmcs-home-plan .price {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--accent);
    margin: .5rem 0 1.25rem;
}

.whmcs-home-plan .price span {
    font-size: .85rem;
    font-weight: 500;
    color: #6c7a89;
}

.whmcs-home-plan form,
.whmcs-home-plan .btn,
.whmcs-home-plan a.btn {
    width: 100%;
}

.whmcs-home-plan form {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: auto;
}

.whmcs-home-plan .btn-plan {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

.whmcs-home-plan .btn-plan:hover {
    filter: brightness(.92);
    color: #fff;
}

/* ---- Popular articles ---- */
.whmcs-home-article {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eef0f3;
    text-decoration: none;
    color: inherit;
}

.whmcs-home-article:last-child {
    border-bottom: 0;
}

.whmcs-home-article:hover .title {
    color: #1a6d9e;
}

.whmcs-home-article-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .5rem;
    background: #eef4f8;
    color: #1a6d9e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whmcs-home-article .title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: .15rem;
}

.whmcs-home-article .meta {
    font-size: .78rem;
    color: #8592a3;
}

/* ---- CTA banner ---- */
.whmcs-home-cta {
    background: linear-gradient(135deg, #145a83, #1a6d9e);
    color: #fff;
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.whmcs-home-cta h3 {
    font-weight: 800;
    margin-bottom: .35rem;
}

.whmcs-home-cta p {
    color: rgba(255, 255, 255, .85);
    margin: 0;
}

/* ---- Knowledgebase article body (rendered from the admin's rich-text
   editor — real markup now, not the old plain-text/pre-wrap dump) ---- */
.kb-article-content {
    line-height: 1.7;
    color: #33383f;
    word-wrap: break-word;
}

.kb-article-content > *:first-child {
    margin-top: 0;
}

.kb-article-content > *:last-child {
    margin-bottom: 0;
}

.kb-article-content h1,
.kb-article-content h2,
.kb-article-content h3,
.kb-article-content h4 {
    font-weight: 700;
    margin: 1.5em 0 .6em;
}

.kb-article-content p {
    margin: 0 0 1em;
}

.kb-article-content a {
    color: #4f5bd5;
}

.kb-article-content ul,
.kb-article-content ol {
    margin: 0 0 1em;
    padding-left: 1.5rem;
}

.kb-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: .5rem;
}

.kb-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1em;
}

.kb-article-content table td,
.kb-article-content table th {
    border: 1px solid #eef0f3;
    padding: .5rem .75rem;
}

.kb-article-content blockquote {
    margin: 0 0 1em;
    padding: .5rem 1rem;
    border-left: 3px solid #4f5bd5;
    background: #f7f8fb;
    color: #5a5f6a;
}

.kb-article-content pre {
    background: #2b2f38;
    color: #f1f2f5;
    padding: 1rem;
    border-radius: .5rem;
    overflow-x: auto;
}

.kb-article-content code {
    background: #f1f2f5;
    padding: .1rem .35rem;
    border-radius: .3rem;
    font-size: .9em;
}

.kb-article-content pre code {
    background: none;
    padding: 0;
}

/* ==========================================================================
 * Order New Services (pricing.index) — classic WHMCS storefront layout:
 * a left "Categories" nav (every visible product group, active one
 * highlighted) and a feature-list product card per item in that group.
 * ========================================================================== */
.whmcs-order-cat-nav {
    display: flex;
    flex-direction: column;
}

.whmcs-order-cat-nav a {
    padding: .6rem 1.1rem;
    color: #4a5568;
    text-decoration: none;
    font-size: .88rem;
    border-bottom: 1px solid #f1f2f5;
}

.whmcs-order-cat-nav a:last-child {
    border-bottom: 0;
}

.whmcs-order-cat-nav a:hover {
    background: #fafbff;
    color: #4f5bd5;
}

.whmcs-order-cat-nav a.active {
    background: #343a46;
    color: #fff;
    font-weight: 600;
}

.whmcs-order-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: .85rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.whmcs-order-card-header {
    background: #f6f7fa;
    border-bottom: 1px solid #eef0f3;
    padding: .85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.whmcs-order-card-header h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d3748;
}

.whmcs-order-card-stock {
    font-size: .78rem;
    color: #94a3b8;
    font-style: italic;
    white-space: nowrap;
}

.whmcs-order-card-body {
    padding: 1.1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    flex: 1;
}

.whmcs-order-card-features {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .85rem;
    color: #475569;
}

.whmcs-order-card-features li {
    padding: .15rem 0;
}

.whmcs-order-card-price-col {
    text-align: right;
    flex-shrink: 0;
}

.whmcs-order-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    white-space: nowrap;
}

.whmcs-order-card-cycle {
    font-size: .78rem;
    color: #94a3b8;
    margin-bottom: .6rem;
}

.whmcs-order-card-cycle-select {
    font-size: .78rem;
    padding: .15rem .4rem;
    margin-bottom: .5rem;
}

/* ==========================================================================
 * Choose a Domain (cart/choose-domain) — the classic WHMCS "domain
 * options" checkout step shown in front of any product with Require
 * Domain enabled (tblproducts.showdomainoptions).
 * ========================================================================== */
.whmcs-domain-choice-option {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: .85rem;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1rem;
    transition: border-color .12s ease;
}

.whmcs-domain-choice-option.active {
    border-color: #4f5bd5;
    box-shadow: 0 0 0 3px rgba(79, 91, 213, .08);
}

.whmcs-domain-choice-option label {
    cursor: pointer;
    color: #2d3748;
}

.whmcs-domain-choice-fields {
    padding-left: 1.6rem;
}
