﻿
.profile {
    position: fixed;
    top: 15%;
    left: 2%;
    width: 300px;
    height:300px;
    padding: 10px;
     
    background-color: transparent;
    z-index: 8;
    /*border-radius: 10px;*/
    border-bottom:1px  solid #bbbbbb9c;
     
}

.profile-nama{
   
    font-weight:bold;
    color:black;
    padding:10px;
    font-size:12px;
    overflow:hidden;
    
}
.profile-deskripsi {
    text-align: justify-all;    
    margin: auto;
    padding:10px;
    color:#808080ff;
    font-size:12px;
}
.paneldisplay{
    position:relative;
    display:flex;
    gap:20px;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    left:15%;
    width:85%;
    background-color:transparent;
}

.cardproduct {
    position: relative;
    top:30px;
    width: 220px;
    height: 250px;
    background-color: white;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    overflow:hidden;
    border:1px solid grey;
}
    .cardproduct:hover {
        
        box-shadow: #bbbbbb9c 0px 14px 10px -10px;
        cursor: pointer;
        border:1px dashed grey;
    }

    .gambarproduk{
        position:relative;
        top:0px;
        width:100%;
        height:72%;
        background-color:transparent;
        object-fit:cover;        

    }
    .cardproduct-promo{
        position:absolute;
        right:-70px;
        transform:rotate(40deg);
        width:200px;
        height:30px;
        background-color:#ce009d;
        z-index:2;
        text-align:center;
    }
    .cardproduct-promo-text{
        font-size:10px;
        color:white;
        margin-left:20px;
    }
.cardproduct-footer{
    display:flex;
    flex-direction:column;
    position:absolute;
    bottom:0px;
    width:100%;
    height:50px;
    background-color:#ffdb00;
    padding:10px;
    color:black;
    text-align:center;
}
.bonusicon{
    position:absolute;
    top:-10px;
    width:30px;
    z-index:2;

}

.cardproduct-footer-nama {
    position:relative;
    left:0px;
    top:-5px;
    width: 90%;
    height: 20px;
    background-color: transparent;
    font-size: 11px;
}
.cardproduct-footer-kode {
    position: absolute;
    left:0px;
    top: 0px;
    width: 95%;
    height: 10px;
    background-color: transparent;
    font-size: 8px;
    text-align:center;
}

.cardproduct-footer-harga{
    position:relative;
    top:-18px;
    font-weight:bold;
    color:black;
    text-decoration-line:none;
    text-align:center;
    font-size:13px;
    background-color:transparent;
    width:90%;
}

.setelahdiskon{
    color:red;
    font-size:12px;
    color:forestgreen;
}
.sebelumdiskon {
    color: red;
    font-size: 10px;
    text-decoration:line-through;
}

.cardproduct-footer-stock {
    position: absolute;
    bottom: 1px;
    font-weight: normal;
    color: saddlebrown;
    text-decoration-line: none;
    text-align: right;
    font-size: 11px;
}

.lblpalinglaku{
    color:green;
    position:absolute;
    left:35px;
    top:10px;
    z-index:3;
    font-size:11px;
}

.mahkota {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 3;
    width: 20px;
}

.etalase{
    position:fixed;
    top:55%;
    left:2%;
    width:300px;
    padding:10px;
    background-color:transparent;
    z-index:8;
    border-bottom:1px solid #bbbbbb9c;
}
.etalase-header{
    position:relative;
    width:100%;
    height:30px;
    background-color:transparent;
    padding:10px;
    padding-left:15px;
    align-content:center;
    font-weight:bold;
}

.etalase-content {
    width: 100%;
    display: flex;
    padding: 10px;
    gap: 1px;
    flex-direction: column;
    padding-left: 20px;
    color:grey;
}

.etalase-content a{
    cursor:pointer;
}

    .etalase-content a:hover {
        transform: scale(1.02);
        color:orange;
    }

    .paneldetailproduct{
        position:fixed;
        margin:auto;
        top:0px;
        bottom:0px;
        left:0px;
        right:0px;
        z-index:12;
        width:800px;
        height:800px;
        background-color:white;
        border-radius:20px;
        overflow:hidden;
    }

    .paneldetailproduct-header{
        position:relative;
        top:0px;
        width:100%;
        height:50px;
        background-color:transparent;
        
    }

    .paneldetailproduct-header-btnclose{
        position:absolute;
        right:20px;
        top:10px;
        bottom:0px;
        cursor:pointer;
        margin:auto;
        color:grey;
    }

.paneldetailproduct-content{
    position:relative;
    width:100%;
    height:80%;
    margin:auto;
    background-color:transparent;    
   text-align:center;
}
.paneldetailproduct-footer{
    position:absolute;
    left:0px;
    right:0px;
    bottom:0px;
    width:90%;
    margin:auto;
    height:60px; 
    background-color:transparent;    
    text-align:center;
    display:flex;
    justify-content:right;
    gap:10px;
    padding-right:20px;
}
    .paneldetailproduct-footer button {  
        border: none;
        width: 120px;
        height: 40px;
        border-radius: 5px;
        cursor: pointer;
        border: 1px solid grey;
    }

.paneldetailproduct-footer button:hover{
    background-color:yellow;
    border:1px solid grey;
}

.paneldetailproduct-content img{
  border-radius:10px;
    width:400px;
    height:400px;
    margin:auto;
}

.deskripsidetailproduct{
    position:relative;
    width:90%;
    height:40%;
    background-color:transparent;
    margin:auto;
    padding:20px;
}
table{
    border-collapse:collapse;
    width:100%;
    font-weight:normal;
    font-size:13px;
}

th {
    border-bottom: 1px solid #bbbbbb9c;
    padding: 5px;
    text-align: left;
    font-weight: normal;
}
tr{
    border:0px solid grey;
}

/*Android max 600px*/
@media only screen and (max-width: 600px) {
    .profile {
        position: fixed;
        top: 15%;
        left: 2%;
        width: 300px;
        height: 300px;
        padding: 10px;
        background-color: transparent;
        z-index: 8;
        /*border-radius: 10px;*/
        border-bottom: 1px solid #bbbbbb9c;
        display:none;
    }

    .profile-nama {
        font-weight: bold;
        color: black;
        padding: 10px;
        font-size: 12px;
        overflow: hidden;
    }

    .profile-deskripsi {
        text-align: justify-all;
        margin: auto;
        padding: 10px;
        color: #808080ff;
        font-size: 12px;
    }

    .paneldisplay {
        position: relative;
        display: flex;
        gap: 7px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        left: 0%;
        width: 100%;
        background-color: transparent;
    }
    .cardproduct {
        position: relative;
        top: 30px;
        width: 170px;
        height: 190px;
        background-color: white;
        border-radius: 10px;
        transition: transform 0.3s ease-in-out;
        overflow: hidden;
        border: 1px solid grey;
    }

        .cardproduct:hover {
            
            box-shadow: #bbbbbb9c 0px 14px 10px -10px;
            cursor: pointer;
            
            
        }

    .gambarproduk {
        position: relative;
        top: 0px;
        width: 100%;
        height: 72%;
        background-color: transparent;
        object-fit: cover;
    }

    .cardproduct-promo {
        position: absolute;
        right: -70px;
        transform: rotate(40deg);
        width: 200px;
        height: 30px;
        background-color: #ce009d;
        z-index: 2;
        text-align: center;
    }

    .cardproduct-promo-text {
        font-size: 10px;
        color: white;
        margin-left: 20px;
    }

    .cardproduct-footer {
        display: flex;
        flex-direction: column;
        position: absolute;
        bottom: 0px;
        width: 100%;
        height: 50px;
        background-color: #ffdb00;
        padding: 10px;
        color: black;
        text-align: center;
    }

    .bonusicon {
        position: absolute;
        top: -10px;
        width: 30px;
        z-index: 2;
    }

    .cardproduct-footer-nama {
        position: relative;
        left: 0px;
        top: -5px;
        width: 90%;
        height: 20px;
        background-color: transparent;
        font-size: 11px;
    }

    .cardproduct-footer-kode {
        position: absolute;
        left: 0px;
        top: 0px;
        width: 95%;
        height: 10px;
        background-color: transparent;
        font-size: 8px;
        text-align: center;
    }

    .cardproduct-footer-harga {
        position: relative;
        top: -18px;
        font-weight: bold;
        color: black;
        text-decoration-line: none;
        text-align: center;
        font-size: 13px;
        background-color: transparent;
        width: 90%;
    }

    .setelahdiskon {
        color: red;
        font-size: 12px;
        color: forestgreen;
    }

    .sebelumdiskon {
        color: red;
        font-size: 10px;
        text-decoration: line-through;
    }

    .cardproduct-footer-stock {
        position: absolute;
        bottom: 1px;
        font-weight: normal;
        color: saddlebrown;
        text-decoration-line: none;
        text-align: right;
        font-size: 11px;
    }

    .lblpalinglaku {
        color: green;
        position: absolute;
        left: 35px;
        top: 10px;
        z-index: 3;
        font-size: 11px;
    }

    .mahkota {
        position: absolute;
        left: 10px;
        top: 10px;
        z-index: 3;
        width: 20px;
    }
    .etalase {
        position: fixed;
        top: 55%;
        left: 2%;
        width: 300px;
        padding: 10px;
        background-color: transparent;
        z-index: 8;
        border-bottom: 1px solid #bbbbbb9c;
        display:none;
    }

    .etalase-header {
        position: relative;
        width: 100%;
        height: 30px;
        background-color: transparent;
        padding: 10px;
        padding-left: 15px;
        align-content: center;
        font-weight: bold;
    }

    .etalase-content {
        width: 100%;
        display: flex;
        padding: 10px;
        gap: 1px;
        flex-direction: column;
        padding-left: 20px;
        color: grey;
    }

        .etalase-content a {
            cursor: pointer;
        }

            .etalase-content a:hover {
                transform: scale(1.02);
                color: orange;
            }

    .paneldetailproduct {
        position: fixed;
        margin: auto;
        top: 15px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: 12;
        width: 95%;
        height: 750px;
        background-color: white;
        border-radius: 20px;
        overflow: hidden;
    }

    .paneldetailproduct-header {
        position: relative;
        top: 0px;
        width: 100%;
        height: 50px;
        background-color: transparent;
    }

    .paneldetailproduct-header-btnclose {
        position: absolute;
        right: 20px;
        top: 10px;
        bottom: 0px;
        cursor: pointer;
        margin: auto;
        color: grey;
    }

    .paneldetailproduct-content {
        position: relative;
        width: 100%;
        height: 80%;
        margin: auto;
        background-color: transparent;
        text-align: center;
    }

    .paneldetailproduct-footer {
        position: absolute;
        left: 0px;
        right: 0px;
        bottom: 0px;
        width: 90%;
        margin: auto;
        height: 60px;
        background-color: transparent;
        text-align: center;
        display: flex;
        justify-content: right;
        gap: 10px;
        padding-right: 20px;
    }

        .paneldetailproduct-footer button {
            border: none;
            width: 120px;
            height: 40px;
            border-radius: 5px;
            cursor: pointer;
            border: 1px solid grey;
        }

            .paneldetailproduct-footer button:hover {
                background-color: yellow;
                border: 1px solid grey;
            }

    .paneldetailproduct-content img {
        border-radius: 10px;
        width: 90%;
        height: 400px;
        margin: auto;
    }

    .deskripsidetailproduct {
        position: relative;
        width: 90%;
        height: 40%;
        background-color: transparent;
        margin: auto;
        padding: 20px;
    }

    table {
        border-collapse: collapse;
        width: 100%;
        font-weight: normal;
        font-size: 13px;
    }

    th {
        border-bottom: 1px solid #bbbbbb9c;
        padding: 5px;
        text-align: left;
        font-weight: normal;
    }

    tr {
        border: 0px solid grey;
    }
}