.pv-discount-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.pv-discount-picker legend { float: none; width: auto; margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.pv-discount-picker [hidden], .pv-discount-modal [hidden] { display: none !important; }
.pv-discount-open { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; color: #344054; text-align: left; font-size: 14px; }
.pv-discount-open span { flex: 1; min-width: 0; }
.pv-discount-open i { font-size: 20px; color: #c45132; }
.pv-discount-modal .modal-dialog { max-width: 1000px; margin-inline: auto; width: calc(100% - 24px); }
.pv-discount-modal .modal-content { border: 0; border-radius: 8px; }
.pv-discount-modal .modal-header { border: 0; padding: 22px 24px 12px; }
.pv-discount-modal .modal-title { flex: 1; text-align: center; font-size: 22px; font-weight: 600; }
.pv-discount-modal .modal-body { padding: 12px 24px 28px; }
.pv-discount-modal .pv-discount-entry { max-width: 640px; margin: 0 auto 24px; }
.pv-discount-modal input[type="text"] { min-width: 0; flex: 1; height: 42px; padding: 8px 12px; border: 1px solid #d0d5dd; border-radius: 4px; font-size: 14px; }
.pv-discount-modal input[type="radio"] { position: absolute; top: 15px; right: 12px; width: 18px; height: 18px; margin: 0; accent-color: #f35b04; }
.pv-public-coupons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pv-public-coupon { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 108px; border: 1px solid #e4e7ec; border-radius: 4px; overflow: hidden; background: #fff; }
.pv-public-coupon:has(input:checked) { border-color: #31816f; background: #f0fdf4; }
.pv-public-coupon:has(input:disabled) { background: #f9fafb; }
.pv-public-coupon:has(input:disabled) .pv-coupon-stub { background: #c47d52; }
.pv-coupon-stub { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 8px; margin: 0; background: #f35b04; color: #fff; text-align: center; overflow-wrap: anywhere; cursor: pointer; }
.pv-public-coupon.is-fixed .pv-coupon-stub { background: #31816f; }
.pv-coupon-stub small { font-size: 11px; font-weight: 400; }
.pv-coupon-stub strong { font-size: 14px; line-height: 1.5; }
.pv-public-coupon-copy { min-width: 0; display: grid; gap: 4px; padding: 10px 12px 6px; margin: 0; cursor: pointer; }
.pv-public-coupon-copy strong { padding-right: 26px; font-size: 15px; overflow-wrap: anywhere; color: #1d2939; }
.pv-public-coupon-copy small { font-size: 12px; line-height: 1.5; font-weight: 400; color: #667085; overflow-wrap: anywhere; }
.pv-coupon-scope { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-coupon-usage { appearance: none; width: 100%; height: 6px; border: 0; border-radius: 3px; overflow: hidden; background: #eef0f2; }
.pv-coupon-usage::-webkit-progress-bar { background: #eef0f2; }
.pv-coupon-usage::-webkit-progress-value { background: #e7b65c; }
.pv-coupon-usage::-moz-progress-bar { background: #e7b65c; }
.pv-coupon-conditions { min-width: 0; margin: 0 12px 8px; font-size: 12px; }
.pv-coupon-conditions summary { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #175cd3; cursor: pointer; white-space: nowrap; }
.pv-coupon-conditions summary::-webkit-details-marker { display: none; }
.pv-coupon-conditions p { margin: 8px 0 0; overflow-wrap: anywhere; line-height: 1.5; color: #475467; }
.pv-coupon-usage-text { min-width: 0; font-size: 12px; line-height: 1.5; font-weight: 400; color: #667085; text-align: left; white-space: normal; }
.pv-public-coupon-copy .pv-coupon-reason { color: #b42318; }
.pv-discount-entry { display: flex; align-items: center; gap: 8px; }
.pv-discount-modal .pv-discount-check-btn { flex: 0 0 auto; width: auto; min-height: 42px; }
.pv-discount-applied { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border: 1px solid #d5e9dc; border-radius: 6px; background: #f3faf5; color: #1d2939; font-size: 14px; line-height: 1.5; }
.pv-discount-applied-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; color: #27845b; font-size: 26px; }
.pv-discount-applied-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.pv-discount-applied-copy > strong { font-size: 14px; font-weight: 700; }
.pv-discount-savings { font-size: 12px; color: #526459; }
.pv-discount-savings strong { color: #23734f; font-weight: 600; }
.pv-discount-remove { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #667085; font-size: 20px; transition: background-color .15s, color .15s; }
.pv-discount-remove:hover { background: #e3eee7; color: #1d2939; }
.pv-discount-empty { margin: 0; color: #667085; font-size: 13px; }
.pv-discount-picker button:disabled, .pv-discount-modal button:disabled { opacity: .55; cursor: not-allowed; }
.pv-discount-picker button:focus-visible, .pv-discount-modal button:focus-visible, .pv-discount-modal input:focus-visible { outline: 2px solid #1570ef; outline-offset: 2px; }
@media (max-width: 640px) {
    .pv-discount-modal .modal-header { padding: 18px 14px 8px; }
    .pv-discount-modal .modal-title { font-size: 20px; }
    .pv-discount-modal .modal-body { padding: 10px 14px 20px; }
    .pv-public-coupons { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .pv-public-coupon { grid-template-columns: 100px minmax(0, 1fr); }
    .pv-discount-modal input[type="text"] { font-size: 16px; width: 0; }
}
