.coupon-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.coupon-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}


@media (min-width: 768px) {
    .coupon-list {
        overflow-x: hidden; 
    }
    .coupon-list::-webkit-scrollbar {
        display: none; 
    }
    .coupon-list {
        -ms-overflow-style: none; 
        scrollbar-width: none; 
    }
}


@media (max-width: 767px) {
    .coupon-list::-webkit-scrollbar {
        height: 8px;
    }
    .coupon-list::-webkit-scrollbar-thumb {
        background-color: #e60000;
        border-radius: 4px;
    }
    .coupon-list::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
}

.coupon-display {
    display: flex;
    background-color: #fff5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
}

.coupon-left {
    padding: 15px;
    flex: 1;
}

.coupon-title {
    font-size: 18px;
    color: #e60000;
    margin: 0;
    font-weight: bold;
}

.coupon-subtitle {
    font-size: 14px;
    color: #e60000;
    margin: 5px 0;
}

.coupon-expiry {
    font-size: 12px;
    color: #666;
    margin: 5px 0 0;
}

.coupon-right {
    display: flex;
    align-items: center;
    padding: 15px;
    border-left: 1px dashed #ddd;
}

.coupon-button {
    background-color: #e60000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.coupon-button:hover {
    background-color: #cc0000;
}


.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: #f0f0f0;
}

.carousel-arrow-left {
    left: 0;
    display: none; 
}

.carousel-arrow-right {
    right: 0;
}


@media (max-width: 767px) {
    .carousel-arrow {
        display: none;
    }
}