/* WP Smart Discounts — frontend styles */
.wpsd-badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 5;
    background: var(--wpsd-badge-bg, #e53935);
    color: var(--wpsd-badge-fg, #fff);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    line-height: 1.2;
}
.wpsd-badge--single {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { position: relative; }

.wpsd-savings {
    color: #16a34a;
    font-weight: 600;
    font-size: 14px;
    margin: 4px 0 10px;
}

.wpsd-bogo-hint {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #78350f;
    padding: 10px 14px;
    border-radius: 10px;
    margin: 10px 0;
    font-weight: 600;
    font-size: 14px;
}

.wpsd-tier { margin: 12px 0; }
.wpsd-tier__title { font-weight: 700; margin-bottom: 6px; font-size: 14px; }
.wpsd-tier__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wpsd-tier__table th, .wpsd-tier__table td { padding: 6px 10px; border-bottom: 1px solid #e5e7eb; text-align: left; }
.wpsd-tier__table th { background: #f8fafc; }

.wpsd-banner {
    position: fixed;
    bottom: 16px; left: 50%;
    transform: translateX(-50%);
    background: var(--wpsd-banner-bg, #111827);
    color: var(--wpsd-banner-fg, #fff);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 90vw;
}
.wpsd-banner__link { color: inherit; text-decoration: underline; font-weight: 600; }
.wpsd-banner__close { background: transparent; border: none; color: inherit; font-size: 20px; cursor: pointer; opacity: .7; padding: 0; }
.wpsd-banner__close:hover { opacity: 1; }
.wpsd-banner.is-hidden { display: none; }
