/* =========================================================
   MARTISH THEME - MAIN SLIDER STYLES
   ========================================================= */

.main-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.martish-main-swiper {
    width: 100%;
}

.martish-main-swiper .swiper-slide {
    width: 100%;
}

/* Full-width image, scales with viewport, never cropped on mobile */
.main-slider-img {
    display: block;
    width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   NAVIGATION ARROWS
   Centered vertically (middle), positioned at left/right edges
--------------------------------------------------------- */
.martish-slider-prev,
.martish-slider-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: var(--martish-dark, #1c1c1c);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.martish-slider-prev::after,
.martish-slider-next::after {
    font-size: 18px;
    font-weight: 900;
}

.martish-slider-prev {
    left: 20px;
}

.martish-slider-next {
    right: 20px;
}

.martish-slider-prev:hover,
.martish-slider-next:hover {
    background-color: var(--martish-green-dark, #4caf50);
    color: #ffffff;
}


/* ---------------------------------------------------------
   PAGINATION DOTS
   Bottom-center, 12px from the slider's bottom edge
--------------------------------------------------------- */
.martish-slider-pagination {
    bottom: 12px !important;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.martish-slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    opacity: 0.6;
    margin: 0;
    transition: all 0.25s ease;
}

.martish-slider-pagination .swiper-pagination-bullet-active {
    background-color: var(--martish-orange, #f8a51b);
    opacity: 1;
    width: 26px;
    border-radius: 5px;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 767.98px) {
    .martish-slider-prev,
    .martish-slider-next {
        width: 38px;
        height: 38px;
    }

    .martish-slider-prev::after,
    .martish-slider-next::after {
        font-size: 14px;
    }

    .martish-slider-prev {
        left: 10px;
    }

    .martish-slider-next {
        right: 10px;
    }

    .martish-slider-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .martish-slider-pagination .swiper-pagination-bullet-active {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .martish-slider-prev,
    .martish-slider-next {
        display: none;
    }
}
