/*BOGO*/
.native-carousel-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 10px; /* Khoảng cách giữa các sản phẩm */
    padding: 10px 0; /* Ẩn thanh scroll trên Firefox */
}

.native-carousel-wrapper::-webkit-scrollbar {
    display: none; /* Ẩn thanh scroll trên Chrome/Safari */
}
/* 1. Ép các cột item có chiều cao bằng nhau */
.native-carousel-wrapper {
    display: flex;
    align-items: stretch; /* Quan trọng: Kéo dài các item cho bằng đứa cao nhất */
}

.native-carousel-item {
    flex: 0 0 calc(25% - 8px);
    display: flex; /* Biến chính nó thành flex container */
    position: relative;
}
.native-carousel-item.native-carousel-item--horizontal{
    flex: 0 0 calc(33% - 6px);
}

/* 2. Ép Card sản phẩm bên trong lấp đầy chiều cao của cột */
.native-carousel-item .product-card {
    display: flex;
    flex-direction: column; /* Xếp nội dung theo chiều dọc */
    width: 100%;
    height: 100%; /* Lấp đầy cột */
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    overflow: hidden;
}
.native-carousel-item.native-carousel-item--horizontal .product-card{
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row !important;
}

/* 3. Đẩy phần Actions (Giá, Nút bấm) xuống đáy Card */
.native-carousel-item .product-card__info {
    flex-grow: 1; /* Chiếm hết không gian trống để đẩy phần dưới xuống */
    display: flex;
    flex-direction: column;
}

.native-carousel-item .product-card__info{
    flex-grow: unset !important;
}

.native-carousel-item .product-card__actions {
    background: #f9f9f9; /* Tùy chỉnh màu nền phần nút nếu muốn */
    padding: 10px;
}

.native-carousel-item .product-card__info {
    padding: 10px;
}

.native-carousel-item .product-card__actions .product-card__prices-sold{
    min-height: 66px;
}
.native-carousel-item  .product-card__buttons {
    gap: 5px;
}
.native-carousel-item  .product-card__buttons .input-number{
    width: 30% !important;
}
.native-carousel-item  .product-card__buttons .input-number .input-number__input{
   min-width: 75px !important;
}
.native-carousel-item .product-card__buttons .product-card__addtocart{
    padding: .375rem .6rem !important;
}
.native-carousel-item .product-card__buttons .product-card__addtocart:disabled{
    cursor: not-allowed !important;
    background: #e9ebee !important;
    border-color: #e9ebee !important;
    color: #6c757d !important;
    opacity: 1 !important;
}
.native-carousel-item .product-card__name {
    min-height: 57px;
}
@media (max-width: 767px) {
    .native-carousel-item {
        min-width: 48.5%;
    }
    .native-carousel-item .product-card__buttons{
        flex-direction: column;
    }
    .native-carousel-item  .product-card__buttons .input-number{
        width: 100% !important;
    }
}

.native-carousel-item .native-carousel-item__banner{
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ws-slider-item__video .plyr--video {
    width: 100%;
    height: 100%;
}