/* =========================================================
   New Product Alert Bar - mod_newproduct_alert
   ========================================================= */

/* The alert bar wrapper ("product-alert-bar" is the recommended
   module class suffix). */
.product-alert-bar {
    background-color: beige; /* Alert red */
    color: #708090;
    padding: 0px 0;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    margin: 0;
    width: auto;
}
#sp-bottom .sp-module ul.product-alert-list li.product-alert-item{
    margin-bottom:0;
}
#sp-bottom .sp-module ul.product-alert-list li.product-alert-item a{
	display:inline;
}
/* Inner container */
.mod-newproduct-alert {
    position: relative;
    display: block;
}

.product-alert-track {
    display: flex;
    align-items: center;
    justify-content: start;
    
    gap: 10px;
    padding: 0 40px;
}

/* The rotating list shows one product at a time */
.product-alert-list {
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 1.4em;
}

.product-alert-item {
    display: none;
    animation: product-alert-fade .5s ease;
}

.product-alert-item.is-active {
    display: block;
}

@keyframes product-alert-fade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure the clickable product titles look good */
.product-alert-bar a {
    color: slategrey !important;
    text-decoration: underline;
    margin: 0 10px;
    transition: opacity 0.2s ease;
}

.product-alert-bar a:hover,
.product-alert-bar a:focus {
    opacity: 0.8;
}

/* "NEW:" prefix before each product title */
.product-alert-bar .product-alert-list li::before {
    content: "\1F525 NIEUW : ";
    font-weight: bold;
}

/* Optional static headline (e.g. "New arrivals:") */
.product-alert-headline {
    margin-right: 5px;
    white-space: nowrap;
}

/* Close button */
.product-alert-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.15);
    color: #ffffff;
    border: 0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 1;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

.product-alert-close:hover,
.product-alert-close:focus {
    background: rgba(0, 0, 0, 0.35);
}

/* Optional sticky behaviour (fixed to the top of the viewport) */
.product-alert-bar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

@media (max-width: 767px) {
    #sp-top-bar .sp-module.product-alert-bar {
    margin: 0;
}
    .product-alert-bar {
        font-size: 13px;
    }

    .product-alert-track {
        padding: 0 5px;
    }
}