/* BC Discounts Frontend Styles */

.bcd-promotions-wrapper {
    margin: 20px 0;
    font-family: inherit;
}

.bcd-promo-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.bcd-promo-box:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.bcd-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #1e293b;
}

.bcd-badge-icon {
    font-size: 18px;
}

/* Volume Table */
.bcd-pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: 14px;
}

.bcd-pricing-table th,
.bcd-pricing-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}

.bcd-pricing-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 600;
}

.bcd-tier-row-highlight td {
    color: #0f172a;
    transition: background-color 0.2s ease;
}

.bcd-pricing-table tr.bcd-tier-active td {
    background-color: #f0fdf4 !important;
    font-weight: 700;
}

.bcd-tier-price {
    font-weight: 700;
    color: #0284c7;
}

.bcd-discount-pill {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.bcd-box-footer {
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
}

/* 1+1 Banner */
.bcd-bogo-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.bcd-bogo-tag {
    display: inline-block;
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.bcd-bogo-content h4 {
    margin: 4px 0 8px 0;
    color: #166534;
}

.bcd-bogo-text {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #14532d;
    font-weight: 600;
}

.bcd-effective-price {
    margin: 0;
    font-size: 13px;
    color: #166534;
}

.bcd-effective-price .bcd-orig {
    text-decoration: line-through;
    color: #65a30d;
    margin-left: 4px;
}

/* Brand Sum Box */
.bcd-sum-box {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.bcd-sum-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bcd-sum-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #0369a1;
}

.bcd-sum-dot {
    color: #0284c7;
    font-weight: bold;
}

/* Bundle Box */
.bcd-bundle-box {
    background: #fffbeb;
    border-color: #fde68a;
}

.bcd-bundle-items-list {
    margin: 6px 0 12px 18px;
    padding: 0;
    font-size: 13px;
    color: #92400e;
}

.bcd-bundle-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bcd-bundle-old-price del {
    color: #a8a29e;
    font-size: 14px;
}

.bcd-bundle-new-price {
    font-size: 18px;
    font-weight: 700;
    color: #b45309;
}

.bcd-bundle-badge {
    background: #f59e0b;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Clearance */
.bcd-clearance-box {
    background: #fff1f2;
    border-color: #fecdd3;
}

.bcd-clearance-price {
    font-size: 16px;
    margin: 4px 0;
    color: #be123c;
}

.bcd-clearance-price del {
    color: #9f1239;
    opacity: 0.7;
    margin-left: 8px;
    font-size: 14px;
}

.bcd-deadline {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: #e11d48;
    font-weight: 600;
}

/* Gift notice */
.bcd-gift-box {
    background: #fdf4ff;
    border-color: #f5d0fe;
}

.bcd-gift-message {
    margin: 0;
    font-size: 13px;
    color: #86198f;
    line-height: 1.5;
}

/* B2B Login Notice */
.bcd-b2b-login-notice {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 15px 0;
    font-size: 13px;
    color: #475569;
}

.bcd-b2b-login-notice a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
}

/* Catalog Loop Badge */
.bcd-loop-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

/* Cart promo badge */
.bcd-cart-promo-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}
