/* Product Page Coupon Box - Matches pr_box2 column indents and style */
.product-coupon-box {
    margin: 0;
    padding: 15px;
    background: #ffffff;
}
.product-coupon-blocks {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
}
.product-coupon-card {
    background: #eff2fc;
    border: 1px solid #c9d2ea;
    border-radius: 6px;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
    overflow: hidden;
}
.product-coupon-body {
    padding: 12px 15px 8px 15px;
}
.product-coupon-title {
    margin-bottom: 5px;
    line-height: 1.25;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
}
.product-coupon-name {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    line-height: 1.25;
}
.product-coupon-discount {
    display: inline-block;
    background-color: #ff2222;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.2px;
    vertical-align: middle;
}
.product-coupon-description {
    font-size: 13.5px;
    color: #333333;
    margin-bottom: 0;
    line-height: 1.4;
}
.product-coupon-description p {
    margin: 0 0 2px 0 !important;
    line-height: 1.4;
}
.product-coupon-description p:last-child {
    margin-bottom: 0 !important;
}
.product-coupon-description ul,
.product-coupon-description ol {
    margin: 0 0 6px 18px;
    padding: 0;
}
.product-coupon-description img {
    max-width: 100%;
    height: auto;
}

/* Bottom promo code bar */
.product-coupon-footer {
    background-color: #dee4f6;
    border-top: 1px solid #d4dcf2;
    border-radius: 0;
    padding: 6px 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}
.product-coupon-ticket {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    flex-shrink: 0;
}
.product-coupon-ticket svg {
    display: block;
}
.product-coupon-sep {
    width: 1px;
    height: 20px;
    background-color: #b8c4df;
    margin: 0 2px;
    flex-shrink: 0;
}
.product-coupon-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #111111;
    line-height: 1;
}
.product-coupon-code {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #ffffff;
    color: #000000;
    font-size: 14.5px;
    font-weight: 800;
    padding: 0 14px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    letter-spacing: 0.5px;
    box-sizing: border-box;
    line-height: 1;
    -webkit-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
    user-select: all;
}
.btn-coupon-copy {
    background-color: #ffffff;
    color: #111111;
    border: 1.2px solid #111111;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: none;
    flex-shrink: 0;
}
.btn-coupon-copy:hover {
    background-color: #f1f5f9;
    border-color: #000000;
}
.btn-coupon-copy:active {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
}
.btn-coupon-copy.copied {
    background-color: #4caf50 !important;
    border-color: #4caf50 !important;
    color: #ffffff !important;
}
.btn-coupon-copy .icon-copy {
    display: block;
    width: 16px;
    height: 16px;
}
.btn-coupon-copy .icon-check {
    font-size: 15px;
    color: #ffffff;
}

/* Product card coupon bar in product lists */
.product-thumb-coupon {
    display: block;
    width: 100%;
    margin: 5px 0 3px 0;
    padding: 3px 5px;
    background-color: #611427;
    color: #ffffff;
    text-decoration: none !important;
    font-size: 10px;
    line-height: 1.25;
    border-radius: 3px;
    box-sizing: border-box;
    text-align: center;
    letter-spacing: -0.1px;
    transition: background-color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    z-index: 5;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-thumb-coupon:hover {
    filter: brightness(1.15);
    text-decoration: none !important;
}
.product-thumb-coupon span,
.product-thumb-coupon strong {
    color: inherit;
}
.product-thumb-coupon .thumb-coupon-name {
    font-weight: 500;
    margin-right: 3px;
}
.product-thumb-coupon .thumb-coupon-discount {
    font-weight: 700;
    margin-right: 3px;
}
.product-thumb-coupon .thumb-coupon-code {
    font-weight: 400;
}
.product-thumb-coupon .thumb-coupon-code strong {
    font-weight: 700;
    letter-spacing: 0.2px;
}
@media (max-width: 767px) {
    .product-thumb-coupon .thumb-coupon-name {
        display: none !important;
    }
    .product-thumb-coupon {
        padding: 3px 4px;
    }
}
@media (max-width: 480px) {
    .product-thumb-coupon {
        font-size: 9.5px;
        padding: 2px 3px;
        letter-spacing: -0.15px;
    }
}
