/**
 * Coupon Product Links – Frontend Styles
 *
 * The .cpl-block is inserted AFTER each button.power-coupons-apply-coupon-btn
 * as a sibling element inside div.power-coupons-section.
 */

.cpl-block {
    margin-top: -4px;
    margin-bottom: 12px;
    padding: 8px 14px 10px;
    background: #fafdf8;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.cpl-wrapper {
    /* Additional wrapper styling if needed */
}

.cpl-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #666;
    margin-bottom: 4px;
    display: block;
}

.cpl-items {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-bottom: 4px;
}

.cpl-item {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.cpl-item a {
    color: inherit;
    text-decoration: none;
}

.cpl-item a:hover {
    text-decoration: underline;
}

.cpl-item.cpl-overflow {
    color: #888;
    font-size: 12px;
}

.cpl-no-restriction {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ── CTA Styles ────────────────────────────── */

.cpl-cta {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.cpl-cta:hover {
    opacity: 0.8;
}

/* Style: link */
.cpl-cta--link {
    /* color set via inline style from settings */
    text-decoration: none;
}

.cpl-cta--link:hover {
    text-decoration: underline;
}

/* Style: button (filled) */
.cpl-cta--button {
    /* background + color set via inline style */
    padding: 6px 16px;
    border-radius: 5px;
    border: none;
    color: #fff;
}

/* Style: button-outline */
.cpl-cta--button-outline {
    /* border-color + color set via inline style */
    padding: 5px 15px;
    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    background: transparent;
}
