.fto-gallery-wrapper {
    margin: 0 auto;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.swiper {
    width: 100%;
}

.swiper-slide {
    width: 100%;
}

.fto-slide-image {
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: calc(var(--swiper-navigation-size) * 0.8);
}

/* Fix frecce nella lightbox */
.mfp-arrow {
    top: 50% !important;
    margin-top: -20px !important;
    z-index: 1050 !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.mfp-arrow::before, .mfp-arrow::after {
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    font-weight: bold;
    content: '' !important;
}
.mfp-arrow.mfp-arrow-left::after {
    content: '\2039' !important; /* ‹ */
}
.mfp-arrow.mfp-arrow-right::after {
    content: '\203A' !important; /* › */
}
.mfp-arrow::after {
  font-size: 56px !important;
}
.mfp-arrow-left::after, .mfp-arrow-right::after {
  margin-left: 11px;
}
.mfp-arrow::after {
  top: -39px;
}