.border-0{
    border: none !important;
}
.w-50{
    width: 50% !important;
}
.lh-base{
    line-height: 20px;
}
.lh-2{
    line-height: 30px;
}
.line-clamp-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.flex-grow-1{
    flex-grow: 1 !important;
}
.text-success{
    color: #1c832a;
}
.text-danger{
    color: #E02954;
}
.form-control{
    border-radius: 8px !important;
}
.product-label-group {
    left: 1rem;
    top: 1rem;
}
.social-icon:hover{
    color: #fff !important;
}
.square-box {
    position: relative;
    width: 100%;
}
.square-box:before {
    content: "";
    display: block;
    padding-bottom: 100%;
}
.square-box img {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.product-single-swiper img{
    background: #fff;
}
.rounded{
    border-radius: 8px;
}
.round-circle{
    border-radius: 999px;
}
.ellipsis-text{
    text-overflow: ellipsis;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    white-space: nowrap;
}
.header-right-menu{
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-right-menu a{
    padding: 4px 10px;
    border-radius: 10px;
}
.header-right-menu a:hover{
    background: #f0f3f7;
}
.header-search input.form-control{
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-color: #c8cbcd;
}
.header-search.hs-expanded input.form-control {
    border-color: #c8cbcd !important;
}
.header-search.hs-round .btn-search{
    border-radius: 0 8px 8px 0;
    border-color: #c8cbcd;
}
.store-name{
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    height: 20px;
    color: rgb(255, 255, 255);
    background-color: #0093d3;
    border-radius: 0px 10px 10px 0px;
    padding: 0px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.product-label.label-new{
    background-color: #f96e41;
}
.card{
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    border:solid 1px #eee;
    border-radius: 10px;
}
.card-header {
    padding: 24px;
    /* border-bottom: 1px solid rgba(0, 0, 0, .125); */
}
.card-body{
    padding: 24px;
}
.checkout .order-summary-wrapper{
    padding: 24px;
    border-radius: 10px;
}
.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}
.badge-success {
    padding: 5px 10px;
    background-color: #d4efd5;
    color: #42b549;
    border-radius: 10rem;
}
.position-relative{
    position: relative;
}
.border-left{
    border-left: solid 1px #ddd; 
}
.text-nowrap{
    white-space: nowrap;
}
.nav-filters li:not(:last-child) {
    margin-right: 3.9rem;
}
.product-gap{
        padding: 0px 8px 25px;
}
.flex-wrap{
    flex-wrap: wrap;
}
.float-right{
    float: right;
}
.seperator-dashed {
    width: 100%;
    height: 5px;
    border-top: dashed 1px #e5e7e9;
    margin-top: 20px;
    margin-bottom: 10px;
}
.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}
.text-flex {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
}
.discount {
    margin-right: 8px;
}
.price-topup strong {
    font-size: 22px;
    font-weight: bold;
    text-align: left;
    color: rgba(0, 0, 0, 0.7));
}
.unused_price {
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    text-decoration: line-through;
}
.res-mob{
    display: none;
}
@media (max-width: 768px) {
    .res-mob {
        display: block;
        width: 100%;
        display: inline-flex;
    }
    .card-body-res {
        padding-bottom: 0;
    }
    .action-payment {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .action-payment button{
        width: 100%;
        margin-top: 25px;
    }
}
.p-0{
    padding: 0 !important;
}
.fs-14{
    font-size: 14px !important;
}
.fs-15{
    font-size: 15px !important;
}
.fs-16{
    font-size: 16px !important;
}
.fs-17{
    font-size: 17px !important;
}
.fs-18{
    font-size: 18px !important;
}
.cursor-pointer{
    cursor: pointer;
}
a:hover{
    color: #0072a5 !important;
}
.store-name:hover{
    color: #fff !important;
}
.btn-primary{
    border-radius: 8px;
}
.btn-primary:hover{
    color: #fff !important;
}
.login-bg {
    width: 950px;
    margin: 0px auto;
    display: block;
}
.header-logo {
    text-align: center;
    padding: 32px 0px 9px;
}
.login-popup{
    width: 400px;
    padding: 35px;
    background-color: #fff;
    position: absolute;
    top: 15px;
    left: 0px;
    right: 0px;
    margin: auto;
    border-radius: 8px;
    min-height: 50px;
}
/*modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-dialog {
    position: relative;
    margin: 10% auto;
    /* Centered vertically */
    max-width: 500px;
    /* Width of the modal */
    width: 90%;
    /* Make it responsive */
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    animation: fadeIn 0.3s ease;
    border-radius: 8px;
    outline: 0;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background-color: #f8f9fa;
    /* Light gray background */
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.modal-header h5 {
    margin: 0;
    font-size: 20px;
}
.close {
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    color: #000;
    cursor: pointer;
}
.close:hover {
    color: #007bff;
    /* Danger color */
}
.modal-body {
    padding: 24px;
    color: #495057;
    max-height: 70vh;
    overflow: auto;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 24px;
    background-color: #f8f9fa;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    gap: 10px;
}
/* .modal-footer button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
} */
.modal-footer .btn-secondary {
    background-color: #6c757d;
    color: #fff;
}
.modal-footer .btn-primary {
    background-color: #0093d3;
    color: #fff;
    margin-left: 0.5rem;
}
.flex-modal{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.grid-modal{
    display: grid;
    grid-template-columns: 80px 20px 1fr;
}
.skeleton-loader {
    background-color: #dfdfdf;
    border-radius: 4px;
    height: 20px;
    /* width: 100%; */
    overflow: hidden;
    position: relative;
}

.skeleton-loader::before {
    content: "";
    position: absolute;
    /* Agar berada di atas elemen */
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Gerakan shimmer memanfaatkan lebar elemen */
    background: linear-gradient(to right, transparent, #ededed, transparent);
    animation: skeleton-loading 1s infinite ease-in-out;
}

@keyframes skeleton-loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}
@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}/*Simple radio btn input CSS*/
.custom-control-label {
    cursor: pointer;
}

.cap-opt-1 {
    display: inline-block;
    min-width: 50px;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #59a9f7;
    background-color: #59a9f7;
}

/*Card Button CSS*/
.card-radio-btn .content_head {
    color: #333;
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
}
.card-radio-btn{
    flex-basis: 19.2%;
    margin: 0.5rem;
    height: fit-content;
    min-width: 9rem;
    max-width: 252px;
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 10px;
}
.card-radio-btn .content_sub {
    color: #9e9e9e;
    font-size: 14px;
}

.card-input-element+.card {
    /* width: 18vw; */
    /* max-width: 247px; */
    /* margin-right: 15px; */
    /* margin-bottom: 15px; */
    border: 2px solid #eee;
    justify-content: center;
    color: var(--primary);
    text-align: center;
    padding: 15px;
}

.card-input-element+.card:hover {
    cursor: pointer;
}

.card-input-element:checked+.card {
    border: 2px solid #0093d3;
    -webkit-transition: border 0.3s;
    -o-transition: border 0.3s;
    transition: border 0.3s;
}

.card-input-element:checked+.card::after {
    content: "\f058";
    color: #FF7272;
    position: absolute;
    right: 5px;
    top: 5px;
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-animation-name: fadeInCheckbox;
    animation-name: fadeInCheckbox;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@-webkit-keyframes fadeInCheckbox {
    from {
        opacity: 0;
        -webkit-transform: rotateZ(-20deg);
    }

    to {
        opacity: 1;
        -webkit-transform: rotateZ(0deg);
    }
}

@keyframes fadeInCheckbox {
    from {
        opacity: 0;
        transform: rotateZ(-20deg);
    }

    to {
        opacity: 1;
        transform: rotateZ(0deg);
    }
}
@media only screen and (max-width: 880px) {
    .card-radio-btn {
        flex-basis: 31.5%;
    }
}
@media only screen and (max-width: 560px) {
    .card-radio-btn {
        flex-basis: 47.5%;
    }
}
@media only screen and (max-width: 416px) {
    .card-radio-btn {
        flex-basis: 46.6%;
    }
}
/*select2*/
.select2.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 44px !important;
    line-height: 42px !important;
}

.select2-selection__rendered {
    height: 44px !important;
    line-height: 42px !important;
}

.select2-container--default .select2-selection--single {
    border-color: #eee !important;
}

.select2-selection__arrow {
    height: 38px !important;
}
/*Footer*/
.card-footer{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: .125rem;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    box-sizing: border-box;
    height: 2.875rem;
    width: 4.75rem;
    margin-bottom: .5rem;
    margin-right: .5rem;
    overflow: hidden;
    padding: .25rem;
}
.card-footer img{
    max-height: 100%;
    max-width: 100%;
}
/* end Footer */
.intro-slide {
    margin-top: 20px;
    min-height: 460px;
    border-radius: 20px;
}
.intro-section .nav-inner:hover .swiper-button-next{
    right: 2%;
}
.intro-section .nav-inner:hover .swiper-button-prev {
    left: 2%;
}
.header-search.hs-expanded input.form-control{
    border-left: 2px solid #0088cc;
}
.price-range input{
    width: 30%;
}
@media (max-width: 768px) {
    .intro-wrapper {
        padding-left: 0;
    }

    .intro-slide {
        min-height: 165px;
    }

    .header .sticky-content-wrapper {
        display: block;
    }
    .btn-register{
        display: none;
    }
    .header-middle .header-right>:not(:last-child) {
        margin-right: 0;
    }
    .header-middle .logo{
        margin-left: 15px;
    }
    .header-middle .header-left img{
        width: 150px;
    }
    .header-top{
        display: none;
    }
}
/*header*/
.menu.vertical-menu.category-menu{
    max-height: 50rem;
    overflow-x: hidden;
    overflow-y: scroll;
}
.menu .megamenu {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    z-index: 1000;
    min-width: 200px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}
.megamenu-category{
    display: flex;
    gap: 14px;
    height: 50rem;
}
.vertical-menu {
    position: relative;
    min-width: 28rem;
}
.megamenu,
.vertical-menu>li>ul {
    transform: translate3d(-15px, 0, 0);
}
.category-menu .megamenu {
    padding: 0 0 0 2rem;
    box-shadow: 0 2px 35px rgba(0, 0, 0, 0.1);
    margin-top: -10px;
    height: 50rem !important;
}
.category-menu .megamenu li{
    list-style: none;
}
.category-menu .megamenu .menu-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.sub-category .megamenu{
    max-height: 50rem;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 109rem;
}
.sub-category .megamenu>li{
    flex: 0 0 25%;
}
.megamenu {
    /* display: none; */
}

.category-level1:hover .sub-category .megamenu[data-index="0"],
.category-level1:hover .sub-category .megamenu[data-index="1"],
.category-level1:hover .sub-category .megamenu[data-index="2"] {
    display: block !important;
}

.menu a.active {
    color: #0088cc;
}
.mobile-menu-container {
    background-color: #fff;
}

.mobile-menu-container .mobile-menu {
    background-color: #fff;
}

.mobile-menu li a {
    color: #323232;
}

.mobile-menu>li:not(:last-child) {
    border-color: #eee;
}

.mobile-menu-container .input-wrapper .form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.mobile-menu-container .input-wrapper .btn-search {
    border-radius: 0 8px 8px 0;
}

.mobile-menu-container .input-wrapper .btn-search i {
    color: #323232;
}
.fixed-navigation{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1;
    border-top: solid 1px #eee;
}
/* Masonry Grid Styling */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for large screens */
    grid-gap: 16px;
    /* Spacing between items */
}

.masonry-item {
    break-inside: avoid;
    background-color: #f9f9f9;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for medium screens */
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        /* 1 column for small screens */
    }
}

.header-middle {
    padding-top: 2.2rem;
    padding-bottom: 2.3rem;
}
.header-bottom .menu>li>a {
    font-weight: normal;
}
.account-user{
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
    margin-left: 2rem;
    color: #333;
    margin-top: 0.1rem;
}
.account-user i{
    font-size: 2.7rem;
    color: inherit;
}
/*end header*/
.banner-sm .banner-price-info {
    font-size: 3em;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 0.7rem;
}

/*view product*/
.widget-cart{
    border: 1px solid #eee;
    border-radius: 8px;
}
.widget-body{
    padding: 2.6rem 2rem 2.3rem;
    transition: border-color 0.3s;
}
.shop-table img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.pswp__img{
    object-fit: contain;
}
.cart-dropdown .dropdown-box{
    overflow: hidden;
}
.product.product-cart{
    gap: 10px;
}
/*checkout*/
.order-table td {
    padding-top: 1rem;
}
.overflow-alamat{
    overflow-y: auto;
    max-height: 50vh;
}
.body-alamat .alamat{
    line-height: 1.5;
}
.body-alamat-pilih {
    border: solid 1px #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}
.body-alamat-active {
    border: solid 1px #0093d3;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}
.body-alamat p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
}
/*profile*/
@media(max-width: 768px){
    .tab-vertical .nav-link{
        padding-left: 0;
    }
}
#alertPassword span {
    width: 100%;
    display: flex;
    margin-bottom: 0px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#alertPassword i,
.profile-pic i {
    font-size: 20px;
    margin-right: 5px
}

.profile-pic {
    color: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    margin: 15% auto;
    margin-bottom: 10px;
}

.profile-pic input {
    display: none;
}

.profile-pic img {
    position: absolute;
    object-fit: cover;
    width: 120px;
    height: 120px;
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    z-index: 0;
}

.profile-pic .-label {
    cursor: pointer;
    height: 120px;
    width: 120px;
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1;
}

.profile-pic:hover .-label {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    color: #fafafa !important;
    transition: background-color 0.2s ease-in-out;
    border-radius: 100px;
    margin-bottom: 0;
    line-height: 0;
}

.profile-pic span {
    display: inline-flex;
    padding: 0.2em;
}

/*merchant*/
.btn-wa{
    background-color: #25d366;
    border-radius: 8px;
    border: 0;
    color: #fff;
}
.btn-wa:hover {
    /* background-color: #1bb353; */
    color: #075e54 !important;
}