/* cart */
#cart {
    /*margin-bottom: 10px;*/
}
#cart > .btn {
    /*font-size: 12px;*/
    /*line-height: 18px;*/
    /*color: black;*/
}
#cart.open > .btn {
    background-image: none;
    background-color: #FFFFFF;
    border: 1px solid #E6E6E6;
    color: #666;
    box-shadow: none;
    text-shadow: none;
}
#cart.open > .btn:hover {
    color: #444;
}
#cart .dropdown-menu {
    position: fixed;
    right: 0;
    top: 0;
    left: unset;
    width: 565px;
    height: 100%;
    min-width: unset;
    padding: 0;
    margin: 0;
    background: white;
    border-radius: 0;
    z-index: 99;
    display: block;
}
#cart .dropdown-menu #close-btn{
    top: 25px;
    right: 25px;
    position: absolute;
}
#cart .dropdown-menu #cart-el #close-btn{
    position: relative;
    background: #F5F8F5;
    border-radius: 5px;
    padding: 8px;
    width: 24px;
    height: 24px;
    right: 0 !important;
    top: 0 !important;
    z-index: 1 !important;
}
#cart .dropdown-menu li > div {
    min-width: 427px;
    padding: 0 10px;
}
#cart .dropdown-menu li p {
    margin: 20px 0;
}

#cart #cart-btn {
    position: relative;
}
#cart #cart-btn #total{
    position: absolute;
    right: 0;
    top: 0;
    font-size: 9px;
    font-weight: 800;
    background: var(--bg-color-1);
    color: white;
    display: flex;
    padding: 4px 4px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;

    width: fit-content;
    height: fit-content;
}
#cart hr,
.simplecheckout-cart hr {
    height: 1px;
    width: 100%;
    color: #E2E2E2;
    margin: 0;
}
#cart-block .cart-content{
    margin-top: 20px;

    height: 79%;

    display: flex;
    flex-direction: column;

    gap: 10px;

    overflow-y: auto;
    overflow-x: hidden;
}
#cart-block .panel-content{
    padding: 25px 25px 15px 25px;
    height: 100%;
}
#cart-block .panel-content > .title{
    color: black;
    font-family: 'Pretty_font', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
}

#cart-el {
    position: relative;

    display: flex;
    gap: 15px;

    /*border-bottom: 1px solid #E2E2E2;*/
    /*margin-bottom: 20px;*/
}
#cart-el .text-danger {
    position: absolute;
    left: 0;
    bottom: -17px;

    color: #F85B5B;
    font-size: 14px;
    line-height: 14px;
}
#cart-el .title {
    text-align: left;
    font-family: "Lato_font", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 126%;
    color: #000000;

    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: unset;
    white-space: nowrap;
}
#cart-el .price {
    text-align: left;
    display: flex;
    font-family: "Lato_font", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 142%;
    letter-spacing: 0.02em;
    color: #444444;
}
#cart-el #close-btn{
    background: #F5F8F5;
    border-radius: 5px;
    padding: 8px;

    width: 24px;
    height: 24px;

    right: 0 !important;
    top: 0 !important;
    z-index: 1 !important;

    display: flex;
    justify-content: center;
}
#cart-el #close-btn::before,
#cart-el #close-btn::after {
    content: '';
    position: absolute;
    left: unset;
    top: 50%;
    width: 50%;
    height: 1px;
    background-color: #555;
}
#cart-el .right-content-block {
    display: flex;
    flex-direction: column;

    justify-content: space-between;

    gap: 5px;

    overflow: hidden;
}
#cart-el .right-content-block .quantity-block {
    /*margin-top: auto;*/
    margin-bottom: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #E2E2E2;

    width: min-content;
    gap: 15px;
}
#cart-el .left-img-block {
    flex-shrink: 0;
}
#cart-el .left-img-block a{
    display: flex;
}
#cart-el .left-img-block a img{
    width: 120px;
    border: unset;
    padding: 0;
}
#cart-el #btn-plus,
#cart-el #btn-minus{
    cursor: pointer;
}

#cart-el input[name="quantity"] {
    background: transparent;
    border: 1px solid #E2E2E2;
    border-radius: 2px;
    width: 100px;
    height: 44px;
    padding: 0 30px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#total-block {
    display: flex;
    flex-direction: column;
    gap: 30px;

    margin-top: auto;
}
#cart-order-button {
    display: flex;
    align-items: center;
    justify-content: center;

    /*margin: auto;*/

    height: 56px;
    width: 100%;

    background-color: var(--bg-color-1) !important;
    color: #FFF !important;
    cursor: pointer;
    gap: 10px;
    padding: 10px 15px;
    text-transform: uppercase;

    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 142%;
    letter-spacing: 0.04em;
}
#cart #total-text {
    color: #444444;
    font-size: 24px;
}
#cart #total-price {
    margin-left: auto;
    color: #444444;
    font-size: 24px;
}

@media (max-width: 565px) {
    #cart .dropdown-menu {
        width: 100%;
    }
}
@media (max-width: 783px) {
    #cart .dropdown-menu {
        width: 100%;
    }
    #cart .dropdown-menu li > div {
        min-width: 100%;
    }
}