.bw-summary-coupon {
    margin: 20px 0 16px;
    padding: 12px;
    border: 1px solid var(--bw-border-color, #e2e8f0);
    border-radius: 10px;
    background: #fff;
}

.bw-coupon-title {
    margin: 0 0 8px;
    font-size: var(--bw-subtitle-size, 0.95rem);
    font-weight: 600;
    color: var(--bw-subtitle-color, var(--bw-title-color, #2c3e50));
    font-family: var(--bw-font-family, inherit);
}

.bw-coupon-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.bw-coupon-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--bw-border-color, #d4cdc9);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: var(--bw-content-text-size, 14px);
    font-family: var(--bw-font-family, inherit);
    color: var(--bw-content-text-color, #334155);
    text-transform: uppercase;
}

.bw-coupon-input::placeholder {
    font-size: var(--bw-content-text-size, 14px);
    font-family: var(--bw-font-family, inherit);
    color: var(--bw-content-text-color, #64748b);
    opacity: 1;
}

.bw-coupon-input::-webkit-input-placeholder {
    font-size: var(--bw-content-text-size, 14px);
    font-family: var(--bw-font-family, inherit);
    color: var(--bw-content-text-color, #64748b);
    opacity: 1;
}

.bw-coupon-input::-moz-placeholder {
    font-size: var(--bw-content-text-size, 14px);
    font-family: var(--bw-font-family, inherit);
    color: var(--bw-content-text-color, #64748b);
    opacity: 1;
}

.bw-coupon-apply,
.bw-coupon-remove {
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--bw-content-text-size, 14px);
    font-family: var(--bw-font-family, inherit);
    line-height: 1;
}

.bw-coupon-apply {
    background: var(--bw-primary-color, #2563eb);
    color: var(--bw-button-text-color, #fff);
}

.bw-coupon-apply:disabled {
    opacity: 0.7;
    cursor: wait;
}

.bw-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bw-coupon-applied-code {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.bw-coupon-remove {
    background: transparent;
    color: #c0392b;
}

.bw-coupon-message {
    margin: 8px 0 0;
    font-size: 0.85rem;
}

.bw-coupon-message--success {
    color: #15803d;
}

.bw-coupon-message--error {
    color: #b91c1c;
}

.bw-coupon-totals {
    margin: 0 0 10px;
}

.bw-coupon-totals__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 6px;
    font-size: 0.92rem;
    color: var(--bw-detail-color, #64748b);
}

.bw-coupon-totals__row--discount {
    color: #15803d;
}
