:root {
    --bs-primary: #0e1b36;
    --bs-blue: #0e1b36;
    --bs-breadcrumb-divider: '>';
    --body-bg: #f1f3f6;
    --accent: #27639f;
    --accent-hover: #1c5c9c;
    --header-height: 3.677rem;
    --transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn {
    --bs-btn-padding-x: 2.4rem;
    --bs-btn-padding-y: 1.4em;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-font-weight: 600;
    --bs-btn-line-height: 1.2;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-hover-bg: var(--accent-hover);
    --bs-btn-box-shadow: none;
    --bs-btn-focus-box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    border-radius: 4px;
    transition: none;
}



.btn-primary {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
}

.btn-sm {
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.5rem;
}

body {
    font-family: "Albert Sans", sans-serif;
    overflow-x: hidden;
    background: var(--body-bg);
}

main {
    min-height: calc(100vh - 88px);
    transition: 0.5s;
}

.menu-opened {
    overflow: hidden;
}

.menu-opened main,
.menu-opened footer {
    filter: blur(30px);
}

a {
    color: var(--bs-primary);
    text-decoration: none;
}

.underline-hover:hover {
    text-decoration: underline;
}

.table {
    --bs-table-hover-bg: rgba(0, 0, 0, 0.05);
}

footer {
    background-color: var(--bs-primary);
    color: #fff;
}

#main-nav {
    gap: 1rem;
}

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

#main-navbar {
    background-color: #fff;
}

#main-navbar .navbar-brand {
    color: var(--accent);
    font-weight: 700;
}

#main-navbar .nav-link {
    color: #0079c4;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(6px);
    z-index: 99999;
}

.loading-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.l-spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top-color: #00bfff;
    border-radius: 50%;
    animation: spin 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    20% {
        transform: rotate(144deg) scale(1.012);
    }

    40% {
        transform: rotate(288deg) scale(1.025);
    }

    60% {
        transform: rotate(432deg) scale(1.018);
    }

    80% {
        transform: rotate(576deg) scale(1.008);
    }

    100% {
        transform: rotate(720deg) scale(1);
    }
}



.container {
    max-width: 90%;
}

.page-header {
    position: relative;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 5rem);
}

.page-header h1 {
    margin: 1rem 0;
    font-weight: 700;
    font-size: 2rem;
}

.page-header::before {
    /* content: ''; */
    background-color: rgba(14, 27, 54, 0.4);
    backdrop-filter: blur(3px) brightness(70%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-header .container {
    z-index: 2;
}


.search-ajax-results-opened .main-content-wrapper {
    opacity: 0.3;
    filter: blur(2px) grayscale(50%);
}


.default-card {
    position: relative;
    /* padding: 1rem; */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    /* margin-bottom: calc(var(--bs-gutter-x) * 1); */
    overflow: hidden;
}

.js .fade-transition {
    transition: 0.3s cubic-bezier(.25, .46, .45, .94);
}

/* .js .faded {
    transform: translateY(1rem);
    opacity: 0;
    pointer-events: none;
} */




.division-card-title {
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    background-color: #fff;
    width: 100%;
    text-align: center;
}



/* .division-card {
    padding-top: 4rem;
} */

.division-card-title>* {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    color: #fff;
    letter-spacing: 0.02rem;
}

.division-card-title a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    /* color: #fff; */
    /* line-height: 1; */
    /* background: #27639f0a; */
    /* margin-bottom: 0.5rem; */
}

.division-card .family-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /* margin-bottom: 0.5rem; */
    text-decoration: none;
    color: var(--bs-primary);
    font-weight: 700;
    gap: 1rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #ddd;
    font-size: 0.8rem;
    line-height: 1.2;
    transition: var(--transition);
}

.division-card .family-list-item:hover {
    background-color: var(--accent);
    /* padding: 0.5rem; */
    color: #fff;
}

.division-card .family-list-item img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: #fff;
}


.division-card .family-list-item svg {
    width: 20px;
    height: 20px;
}

.division-card .family-list-item:last-child {
    border-bottom: 0;
    margin: 0;
}

.default-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: var(--bs-primary);
    font-weight: 700;
    background: #fff;
    padding: 0.5rem;
    border-radius: 8px;
}

.default-list-item img {
    width: auto;
    height: auto;
    max-width: 100px;
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: center;
    background-color: #fff;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}


.list-item-content {
    display: flex;
    gap: 1rem;
    align-items: center;
}


.list-item-title {
    font-size: 1rem;
}

.list-item-with-subs {
    display: block;
    position: relative;
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05);
}

.list-item-ws-title>* {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.list-item-ws-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.list-item-ws-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 1rem;
    object-fit: contain;
    object-position: center;
    transition: 0.3s ease-out;
}

.list-item-ws-image a:hover img {
    transform: scale(1.1) rotate(-5deg);
}


.list-item-subs {
    max-height: 11.1rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.list-item-subs ul {
    padding: 0 1rem 0 0;
    list-style: none;
    margin: 0;
}

.list-item-subs li {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.list-item-subs li:last-child {
    margin-bottom: 0;
}

.list-item-subs li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.list-item-subs li .img-wrapper {
    display: inline-block;
    position: relative;
    border-radius: 5px;
    background-color: #fff;
    height: auto;
    width: 3rem;
    aspect-ratio: 1;
    flex-shrink: 0;
    /* min-width: 3rem; */
    /* max-width: 3rem; */
    padding: 0.5rem;
    overflow: hidden;
    border: 1px solid #ddd;
}

.list-item-subs li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: 0.3s ease-out;
}

.list-item-subs li a:hover img {
    transform: scale(1.1) rotate(-5deg);
}

.list-item-with-subs a:hover {
    color: #1745a8;
}

.pjax-filters-loading .list-item-with-subs .list-item-ws-title,
.pjax-filters-loading .list-item-with-subs>.row {}

.pjax-filters-loading .list-item-with-subs:after {}



.card_loader {
    width: 100%;
}

.card_loader .image img {
    max-width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.card_loader .content {
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    padding-top: 0;
}



.card_loader.is-loading .image,
.card_loader.is-loading h2,
.card_loader.is-loading h3,
.card_loader.is-loading h4,
.card_loader.is-loading h5,
.card_loader.is-loading h6,
.card_loader.is-loading p,
.card_loader.is-loading li {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    -webkit-animation: 1.5s shine linear infinite;
    animation: 1.5s shine linear infinite;
}

.card_loader.is-loading .image {}

.card_loader.is-loading h2,
.card_loader.is-loading h3,
.card_loader.is-loading h4,
.card_loader.is-loading h5,
.card_loader.is-loading h6 {
    height: 30px;
}

.card_loader.is-loading p {
    height: 70px;
}

.card_loader.is-loading li {
    height: 2rem;
}

@-webkit-keyframes shine {
    to {
        background-position-x: -200%;
    }
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

.custom_line_loader {
    float: left;
    width: 140px;
    height: 16px;
    margin-top: 12px;
    border-radius: 7px;
    background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 40px, #ddd 80px);
    background-size: 600px;
    animation: shine-lines 1.6s infinite linear;
}

.custom_line_loader {
    margin-top: 0;
    width: 200px;
    height: 25px;
}

.custom_line_loader~.custom_line_loader {
    background-color: #ddd;
}

@keyframes shine-lines {
    0% {
        background-position: -100px;
    }

    40%,
    100% {
        background-position: 140px;
    }
}

@keyframes shine-avatar {
    0% {
        background-position: -32px;
    }

    40%,
    100% {
        background-position: 208px;
    }
}




.search-input {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.page-header-search {
    position: relative;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.search-wrapper {
    position: relative;
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
}

.search-wrapper .search-icon {
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    pointer-events: none;
}

.search-wrapper svg {
    width: 1.5rem;
    height: auto;
}

.search-wrapper .search-input {
    padding-left: 2.75rem !important;
    font-weight: 700;
    color: #000;
    box-shadow: none !important;
    border-left: 0;
    border-top: 0;
    border-right: 0;
    border-radius: 8px;
    border-bottom: 0;
    background: #fff;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05);
}

.search-wrapper .search-input::placeholder {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.3);
}

.search-wrapper .btn-search-go {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border: none;
    background-color: var(--accent);
    color: #fff;
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    width: 3rem;
}

.search-wrapper .btn-search-go i,
.search-wrapper .btn-search-go i svg {
    width: 20px;
    height: 20px;
}


.level-nav-item {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.level-nav-item>li {
    position: relative;
}

.level-nav-item li a {
    text-decoration: none;
    color: #0d6efd;
    /* bootstrap primary */
    padding: 5px 10px;
    display: inline-block;
}

.level-nav-item li a:hover {
    text-decoration: underline;
}

/* submenu */
.level-nav-item li ul.submenu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    /* hidden by default */
    background: #f8f9fa;
    /* light gray */
    border: 1px solid #ddd;
    min-width: 200px;
    z-index: 1000;
}

.level-nav-item li ul.submenu li a {
    display: block;
    padding: 5px 10px;
    color: #212529;
    /* bootstrap text color */
}

.level-nav-item li ul.submenu li a:hover {
    background-color: #e9ecef;
}

/* show submenu on hover */
.level-nav-item li:hover>ul.submenu {
    display: block;
}

.levels-nav {
    margin-top: 100px;
}

.level-subnavs {
    display: none;
}


.header-breadcrumbs {
    position: relative;
    padding: 0;
    background: #fff;
    transition: 0.5s;
}

.header-breadcrumbs li,
.header-breadcrumbs .breadcrumb-item.active {
    font-weight: 600;
}


.header-breadcrumbs .breadcrumb {
    display: flex;
    margin: 0;
    align-items: center;
    height: 100%;
}

.header-breadcrumbs nav {
    display: flex;
    align-items: center;
}


.breadcrumb-item .has-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* height: 100%; */
    /* width: 8.3rem; */
    /* padding: 1.5rem; */
}


.header-breadcrumbs .breadcrumb .has-logo img {
    /* padding: 0.25rem 0; */
    /* position: absolute; */
    left: 0;
    top: 0;
    transform: translateY(2px);
    width: auto;
    max-width: 6rem;
    height: 100%;
    object-fit: contain;
    object-position: center left;
}

.header-breadcrumbs .breadcrumb .has-logo svg {
    /* position: absolute; */
    /* right: 0; */
    /* top: 13px; */
    width: 20px;
}

.header-breadcrumbs .breadcrumb .has-logo svg rect {
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-box: fill-box;
    transform-origin: center;
}

/* .header-breadcrumbs .breadcrumb .hovered .has-logo svg rect:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-breadcrumbs .breadcrumb .hovered .has-logo svg rect:nth-child(2) {
    opacity: 0;
}

.header-breadcrumbs .breadcrumb .hovered .has-logo svg rect:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
} */



.breadcrumb-item>a {
    display: inline-block;
    /* padding: 0.75rem 0; */
}



.header-breadcrumbs-dropdown {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    border-top: 1px solid #ddd;
}


.submenu-loading {

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;

}


.breadcrumb-item {
    display: flex;
    position: relative;
    align-items: center;
    height: 100%;
}





.submenu-tree {
    display: none;
    list-style: none;
    padding: 0;
    position: relative;
    background: #fff;
    min-width: 15rem;
    max-width: 16rem;
}

/* .breadcrumb-item:hover > .submenu-tree, */
/* .breadcrumb-item.hovered > .submenu-tree {
    display: block;
} */

.breadcrumb-item>.submenu-tree {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: -12px;
}

.breadcrumb-item>.submenu-tree-division>div>li>a {
    padding: 0.963rem 0.7rem;
}

.breadcrumb-item>.submenu-tree-division img {
    height: 30px;
    width: auto;
    border: 0;
    object-fit: contain;
    padding: 3px;
}

.breadcrumb-item>.submenu-tree-division [data-code="FLUIDtech"] img {
    height: 26px;
}

.breadcrumb-item .submenu-tree-family img {
    width: 4rem;
    height: auto;
    aspect-ratio: 4/2.8;
    background-color: #fff;
    border: 1px solid #00000012;
    padding: 0;
}

.breadcrumb-item>.submenu-tree-division .st-nav-item-promech img {
    max-width: 100px;
}

/* .breadcrumb-item>.submenu-tree-division .st-nav-item-extraflex img {
    transform: scale(1.3);
    transform-origin: left;
} */


.submenu-tree li {
    position: static;
}

.submenu-tree li>a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 0.7rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.submenu-tree li.hovered>a {
    background: rgba(0, 0, 0, 0.08);
}

.dark-mode .submenu-tree li.hovered>a {
    background: rgba(255, 255, 255, 0.15);
}

.submenu-tree li ul {
    display: none;
    position: absolute;
    top: -1px;
    left: 100%;
    /* apare în dreapta */
    z-index: 1000;
    background: #fff;
    /* border: 1px solid #eee; */
    min-height: calc(100% + 2px);
}

.submenu-tree {
    border: 1px solid #eee;
}

.submenu-tree>div {
    max-height: 85vh;
    overflow: auto;
}

li.breadcrumb-item.hovered>ul,
.submenu-tree li.hovered>ul {
    display: block;
}

.submenu-tree li>a::after {
    content: "▶";
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.2s;
}

.submenu-tree li.hovered>a::after {
    transform: rotate(90deg);
    /* rotim săgeata când se deschide */
}

.submenu-tree li>a[data-level="subcategory"]::after {
    display: none;
}

.submenu-tree li img {
    width: 42px;
    height: 36px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.submenu-tree li span {
    font-size: 12px;
    line-height: 1.15;
}


.close_submenu_tree {
    display: none;
    position: absolute;
    right: 0.375rem;
    top: 50%;
    margin-top: -1em;
    background: 0;
    border: 0;
}

.header-breadcrumbs-has-hovered .close_submenu_tree {
    display: inline-block;
}


main:after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 28, 55, 0.52);
    backdrop-filter: blur(20px);
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 5;
}

.dark-mode main:after {
    background-color: rgba(14, 28, 55, 0.92);
}

.header-breadcrumbs-has-hovered main:after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-breadcrumbs-and-back-button-wrapper {
    position: relative;
    display: flex;
    gap: 1rem;
    padding: 0.7rem 0;
}

.header-breadcrumbs-and-back-button-wrapper .breadcrumb .breadcrumb-item:nth-child(2) {
    padding-left: 1rem;
}

.header-breadcrumbs-and-back-button-wrapper .breadcrumb .breadcrumb-item:nth-child(2):before {
    display: none;
}



.main-content-hero {
    display: flex;
    margin-bottom: 2rem;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.main-content-hero-empty {
    margin: 0;
}

.btn-level-back {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon-back::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.5303 5.46967C10.2374 5.17678 9.76256 5.17678 9.46967 5.46967L3.46967 11.4697C3.17678 11.7626 3.17678 12.2374 3.46967 12.5303L9.46967 18.5303C9.76256 18.8232 10.2374 18.8232 10.5303 18.5303C10.8232 18.2374 10.8232 17.7626 10.5303 17.4697L5.81066 12.75H20C20.4142 12.75 20.75 12.4142 20.75 12C20.75 11.5858 20.4142 11.25 20 11.25H5.81066L10.5303 6.53033C10.8232 6.23744 10.8232 5.76256 10.5303 5.46967Z"/></svg>');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    background-color: currentColor;
}

.btn-level-back-header {
    position: relative;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    align-self: center;
    color: #fff;
    background-color: var(--accent);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.31);
    border: 0;
}

.dark-mode .btn-level-back-header {
    background-color: var(--bs-primary);
}


.btn-level-back-header-text {
    position: absolute;
    bottom: -100%;
    left: 0;
    background: rgba(14, 27, 54, 0.84);
    color: #fff;
    font-size: 12px;
    text-transform: none;
    min-width: max-content;
    padding: 0.75em 1em;
    border-radius: 3px;
    letter-spacing: normal;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.btn-level-back-header:hover .btn-level-back-header-text {
    opacity: 1;
    transform: none;
}

.td-has-link {}

.td-has-link a:hover {
    text-decoration: underline;
}



.loading-container {
    width: 100%;
    max-width: 100px;
    text-align: center;
    color: #aaa;
    position: relative;
    margin-top: 2rem;
}

.loading-container:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #aaa;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    animation: movingLineMini 2.4s infinite ease-in-out;
}

@keyframes movingLineMini {
    0% {
        opacity: 0;
        width: 0;
    }

    33.3%,
    66% {
        opacity: 0.8;
        width: 100%;
    }

    85% {
        width: 0;
        left: initial;
        right: 0;
        opacity: 1;
    }

    100% {
        opacity: 0;
        width: 0;
    }
}

.loading-text {
    font-size: 0.75rem;
    line-height: 1.5rem;
    letter-spacing: 0;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-evenly;
}

.loading-text span {
    animation: moveLettersMini 2.4s infinite ease-in-out;
    transform: translateX(0);
    position: relative;
    display: inline-block;
    opacity: 0;
    text-shadow: 0px 1px 4px rgba(46, 74, 81, 0.3);
}

/* delay pentru fiecare literă */
.loading-text span:nth-child(1) {
    animation-delay: 0.05s;
}

.loading-text span:nth-child(2) {
    animation-delay: 0.1s;
}

.loading-text span:nth-child(3) {
    animation-delay: 0.15s;
}

.loading-text span:nth-child(4) {
    animation-delay: 0.2s;
}

.loading-text span:nth-child(5) {
    animation-delay: 0.25s;
}

.loading-text span:nth-child(6) {
    animation-delay: 0.3s;
}

.loading-text span:nth-child(7) {
    animation-delay: 0.35s;
}

@keyframes moveLettersMini {
    0% {
        transform: translateX(-3rem);
        opacity: 0;
    }

    33.3%,
    66% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(3rem);
        opacity: 0;
    }
}


.search-results-table {
    position: relative;
}

.page-header-search-results {
    position: relative;
}

.ajax-search-results {
    padding: 1rem;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    margin-top: 1rem;
    max-height: 20rem;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

.ajax-search-results ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ajax-search-results ul li {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.ajax-search-results img {
    width: 2rem;
    height: 1.5rem;
    object-fit: contain;
    object-position: center;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
    padding: 0.25rem;
}

.ajax-search-results a {}

.ajax-search-results a:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}


.sort-label {
    font-size: 0.875rem;
    flex-shrink: 0;
}

.filters-flex {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.applied-filters {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.applied-filters .remove-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.applied-filters .remove-options>* {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 15px;
    background: var(--bs-primary);
    padding: 0.5rem;
    border-radius: var(--bs-border-radius);
    color: #fff;
    font-weight: 500;
}

.applied-filters .remove-options .icon {
    display: flex;
}

.applied-filters .remove-options .icon svg {
    max-width: 0.5rem;
    height: auto;
    filter: invert();
}

.applied-filters .btn {
    padding: 0.5rem;
    text-align: center;
    font-size: 14px;
    flex-shrink: 0;
}

.form-filter-wrp {
    font-size: 13px;
    position: relative;
    color: #000;
    font-weight: 500;
    background-color: #fff;
    border-radius: var(--bs-border-radius-lg);
    overflow: visible;
    transition: var(--transition);
}

.form-filter-reset-wrp {
    box-shadow: 0 0 1px var(--bs-danger);
}

.form-filter-wrp.used {
    box-shadow: 0 0 0 1px var(--accent);
    color: var(--accent);
}

.form-filter-wrp:hover,
.form-filter-wrp.active {
    box-shadow: 0 0 0 1px #000;
}

.form-filter-wrp:last-child {
    margin: 0;
}

.form-filter-wrp .title {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem;
    cursor: pointer;
    font-size: 0.75rem;
    gap: 0.5rem;
    height: 100%;
}

#articole-filtrate .form-filter-wrp {
    display: inline-block;
    width: auto;
}

.current-filtered-values {
    display: inline-block;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.form-filter-reset-wrp .title {
    color: var(--bs-danger);
}


.form-filter-wrp.form-filter-reset-wrp .title .icon svg {
    width: 16px;
}

.form-filter-reset-wrp path {
    fill: var(--bs-danger);
}


.btn_reset_single_filter {
    background: transparent;
    border: 1px solid #d2adb1;
    border-radius: 5px;
    padding: 2px 5px;
}

.btn_reset_single_filter:hover {
    border-color: var(--bs-danger);
}

.btn_reset_single_filter svg {
    width: 16px;
}

.btn_reset_single_filter path {
    fill: var(--bs-danger);
}

#form-filters select {
    font-size: 0.875rem;
}

.form-filter-wrp .title>* {
    display: flex;
    font-weight: 600;
    margin: 0;
}

.form-filter-wrp .title .icon svg {
    width: 0.9em;
    height: auto;
}

.form-filter-values-wrp {
    position: absolute;
    top: calc(100% + 1rem);
    background-color: var(--body-bg);
    max-height: 20rem;
    overflow-y: auto;
    padding: 0.5rem;
    display: none;
    z-index: 5;
    border-radius: var(--bs-border-radius-lg);
    box-shadow: inherit;
    min-width: 168px;
}


.form-filter-wrp.unavailable {
    /* opacity: 0.3;
    pointer-events: none;
    user-select: none; */
}

.form-filter-wrp.unavailable .icon {
    /* opacity: 0; */
}


.table> :not(caption)>*>* {
    border-color: var(--body-bg);
    padding: .72rem .5rem;
}

.table> :not(caption)>.tr-add-border>* {
    border-bottom: 1px solid var(--body-bg);
}

.tr-add-border .form-control {
    box-shadow: none !important;
    border: 0;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.tr-add-border .form-control.search-input {
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 380px;
}

.articole-dropdown-content {
    position: relative;
    padding: 2rem;
}

.articole-dropdown-content .product-card.product-card-image {
    height: 100%;
}



#modalArticle .toggle-filter {
    pointer-events: none;
}

#modalArticle .toggle-filter .icon {
    display: none;
}

#modalArticle .form-filter-reset-wrp {
    display: none;
}

#modalArticle .product-card.product-card-image {
    height: auto;
}

#modalArticle .form-filter-wrp.used {
    box-shadow: none !important;
    background-color: var(--bs-light);
}

.article-modal-breadcrumbs {

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.article-modal-breadcrumbs ul {
    display: flex;
    list-style: none;
    gap: 1em;
    padding: 0;
}

.article-modal-breadcrumbs a {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
}

.article-modal-breadcrumbs a:hover {
    text-decoration: underline;
}

.article-modal-breadcrumbs li:after {
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, "/");
    margin-left: 1em;
}

.article-modal-breadcrumbs li:last-child:after {
    display: none;
}


.hide-scrollbar::-webkit-scrollbar {
    width: 0;
}

.form-filter-values-wrp .form-check {
    margin-bottom: 0.5rem;
    padding: 0;
}

.form-filter-values-wrp .form-check-operator {
    font-size: 11px;
    font-weight: 600;
    color: #000;
}

.form-filter-values-wrp .form-check:last-child {
    margin-bottom: 0;
}

.form-filter-values-wrp .form-check label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    line-height: 1em;
    padding: 0.5rem;
    background: #fff;
    border-radius: var(--bs-border-radius);
    cursor: pointer;
}

.form-filter-values-wrp .form-check .label-operator {
    padding: 0;
    gap: 0;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.form-filter-values-wrp .form-check .label-operator label {
    padding: 0.6rem;
    width: 50%;
    border-radius: 0;
}

.form-filter-values-wrp .form-check .label-operator label:first-child {
    border-right: 1px solid var(--body-bg);
}

.form-filter-values-wrp .form-check-input {
    width: 1rem;
    height: auto;
    aspect-ratio: 1/1;
    border: none;
    margin: 0;
    background-color: #eaf7f9;
    box-shadow: 0 0 0px 1px #5bc5cf70 !important;
}

.form-filter-values-wrp .form-check-input:checked[type=checkbox],
.label-operator input:checked[type=radio] {
    background-color: var(--bs-primary);
}

.search_in_form_filter_values {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.range-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="range"] {
    max-width: 100%;
}



.row-presiune-min-max {
    --bs-gutter-x: 0.5rem;
}

.row-presiune-min-max .form-control {
    padding: .35rem .5rem;
    font-size: 13px;
}

.row-presiune-min-max input[type="number"]::-webkit-inner-spin-button,
.row-presiune-min-max input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.row-presiune-min-max input[type="number"] {
    -moz-appearance: textfield;
}

.table-articles-filtered td:first-of-type a {
    display: block;
}

.table-articles-filtered td:first-of-type img {
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    padding: 0.2em;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.table-articles-filtered td {
    vertical-align: middle;
    font-size: 0.875rem;
}

.articole-filtrate-link {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--accent);
}

.articole-filtrate-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23007bff" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M19 9l-7 7-7-7"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

#articole-filtrate {
    padding-bottom: 2rem;
}

.table-articles-filtered-wrapper {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    min-height: 500px;
}

.table-articles-filtered-wrapper table {
    margin: 0;
}

.table-striped>tbody>tr:nth-of-type(2n+1)>* {}

.btn-load-more.has-loading-i {
    background-color: transparent;
    border: transparent;
    pointer-events: none;
    transition: none;
}

.btn-chevron-down {
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
}


.td-button {
    position: relative !important;
}

.td-button button {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 5px;
    text-align: center;
}

.table-hover>tbody>tr.article-dropdown-row:hover>*,
.table-hover>tbody>tr.article-dropdown-row>* {
    --bs-table-bg-state: var(--body-bg);
}


.btn-chevron-down svg {
    transition: 0.3s transform;
    will-change: transform;
}

.toggle-box-opened .btn-chevron-down svg {
    transform: rotate(180deg);
}


.main-container-subcategory {
    max-width: 1080px;
}

.mcs-lay-sm .main-container-subcategory {
    max-width: 1080px;
}

.mcs-lay-md .main-container-subcategory {
    max-width: 1200px;
}

.mcs-lay-xl .main-container-subcategory {
    max-width: calc(100% - 2rem);
}


.product-main-content {
    position: relative;
    margin-top: var(--header-height);
}

.product-top-part {
    position: relative;
}

.product-top-header {
    margin: 2rem 0;
}

.main-container-subcategory .product-top-header {
    text-align: center;
}

.product-top-header-title {
    font-size: 2rem;
}

.pts-min-height-box>.row {
    /* min-height: 60vh; */
}

.transform-on-scroll .pts-min-height-box {
    transition: opacity 0.2s ease-out;
}

.pts-sections-spacer {
    height: 4rem;
}

.product-ctas-bottom {
    position: relative;
}

.product-info-row {
    display: flex;
    gap: 1.5rem;
    height: 100%;
}

.product-info-row .product-info-col:nth-child(1) {
    width: 100%;
    height: 100%;
}

.product-info-row .product-info-col:nth-child(1) .product-card {
    height: 100%;
}

.product-info-row .product-info-col:nth-child(2) {
    min-width: 17rem;
}

.product-info-col .btn {
    width: 100%;
}

.product-info-col .btn span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.subcategory-filters-info li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: var(--bs-border-radius);
    margin-top: 1rem;
}


.product-card {
    position: relative;
    border-radius: var(--bs-border-radius-lg);
    background: #fff;
    padding: 1rem;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05);
}

.product-card.product-card-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-poza-sticky .product-card.product-card-image {
    height: auto;
}

.product-second-part .product-card.product-card-image {
    height: auto;
}


.product-card.product-card-image .product-images {
    height: 100%;
}




.product-card.product-card-image .product-images .product-image {
    height: 100%;
}

.product-card.product-card-image .product-images .product-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.product-card-product-properties {
    height: 100%;
}


.col-md-7 .table-product-properties-wrapper,
.col-lg-7 .table-product-properties-wrapper,
.col-md-8 .table-product-properties-wrapper,
.col-lg-8 .table-product-properties-wrapper,
.col-md-6 .table-product-properties-wrapper,
.col-lg-6 .table-product-properties-wrapper {
    max-height: 50vh;
    overflow-y: auto;
}


.product-images-slider {
    position: relative;
}

.product-images-slider .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
}

.product-images-slider .product-image.slide-visible {
    opacity: 1;
    pointer-events: all;
}

.product-images-slider .product-image:first-child {
    top: auto;
    left: auto;
    position: relative;
}

.p-slider-prev,
.p-slider-next {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: 0.2s;
    background-color: transparent;
    border-radius: 100px;
}

.p-slider-prev:hover,
.p-slider-next:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.p-slider-prev svg,
.p-slider-next svg {
    width: 24px;
    height: 24px;
}

.p-slider-prev {
    left: 20px;
}

.p-slider-next {
    right: 20px;
}



.table-product-properties {
    border-collapse: separate;
    border-spacing: 0;
}

.table-product-properties thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

.table-product-properties thead th {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    z-index: 2;
}


.btn-sort-table {
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
    vertical-align: bottom;
}

.btn-sort-table svg {
    width: 13px;
    height: 13px;
}

th.sorted-asc,
th.sorted-desc {}

.sorted-asc .trigger-sort,
.sorted-desc .trigger-sort {}

.sorted-asc .btn-sort-table,
.sorted-desc .btn-sort-table {
    border: 1px dotted #000;
}

.sorted-asc .btn-sort-table .arrow-asc,
.sorted-desc .btn-sort-table .arrow-desc {
    fill: #000;
}

.sorted-asc .btn-sort-table .arrow-desc,
.sorted-desc .btn-sort-table .arrow-asc {
    fill: #c1c1c1;
}

.sorted-client td strong {
    font-weight: 400;
}

.td-sorted-asc,
.td-sorted-desc,
.sorted-client td.td-sorted-asc strong,
.sorted-client td.td-sorted-desc strong {
    font-weight: 600;
}


.th-has-sort {
    cursor: pointer;
}


:not(.dark-mode) .table {
    /* --bs-table-striped-bg: #fff;
    --bs-table-border-color: var(--bs-light-2); */
}

table {
    border-collapse: collapse;
    /* ca să nu fie dubluri */
}

/* scoatem bordurile de pe margini */
tr:first-child,
tr:first-child th {
    border-top: none;
}

tr:last-child {
    border-bottom: none;
}

tr:last-child td {
    border-bottom: none;
}

td:first-child,
th:first-child {
    border-left: none;
}

td:last-child,
th:last-child {
    border-right: none;
}

.table-responsive {
    border-radius: var(--bs-border-radius-lg);
    border: 1px solid var(--bs-light-2);
}

.table-product-properties {
    padding: 0;
    margin: 0;
    list-style-type: none;
    font-size: 0.875rem;
}

.table-product-properties th {
    text-align: center;
    vertical-align: middle;
}

.table-product-properties a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}

.table-product-properties a:hover {
    color: var(--bs-primary) !important;
}

.table-product-properties td {
    text-align: center;
}

.table-product-properties li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 0.5rem;
    border-radius: var(--bs-border-radius);
}

.table-product-properties li span:first-child {
    font-weight: 600;
    color: #000;
}

.table-product-properties li span:last-child {
    max-width: 30rem;
    margin-left: auto;
    text-align: right;
}

.table-product-properties li:nth-child(odd) {
    background-color: #eeeeee;
}

.product-specifications {
    position: relative;
    padding: 2rem;
    background-color: #fff;
}


.gallery img {
    transition: filter 0.3s;
    cursor: pointer;

}

.product-image {
    overflow: hidden;
}

.product-image.gallery img {
    width: 100%;
    height: 100%;
}

.gallery img:hover {}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox .close,
.lightbox .prev,
.lightbox .next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    border-radius: 3rem;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.lightbox .close {
    top: 20px;
    right: 20px;
    transform: none;
}

.lightbox .prev {
    left: 30px;
}

.lightbox .next {
    right: 30px;
}

.lightbox[data-count="0"] .next,
.lightbox[data-count="0"] .prev,
.lightbox[data-count="1"] .next,
.lightbox[data-count="1"] .prev {
    display: none;
}







.btn_toggle_menu {
    background: transparent;
    border: 0;
    outline: 0;
    margin-left: 1.5rem;
}

#nav-icon3 {
    width: 24px;
    height: 16px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon3 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}


#nav-icon3 span:nth-child(1) {
    top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
    top: 7px;
}

#nav-icon3 span:nth-child(4) {
    top: 14px;
}

.menu-opened #nav-icon3 span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.menu-opened #nav-icon3 span:nth-child(2) {
    transform: rotate(45deg);
}

.menu-opened #nav-icon3 span:nth-child(3) {
    transform: rotate(-45deg);
}

.menu-opened #nav-icon3 span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}


.fullscreen-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    opacity: 0;
    width: 100%;
    height: calc(100% - var(--header-height));
    pointer-events: none;
    visibility: hidden;
    transition: 0.5s;
}

.fullscreen-menu-inner {
    position: relative;
    padding: 1rem 0.75rem;
    height: 100%;
    overflow: auto;
}

.menu-opened .fullscreen-menu {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.menu-opened .header-breadcrumbs {
    opacity: 0;
    /* top: 0; */
    pointer-events: none;
}

.fullscreen-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.fs-menu-list-item {
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4em;
    transition: 0.3s;
    border-radius: var(--bs-border-radius-lg);
    transition: var(--transition);
}

.fs-menu-list-item-level-0.has-opened {
    background-color: #fff;
    padding: 0.5rem;
}

.fs-menu-list-item.active>.fs-menu-flex-item>a {
    color: #215ad2;
    text-decoration: underline;
}

.fs-menu-list-item img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 0.75rem;
    transition: 0.3s;
    object-fit: contain;
    background: #fff;
    flex-shrink: 0;
}

.fs-menu-flex-item {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.btn-fs-menu-arrow {
    /* background: rgba(0, 0, 0, 0.25); */
    background-color: var(--accent);
    border: 0;
    outline: 0;
    box-shadow: none;
    border-radius: 4px;
    font-size: 0;
    padding: 10px;
}

.btn-fs-menu-arrow svg {
    transition: 0.3s;
    transform: rotate(0deg);
    transform-origin: center;
}

.btn-fs-menu-arrow span {
    width: 20px;
    height: 20px;
}

.has-opened>.fs-menu-flex-item>.btn-fs-menu-arrow svg {
    transform: rotate(90deg);
}

.fs-menu-list-item-level-0>.fs-menu-flex-item>a>img {
    width: 6rem;
    aspect-ratio: 4/2;
    box-shadow: none;
}

.fs-menu-list-item-level-1 .fs-submenu {
    position: relative;
    /* margin-top: 1rem; */
    padding: 0.5rem 0 0.5rem 0.5rem;
}

.fs-menu-list-item-level-1.has-opened {
    border: 1px solid #0000002b;
    border-radius: 8px;
    overflow: hidden;
    padding: 0.5rem;
}

/* .fs-menu-list-item-level-3.has-opened {
    background-color: #fff;
} */

.fs-menu-gr-content {
    position: relative;
}

.fs-menu-gr-content>p {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fullscreen-menu-inner>.fs-submenu {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}




.theme-switcher-box-info {
    display: inline-block;
    vertical-align: middle;

}


.scrolled-down .theme-switcher-box-info {
    color: #fff;
}

.theme-switch-btn {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 43px;
    height: 23px;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
}

.theme-switch-btn-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.7;
    transition: .3s;
}

.theme-switch-btn:hover .theme-switch-btn-bg {
    opacity: 1;
}

.theme-switch-btn-sw {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    height: 19px;
    width: 19px;
    top: 2px;
    left: 2px;
    box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: .3s;
}


.dark-mode .theme-switch-btn-bg {
    background-color: #fff;
    opacity: 1;
}

.dark-mode .theme-switch-btn-sw {
    left: 22px;
}


.theme-switcher-box-with-icons {
    margin-left: 2rem;
}


.theme-switcher-icon-btn {
    background: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
    position: relative;
    display: block;
    font-size: 24px;
    line-height: 24px;
    width: 24px;
    height: 24px;
}

.theme-switcher-icon-btn svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.theme-switcher-box-with-icons svg {
    transition: .3s;
    stroke-width: 0.5px;
}

.scrolled-down .theme-switcher-box-with-icons svg {
    fill: #363636;
}

.dark-mode .theme-switcher-box-with-icons svg {
    fill: #0079c4;
}

.theme-switcher-box-with-icons svg.svg-dark {
    opacity: 0;
}

.dark-mode .theme-switcher-box-with-icons svg.svg-light {
    fill: #fff;
    opacity: 0;
}

.dark-mode .theme-switcher-box-with-icons svg.svg-dark {
    opacity: 1;
}

.theme-switcher-icon-btn:hover svg {}


.theme-switcher-icon-btn:hover svg.svg-light {
    opacity: 0;
}

.theme-switcher-icon-btn:hover svg.svg-dark {
    opacity: 0.75;
}

.dark-mode .theme-switcher-icon-btn:hover svg.svg-light {
    opacity: 0.75;
}

.dark-mode .theme-switcher-icon-btn:hover svg.svg-dark {
    opacity: 0;
}


body.dark-mode {
    background-color: #26334f;
    color: #fff;
}

.dark-mode .default-card {
    background-color: #0e1b36;
}

.dark-mode a {
    color: #fff;
}

.dark-mode .search-wrapper .search-input {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
    background-color: #0e1b36;
}

.dark-mode .search-wrapper .btn-search-go {
    border-left-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .search-wrapper .search-input::placeholder {
    color: #ddd;
}

.dark-mode .search-wrapper i {
    color: #fff;
}

.dark-mode .division-card .family-list-item {
    color: #fff;
}

.dark-mode .list-item-with-subs,
.dark-mode .default-list-item {
    background-color: #0e1b36;
}

.dark-mode .list-item-with-subs a:hover {
    color: #eee;
}

.dark-mode .division-card-title {
    background-color: #2d3b59;
}

.dark-mode .ajax-search-results {
    background-color: #636568;
}

.dark-mode .header-breadcrumbs {
    background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .header-breadcrumbs a {
    color: #fff;
}

.dark-mode .header-breadcrumbs li,
.dark-mode .header-breadcrumbs .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .header-breadcrumbs .breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}

.dark-mode .submenu-tree {
    background-color: #0e1b36;
}

.dark-mode .submenu-tree li>a {
    border-color: #000;
}

.dark-mode .submenu-tree li ul {
    border-color: #000;
}










@media(min-width: 991px) {
    .mcs-lay-lg .main-container-subcategory {
        max-width: 90%;
    }
}

@media (max-width: 991px) {
    :root {
        --header-height: 3.5rem;
    }

    .desktop {
        display: none !important;
    }

    .container {
        max-width: 100%;
    }

    #main-nav {
        gap: 0.5rem;
    }

    .btn_toggle_menu {
        margin-left: 1rem;
    }

    /* Mobile Menu */
    .btn-fs-menu-arrow {
        background-color: transparent;
    }

    .fs-menu-list-item-level-0>.fs-menu-flex-item>.btn-fs-menu-arrow {
        background-color: var(--accent);
        color: #fff;
    }

    .fs-menu-list-item:last-child {
        margin-bottom: 0;
    }

    .fs-menu-list-item img {
        width: 4rem;
        height: auto;
        aspect-ratio: 4/2.75;
        padding: 0.25rem;
        box-shadow: 0 0 1px #000;
    }

    .fs-menu-list-item {
        font-weight: 400;
    }

    .fs-menu-nav-link {
        display: flex;
        align-items: center;
    }

    .fs-menu-list-item.has-opened>div>a {
        font-weight: 700;
    }


    .pts-sections-spacer {
        height: 1rem;
    }


    .header-breadcrumbs nav {
        overflow: hidden;
    }

    .header-breadcrumbs .breadcrumb {
        overflow: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .page-header-search {
        display: none;
        position: fixed;
        z-index: 10000;
        top: calc(var(--header-height) + 2rem);
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .search-wrapper .search-input::placeholder {
        font-size: 0.875rem;
    }


    .show-page-header-search .page-header-search {
        display: block;
        min-width: unset;
    }

    .show-page-header-search main:after {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .show-page-header-search .page-header {
        z-index: 10;
    }

    .product-mobile-ctas .btn {
        width: 100%;
    }


    .product-card.product-card-image {
        height: auto;
    }

    .col-md-7 .table-product-properties-wrapper,
    .col-lg-7 .table-product-properties-wrapper,
    .col-md-8 .table-product-properties-wrapper,
    .col-lg-8 .table-product-properties-wrapper,
    .col-md-6 .table-product-properties-wrapper,
    .col-lg-6 .table-product-properties-wrapper {
        aspect-ratio: unset;
        max-height: 100%;
    }

    .theme-switcher-box-with-icons {
        margin-left: 1rem;
    }

    header .nav-link {
        color: #fff;
    }

    header .dropdown-menu[data-bs-popper] {
        right: 0;
        left: auto;
        font-size: 14px;
    }

    .header-breadcrumbs .breadcrumb .has-logo img {
        max-width: 85px;
    }


    .breadcrumb-item>a {
        padding: 0.25rem 0;
    }

    .header-breadcrumbs .breadcrumb {
        line-height: 1;
        font-size: 13px;
    }

    .page-header {
        padding-top: calc(var(--header-height) + 4rem);
    }

    .header-breadcrumbs {
        top: 56px;
        position: fixed;
        width: 100%;
        left: 0;
    }

    /* .header-breadcrumbs .breadcrumb {
        padding: 0.5rem 0;
    } */

    .table-articles-filtered td:first-of-type img {
        width: 48px;
        height: 36px;
    }

    .header-breadcrumbs .breadcrumb .has-logo svg {
        display: none;
    }

    /* .breadcrumb-item .submenu-tree {
        display: none !important;
        visibility: hidden !important;
    } */

    /* .header-breadcrumbs-and-back-button-wrapper .breadcrumb .breadcrumb-item:nth-child(2) {
        padding-left: 0;
    } */

    /* .main-content {
        margin-top: 0 !important;
    } */

    .btn-filters-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background-color: var(--accent);
        color: #fff;
    }

    .filters-toggle {
        display: none;
    }
}


@media (max-width: 576px) {
    .table-articles-filtered-wrapper {
        font-size: 11px;
    }

    .table-articles-filtered td.td-denumire {
        font-size: 11px;
        line-height: 1.3em;
    }

    .btn-sort-table svg {
        width: 10px;
        height: 10px;
    }

    .table-articles-filtered .th-image {
        width: 50px !important;
    }

    .table-articles-filtered .th-denumire {
        width: 100px;
    }

    .table-articles-filtered .th-detail {
        width: 80px;
    }

    .table-articles-filtered .th-button {
        width: 35px !important;
    }

    .table-articles-filtered .td-detail {
        font-size: 11px;
    }

    .table-articles-filtered .td-code {
        font-size: 12px;
    }

    .table-articles-filtered .td-button svg {
        width: 14px;
        height: 14px;
    }

    .tr-search-inputs input {
        font-size: 12px;
    }

    .table-articles-filtered.table> :not(caption)>*>* {
        padding-left: .2rem;
        padding-right: .2rem;
    }

    .articole-dropdown-content .product-card.product-card-image {
        height: auto;
        margin-bottom: 2rem;
    }

    .articole-dropdown-content .product-card.product-card-image .product-images {
        width: 100%;
    }

    .articole-dropdown-content .product-card.product-card-image .product-images .product-image {
        width: 100%;
        text-align: center;
    }

    .articole-dropdown-content .product-card.product-card-image .product-images .product-image img {
        max-height: 120px;
        object-fit: contain;
        object-position: center;
    }

    .tr-add-border .form-control {
        border: 1px solid #ddd;
        border-radius: 4px;
        padding-left: 5px;
        padding-right: 5px;
    }
}