html {
    scroll-behavior: smooth;
}

.box-detail {
    position: relative;
}

.banner-detail {
    position: relative;
    display: flex;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    height: 250px;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.banner-detail::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.07);
}

.info-detail {
    display: flex;
    max-width: 1250px;
    width: 100%;
    height: 155px;
    margin: 0 auto;
    background: var(--secondary-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
    padding: 20px;
    padding-bottom: 0;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.box-icon-logo {
    position: relative;
    top: -5rem;
    background: var(--secondary-color);
    padding: 8px;
    width: 180px;
    height: 180px;
    z-index: 2;
    border-radius: 26px;
    -webkit-border-radius: 26px;
    -moz-border-radius: 26px;
    -ms-border-radius: 26px;
    -o-border-radius: 26px;
}

.box-icon-logo .icon-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    -ms-border-radius: 18px;
    -o-border-radius: 18px;
}

.card-info-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-left: 1rem;
}

.card-info-detail h1 {
    font-family: var(--fonttext-montserrat);
    font-size: 25px;
    color: var(--five-color);
    letter-spacing: .2px;
}

.card-info-detail span {
    font-family: var(--fonttext-poppins);
    font-size: 14.5px;
    color: var(--primary-color);
    letter-spacing: .2px;
    font-weight: 500;
}

.box-form-detail {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 5rem;
    padding: 15px;
}

.box-product-detail {
    width: 100%;
    margin-bottom: 2rem;
}

.list-option-product {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
    width: 100%;
}

.list-option-product button.active {
    font-weight: 600;
    outline: none;
    background: var(--primary-color);
    color: var(--secondary-color);
}

.list-option-product button {
    padding: 10px 20px;
    border: none;
    outline: 1px solid rgba(128, 128, 128, 0.2);
    color: var(--five-color);
    font-size: 14.5px;
    letter-spacing: .2px;
    font-family: var(--fonttext-poppins);
    text-align: center;
    white-space: nowrap;
    background: var(--secondary-color);
    cursor: pointer;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

.list-option-product button:hover {
    filter: brightness(95%);
    -webkit-filter: brightness(95%);
}

.title-detail {
    font-size: 16px;
    font-family: var(--fonttext-poppins);
    color: var(--five-color);
    font-weight: 600;
    line-height: 1.52em;
    margin-bottom: 1rem;
}

.list-nominal-product.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-nominal-product {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    list-style: none;
}

.card-nominal-product.selected {
    border: 2.5px solid var(--primary-color);
}

.card-nominal-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    max-width: 100%;
    width: 100%;
    background: var(--secondary-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    transition: .2s all;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -ms-transition: .2s all;
    -o-transition: .2s all;
}

.card-nominal-product .favicon-logo {
    width: 35px;
    object-fit: cover;
}

.card-nominal-product span {
    font-size: 14px;
    font-family: var(--fonttext-poppins);
    color: var(--third-color);
    text-decoration: line-through;
    font-weight: normal;
}

#selected-nominal {
    font-size: 14.5px;
    color: var(--eight-color);
    font-weight: 600;
    text-decoration: none;
}

.card-nominal-product .info-nominal .info-deskripsi {
    font-size: 12px;
    font-style: italic;
    font-weight: normal;
    color: var(--secondary-color);
    filter: brightness(90%);
    -webkit-filter: brightness(90%);
}

.card-nominal-product .info-nominal {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 100%;
    font-size: 14.5px;
    text-align: center;
    font-family: var(--fonttext-poppins);
    font-weight: 600;
    margin-top: 11px;
    height: 100%;
}

.card-nominal-product:hover {
    transform: scale(1.07);
    -webkit-transform: scale(1.07);
    -moz-transform: scale(1.07);
    -ms-transform: scale(1.07);
    -o-transform: scale(1.07);
    transition: .2s all;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -ms-transition: .2s all;
    -o-transition: .2s all;
}

.box-data-detail {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 450px;
    padding: 5px;
}

.card-data-detail {
    margin-bottom: 2rem;
    border: 1px solid rgb(0, 0, 0, 0.09);
    overflow: hidden;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.card-data-detail .title-detail-data {
    background: var(--primary-color);
    font-size: 16px;
    font-family: var(--fonttext-poppins);
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.52em;
    padding: 10px;
    margin-bottom: 11px;
}

.card-inp-data-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 11px;
    padding: 5px;
}

.card-inp-data-detail label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--fonttext-poppins);
    letter-spacing: .2px;
    line-height: 1.52em;
    color: var(--five-color);
}

.card-inp-data-detail input,
.card-inp-data-detail select {
    font-family: var(--fonttext-poppins);
    font-size: 14.5px;
    color: var(--eight-color);
    width: 100%;
    padding: 12px 10px;
    border: 1px solid rgb(0, 0, 0, 0.09);
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

.btn-tutor-data {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14.5px;
    color: var(--eight-color);
    font-family: var(--fonttext-poppins);
    font-weight: 600;
}

.btn-tutor-data span.active {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}

.btn-tutor-data span {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s all;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -ms-transition: .2s all;
    -o-transition: .2s all;
}

.list-tutorial.active {
    height: 100%;
    transition: .2s all;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -ms-transition: .2s all;
    -o-transition: .2s all;
}

.list-tutorial {
    display: flex;
    flex-direction: column;
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: .2s all;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -ms-transition: .2s all;
    -o-transition: .2s all;
}

.list-tutorial p {
    display: flex;
    font-size: 14px;
    color: var(--eight-color);
    font-family: var(--fonttext-poppins);
    letter-spacing: .2px;
    line-height: 1.52em;
    margin-bottom: 5px;
}

.list-tutorial span {
    display: flex;
    justify-content: center;
    width: 10px;
    margin-right: 3px;
}

.list-payment-method {
    display: flex;
    flex-direction: column;
    padding: 5px;
}

.box-list-payment-method {
    display: flex;
    flex-direction: column;
}

.box-list-payment-method h4 {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--fonttext-poppins);
    letter-spacing: .2px;
    line-height: 1.52em;
    color: var(--five-color);
    margin-bottom: 11px;
}

.card-payment-method.before {
    cursor: not-allowed;
    opacity: .5;
    -webkit-opacity: .5;
    -moz-opacity: .5;
    -ms-opacity: .5;
    -o-opacity: .5;
}

.card-payment-method.active {
    position: relative;
    border: 2.5px solid var(--primary-color);
}

.card-payment-method.active::after {
    content: '\2714';
    display: flex;
    align-items: center;
    width: 30px;
    height: 30px;
    padding-left: 5px;
    font-size: 12px;
    color: var(--secondary-color);
    background: var(--primary-color);
    border-radius: 50%;
    -webkit-border-radius: 20%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    position: absolute;
    right: -18px;
    top: -6px;
}

.card-payment-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
    cursor: pointer;
    background: var(--secondary-color);
    padding: 14px 5px;
    overflow: hidden;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

.card-payment-method .logo-payment {
    width: 50px;
    aspect-ratio: 3/2;
    object-fit: contain;
}

#icon-saldo {
    width: 25px;
    aspect-ratio: auto;
}

.card-payment-method .name-payment {
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
    font-size: 13.5px;
    font-family: var(--fonttext-poppins);
    letter-spacing: .2px;
    line-height: 1.52em;
    color: var(--five-color);
}

.card-payment-method .nominal-payment {
    font-size: 13.5px;
    font-family: var(--fonttext-poppins);
    color: #161616;
    letter-spacing: .2px;
    line-height: 1.52em;
    font-weight: 500;
}

.card-payment-method:hover {
    filter: brightness(95%);
    -webkit-filter: brightness(95%);
}

.box-button-payment {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: var(--secondary-color);
    box-shadow: 0 2px 6px rgb(0, 0, 0, 0.09);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.card-button-detail {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1250px;
    width: 100%;
    padding: 20px 14px;
    margin: 0 auto;
}

.card-button-detail button {
    max-width: 100px;
    width: 100%;
    padding: 10px 25px;
    border: none;
    font-weight: 600;
    outline: none;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 14.5px;
    letter-spacing: .2px;
    font-family: var(--fonttext-poppins);
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

.card-button-detail button:hover {
    filter: brightness(95%);
    -webkit-filter: brightness(95%);
}

.detail-order {
    display: flex;
    flex-direction: column;
    font-family: var(--fonttext-poppins);
}

.detail-order p {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--five-color);
    letter-spacing: .2px;
}

.detail-order span {
    font-size: 14px;
    color: var(--five-color);
    letter-spacing: .2px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .box-form-detail {
        flex-direction: column;
    }

    .box-icon-logo {
        width: 150px;
        height: 155px;
    }

    .info-detail {
        height: 125px;
    }

    .card-info-detail h1 {
        font-size: 22px;
    }

    .box-data-detail {
        position: relative;
        top: 0;
        height: fit-content;
        width: 100%;
        padding: 0;
    }

    .list-option-product {
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding: 5px 2px;
    }

    .list-option-product::-webkit-scrollbar {
        display: none;
    }

}

@media (max-width: 600px) {
    .list-nominal-product {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-detail {
        height: 150px;
    }

    .box-icon-logo {
        width: 100px;
        height: 105px;
        top: -3rem;
        padding: 5px;
        border-radius: 16px;
        -webkit-border-radius: 16px;
        -moz-border-radius: 16px;
        -ms-border-radius: 16px;
        -o-border-radius: 16px;
    }

    .box-icon-logo .icon-logo {
        border-radius: 11px;
        -webkit-border-radius: 11px;
        -moz-border-radius: 11px;
        -ms-border-radius: 11px;
        -o-border-radius: 11px;
    }

    .card-info-detail h1 {
        font-size: 20px;
    }

    .card-info-detail {
        margin-top: -11px;
    }

    .info-detail {
        height: 110px;
        padding: 20px 14px;
    }

}