/* Additions that replace what the page-builder scripts used to do. */

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }

/* Sticky desktop header */
.fid-sticky {
    position: sticky;
    top: 0;
    z-index: 99;
}

/* Mobile menu panel */
#elementor-popup-modal-140 [data-elementor-type="popup"] { display: block; }
#elementor-popup-modal-140 .dialog-widget-content { position: relative; }
body.fid-menu-open { overflow: hidden; }

/* Hero background slideshow */
.fid-slideshow { overflow: hidden; }
.fid-slideshow__slide {
    position: absolute;
    inset: 0;
    background-position: 50%;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.5s linear;
}
.fid-slideshow__slide.is-active { opacity: 1; }

/* Contact details (replaces the contact form) */
.fid-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 60px;
    width: 100%;
    padding: 30px 10px 10px;
}
.fid-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #393939;
    text-decoration: none;
}
.fid-contact__item i { color: #1F53AB; font-size: 26px; }
.fid-contact__item:hover { color: #1F53AB; }
@media (max-width: 767px) {
    .fid-contact__item { font-size: 18px; }
}

/* Air Fryer gallery (masonry columns + simple lightbox) */
.elementor-gallery__container.fid-gallery {
    display: flex;
    align-items: flex-start;
    gap: var(--fid-gap, 15px);
}
.fid-gallery__col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--fid-gap, 15px);
}
.fid-gallery .e-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
}
.fid-gallery .e-gallery-image {
    width: 100%;
    background-position: 50%;
    background-size: cover;
}
.fid-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
}
.fid-lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.fid-lightbox button {
    position: absolute;
    border: 0;
    background: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    padding: 16px;
    cursor: pointer;
}
.fid-lightbox button:hover,
.fid-lightbox button:focus { background: none; color: #ddd; }
.fid-lightbox__close { top: 6px; right: 10px; }
.fid-lightbox__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.fid-lightbox__next { right: 6px; top: 50%; transform: translateY(-50%); }

/* Contact section is shorter now that the form is gone */
.elementor-44 .elementor-element.elementor-element-da73364 > .elementor-container { min-height: 320px; }
