/* --- Container & Breadcrumb --- */
.section-single-voucher {
    padding: 40px 0 80px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
}


/* --- Layout: Flex Split --- */
.voucher-detail-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 40px 0px;
}

/* --- Left: Image Card --- */
.voucher-left {
    flex: 0 0 44%;
    border-radius: 16px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DBF1F0;
    background-color: #fff;
}

.voucher-left .image-container img {
    max-width: 50%;
    max-height: 450px;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 0 auto;
}

/* --- Right: Content --- */
.voucher-right {
    flex: 1;
}

/* Badge */
.category-badge {
    display: inline-block;
    background-color: #e0e0e0;
    color: #555;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

/* Typography */
.voucher-title {
    color: #3B3B3B;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.voucher-brand {
    color: #555A65;
    font-family: Inter;
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0 0 30px;
}

/* --- Voucher Code Box (The Teal Box) --- */
.voucher-code-box {
    background-color: #d1eae5; /* Light Teal Background */
    border-radius: 12px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 400px;
    margin-bottom: 20px;
}

.voucher-code-box .box-label {
    display: flex;
    flex-direction: column;
    color: #047067;
    font-family: Inter;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.voucher-code-box .box-value {
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
    flex-grow: 1;
    display: flex; /* Ensures the image centers perfectly */
    justify-content: center;
    align-items: center;
}

/* Simulated Barcode (CSS Stripes) */
.barcode-lines {
    height: 30px;
    width: 100%;
    background: repeating-linear-gradient(
        90deg,
        #000 0px, #000 2px,
        transparent 2px, transparent 4px,
        #000 4px, #000 7px,
        transparent 7px, transparent 9px
    );
    margin-bottom: 5px;
    opacity: 0.8;
}

.code-text {
    font-family: 'Courier New', Courier, monospace; /* Monospace for code look */
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
}

/* Expiry Date */
.use-by {
    color: #555A65;
    font-family: Inter;
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* --- Terms & Conditions --- */
.terms-section {
    padding-top: 20px;
}

.terms-heading {
    color: #047067;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-bottom: 2px solid #047067; /* Green Underline */
    padding-bottom: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.terms-content {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.terms-content ul, .terms-content ol {
    padding-left: 20px;
    margin: 0;
}

.terms-content li {
    margin-bottom: 8px;
}

.terms-content p span {
    color: #3B3B3B;
    font-family: Inter !important;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400;
    line-height: normal;/
}

.terms-content p {
    display: flex;
    flex-direction: column;
    
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .voucher-detail-wrapper {
        flex-direction: column;
    }
    
    .voucher-left, .voucher-right {
        width: 100%;
        flex: auto;
    }
    
    .voucher-left {
        padding: 20px;
    }
    
    .voucher-code-box {
        width: 100%;
        max-width: none;
        justify-content: space-between;
    }
}