/**
 * Raft Sale Sticker
 */

.banner-slide {
    position: relative;
}

.raft-sale-sticker {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #cc0000;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.2;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    animation: raft-sticker-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes raft-sticker-pop {
    0%   { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1);   opacity: 1; }
}

@media (max-width: 767px) {
    .raft-sale-sticker {
        width: 60px;
        height: 60px;
        font-size: 12px;
        top: 20px;
        left: 20px;
    }
}

/**
 * Raft Sale Bar
 * CMS block identifier: raft_sale_bar
 *
 * Expected CMS block HTML structure:
 * <ul class="raft-sale-bar__list">
 *   <li><a href="/link-1">Item One</a></li>
 *   <li><a href="/link-2">Item Two</a></li>
 *   <li><a href="/link-3">Item Three</a></li>
 *   <li><a href="/link-4">Item Four</a></li>
 * </ul>
 */

.raft-sale-bar {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.raft-sale-bar__inner {
    width: 100%;
}

/* Desktop & iPad landscape — single row with pipe separators */
.raft-sale-bar__list {
    list-style: none;
    margin: 0;
    padding: 8px 16px;
    display: flex!important;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.raft-sale-bar__list.owl-carousel .owl-stage-outer {
    padding: 0;
}

.raft-sale-bar__list.owl-carousel .owl-stage {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.raft-sale-bar__list div a {
    color: inherit;
    text-decoration: none;
}

.raft-sale-bar__list div a:hover {
    text-decoration: underline;
}

/* iPad portrait and below — owl carousel, single item at a time */
@media (max-width: 1024px) {
    .raft-sale-bar__list {
        padding: 0;
    }

    /* When owl is active, reset flex layout */
    .raft-sale-bar__list.owl-carousel {
        display: block;
    }

    .raft-sale-bar__list.owl-carousel div {
        text-align: center;
        padding: 8px 16px;
        white-space: normal;
        font-size: 13px;
    }

    .raft-sale-bar__list.owl-carousel div a {
        color: inherit;
        text-decoration: none;
    }
}
