header .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 1.2rem;
    align-items: center;
}
#menu_categories {
    margin: 0;
    width: auto;
    padding: 15px 0 10px;
    clear: both;
}
.main_page header {
    display: inline-grid;
    margin-bottom: 10px;
}header {
    margin-bottom: 10px;
    font-size: .93em;
    display: grid !important;
}
.product-container {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

#main_banner1 .main_slider__wrapper {
    border-radius: 10px;
    overflow: hidden;
}

.product__icon {
    height: 20rem;
    margin-bottom: 1rem;
    position: relative;
    background: #f1f1f159;
    border-radius: 7px;
    overflow: hidden;
}

.product__icon {
    background-color: #ffffff !important;
}

.product__icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: transparent;
    border: none;
    transition: box-shadow 0.3s ease;
}

.product__icon:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
img {
    width: auto;
    height: auto;
    object-fit: contain;
    background-color: transparent;
    border: none;
}

.slick-slide img {
    display: inline-block;
    outline: 0;
    vertical-align: top;
    border-radius: 7px;
}
.photos:before {
    content: '';
    width: 100vw;
    position: absolute;
    right: -5px;
    height: 100%;
    top: 0;
    background: transparent;
    z-index: -1;
    border-radius: 0;
}
body {
    margin: 0;
    width: 100%;
    font-family: 'Arial','Helvetica',sans-serif,'Open sans',Arial,sans-serif;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #000000;
    background: #fff;
    padding: 60px 15px 0;
    padding: 60px calc(15px + env(safe-area-inset-right)) 0;
    overflow-x: hidden;
    overflow-y: visible;
}
.photos__link {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #010101;
    text-decoration: none;
    background: #f1f1f100;
}
#menu_search .menu_search__input {
    border: 1px solid #c4c7c8;
    font-size: 1.4rem;
    padding-left: 1.5rem;
    padding-right: 7.5rem;
    border-radius: 7px;
}

 .product__name {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #010101;
    text-decoration: none;
    font-size: 1.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.omnibus_price {
    font-size: 1.05rem;
    margin-top: 5px;
    line-height: 1.5;
}
#login_menu>.l_welcome__element {
    font-size: 2.1rem;
    width: auto;
    margin: 2rem auto 0;
}

#login_menu .login_menu_wrapper>div>div>a {
    margin-bottom: .5rem;
    margin-right: .5rem;
    border-radius: 10px;
}
.product_name__name {
    font-size: 2.45rem;
}
.btn {
    background: #104f7c00;
    color: #000000;
    border-radius: 7px;
}
.f-dropdown .f-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    min-width: 100px;
    max-height: 300px;
    list-style: none;
    font-size: 1.4rem;
    background: #fff;
    text-align: left;
    border: 1px solid #c4c7c8;
    z-index: 400;
    display: none;
    overflow: auto;
    scrollbar-color: #104f7c transparent;
    scrollbar-width: thin;
    box-shadow: 0 2px 25px rgba(0,0,0,0.25);
    border-radius: 7px;
}
.f-group .f-control {
    display: block;
    width: 100%;
    height: 45px;
    text-align: left;
    padding: .6rem 1.3rem;
    font-size: 1.4rem;
    color: #010101;
    background: #fff;
    border: 1px solid #c4c7c8;
    transition: border-color ease-in-out .15s;
    box-shadow: none;
    border-radius: 7px;
}
.button.f-control.f-dropdown-toggle {
    border-radius: 7px;
}
header .navbar-subnav {
    display: none;
    width: 100%;
    font-size: 1.6rem;
    z-index: 100;
    position: absolute;
    background: #fff;
    border: 1px solid #c4c7c8;
    left: -1.5rem;
    right: 0;
    box-shadow: 0px 0px 20px -2px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 7px;
    padding: 10px;
    height: max-content;
}
.topBasket__sub:after {
    font-size: 4rem;
    order: 3;
    color: #104f7c;
}
#menu_buttons2 .menu_button_wrapper col-12, 
.style {
    background: #286b90;
    border-radius: 10px;
    color: white;
    box-shadow: 0 8px 6px -6px black;
    line-height: 1.7;
}
#info-banners {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    width: 100%;
    font-size: 0.9em;
    background: #286b90;
    border-radius: 10px;
    color: white;
    box-shadow: 0px 8px 20px 0px #0000004d;
    line-height: 1.6;
    padding-top: 5px;
    padding-left: 20px;
}

#footer_links,
.footer_links,
#menu_orders,
#menu_account {
    /* Wszystkie style zostały usunięte */
}
#projector_photos.photos:not(.--gallery-modal):before {
    content: "";
    width: 100vw;
    position: absolute;
    right: -5px;
    height: 100%;
    top: 0;
    background: #f1f1f100;
    z-index: -1;
    border-radius: 0 5px 5px 0;
}
#projector_photos.photos:not(.--gallery-modal) .swiper-slide:not(.--more):not(.--video) {
    background: #f1f1f100;
}
.article__image_wrapper, .article__image_wrapper img {
    height: 30rem;
    max-height: 30rem;
    width: 100%; /* Zapewnia, że obraz wypełni całą szerokość kontenera */
    object-fit: cover; /* Obraz wypełni kontener, zachowując proporcje, ale może zostać przycięty */
    object-position: center; /* Ustawia obraz w centrum kontenera, co zapewnia równomierne przycięcie */
}
#main_banner1:after {
    content: "";
    display: block;
    width: 100%;
    height: 75px; /* Wysokość nowego baneru dla desktopu */
    background-image: url('https://hanex.pl/data/include/cms//zalety.png?v=1725026884840'); /* URL do obrazu na desktopie */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 20px; /* Odstęp od głównego baneru */
}

@media (max-width: 767px) {
    #main_banner1:after {
        content: "";
        display: block;
        width: 100%;
        height: 360px; /* Wysokość nowego baneru dla mobile */
        background-image: url('https://hanex.pl/data/include/cms//zalety_mobile.jpg?v=1725035294358'); /* URL do obrazu na urządzeniach mobilnych */
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        margin-top: 0px; /* Zmniejszenie marginesu górnego do zera na mobile */
    }
}




.product__producer picture img { max-height: 40px!important; max-width: 220px!important; width: auto; height: auto; }
#menu_categories2 ul {padding-left: 15px; }



.enclosures__list {
  display: flex;
  flex-wrap: wrap; /* w razie potrzeby przełamanie do kolejnego wiersza */
  gap: 10px; /* odstęp między elementami */
  padding: 0;
  margin: 0;
  list-style: none;
}

.enclosures__item {
  flex: 0 1 auto; /* szerokość wg zawartości, nie wymuszaj równych kolumn */
  white-space: nowrap; /* zapobiega łamaniu linków, możesz usunąć, jeśli chcesz zawijanie */
}

.enclosures__name {
  display: inline-block;
  padding: 5px 10px;
  background: #f5f5f5;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

#projector_longdescription section.image-item img { max-height: 600px!important; width: auto; }

#freeShipping { display: none!important; }