/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f5f5f5;
    overflow-x:hidden;
}
/* CONTAINER */
.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    position:relative;
    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{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:65px;
    background:linear-gradient(80deg,#6a376c,#8ec5fc);
    display:flex;
    justify-content:space-around;
    align-items:center;
    z-index:999;
}
.dua img{
    width:35px;
}
/* CONTENT ATAS */
.tiga{
    margin-top:80px;
    padding:10px;
}
/* SEARCH */
.input-box{
    position:relative;
    width:100%;
}
.input-box form{
    display:flex;
    align-items:center;
}
.input-box input{
    width:100%;
    padding:12px 45px 12px 15px;
    border-radius:30px;
    border:1px solid #999;
    outline:none;
    font-size:14px;
}
.input-box button{
    position:absolute;
    right:15px;
    background:none;
    border:none;
    cursor:pointer;
}
.input-box button img{
    width:20px;
}
/* TITIP */
.tiga a .toko{
    margin-top:8px;
}
/* JUDUL */
.judul{
    margin-top:1px;
}
.judul h2{
    text-align:center;
    font-size:1rem;
    font-weight:bold;
}
/* PRODUK */
.empat{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    padding:10px;
}
/* CARD */
.kotak{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 2px 5px rgba(0,0,0,0.1);
    position:relative;
}
/* FOTO PRODUK */
.fotobarang{
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    position:relative;
}
.fotobarang img{
    width:100%;
    height:100%;
    object-fit:cover;
}
/* HABIS */
.habis{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.6);
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-weight:bold;
    font-size:1.2rem;
}
/* INFO PRODUK */
.atribut_barang{
    padding:10px;
}
.nama_barang{
    font-size:14px;
    font-weight:bold;
    margin-bottom:5px;
    text-align:center;
}
.harga_barang{
    color:rgb(2, 17, 94);
    text-align:center;
    margin-bottom:10px;
}
/* DETAIL */
.detail{
    display:flex;
    justify-content:center;
    gap:25px;
}
.detail img{
    width:22px;
}
/* FOOTER TEXT */
p{
    text-align:center;
    margin-top:20px;
    margin-bottom:80px;
}
/* TABLET */
@media screen and (min-width:768px){
    .empat{
        grid-template-columns:repeat(3,1fr);
    }
    .dua img{
        width:40px;
    }
    .judul h2{
        font-size:1.5rem;
    }
}
/* DESKTOP */
@media screen and (min-width:1024px){
    .empat{
        grid-template-columns:repeat(4,1fr);
    }
    .container{
        max-width:1200px;
    }
}
.foto-user{
    width:100%;
    height:100%;
    object-fit:cover;
}