/* cart icon*/ 
.solar_cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: auto;
    /* to icon */
}

.solar_cart-btn i {
    font-size: 1rem;
    color: #fff;
}

#solar_cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: #fff;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    font-size: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* cart modal */
#solar_cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#solar_cart-drawer {
    position: absolute;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: hsla(0, 0%, 100%, .95);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

#solar_cart-drawer .solar_cart-close_btn {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

#solar_cart-drawer .solar_cart-close_btn i {
    cursor: pointer;
    font-size: 1.2rem;
}

#solar_cart-drawer .solar_cart_title {
    text-align: center;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #444;
}

#solar_cart-drawer.active {
    right: 0;
}

/* cart checkout */
#solar_cart-drawer .solar_cart-checkout {
    flex-shrink: 0;
    background-color: #fff;
    padding: 20px 20px 40px 20px;
    border-top: 1px solid #f1f1f1;
}

.solar_cart-checkout .solar_cart-checkout-summary {
    padding: 0 0 10px;
    display: flex;
    justify-content: space-between;
}

.solar_cart-checkout .solar_cart-checkout-summary span {
    font-size: 1rem;
    font-weight: 600;
}

.solar_cart-checkout .solar_cart-checkout-summary span:first-child {
    color: #333;
}

.solar_cart-checkout .solar_cart-checkout-summary span:last-child {
    color: red;
}

.solar_cart-checkout .solar_cart-checkout-wrap {
    padding-top: 10px;
    border-top: 1px solid #ccc;
}

.solar_cart-checkout-wrap .solar_cart-checkout-btn-view {
    background-color: #0c71b6;
}

.solar_cart-checkout-wrap .solar_cart-checkout-btn-buy {
    background-color: #f2c21c;
}


.solar_cart-checkout-wrap .solar_cart-checkout-btn-view,
.solar_cart-checkout-wrap .solar_cart-checkout-btn-buy {
    cursor: pointer;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 10px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 10px;
}

.solar_cart-checkout-wrap a,
.solar_cart-checkout-wrap a {
    all: unset;
}

#solar_cart-drawer .solar_cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

#solar_cart-drawer .solar_cart-body .solar_cart_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solar_cart-body .solar_cart_list .solar_cart_item {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}

.solar_cart-body .solar_cart_list .solar_cart_item:last-child {
    border-bottom: none;
}

.solar_cart-body .solar_cart_list .solar_cart_item>a {
    all: unset;
    flex: 1;
    display: flex;
    align-items: center;
}

.solar_cart-body .solar_cart_list .solar_cart_item>span {
    padding: 0 10px;
}

.solar_cart-body .solar_cart_list .solar_cart_item>span i {
    font-size: 1.1rem;
}

.solar_cart-body .solar_cart_list .solar_cart_item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.solar_cart-body .solar_cart_list .solar_cart_item a>div {
    flex: 1;
    padding-left: 20px;
}

.solar_cart-body .solar_cart_list .solar_cart_item .cart_item-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.5em;
    max-height: calc(1.5em * 2);
    font-size: 1rem;
    font-weight: 600;
}

.solar_cart_item .cart_item-price {
    font-size: 0.9rem;
    color: red;
    font-weight: 600;
}

.solar_cart_item .cart_item-price>span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.solar_cart-empty {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.solar_cart-empty i {
    font-size: 4.5rem;
    color: #999;
}

.solar_cart-empty span {
    padding-top: 20px;
    font-size: 0.9rem;
    color: #333;
}


body.no-scroll {
    overflow: hidden;
}

/* page gio hang */
.solar-cart_page {
    display: flex;
    flex-direction: row;
    padding: 40px 0;
}

.solar-cart_page .solar-cart_page_list {
    flex: 7;
    padding-right: 20px;
    border-right: 2px solid #ddd;
    overflow-x: auto;
}

.solar-cart_page .solar-cart_page_list table {
    text-align: left;
    border-bottom: 2px solid #ddd;
    padding: 10px;
}

.solar-cart_page .solar-cart_page_list table th {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 2px solid #eee;
}

.solar-cart_page .solar-cart_page_list table td {
    padding: 10px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.solar-cart_page_list table td .product-info {
    display: flex;
    align-items: center;
}

.solar-cart_page_list table td .product-info>a {
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.solar-cart_page_list table td .product-info>a>div {
    padding: 10px;
}

.solar-cart_page_list table td .product-info>a:hover>div>span {
    text-decoration: underline;
    color: blue;
}

.solar-cart_page_list table td .product-info {
    display: flex;
    align-items: center;
}

.solar-cart_page_list table td .product-info .wrap-item_name p {
    color: #333;
    font-size: 0.8rem;
    width: max-content;
}

.solar-cart_page_list table td .product-info .wrap-item_name p>span {
    font-size: 0.9rem;
    color: red;
}

table td .product-info .solar_car_item-remove {
    padding-right: 10px;
    font-size: 20px;
    cursor: pointer;
}

table td .product-info .solar_car_item-remove>i {
    font-size: 1.1rem;
}

table td .product-info img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #ddd;
}

table td .product-info .product-name-table {
    font-size: 0.8rem;
}

.solar-cart_page .solar-cart_page_list table td .price {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: red;
    width: max-content;
}

.solar-cart_page_list .solar-cart_handle-btn {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    padding: 20px 0;
}

.solar-cart_page_list .solar-cart_handle-btn>a {
    all: unset;
    cursor: pointer;
}

.solar-cart_page_list .solar-cart_handle-btn .btn-return,
.solar-cart_page_list .solar-cart_handle-btn .btn-refresh {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
}

.solar-cart_page_list .solar-cart_handle-btn .btn-return {
    padding: 6px 18px;
    color: #0c71b6;
    border: 2px solid #0c71b6;
}

.solar-cart_page_list .solar-cart_handle-btn .btn-refresh {
    padding: 8px 20px;
    background-color: #0c71b6;
    color: #fff;
}

.solar-cart_page .solar-cart_page_checkout {
    flex: 5;
    padding-left: 20px;
}

.solar-cart_page_checkout .solar-cart_page_checkout-title {
    font-size: 1rem;
    width: 100%;
    padding-bottom: 2px;
    border-bottom: 2px solid #eee;
}

.solar-cart_page .solar-cart_page_checkout p {
    padding: 10px 0;
    border-bottom: 2px solid #eee;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.solar-cart_page .solar-cart_page_checkout p span:first-child {
    font-size: 0.8rem;
    color: #333;
}

.solar-cart_page .solar-cart_page_checkout p span:last-child {
    font-size: 1rem;
    font-weight: 600;
    color: red;
}

.solar-cart_page .solar-cart_page_checkout>a {
    all: unset;
    display: block;
    margin-top: 20px;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
    padding: 8px 0;
    background-color: #f2c21c;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

@media only screen and (max-width: 1023px) {
    .solar-cart_page {
        flex-direction: column;
    }

    .solar-cart_page .solar-cart_page_list {
        padding-right: 0 !important;
        border-right: none !important;
    }

    .solar-cart_page .solar-cart_page_checkout {
        padding-left: 0 !important;
    }
}

@media only screen and (max-width: 768px) {
    .class-mobile-none {
        display: none !important;
    }

    .solar-cart_page_list .solar-cart_handle-btn {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media only screen and (min-width: 769px) {
    .class-tablet-none {
        display: none !important;
    }
}