/* plan */
.hostx-plan-a {
    position: relative;
    padding: 28px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 100% 0, rgba(251, 90, 7, .11), transparent 34%),
        linear-gradient(145deg, var(--card-bg, var(--card, #ffffff)) 0%, rgba(255, 250, 247, .96) 100%);
    border: 1px solid rgba(251, 90, 7, .16);
    border-radius: 18px;
    height: 100%;
    z-index: 2;
    box-shadow: 0 14px 30px rgba(17, 42, 48, .08), inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.hostx-plan-a::before {
    position: absolute;
    top: 0;
    right: 26px;
    left: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
    content: "";
    pointer-events: none;
}
.hostx-plan-a:hover {
    border-color: rgba(251, 90, 7, .38);
    box-shadow: 0 20px 42px rgba(17, 42, 48, .13), 0 8px 20px rgba(251, 90, 7, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
    transform: translateY(-5px);
}

/* popular-box */
.hostx-plan-a .popular-box {
    position: absolute;
    z-index: 1;
    top: 16px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: var(--primary, #336699);
    box-shadow: 0 7px 15px rgba(251, 90, 7, .25), inset 0 1px 0 rgba(255, 255, 255, .32);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #ffffff;
}
.hostx-plan-a.is-featured {
    border-color: rgba(251, 90, 7, .34);
    box-shadow: 0 18px 38px rgba(17, 42, 48, .11), 0 8px 20px rgba(251, 90, 7, .10), inset 0 1px 0 rgba(255, 255, 255, .88);
}
.hostx-plan-a .popular-box::before {
    display: none;
}
.hostx-plan-a .popular-box i {
    font-size: 10px;
    color: #ffe08a;
}

/* plan-icon */
.hostx-plan-a .plan-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin-bottom: 20px;
    margin-left: -4px
}

/* plan-head */
.hostx-plan-a .plan-head {
    margin-bottom: 20px;
    padding: 3px 0 17px;
    border-bottom: 1px solid rgba(21, 56, 65, .10);
}
.hostx-plan-a .plan-name {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--secondary-font);
    color: var(--text-heading, var(--heading, #111827));
}
.hostx-plan-a .plan-para {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary, var(--muted, #4b5563));
    min-height: 44px
}
.hostx-plan-a .product-description {
    margin: 0 0 20px;
    padding: 10px 12px;
    border: 1px solid rgba(43, 138, 158, .14);
    border-radius: 10px;
    background: rgba(43, 138, 158, .06);
    color: var(--text-secondary, var(--muted, #4b5563));
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.hostx-plan-a .product-description p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* plan-price */
.hostx-plan-a .plan-price {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(251, 90, 7, .09), rgba(251, 90, 7, .025));
    border: 1px solid rgba(251, 90, 7, .12);
    border-radius: 13px;
}
.hostx-plan-a .plan-price .price span {
    font-size: 24px;
    font-family: var(--third-font);
    font-weight: 700;
    color: var(--text-heading, var(--heading, #111827));
}
.plan-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 28px;
    padding: 6px;
    max-width: 640px;
    border: 1px solid var(--border-color, var(--border, #e5e7eb));
    border-radius: 12px;
    background: var(--card-bg, var(--card, #ffffff));
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(17, 42, 48, .08));
}
.plan-billing-toggle-label {
    padding-left: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-heading, var(--heading, #111827));
    white-space: nowrap;
}
.plan-billing-toggle-options {
    display: flex;
    flex: 1;
    gap: 4px;
}
.plan-billing-toggle .billing-cycle-option {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 36px;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary, var(--muted, #4b5563));
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.plan-billing-toggle .billing-cycle-option:hover,
.plan-billing-toggle .billing-cycle-option:focus-visible,
.plan-billing-toggle .billing-cycle-option.is-active {
    background: var(--primary, #336699);
    color: #ffffff;
    outline: none;
}
.billing-cycle-prices {
    display: none;
}
.hostx-plan-a .plan-price .price-comment {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary, var(--muted, #4b5563));
}
/* actions */
.hostx-plan-a .actions {
    padding-bottom: 10px;
}
.hostx-plan-a .plan-order-button {
    position: relative;
    overflow: hidden;
    border-radius: 11px;
    box-shadow: 0 9px 18px rgba(251, 90, 7, .24);
}
.hostx-plan-a .plan-order-button::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -42%;
    width: 34%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .36), transparent);
    content: "";
    transform: skewX(-20deg);
    transition: left .28s ease;
}
.hostx-plan-a:hover .plan-order-button::after {
    left: 115%;
}

/* group */
.hostx-plan-a .group {
    margin-top: 28px;
}
.hostx-plan-a .group .title-4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading, var(--heading, #111827));
    margin-bottom: 16px
}
.hostx-plan-a .group .list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary, var(--muted, #4b5563));
    padding-right: 26px;
}
.hostx-plan-a .group .list li:not(last-of-type) {
    margin-bottom: 10px
}
.hostx-plan-a .feature-check,
.se-footer .feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-right: 9px;
    color: var(--primary, #fb5a07);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    line-height: 1;
}
.hostx-plan-a .group .list .feature-check {
    margin-top: 1px;
}
.hostx-plan-a .feature-check::before,
.se-footer .feature-check::before {
    display: none;
}
.hostx-plan-a .feature-check::after,
.se-footer .feature-check::after {
    color: var(--primary, #fb5a07);
    content: "✓";
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
.hostx-plan-a .feature-check i,
.se-footer .feature-check i {
    display: none;
}
.hostx-plan-a:hover .feature-check {
    box-shadow: none;
    transform: none;
}

/* Show more / show less features */
.hostx-plan-a .group .list.has-more-features li.feature-extra {
    display: none;
}
.hostx-plan-a .group .list.has-more-features.expanded li.feature-extra {
    display: flex;
}
.hostx-plan-a .group .btn-toggle-features {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 0;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary, #336699);
    cursor: pointer;
}
.hostx-plan-a .group .btn-toggle-features:hover {
    text-decoration: underline;
}
.hostx-plan-a .group .btn-toggle-features .toggle-text-less {
    display: none;
}
.hostx-plan-a .group .btn-toggle-features.is-expanded .toggle-text-more {
    display: none;
}
.hostx-plan-a .group .btn-toggle-features.is-expanded .toggle-text-less {
    display: inline;
}
.hostx-plan-a .group .btn-toggle-features .toggle-icon {
    font-size: 10px;
    transition: transform .2s ease;
}
.hostx-plan-a .group .btn-toggle-features.is-expanded .toggle-icon {
    transform: rotate(180deg);
}

/* se-footer */
.se-footer {
    padding-bottom: 60px;
}
.se-footer .se-footer-title {
    font-size: 18px;
    color: var(--text-heading, var(--heading, #111827));
    font-weight: 600;
    margin-bottom: 22px;
}
.se-footer .line {
    margin: 6px 12px;
}
.se-footer .line .text {
    font-size: 14px;
    font-family: var(--secondary-font);
    font-weight: 400;
    color: var(--text-secondary, var(--muted, #4b5563));
    line-height: 1;
}
/* ----------------------------------- */

/* Sidebar */
html,
body {
    overflow-x: hidden;
}

.row-product-selection {
    position: relative;
    left: 0;
    -webkit-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
}
.product-selection-sidebar {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    display: block;
}
/* ----------------------------------- */

body.dark-theme .hostx-plan-a,
html.dark-theme body .hostx-plan-a {
    background:
        radial-gradient(circle at 100% 0, rgba(251, 90, 7, .16), transparent 36%),
        linear-gradient(145deg, var(--card, #16333a) 0%, #10282e 100%);
    border-color: rgba(112, 164, 174, .24);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .19), inset 0 1px 0 rgba(255, 255, 255, .06);
}

body.dark-theme .hostx-plan-a .plan-head,
html.dark-theme body .hostx-plan-a .plan-head {
    border-bottom-color: rgba(151, 195, 202, .16);
}

body.dark-theme .hostx-plan-a .plan-price,
html.dark-theme body .hostx-plan-a .plan-price {
    background: linear-gradient(135deg, rgba(251, 90, 7, .16), rgba(251, 90, 7, .045));
    border-color: rgba(251, 136, 78, .2);
}

body.dark-theme .hostx-plan-a .plan-name,
body.dark-theme .hostx-plan-a .plan-price .price span,
body.dark-theme .hostx-plan-a .group .title-4,
body.dark-theme .se-footer .se-footer-title,
html.dark-theme body .hostx-plan-a .plan-name,
html.dark-theme body .hostx-plan-a .plan-price .price span,
html.dark-theme body .hostx-plan-a .group .title-4,
html.dark-theme body .se-footer .se-footer-title {
    color: var(--heading, #ffffff);
}

body.dark-theme .hostx-plan-a .plan-para,
body.dark-theme .hostx-plan-a .plan-price .price-comment,
body.dark-theme .hostx-plan-a .group .list li,
body.dark-theme .se-footer .line .text,
html.dark-theme body .hostx-plan-a .plan-para,
html.dark-theme body .hostx-plan-a .plan-price .price-comment,
html.dark-theme body .hostx-plan-a .group .list li,
html.dark-theme body .se-footer .line .text {
    color: var(--muted, #9fb2b5);
}

.row-product-selection {
    row-gap: 24px;
}

#products .row.justify-content-center {
    row-gap: 24px;
}

#btnShowSidebar {
    margin-bottom: 18px;
}

@media (max-width: 767.98px) {
    .hostx-plan-a {
        padding: 22px;
    }

    .plan-billing-toggle {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 22px;
    }

    .plan-billing-toggle-label {
        padding: 4px 8px 0;
        text-align: center;
    }

    .plan-billing-toggle-options {
        flex-wrap: wrap;
    }

    .plan-billing-toggle .billing-cycle-option {
        flex: 1 0 calc(50% - 4px);
    }

    .product-selection-sidebar {
        margin-bottom: 18px;
    }

    .se-footer .d-flex.flex-wrap {
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding-left: 10%;
    }

    .se-footer .line {
        width: 100%;
        margin: 6px 0;
    }
}

/* plan tagline + about */
.hostx-plan-a .plan-tagline {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary, #fb5a07);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.hostx-plan-a .plan-about {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(21, 56, 65, .10);
}
.hostx-plan-a .plan-about summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading, var(--heading, #111827));
    list-style: none;
}
.hostx-plan-a .plan-about summary::-webkit-details-marker { display: none; }
.hostx-plan-a .plan-about summary::after {
    content: "+";
    float: right;
    font-weight: 700;
    color: var(--primary, #fb5a07);
}
.hostx-plan-a .plan-about[open] summary::after { content: "\2212"; }
.hostx-plan-a .plan-about p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary, var(--muted, #4b5563));
}

/* About this plan — sits under the plan head, styled as a visible info pill */
.hostx-plan-a .plan-head { margin-bottom: 14px; }
.hostx-plan-a .plan-about {
    margin: 0 0 16px;
    padding: 0;
    border: 1px solid rgba(251, 90, 7, .22);
    border-radius: 10px;
    background: rgba(251, 90, 7, .06);
    overflow: hidden;
}
.hostx-plan-a .plan-about summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: var(--primary, #fb5a07);
    font-size: 13px;
    font-weight: 700;
}
.hostx-plan-a .plan-about summary i { font-size: 14px; }
.hostx-plan-a .plan-about summary::after { margin-left: auto; float: none; }
.hostx-plan-a .plan-about p { margin: 0; padding: 0 12px 12px; }
.hostx-plan-a .plan-about[open] summary { padding-bottom: 6px; }

/* Layout: plan name (prominent) → price → Order Now → tagline + about → features */
.hostx-plan-a .plan-head { margin-bottom: 16px; padding: 3px 0 14px; }
.hostx-plan-a .plan-name {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
}
.hostx-plan-a .plan-name::before {
    display: block;
    margin-bottom: 4px;
    color: var(--primary, #fb5a07);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    content: "Plan";
}
.hostx-plan-a .plan-info { margin: 16px 0 4px; }
.hostx-plan-a .plan-info .plan-tagline { min-height: 0; margin: 0 0 12px; text-align: center; }
.hostx-plan-a .plan-info .plan-about { margin: 0 0 12px; }

/* beat `#main-body h3 { font-size: .9rem !important }` from the portal theme */
#main-body .hostx-plan-a h3.plan-name {
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25;
}
