.cart_nav{
    display: none;
    padding: 20px 15px;
}
.cart_nav ul{
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.cart_nav ul li{
    display: flex; 
    flex-direction: row;
}
.cart_nav ul li img{
    display: inline-block;
    height: 18px;
}
.cart_nav ul li img{
    display: inline-block;
    height: 18px;
    padding-right: 10px;
}
.cart_nav ul li .c_teks{
    font-size: 16px;
}
.cart_nav ul li.active .c_teks{
    padding-right: 10px;
    line-height: 20px;
    font-weight: bold;
    white-space: nowrap;
}
.cart_nav ul li .c_hr{
    padding-right: 10px;
}
.cart_nav ul li .c_hr hr{
    width: 50px;  
    border-width: 2px;
    color: rgb(102, 101, 101);
    margin: 10px 0;
}
.contentcart_data{ 
    max-width: 520px;
    margin: 30px auto; 
    font-size: 16px;
}
.cartitem{
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}
/* .cartitem:last-child{ 
    border-bottom: none;
} */
.cartitem .delete-item{
    position: absolute;
    top: 2px;
    left: 0;
    cursor: pointer;
    height: 16px;
    opacity: 0.5;
}
.cartitem .delete-item:hover{ 
    opacity: 1;
}
.fotoproduk img{
    width: 130px;
    display: inline-block;
    margin-right: 15px;
    /* border: 1px solid #ddd; */
    border-radius: 0;
} 
.descproduk{ 
    width: 100%;
}
.descproduk .namaproduk{
    display: block; 
    font-size: 22px; 
    color: #434242;
}
.descproduk .varian{
    color: #898888;
    font-size: 16px;
}
.descproduk .stokharga{
    margin: 5px 0;
}
.descproduk .hargajual{
    text-align: right; 
    color: #4c4e4e;
    font-size: 20px;
}
.descproduk .promo{
    color: #f85d5d;
}
.descproduk .valuepromo{
    text-align: right;
}
.descproduk .catatan{
    text-align: right;
    margin-top: 5px;
    position: relative;
}
.descproduk .addcatatan{
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
}
.addcatatan.active{
    color: #6DA321
}
.descproduk .addcatatan img{
    float: left;
    height: 16px;
    margin-right: 5px;
}

.opsiinputstok{ 
    display: flex;
    flex-direction: row;
    padding-top: 3px;
}
.opsiinputstok *{ 
    display: inline-block;
    height: 20px;
} 
.opsiinputstok img{ 
    cursor: pointer;
} 
.opsiinputstok input{ 
    display: inline-block;
    width: 70px;
    border: none;
    border-bottom: 2px solid #cfcece;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    margin: 0 3px 0;
    padding: 0;
}
.opsiinputstok input:focus{ 
    outline: none;
}
.input_promo,
.input_promoongkir{
    display: flex;
}
.cart_promoinv span,
.cart_promoongkir span{
    display: inline-block;
    color: #f85d5d;
    font-size: 14px;
    padding-top: 10px;
}
.tekspromo span{
    background: rgb(208 43 50 / 70%);
    display: inline-block;
    color: #fff;
    padding: 0 20px;
    font-size: 12px;
    border-radius: 50px;
    padding-left: 10px;
    padding-right: 10px;
}
.cart_subtotal{ 
    font-size: 16px;
    font-weight: bold;
}
.fmenu_cart{
    position: relative;
}
.fmenu_cart .cart_count{
    position: absolute;
    top: 4px;
    left: 48%;
    background: #e64646;
    font-size: 12px;
    border-radius: 50%;
    display: none;
    color: #fff;
    width: 18px; 
    height: 18px;
    line-height: 18px;
    overflow: hidden;
    text-align: center;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
} 
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
.buyerinfo_form,
.pengiriman_form{
    max-width: 520px;
    margin: 30px auto; 
    padding: 0 15px;
}
.fg_hp{
    display: flex;
    flex-direction: row; 
    position: relative;
    overflow: visible !important;
} 
.fg_hp span{
    padding: 8px 15px;
    background: #ddd;
    color: #3c3c3c;
    border-top-left-radius: .1875rem;
    border-bottom-left-radius: .1875rem;
}
.fg_hp span:hover { 
    background: #b9d5b4;
    color: #405625;
}
.fg_hp .inp_kodenegara{ 
    width: 74px;
    padding-right: 0px !important; 
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.fg_hp input{ 
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.span_kodenegara{
    cursor: pointer;
}
.bg_codenegara{ 
    display: none;
    transition: all .5s ease-in-out;
}
.bg_codenegara.show{  
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff; 
    border-radius: 5px;
    padding: 15px;
    transition: all .5s ease-in-out;
    z-index: 1;
    border: 1px solid #ddd;
    box-shadow: 1px 3px 10px 0px #ddd;
}
.bg_codenegara .data_kodenegara{
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto; 
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.item_kodenegara{
    cursor: pointer;
    padding: 5px 10px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    background-color: #ebe9e9;
}
.item_kodenegara:hover{ 
    background-color: #bad4d9;
}
.pinlocation img{
    cursor: pointer;
}
.pinlocation span{
    font-style: italic;
    color: #8b8787;
} 

/* Pengiriman */
.pengiriman_form .kurtipe {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 1px 1px 3px 0px #ada8a8; 
    position: relative;
}
span.hargaongkir {
    position: absolute;
    right: 0px;
    font-weight: bold;
}
.sel_list1 {
    background: #f5f5f5;
    margin-left: -10px;
    margin-right: -10px;
    padding: 10px;
}

@media(min-width: 770px){
    /* css varsi tab mobile (body.aps_mobile) */ 
    .aps_mobile .contentcart_data{  
        margin: auto; 
        font-size: 16px;
        padding: 0 15px;
    }
    .aps_mobile .buyerinfo_form,
    .aps_mobile .pengiriman_form{ 
        margin: 15px auto;  
    }
    .aps_mobile .cart_nav{
        position: fixed;
        top: 0;
        left: 15px;
        right: 15px;
        padding: 20px 10px;
        background: #fff;
        border-bottom: 1px solid #ddd;
        z-index: 1;
    }
    .aps_mobile .content_cart,
    .aps_mobile .content_buyerinfo,
    .aps_mobile .content_pengiriman {
        margin-top: 62px;
    }
    .aps_mobile .fotoproduk img {
        width: 120px;
    }
    .aps_mobile .opsiinputstok input {
        width: 50px; 
        min-width: 35px; 
        font-size: 14px; 
    }
    .aps_mobile .list_cart{
        margin: 10px auto; 
    }
    .aps_mobile .descproduk .namaproduk { 
        font-size: 18px; 
    }
    .aps_mobile .descproduk .varian { 
        font-size: 16px; 
    }
    .aps_mobile .tekspromo span {
        white-space: nowrap;
    }
    .aps_mobile .descproduk .hargajual { 
        font-size: 18px;
    } 
    .aps_mobile .ps_addtocart .alert {
        width: 100%; 
    }
    .aps_mobile .descproduk .addcatatan { 
        font-size: 14px; 
    }
}
@media(max-width: 769px){
    .contentcart_data{  
        margin: auto; 
        font-size: 16px;
        padding: 0 15px;
    }
    .buyerinfo_form,
    .pengiriman_form{ 
        margin: 15px auto;  
    }
    .cart_nav{
        position: fixed;
        top: 0;
        left: 15px;
        right: 15px;
        padding: 20px 10px;
        background: #fff;
        border-bottom: 1px solid #ddd;
        z-index: 1;
    }
    .content_cart,
    .content_buyerinfo,
    .content_pengiriman {
        margin-top: 62px;
    }
    .fotoproduk img {
        width: 120px;
    }
    .opsiinputstok input {
        width: 50px; 
        min-width: 35px; 
        font-size: 14px; 
    }
    .list_cart{
        margin: 10px auto; 
    }
    .descproduk .namaproduk { 
        font-size: 18px; 
    }
    .descproduk .varian { 
        font-size: 16px; 
    }
    .tekspromo span {
        white-space: nowrap;
    }
    .descproduk .hargajual { 
        font-size: 18px;
    } 
    .ps_addtocart .alert {
        width: 100%; 
    }
    .descproduk .addcatatan { 
        font-size: 14px; 
    }
}
@media(max-width: 361px){
    .contentcart_data { 
        margin: 20px auto;
    }
    .cart_nav ul li .c_hr hr{
        width: 30px;
    }
    .fotoproduk img {
        width: 80px; 
    }
}
@media(max-width: 281px){
    .contentcart_data { 
        margin: 10px auto;
    }
    .cart_nav ul li .c_hr hr{
        width: 10px;
        margin: 7px 0;
    }
    .cart_nav ul li img { 
        height: 16px;
        padding-right: 5px;
    }
    .cart_nav ul li.active .c_teks {
        padding-right: 5px;
        line-height: 16px; 
    } 
    .fotoproduk img {
        width: 80px; 
    }
    .opsiinputstok input {
        width: auto;
        min-width: 25px;
        font-size: 10px;
    }
    .opsiinputstok * { 
        height: 16px;
    }
    .descproduk .hargajual { 
        font-size: 14px;
    }
}