@import url('color-palette.css');

.promo-wrapper {
    background-color: var(--bs-gray-100);
    border-radius: 30px;
    padding: 20px 20px 30px;
}

.promotions-title {
    color: var(--bs-primary-600);
    font-size: 30pt;
    font-weight: 900;
    text-align: center;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.promo-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
}

.promo-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    text-align: center;
    padding: 10px 8px 0;
    font-size: 11pt;
    color: var(--bs-gray-500);
}

.promo-slider-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.promo-slider-row .splide__track {
    flex: 1;
    min-width: 0;
}

.slider-border-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bs-primary-600);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.slider-border-btn:hover { opacity: 0.8; }

.slider-border-btn:focus, .slider-border-btn:active {
    outline: none;
    box-shadow: none;
}

.splide-promotions .splide__pagination {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 0;
    list-style: none;
    margin: 0;
}

.splide-promotions .splide__pagination__page {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: var(--bs-gray-300);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: background 0.25s, width 0.25s;
    opacity: 1;
}

.splide-promotions .splide__pagination__page.is-active {
    background: var(--bs-primary-600);
}

.splide-promotions .splide__pagination__page:focus, .splide__pagination__page:active {
    outline: none;
    box-shadow: none;
}

.splide-promotions .splide__arrows { display: none; }

@media (max-width: 640px) {
    .promotions-title {
        font-size: 20pt;
    }
}