/* File: /bootik24_evo/frontends/public-bff/public/css/swiper-rails.css */
/* Swiper Rails - Styles pour carrousels produits */

/* ========== RAIL HEADER ========== */
.b24-rail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.b24-rail-header h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

/* ========== RAIL CONTAINER ========== */
.b24-rail {
    /* margin: 10px; */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0.75rem;
    /* padding: 0.5rem 0.5rem 1rem; */
    position: relative;
}

/* ========== PRODUCT CARDS ========== */
.b24-card {
    border: none;
    background: #fff;
}

.b24-card .b24-imgbox {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 0.5rem;
    overflow: hidden;
}

.b24-card img {
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.b24-card .b24-title {
    font-size: 0.9rem;
    line-height: 1.25rem;
    height: 2.5rem;
    overflow: hidden;
    margin-top: 0.5rem;
    color: #111;
}

.b24-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
}

/* ========== NAVIGATION BUTTONS SWIPER ========== */
.b24-swiper-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    width: 40px;
    height: 60px;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    pointer-events: auto !important;
    border: 1px solid #eee;
}

.b24-swiper-prev {
    left: 4px;
}

.b24-swiper-next {
    right: 4px;
}

.b24-swiper-nav:disabled,
.b24-swiper-nav.swiper-button-disabled {
    opacity: 0.35 !important;
    pointer-events: none !important;
}

/* ========== PAGINATION ========== */
.b24-pagination {
    position: static;
    margin-top: 0.5rem;
}