/* ==========================================================
   MHDS CART — CONFIGURE PRODUCT
   ========================================================== */

.mhds-configure-hero {
    box-sizing: border-box;

    margin: 0 0 30px;
    padding: 34px 36px;

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 92% 10%,
            rgba(255, 196, 0, .14),
            transparent 30%
        ),
        linear-gradient(
            140deg,
            #06192c,
            #0b4d7e
        );

    color: #ffffff;
}

.mhds-configure-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;

    color: #ffd74a;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: .10em;
    text-transform: uppercase;
}

.mhds-configure-hero__eyebrow::before {
    content: "";

    width: 26px;
    height: 2px;

    background: #ffc400;
}

.mhds-configure-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 52px);
    font-weight: 850;

    line-height: 1.05;
    letter-spacing: -.04em;
}

.mhds-configure-hero h1 span {
    display: block;

    margin-top: 5px;

    color: #69c7f2;
}

.mhds-configure-hero p {
    max-width: 720px;

    margin: 16px 0 0;

    color: rgba(255,255,255,.70);

    font-size: 12px;
    line-height: 1.7;
}
.mhds-configure-product {
    position: relative;

    margin-bottom: 28px;
    padding: 28px;

    border: 1px solid #dce5ed;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 14px 38px
        rgba(16, 47, 77, 0.06);
}

.mhds-configure-product__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 18px;
    padding: 7px 10px;

    border-radius: 999px;

    background: rgba(13, 118, 82, 0.10);
    color: #0d7652;

    font-size: 8px;
    font-weight: 850;

    text-transform: uppercase;
}

.mhds-configure-product__content {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(220px, 300px);

    align-items: start;
    gap: 28px;
}

.mhds-configure-product__eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #0e497e;

    font-size: 8px;
    font-weight: 850;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.mhds-configure-product h2 {
    margin: 0 0 12px;

    color: #173a59;

    font-size: 28px;
    font-weight: 850;
}

.mhds-configure-product__description {
    color: #68798a;

    font-size: 10px;
    line-height: 1.7;
}

.mhds-configure-product__billing {
    padding: 18px;

    border-radius: 14px;

    background: #f5f8fb;
}

.mhds-configure-product__billing label {
    display: block;

    margin-bottom: 8px;

    color: #173a59;

    font-size: 9px;
    font-weight: 850;
}

@media (max-width: 760px) {

    .mhds-configure-product__content {
        grid-template-columns: 1fr;
    }

}
/* ==========================================================
   MHDS CART — RESUMO DA CONFIGURAÇÃO
   ========================================================== */

.mhds-configure-summary {
    width: 100%;
    min-width: 0;
}

.mhds-configure-summary__card {
    position: sticky;
    top: 105px;

    overflow: hidden;

    border: 1px solid #dce5ed;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 18px 48px
        rgba(16, 47, 77, 0.09);
}


/* ==========================================================
   CABEÇALHO
   ========================================================== */

.mhds-configure-summary__header {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 12px;

    padding: 20px;

    border-bottom: 1px solid #e8eef3;

    background:
        linear-gradient(
            145deg,
            rgba(14, 73, 126, 0.08),
            #ffffff
        );
}

.mhds-configure-summary__icon {
    display: inline-flex;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #0e497e;

    color: #ffffff;

    font-size: 16px;
}

.mhds-configure-summary__eyebrow {
    display: block;

    margin-bottom: 3px;

    color: #82909d;

    font-size: 7px;
    font-weight: 850;

    letter-spacing: .09em;
    text-transform: uppercase;
}

.mhds-configure-summary__header h2 {
    margin: 0;

    color: #173a59;

    font-size: 17px;
    font-weight: 850;

    line-height: 1.2;
}


/* ==========================================================
   CORPO / TOTAL WHMCS
   ========================================================== */

.mhds-configure-summary__body {
    position: relative;

    padding: 20px;
}

.mhds-configure-summary__loader {
    display: none;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 70px;

    color: #82909d;

    font-size: 9px;
}


/*
 * O WHMCS pode controlar o loader através da classe/ID.
 * Mantemos a estrutura disponível.
 */

.mhds-configure-summary__loader i {
    color: #0e497e;
}


/* ==========================================================
   CONTEÚDO GERADO EM #producttotal
   ========================================================== */

.mhds-configure-summary__total {
    width: 100%;

    color: #52677b;

    font-size: 10px;
    line-height: 1.55;
}


/*
 * Normalização da estrutura HTML inserida pelo WHMCS.
 */

.mhds-configure-summary__total .summary-totals {
    margin: 0;
}

.mhds-configure-summary__total .clearfix {
    padding: 7px 0;

    border-bottom: 1px solid #edf1f5;
}

.mhds-configure-summary__total .clearfix:last-child {
    border-bottom: 0;
}

.mhds-configure-summary__total span {
    line-height: 1.5;
}


/* Valor final */

.mhds-configure-summary__total
.total-due-today {
    margin-top: 15px;
    padding-top: 15px;

    border-top: 1px solid #dce5ed;
}

.mhds-configure-summary__total
.total-due-today
.amt {
    color: #0e497e;

    font-size: 23px;
    font-weight: 900;
}


/* ==========================================================
   SEGURANÇA
   ========================================================== */

.mhds-configure-summary__assurance {
    padding: 0 20px 18px;
}

.mhds-configure-summary__assurance > div {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    padding: 12px;

    border-radius: 12px;

    background: #f5f8fb;
}

.mhds-configure-summary__assurance i {
    color: #0d7652;

    font-size: 13px;
}

.mhds-configure-summary__assurance strong {
    display: block;

    margin-bottom: 2px;

    color: #173a59;

    font-size: 9px;
    font-weight: 850;
}

.mhds-configure-summary__assurance small {
    display: block;

    color: #82909d;

    font-size: 7px;
    line-height: 1.45;
}


/* ==========================================================
   BOTÃO CONTINUAR
   ========================================================== */

.mhds-configure-summary__action {
    padding: 18px 20px 20px;

    border-top: 1px solid #e8eef3;

    background: #f9fbfc;

    text-align: center;
}

.mhds-configure-summary__button {
    display: inline-flex;

    width: 100%;
    min-height: 50px;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 18px;

    border: 0;
    border-radius: 12px;

    background: #ffc400;

    color: #102943;

    font-size: 10px;
    font-weight: 900;

    cursor: pointer;

    transition:
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.mhds-configure-summary__button:hover,
.mhds-configure-summary__button:focus {
    background: #ffd746;

    color: #102943;

    outline: none;

    box-shadow:
        0 12px 26px
        rgba(255, 196, 0, 0.22);

    transform: translateY(-2px);
}

.mhds-configure-summary__action > small {
    display: block;

    margin-top: 9px;

    color: #82909d;

    font-size: 7px;
    line-height: 1.45;
}


/* ==========================================================
   RESPONSIVIDADE
   ========================================================== */

@media (max-width: 900px) {

    .mhds-configure-summary__card {
        position: static;
    }

}
/* ==========================================================
   MHDS CART — ADDONS
   ========================================================== */

.mhds-configure-addons {
    margin-top: 28px;
    padding: 28px;

    border: 1px solid #dce5ed;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 14px 38px
        rgba(16, 47, 77, 0.06);
}

.mhds-configure-addons__header {
    margin-bottom: 22px;
}

.mhds-configure-addons__eyebrow {
    display: inline-block;

    margin-bottom: 7px;

    color: #0e497e;

    font-size: 8px;
    font-weight: 850;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.mhds-configure-addons__header h2 {
    margin: 0;

    color: #173a59;

    font-size: 24px;
    font-weight: 850;
}

.mhds-configure-addons__header p {
    margin: 8px 0 0;

    color: #68798a;

    font-size: 10px;
    line-height: 1.6;
}

.mhds-configure-addons__promo {
    margin-bottom: 18px;
}

.mhds-configure-addons__grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px, 1fr)
        );

    gap: 16px;
}

.mhds-configure-addon {
    display: flex;

    min-width: 0;

    flex-direction: column;

    justify-content: space-between;

    padding: 18px;

    border: 1px solid #dce5ed;
    border-radius: 16px;

    background: #f9fbfc;

    cursor: pointer;

    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.mhds-configure-addon:hover {
    border-color: rgba(14, 73, 126, .30);

    background: #ffffff;

    transform: translateY(-2px);
}

.mhds-configure-addon.is-selected {
    border-color: rgba(255, 196, 0, .65);

    background: rgba(255, 196, 0, .05);
}

.mhds-configure-addon__top {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    align-items: start;
    gap: 12px;
}

.mhds-configure-addon__top input {
    margin-top: 3px;
}

.mhds-configure-addon strong {
    display: block;

    margin-bottom: 6px;

    color: #173a59;

    font-size: 11px;
    font-weight: 850;
}

.mhds-configure-addon__description {
    color: #68798a;

    font-size: 9px;
    line-height: 1.55;
}

.mhds-configure-addon__footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 18px;
    padding-top: 15px;

    border-top: 1px solid #e8eef3;
}

.mhds-configure-addon__price {
    color: #0e497e;

    font-size: 11px;
    font-weight: 900;
}

.mhds-configure-addon__action {
    display: inline-flex;

    align-items: center;
    gap: 6px;

    color: #0e497e;

    font-size: 8px;
    font-weight: 850;

    text-transform: uppercase;
}

@media (max-width: 650px) {

    .mhds-configure-addons {
        padding: 22px 18px;
    }

    .mhds-configure-addons__grid {
        grid-template-columns: 1fr;
    }

}