﻿
.promo-section {
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 3px 30px 0 rgb(0 0 0 / 10%);
    background-color: #ffffff;
    /*margin-bottom: 4rem;*/
}

.promo-card-link {
    text-decoration: none;
    color: inherit;
 /*   display: block;*/
}

    .promo-card-link:hover {
        text-decoration: none;
    }

.promo-title {
    margin: 0;
    padding: 0;
    font-size: 22px;
}


.promo-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
}

.promo-card {
    flex: 0 0 250px; /* fixed width for horizontal scroll */
    display: flex;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    /*    gap: 12px;*/
    gap: 10px;
    box-shadow: 0 1px 6px 0 rgb(0 0 0 / 40%);
    scroll-snap-align: start;
    position: relative; /* IMPORTANT */
    overflow: hidden;
}

/* Image */
.promo-img {
    /*  width: 120px;*/
    width: 100px;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Content */
.promo-body {
    flex: 1;
}

/* Top meta */
.promo-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}

.promo-type {
    font-weight: 400;
}

.promo-terms {
    font-size: 10px;
}

/* Text */
.promo-heading {
    font-size: 18px;
    margin: 6px 0;
    font-weight: 600;
}

.promo-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}



.promo-btn {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: rgb(204,0,0,1);
}

.promo-code {
    font-size: 12px;
    color: #666;
}



/* Make body vertical */
.promo-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Push footer to bottom */
.promo-footer {
    margin-top: auto; /* pushes it down */
    display: flex;
    justify-content: flex-end; /* move button to right */
    align-items: center;
}

.uppercase {
    text-transform: uppercase;
}

.promo-ribbon {
    position: absolute;
    top: 0;
    right: 10px;
    background: rgb(204,0,0,1);
    color: #fff;
    padding: 10px 12px;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.promo-wrapper {
    position: relative;
}

.promo-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 2px;
}

    /* hide scrollbar */
    .promo-grid::-webkit-scrollbar {
        display: none;
    }

.scroll-btn-promo {
    background: #fff;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border: solid 1px #f1f1f1;
    z-index: 10;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .scroll-btn-promo.left {
        left: 5px;
        border-radius: 20px 0 0 20px;
        box-shadow: -1px 0 3px 0 rgb(0 0 0 / 10%);
        cursor: pointer;
    }

    .scroll-btn-promo.right {
        right: 5px;
        border-radius: 0 20px 20px 0;
        box-shadow: 2px 0 3px 0 rgb(0 0 0 / 10%);
        cursor: pointer;
    }

    .scroll-btn-promo:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
    }

.promo-home-title {
    font-size: 20px;
    font-weight: 600;
    color: #515151;
    padding-left: 1rem;
}