/* General Coupon Styles */
.coupon-container {
    /*border: 2px dashed #680505;*/
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='10' ry='10' stroke='%238a0a0a' stroke-width='7' stroke-dasharray='12' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
    border-radius: 10px;
    padding: 20px;
    margin: 15px; /* Padding between cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /*background-color: #f9f9f9;*/
    background-color: #ece1e1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for better definition */
    position: relative;
    -webkit-print-color-adjust: exact;
}

.coupon-container .content {
    min-height: 100px !important;
}

.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-header .icon {
    font-size: 1.2rem;
    color: #7c7c7c;
    cursor: pointer;
}

.coupon-container img {
    margin: auto;
    opacity: 0.7;
    max-height: 70%;
    max-width: 70%;
    /*filter: grayscale(100%);*/
    padding-bottom: 10px;
}

.coupon-container:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Slightly larger shadow on hover */
}

.coupon-tag {
    background-color: #363636 !important;
    color: #fff !important;
    padding: 5px 15px;
    font-size: 1rem;
    border-radius: 20px;
    text-align: center;
    -webkit-print-color-adjust: exact;
}

.coupon-container footer {
    font-size: 1rem;
    color: #555;
    margin-top: 20px;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
    text-align: center;
}

/* Print View Adjustments */
@media print {

    header, .footer, h1.title, .fa-phone {
        display: none !important; /* Hide unnecessary elements */
    }

    .coupon-container {
        width: 90%; /* Wider in print view */
        margin: 0 auto 20px auto; /* Center and space coupons */
        box-shadow: none; /* Remove shadow for clean print */
    }

    .coupon-tag {
        background-color: #363636 !important; /* Ensure dark background appears in print */
        color: #ffffff !important; /* Ensure white text */
        padding: 10px 20px;
        font-size: 1.2rem;
        border-radius: 20px;
    }

    .print-coupon {
        display: none !important; /* Remove print button */
    }



    /* Ensure no extra margins or paddings are added by the document */
    html, body, main {
        margin: 0 !important;
        padding: 0 !important;
    }

}