:root {
    --syamBlue: #15acffc4;
    --scrollBlue: #9cdcffc4;
    --syamDarkBlue: #0385fffb;
    --sizeTextH1: 1.8rem;
    --sizeTextH2: 1.4rem;
    --sizeTextH3: 1.2rem;
    --sizeTextH4: 1rem;
    --sizeTextH5: 0.8rem;
}

::-moz-selection {
    background: var(--scrollBlue);
    color: var(--syamDarkBlue);
}

::selection {
    background: var(--scrollBlue);
    color: var(--syamDarkBlue);
}

::-webkit-scrollbar {
    width: 0.2rem;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollBlue);
    /* Warna bagian thumb scrollbar */
    border-radius: 1rem;
}

.containerCollection {
    width: 100%;
}

.contentCollection {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 2rem;
}

.headerSearchCollection {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contentSearch {
    width: 100%;
    position: relative;
}

.searchCollection {
    width: 100%;
    padding: .2rem 2rem .2rem 1rem;
    font-size: .8rem;
}

.iconSearchCollection {
    position: absolute;
    right: 1rem;
    top: .5rem;
}

.selectCategory {
    display: flex;
    align-items: center;
}

.iconSelectCategory {
    font-size: 1.6rem;
}

.navCategory {
    position: fixed;
    top: 27vh;
    left: 0;
    width: 100%;
    height: 120vh;
    transform: translateY(-600%);
    transition: transform .7s ease;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.containerCategory {
    background: hsla(0, 1%, 20%, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 15rem;
    width: 70%;
    border-radius: 1rem;
    backdrop-filter: blur(5px);
}

.navTitleCategory {
    font-weight: 900;
    margin: .5rem 0 1rem;
}

.contentItemNavCategory {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    overflow: scroll;
    width: 100%;
}

.itemNavCategory {
    color: black !important;
}

.itemNavCategory:hover,
.iconSelectCategory:hover {
    cursor: pointer;
}

.showNavCategory {
    transform: translateY(0);
}

.containerContentCollection {
    display: flex;
    gap: 1rem;
}

.leftCollection {
    display: none;
    gap: 1rem;
}

.rightCollection {
    width: 100%;
}

.bodyRightCollection {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.containerProductCollection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem;
}

.cardProductCollection {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .5rem;
    border: .5px solid #e7e4e4;
}

.imgCardCollection {
    width: 100%;
}

.infoCardCollection {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: .3rem;
    padding: .2rem;
}

.nameCardCollection {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    height: 2.3rem;
    font-size: .9rem;
    line-height: 1rem;
}

.stockCardCollection {
    font-size: .9rem;
}

.priceCardCollection {
    font-size: .9rem;
}

.detailCardCollection {
    text-align: center;
    width: 100%;
    font-size: 1rem;
    background: var(--syamBlue);
    color: #000;
    margin-top: 0.5rem;
    font-weight: 900;
}

.detailCardCollection:hover {
    color: #fff;
    cursor: pointer;
}

/* Detail Collection */
.containerDetailCollect {
    width: 100%;
}

.contentDetailCollect {
    width: 100%;
}

.cardDetailCollect {
    width: 100%;
    padding: 2rem;
}

.contentImgDetailCollect {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.imgDetailCollect {
    width: 100%;
}

.containerInfoDetailCollect {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contentInfoDetailCollect {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nameCollect {
    font-size: var(--sizeTextH1);
    font-weight: 600;
}

.categoryCollect,
.priceCollect,
.stockCollect,
.colorCollect,
.sizeCollect {
    font-size: var(--sizeTextH3);
}

.orderDetailCollect {
    padding: 1rem;
    width: 100%;
    text-align: center;
}

.orderCollect {
    background: var(--syamDarkBlue);
    padding: 1rem 3rem;
    font-weight: 900;
    font-size: var(--sizeTextH3);
    color: #000;
}
.orderCollect:hover{
    cursor: pointer;
}

@media screen and (min-width: 425px) {

    /* .leftCollection{
    flex: 0 0 20%;
    display: flex;
  }
  .rightCollection{
    width: 80%;
  } */
    .containerProductCollection {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 768px) {
    .containerProductCollection {
        grid-template-columns: repeat(4, 1fr);
    }

    .cardDetailCollect {
        display: flex;
        gap: 2rem;
        justify-content: center;
        align-items: start;
    }

    .contentImgDetailCollect {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-left: 1rem;
    }

    .imgDetailCollect {
        height: 15rem;
        width: 70%;
    }

    .contentImgDetailCollect {
        flex: 1;
    }

    .containerInfoDetailCollect {
        flex: 1;
        gap: 2rem;
    }

    .orderDetailCollect {
        text-align: left;
        padding-left: 0;
    }

    .nameCardCollection {
        font-size: var(--sizeTextH3);
    }

    .stockCardCollection {
        font-size: var(--sizeTextH3);
    }

    .priceCardCollection {
        font-size: var(--sizeTextH3);
    }

    .nameCollect {
        font-size: 2rem;
    }

    .categoryCollect,
    .priceCollect,
    .stockCollect,
    .colorCollect,
    .sizeCollect {
        font-size: var(--sizeTextH2);
    }


}
