
.panel-adds-main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.panel-adds{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    overflow-y: scroll;
    width: 100%;
    max-width: 1280px;
    padding: 10px;
    font-weight: 600;
    border-radius: 8px 8px 8px 8px;
    border: none;
    outline: none;
    color: rgb(200, 170, 170);
    transition: all 150ms ease-in-out;
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.9) 0px 0px 0px 1px;
    background-color: rgba(17, 17, 17, 1);
    background-image: radial-gradient(76% 151% at 52% -52%, rgba(255, 255, 255, 0.23) 0%, transparent 100%);
}
.stock-ticker {
    display: flex;
    gap: 10px;
    overflow: hidden;
    border-radius: 5px;
    width: 100%;
}
  
.stock-ticker ul {
    --gap-stocker: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    min-width: 100%;
    gap: var(--gap-stocker);
    animation: scroll 60s linear infinite;
}
.stock-ticker:hover ul {
    animation-play-state: paused;
}

.ad-box-cart-x {
    position: relative;
    width: 200px;
    height: 120px;
    padding: 5px;

}

.ad-box-cart-img-x {
    width: 200px;
    height: 100px;
    margin: 2px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

.ad-promo-box-x {
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0px;
}

.hd-img-m-x{
    width: 100px; 
    height: 50px; 
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

@keyframes scroll {
    to {
        transform: translateX(calc(-100% - var(--gap-stocker)));
    }
}
                    
/* **************************** ad carousel ************************ */
.ad-box-cart {
    position: relative;
    height: 120px;
    padding: 5px;
}

.ad-box-cart-img {
    width: 100%;
    height: 100px;
    margin: 2px;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

.ad-promo-box {
    position: absolute;
    width: 150px;
    top: 10px;
    right: 10px;
    transform: rotateZ(-8deg);
}
.ad-promo-box-des {
    position: absolute;
    width: 90%;
    bottom: 10px;
    right: 10px;
}

.ad-box-cart-user {
    position: relative;
    height: 70px;
    padding: 5px;
}

.ad-box-cart-img-user {
    width: 100%;
    height: 50px;
    margin: 2px;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

.ad-promo-box-user {
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0px;
}

/* Bottom Carousele */
.wrapper-bottom-carousele {
    max-width: 1780px;
    width: 100%;
}
  
.wrapper-bottom-carousele .carousel-bottom-carousele{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 5) - 14px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.wrapper-bottom-carousele .arrow-bottom-carousele{
    top: 50%;
    transform: translateY(-50%);
}

.wrapper-bottom-carousele .arrow-bottom-carousele:first-child{
    left: -30px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.wrapper-bottom-carousele .arrow-bottom-carousele:last-child{
    right: -30px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.carousel-bottom-carousele::-webkit-scrollbar {
    display: none;
}

.carousel-bottom-carousele.no-transition {
    scroll-behavior: auto;
}

.carousel-bottom-carousele.dragging-bottom-carousele {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel-bottom-carousele.dragging-bottom-carousele .card-bottom-carousele {
    cursor: grab;
}

.carousel-bottom-carousele .card-bottom-carousele {
    scroll-snap-align: start;
}

@media screen and (max-width: 1700px) {
    .wrapper-bottom-carousele .carousel-bottom-carousele {
        grid-auto-columns: calc((100% / 4) - 13px);
    }
}
@media screen and (max-width: 1450px) {
    .wrapper-bottom-carousele .carousel-bottom-carousele {
        grid-auto-columns: calc((100% / 3) - 12px);
    }
}
@media screen and (max-width: 1100px) {
    .wrapper-bottom-carousele .carousel-bottom-carousele {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}
@media screen and (max-width: 770px) {
    .wrapper-bottom-carousele .carousel-bottom-carousele {
        grid-auto-columns: calc(100%  - 9px);
    }
}

/* Top Carousele */
.wrapper-top-carousele {
    max-width: 1920px;
    width: 100%;
}
  
.wrapper-top-carousele .carousel-top-carousele{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 9) - 15px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.wrapper-top-carousele .arrow-top-carousele{
    top: 50%;
    transform: translateY(-50%);
}

.wrapper-top-carousele .arrow-top-carousele:first-child{
    left: -30px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.wrapper-top-carousele .arrow-top-carousele:last-child{
    right: -30px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.carousel-top-carousele::-webkit-scrollbar {
    display: none;
}

.carousel-top-carousele.no-transition {
    scroll-behavior: auto;
}

.carousel-top-carousele.dragging-top-carousele {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel-top-carousele.dragging-top-carousele .card-top-carousele {
    cursor: grab;
}

.carousel-top-carousele .card-top-carousele {
    scroll-snap-align: start;
}

.check-out-text {
    font-size: 16px;
}

@media screen and (max-width: 1800px) {
    .wrapper-top-carousele .carousel-top-carousele {
        grid-auto-columns: calc((100% / 8) - 15px);
    }
}
@media screen and (max-width: 1600px) {
    .wrapper-top-carousele .carousel-top-carousele {
        grid-auto-columns: calc((100% / 7) - 14px);
    }
}
@media screen and (max-width: 1500px) {
    .wrapper-top-carousele .carousel-top-carousele {
        grid-auto-columns: calc((100% / 6) - 14px);
    }
}
@media screen and (max-width: 1400px) {
    .wrapper-top-carousele .carousel-top-carousele {
        grid-auto-columns: calc((100% / 5) - 14px);
    }
}
@media screen and (max-width: 1200px) {
    .wrapper-top-carousele .carousel-top-carousele {
        grid-auto-columns: calc((100% / 4) - 14px);
    }
}
@media screen and (max-width: 1000px) {
    .wrapper-top-carousele .carousel-top-carousele {
        grid-auto-columns: calc((100% / 3) - 14px);
    }
}
@media screen and (max-width: 850px) {
    .wrapper-top-carousele .carousel-top-carousele {
        grid-auto-columns: calc((100% / 2) - 14px);
    }
    .check-out-text {
        font-size: 12px;
    }
}
@media screen and (max-width: 550px) {
    .wrapper-top-carousele .carousel-top-carousele {
        grid-auto-columns: calc(100%  - 9px);
    }
    .check-out-text {
        font-size: 10px;
    }
}

.play-pause-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    top: -15px;
    right: -40px;
    border-radius: 5px;
    overflow: hidden;
}
/* **************************** ad carousel ************************ */