.widget-grid-switch-img img {
    height: 250px;
    object-fit: cover;
}

header .navbar .navbar-brand img, header.side-menu .logo img, header .sidebar-nav-menu .navbar-brand img {
    max-height: 65px;
}

header .navbar .navbar-brand img {
    height: auto;
}

.btn { border-radius: 8px; }

.btn.btn-nero {
    background: #1D1D1B;
    border-color: #1D1D1B;
    color: #ffffff;
}
.btn.btn-nero:hover, .btn.btn-nero:focus {
    background: transparent;
    color: #1D1D1B;
}

input[type="button"], input[type="text"], input[type="email"], input[type="search"], input[type="password"], textarea, input[type="submit"], input[type="tel"] {
    -webkit-appearance: none;
    border-radius: 8px;
}

.navbar-toggler-line:nth-child(1), .navbar-toggler-line:nth-child(4) {
    width: 22px;
}

@media (max-width: 991px) {
    .navbar-toggler {
        margin: 0;
    }
}

.active-form .form-wrapper .search-form {
    border-radius: 0 0 16px 16px;
}

#cartOffcanvas {
    border-radius: 16px 0 0 16px;
}

.jnf-product-model-aside {
    border-radius: 0 16px 16px 0;
}

.select2 .select2-search,
.select2 .select2-search__field {
    transition: none;
}

.jnf-product-model-aside {
    padding-left: 0;
    margin-left: 0;
}

.jnf-product-model-aside #form-filters > ul {
        padding-left: 15px;
}

.no-break-ellipsis {
  white-space: nowrap;        /* Prevent line break */
  overflow: hidden;           /* Hide overflowing text */
  text-overflow: ellipsis;    /* Show ellipsis (...) */
}

.btn.btn-link {
    border-color: transparent !important;
}

.input-password i {
    cursor: pointer;
}


.btn.btn-dark-gray {
    background: #1D1D1B;
    border-color: #1D1D1B;
}

body {
    color: #767676;
}


input, textarea, select {
    border: 1px solid #c5c5c5;
    color: #767676;
}

.simple-dropdown .dropdown-menu li {
    line-height: normal !important;
}

.item .resize-on-hover {
    transition: all .5s ease-in-out;
}

.item:hover .resize-on-hover {
    transform: scale(1.025);
}

/* -------------------------------------------------------------------------- */
/*                                   Header                                   */
/* -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .nav-item.dropdown.simple-dropdown .dropdown-menu li a {
        padding: 3px 15px 3px;
        font-size: 14px;
        margin-bottom: 12px;
        display: inline-block;
    }
}

/* -------------------------------------------------------------------------- */
/*                                   Footer                                   */
/* -------------------------------------------------------------------------- */
#main-footer {
    background-color: #1D1D1B;
    border-radius: 32px 32px 0 0;
    /* box-shadow: 0 0 16px rgba(0, 0, 0, 0.5); */
}

footer .footer-logo img {
    max-height: 55px;
}

@media (max-width: 991px) {
    header .navbar .navbar-brand img, header.side-menu .logo img, header .sidebar-nav-menu .navbar-brand img {
        max-height: 45px;
    }
    
    footer .footer-logo img {
        max-height: 45px;
    }

}

@media (max-width: 768px) {
    .nav-header-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (min-width: 1200px) {
    .xl-no-border-right {
        border-right: 0 !important;
    }
   
}

@media (min-width: 768px) {
.cm-lg-no-border-bottom {
    border-bottom: 0 !important;
}
}

@media (min-width: 576px) {
    .cm-sm-no-border-bottom {
        border-bottom: 0 !important;
    }
}

.auth-pages #main-footer { border-radius: 0; }


/* -------------------------------------------------------------------------- */
/*                                 Google Maps                                */
/* -------------------------------------------------------------------------- */
.widget-google-maps { margin-bottom: -10px; }
.widget-google-maps iframe {
    width: 100%;
    height: 410px;
}

/* -------------------------------------------------------------------------- */
/*                               Categories Page                              */
/* -------------------------------------------------------------------------- */
.category-card {
    border-radius: 16px;
    display: block;
    overflow: hidden;
    padding:15px;
    border: 1px solid #e4e4e4;
    /* box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); */
    position: relative;
    aspect-ratio: 2 / 3;
}

.category-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition-duration: 1s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.category-card:hover .category-card__img {
    transform: scale(1.2);
}



.category-card .category-card__overlay {
    background-image: linear-gradient(to bottom, #22292f, #22292f00);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 22px;
    height: 50%;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
}

.category-card .category-card__footer p {
    margin-bottom: 0;
    color: #1D1D1B;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.category-page h1 {
    font-weight: 700 !important;
    font-size: 42px;
    line-height: normal;
}

.category-page h2 {
    font-size: 16px !important;
    /* text-transform: uppercase; */
    font-weight: 400;
    line-height: 150% !important;
}

/* -------------------------------------------------------------------------- */
/*                                 Breadcrumbs                                */
/* -------------------------------------------------------------------------- */
.breadcrumbs_widget  {
    background-color: #f7f7f7;
    padding: 8px 0;
    margin-top:80px;
    /* text-transform: uppercase; */
}

.breadcrumbs_widget  ul li {
    font-size: 13px;
}

.breadcrumbs_widget  a {
    color: #696969;
    font-weight: 500;
}

.breadcrumb ul > li:after {
    content: "\f0da";
    font-size: 8px;
}

@media (max-width: 990px) {
    .breadcrumbs_widget  {
        margin-top: 0px;
    }
}


/* -------------------------------------------------------------------------- */
/*                                  PRODUCTS                                  */
/* -------------------------------------------------------------------------- */
.stock-badge {
    background: #F1F5F9;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    line-height: 100%;
}
.stock-badge .stock-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50px;
    margin-right: 6px;
}

@media screen and (max-width: 1199px) {
    .jnf-float-btn {
        border-radius: 0 8px 8px 0;
    }
}

/* -------------------------------------------------------------------------- */
/*                                Product List                                */
/* -------------------------------------------------------------------------- */
#product-listing {
    list-style-type: none;
    margin-top: 50px;
}
.product-box .product-image {
    border-radius: 8px 8px 0 0;

}

.product-footer {
    border-top: none !important;
    text-align: left;
}

.product-code {
    font-size: 12px;
    color: #8e8e8e;
    margin-bottom: 0;
    line-height: 100%;
}

.product-footer .finishing-img {
    height: 15px;
    width: 15px;
    border-radius: 50px;
    margin-left: 4px;
}

.loading.hide {
    display: none !important;
}

.jnf-product-filter-reset-btn {
     margin-left: auto;
    background: #1D1D1B;
    border-radius: 8px;
    color: #fff;
    padding: 0px 12px;
    font-size: 12px;
    font-weight: 400;
    transition: all ease-in .25s;
}

.jnf-product-filter-reset-btn:hover {
    background: #474747;
}

/* -------------------------------------------------------------------------- */
/*                                   Product                                  */
/* -------------------------------------------------------------------------- */
.add-to-cart-wrapper {
    display: flex;
}

.add-to-cart-wrapper .btn {
    padding-top: 9px;
    padding-bottom: 9px;
}

.add-to-cart-wrapper .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #c5c5c5;
    border-radius: 50px;
    padding: 0 8px;
}

.add-to-cart-wrapper .quantity > * {
    position: static !important;
    border: none;
}

.add-to-cart-wrapper .quantity .input-text {
    border: none;
    line-height: normal;
    padding: 0;
    height: auto;
}

.product-description {
    font-size: 12px;
    line-height: 170%;
}

.product-sku {
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

.technical-doc-btn {
    margin-top: 32px;
}

.product-box {
    overflow: visible;
}

.jnf-product-item {
    margin-bottom: 0;
    padding: 0;
}
.jnf-product-item img.product-image {
    margin: 0 auto;
}

.jnf-product-item .product-container .product-inner {
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    display: block;
    height: 100%;
    overflow: hidden;
}

.jnf-product-item .product-container .product-inner:hover {
    transform: scale(1.02);
}

.jnf-product-item .product-container {
    padding: 4px;
    height: 100%;
}

.jnf-product-item .product-footer {
    padding: 16px;
    border-top: 1px solid #e7e7e7;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: auto;
}

.product-footer .product-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: .5rem;
}

img.product-image {
    min-height: 225px;
    height: 225px;
    width: auto !important;
    object-fit: contain;
}

.jnf-product-box {
    display: flex;
    flex-direction: column;
}

.jnf-product-box .price {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 18px;
    color: #1D1D1B;
    font-weight: 700;
    display: block;
}

.product-addons .tab-style-05 .nav-tabs .nav-item {
    margin: 4px;
}

.product-addons .tab-style-05 .nav-tabs .nav-link.active {
    background: #1D1D1B !important;
    color: #fff !important;
    box-shadow: none !important;
}

.product-addons .jnf-product-item {
    height: 100%;
}

.store-related-products .swiper-slide img.product-image {
    height: 200px !important;
}


.qty-text {
    width: 42px;
}

/* -------------------------------------------------------------------------- */
/*                                   Widgets                                  */
/* -------------------------------------------------------------------------- */

/* ------------------------------- HTML BLOCK ------------------------------- */
.widget-html-block h1, .widget-html-block h2, .widget-html-block h3, .widget-html-block h4, .widget-html-block h5, .widget-html-block h6 {
    color: #444;
    font-weight: 600;
    margin-top: 3rem;
    line-height: auto;
}

.widget-html-block h1 {
    font-size: 2.8rem;
}
.widget-html-block h2 {
    font-size: 2.2rem;
}
.widget-html-block h3 {
    font-size: 1.8rem;
}
.widget-html-block h4 {
    font-size: 1.4rem;
}

.widget-html-block ul {
    margin-left: 42px;
}

.widget-html-block ul li {
    margin-bottom: 1em;
}

/* ------------------------------ location_list ----------------------------- */

.widget-location-list {
}

.widget-location-list__card {
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.widget-location-list__card-footer {
    padding: 16px;
}

.widget-location-list__card-footer .contact-item {
    display: flex;
    /* align-items: center; */
    margin-bottom: 25px;
    line-height: 130%;
}

.widget-location-list__card-footer .contact-icon {
    width: 30px;
    height: 30px;
    /* background: rgba(0, 0, 0, 0.2); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.widget-location-list__card-footer .title {
    font-weight: 600;
    color: rgb(33 37 41);
}