/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f5f5;
    overflow-x:hidden;
    line-height:1.4;
}
/* CONTAINER */
.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding-bottom:100px;
}
/* HEADER */
.satu{
    width:100%;
    height:80px;
    background:black;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 8px;
}
/* LOGO */
.namatoko{
    display:flex;
    align-items:center;
}
.namadepan{
    color:white;
    font-size:1.2rem;
    font-weight:bold;
}
.namabelakang{
    color:crimson;
    margin-left:4px;
    font-size:1rem;
}
/* FOTO USER */
.foto{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.bingkai{
    width:43px;
    height:43px;
    border-radius:50%;
    overflow:hidden;
    background:#fff;
}
.bingkai img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.inisial{
    margin-top:5px;
    font-size:9px;
}
.inisial a{
    color:white;
    text-decoration:none;
}
/* ICON */
.icon{
    display:flex;
    align-items:center;
    gap:10px;
}
.lonceng{
    width:28px;
    margin-left: 120px;
}
/* MENU BAWAH */
.dua{
    width:100%;
    height:65px;
    background-image:linear-gradient(80deg,#6a376c,#8ec5fc);
    position:fixed;
    bottom:0;
    left:0;
    z-index:999;
    display:flex;
    justify-content:space-around;
    align-items:center;
}
.dua img{
    width:35px;
}
/* TITLE */
.tiga{
    width:100%;
    background:rgb(219,231,240);
    margin-top:80px;
    padding:10px;
    position:relative;
}
.judul h2{
    text-align:center;
    font-size:1rem;
    font-weight:800;
}
/* NAVIGASI */
.navigasi{
    margin-top:10px;
    display:flex;
    justify-content:flex-end;
}
.kembali{
    padding:8px 15px;
    border:1px solid black;
    border-radius:20px;
    background:white;
    font-size:12px;
}
.kembali a{
    text-decoration:none;
    color:black;
}
/* CONTENT */
.empat{
    width:100%;
    background:rgb(219,231,240);
    padding:15px;
}
/* FOTO PRODUK */
.foto_produk{
    width:100%;
    max-width:320px;
    aspect-ratio:1/1;
    margin:auto;
    border-radius:15px;
    overflow:hidden;
    border:1px solid #ccc;
    background:white;
}
.foto_produk img{
    width:100%;
    height:100%;
    object-fit:cover;
}
/* HARGA DAN TOKO */
.hargatoko{
    margin-top:15px;
    display:flex;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
}
.harga,
.toko{
    flex:1;
    min-width:140px;
    font-size:15px;
    font-weight:600;
    text-align: center;
}
/* INFO */
.codpo{
    margin-top:10px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}
.cod,
.po,
.diskon,
.stok{
    background:white;
    padding:10px;
    border-radius:10px;
    text-align:center;
    font-size:12px;
}
/* FORM */
.co{
    margin-top:20px;
    display:flex;
    flex-direction:column;
    gap:15px;
}
/* JUMLAH */
.jmlh{
    font-size:14px;
    font-weight:600;
}
.jmlh input{
    width:80px;
    height:40px;
    border:1px solid #999;
    border-radius:8px;
    padding-left:10px;
    margin-left:10px;
    font-size:14px;
}
/* BUTTON */
.tombol{
    width:100%;
}
.tombol button{
    width:100%;
    height:40px;
    border:none;
    border-radius:12px;
    background:#6a376c;
    color:white;
    font-size:14px;
    font-weight:bold;
    cursor:pointer;
}
/* KETERANGAN */
.keterangan{
    margin-top:10px;
    background:white;
    padding:15px;
    border-radius:12px;
    font-size:14px;
    line-height:1.6;
}
/* TABLET */
@media screen and (min-width:768px){
    .empat{
        width:90%;
        margin:auto;
        border-radius:15px;
    }
    .judul h2{
        font-size:1.5rem;
    }
    .foto_produk{
        max-width:400px;
    }
    .codpo{
        grid-template-columns:repeat(4,1fr);
    }
    .co{
        flex-direction:row;
        align-items:center;
    }
    .jmlh{
        flex:1;
    }
    .tombol{
        width:250px;
    }
}
/* DESKTOP */
@media screen and (min-width:1024px){
    .container{
        max-width:1200px;
    }
    .empat{
        padding:25px;
    }
    .foto_produk{
        max-width:450px;
    }
    .harga,
    .toko{
        font-size:18px;
    }
    .keterangan{
        font-size:15px;
    }
}