.ngs_product_item_carousel_container.active {
    position: fixed;
    z-index: 9999999;
    padding: 5px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000000ba;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.ngs_product_item_carousel_container.active .carousel-indicators {
    display: none;
}

.ngs_product_item_carousel_container.active .ngs_product_carousel_close.close-carousel.d-none {
    display: block !important;
    top: 0;
    right: 5%;
    position: absolute;
    font-size: 50px;
    z-index: 999998999;
    color: white;
    padding: 10px;
    cursor: pointer;
    line-height: 35px;
}

.ngs_product_item_carousel_container.active .carousel-control-next-icon,
.ngs_product_item_carousel_container.active .carousel-control-prev-icon {
    width: 3rem;
    height: 6rem;
}


.ngs_product_item_carousel_container.active .carousel-inner {
    height: 100vh;
}

.ngs_product_item_carousel_container.active .carousel-inner .carousel-item {
    height: 100vh;
    position: relative;
}

/* footer */
.ngs_callus_col strong {
    direction: ltr;
    display: flex;
}

.ngs_footer a {
    direction: ltr;
    display: inline-flex;
    flex-direction: row-reverse;
}


.ngs_product_item_carousel_container .carousel-item img {
    margin: 0 auto;
    display: block;
    cursor: pointer;
    max-height: 70vh;
    width: auto;
}

.ngs_product_item_carousel_container.active .carousel-item img {
    max-height: 98vh;
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    height: auto;
    transform: translate(-50%, -50%);
}

.ngs_product_item img.item-image-flip,
.ngs_product_item .item-image-flip-blur {
    opacity: 0 !important;
}


.ngs_product_item:hover img.item-image-default {
    opacity: 0 !important;
    transition: visibility 0s, opacity 0.5s linear;
}

.ngs_product_item:hover img.item-image-default-blur {
    opacity: 0 !important;
    transition: visibility 0s, opacity 0.5s linear;
}

.ngs_product_item:hover img.item-image-flip-blur {
    opacity: 0.5 !important;
    transition: visibility 0s, opacity 0.5s linear;
}


.ngs_product_item:hover img.item-image-flip {
    opacity: 1 !important;
    transition: visibility 0s, opacity 0.5s linear;
}


.ngs_product_item .item-image-default-blur,
.ngs_product_item .item-image-flip-blur {
    filter: blur(15px);
    opacity: 0.5;
    position: absolute;
    width: auto;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    padding: 10px;
    border: 0;
}

.ngs_product_item .item-image-default,
.ngs_product_item .item-image-flip {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    border: 0;
    z-index: 1;
    max-height: 100%;
    width: auto;

}

.ngs_product_item .card-img-top {
    position: relative;
    overflow: hidden;
}

.container-fluid {
    padding: 0 4rem;
}


.toast {
    z-index: 999999;
}

.ngs_product_item.ngs_special_offer::after,
.ngs_product_item.ngs_featured::before {
    content: ' ';
    position: absolute;
    left: 10px;
    top: 10px;
    width: 100px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.ngs_product_item.ngs_special_offer::after {
    background-image: url(../assets/imgs/special-offer.png);
}

.ngs_product_item.ngs_featured::before {
    background-image: url(../assets/imgs/featured.png);
}

.ngs_product_item.ngs_featured.ngs_special_offer::before {
    top: 65px;
    left: 20px;
}

.ngs_product_item.ngs_special_offer:hover::after,
.ngs_product_item.ngs_featured:hover::before {
    height: 45px;
}


.ngs_home_top_views_products .ngs_product_item.ngs_special_offer:hover::after,
.ngs_home_latest_products .ngs_product_item.ngs_special_offer:hover::after,
.ngs_home_sale_products .ngs_product_item.ngs_special_offer:hover::after,
.ngs_home_top_views_products .ngs_product_item.ngs_featured:hover::before,
.ngs_home_latest_products .ngs_product_item.ngs_featured:hover::before,
.ngs_home_sale_products .ngs_product_item.ngs_featured:hover::before {
    height: 35px;
}

.ngs_home_top_views_products .ngs_product_item.ngs_special_offer::after,
.ngs_home_latest_products .ngs_product_item.ngs_special_offer::after,
.ngs_home_sale_products .ngs_product_item.ngs_special_offer::after,
.ngs_home_top_views_products .ngs_product_item.ngs_featured::before,
.ngs_home_latest_products .ngs_product_item.ngs_featured::before,
.ngs_home_sale_products .ngs_product_item.ngs_featured::before {
    height: 30px;
}

.ngs_home_top_views_products .ngs_product_item.ngs_featured.ngs_special_offer::before,
.ngs_home_latest_products .ngs_product_item.ngs_featured.ngs_special_offer::before,
.ngs_home_sale_products .ngs_product_item.ngs_featured.ngs_special_offer::before {
    top: 50px;
}


.ngs_product_item {
    box-shadow: unset;
    border: 1px solid #ededed;
    border-radius: 5px;
}

.ngs_categories_grid .card {
    border: none;
}


.ng_widget_container img {
    max-width: 100%;
    height: auto !important;
    width: auto;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border: 1px solid red !important;
}


.ngs_cart_item_userfields {
    font-style: italic;
}

#add-to-cart-modal .modal-dialog {
    max-width: 800px;
}

.page-product .ngs_main_container {
    margin-top: 50px;
}

html[dir="rtl"] .ngs_categories_list .ngs_cat_list_item_parent img {
    margin-left: 10px;
}

.ngs_categories_list .ngs_cat_list_item_parent img {
    margin-right: 10px;
}


.page-cart .ngs_cart_floating_button {
    display: none;
}

.page-cart .ngs_cart_form_table tr td:first-child {
    min-width: 120px;
}

#cart_google_map {
    width: 600px;
    height: 300px;
}

.page-myorders .ngs_orders_table .grid-item-desc .grid-item-img {
    display: none;
}


.ngs_orders_table {
    font-size: 12px;
}

.table>:not(caption)>*>* {
    padding: 5px;
}

.ngs_orders_table .btn {
    font-size: 12px;
}


.ngs_categories_grid .card:hover,
.ngs_product_item.card:hover {
    transform: scale(1.03);
    transition: all 300ms ease-in-out 0s;
    -moz-transition: all 300ms ease-in-out 0s;
    -webkit-transition: all 300ms ease-in-out 0s;
    -o-transition: all 300ms ease-in-out 0s;
}

.ngs_logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
}

.ngs_cart_table input,
.ngs_cart_table .btn {
    text-align: center;
    font-size: 12px;
}

.ngs_mobile_menu_bars .dropdown-toggle.btn {
    font-size: 24px;
    padding: 0 2px;
}

.ngs_mobile_menu_searchbar_row {
    margin-top: 10px;
}



.ngs_mobile_header {
    margin-bottom: 15px;
}


.ngs_mobile_header .ngs_logo img {
    max-height: 40px;
    margin-top: 5px;
}

.ngs_mobile_header {
    position: fixed;
    background-color: white;
    padding-bottom: 10px;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    max-width: none;
}

.ngs_user_field_input {
    max-width: 300px;
}


.ngs_mobile_menu_bars_row .ngs_header_currency .dropdown-toggle,
.ngs_mobile_menu_bars_row .ngs_language_dropdown .dropdown-toggle {
    font-size: 14px;
    margin-top: 2px;
}

.ngs_mobile_header .ngs_socialmedia_links>.btn {
    padding: 0 2px;
}

.ngs_mobile_header .ngs_socialmedia_links {
    margin-top: 14px;
}

.ngs_logo {
    margin: 0;
}

iframe.note-video-clip {
    max-width: 100% !important;
    height: auto !important;
}


@media (max-width: 768px) {
    .ngs_mobile_menu_bars_row .col-auto {
        padding-left: 0;
        padding-right: 0;
    }

    .ngs_products_grid .card-title,
    .ngs_products_grid .card-subtitle {
        font-size: 12px;
    }

    .container-fluid {
        padding: 0 1rem;
    }

    #cart_google_map {
        width: 100%;
        height: 200px;
    }

    .ngs_product_item_price_final {
        padding: 0 10px;
    }

    .ngs_orders_table .btn {
        font-size: 10px;
    }

    .ngs_cart_table {
        font-size: 12px;
    }

    .ngs_mobile_header .ngs_mobile_menu_bars .dropdown-toggle::after {
        display: none;
    }


}



@media screen and (min-width: 768px) {

    .dropdown-toggle.btn:hover+.dropdown-menu,
    .dropdown-toggle.btn+.dropdown-menu:hover {
        display: block !important;
        margin-top: -3px !important;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

}


.btn-primary {
    --bs-btn-bg: var(--bs-primary) !important;
    --bs-btn-border-color: var(--bs-primary) !important;
    --bs-btn-hover-bg: var(--bs-primary) !important;
    --bs-btn-hover-border-color: var(--bs-primary) !important;
    --bs-btn-disabled-color: var(--bs-primary) !important;
    --bs-btn-disabled-bg: var(--bs-primary) !important;
    --bs-btn-disabled-border-color: var(--bs-primary) !important;
    --bs-btn-disabled-opacity: 0.45 !important;
}