@media screen and (max-width: 1600px) {
  .navbar-nav .nav-item-level-1 .nav-link {
    white-space: nowrap;
  }
  header .navbar-nav {
    flex-wrap: nowrap;
    gap: 0.5em;
  }
  header .header-inner {
    gap: 1em;
  }

  .hero-inner .text-inner {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .hero-inner .slider-inner {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  header #main-navbar #main-navbar-collapse {
    gap: 1em;
  }
}

@media screen and (max-width: 1199px) {
  header .search-wrapper {
    width: 100%;
  }
  header .search-wrapper .search-input {
    width: 100%;
  }
  header .r-part {
    padding-top: 1em;
  }
  header .navbar-toggler {
    padding: 10px;
    margin: -10px;
  }
  header #main-navbar-collapse .navbar-nav .secondary-menu .nav .nav-item .menu-dropdown .nav-link-arrow,
  .toggle-menu {
    width: 30px;
    height: 30px;
    background: var(--black);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  header #main-navbar-collapse .navbar-nav .secondary-menu .nav .nav-item .menu-dropdown .nav-link-arrow svg path,
  .toggle-menu svg path {
    stroke: var(--white);
  }
  .drowpdown_container_navitem {
    width: 100%;
    justify-content: space-between;
  }
  header .navbar-nav .main-nav-item.nav-item-level-1 {
    width: 100%;
    flex-direction: column;
    gap: 1em;
  }

  .nav-item-servicii .dropdown-menu .nav-item .nav-link:hover {
    background: rgb(0, 0, 0, 0%);
    transition: var(--transition-fast);
  }

  .navbar-nav .dropdown-menu.collapse {
    position: static;
    border-radius: 0;
    border: none;
    margin: 0 !important;
    width: 100%;
  }

  .nav-item-servicii .dropdown-menu .nav-item .nav-link {
    padding: 0;
    border: none;
  }
  .nav-item-servicii .dropdown-menu .nav-item:not(:last-of-type) .nav-link {
    padding-bottom: 15px;
  }

  header .secondary-menu {
    width: 100%;
  }
  header #main-navbar-collapse .navbar-nav .secondary-menu .nav {
    width: 100%;
  }
  header #main-navbar-collapse .navbar-nav .secondary-menu .nav .nav-item {
    width: 100%;
  }
  header #main-navbar-collapse .navbar-nav .secondary-menu .nav .nav-item .menu-dropdown {
    justify-content: space-between;
    width: 100%;
  }
  header #main-navbar #main-navbar-collapse {
    max-height: calc(var(--dynamic-height) - var(--header-height) - 15px);
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  /* header #main-navbar #main-navbar-collapse::-webkit-scrollbar {
    display: none;
  }
  header .secondary-menu .dropdown-menu .dropdown-menu-inner .nav-cards-inner .nav-card .nav-img {
    display: none;
  } */
  /* header .header-inner .secondary-menu .dropdown-menu .dropdown-menu-inner .nav-cards-inner .nav-card {
    background: transparent;
  } */
  /* header .secondary-menu .dropdown-menu .dropdown-menu-inner .nav-cards-inner .nav-card .card-link {
    padding: 0;
  } */

  /* header .secondary-menu .dropdown-menu .dropdown-menu-inner .nav-cards-inner .nav-card .nav-card-title .nav-card-description {
    display: none;
  } */

  header .secondary-menu .dropdown-menu .dropdown-menu-inner .nav-cards-inner {
    grid-template: auto / 1fr;
    gap: 15px;
  }

  header .secondary-menu .dropdown-menu .dropdown-menu-inner .nav-cards-inner .nav-card .nav-card-title .nav-title {
    font-size: min(max(16px, calc(1rem + ((1vw - 2.8px) * 0.2439))), 20px);
  }
  header .navbar-nav {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }

  .hero-inner .text-inner {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .hero-inner .slider-inner {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  header .secondary-menu .dropdown-menu {
    border: none;
    height: auto;
  }

  header .secondary-menu .dropdown-menu .dropdown-menu-inner .nav-inner .submenu-main .nav-img {
    display: none;
  }

  header .secondary-menu .dropdown-menu-overlay {
    position: static;
  }

  header .secondary-menu .dropdown-menu .dropdown-menu-inner {
    grid-template: auto / 1fr;
    padding: 15px 0;
    gap: 20px;
  }

  header .secondary-menu .dropdown-menu .dropdown-menu-inner .nav-inner .submenu-main .nav-link {
    border: none;
    padding: 0;
  }

  .cards-section {
    display: grid;
    grid-template: auto / 1fr 1fr;
    row-gap: 30px;
  }

  .cards-section .card-inner {
    max-width: 100%;
  }

  .cards-section .card-inner .card-wrapper {
    gap: 80px;
  }

  .news-grid {
    grid-template: auto / 1fr;
  }

  .news-grid .news-item-wrapper:nth-child(1) {
    grid-row: 1 / 1;
  }

  .news-grid .news-item-wrapper:nth-child(2),
  .news-grid .news-item-wrapper:nth-child(3),
  .news-grid .news-item-wrapper:nth-child(4) {
    grid-column: 1 / 1;
  }

  .search-wrapper.show .search-results {
    position: fixed;
    top: 50px;
    left: 0;
    border-radius: 0;
    height: 100vh;
    max-height: calc(100% - 50px);
  }

  .search-wrapper.show .search-input {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 0;
    border-bottom: 1px solid rgb(0, 0, 0, 10%);
  }
}

@media screen and (max-width: 991px) {
  #magicMouseCursor,
  #magicPointer {
    display: none;
    visibility: hidden;
  }

  .product-category-cards {
    grid-template: auto / repeat(2, 1fr);
    padding: 0 15px;
  }
  .product-category-cards .category-view-all {
    grid-column: 1/3;
  }
  .product-category-cards .category-view-all {
    grid-column: 1/3;
  }
  .section-text-card .general-image {
    height: fit-content;
    max-height: 100%;
  }
  .section-text-card .card-text .module-text {
    max-width: 100%;
    padding: 0;
  }

  .section-text-card .card-text .module-text::before {
    display: none;
  }

  .hero-inner {
    min-height: calc(100vh - var(--header-height));
  }
  .hero-inner .text-inner .hero-title > * {
    white-space: unset;
  }

  .hero-inner .text-inner .hero-title br {
    display: none;
  }
  .hero-inner .text-inner .hero-title {
    background: transparent;
    border-radius: 0;
    padding: 0;
  }
  .hero-inner .text-inner .hero-title-inner::before {
    display: none;
  }
  .hero-inner .text-inner .hero-title-inner::after {
    display: none;
  }
  .hero-inner {
    height: auto;
  }
  header .navbar-brand img {
    max-height: 30px;
  }
  .hero-inner .text-inner {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
    padding: 0 15px;
    gap: 1em;
    justify-content: center;
  }

  .hero-inner .slider-inner {
    flex: 0 0 100%;
    max-width: 100%;
    order: 1;
    padding: 0 15px;
    height: 50%;
    min-height: 200px;
  }

  .hero-inner {
    gap: 1em;
    padding: 10px 0;
  }

  .secondary_hero {
    min-height: auto;
    padding-top: 0;
    position: relative;
  }

  .secondary_hero .secondary_hero_col {
    position: absolute;
    width: fit-content;
  }

  .secondary_hero .secondary_hero_col .module-text > * {
    white-space: wrap;
  }

  .secondary_hero .secondary_hero_col .module-text {
    border-radius: 0 15px 15px 0;
    padding: 15px 15px 15px 0px;
    position: relative;
  }

  .secondary_hero .secondary_hero_col::after {
    left: 15px;
  }

  .secondary_hero .secondary_hero_col::before {
    left: 15px;
  }

  .secondary_hero .secondary_hero_image img {
    min-height: 300px;
  }

  .section-text-img {
    gap: 30px;
  }

  .row.section-text-img .image-inner .module-image img {
    height: 100%;
    max-height: 100%;
  }

  .section-text-img .image-inner .module-image:nth-child(1) {
    grid-row: 1 / 1;
    grid-column: 1 / 1;
  }

  .section-text-img .image-inner .module-image:nth-child(3) {
    grid-row: 1 / 1;
    grid-column: 2 / 2;
  }

  .section-text-img .image-inner .module-image:nth-child(2) {
    grid-row: 2 / 2;
    grid-column: 1 / 3;
  }

  .section-out-image {
    margin-top: 60px;
  }

  .section-out-image .image-inner {
    margin-top: 0;
  }

  .categories-page .btn_trigger_categories_mobile {
    padding: 15px;
    max-width: 50px;
    max-height: 50px;
    position: fixed;
    bottom: 20px;
    right: 5vw;
    z-index: 999;
  }

  .categories-page .btn_trigger_categories_mobile svg {
    width: 100%;
    height: 100%;
  }

  .categories-page .filters-inner {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100% - var(--header-height));
    overflow: auto;
    border: none;
    border-radius: 0;
    justify-content: space-between;
    z-index: 998;
    background: var(--white);
    display: none;
  }

  .products-inner {
    padding-left: 15px;
  }

  .company_col:last-of-type {
    grid-column: 1 / 1;
    max-width: 100%;
  }

  .section-text-img.company_cards {
    grid-template: auto / repeat(1, 1fr);
  }

  .product_page .product_row {
    gap: 30px;
  }

  footer .footer-copyright .copyright-content p {
    text-align: center;
  }

  footer .footer-copyright .gdpr-icon {
    justify-content: center;
  }

  footer .footer-content {
    row-gap: 30px;
  }

  .page-description-inner {
    border-right: none;
    padding-right: 15px;
  }

  .page-post-inner .page-post-wrapper {
    row-gap: 30px;
  }

  .custom_modal .modal-dialog {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
  }

  .custom_modal .modal-dialog .modal-content {
    height: 100%;
    border-radius: 0;
  }

  .custom_modal .modal-dialog .modal-content .configurator_imagine {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .custom_modal .modal-dialog .modal-content .container_config_colors {
    position: static;
    border-radius: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    padding-bottom: 60px;
  }

  .configurator_imagine img {
    object-fit: cover;
    height: 100%;
  }

  .config_selected_color {
    bottom: inherit;
    top: 15px;
    left: 15px;
    right: inherit;
  }

  .config_btns_container {
    bottom: 0;
    width: 100%;
    left: 0;
    background: var(--white);
    padding: 10px;
  }

  .config_btns_container button {
    width: 100%;
  }

  .gallery_section figure {
    height: auto;
  }

  .section-text-img .image-inner {
    gap: 15px;
  }
}

@media screen and (max-width: 575px) {
  .cards-section {
    grid-template: auto / 1fr;
  }

  .news-section .news-grid .news-item-wrapper .news-item .news-item-inner {
    display: flex;
    flex-direction: column;
  }

  .product-category-cards {
    grid-template: auto / repeat(1, 1fr);
    padding: 0 15px;
  }

  .product-category-cards .category-view-all {
    grid-column: 1 / 2;
  }

  .section-out-image {
    padding: 35px 20px;
  }

  header .navbar-brand {
    padding: 10px;
  }

  header .navbar-brand img {
    max-height: 25px;
  }

  header {
    padding: 15px 0;
  }

  .section-out-image .image-inner {
    transform: translate3d(20px, 35px, 10px);
  }

  .card_pdf_info {
    padding: 30px;
  }

  .product_page .product_cta {
    flex-direction: column;
  }

  .product_page .product_cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .product_page .product_cta .documents-btn {
    width: 100%;
  }

  .product_page .product_cta .documents-btn .show_files {
    width: 100%;
  }

  .product_page .product_cta .documents-btn .pdf_info_toggle {
    width: 100%;
  }

  .categories-page .products-inner .products-list-receiver .products-grid .product-item-wrapper {
    padding: 0;
  }

  .categories-page .products-inner .products-list-receiver .products-grid {
    display: grid;
    grid-template: auto / repeat(2, 1fr);
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .products-grid .product-item-inner .product-image-wrapper img {
    padding: 15px;
  }

  .color_btns_container {
    display: grid;
    grid-template: auto / 1fr 1fr;
  }

  .color_btns_container .btn {
    width: 100%;
    justify-content: center;
  }

  .color_btns_container .btn:nth-child(3) {
    grid-row: 1/1;
    grid-column: 1/3;
  }

  .color_btns_container .btn:nth-child(4) {
    grid-row: 2/2;
    grid-column: 1/3;
  }

  .products-grid .product-item-inner .product-body .btn-product {
    padding: 10px 20px;
  }

  .hero-inner .hero-buttons {
    gap: 10px;
  }

  .company_large_logo img {
    height: auto;
  }

  .icon_card {
    width: 60px;
    height: 60px;
  }

  .icon_card svg {
    width: 30px;
    height: 30px;
  }

  .hero-inner .slider-inner .slick-arrows .slick-arrow {
    padding: 10px 20px;
  }

  .hero-inner .slider-inner .slick-arrows .slick-arrow.prev-arrow {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
}
