.section-birthday-vouchers-hero .breadcrumb {
    align-self: flex-start;
}


/* --- Hero Layout --- */
.section-birthday-vouchers-hero .content-div {
    display: flex;
    flex-direction: column; /* Stack them vertically instead of side-by-side */
    align-items: center;
}

/* --- Green Page Title --- */
.section-birthday-vouchers-hero .text-div {
    text-align: center;
    margin-bottom: 30px;
}

.section-birthday-vouchers-hero .text-div h1 {
    color: #047067;
    text-align: center;
    font-family: Inter;
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 65px;
}

/* --- Banner Image Area --- */
.section-birthday-vouchers-hero .img-div {
    position: relative; /* Needed for the overlay text */
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.section-birthday-vouchers-hero .img-div img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Overlay Text (White text on image) --- */
.section-birthday-vouchers-hero .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    color: #fff;
    z-index: 2;
}

.section-birthday-vouchers-hero .overlay-text h2 {
    color: #FFF;
    font-family: Inter;
    font-size: 39px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0;
}

.section-birthday-vouchers-hero .overlay-text p {
    color: #fff;
    font-size: 18px;
}

/*how to redeem*/

/* --- Section Padding --- */
.section-birthday-vouchers-redeem {
    padding: 50px 0;
}

/* --- Title --- */
.section-title h2{
    font-size: 39px;
    letter-spacing: 0px;
    font-weight: 500;
}

.section-birthday-vouchers-redeem .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-birthday-vouchers-redeem .section-title h2 {
    font-size: 39px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0px;
}

/* --- Flex Container --- */
.section-birthday-vouchers-redeem .content-div {
    display: flex; /* Activate Flexbox */
    justify-content: space-between; /* Space them out */
    gap: 20px; /* Gutter between cards */
}

/* --- Individual Cards (single-div) --- */
.section-birthday-vouchers-redeem .single-div {
    background-color: #f5f5f5; /* Light gray background */
    border-radius: 12px;
    padding: 30px;
    flex: 1; /* Makes all 3 cards grow to equal width */
    display: flex;
    flex-direction: column; /* Stacks header and text vertically inside the card */
}

/* --- Card Top Area (Number + Icon) --- */
.section-birthday-vouchers-redeem .card-top {
    display: flex;
    justify-content: space-between; /* Number left, Icon right */
    align-items: center;
    margin-bottom: 20px;
}

.section-birthday-vouchers-redeem .step-number {
    font-size: 48px;
    font-weight: 300;
    color: #005c5c;
    line-height: 1;
}

.section-birthday-vouchers-redeem .img-div img {
    max-width: 60px;
    height: auto;
    display: block;
}

/* --- Text Area --- */
.section-birthday-vouchers-redeem .text-div p {
    font-size: 15px;
    color: #005c5c;
    line-height: 1.5;
    margin: 0;
    width: 100%;
}

/* --- Mobile Responsive --- */
@media (max-width: 767px) {
    .section-birthday-vouchers-redeem .content-div {
        flex-direction: column; /* Switch to vertical stack on mobile */
    }
    
    .section-birthday-vouchers-redeem .single-div {
        margin-bottom: 20px; /* Add space between stacked cards */
    }

    .section-birthday-vouchers-hero .overlay-text p {
        color: #fff;
        font-size: 18px;
        width: 88%;
        margin: 0 auto;
    }

    .section-birthday-vouchers-redeem .text-div p {
        text-align: left;
    }

    .section-birthday-vouchers-hero .text-div h1 {
        font-size: 30px;
    }

    .section-title h2,
    .section-birthday-vouchers-redeem .section-title h2{
        font-size: 26px;
        letter-spacing: 0px;
        font-weight: 500;
    }

    
}

/*voucher list*/

/* --- Filter Bar --- */
.section-birthday-vouchers-list .filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.section-birthday-vouchers-list .filter-bar .sort-div{
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.section-birthday-vouchers-list .filter-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.section-birthday-vouchers-list .filter-tabs li {
    cursor: pointer;
    padding-bottom: 15px;
    font-size: 16px;
    color: #666;
    position: relative;
    font-weight: 500;
}

.section-birthday-vouchers-list .filter-tabs li.active {
    color: #005c5c;
    font-weight: 700;
}

.section-birthday-vouchers-list .filter-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Sit on the line */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #005c5c;
}

.section-birthday-vouchers-list .select-wrapper select {
    padding: 5px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    font-size: 12px;
}

/* --- Grid Layout --- */
.section-birthday-vouchers-list .coupons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns */
    gap: 20px;
    margin-bottom: 40px;
}

/* --- Ticket Card Style --- */
.section-birthday-vouchers-list .voucher-card {
    background: #fff;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

/* Left: Image Area */
.section-birthday-vouchers-list .card-left {
    width: 42%;
    background-color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #DBF1F0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-right: 0.5px dashed #c5c5c5; 
}

.section-birthday-vouchers-list .card-left::before,
.section-birthday-vouchers-list .card-left::after {
    content: '';
    position: absolute;
    right: -10px; /* Half inside, half outside */
    width: 21px;
    height: 20px;
    background-color: #fff; /* Match section bg */
    border-radius: 50%;
    border: 1px solid #eaeaea; /* Match card border */
    border: 1px solid #DBF1F0;
    z-index: 2;
}
.section-birthday-vouchers-list .card-left::before { top: -10px; }
.section-birthday-vouchers-list .card-left::after { bottom: -10px; }

.section-birthday-vouchers-list .card-left img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Right: Content Area */
.section-birthday-vouchers-list .card-right {
    width: 58%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    border: 1px solid #DBF1F0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-left: none;
    background-color: #FAFAFA;
}

.section-birthday-vouchers-list .badge {
    background-color: #eee;
    color: #666;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-birthday-vouchers-list .filter-bar .sort-div label {
    font-size: 11px;
}

.section-birthday-vouchers-list h4 {
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 5px;
    color: #005c5c;
    font-weight: 700;
}

.section-birthday-vouchers-list .brand {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    line-height: 1.5;
}

.section-birthday-vouchers-list .details p {
    font-size: 10px;
    color: #555;
    margin: 2px 0 5px;
    line-height: 1.4;
}

.section-birthday-vouchers-list .redeem-link {
    margin-top: auto; /* Pushes to bottom */
    font-size: 12px;
    font-weight: 700;
    color: #005c5c;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-birthday-vouchers-list .redeem-link:hover .arrow {
    transform: translateX(4px);
    transition: transform 0.2s;
}

/* --- Pagination Container --- */
.pagination-div.coupons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px; /* Space between items */
    margin: 50px 0px;
}

/* --- Numbers (1, 2, 3...) --- */
.pagination-div.coupons .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;      
    height: 40px;     
    line-height: 1;
    border-radius: 50%;
    text-decoration: none;
    font-size: 15px; 
    font-weight: 500;
    color: #1d3640;
    background-color: transparent;
    border: none;
    transition: all 0.2s ease;
}

/* --- Active Number (Gray Circle) --- */
.pagination-div.coupons .page-numbers.current {
    background-color: #f2f4f5; /* Light gray circle */
    font-weight: 700;
}

.pagination-div.coupons a.page-numbers:hover {
    background-color: #f2f4f5;
}

/* --- THE ARROWS (CSS Drawn) --- */
.pagination-div.coupons .nav-arrow {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-top: 2px solid #1d3640;  /* Arrow Color */
    border-right: 2px solid #1d3640; /* Arrow Color */
    /* No rotation yet - this creates a corner shape */
}

/* Previous Arrow (<) */
/* Rotate the corner to point Left */
.pagination-div.coupons .prev .nav-arrow {
    transform: rotate(-135deg); 
    margin-left: 5px; /* Visual centering adjustment */
}

/* Next Arrow (>) */
/* Rotate the corner to point Right */
.pagination-div.coupons .next .nav-arrow {
    transform: rotate(45deg);
    margin-right: 5px;
}

/* Arrow Hover State */
.pagination-div.coupons a:hover .nav-arrow {
    border-color: #000; /* Darker on hover */
}




/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .section-birthday-vouchers-list .coupons-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Cols Tablet */
    }
}

@media (max-width: 767px) {
    .section-birthday-vouchers-list .coupons-grid {
        grid-template-columns: 1fr; /* 1 Col Mobile */
    }

    .section-birthday-vouchers-hero .overlay-text h2 {
        color: #FFF;
        text-align: center;
        font-family: Inter;
        font-size: 22px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        letter-spacing: 0;
    }
    
    .section-birthday-vouchers-list .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        border-bottom: 1px solid transparent;
    }

    .section-birthday-vouchers-list .filter-bar .tabs-div {
        width: 100%;
    }
    
    .section-birthday-vouchers-list .filter-tabs {
        width: 100%;
        border-bottom: 1px solid #cbcbcb;
        /* overflow-x: auto;  */
    }

    /* 2. Make each tab grow to fill equal space */
    .filter-tabs li {
        flex: 1;             /* This is the magic property: "Grow equally" */
        text-align: center;  /* Center the text inside the tab */
        display: block;
        padding: 10px 5px;   /* Vertical padding for touch targets */
        margin-right: 0;     /* Remove any desktop margins */
        white-space: nowrap; /* Prevent text from breaking if possible */
        font-size: 14px;     /* Slightly smaller font for mobile */
        max-width: 33%;
    }

    .section-birthday-vouchers-list .filter-bar .sort-div{
        display: flex;
        align-items: baseline;
        gap: 2%;
        width: 100%;
        justify-content: space-between;
    }

    .section-birthday-vouchers-list .filter-bar .sort-div label{
        display: flex;
        flex: 0 0 18%;
    }

    .section-birthday-vouchers-list .filter-bar .sort-div .select-wrapper {
        display: flex;
        width: 100%;
    }

    .section-birthday-vouchers-list .select-wrapper select {
        width: 100%;
    }
    
}