/* #region cart.php ----------------- */
.cart_wrap {
    background-color: #F6F6F6;
    width: 100%;
    font-family: '-apple-system', 'BlinkMacSystemFont', "Segoe UI", 'Roboto', Helvetica, Arial,sans-serif, "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart_top {
    display: flex;
    flex-direction: column;
}

.cart_top_funcs {
    background: white;
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 70px;
}

.cart_top_func {
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.select_all {
    width: 18px;
    height: 18px;
}

.cart_top_btns {
    display: flex;
    gap: 10px;
}

.cart_top_btn {
    background: white;
    border: 1px solid #ccc;
    padding: 5px 14px;
    border-radius: 5px;
    color: #707070;
}

/* #endregion */


/* #region cart_top_nav.php -------------------------------------- */
.top_nav {
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.top_nav_lists {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.top_nav_title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #363636;
}

/* #endregion */


/* #region cart_lists.php ----------------------------------------- */
.cart_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.no_cart_list {
    background-color: white;
    padding: 10vh 20px;
    text-align: center;
}
/* #endregion */


/* #region cart_new_set.php & cart_new_noset.php */
.cart_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.cart_list_top {
    display: flex;
    justify-content: space-between;
}

.cart_list_top>input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cart_list_top>img {
    height: 15px;
}

.cart_list_img_container {
    position: relative;
    width: 27vw;
    height: 27vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart_list_img_layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px;
}

.cart_list_mid {
    display: flex;
    gap: 20px;
}

.cart_list_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.cart_list_info_top > p {
    font-size: 0.95rem;
}

.cart_list_cnt_btn {
    width: 25px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border: none;
    background-color: white;
    font-weight: 300;
    color: #666;
}

.cart_list_bottom {
    background-color: #F6F6F6;
    padding: 20px;
    font-size: 0.75rem;
    border-radius: 18px;
}

.set_item_list {
    display: flex;
    flex-direction: column;
}

.set_item_list>li {
    display: flex;
    margin-bottom: 0.75vh;
}

.set_item_list_cate {
    width: 22vw;
    font-weight: 600;
}

.set_item_list_name {
    flex: 1;
}

.set_item_list_name_text,
.set_item_list_asm>.set_item_list_name,
.set_item_list_asm>.set_item_price_gap {
    font-size: 0.7rem;
    color: #666;
}

.set_item_list_name_text {
    line-height: 1.5;
}

.change_icon {
    font-size: 0.6rem;
    padding: 0.5px 7px;
    background-color: #33B5E9;
    color: white;
    border-radius: 2px;
}

.set_item_price_gap {
    display: flex;
    justify-content: flex-end;
}

.cart_list_img_container>img {
    width: 22vw;
}

.cart_list_info_top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart_handle_interest {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 0.75rem
}

.cart_list_info_bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%
}

.cart_list_cnt_wrap {
    height: fit-content;
    border: 1px solid #CCC;
    display: flex;
    border-radius: 4px;
    font-size: 16px;
    overflow: hidden;
    font-weight: 300;
}

.cart_cnt {
    width: 25px;
    height: 22px;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
/* #endregion */


/* #region cart_price_summary.php ----------------------------------------- */
.cart_price_summary {
    background-color: white;
    padding: 20px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.cart_price_lists {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart_price_list {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    color: #555;
    font-size: 0.95rem;
}

.cart_price_total {
    font-weight: 700;
    color: #333;
    margin-top: 5px;
}

.cart_price_total_num {
    font-size: 1.2rem;
    color: #0babeb;
}
/* #endregion */


/* #region cart_other_goods.php -------------------------------------- */
.cart_other_goods {
    padding: 20px 0 20px 20px;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 96px;
}

.cart_other_goods_sec_title {
    font-size: 1rem;
    font-weight: 700;
}

.cart_other_goods_lists_container {
    width: 100%;
    position: relative;
    overflow-x: auto;
}

.cart_other_goods_lists {
    display: flex;
    gap: 15px;
}

.cart_other_goods_lists > li:last-child {
    padding-right: 20px;
}

.cart_other_goods_layer {
    position: absolute;
    width: 160px;
    height: 160px;
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 10px;
}

.cart_other_goods_name {
    font-size: 0.75rem;
    margin: 5px 0;
    display: -webkit-box;       
    -webkit-box-orient: vertical; 
    overflow: hidden;           
    text-overflow: ellipsis;    
    line-clamp: 2;              
    -webkit-line-clamp: 2;      
    line-height: 1.4em;          
    max-height: calc(1.4em * 2);
    min-height: calc(1.4em * 2);
}

.cart_other_goods_price {
    font-weight: 700;
}

.cart_other_goods_btn {
    margin: 8px 0;
    width: 100%;
    border: 1px solid #ddd;
    background: white;
    border-radius: 3px;
    padding: 8px;
    color: inherit;
}
/* #endregion */


/* #region cart_fixed_footer.php -------------------------------- */
.cart_footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 86px;
    background-color: white;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-top: 1px solid #ddd;
    padding: 0 20px;
}

.cart_footer_total {
    flex: 1;
    width: 100%;
    text-align: center;
    color: #333;
    font-weight: 600;
    font-size: 1.05rem;
}

.cart_footer_bold {
    font-weight: 700;
}

.cart_footer_button {
    border: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    font-size: 0.95rem;
    padding: 10px 60px;
}
/* #endregion */