.rd-badge.bg-dark
{
    background: rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important;
    color: #3C4148 !important;
}

.restaurant-info-wrapper {
    z-index: 9;
}

.menu-category-list li label {
    padding: 10px;
}

.menu-sidebar ul li.active,
.menu-sidebar ul li:hover {
    border-left: 3px solid blue;
}

.menu-sidebar ul li {
    position: relative;
    border-left: 3px solid #fff;
    cursor: pointer;
}

.menu-sidebar ul li .overlay-cat {
    position: absolute;
    bottom: 0;
    background: linear-gradient(90deg, #006630 0%, #ffffff 100%);
    color: #fff;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .5s;
}

.menu-sidebar ul li.active .overlay-cat,
.menu-sidebar ul li:hover .overlay-cat {
    opacity: 0.2;
}

.cart-items,
.menu-category-list {
    overflow: auto;
}

.menu-category-list li a {
    color: inherit;
    display: block;
}

.cart-wrapper,
.menu-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* full height column */
}

.item-image {
    position: relative;
}

.menu-list .item-image img {
    width: 100px;
    height: 100px;
    border-radius: 10px !important;
    object-fit: cover;
}

.menu-list .item-image .add-item-btn {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -10px;
    width: 100%;
    text-align: center;
}

span.add-item-btn .btn {
    font-size: 12px;
}

.food-attribute img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

.menu-list .item-desc {
    font-size: 12px;
}

.menu-list .item-desc p {
    margin-bottom: 5px;
}

.customization-avail span.add-item-btn:before {
    position: absolute;
    content: "Customisable";
    bottom: -22px;
    left: 50%;
    transform: translate(-50%, 0%);
    color: #9EA2A1;
    font-weight: 400;
    font-size: 12px;
}

.customization-avail.menu-list{
    padding-bottom: 30px !important;
}

.deal-item-section .customization-avail.menu-list {
    padding-bottom: 40px !important;
}

.delete-cart-item,.delete-deal-item {
    padding: 3px;
    font-size: 10px;
    line-height: normal;
    border-radius: 4px;
}

.addons-hr {
    margin: 5px 0 5px 25px;
}

.order-addons-hr {
    margin: 5px 0px;
}

.deal-item-hr{
    border-bottom: 1px dotted #6c757d;
    margin: 2px 0;
}

.addon-price {
    width: 50px;
    text-align: right;
}

.item-details-slider .slick-prev {
    left: 5px;
}

.item-details-slider .slick-next {
    right: 5px;
}

.item-details-section .add-to-cart {
    position: absolute;
    bottom: 20px;
    width: 200px;
    left: 50%;
    transform: translate(-50%, 0);
}

.custom-control-section .option-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-control-section .option-box input {
    display: none;
}

.custom-control-section .option-box .label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Custom checkbox style */
.custom-control-section .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #28a745;
    border-radius: 4px;
    display: inline-block;
    position: relative;
}

.custom-control-section .checkmark.radio{
    border-radius: 50%;
}

.custom-control-section .option-box:has(input:checked) {
    border: 1px solid #28a745;
    background: #f6fff9;
}

.custom-control-section input:checked+.checkmark {
    background: #28a745;
}

.custom-control-section input:checked+.checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-control-section .price {
    font-weight: bold;
    color: #333;
}

/* .item-short-section .add-cart-btn{
    position: absolute;
    bottom: 0px;
} */

.close-modal{
    position: absolute;
    left: 8px;
    top: 8px;
    line-height: normal;
}

.close-modal i{
    font-size: 18px;
}

.font-size-14{
    font-size: 14px !important;
}

.sticky_footer_modal .modal-dialog-scrollable .modal-content
{
  display: flex;
  flex-direction: column;
}

.sticky_footer_modal .modal-dialog-scrollable .modal-body
{
  flex: 1 1 auto;
  overflow-y: auto;
}

.sticky_footer_modal .sticky_footer
{
  position: sticky;
  bottom: -15px;
  background: #fff;
  z-index: 10;
}

.osahan-menu-fotter.sticky_footer
{
    position: sticky;
    bottom: 0;
}

.menu-list .item-info a
{
    color: inherit;
}

.bootstrap-select button.dropdown-toggle
{
    padding: 9px 12px 9px 16px;
    background: transparent;
    border-radius: var(--bs-border-radius) !important;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.bootstrap-select button.dropdown-toggle:focus
{
    outline: unset !important;
}

.bootstrap-select button.dropdown-toggle:active
{
    background: transparent;
}

.bootstrap-select button.dropdown-toggle:hover , .bootstrap-select button.dropdown-toggle.show
{
    border-color: #28a745 !important;
}

.bootstrap-select>.dropdown-toggle:hover:after,.bootstrap-select>.dropdown-toggle.show
{
    color: #28a745 !important;
}

.bootstrap-select .dropdown-menu li a
{
    padding: 10px 15px;
    line-height: 1.2;
    border-top: 1px solid #EBEBEB;
    color: #777;
    font-weight: 400;
    font-size: 14px;
    border-radius: 0;
}

.bootstrap-select .dropdown-menu li a:active,.bootstrap-select .dropdown-item.active{
    background-color: var(--bs-dropdown-link-hover-bg);
}

.bootstrap-select.dropdown .dropdown-menu
{
    padding: 6px 0;
}

.bootstrap-select.dropdown .dropdown-menu:not(.show)
{
    z-index: -1;
}

.bootstrap-select .bs-ok-default:after
{
    border-width: 0 .23em .23em 0;
}

.bootstrap-select .dropdown-menu li.selected a
{
    color: #e7604a;
    font-weight: 600;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark
{
    top: 10px;
}

.coupon-box .content.minimize,.menu-list .content.minimize
{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}
.content.minimize.fade-out::after
{
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2.5em;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
}


.load-more-loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.load-more-loader::after,
.load-more-loader::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent #00C2A8 #00C2A8;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
}

.load-more-loader::before {
    width: 32px;
    height: 32px;
    border-color: #535151 #535151 transparent transparent;
    animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.widget-header.active {
    font-weight: bold;
}

.phone-wrapper .iti{
    width: 100%;
}
.phone-wrapper .iti:has(.is-invalid)~.invalid-feedback{
    display: block;
}

#toastContainer .toast-header .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
}

#toastContainer .toast.toastbtn {
    border-radius: 10px;
}

#toastContainer .toast .toast-header {
    padding: 7px 10px;
    border-radius: 10px 10px 0 0;
    border-bottom: rgba(248, 249, 250, 0.50) !important;
}

#toastContainer .toast .toast-body {
    padding: 10px;
}

#toastContainer .btn-close:focus {
    box-shadow: none;
}

.form-control.is-invalid, .was-validated .form-control:invalid, .otp-field.is-invalid .form-control {
    border-color: var(--bs-danger) !important;
}

.coupon-code {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.coupon-code .cpnCode {
    border: 1px dashed #00c2a8 !important;
    padding: 10px 15px;
    border-right: 0;
    width: 100%;
}

.coupon-code .cpnBtn {
    border: 1px solid #00c2a8 !important;
    background: #00c2a8 !important;
    padding: 10px;
    color: #fff;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: .5s;
}

.coupon-code:hover .cpnBtn {
    border: 1px solid #3c4149 !important;
    background: #3c4149 !important;
}

img.restaurant-logo {
    height: 41px;
    width: 41px;
    object-fit: cover;
}

.restaurant-mismatch-wrapper .btn-box .btn {
    padding: 5px;
    font-size: 12px;
    width: 50%;
    font-weight: 600;
}

/* new css changes  */


.bg-primary
{
    background: #00c2a8 !important;
}

.bg-dark
{
    --bs-bg-opacity: 1;
    background-color: #3C4148 !important;
}

.filter .form-check-input:checked {
    border-color: #00c2a8;
    background-color: #00c2a8;
}
.offer-section {
    background-color: #3c4149;
}

.btn-success {
    background: #6c757d !important;
    border-color: #6c757d !important;
}

.btn-success.btn-success:hover {
    border-color: #00c2a8 !important;
    background-color: #00c2a8 !important;
}

.btn-primary
{
    background-color: #00c2a8 !important;
    border-color: #00c2a8 !important;
}

.btn-primary:hover
{
    background: #6c757d !important;
    border-color: #6c757d !important;
}



.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active
{
    border-bottom: 2px solid #00c2a8 !important;
    color: #00c2a8 !important;
}
.custom-control-section .checkmark
{
    border: 2px solid #00c2a8;
}
.custom-control-section .option-box:has(input:checked)
{
    border: 1px solid #00c2a8;
    background: #00c2a80a;
}
.custom-control-section input:checked+.checkmark
{
    background: #00c2a8;
}
.custom-control-section input:checked+.checkmark::after
{
    content: "";
    position: absolute;
    left: 5.2px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

a
{
    color: #3e434b;
}

.menu-sidebar ul li.active, .menu-sidebar ul li:hover
{
    border-left: 3px solid #00c2a8;
}

.search .nav-tabs .nav-item.show .nav-link, .search .nav-tabs .nav-link.active
{
    border-bottom: 2px solid #00c2a8 !important;
    background-color: #00c2a8 !important;
    color: #ffffff !important;
}

.btn-outline-primary
{
    color: #3c4149;
    border-color: #3c4149;
}
.btn:hover
{
    color: var(--bs-btn-hover-color);
    background-color: #00c2a8;
    border-color: #00c2a8;
}
.text-primary
{
    color: #00c2a8 !important;
    text-decoration: none !important;
}

.reward-container {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ffce00, #ff8800);
  color: #222;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  z-index: 9999;
  transform: translateY(-50px);
  opacity: 0;
  animation: slideDown 0.5s ease-out forwards, fadeOut 0.5s ease-in 3.5s forwards;
}

.reward-content {
  display: flex;
  align-items: center;
}

.reward-icon {
  font-size: 40px;
  margin-right: 15px;
  animation: bounce 1s ease infinite;
}

.reward-text h4 {
  font-size: 18px;
  margin: 0;
  font-weight: bold;
}

.reward-text p {
  margin: 5px 0 0 0;
  font-size: 14px;
}

@keyframes slideDown {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-50px);
  }
}

.dropdown.header-parish .dropdown-toggle{
    border: 1px solid var(--bs-border-color);
    border-radius: 5px;
}

.header-parish .filter .form-check-input,
.header-parish .filter .form-check-input:checked{
    border-radius: 50%;
}

.header-parish .filter .form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.custom-modal form {
    display: contents;
}

#addressbook_map {
    height: 250px;
    width: 100%;
}

.custom-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-label {
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 10px;
}

.marker-icon {
    width: 100%;
    height: 100%;
    max-width: 25px !important;
}

select~.select2-container{
    width: 100% !important;
}
select~.select2-container .select2-selection {
    border: var(--bs-border-width) solid var(--bs-border-color);
}

select.is-invalid~.select2-container .select2-selection {
    border-color: var(--bs-danger) !important;
}

select~.select2-container .select2-selection .select2-selection__rendered {
    padding-left: 11px;
}
.select2-container {
    z-index: 9999;
}

/* none css for all */
#no_permission.d-none, #map_location.d-none, .parish_select.d-none, .pickup-address.d-none, .delivery-address.d-none, .est-time.d-none, .preferred_time.d-none,.address-box.d-none,.force-hide.d-none{
    display: none !important;
}

.cart-items  .addon_details {
    cursor: pointer;
}

.qty-input-grp {
    width: 90px;
    justify-content: end;
}

p.card-text {
    height: 70px;
}

.checkout-items #cart-items .gold-members.px-2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.custom-tip {
    position: relative;
}

.custom-tip input {
    padding-left: 40px;
}

.custom-tip span.tip-icon {
    position: absolute;
    top: 50%;
    transform: translate(0px,-50%);
    left: 15px;
    font-weight: bold;
    font-size: 16px;
}

.applied-coupon {
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 8px;
    margin-top: 15px;
}

.applied-coupon button.remove-coupon-btn {
    background: transparent;
    border: none;
    font-size: 11px;
}

.applied-coupon button.change-tip-btn {
    background: transparent;
    border: none;
    font-size: 11px;
}

.checkout.coupon-code .cpnBtn{
    padding: 7px;
    min-width: 100px;
}

.checkout.coupon-code .cpnCode{
    padding: 7px 15px;
}

#couponModal .modal-body {
    padding-top: 0;
}

#couponModal .search-header {
    position: sticky;
    top: 0;
    background: #fff;
    left: 0;
    z-index: 11111111;
    padding: 15px;
    margin: 0px -15px 15px -15px;
    border-bottom: 1px solid #ccc;
}

a.check-grp.nav-item input {
    display: inline !important;
}

a.check-grp.nav-item {
    display: flex !important;
    align-items: center !important;
}


.checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-top: 0;
}

.checkbox input {
    position: absolute;
    width: 0;
    left: 50px;
    height: 0;
    opacity: 0;
    cursor: pointer;
}

.checkbox .checkmark {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    outline: 1px solid #acacac;
    transition: all 0.2s ease;
}

.checkbox:hover .checkmark {
    background: #f4f4f5;
    transition: all 0.2s ease;
}

.checkbox input:checked ~.checkmark {
    background: #3f7fed;
    outline: 1px solid rgb(95, 126, 240);
}

.checkbox input[type="radio"] ~ .checkmark {
    border-radius: 50%;
}

.checkbox .checkmark::after {
    position: absolute;
    display: block;
    content: "";
    left: 50%;
    top: 40%;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -moz-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: all 0.2s ease;
}

.checkbox input:checked~.checkmark::after {
    opacity: 1;
    transition: all 0.2s ease;
}

.otp-send-btn {
    position: absolute;
    right: 10px;
    top: 14px;
    font-size: 12px;
    transform: translate(0px,-50%);
    color: #00c2a8;
    font-weight: 500;
    border-left: 1px solid;
    padding-left: 5px;
}

.phone-otp.phone-wrapper input {
    background-image: none !important;
}

#custom-page-main ul.parent-list{
    list-style: none;
    padding-left: 0;
}

#custom-page-main ul.parent-list li {
    padding: 10px 0;
}

#custom-page-main ul.sub-list {
    list-style: disc;
    margin-left: 40px;
    margin-bottom: 10px !important;
    margin-top: 0px !important;
    padding-left: 0;
}

#custom-page-main ul.sub-list li {
    padding: 0;
    padding-left: 5px;
}

#custom-page-main p{
    margin-bottom: 10px;
}

.restaurant_nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.restaurant_nav_icon {
    flex-wrap: wrap;
}
.restaurant_nav_icon i {
    width: 30px;
    height: 30px;
    text-align: center;
}

.restaurant_nav_icon .nav-link.active {
    background: inherit;
}

.no-order img {
    width: 100%;
    max-width: 200px;
}

.x-logo img{
    width: 100%;
    height: 100%;
    max-width: 10px;
    max-height: 10px;
    object-fit: cover;
}

.reviews-members img.reviewer-img {
    width: 35px;
    height: 35px;
    object-fit: cover;
}

.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: left;
}

.option-button {
    font-weight: 600;
    border: 1px solid #e4e6f6;
    background: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    user-select: none;
    display: flex;
    align-items: center;
}

/* hide the real radio */
.option-button input[type="checkbox"] {
    display: none;
}

/* hover */
.option-button:hover {
    background-color: #e4e6f6;
}

/* selected */
.option-button:has(input[type="checkbox"]:checked) {
    background-color: #00c2a8;
    color: #fff;
    border: none;
    transform: scale(1.05);
}
