@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body::-webkit-scrollbar {
    width: 0;
}

nav .wrapper {
    position: relative;
    max-width: 1500px;
    padding: 0px 30px;
    height: 70px;
    line-height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
}

ul,
ol {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.dark-theme .wrapper .logo a {
    color: #f2f2f2;
    font-size: 25px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 20px;
}
.light-theme .wrapper .logo a {
    color: #20262c;
    font-size: 25px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 20px;
}

.wrapper .nav-links {
    display: inline-flex;
    align-items: center;
    flex-grow: 1;
}

.nav-links .nav-item {
    list-style: none;
    margin-left: 15px;
}

.nav-links .nav-item-cart {
    list-style: none;
}


.nav-links .nav-item-cart a {
    color: #96969f;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
    background: black;
    width: 180px;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
}

.nav-links li:hover .drop-menu {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    font-weight: 400;
    border-radius: 0px;
}

.wrapper .btn {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
}

.wrapper .btn.close-btn {
    position: absolute;
    right: 30px;
    top: 10px;
}

.dark-theme .login a {
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: auto;
    /* Menempatkan tombol Login ke kanan */
}
.light-theme .login a {
    color: #20262c;
    font-size: 12px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: auto;
    /* Menempatkan tombol Login ke kanan */
}

.dark-theme .register a {
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: auto;
    border-radius: 20px;
    padding: 2px 8px 2px 8px;
    border: 1px solid white;
}
.light-theme .register a {
    color: #20262c;
    font-size: 12px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: auto;
    border-radius: 20px;
    padding: 2px 8px 2px 8px;
    border: 1px solid #20262c;
}

@media screen and (max-width: 970px) {
    .wrapper .btn {
        display: block;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        top: 0;
        right: -100%;
        /* Mengubah posisi navbar ke kanan */
        background: rgb(32, 32, 37);
        display: block;
        padding: 50px 10px;
        line-height: 50px;
        overflow-y: auto;
        box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
        transition: all 0.3s ease;
    }

    /* custom scroll bar */
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #242526;
    }

    ::-webkit-scrollbar-thumb {
        background: #3a3b3c;
    }

    #menu-btn:checked ~ .nav-links {
        right: 0%;
        /* Menampilkan navbar di posisi kanan */
    }

    #menu-btn:checked ~ .btn.menu-btn {
        display: none;
    }

    #close-btn:checked ~ .btn.menu-btn {
        display: block;
    }

    .nav-links .nav-item {
        margin-left: 0px;
    }

    .nav-links li a {
        padding: 0 20px;
        display: block;
        font-size: 20px;
    }

    .nav-links .drop-menu {
        position: static;
        opacity: 1;
        top: 65px;
        visibility: visible;
        padding-left: 20px;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
    }

    #showDropApp:checked ~ .drop-menu {
        max-height: 100%;
    }

    #showDropSupport:checked ~ .drop-menu {
        max-height: 100%;
    }

    .nav-links .desktop-item {
        display: none;
    }

    .nav-links .mobile-item {
        display: block;
        color: #96969f;
        /* font-size: 20px; */
        font-weight: 500;
        padding: 9px 15px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
        font-weight: 600;
    }

    .drop-menu li {
        margin: 0;
    }

    .drop-menu li a {
        border-radius: 5px;
        font-size: 18px;
    }

    .btn.menu-btn {
        margin-left: auto;
        /* Menempatkan ikon bars ke kanan */
    }

    .login {
        display: none;
    }

    .register {
        display: none;
    }
}

nav input {
    display: none;
}

.body-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 0 30px;
}

.body-text div {
    font-size: 45px;
    font-weight: 600;
}

.swiper {
    width: auto;
    height: 500px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

nav ul li a .chevron-down {
    margin-left: 3px;
    transition: transform 0.3s ease;
    font-size: 12px;
}

nav ul li a:hover .chevron-down {
    transform: rotate(180deg);
}

/* icon hover */


.content {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    z-index: 10;
}

.icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 5px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}



.details,
.product-name {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.image-container {
    position: relative;
    padding-top: 133%;
    background-color: rgb(54, 54, 60);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
    height: inherit;
    border-radius: 3px;
}

.image-container:hover .content,
.image-container:hover .icons,
.image-container:hover .details,
.image-container:hover .product-name {
    opacity: 1;
    transform: translateY(0);
}

.details {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        --bs-modal-width: 850px;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: var(--bs-modal-width);
        margin-right: auto;
        margin-left: 130px;
    }
    .modal-dialog.invoice {
        max-width: var(--bs-modal-width);
        margin-right: auto;
        margin-left: auto;
        max-width: 680px;
    }
    .modal-dialog.konfirmasi {
        max-width: var(--bs-modal-width);
        margin-right: auto;
        margin-left: auto;
        max-width: 480px;
    }
    .modal-dialog.store {
        max-width: var(--bs-modal-width);
        margin-right: auto;
        margin-left: auto;
    }

    .modal {
        --bs-modal-margin: 0.75rem;
    }
}

.modal-content {
    background-color: rgb(40 40 45);
}

.modal-header.price {
    border-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.modal-header.store {
    border-bottom: 1px solid rgb(71, 71, 78);
}
.modal-header.product {
    border-bottom: 0px;
}

.modal-section {
    border-top: 1px solid rgb(46, 46, 51);
    margin: 7px 25px;
    padding-top: 16px;
}

/* .modal-body {
    max-height: none;
    overflow: hidden;
} */

.modal-footer {
    border-top: 1px solid rgb(71, 71, 78);
}

body.modal-open {
    overflow-y: scroll;
}

.btn-follow {
    margin: 0px;
    box-sizing: border-box;
    border: 1px solid transparent;
    font-style: normal;
    background: none rgba(255, 255, 255, 0.3);
    box-shadow: none;
    cursor: pointer;
    outline: none;
    border-radius: 20px;
    transition: 0.2s;
    font-family: inherit;
    display: inline-flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    text-decoration: none;
    font-size: 13px;
    line-height: 14px;
    font-weight: 600;
    letter-spacing: normal;
    padding: 0px 20px;
    min-height: 20px;
    min-width: 100px;
    text-transform: capitalize;
    color: rgb(255, 255, 255);
    width: 80px;
}

.modal-icons {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    background: rgb(18, 18, 21);
    flex-shrink: 0;
    border: 1px solid rgb(55, 55, 59);
}
.modal-icons-save {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    background: rgb(18, 18, 21);
    flex-shrink: 0;
    border: 1px solid rgb(55, 55, 59);
}

.icon-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    color: rgb(255, 255, 255);
    border: none;
}

.btn-cart {
    margin: 0px;
        box-sizing: border-box;
        border: 2px solid transparent;
        font-style: normal;
        background: none rgb(255, 255, 255);
        box-shadow: none;
        cursor: pointer;
        outline: none;
        border-radius: 20px;
        transition: 0.2s;
        font-family: inherit;
        display: inline-flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        text-decoration: none;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 1.75px;
        font-weight: 600;
        text-transform: uppercase;
        padding: 1px 20px 0px;
        min-width: 96px;
        min-height: 40px;
        color: rgb(0, 0, 0);
        width: initial;
}
.btn-print {
    margin: 0px;
        box-sizing: border-box;
        border: 2px solid transparent;
        font-style: normal;
        background: none rgb(255, 255, 255);
        box-shadow: none;
        cursor: pointer;
        outline: none;
        border-radius: 20px;
        transition: 0.2s;
        font-family: inherit;
        display: inline-flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        text-decoration: none;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 1.75px;
        font-weight: 600;
        text-transform: uppercase;
        padding: 1px 20px 0px;
        min-width: 96px;
        min-height: 40px;
        color: rgb(0, 0, 0);
        width: initial;
}
.btn-konfirmasi {
    margin: 0px;
        box-sizing: border-box;
        border: 2px solid transparent;
        font-style: normal;
        background: none rgb(255, 255, 255);
        box-shadow: none;
        cursor: pointer;
        outline: none;
        border-radius: 20px;
        transition: 0.2s;
        font-family: inherit;
        display: inline-flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        text-decoration: none;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 1.75px;
        font-weight: 600;
        text-transform: uppercase;
        padding: 1px 20px 0px;
        min-width: 96px;
        min-height: 40px;
        color: rgb(0, 0, 0);
        width: initial;
}

.btn-cancel {
    margin: 0px;
    box-sizing: border-box;
    border: 2px solid rgb(255, 255, 255);
    font-style: normal;
    background: none transparent;
    box-shadow: none;
    cursor: pointer;
    outline: none;
    border-radius: 20px;
    transition: 0.2s;
    font-family: inherit;
    display: inline-flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    text-decoration: none;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 1.75px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1px 16px 0px;
    min-width: 96px;
    min-height: 40px;
    color: rgb(255, 255, 255);
    width: initial;
}

.image-cart {
    position: relative;
    padding-top: 133%;
    background-color: rgb(54, 54, 60);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: inherit;
    min-width: initial;
    min-height: initial;
    border-radius: 3px;
}

.product-section {
    flex: 1 1 calc(50% - 25px);
    max-width: calc(50% - 25px);
    margin-bottom:40px
}
.product-gallery {
    flex: 0 0 calc(33.33% - 107px);
}

/* From Uiverse.io by juanpabl0svn */
/* The switch - the box around the slider */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.5em;
    height: 2em;
    cursor: pointer;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    --background: #20262c;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    transition: 0.5s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 50%;
    left: 10%;
    bottom: 15%;
    box-shadow: inset 8px -4px 0px 0px #ececd9, -4px 1px 4px 0px #dadada;
    background: var(--background);
    transition: 0.5s;
}

.decoration {
    position: absolute;
    content: "";
    height: 2px;
    width: 2px;
    border-radius: 50%;
    right: 20%;
    top: 15%;
    background: #e5f041e6;
    backdrop-filter: blur(10px);
    transition: all 0.5s;
    box-shadow: -7px 10px 0 #e5f041e6, 8px 15px 0 #e5f041e6, -17px 1px 0 #e5f041e6,
      -20px 10px 0 #e5f041e6, -7px 23px 0 #e5f041e6, -15px 25px 0 #e5f041e6;
}

input:checked ~ .decoration {
    transform: translateX(-20px);
    width: 10px;
    height: 10px;
    background: white;
    box-shadow: -12px 0 0 white, -6px 0 0 1.6px white, 5px 15px 0 1px white,
      1px 17px 0 white, 10px 17px 0 white;
}

input:checked + .slider {
    background-color: #5494de;
}

input:checked + .slider:before {
    transform: translateX(100%);
    box-shadow: inset 15px -4px 0px 15px #efdf2b, 0 0 10px 0px #efdf2b;
}

/* Dark theme styles */
.dark-theme {
    background: linear-gradient(90deg, #02353c, #2eaf7d);
    color: #ffffff;
}

/* Light theme styles */
.light-theme {
    background: #f0f0f0;
    color: #20262c;
}

