.whatsapp-float {
  position: fixed;
  width: 52px;
  height: 52px;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  background: #20ba5a;
}
.whatsapp-float img {
  width: 32px;
  height: 32px;
}



.et-pb-arrow-prev:after,
.et-pb-arrow-next:after {
  display: none !important;
}


.et-pb-arrow-prev::before,
.et-pb-arrow-next::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 40px !important;
  color: #fff !important;
  display: block !important;
  line-height: 48px;
  text-align: center;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.et-pb-arrow-prev::before {
  content: "\f104"; /* fa-chevron-left */
}
.et-pb-arrow-next::before {
  content: "\f105"; /* fa-chevron-right */
}





.mfp-arrow:after,
.mfp-arrow .mfp-a { /* schowaj stare „4” i „5” */
    display: none !important;
}

.mfp-arrow-left::before,
.mfp-arrow-right::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900; 
    font-size: 40px;
    color: #fff;
    display: block;
    line-height: 48px;
    text-align: center;
    width: 48px;
    height: 48px;
    position: absolute;
    left: 0; top: 0;
    right: 0; bottom: 0;
    margin: auto;
}

.mfp-arrow-left::before {
    content: "\f104"; 
}

.mfp-arrow-right::before {
    content: "\f105"; 
}


/* Ukryj stare ikony */
.mobile_menu_bar:before,
a.et_pb_more_button:after {
    display: none !important;
}


.mobile_menu_bar::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0c9";
    font-size: 32px;
    color: #696969;
    display: inline-block;
    vertical-align: middle;
}

a.et_pb_more_button::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f061";
    font-size: 1em;
    color: inherit;
    display: inline-block;
    margin-left: 0.5em;
}



.et_pb_gallery_image .et_overlay,
.et_overlay,
.et_pb_inline_icon {
  display: none !important;
}

.et_pb_gallery_image img {
  transition: transform 0.3s ease;
}

.et_pb_gallery_image:hover img {
  transform: scale(1.05);
}

.mfp-title,
.mfp-counter {
  display: none !important;
}




@media (max-width: 980px) {
    .mobile_menu_bar {
        position: fixed !important;
        top: 24px !important;
        right: 24px !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.9) !important;

        /*
        border-radius: 50% !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
        padding: 0 !important;
        transition: none !important;
        */
    }

    .logo_container img {
        min-height: 90px !important;
        width: auto !important;
        height: auto !important;
    }

    #main-header {
        position: fixed !important;
        min-height: 100px !important;
    }

    #logo_container {
        min-height: 100px !important;
    }
}

@media (max-width: 980px) {
  ul.et_mobile_menu, ul.et_mobile_menu.et_mobile_menu_opened {
    background: #fff !important;
    background-color: #fff !important;
    opacity: 1 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15) !important;
    filter: none !important;
    backdrop-filter: none !important;
  }

  /* Wyłącz przezroczystość z rodzica */
  .et_mobile_nav_menu,
  .mobile_nav,
  .et_mobile_menu {
    opacity: 1 !important;
    background: #fff !important;
    background-color: #fff !important;
    filter: none !important;
  }
}

@media (max-width: 980px) {
  .et_mobile_menu, 
  .et_mobile_menu_opened, 
  #mobile_menu1 {
    background: #fff !important;
    background-color: #fff !important;
    opacity: 1 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15) !important;
    backdrop-filter: none !important;
  }
}

/* Film nad sekcją MENU */
.et_pb_section_2 {
    position: relative !important;
    overflow: hidden !important;

    /* Wysokość sekcji filmu */
    height: clamp(400px, 56.25vw, 700px) !important;
    min-height: 400px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Pusty wiersz Divi utrzymujący wysokość sekcji */
.et_pb_section_2 .et_pb_row_1 {
    height: 100% !important;
    min-height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Zewnętrzny kontener tła */
.et_pb_section_2 .et_parallax_bg_wrap {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    overflow: hidden !important;
    transform: none !important;
}

/* Bezpośredni kontener filmu */
.et_pb_section_2 .et_parallax_bg {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    overflow: hidden !important;
    background: #ffffff url("../images/aga-amme-foto-12.jpg") center center / cover no-repeat !important;
    transform: none !important;
}

/* Sam film */
.et_pb_section_2 .menu-background-video {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;

    object-fit: cover !important;
    object-position: center center !important;

    transform: none !important;
}

/* Film nad MENU — telefon */
@media (max-width: 767px) {
    .et_pb_section_2 {
        position: relative !important;
        display: block !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        /* Dokładne proporcje filmu 848 × 478 */
        aspect-ratio: 848 / 478 !important;

        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* Ten wiersz jest pusty i nie jest potrzebny */
    .et_pb_section_2 .et_pb_row_1 {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .et_pb_section_2 .et_parallax_bg_wrap,
    .et_pb_section_2 .et_parallax_bg {
        position: absolute !important;
        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;

        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        transform: none !important;
    }

    .et_pb_section_2 .menu-background-video {
        position: absolute !important;
        inset: 0 !important;

        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;

        padding: 0 !important;
        margin: 0 !important;

        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
    }
}

