/* Heritage theme (Design A) — profile-plans pages. Scoped under body.jr-site. Owned by the "profile-plans" work group. */

/* ===================== Membership plans (premium_member.php) ===================== */
.jr-site .jr-plans-head { text-align: center; margin: 8px 0 32px; }
.jr-site .jr-plans-head .jr-gold-rule { margin: 0 auto 16px; }
.jr-site .jr-plans-head h1 { font-size: 56px; line-height: 1.05; margin: 0 0 10px; }
.jr-site .jr-plans-head p { margin: 0 auto; max-width: 520px; font-size: 17px; }

.jr-site .jr-plan-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; border: 0; }
.jr-site .jr-plan-tabs::before, .jr-site .jr-plan-tabs::after { display: none; }
.jr-site .jr-plan-tabs > li { float: none; margin: 0; }
.jr-site .jr-plan-tabs > li > a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 8px 24px; border-radius: 999px; border: 1px solid var(--jr-line); background: var(--jr-paper); color: var(--jr-ink) !important; text-decoration: none !important; line-height: 1.2; transition: border-color .2s, background-color .2s; }
.jr-site .jr-plan-tabs > li > a:hover, .jr-site .jr-plan-tabs > li > a:focus { border-color: var(--jr-maroon); background: var(--jr-paper); }
.jr-site .jr-plan-tabs > li.active > a, .jr-site .jr-plan-tabs > li.active > a:hover, .jr-site .jr-plan-tabs > li.active > a:focus { background: var(--jr-maroon); border-color: var(--jr-maroon); color: var(--jr-paper) !important; }
.jr-site .jr-plan-tab-name { font-weight: 600; font-size: 16px; }
.jr-site .jr-plan-tab-sub { font-size: 13px; opacity: .8; margin-top: 2px; }

.jr-site .jr-plans-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px; align-items: start; }
.jr-site .jr-plans-list .tab-content > .tab-pane { display: none; }
.jr-site .jr-plans-list .tab-content > .active { display: block; }
.jr-site .jr-plan-offer { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--jr-maroon); font-weight: 600; font-size: 16px; }
.jr-site .jr-plan-diamond, .jr-site .jr-pf-diamond { width: 10px; height: 10px; background: var(--jr-gold); transform: rotate(45deg); flex: none; display: inline-block; }

.jr-site .jr-plan-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; padding-top: 6px; }
.jr-site .jr-plan-card { position: relative; display: flex; flex-direction: column; background: var(--jr-paper); color: var(--jr-ink); border: 1px solid var(--jr-line); border-radius: 20px; padding: 30px 26px 26px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.jr-site .jr-plan-card:hover { border-color: var(--jr-gold); transform: translateY(-2px); }
.jr-site .jr-plan-card:focus-visible { outline: 3px solid var(--jr-gold-soft); outline-offset: 2px; }
.jr-site .jr-plan-card.active-plan { background: var(--jr-maroon); border-color: var(--jr-maroon); color: var(--jr-cream); box-shadow: var(--jr-shadow); }
.jr-site .jr-plan-card.active-plan .jr-dsp, .jr-site .jr-plan-card.active-plan .jr-mu { color: var(--jr-cream); }
.jr-site .jr-plan-tag { position: absolute; top: -13px; left: 26px; background: var(--jr-gold); color: var(--jr-ink); font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 999px; }
.jr-site .jr-plan-name { font-size: 32px; line-height: 1.1; }
.jr-site .jr-plan-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; flex-wrap: wrap; }
.jr-site .jr-plan-cur { font-size: 15px; font-weight: 600; opacity: .85; }
.jr-site .jr-plan-amt { font-size: 52px; line-height: 1; }
.jr-site .jr-plan-price s { font-size: 16px; }
.jr-site .jr-plan-days { font-size: 15px; opacity: .85; }
.jr-site .jr-plan-rule { height: 1px; background: var(--jr-line); margin: 20px 0; }
.jr-site .jr-plan-card.active-plan .jr-plan-rule { background: rgba(251, 245, 233, .3); }
.jr-site .jr-plan-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; flex: 1; }
.jr-site .jr-plan-feats li { display: flex; gap: 10px; align-items: center; }
.jr-site .jr-plan-feats li::before { content: ""; width: 7px; height: 7px; background: var(--jr-gold); transform: rotate(45deg); flex: none; }
.jr-site .jr-plan-feats li.is-off { opacity: .6; }
.jr-site .jr-plan-feats li.is-off::before { background: transparent; border: 1px solid currentColor; }
.jr-site .jr-plan-btn { margin-top: 24px; width: 100%; background: transparent; border: 1px solid var(--jr-maroon); color: var(--jr-maroon) !important; }
.jr-site .jr-plan-card:hover .jr-plan-btn { background: var(--jr-maroon); color: var(--jr-paper) !important; }
.jr-site .jr-plan-card.active-plan .jr-plan-btn { background: var(--jr-gold-soft); border-color: var(--jr-gold-soft); color: var(--jr-ink) !important; }

/* Order summary aside (#planChange holds plan_details.php) */
.jr-site .jr-plans-aside { position: sticky; top: 20px; }
.jr-site .jr-order-card { padding: 26px 26px 24px; }
.jr-site .jr-order-title { font-size: 26px; margin-bottom: 14px; }
.jr-site .jr-order-empty { margin: 0 0 14px; }
.jr-site .jr-order-plan { padding-bottom: 14px; }
.jr-site .jr-order-plan-name { font-size: 30px; line-height: 1.1; margin-bottom: 10px; }
.jr-site .jr-order-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.jr-site .jr-order-feats i { color: var(--jr-green); width: 18px; }
.jr-site .jr-order-feats li.is-off { color: var(--jr-muted); }
.jr-site .jr-order-feats li.is-off i { color: var(--jr-muted); }
.jr-site .jr-order-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--jr-line); font-size: 16px; }
.jr-site .jr-order-row b { font-weight: 600; text-align: right; white-space: nowrap; }
.jr-site .jr-order-row.is-minus b { color: var(--jr-green); }
.jr-site .jr-order-row.is-total { font-size: 20px; }
.jr-site .jr-order-row.is-total b { color: var(--jr-maroon); font-weight: 700; }
.jr-site .jr-order-coupon { border-top: 1px solid var(--jr-line); padding-top: 14px; margin-top: 2px; }
.jr-site .jr-order-coupon input[type=text] { flex: 1; min-width: 0; height: 46px !important; min-height: 46px; }
.jr-site .jr-order-coupon .jr-btn { flex: none; min-height: 46px; padding: 8px 20px; }
.jr-site .jr-order-err { display: block; font-size: 14px; margin-top: 6px; color: #A12A2A; }
.jr-site .jr-order-err:empty { display: none; }
.jr-site .jr-order-pay { margin-top: 16px; }
.jr-site .jr-order-pay form, .jr-site .jr-order-pay form button { margin: 0; }
.jr-site .jr-order-pay .razorpay-payment-button { display: none; }
.jr-site .jr-order-note { margin: 0 0 12px; padding: 12px 14px; background: var(--jr-chip); border-radius: 12px; font-size: 15px; color: var(--jr-ink); }
.jr-site .jr-order-note a { color: var(--jr-maroon); text-decoration: underline; }
.jr-site .jr-order-fine { font-size: 13px; text-align: center; margin: 12px 0 0; }

/* Payment options (UPI QR codes + offline bank accounts) */
.jr-site .jr-payopt { margin-top: 56px; }
.jr-site .jr-payopt .jr-page-head h2 { font-size: 40px; line-height: 1.05; }
.jr-site .jr-payopt-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.jr-site .jr-payopt-card { padding: 28px 30px; }
.jr-site .jr-payopt-title { font-size: 30px; margin-bottom: 4px; }
.jr-site .jr-payopt-card > p.jr-mu { margin: 0 0 20px; }
.jr-site .jr-upi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.jr-site .jr-upi { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--jr-line); border-radius: 14px; background: #fff; }
.jr-site .jr-upi-logo { height: 34px; max-width: 100%; object-fit: contain; }
.jr-site .jr-upi-qr { display: block; width: 100%; }
.jr-site .jr-upi-qr img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 8px; }
.jr-site .jr-upi figcaption { font-size: 13px; font-weight: 600; color: var(--jr-ink); overflow-wrap: anywhere; text-align: center; }
.jr-site .jr-bank + .jr-bank { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--jr-line); }
.jr-site .jr-bank-logo { display: block; height: 56px; max-width: 200px; object-fit: contain; object-position: left center; margin-bottom: 8px; }
.jr-site .jr-kv { margin: 0; }
.jr-site .jr-kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--jr-line); }
.jr-site .jr-kv dt { font-weight: 400; color: var(--jr-muted); }
.jr-site .jr-kv dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.jr-site .jr-payopt-after { margin-top: 28px; padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.jr-site .jr-payopt-after p { margin: 4px 0 0; }

@media (max-width: 991px) {
	.jr-site .jr-plans-grid, .jr-site .jr-payopt-grid { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-plans-aside { position: static; }
}
@media (max-width: 820px) {
	.jr-site .jr-plans-head h1 { font-size: 40px; }
	.jr-site .jr-plan-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
	.jr-site .jr-plan-tabs > li > a { padding: 8px 18px; white-space: nowrap; }
	.jr-site .jr-plan-cards { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-plan-amt { font-size: 44px; }
	.jr-site .jr-payopt-card, .jr-site .jr-payopt-after { padding: 22px 20px; }
	.jr-site .jr-upi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.jr-site .jr-payopt .jr-page-head h2 { font-size: 34px; }
}

/* ===================== Member profile (user_profile.php) ===================== */
.jr-site .jr-pf-page { max-width: 1200px; padding-top: 28px; }
.jr-site .jr-pf-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--jr-maroon) !important; text-decoration: none !important; }
.jr-site .jr-pf-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; margin-top: 12px; align-items: start; }
.jr-site .jr-pf-media { position: sticky; top: 20px; }
.jr-site .jr-pf-photo { position: relative; height: 520px; border-radius: 18px; border: 2px solid var(--jr-gold); overflow: hidden; background: var(--jr-chip); }
.jr-site .jr-pf-photo > a, .jr-site .jr-pf-photo > img { display: block; width: 100%; height: 100%; }
.jr-site .jr-pf-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.jr-site .jr-pf-badge { position: absolute !important; top: 10px; right: 10px; width: 72px !important; height: 72px !important; object-fit: contain !important; z-index: 2; }
.jr-site .jr-pf-views { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(43, 26, 20, .72); color: var(--jr-cream); font-size: 14px; }
.jr-site .jr-pf-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.jr-site .jr-pf-thumbs a { position: relative; display: block; height: 96px; border-radius: 12px; overflow: hidden; border: 1px solid var(--jr-line); }
.jr-site .jr-pf-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jr-site .jr-pf-thumbs span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(43, 26, 20, .55); color: #fff; font-weight: 600; font-size: 18px; }
.jr-site .jr-pf-note { margin-top: 20px; padding: 18px 20px; display: flex; gap: 12px; align-items: center; font-size: 15px; }
.jr-site .jr-pf-note a { color: var(--jr-maroon); font-weight: 600; text-decoration: underline; }

.jr-site .jr-pf-info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.jr-site .jr-pf-info #reponseMsg.alert { margin: 0; border-radius: 12px; }
.jr-site .jr-pf-head, .jr-site .jr-pf-sec { padding: 26px 28px; }
.jr-site .jr-pf-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.jr-site .jr-pf-title h1 { font-size: 50px; line-height: 1; margin: 0; }
.jr-site .jr-pf-title p { margin: 8px 0 0; }
.jr-site .jr-pf-chip { background: var(--jr-gold); color: var(--jr-ink); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.jr-site .jr-pf-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.jr-site .jr-pf-actions .jr-btn { padding: 10px 20px; font-size: 15px; }
.jr-site .jr-pf-actions .jr-btn i { font-size: 14px; }
.jr-site .jr-pf-btn-outline { background: transparent; border: 1px solid var(--jr-maroon); color: var(--jr-maroon) !important; }
.jr-site .jr-pf-btn-outline:hover, .jr-site .jr-pf-btn-outline.is-on { background: var(--jr-maroon); color: var(--jr-paper) !important; }
.jr-site .jr-pf-actions #is_interest.is-on { background: var(--jr-maroon-dark); }
.jr-site .jr-pf-actions .jr-pf-block { color: var(--jr-muted) !important; }
.jr-site .jr-pf-actions .jr-pf-block.is-on { background: var(--jr-ink); border-color: var(--jr-ink); color: var(--jr-paper) !important; }

.jr-site .jr-pf-sec h2 { font-size: 30px; margin: 0 0 16px; }
.jr-site .jr-pf-about { margin: 0; color: #4A372E; font-size: 16px; line-height: 1.6; }
.jr-site .jr-pf-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 0; }
.jr-site .jr-pf-kv dt { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--jr-muted); margin-bottom: 2px; }
.jr-site .jr-pf-kv dd { margin: 0; font-size: 17px; color: var(--jr-ink); overflow-wrap: anywhere; }
.jr-site .jr-pf-kv dd a { color: var(--jr-maroon); font-weight: 600; text-decoration: underline; }
.jr-site .jr-pf-match { margin: -10px 0 16px; }
.jr-site .jr-pf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.jr-site .jr-pf-pref { padding: 8px 16px; background: var(--jr-chip); border-radius: 999px; font-size: 15px; }
.jr-site .jr-pf-pref b { font-weight: 600; }
.jr-site .jr-pf-pref.is-match { background: #E3EFE5; }
.jr-site .jr-pf-pref.is-match i { color: var(--jr-green); }

.jr-site .jr-pf-contact { background: var(--jr-maroon); color: var(--jr-cream); border-radius: 18px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.jr-site .jr-pf-contact .jr-dsp { font-size: 28px; color: var(--jr-cream); }
.jr-site .jr-pf-contact p { margin: 4px 0 0; opacity: .88; font-size: 15px; max-width: 420px; }
.jr-site .jr-pf-contact-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.jr-site .jr-pf-contact .jr-btn-gold { background: var(--jr-gold-soft); }
.jr-site .jr-pf-btn-light { background: transparent; border: 1px solid rgba(251, 245, 233, .6); color: var(--jr-cream) !important; }

@media (max-width: 991px) {
	.jr-site .jr-pf-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.jr-site .jr-pf-media { position: static; }
	.jr-site .jr-pf-photo { height: 460px; max-width: 520px; }
}
@media (max-width: 600px) {
	.jr-site .jr-pf-photo { height: 400px; }
	.jr-site .jr-pf-thumbs a { height: 76px; }
	.jr-site .jr-pf-title h1 { font-size: 38px; }
	.jr-site .jr-pf-head, .jr-site .jr-pf-sec, .jr-site .jr-pf-contact { padding: 22px 20px; }
	.jr-site .jr-pf-sec h2 { font-size: 26px; }
	.jr-site .jr-pf-kv { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.jr-site .jr-pf-actions .jr-btn { flex: 1 1 calc(50% - 10px); padding: 10px 12px; }
	.jr-site .jr-pf-contact-btns, .jr-site .jr-pf-contact-btns .jr-btn { width: 100%; }
}

/* ===================== Current plan (current_plan.php, inside the member shell) ===================== */
.jr-site .jr-cp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 4px 0 20px; }
.jr-site .jr-cp-head h1 { font-size: 40px; line-height: 1.05; }
.jr-site .jr-cp-head p { margin: 4px 0 0; }
.jr-site .jr-cp-card { padding: 26px 28px; margin-bottom: 20px; }
.jr-site .jr-cp-card.is-current { border-color: var(--jr-gold); box-shadow: var(--jr-shadow); }
.jr-site .jr-cp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.jr-site .jr-cp-top h2 { font-size: 34px; line-height: 1.1; margin: 2px 0 4px; }
.jr-site .jr-cp-top p { margin: 0; }
.jr-site .jr-cp-chip { background: var(--jr-chip); color: var(--jr-ink); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.jr-site .jr-cp-chip.is-off { color: var(--jr-muted); }
.jr-site .jr-cp-meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; margin: 22px 0; }
.jr-site .jr-cp-meter-top { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; margin-bottom: 8px; }
.jr-site .jr-cp-meter-top b { font-weight: 700; color: var(--jr-maroon); white-space: nowrap; }
.jr-site .jr-cp-meter-top b .jr-mu { font-weight: 400; }
.jr-site .jr-cp-bar { height: 8px; border-radius: 999px; background: var(--jr-chip); overflow: hidden; }
.jr-site .jr-cp-bar span { display: block; height: 100%; background: var(--jr-gold); border-radius: 999px; }
.jr-site .jr-cp-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.jr-site .jr-cp-sum { max-width: 460px; }
.jr-site .jr-cp-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 820px) {
	.jr-site .jr-cp-head h1 { font-size: 34px; }
	.jr-site .jr-cp-card { padding: 22px 20px; }
	.jr-site .jr-cp-meters { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-cp-bottom { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-cp-btns { justify-content: stretch; }
	.jr-site .jr-cp-btns .jr-btn { flex: 1 1 auto; }
}

/* ===================== Invoice (member_invoice.php) ===================== */
.jr-site .jr-inv-page { max-width: 960px; }
.jr-site .jr-inv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.jr-site .jr-inv-head h1 { font-size: 44px; line-height: 1.05; }
.jr-site .jr-inv { padding: 34px 36px; }
.jr-site .jr-inv-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--jr-line); }
.jr-site .jr-inv-brand { display: flex; gap: 16px; align-items: center; }
.jr-site .jr-inv-brand img { width: 72px; height: 72px; object-fit: contain; }
.jr-site .jr-inv-name { font-size: 28px; color: var(--jr-maroon); }
.jr-site .jr-inv-meta { margin: 0; min-width: 240px; }
.jr-site .jr-inv-meta > div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.jr-site .jr-inv-meta dt { font-weight: 400; color: var(--jr-muted); }
.jr-site .jr-inv-meta dd { margin: 0; font-weight: 600; text-align: right; }
.jr-site .jr-inv-to { padding: 22px 0; }
.jr-site .jr-inv-to-name { font-size: 20px; font-weight: 600; margin-bottom: 2px; }
.jr-site .jr-inv-table-wrap { overflow-x: auto; }
.jr-site .jr-inv-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.jr-site .jr-inv-table th { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--jr-muted); padding: 10px 12px; background: var(--jr-chip); border: 0; }
.jr-site .jr-inv-table th:first-child { border-radius: 10px 0 0 10px; }
.jr-site .jr-inv-table th:last-child { border-radius: 0 10px 10px 0; }
.jr-site .jr-inv-table td { padding: 14px 12px; border-bottom: 1px solid var(--jr-line); }
.jr-site .jr-inv-table tfoot td { border-bottom: 0; padding: 8px 12px; text-align: right; color: var(--jr-muted); }
.jr-site .jr-inv-table tfoot td.text-right { color: var(--jr-ink); font-weight: 600; }
.jr-site .jr-inv-table tfoot tr.is-total td { font-size: 19px; color: var(--jr-ink); font-weight: 700; border-top: 1px solid var(--jr-line); padding-top: 14px; }
.jr-site .jr-inv-table tfoot tr.is-total td.text-right { color: var(--jr-maroon); }
.jr-site .jr-inv-thanks { font-size: 30px; color: var(--jr-maroon); margin-top: 28px; }
.jr-site .jr-inv-foot { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--jr-line); font-size: 13px; }
@media (max-width: 600px) {
	.jr-site .jr-inv { padding: 22px 18px; }
	.jr-site .jr-inv-head h1 { font-size: 36px; }
}
@media print {
	.jr-site .no-print { display: none !important; }
	.jr-site .jr-inv { border: 0; padding: 0; }
}

/* ===================== Payment success / failure (payment_success.php, payment_fail.php) ===================== */
.jr-site .jr-payres-page { max-width: 760px; padding-top: 56px; }
.jr-site .jr-payres { padding: 44px 40px; text-align: center; }
.jr-site .jr-payres-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; font-size: 30px; margin-bottom: 18px; }
.jr-site .jr-payres.is-ok .jr-payres-icon { background: #E3EFE5; color: var(--jr-green); }
.jr-site .jr-payres.is-fail .jr-payres-icon { background: #F6E1E1; color: var(--jr-maroon); }
.jr-site .jr-payres h1 { font-size: 44px; line-height: 1.05; margin-bottom: 10px; }
.jr-site .jr-payres p { margin: 0 auto 24px; max-width: 480px; font-size: 17px; }
.jr-site .jr-payres-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) {
	.jr-site .jr-payres { padding: 32px 20px; }
	.jr-site .jr-payres h1 { font-size: 36px; }
	.jr-site .jr-payres-btns .jr-btn { width: 100%; }
}
.jr-site .jr-inv-page #invoice { width: auto; max-width: none; margin: 0; padding: 0; position: static; background: none; min-height: 0; }
.jr-site .jr-inv-table td.text-right, .jr-site .jr-inv-table th.text-right { white-space: nowrap; text-align: right; }
.jr-site .jr-inv-brand img { width: 96px; }
@media (max-width: 600px) {
	.jr-site .jr-inv-table { min-width: 0; font-size: 13px; }
	.jr-site .jr-inv-table th { font-size: 11px; padding: 8px 6px; letter-spacing: 0; }
	.jr-site .jr-inv-table td, .jr-site .jr-inv-table tfoot td { padding: 10px 6px; }
	.jr-site .jr-inv-table td.text-right, .jr-site .jr-inv-table th.text-right { white-space: normal; }
	.jr-site .jr-inv-table tfoot tr.is-total td { font-size: 16px; }
	.jr-site .jr-inv-brand { align-items: flex-start; }
	.jr-site .jr-inv-name { font-size: 24px; }
}
@media (max-width: 600px) {
	.jr-site .jr-inv-table .jr-inv-qty { display: none; }
	.jr-site .jr-inv-table tfoot td[colspan] { text-align: left; }
}
