.h-60px {
    height: 60px;
}
.h-80px {
    height: 80px;
}
.h-100px {
    height: 100px;
}
.h-400px {
    height: 400px;
}
.header-icon {
    position: relative;
}
.cart-counter {
    position: absolute;
    top: -5px;
    right: 22px;
    width: 40px;
    height: 40px;
    line-height: 38px;
    font-size: 31px;
    background: #ffc107!important;
}
.label-input-field input,
.label-input-field textarea,
.label-input-field select {
    width: 100%;
    padding: 16px 24px;
    border-radius: 4px;
    border: 1px solid #e4e4e4;
    outline: 0;
}
.label-input-field label {
    z-index: 1;
}

/* select 2 css */
.select2-container {
    width: auto;
    display: block;
    padding: 14px 24px;
    border-radius: 4px;
    border: 1px solid #e4e4e4;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 60px;
    right: 10px;
}
.select2-dropdown {
    top: -4px;
    border-color: #e4e4e4;
}
.select2-container--open .select2-dropdown {
    left: -1px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
}
.select2-container--default .select2-selection--single {
    border: none;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: #e4e4e4;
}

/* toastr */

#toast-container {
    z-index: 999999;
}

#toast-container > div {
    padding: 15px 25px 15px 50px !important;
    opacity: 1;
    margin-bottom: 1.25rem;
    border-color: transparent;
    -webkit-box-shadow: 0 0.25rem 0.5625rem -0.0625rem rgba(0, 0, 0, 0.2),
        0 0.275rem 1.25rem -0.0625rem rgba(249, 250, 251, 0.05) !important;
    box-shadow: 0 0.25rem 0.5625rem -0.0625rem rgba(0, 0, 0, 0.2),
        0 0.275rem 1.25rem -0.0625rem rgba(249, 250, 251, 0.05) !important;
    border-radius: 0.3125rem;
}

[dir="rtl"] #toast-container > div {
    direction: rtl;
    background-position: center right 0.9375rem;
    padding: 15px 50px 15px 25px !important;
}

[dir="rtl"] #toast-container.toast-top-left {
    right: 12px;
    left: auto;
}

[dir="rtl"] #toast-container.toast-top-right {
    left: 12px;
    right: auto;
}

[dir="rtl"] #toast-container.toast-bottom-left {
    right: 12px;
    left: auto;
}

[dir="rtl"] #toast-container.toast-bottom-right {
    left: 12px;
    right: auto;
}

[dir="rtl"] #toast-container.toast-top-full-width#toast-container > div,
[dir="rtl"] #toast-container.toast-bottom-full-width#toast-container > div {
    left: 0;
    right: 0;
}

#toast-container > .toast {
    max-width: 100%;
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 15px 16px;
    overflow: visible;
}

#toast-container.toast-bottom-full-width > div,
#toast-container.toast-top-full-width > div {
    padding: 15px 50px 15px 50px !important;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0 !important;
}

#toast-container.toast-bottom-full-width > div .toast-close-button,
#toast-container.toast-top-full-width > div .toast-close-button {
    top: 12px !important;
}

html:not([dir="rtl"])
    #toast-container.toast-bottom-full-width
    > div
    .toast-close-button,
html:not([dir="rtl"])
    #toast-container.toast-top-full-width
    > div
    .toast-close-button {
    right: 12px !important;
}

[dir="rtl"] #toast-container.toast-bottom-full-width > div .toast-close-button,
[dir="rtl"] #toast-container.toast-top-full-width > div .toast-close-button {
    left: 12px !important;
}

#toast-container > .toast-info {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%2303c3ec' d='M256 90c44.3 0 86 17.3 117.4 48.6C404.7 170 422 211.7 422 256s-17.3 86-48.6 117.4C342 404.7 300.3 422 256 422s-86-17.3-117.4-48.6C107.3 342 90 300.3 90 256s17.3-86 48.6-117.4C170 107.3 211.7 90 256 90m0-42C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z'/%3E%3Cpath fill='%2303c3ec' d='M277 360h-42V235h42v125zm0-166h-42v-42h42v42z'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-info .toast-close-button {
    background-color: #0d5abf !important;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
}

#toast-container > .toast-error {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%23ff3e1d' d='M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-error .toast-close-button {
    background-color: #e03a1d !important;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
}

#toast-container > .toast-success {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%2371dd37' d='M186.301 339.893L96 249.461l-32 30.507L186.301 402 448 140.506 416 110z'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-success .toast-close-button {
    background-color: #20b250 !important;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
}

#toast-container [dir="rtl"] > .toast-success {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%2371dd37' d='M96 110l-32 30.5L325.7 402L448 280l-32-30.5l-90.3 90.4L96 110z'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-warning {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%23ffab00' d='M32 464h448L256 48 32 464zm248-64h-48v-48h48v48zm0-80h-48v-96h48v96z'/%3E%3C/svg%3E") !important;
    background-size: 24px;
}

#toast-container > .toast-warning .toast-close-button {
    background-color: #fcac00 !important;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
}

#toast-container:not(.toast-bottom-full-width, .toast-top-full-width) > div {
    width: 25rem !important;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    top: auto;
    opacity: 0.2;
    height: 0.1875rem;
    background-color: #212b36;
    border-bottom-right-radius: 0.3125rem;
    border-bottom-left-radius: 0.3125rem;
}

[dir="rtl"] .toast-progress {
    left: auto;
    right: 0;
}

.toast-close-button {
    position: absolute;
    top: 0;
    text-shadow: none;
    border-top-right-radius: 0.25rem;
    padding: 0.2rem 0.45rem !important;
    -webkit-transition: all 0.23s ease 0.1s;
    transition: all 0.23s ease 0.1s;
    opacity: 1 !important;
    line-height: 0.98;
}

html:not([dir="rtl"]) .toast-close-button {
    right: 0 !important;
}

[dir="rtl"] .toast-close-button {
    left: -7px !important;
    right: auto !important;
}

@media (max-width: 419.98px) {
    .toast {
        width: 300px !important;
    }
}
#toast-container .toast-close-button {
    font-weight: 300;
    color: #f4f6f8 !important;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06);
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06);
}

#toast-container > .toast-success,
#toast-container > .toast-success .toast-message a,
#toast-container > .toast-success .toast-message label {
    background-color: #ffffff !important;
    color: #20b250;
}
#toast-container > .toast-error,
#toast-container > .toast-error .toast-message a,
#toast-container > .toast-error .toast-message label {
    background-color: #ffffff !important;
    color: #e03a1d;
}
#toast-container > .toast-info,
#toast-container > .toast-info .toast-message a,
#toast-container > .toast-info .toast-message label {
    background-color: #ffffff !important;
    color: #0d5abf;
}
#toast-container > .toast-warning,
#toast-container > .toast-warning .toast-message a,
#toast-container > .toast-warning .toast-message label {
    background-color: #ffffff !important;
    color: #fcac00;
}
#toast-container > .toast-success .toast-close-button,
#toast-container > .toast-error .toast-close-button,
#toast-container > .toast-info .toast-close-button,
#toast-container > .toast-warning .toast-close-button {
    color: #ffffff !important;
}
/* toastr */

.address-delete-modal {
    max-width: 700px !important;
}

.min-h-400 {
    min-height: 400px !important;
}

.avatar-icon {
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
}

.vertical-product-card .card-btn {
    z-index: 1;
}
.mobile-toolbar {
    background-color: #f00;
    color: #ffffff;
}
.mobile-toolbar-label,
.mobile-toolbar-icon {
    color: #ffffff;
}
.mobile-toolbar-icon svg,
.mobile-toolbar-icon svg * {
    fill: #ffffff;
}
.owl-carousel .owl-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.banner-section.customBanner .swiper-slide a{
    max-height: 100%;
    height: 300px !important;
}
.service-item .bottom .right{
    padding: 3px 0 17px 0;
}
.qty_wraper {
    background-color: #ff0;
    color: #ff0406;
    padding: 7px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    width: 140px;
    margin: auto;
    top: 94%;
    border: 1px solid #ff0406;
}
.qty_wraper .qty_input {
    text-align: center;
    appearance: none;
    --webkit-appearance: none;
    border-radius: 4px;
    width: 40px;
    border: none;
    border-radius: 0;
    border-left: 1px solid #ff0406;
    border-right: 1px solid #ff0406;
    background: none;
    color: #ff0406;

}
.qty_wraper .qty_input::-webkit-outer-spin-button,
.qty_wraper .qty_input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.qty_wraper .qty_input[type=number] {
  -moz-appearance: textfield;
}
.qty_wraper .decreaseQty,
.qty_wraper .increaseQty{
    padding: 5px 10px;
    cursor: pointer;
    display: inline-block;
}
.qty_wraper .direct-add-to-cart-btn {
    line-height: 16px;
    background-color: #ff0;
    display: none;
}


.banner-section.customBanner {
    max-height: 300px;
}

.service-slider-area.owl-carousel button.owl-prev {
    position: absolute;
    left: 0;
    top: 45%;
    font-size: 20px;
    line-height: 20px;
    padding: 6px 8px !important;
    display: block;
    background: #FFF;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.4);
    border-radius: 50%;
}

.service-slider-area.owl-carousel button.owl-next {
    position: absolute;
    right: 0;
    top: 45%;
    font-size: 20px;
    line-height: 20px;
    padding: 6px 8px !important;
    display: block;
    background: #FFF;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.4);
    border-radius: 50%;
}
/* General styling for Owl Carousel navigation arrows */
.category-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Prevent interfering with carousel items */
}

.category-slider .owl-nav button {
    background: transparent;
    border: none;
    font-size: 30px;
    color: #333;
    pointer-events: all; /* Allow clicks on the arrows */
}

.category-slider .owl-nav .owl-prev {
    position: absolute;
    left: -30px; /* Adjust if necessary */
    pointer-events: all;
}

.category-slider .owl-nav .owl-next {
    position: absolute;
    right: -30px; /* Adjust if necessary */
    pointer-events: all;
}

.category-slider .owl-dots {
    text-align: center;
    margin-top: 10px;
}

.category-slider .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    margin: 5px;
}

.category-slider .owl-dots .owl-dot.active {
    background-color: #333;
}
/* General styling for Owl Carousel navigation arrows */
.category-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Prevent interfering with carousel items */
}

.category-slider .owl-nav button {
    background: transparent;
    border: none;
    font-size: 30px;
    color: #333;
    pointer-events: all; /* Allow clicks on the arrows */
}

.category-slider .owl-nav .owl-prev {
    position: absolute;
    left: -30px; /* Adjust if necessary */
    pointer-events: all;
}

.category-slider .owl-nav .owl-next {
    position: absolute;
    right: -30px; /* Adjust if necessary */
    pointer-events: all;
}

.category-slider .owl-dots {
    text-align: center;
    margin-top: 10px;
}

.category-slider .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    margin: 5px;
}

.category-slider .owl-dots .owl-dot.active {
    background-color: #333;
}

@media (min-width: 1199px) and (max-width: 1399.98px) {
    .d-none-1399 {
        display: none !important;
    }
}

.checkout-sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 991.98px){
    .cart-table tbody tr {
        flex-direction: row;
    }
    .cart-table tbody tr .product-image {
        display:none;
    }
    .cart-table tbody tr td {
        padding: 6px 12px;
        min-width: 85px;
    }
    .cart-table tbody tr td .product-qty{
        max-width: 100%;
    }
}
@media screen and (max-width: 600px) {
    .banner-section.customBanner {
        max-height: none;
    }
    .CATBOX .category-slider .tops{
        background: #FFF;
        box-shadow: 2px 3px 3px rgba(0,0,0,0.3);
        border-radius: 50%;
        height: 100px;
        width: 100px;
        
        margin: auto;
        padding: 10px;
    }
    .sliderCard .today-slider-area .tops img,
    .sliderCard .service-slider-area .tops img,
    .CATBOX .category-slider .tops img{
        width: auto !important;
        max-width: 100%;
        object-fit: cover;
    }
    .shop-grid .vertical-product-card .tops,
    .sliderCard .today-slider-area .tops,
    .sliderCard .service-slider-area .tops{
        max-width: 100%;
        height: 100px;
        padding: 10px;
    }
    .shop-grid .vertical-product-card .tops img,
    .sliderCard .today-slider-area .tops img,
    .sliderCard .service-slider-area .tops img{
        height: 100%;
        width: 100% !important;
        object-fit: cover;
    }
    .sliderCard {
        margin-top: 0.5rem !important;
    }
    .sliderCard .today-slider-area .service-item,
    .sliderCard .service-slider-area .service-item{
        margin-bottom: 30px;
    }
    .sliderCard .today-slider-area .qty_wraper,
    .sliderCard .service-slider-area .qty_wraper {
        border-radius: 12px 0;
        margin-top: -7px;
        width: 100%;
    }
    .shop-grid .qty_wraper {
        width: 100%;
        display: inline-block;
        border-radius: 4px;
        padding: 5px 10px;
        position: absolute;
        left: 0;
        right: 0;
        top: 90%;
        border-radius: 12px 0;
    }
    .p_bnx .vertical-product-card .direct-add-to-cart-btn,
    .shop-grid .vertical-product-card .tops .p_bnx a,
    .shop-grid .today-slider-area .tops .p_bnx a,
    .sliderCard .service-slider-area .service-item a{
        width: 100% !important;
        border-radius: 20px 0 20px 0;
        height: auto !important;
        padding: 5px 10px;
        bottom: auto;
        position: relative;
        border: none;
        background: none;
        margin-top: 0 !important;
    }
    .p_bnx .vertical-product-card .direct-add-to-cart-btn{
        padding: 10px;
        
    }
    
    .shop-grid .vertical-product-card .card-content{
        padding: 12px 12px 26px 12px;
    }
    .p_bnx .vertical-product-card  a{
       border-top-left-radius: 0;
       border-top-right-radius: 0;
        width: 100% !important;
       
    }

    .today-slider-area .owl-nav,
    .service-slider-area .owl-nav,
    .category-slider .owl-nav {
        display: none;
    }
    .today-slider-area .owl-dots,
    .service-slider-area .owl-dots,
    .category-slider .owl-dots {
        text-align: center;
    }

    .service-slider-area .owl-dots span,
    .category-slider .owl-dots span {
        background: red;
        width: 6px;
        height: 6px;
        display: block;
        margin-right: 10px;
        border-radius: 50%;
        border: 1px solid transparent;
    }
    .service-slider-area .owl-dots .owl-dot.active span,
    .category-slider .owl-dots .owl-dot.active span {
        border: 1px solid red;
        background: transparent;
    }
    
    .cst-scroll .service-item .tops{
        height: 170px !important;
    }
    .cst-scroll .service-item .tops img{
        width: 160px !important;
    }
}

@media screen and (max-width: 379px) {
    .cart-table tbody tr td {
        padding: 6px 6px;
        min-width: 70px;
    }
    .cart-table tbody tr .product-title {
        text-align: left !important;
    }
    .qty_wraper .decreaseQty, .qty_wraper .increaseQty{
        padding: 5px;
    }
}

/* Set a custom width for the small modal */
.modal-dialog.modal-sm {
    max-width: 400px;
    margin: 0.75rem auto;
}

/* Style the image inside the modal */
.carousel-image {
    width: 220px;
    height: auto;
    display: block;
}

.larger-image {
    width: 100%; /* Increase size by 20% */
    height: auto;
}
/* Ensure the modal content is vertically centered */
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Carousel controls positioning */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    width: auto;
    height: auto;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    font-size: 20px;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-50%) scale(1.1);
}

/* Left button */
.carousel-btn.prev-btn {
    left: -30px;
}

/* Right button */
.carousel-btn.next-btn {
    right: -30px;
}

/* Rounded pill shape for the buttons */
.carousel-btn.rounded-pill {
    border-radius: 50%;
}

/* Adjust modal header */
.modal-header {
    text-align: center;
    display: flex;
    justify-content: space-between;
}

.modal-header .btn-close {
    position: absolute;
    right: 10px;
}

/* Align the image vertically */
.carousel-inner {
    display: flex;
    align-items: center;
    height: 300px; /* Adjust based on your content size */
}

.carousel-product-description{
	text-align: left;
	padding-left: 2px;
}

/* TMO Section Styles */
.tmo-section {
    background-color: yellow;
    padding: 0px 0;
}

/* Left side content centered */
.tmo-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative; /* for flag positioning */
    text-align: center;
}

.tmo-left h1 {
    font-weight: 600;
    font-style: italic;
    color: #710909 !important;
    margin-bottom: 10px;
    font-size:30px;
}

.tmo-left .vehicle-image {
    max-width: 320px;
    margin-top: -20px;
}

.tmo-left h3 {
    font-style: italic;
    margin-top: 0px;
    font-size: 25px;
}

/* Right side styling */
.tmo-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tmo-right .powered-by {
    text-align: right;
    margin-bottom: 30px;
	font-size: 16px;
}

/* Image flag styling */
.tmo-left .flag-image {
    position: absolute;
    top: 0px;
    left: -25px;
    width: 22%; /* Adjust width as needed */
    height: auto;
    transform: rotate(-0deg); /* Rotates the image */
    transform-origin: left top;
}

/* Submit button styling */
.tmo-submit {
    background-color: red;
    color: yellow;
    font-weight: bold;
    font-size: 24px;
    padding: 0px 30px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 20px;
    margin-top: 18px;
}

.tmo-submit:hover {
    background-color: darkred;
}

/* Custom styling for the file input label */
.custom-file-label {
    display: block;
    background-color: #f8f9fa; /* Light background */
    padding: 15px;
    border: none; /* Border similar to form controls */
    border-radius: 4px;
    color: #6c757d; /* Placeholder-like color */
    cursor: pointer;
}

/* Change label color on hover */
.custom-file-label:hover {
    background-color: #e9ecef;
}

/* Optional label */
.form-group input[type="file"] + small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
}

/* Style for the bottom-right positioned label */
.additional-input-label {
    position: absolute;
    bottom: 10px; /* Adjust this value to ensure the label is inside the input/textarea */
    right: 10px;  /* Align the label to the right */
    font-size: 12px;
    color: black;
    pointer-events: none; /* Make sure the label does not interfere with input */
	font-weight: 500;
}