.deals-carousel {
    /* background: rgba(0, 15, 2, 0.8); */
    background: rgba(221, 203, 184, 1);
    color: #000f02;
    border-radius: 20px 20px 20px 20px;
    overflow: hidden;
}

.deals-carousel * {
    box-sizing: border-box;
}

/* Carousel header */

.deals-carousel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.deals-carousel .deals-carousel__heading {
    flex: 1;
    font-size: 1em;
    margin: 0;
    font-weight: 700;
    padding: .65rem .65rem .5rem;
    height: 100%;
}

.deals-carousel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 1rem;
    background-size: contain;
    vertical-align: middle;
    background-color: rgba(242, 124, 161, 0);
    border-radius: 10px;
    position: relative;
}

.deals-carousel__icon svg {
    width: 36px;
    height: 36px;
    fill: rgba(242, 124, 161, 1);
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.deals-carousel__controls {
    display: flex;
    gap: 0;
    align-items: center;
}

.deals-carousel__control {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    padding: 1.25rem .5rem;
    margin: 0;
    fill:rgba(0, 15, 2, 1);
    transition: fill 0.3s ease-in-out, background-color 0.3s ease-in-out;
    background-color: rgba(242, 124, 161, .0);
}

.deals-carousel__control--next {
    padding-right: 1.25rem;
}

.deals-carousel__control--prev {
    padding-left: 1.25rem;
}

.deals-carousel__control:hover {
    background-color: rgba(242, 124, 161, .2);
}

.deals-carousel__control svg {
    height: 24px;
    width: 24px;
}

.deals-carousel__control--prev svg{
    transform: translateX(-1px);
}

.deals-carousel__control--next svg{
    transform: translateX(1px);
}


.deals-carousel__slider-container {
    position: relative;
}

.deals-carousel__pause-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 24px;
    height: 24px;
    padding: 4px;
    cursor: pointer;
    fill: rgba(221, 203, 184, 1);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease-in-out;
    background-color: rgba(0, 15, 2, .5);
    border-radius: 100px;
    box-sizing: content-box;
}

.deals-carousel__slider-container:hover .deals-carousel__pause-icon {
    opacity: 1;
}


/* Carousel Slider */

.deals-carousel__slider {
    display: flex;
    overflow: hidden;
    border-radius: 0;
    width: 100%;
    position: relative;
}


.deals-carousel__item {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    background-color: rgb(242, 124, 161);
}





.deals-carousel__text {
    flex: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    color: #000f02;
    padding: 2rem 2rem 1.5rem;
    font-weight: 500;
}

.has-image-bg .deals-carousel__text {
    background-color: rgba(242, 124, 161, .8);
    /* background: linear-gradient(to top, rgba(242, 124, 161, .9) 0%, rgba(242, 124, 161, 0) 100%); */
}

.deals-carousel .deals-carousel__title {
    margin: 0 0 1rem 0;
    line-height: 1.1;
    flex: 1;
    font-weight: 600;
}

.deals-carousel__media {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 ;
    padding: 2rem 2rem 0;
    aspect-ratio: 4 / 3;
    box-sizing: border-box;
}

.deals-carousel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.deals-carousel__media svg {
    width: 100%;
    aspect-ratio: 2 / 1;
    fill: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.deals-carousel__prices {
    display: flex;
    gap: 0;
    align-items: baseline;
    flex-direction: column;
    letter-spacing: -0.05em;
}

.deals-carousel__new-price {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.deals-carousel__info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    border-top: 1px solid rgba(0, 15, 2, 0.2);
    margin-top: .85rem;
    padding-top: .85rem;
}

.deals-carousel__end-date   {
    flex-shrink: 0;
}


.deals-carousel__link-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    mix-blend-mode: multiply;

}

.deals-carousel__link-overlay-container a {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 15, 2, 0);
    transition: background-color 0.4s ease-in-out !important;
    cursor: pointer;
}

.deals-carousel__link-overlay-container a:hover {
    background-color: rgba(0, 15, 2, 0.2);
}
 

/* Navigation Dots and Timer Bar */

.deals-carousel__nav-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1em;
    overflow: hidden;
}

.deals-carousel__nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(242, 124, 161, 0.2);
    transition: background 0.3s;
}

.deals-carousel__nav-dot.active {
    background: rgba(242, 124, 161, 1);
}

.deals-carousel__timer-bar {
    width: 100%;
    height: 3px;
    border-radius: 0;
    overflow: hidden;
}

.deals-carousel__timer-progress {
    height: 100%;
    width: 0%;
    background: rgb(242, 124, 161);
    border-radius: 0;
    transition: width 0.1s linear;
}


@media (max-width: 700px) {}
