/* ==========================================================
   MHDS CART — SIDEBAR
   ========================================================== */

.mhds-cart-sidebar {
    min-width: 0;
}

.mhds-cart-sidebar__card {
    overflow: hidden;

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

    background: #ffffff;

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

.mhds-cart-sidebar__header {
    display: grid;

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

    align-items: center;

    gap: 12px;

    padding: 18px;

    border-bottom: 1px solid #e8eef3;

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

.mhds-cart-sidebar__icon {
    display: inline-flex;

    width: 42px;
    height: 42px;

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

    border-radius: 12px;

    background: #0e497e;

    color: #ffffff;

    font-size: 15px;
}

.mhds-cart-sidebar__header strong {
    display: block;

    margin-bottom: 3px;

    color: #173a59;

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

.mhds-cart-sidebar__header small {
    display: block;

    color: #82909d;

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


/* ==========================================================
   CONTEÚDO NATIVO DO STANDARD CART
   ========================================================== */

.mhds-cart-sidebar__content .panel {
    margin: 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;
}

.mhds-cart-sidebar__content .panel-heading {
    display: none;
}

.mhds-cart-sidebar__content .panel-body {
    padding: 0;
}

.mhds-cart-sidebar__content .list-group {
    margin: 0;

    border: 0;
    border-radius: 0;
}

.mhds-cart-sidebar__content .list-group-item {
    position: relative;

    display: block;

    min-height: 50px;

    margin: 0;

    padding: 15px 17px 15px 20px;

    border: 0;
    border-bottom: 1px solid #e8eef3;
    border-radius: 0;

    background: #ffffff;

    color: #52677b;

    font-size: 10px;
    font-weight: 760;
    line-height: 1.45;

    text-decoration: none;

    transition:
        padding-left 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.mhds-cart-sidebar__content .list-group-item:last-child {
    border-bottom: 0;
}

.mhds-cart-sidebar__content .list-group-item:hover,
.mhds-cart-sidebar__content .list-group-item:focus {
    padding-left: 24px;

    background: #f5f8fb;

    color: #0e497e;

    text-decoration: none;
}

.mhds-cart-sidebar__content .list-group-item.active,
.mhds-cart-sidebar__content .list-group-item.active:hover,
.mhds-cart-sidebar__content .list-group-item.active:focus {
    padding-left: 24px;

    border-color: #e8eef3;

    background:
        linear-gradient(
            90deg,
            rgba(14, 73, 126, 0.12),
            rgba(14, 73, 126, 0.025)
        );

    color: #0e497e;

    font-weight: 850;
}

.mhds-cart-sidebar__content .list-group-item.active::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 4px;

    background: #ffc400;
}


/* ==========================================================
   BADGES / CONTADORES NATIVOS
   ========================================================== */

.mhds-cart-sidebar__content .badge {
    float: right;

    min-width: 23px;

    padding: 5px 7px;

    border-radius: 999px;

    background: rgba(14, 73, 126, 0.09);

    color: #0e497e;

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


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

@media (max-width: 900px) {

    .mhds-cart-sidebar__content .list-group {
        display: grid;

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

        gap: 1px;

        background: #e8eef3;
    }

    .mhds-cart-sidebar__content .list-group-item {
        border-bottom: 0;
    }

}

@media (max-width: 620px) {

    .mhds-cart-sidebar__content .list-group {
        grid-template-columns: 1fr;
    }

}