/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    /* margin-top: 10%; */
    transition: .5s;
}

/* .card .btn-primary1 {
    width: 100%;
    min-width: 100%;
} */


.btn-primary:hover {
    /* border-width: 2px !important; */
    border-color: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}


/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}

/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}

/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../img/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/cart-page-header-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 1080px) {
    .ql-toolbar {
        text-align: start !important;
    }

    .ql-toolbar-wrapper {
        justify-content: end;
        margin-top: 10px;
    }

    .char-counter {
        font-size: 10px;
        padding-right: 0;
        margin-top: -28%;
    }
}

@media (min-width: 992px) {

    .hero-header,
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {

    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
}

@media (max-width: 768px) {
    .ql-toolbar-wrapper {
        justify-content: center;
        margin-top: 10px;
    }

    .char-counter {
        font-size: 10px;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .ql-toolbar-wrapper {
        justify-content: flex-start;
    }

    .char-counter {
        font-size: 10px;
        margin-left: 0;
    }
}
/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);

}

/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px;
    height: 130px;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.fruite .fruite-item {
    height: 100%;
    /* height: 70%; */
    transition: 0.5s;
}

.fruite .fruite-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
    cursor: pointer !important;
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    /* height: 80%; */
    border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
    cursor: pointer !important;
}

/*** Fruits End ***/


/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.vesitable .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
    border-color: var(--bs-secondary);
}

/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    margin-bottom: 0;
}

/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** testimonial End ***/


/*** Single Page Start ***/
/* .pagination {
    display: inline-block;
} */

.pagination a {
    color: var(--bs-dark);
    /* padding: 10px 16px; */
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}

.pagination a:hover:not(.active) {
    background-color: var(--bs-primary);
    color: var(--bs-light);
}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}

/*** Single Page End ***/


/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}

.dataTables_filter {
    width: 50%;
    float: right;
    text-align: right;
    margin-bottom: 20px;
    font-size: 12px;
    border-radius: 4px;
}

.dataTables_filter input {
    margin-left: 10px;
}

.col-width {
    width: 30px;
    vertical-align: baseline !important;
}

.col-width-number {
    min-width: 30px;
    background-color: var(--bs-primary) !important;
    color: white;
    vertical-align: baseline !important;
}

#orderTable1_wrapper {
    margin-top: 15px;
}

.details-btn {
    min-width: 200px;
    padding: 5px;
    border-radius: 4px;
    /* margin-top: auto; */
    /* margin-left: -42%; */
    background-color: darkorange;
    /* margin-bottom: 5px; */
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.details-btn:hover {
    background-color: orangered;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* transform: scale(1.05); */
}

.cancel-btn:hover {
    background-color: firebrick;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* transform: scale(1.05); */
}

#clear-kodepos-add {
    cursor: pointer;
    font-size: 20px;
    color: #888;
    border: none;
    background: transparent;
    padding: 5px;
    right: 10px;
}

#clear-kodepos-add:hover {
    color: #000;
}

.badgeNew {
    background-color: rgb(205, 254, 230);
    border: 2px solid rgb(105, 252, 181);
    color: darkred;
    padding: 5px 10px 5px 10px !important;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
}

.badgeNew#badge-newAddress {
    background-color: rgb(205, 254, 230);
    border: 2px solid rgb(105, 252, 181);
    color: darkred;
    width: 280px;
    font-size: 14px;
    text-align: center;
    border-radius: 3px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.badgeOld {
    background-color: rgb(205, 210, 254);
    border: 2px solid rgb(180, 187, 253);
    color: darkred;
    padding: 5px 10px 5px 10px !important;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
}

/* .badgeNew, .badgeOld {
    display: inline-block;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    vertical-align: middle;
}

.badgeOld {
    background-color: #6c757d;
    color: #fff;
} */

#cart-table1 {
    font-size: 12px !important;
}

.custome-card {
    border: 0.5px solid lightslategray !important;
    border-radius: 10px !important;
    height: 560px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(25% - 16px);
    max-width: calc(25% - 16px);
}

.custome-card:hover {
    border: 2px solid #3498db !important;
    border-radius: 10px !important;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

/* #cart-table1 th,
#cart-table1 td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px !important;
} */

textarea.customeraddress {
    resize: none !important;
    height: 142px !important;
}

select.custom-select {
    width: 50px !important;
    height: 40px !important;
    font-size: 15px !important;
    text-align: center;
}

.dt-input {
    margin-right: 0px !important;
}

.dt-info {
    font-size: 12px;
}
.dt-search {
    font-size: 12px;
}
#dt-search-0 {
    font-size: 12px;
    border-radius: 4px;
}

#dt-length-0 {
    width: 68px !important;
    font-size: 13px !important;
    border-radius: 4px !important;
    height: 2px !important;
    padding-right: 22px;
    background-color: white;
}
label[for="dt-length-0"] {
    font-size: 13px;
}

.dataTable td.text-center, .dataTable th.text-center {
    /* text-align: center; */
    vertical-align: middle;
}

.pagination {
    --bs-pagination-font-size: 12px !important;
}


/* .dt-paginate-button {
    font-size: 12px;
    padding: 5px 10px;
}

.dt-paging-button .page-item:active {
    font-size: 12px !important;
}

.dt-paging-button .page-item:disabled {
    font-size: 12px !important;
} */

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

.select2-container .select2-selection--single {
    height: 40px !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

.optgroup-primary {
    background-color: var(--bs-primary);
}

.superscript-icon {
    font-size: 0.7em;
    /* Resize the icon */
    position: relative;
    top: -0.3em;
    /* Move it upwards to simulate superscript */
}

#expedisi:focus {
    border-width: 10px !important;
    border-color: var(--bs-primary) !important;
}

.btn-distance {
    margin-left: 10px;
    height: 44px;
}

.btn-distance:hover {
    color: white;
}

#ajax-spinner {
    background-color: rgba(255, 255, 255, 0.7); 
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.custom-modal {
    border-radius: 5px;
    padding: 20px;
}

.custom-button {
    border-radius: 3px;
    padding: 10px 20px;
    font-weight: bold;
}

.custom-button.btn-primary {
    background-color: var(--bs-primary);
    color: white;
    border: none;
    width: 177px !important;
    margin-right: 25px;
}

.custom-button.btn-primary:hover {
    background-color: #0056b3;
}

.custom-button.btn-secondary {
    background-color: var(--bs-secondary);
    color: white;
    border: none;
    width: 177px !important;
}

.custom-button.btn-secondary:hover {
    background-color: #5a6268;
}

.collapsible-custom-order,
.collapsible-custom-history,
.collapsible-custom-tracking {
    background-color: lightgray;
    color: #333;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 24px;
    border-radius: 5px;
    transition: background-color 0.3s, font-weight 0.3s;
}

/* .collapsible-custom-history {
    background-color: darkseagreen;
    color: #333;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 24px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.collapsible-custom-tracking {
    background-color: darkseagreen;
    color: #333;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 24px;
    border-radius: 5px;
    transition: background-color 0.3s;
} */

.collapsible-custom:hover {
    background-color: #81c408 !important;
}

.custom-modal-width {
    max-width: 53% !important;
}

.collapsible-custom-order:hover,
.collapsible-custom-history:hover,
.collapsible-custom-tracking:hover {
    background-color: #81c408;
}

/* .collapsible-custom-history:hover {
    background-color: #81c408 !important;
}

.collapsible-custom-tracking:hover {
    background-color: #81c408 !important;
} */

.content-custom-order {
    /* padding: 0 15px; */
	/* padding-left: 15px; */
    display: none;
    overflow: hidden;
    /* border-top: 1px solid #ccc; */
    /* margin-top: 10px; */
}

.collapsible-custom-order:focus,
.collapsible-custom-history:focus,
.collapsible-custom-tracking:focus,
.active-custom {
    background-color: #81c408;
    font-weight: bolder;
}

/* .active-custom,
.collapsible-custom-history:focus {
    background-color: #81c408 !important;
    font-weight: bolder;
}
.active-custom,
.collapsible-custom-tracking:focus {
    background-color: #81c408 !important;
    font-weight: bolder;
} */
 
.icon-custome-order,
.icon-custome-tracking,
.icon-custome-history {
    color: #dc3545;
    transition: color 0.3s ease;
}

.icon-custome-order:hover,
.icon-custome-tracking:hover,
.icon-custome-history:hover {
    color: white !important;
    cursor: pointer;
}

/* .icon-custome-order:focus,
.icon-custome-tracking:focus,
.icon-custome-history:focus,
.active-icon {
    color: white !important;
} */

.collapsible-custom-order:after {
    /* content: '\002B'; */
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.collapsible-custom-history:after {
    /* content: '\002B'; */
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
.collapsible-custom-tracking:after {
    /* content: '\002B'; */
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

#general-picture {
    width: 100%;
    height: 100%;
    border: none;
}

.payment-btn button, .payment-btn div {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
}

.swal2-actions .swal2-confirm {
    margin-right: 8px;
    width: 120px;
    border-radius: 4px;
    color: white;
    margin-top: 0px;
}

.swal2-actions .swal2-deny {
    margin-right: 8px;
    width: 120px !important;
    border-radius: 4px;
    margin-left: 100px;
}

.swal2-actions .swal2-cancel {
    /* margin-right: 8px; */
    width: 120px;
    border-radius: 4px;
    background-color: gray;
    color: white;
    margin-top: 0px;
}

.swal2-cus-confirm {
    width: 135px !important;
}

.swal2-cus-cancel {
    width: 135px !important;
}

.swal2-title {
    font-size: 22px;
    color: red;
}

.custom-swal-popup .swal2-html-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-invoice {
    background-color: darkcyan;
    border-color: yellow;
    border-width: 3px;
    color: white;
    width: 164px;
    padding: 8px;
    font-size: 16px;
    border-radius: 4px;
    margin-right: 5px;
    margin-top: 0px;
    font-weight: bold;
    transition: all 0.3s ease; /* Smooth hover transition */
}

.btn-invoice:hover {
    background-color: #007bff !important;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-invoice:focus {
    outline: none;
    background-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.custom-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.custom-shadow:hover {
    border: 1px solid #3498db !important;
}

/* <uniquifier>: Use a unique and descriptive class name
<weight>: Use a value from 1 to 1000 */

.sofia-sans-custom {
  font-family: "Sofia Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: #333;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.sofia-sans-custom1 {
  font-family: "Sofia Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  /* color: #333; */
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); */
}

.card-body {
    min-height: 326px;
    height: auto;
}

.card-body#card-body {
    min-height: 306px !important;
    height: auto;
    flex-grow: 1;
}

/* Container styling */
.product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

/* Main Product Image */
.product-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Variant Images */
.product-variants {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
}

.product-variants img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-variants img:hover {
    transform: scale(1.1);
    border-color: #ff6600;
}

.content {
    display: none;
}

.scroll-container {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: transparent transparent; /* Firefox scrollbar */
}

.scroll-container::-webkit-scrollbar {
    width: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #888;
}

.scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-container:not(:hover)::-webkit-scrollbar {
    background: transparent;
    width: 0; /* Makes scrollbar hidden when not focused */
}

.table-nowrap {
    white-space: nowrap;
    overflow-x: auto; /* Enables horizontal scrolling if needed */
}

.table-nowrap th,
.table-nowrap td {
    white-space: nowrap; /* Prevent text wrapping in table cells */
}
  
#detailsModal .modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh; */
}

/* #rating .card-body {
    max-height: 200px !important;
    overflow-y: auto;
} */

.rating-container {
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

/* .rating-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
} */

/* .rating-item {
    display: flex;
    align-items: center;
} */

.rating-item {
    display: flex;
    justify-content: flex-start;
    width: 100%; /* Ensure the container is wide enough */
    gap: 10px;
}

.progress-bar {
    width: 250px;
    flex-shrink: 0;
}

.star {
    font-size: 18px;
    margin-right: 2px;
}

/* .progress-bar {
    flex-grow: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-right: 10px;
} */

.progress-bar {
    width: 250px;
    flex-shrink: 0;
}

.progress {
    height: 100%;
    background-color: #4CAF50; /* Green color */
    border-radius: 4px;
}

.count {
    font-size: 14px;
    margin-left: 10px;
}

.card-container {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    width: 280px;
    font-family: Arial, sans-serif;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.quantity-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-qty {
    width: 30px;
    height: 30px;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.qty-number {
    font-size: 16px;
    font-weight: 600;
}

.stock {
    font-size: 14px;
}

.subtotal-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 15px;
}

.subtotal-label {
    color: #777;
}

.subtotal-price {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.buttons-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-cart {
    background-color: #00b14f;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-buy {
    background-color: #fff;
    color: #00b14f;
    border: 1px solid #00b14f;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    font-size: 14px;
    color: #6c757d;
    cursor: pointer;
}

.footer-links span:hover {
    text-decoration: underline;
}

/* .customTextArea:not([readonly]):focus {
    border-color: #4caf50;
    outline: none;
}

.customTextArea[readonly] {
    border-color: red;
} */

#customTextArea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc !important;
    border-radius: 5px;
    font-size: 14px;
    resize: none;
    margin-top: -11px;
    min-height: 81px;
    max-height: 150px;
    border: none;
    text-align: left;
    overflow-y: auto;
    word-break: break-word;
    margin-bottom: 1%;
}

#customTextArea p {
    margin-bottom: 0px;
}

.custom-pagination .page-link {
    font-size: 12px;
    padding: 0.5rem 0.75rem;
}

.ql-toolbar {
    text-align: start !important;
}

.ql-toolbar-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 5px;
    flex-wrap: wrap;
}

.char-counter {
    font-size: 12px;
    color: gray;
    margin-left: auto;
    padding-right: 10px;
}

.reviews-noted {
    font-size: 14px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.reviews-noted .swal2-title{
    font-size: 18px !important;
    font-style: normal !important;
    color: #545454;
}

.reviews-noted.swal2-error {
    color: #dc3545;
    font-size: 12px;
}

.custom-button {
    font-size: 12px;
}

/* Style for the dropdown container */
.cart-variant {
    font-size: 12px !important;
    border-radius: 4px;
    padding: 5px;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    width: 100%;
}

/* Hover effect for dropdown */
.cart-variant:hover {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Focus style for dropdown */
.cart-variant:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Dropdown Options */
.cart-variant option {
    padding: 8px;
    font-size: 12px;
    background-color: #ffffff;
    color: #333;
}

.cart-variant option:hover {
    background-color: #007bff;
    color: #ffffff;
}

.cart-variant option:checked {
    background-color: #007bff;
    color: #ffffff;
}

.cart-variant option:disabled {
    color: #aaa;
    background-color: #f9f9f9;
}

#expedisi-fee option {
    padding: 8px;
    border-radius: 2px;
}

#check-out-table1_wrapper {
    overflow-x: auto !important;
    width: 100%;
}

#check-out-table1_wrapper .dt-length,
#check-out-table1_wrapper .dt-search,
#check-out-table1_wrapper .dt-info,
#check-out-table1_wrapper .dt-processing,
#check-out-table1_wrapper .dt-paging {
    font-size: 12px !important;
}

#check-out-table1_wrapper .dt-length label {
    margin-left: 5px !important;
}

#check-out-table1_wrapper #dt-length-1 option {
    border-radius: 0px !important;}
#check-out-table1_wrapper.dt-container {
    width: 100%;
    min-width: 800px;
    overflow-x: auto !important;
    white-space: nowrap;
}

#card-iframe.card {
    min-height: 933px;
}
#body-iframe.card-body {
    max-height: 909px;
}

#iframe-container {
    position: relative;
    width: 100%;
    /* height: 870px; */
    min-height: 875px;
    overflow: hidden;
}

#iframe-container iframe {
    width: 100%;
    /* height: 100%; */
    /* min-height: 1002px; */
    min-height: 874px;
    border: none;
    display: block;
}

#payment-submit:hover {
    color: white !important;
}

/* Apply padding-left to the Select2 container */
.select2-container--default .select2-selection--single {
    padding-left: 18px !important; /* Padding inside the dropdown box */
}

/* .select2-container--default .select2-results__option {
    padding-left: 18px !important;
} */
 
.select2-container--default .select2-selection__rendered {
    padding-left: 0px !important;
}

/* #expedisi.select2-container {
    z-index: 1050;
} */

.modal .select2-container--open {
    z-index: 99999 !important;
}

/* .star {
    color: transparent;
} */

/* .custom-pagination .page-item.active .page-link {
    font-size: 16px;
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
}

.custom-pagination .page-item.disabled .page-link {
    font-size: 12px;
    color: #ccc;
} */

/* .customTextArea:focus {
    border-color: #4caf50 !important;
    outline: none !important;
} */

/*** Footer End ***/