.custom-logo {
    width: max(243px, 24.3rem);
    height: auto;
    position: relative;
    z-index: 5;
    transition: width .3s;
}
.custom-logo-link {
    display: block;
}
.custom-logo--secondary {
    width: max(205px, 20.5rem);
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: max(22px, 2.2rem) 0;
    width: 100%;
    transition: padding-top .3s, background .3s;
    z-index: 10;
}
/*@media screen and (min-width: 1300px) {*/
/*    #header {*/
/*        */
/*    }*/
/*}*/
/* Mobile toggler */
.menu__toggler {
    height: 26px;
    width: 32px;
    z-index: 5;
}

.hamburger-lines {
    height: 22px;
    width: 30px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu__toggler .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.hamburger-lines .line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 10px;
    background-color: red;
}

.hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-out;
}

.hamburger-lines .line2 {
    transition: transform 0.2s ease-out;
}

.hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-out;
}

.menu__toggler input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
}

.menu__toggler input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
}

.menu__toggler input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
}

.menu__toggler input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
}

@media (min-width: 993px) {
    .menu__toggler {
        display: none;
    }
}
.header_wrapper--top {
    align-items: center;
    justify-content: space-between;
    padding-bottom: max(16px, 1.6rem);
    border-bottom: max(1px, 0.1rem) solid #FFFFFF33;
}
.header_wrapper--bottom {
    padding-top: max(22px, 2.2rem);
}
.header_menu_wrapper--top {
    align-items: center;
    gap: max(35px, 3.5rem);
}
.header_menu_wrapper--top #menu-header-top-menu {
    gap: max(25px, 2.5rem);
    opacity: 0.8;
}
.header_menu_info svg {
    width: max(29px, 2.9rem);
    height: max(29px, 2.9rem);
}
.header_menu_info {
    z-index: 1000;
    align-items: center;
    gap: max(10px, 1rem);
}
.header_menu_contact_infos  {
    align-items: center;
    gap: max(25px, 2.5rem);
}
.header_wrapper--bottom {
    justify-content: space-between;
    align-items: center;
}
.header_menu_wrapper--bottom #menu-header-bottom-menu {
    gap: max(44px, 4.4rem);
}

.header_menu_wrapper--bottom #menu-header-bottom-menu >li:not(.menu-item-has-children) >a{
	padding: 0 max(5px, .5rem);
}

.menu-item a{
    display: flex;
    align-items: center;
    gap: max(8px, 0.8rem);
    line-height: normal;
}
.menu-item-has-image a::before {
    content:"";
    display: block;
    width: max(22px, 2.2rem);
    height: max(22px, 2.2rem);
    background-image: none;
    background-size: contain;
    background-position: center;
}
.menu-item-oferta a::before {
    background-image: url("data:image/svg+xml,%3Csvg width='2.2rem' height='2.2rem' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_126_764)'%3E%3Cpath d='M5.72925 18.3333C5.55783 18.3333 5.39283 18.27 5.2645 18.1527C5.12241 18.0225 5.04175 17.8383 5.04175 17.6458V5.27077C5.04175 5.07827 5.12241 4.89402 5.2645 4.76386C5.40658 4.63369 5.59175 4.56769 5.78975 4.58602L21.3731 5.96102C21.7278 5.99219 22.0001 6.28919 22.0001 6.64577V16.2708C22.0001 16.6274 21.7278 16.9244 21.3731 16.9555L5.78975 18.3305C5.76958 18.3324 5.7485 18.3333 5.72925 18.3333ZM6.41675 6.02152V16.8941L20.6251 15.641V7.27552L6.41675 6.02152Z' fill='%23BB1F11'/%3E%3Cpath d='M5.72917 18.3335C5.6705 18.3335 5.60908 18.3253 5.54858 18.3097L0.506917 16.9347C0.208083 16.8531 0 16.5809 0 16.271V6.64603C0 6.3362 0.208083 6.06395 0.506917 5.98236L5.54858 4.60736C5.91892 4.5047 6.29292 4.72378 6.39283 5.08953C6.49275 5.45528 6.27642 5.83386 5.91067 5.93378L1.375 7.17128V15.7458L5.90975 16.9833C6.2755 17.0832 6.49275 17.4609 6.39192 17.8275C6.30942 18.1328 6.03167 18.3335 5.72917 18.3335Z' fill='%23BB1F11'/%3E%3Cpath d='M2.97925 17.5816C2.59975 17.5816 2.29175 17.2736 2.29175 16.8941V6.02246C2.29175 5.64296 2.59975 5.33496 2.97925 5.33496C3.35875 5.33496 3.66675 5.64296 3.66675 6.02246V16.8941C3.66675 17.2736 3.35875 17.5816 2.97925 17.5816Z' fill='%23BB1F11'/%3E%3Cpath d='M8.47925 15.583C8.09975 15.583 7.79175 15.275 7.79175 14.8955V8.02051C7.79175 7.64101 8.09975 7.33301 8.47925 7.33301C8.85875 7.33301 9.16675 7.64101 9.16675 8.02051V14.8955C9.16675 15.275 8.85875 15.583 8.47925 15.583Z' fill='%23BB1F11'/%3E%3Cpath d='M12.1458 15.1253C11.7663 15.1253 11.4583 14.8173 11.4583 14.4378V8.47949C11.4583 8.09999 11.7663 7.79199 12.1458 7.79199C12.5253 7.79199 12.8333 8.09999 12.8333 8.47949V14.4378C12.8333 14.8173 12.5253 15.1253 12.1458 15.1253Z' fill='%23BB1F11'/%3E%3Cpath d='M15.8125 14.6667C15.433 14.6667 15.125 14.3587 15.125 13.9792V8.9375C15.125 8.558 15.433 8.25 15.8125 8.25C16.192 8.25 16.5 8.558 16.5 8.9375V13.9792C16.5 14.3587 16.192 14.6667 15.8125 14.6667Z' fill='%23BB1F11'/%3E%3Cpath d='M19.0208 14.4372C18.6413 14.4372 18.3333 14.1292 18.3333 13.7497V9.39551C18.3333 9.01601 18.6413 8.70801 19.0208 8.70801C19.4003 8.70801 19.7083 9.01601 19.7083 9.39551V13.7497C19.7083 14.1292 19.4003 14.4372 19.0208 14.4372Z' fill='%23BB1F11'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_126_764'%3E%3Crect width='22' height='22' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
}
.menu-item-kalkulator a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19' fill='none'%3E%3Cpath d='M15.4375 0.59375H3.5625C1.92553 0.59375 0.59375 1.92553 0.59375 3.5625V15.4375C0.59375 17.0745 1.92553 18.4062 3.5625 18.4062H15.4375C17.0745 18.4062 18.4062 17.0745 18.4062 15.4375V3.5625C18.4062 1.92553 17.0745 0.59375 15.4375 0.59375ZM17.2188 3.5625V8.90625H10.0938V1.78125H15.4375C16.4196 1.78125 17.2188 2.58044 17.2188 3.5625ZM3.5625 1.78125H8.90625V8.90625H1.78125V3.5625C1.78125 2.58044 2.58044 1.78125 3.5625 1.78125ZM1.78125 15.4375V10.0938H8.90625V17.2188H3.5625C2.58044 17.2188 1.78125 16.4196 1.78125 15.4375ZM15.4375 17.2188H10.0938V10.0938H17.2188V15.4375C17.2188 16.4196 16.4196 17.2188 15.4375 17.2188Z' fill='%23BB1F11'/%3E%3Cpath d='M3.5625 5.9375H4.75V7.125C4.75 7.45275 5.01541 7.71875 5.34375 7.71875C5.67209 7.71875 5.9375 7.45275 5.9375 7.125V5.9375H7.125C7.45334 5.9375 7.71875 5.6715 7.71875 5.34375C7.71875 5.016 7.45334 4.75 7.125 4.75H5.9375V3.5625C5.9375 3.23475 5.67209 2.96875 5.34375 2.96875C5.01541 2.96875 4.75 3.23475 4.75 3.5625V4.75H3.5625C3.23416 4.75 2.96875 5.016 2.96875 5.34375C2.96875 5.6715 3.23416 5.9375 3.5625 5.9375Z' fill='%23BB1F11'/%3E%3Cpath d='M11.875 5.9375H15.4375C15.7658 5.9375 16.0312 5.6715 16.0312 5.34375C16.0312 5.016 15.7658 4.75 15.4375 4.75H11.875C11.5467 4.75 11.2812 5.016 11.2812 5.34375C11.2812 5.6715 11.5467 5.9375 11.875 5.9375Z' fill='%23BB1F11'/%3E%3Cpath d='M15.4375 14.25H11.875C11.5467 14.25 11.2812 14.516 11.2812 14.8438C11.2812 15.1715 11.5467 15.4375 11.875 15.4375H15.4375C15.7658 15.4375 16.0312 15.1715 16.0312 14.8438C16.0312 14.516 15.7658 14.25 15.4375 14.25Z' fill='%23BB1F11'/%3E%3Cpath d='M15.4375 11.875H11.875C11.5467 11.875 11.2812 12.141 11.2812 12.4688C11.2812 12.7965 11.5467 13.0625 11.875 13.0625H15.4375C15.7658 13.0625 16.0312 12.7965 16.0312 12.4688C16.0312 12.141 15.7658 11.875 15.4375 11.875Z' fill='%23BB1F11'/%3E%3Cpath d='M6.18328 13.656L7.02285 12.8164C7.255 12.5843 7.255 12.209 7.02285 11.9769C6.79069 11.7447 6.41544 11.7447 6.18328 11.9769L5.34372 12.8164L4.50416 11.9769C4.272 11.7447 3.89675 11.7447 3.6646 11.9769C3.43244 12.209 3.43244 12.5843 3.6646 12.8164L4.50416 13.656L3.6646 14.4961C3.43244 14.7283 3.43244 15.1035 3.6646 15.3357C3.78038 15.4515 3.93238 15.5097 4.08438 15.5097C4.23638 15.5097 4.38838 15.4515 4.50416 15.3357L5.34372 14.4961L6.18328 15.3357C6.29906 15.4515 6.45106 15.5097 6.60306 15.5097C6.75506 15.5097 6.90706 15.4515 7.02285 15.3357C7.255 15.1035 7.255 14.7283 7.02285 14.4961L6.18328 13.656Z' fill='%23BB1F11'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}
.social_media_wrapper {
    align-items: center;
    gap: max(18px, 1.8rem);
}
.social_media_wrapper img {
    height: max(16px, 1.6rem);
}
.header__menu_wrapper--mobile {
    display: none;
}
.sub-menu {
    display: none;
}
.mm_active .sub-menu {
    position: absolute;
    top: 95%;
    display: flex;
    flex-direction: column;
    color: var(--color-white);
    background-color: var(--color-black);
    padding: max(30px, 3rem) 0 max(20px, 2rem) 0 !important;
    left: 0;
    z-index: 200;
}

.sub-menu .menu-item {
    padding: max(11px, 1.1rem) max(45px, 4.5rem) max(11px, 1.1rem) max(40px, 4rem) !important;
    position: relative;
	white-space: nowrap;
}

.sub-menu>.mm_active{
    position: relative;
}

.sub-menu .menu-item .sub-menu {
    display: none;
}
/* .sub-menu>.active>.sub-menu  */
.sub-menu>.mm_active>.sub-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    color: var(--color-white);
    background-color: var(--color-black);
    z-index: 200;
    top: -75%;
    left: 99%;
    border-radius: 0;
    padding: max(20px, 2rem) 0;
}

#menu-header-bottom-menu>.menu-item-has-children {
    position: relative;
}

#menu-header-bottom-menu>.menu-item-has-children a{
    padding-left: max(5px, .5rem);
    padding-right: max(15px, 1.5rem);
}

#menu-header-bottom-menu>.menu-item-has-children>a::after {
    content: "";
    display: block;
    position: absolute;
    width: max(11px, 1.1rem);
    height: max(7px, 0.7rem);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 9 5' fill='none'%3E%3Cpath d='M1 1L3.79289 3.79289C4.18342 4.18342 4.81658 4.18342 5.20711 3.79289L8 1' stroke='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    transition: transform 0.3s;
	pointer-events: none;
}

.menu-item-has-children.mm_active>a::after {
    transform: translateY(-50%) rotate(180deg);
}

.sub-menu .menu-item-has-children>a::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='11' viewBox='0 0 5 9' fill='none'%3E%3Cpath d='M0.75 8.25L3.54289 5.45711C3.93342 5.06658 3.93342 4.43342 3.54289 4.04289L0.75 1.25' stroke='white'/%3E%3C/svg%3E");
    width: max(7px, 0.7rem);
    height: max(11px, 1.1rem);
    background-repeat: no-repeat;
    /* right: max(15px, 1.5rem); */
}

.sub-menu a {
    position: relative;
}



.mini-header #menu-header-bottom-menu {
    font-size: var(--font-size-11);
    gap: max(12px, 1.2rem);
}

.mini-header .header_wrapper--bottom {
    height: 0;
    padding: 0;
    transition: .3s height, .3s padding;
}

.mini-header .header_wrapper--top {
    border-bottom: 0;
}

.mini-header {
    padding-bottom: max(17px, 1.7rem) !important;
    transition: .3s padding;
}

.mini-header .header_wrapper--top {
    padding-bottom: 0;
}

.mini-header #menu-header-bottom-menu {
    opacity: 1;
}

#header {
    transition: all 0.6s ease-in-out;
    will-change: transform, opacity;
  }
  
#header.mini-header{
    transform: translateY(-5px);
}

.mini-header #menu-header-bottom-menu a {
    opacity: 0.8;
}

.header_wrapper--top,
.header_wrapper--bottom {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#header.mini-header .header_wrapper--bottom {
    opacity: 1;
    transform: translateY(0);
}

.header_wrapper--top.fade-out {
    opacity: 0;
    pointer-events: none;
}

.header_wrapper--top.fade-in {
    opacity: 1;
    pointer-events: auto;
}

.header_wrapper--bottom {
    max-height: 100px;
/*     overflow: hidden; */
    transition: max-height 0.6s ease-in-out, padding 0.6s ease;
  }
  
  .mini-header .header_wrapper--bottom {
    max-height: 0;
    padding: 0;
  }

#menu-header-top-menu.original-content {
    transition: max-height 0.6s ease, opacity 0.6s ease;
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
  }
.mini-header #menu-header-top-menu.original-content {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}
  
#menu-header-top-menu.cloned-content {
    transition: max-height 0.6s ease, opacity 0.6s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}
.mini-header #menu-header-top-menu.cloned-content {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
}
  
.mini-header .social_media_wrapper {
	display: none;
}

@media screen and (max-width: 1096px) {
    .header_menu_info svg {
        width: max(22px, 2.2rem);
        height: max(22px, 2.2rem);
    }
    .custom-logo {
        width: max(200px, 20rem);
    }
}
@media screen and (max-width: 992px) {
    #header {
        padding: 0;
    }
    .header_wrapper--top {
        padding: max(22px, 2.2rem) 0;
        position: relative;
        z-index: 5;
    }
    .header_menu_wrapper--top, .header_wrapper--bottom {
        display: none;
    }
    .menu-menu-header-container--mobile, .header__menu_wrapper--mobile-inner ul {
        flex-direction: column;
    }
    .menu-menu-header-container--mobile, .header__menu_wrapper--mobile-inner li {
        padding: max(15px, 1.5rem) 0;
    }
    .menu-item-has-image::before {
        width: max(28px, 2.8rem);
        height: max(28px, 2.8rem);
    }
    .menu-menu-header-container--mobile .menu-item {
        display: block;
        position: relative;
    }

    .menu-menu-header-container--mobile .menu-item-has-image {
        padding-left: max(33px, 3.3rem);
    }
    .menu-item-has-image::before {
        position: absolute;
        left: 0;
        top: 11px;
    }
	.sub-menu .menu-item {
		white-space: normal;
	}
	.sub-menu>.mm_active{
		position: relative;
	}
    .mm_active .sub-menu {
        padding: 0 !important;
    }
    .header__menu_wrapper--mobile {
        display: initial;
        position: fixed;
        z-index: 4;
        background: var(--color-black);
        width: 100vw;
        height: 100vh;
        overflow-y: auto;
        top: 0;
        left: 0;
        justify-content: center;
        transform: translateX(-100%);
        transition: .3s;
        padding-top: max(140px, 14rem);
    }
    .social_media_wrapper img {
        width: max(26px, 2.6rem);
        height: max(26px, 2.6rem);
    }

    .menu-item-has-children>a {
        position: relative;
		display: block;
		width: fit-content;
    }

    .menu-item-has-children {
        position: relative;
    }

    .menu-item-has-children a::after {
        right: min(-15px, -1.5rem);
    }
    .menu-item-has-children.mm_active a::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .sub-menu .menu-item {
        margin-top: 30px;
        padding: 0 0 max(10px, 1rem) max(10px, 1rem) !important;
    }

    .sub-menu p {
        font-size: var(--font-size-small);
    }

    .menu-item .sub-menu {
        position: unset;
        background-color: var(--color-black);
        color: var(--color-white);
    }

    .sub-menu,
    .mm_active .sub-menu {
        padding: 0;
    }

    .sub-menu>.mm_active>.sub-menu {
        position: initial;
        display: flex;
        flex-direction: column;
        color: var(--color-white);
        background-color: var(--color-black);
        width: 100%;
        z-index: 200;
        padding: 0;
    }

    .sub-menu .menu-item-has-children>a::after {
        transform: translateY(-50%) rotate(0);
        width: 11px;
        height: 7px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 9 5' fill='none'%3E%3Cpath d='M1 1L3.79289 3.79289C4.18342 4.18342 4.81658 4.18342 5.20711 3.79289L8 1' stroke='white'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        transition: .3s transform;
    }

    .sub-menu .mm_active>a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}
#header.active .header__menu_wrapper--mobile {
    transform: translateX(0);
}
#footer {
    z-index: 1;
}
#footer::before {
    content: "";
    display: block;
    background: var(--color-black);
    height: 100%;
    width: max(calc((100% - var(--global-width)) / 2) , 2%);
    /*width: calc((100% - var(--global-width)) / 2);*/
    position: absolute;
    left: 0;
}
@media screen and (max-width: 768px) {
    #footer::before {
        width: 7%;
    }

}
.footer__logo_wrapper {
    height: fit-content;
}
.footer_menu_wrapper {
    flex-direction: column;
    gap: max(10px, 1rem);
}
.footer_menu ul {
    flex-direction: column;
    gap: max(8px, 0.8rem);
}
.footer_menus_wrapper {
    flex-direction: column;
    width: 100%;
    padding-left: max(74px, 7.4rem);
}
.footer_menus {
    width: 100%;
    justify-content: space-between;
    padding-bottom: max(35px, 3.5rem);
}

.footer_menu_wrapper--contact {
    gap: max(15px, 1.5rem);
}
.footer_menu_contact_data_wrapper {
    flex-direction: column;
    gap: max(2px, 0.2rem);
}
.footer_address {
    line-height: max(21px, 2.1rem);
}
.footer_copyright {
    padding: max(27px, 2.7rem) 0 max(36px, 3.6rem);
}
.footer_menus_wrapper  .footer_copyright {
    border-top: max(1px, 0.1rem) solid #E4E4E4;
    padding: max(27px, 2.7rem) max(10px, 1rem) max(36px, 3.6rem);
}
.footer_menus_wrapper  .footer_copyright_inner {
    justify-content: flex-end;
}
.footer_copyright_info--bottom {
    display: none;
}
.footer_infos_wrapper, .footer_menus_wrapper {
    padding-top: max(45px, 4.5rem);
}
.footer_infos_wrapper  {
    width: 35%;
    flex-direction: column;
    justify-content: space-between;
    padding-right: max(60px, 6rem);
}
.footer_infos_description {
    line-height: max(23px, 2.3rem);
    margin-top: max(25px, 2.5rem);
}
.footer_infos_wrapper .social_media_wrapper {
    margin-top: max(40px, 4rem);
}
@media screen and (max-width: 992px) {
    .footer_menus {
        flex-direction: column;
        gap: max(35px, 3.5rem);
    }
    .footer_menu ul {
        margin-top: max(10px, 1rem);
        flex-direction: row;
        gap: max(16px, 1.6rem);
        flex-wrap: wrap;
    }
    .footer_title {
        width: 100%;
    }
    .footer_menu_wrapper--contact {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .footer_menus_wrapper {
        padding-left: max(36px, 3.6rem);
    }
}
@media screen and (max-width: 768px) {
    #footer::before {
        content: unset;
    }
    .footer_wrapper {
        flex-direction: column;
    }
    .footer_infos_wrapper::before {
        content: "";
        display: block;
        background: var(--color-black);
        height: 100%;
        width: 100vw;
        transform: translateX(calc(-1 * 14vw / 2)); ;
        position: absolute;
        left: 0;
        top: 0;
    }
    .footer_copyright_info--bottom {
        display: block;
    }
    .footer_infos_wrapper {
        width: 100%;
        padding: max(30px, 3rem) 0;
    }
    .footer_menus_wrapper {
        padding-left: 0;
    }
    .footer_menus_wrapper .footer_copyright_inner {
        justify-content: space-between;
    }
   .footer_infos_wrapper .footer_copyright {
       display: none;
   }
    .footer_infos_wrapper .social_media_wrapper {
        justify-content: flex-end;
    }
}
@media screen and (max-width: 540px) {
    .footer_menus_wrapper .footer_copyright_inner {
        flex-direction: column;
        gap: max(20px, 2rem);
        align-items: center;
    }
}

@media screen and (max-width: 1250px) {
    .mini-header .menu-item-has-image::before {
        display: none;
    }
}
@media screen and (min-width: 1100px) {
    .menu-header-bottom-menu-container #menu-header-bottom-menu {
        font-size: var(--font-size-14);
        gap: max(24px, 2.4rem);
    }
}
@media screen and (min-width: 1300px) {
    .menu-header-bottom-menu-container #menu-header-bottom-menu {
        gap: max(44px, 4.4rem);
    }
}