/* === MERGED: premium.css === */
/* JUFbook Premium — Phase 24 plan-first responsive editorial page.
   Premium catalogue/search intentionally lives in books.php?access=premium. */
.premium-page {
    --premium-ink: #3B4256;
    --premium-muted: #3B4256;
    --premium-line: rgba(59, 66, 86, .16);
    --premium-soft: #ECEAE6;
    --premium-card: #ECEAE6;
    --premium-teal: #3B4256;
    --premium-teal-dark: #3B4256;
    --premium-gold: #B79A68;
}
.premium-page .site-main { padding-top: 0; }
.premium-page :where(.premium-hero,.premium-active-pass,.premium-section,.premium-library-callout,.premium-trust-section,.premium-faq,.premium-pass-muted) { max-width: 1180px; margin-inline: auto; }

.premium-hero {
    display: grid;
    grid-template-columns: minmax(0,1.18fr) minmax(290px,.82fr);
    gap: clamp(28px,4vw,58px);
    align-items: center;
    margin-top: 24px;
    padding: clamp(34px,5vw,58px);
    border: 1px solid var(--premium-line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 12%,rgba(59, 66, 86, .11),transparent 31%),
        linear-gradient(135deg,#ECEAE6 0%,#ECEAE6 100%);
    box-shadow: 0 18px 42px rgba(40, 46, 55, .055);
}
.premium-hero-copy { min-width: 0; }
.premium-eyebrow,
.premium-section-heading>span,
.premium-faq-intro>span,
.premium-library-callout>div>span,
.premium-active-pass>div>span,
.premium-pass-muted>div>span {
    display: inline-block;
    color: var(--premium-gold);
    font-size: 10px;
    font-weight:600;
    letter-spacing:normal;
    text-transform: uppercase;
}
.premium-hero h1 {
    max-width: 700px;
    margin: 10px 0 12px;
    color: var(--premium-ink);
    font-size: clamp(38px,5vw,62px);
    line-height: 1.08;
    letter-spacing: -.025em;
}
.premium-hero-copy>p {
    max-width: 680px;
    margin: 0;
    color: var(--premium-muted);
    font-size: 14px;
    line-height: 1.76;
}
.premium-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.premium-primary-btn,.premium-secondary-btn,.premium-active-pass>a,.premium-pass-muted>a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 12px;
    font-size: 12px;
    font-weight:600;
    text-decoration: none;
    transition: transform .16s ease,background .16s ease,border-color .16s ease;
}
.premium-primary-btn,.premium-active-pass>a { background: var(--premium-teal); color: #fff; border: 1px solid var(--premium-teal); }
.premium-secondary-btn,.premium-pass-muted>a { background: rgba(236, 234, 230, .86); color: var(--premium-ink); border: 1px solid var(--premium-line); }
.premium-primary-btn:hover,.premium-primary-btn:focus-visible,.premium-active-pass>a:hover,.premium-active-pass>a:focus-visible { background: var(--premium-teal-dark); }
.premium-primary-btn:focus-visible,.premium-secondary-btn:focus-visible,.premium-active-pass>a:focus-visible,.premium-pass-muted>a:focus-visible { outline: 3px solid rgba(51, 70, 168, .17); outline-offset: 2px; }
.premium-hero-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.premium-hero-trust span { padding: 6px 9px; border: 1px solid var(--premium-line); border-radius: 999px; background: rgba(236, 234, 230, .68); color: #5B6376; font-size: 10.5px; font-weight:500; }

.premium-hero-panel {
    padding: 18px;
    border: 1px solid rgba(59, 66, 86, .18);
    border-radius: 22px;
    background: rgba(236, 234, 230, .82);
    box-shadow: 0 12px 28px rgba(40, 46, 55, .05);
}
.premium-pass-preview { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 14px; padding: 18px; border-radius: 17px; background: var(--premium-teal); color: #fff; }
.premium-pass-preview span { grid-column: 1/-1; font-size: 9.5px; font-weight:600; letter-spacing:normal; opacity: .78; }
.premium-pass-preview strong { font-family: var(--font-brand); font-size: 42px; line-height: 1; }
.premium-pass-preview small { padding-bottom: 4px; font-size: 10.5px; opacity: .82; }
.premium-scope-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 9px; }
.premium-scope-grid div { padding: 13px 14px; border: 1px solid var(--premium-line); border-radius: 14px; background: #fff; }
.premium-scope-grid span { display: block; color: var(--premium-muted); font-size: 10px; }
.premium-scope-grid strong { display: block; margin-top: 4px; color: var(--premium-ink); font-size: 22px; }
.premium-hero-panel>p { margin: 12px 3px 1px; color: var(--premium-muted); font-size: 10.5px; line-height: 1.55; }

.premium-active-pass,.premium-pass-muted {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid var(--premium-line);
    border-radius: 18px;
    background: var(--premium-card);
}
.premium-active-pass h2,.premium-pass-muted h2 { margin: 3px 0 3px; color: var(--premium-ink); font-size: 21px; }
.premium-active-pass p,.premium-pass-muted p { margin: 0; color: var(--premium-muted); font-size: 11.5px; line-height: 1.55; }

.premium-section { margin-top: 52px; }
.premium-section-heading { max-width: 780px; margin-bottom: 20px; }
.premium-section-heading h2,.premium-library-callout h2,.premium-faq h2 { margin: 5px 0 7px; color: var(--premium-ink); font-size: clamp(28px,3.2vw,40px); line-height: 1.16; letter-spacing: -.015em; }
.premium-section-heading p,.premium-library-callout p,.premium-faq-intro p { margin: 0; color: var(--premium-muted); font-size: 12.5px; line-height: 1.68; }

.premium-plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; align-items: stretch; }
.premium-plan-grid-count-1 { grid-template-columns: minmax(0,520px); justify-content: center; }
.premium-plan-grid-count-2 { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 820px; }
.premium-plan-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--premium-line);
    border-radius: 20px;
    background: var(--premium-card);
    box-shadow: 0 10px 26px rgba(40, 46, 55, .045);
}
.premium-plan-card.is-featured { border-color: rgba(59, 66, 86, .42); box-shadow: 0 13px 32px rgba(59, 66, 86, .08); }
.premium-plan-topline { display: flex; min-height: 26px; align-items: center; justify-content: space-between; gap: 8px; }
.premium-plan-duration { color: var(--premium-gold); font-size: 10.5px; font-weight:600; letter-spacing:normal; }
.premium-plan-badge { display: inline-flex; min-height: 24px; align-items: center; padding: 0 8px; border-radius: 999px; background: #ECEAE6; color: var(--premium-teal-dark); font-size: 9px; font-weight:600; }
.premium-plan-card h3 { margin: 9px 0 5px; color: var(--premium-ink); font-size: 24px; line-height: 1.22; }
.premium-plan-card>p { min-height: 42px; margin: 0; color: var(--premium-muted); font-size: 11.5px; line-height: 1.58; }
.premium-plan-price { display: flex; align-items: end; gap: 8px; margin: 18px 0 10px; }
.premium-plan-price strong { color: var(--premium-ink); font-size: 31px; line-height: 1; }
.premium-plan-price span { color: var(--premium-muted); font-size: 9.5px; }
.premium-plan-access-type { display: inline-flex; align-self: flex-start; min-height: 28px; align-items: center; padding: 0 9px; border-radius: 999px; background: var(--premium-soft); color: #5B6376; font-size: 10px; font-weight:500; }
.premium-plan-card ul { display: grid; gap: 8px; margin: 16px 0 20px; padding: 0; list-style: none; }
.premium-plan-card li { position: relative; padding-left: 20px; color: #282E37; font-size: 11.5px; line-height: 1.48; }
.premium-plan-card li::before { content: '✓'; position: absolute; left: 0; color: var(--premium-teal); font-weight:600; }
.premium-plan-card>a,.premium-plan-disabled { margin-top: auto; }
.premium-plan-card>a { display: flex; min-height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--premium-teal); color: #fff; font-size: 12px; font-weight:600; text-decoration: none; }
.premium-plan-card>a:hover,.premium-plan-card>a:focus-visible { background: var(--premium-teal-dark); }
.premium-plan-card>a:focus-visible { outline: 3px solid rgba(59, 66, 86, .17); outline-offset: 2px; }
.premium-plan-disabled { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px dashed var(--premium-line); border-radius: 12px; color: var(--premium-muted); font-size: 10.5px; text-align: center; }

.premium-comparison-section { margin-top: 44px; }
.premium-comparison-wrap { overflow-x: auto; border: 1px solid var(--premium-line); border-radius: 18px; background: var(--premium-card); scrollbar-width: thin; }
.premium-comparison-wrap:focus-visible { outline: 3px solid rgba(59, 66, 86, .17); outline-offset: 2px; }
.premium-comparison-table { width: 100%; min-width: 620px; border-collapse: collapse; color: var(--premium-ink); font-size: 11.5px; }
.premium-comparison-table th,.premium-comparison-table td { padding: 14px 16px; border-bottom: 1px solid rgba(59, 66, 86, .11); text-align: center; }
.premium-comparison-table thead th { background: #ECEAE6; font-size: 11px; }
.premium-comparison-table th:first-child { position: sticky; left: 0; z-index: 1; min-width: 150px; background: #F6F5F2; text-align: left; }
.premium-comparison-table tbody tr:last-child th,.premium-comparison-table tbody tr:last-child td { border-bottom: 0; }

.premium-how-grid,.premium-trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.premium-how-grid article,.premium-trust-grid article { padding: 18px; border: 1px solid var(--premium-line); border-radius: 17px; background: #F6F5F2; }
.premium-how-grid span,.premium-trust-grid article>span { color: var(--premium-gold); font-family: var(--font-brand); font-size: 10px; font-weight:600; letter-spacing:normal; }
.premium-how-grid h3,.premium-trust-grid h3 { margin: 8px 0 5px; color: var(--premium-ink); font-size: 16px; }
.premium-how-grid p,.premium-trust-grid p { margin: 0; color: var(--premium-muted); font-size: 11px; line-height: 1.62; }

.premium-library-callout {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 28px;
    align-items: center;
    margin-top: 52px;
    padding: clamp(24px,4vw,38px);
    border: 1px solid rgba(59, 66, 86, .22);
    border-radius: 22px;
    background: linear-gradient(135deg,#ECEAE6 0%,#ECEAE6 100%);
}
.premium-library-callout h2 { max-width: 760px; font-size: clamp(25px,3vw,35px); }
.premium-library-callout p { max-width: 820px; }
.premium-library-callout>a { white-space: nowrap; }

.premium-trust-section { margin-top: 52px; }
.premium-trust-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.premium-policy-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.premium-policy-links a { display: inline-flex; min-height: 34px; align-items: center; padding: 0 11px; border: 1px solid var(--premium-line); border-radius: 999px; background: #fff; color: var(--premium-ink); font-size: 10.5px; font-weight:500; text-decoration: none; }
.premium-policy-links a:hover,.premium-policy-links a:focus-visible { border-color: rgba(59, 66, 86, .42); color: var(--premium-teal-dark); }

.premium-faq { display: grid; grid-template-columns: minmax(230px,.72fr) minmax(0,1.28fr); gap: 42px; margin-top: 54px; margin-bottom: 70px; }
.premium-faq-intro { align-self: start; }
.premium-faq-list { border-top: 1px solid var(--premium-line); }
.premium-faq-list details { border-bottom: 1px solid var(--premium-line); }
.premium-faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 15px 34px 15px 0; color: var(--premium-ink); font-size: 13px; font-weight:600; }
.premium-faq-list summary::-webkit-details-marker { display: none; }
.premium-faq-list summary::after { content: '+'; position: absolute; right: 2px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); display: grid; place-items: center; border: 1px solid var(--premium-line); border-radius: 50%; color: var(--premium-teal); font:600 15px/1 var(--font-ui-system); transition: transform .18s ease; }
.premium-faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.premium-faq-list p { max-width: 780px; margin: -2px 34px 15px 0; color: var(--premium-muted); font-size: 11.8px; line-height: 1.68; }
.premium-faq-list a { color: var(--premium-teal-dark); }

.premium-reveal-item { transition: opacity .42s ease var(--premium-delay,0ms),transform .42s ease var(--premium-delay,0ms); }
.premium-reveal-pending { opacity: 0; transform: translateY(10px); }

@media (max-width: 980px) {
    .premium-hero { grid-template-columns: 1fr; }
    .premium-hero-panel { max-width: 620px; }
    .premium-plan-grid,.premium-plan-grid-count-2 { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: none; }
    .premium-how-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .premium-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .premium-library-callout { grid-template-columns: 1fr; }
    .premium-library-callout>a { justify-self: start; }
}

@media (max-width: 720px) {
    .premium-hero { gap: 20px; margin-top: 12px; padding: 24px 17px; border-radius: 20px; }
    .premium-hero h1 { margin-top: 7px; font-size: 32px; }
    .premium-hero-copy>p { font-size: 12.2px; line-height: 1.62; }
    .premium-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 17px; }
    .premium-primary-btn,.premium-secondary-btn { min-height: 42px; padding: 0 11px; font-size: 10.8px; text-align: center; }
    .premium-hero-trust { gap: 6px; margin-top: 14px; }
    .premium-hero-trust span { padding: 5px 7px; font-size: 9px; }
    .premium-hero-panel { padding: 11px; border-radius: 17px; }
    .premium-pass-preview { padding: 14px; border-radius: 13px; }
    .premium-pass-preview strong { font-size: 34px; }
    .premium-scope-grid div { padding: 10px 11px; }
    .premium-scope-grid strong { font-size: 19px; }
    .premium-hero-panel>p { font-size: 9.5px; }

    .premium-active-pass,.premium-pass-muted { align-items: flex-start; flex-direction: column; gap: 12px; padding: 15px; border-radius: 15px; }
    .premium-active-pass>a,.premium-pass-muted>a { width: 100%; }
    .premium-section,.premium-library-callout,.premium-trust-section { margin-top: 34px; }
    .premium-section-heading { margin-bottom: 13px; }
    .premium-section-heading h2,.premium-faq h2 { font-size: 27px; }
    .premium-section-heading p,.premium-library-callout p,.premium-faq-intro p { font-size: 11.3px; line-height: 1.58; }

    .premium-plan-grid,.premium-plan-grid-count-1,.premium-plan-grid-count-2 { grid-template-columns: 1fr; max-width: none; }
    .premium-plan-card { padding: 17px; border-radius: 17px; }
    .premium-plan-card h3 { font-size: 21px; }
    .premium-plan-card>p { min-height: 0; }
    .premium-plan-price { margin-top: 15px; }
    .premium-plan-price strong { font-size: 27px; }
    .premium-plan-card ul { margin-bottom: 16px; }

    .premium-comparison-section { margin-top: 30px; }
    .premium-comparison-table { min-width: 560px; font-size: 10.5px; }
    .premium-comparison-table th,.premium-comparison-table td { padding: 12px; }

    .premium-how-grid,.premium-trust-grid { grid-template-columns: 1fr; gap: 8px; }
    .premium-how-grid article,.premium-trust-grid article { padding: 14px; border-radius: 14px; }
    .premium-how-grid h3,.premium-trust-grid h3 { font-size: 14px; }
    .premium-how-grid p,.premium-trust-grid p { font-size: 10.5px; }

    .premium-library-callout { gap: 16px; padding: 20px 17px; border-radius: 18px; }
    .premium-library-callout h2 { font-size: 25px; }
    .premium-library-callout>a { width: 100%; }
    .premium-policy-links { gap: 6px; }
    .premium-policy-links a { flex: 1 1 auto; justify-content: center; }

    .premium-faq { grid-template-columns: 1fr; gap: 14px; margin-top: 38px; margin-bottom: 50px; }
    .premium-faq-list summary { padding: 13px 32px 13px 0; font-size: 11.8px; }
    .premium-faq-list p { margin-right: 0; font-size: 11px; }
}

@media (max-width: 390px) {
    .premium-hero-actions { grid-template-columns: 1fr; }
    .premium-hero h1 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-page * { scroll-behavior: auto !important; }
    .premium-reveal-item { transition: none; }
    .premium-reveal-pending { opacity: 1; transform: none; }
}


/* === MERGED: checkout.css === */
.checkout-shell{max-width:1060px;margin:38px auto 80px;padding:0 18px}.checkout-head{text-align:center;margin-bottom:28px}.checkout-head .eyebrow{font-size:12px;letter-spacing:normal;text-transform:uppercase;color:var(--accent-rust);font-weight:600}.checkout-head h1{font-size:clamp(30px,2.8vw,36px);margin:5px 0 4px}.checkout-head p{margin:0;color:var(--text-muted)}.checkout-grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(300px,.72fr);gap:22px;align-items:start}.checkout-card{background:var(--card-bg);border:1px solid var(--border-light);border-radius:calc(var(--juf-radius) + 4px);box-shadow:0 12px 36px rgba(40, 46, 55, .055);padding:26px}.checkout-step{display:flex;gap:14px;padding:20px 0;border-bottom:1px solid var(--border-light)}.checkout-step:first-child{padding-top:0}.checkout-step:last-child{border-bottom:0;padding-bottom:0}.checkout-step-num{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--accent-rust) 12%,white);color:var(--accent-rust);font-weight:600}.checkout-step-copy{min-width:0;flex:1}.checkout-step-copy h2{font-family:var(--font-ui);font-size:17px;margin:2px 0 10px}.checkout-info-row{display:flex;gap:10px;flex-wrap:wrap}.checkout-info-chip{border:1px solid var(--border-light);background:color-mix(in srgb,var(--card-bg) 94%,var(--bg-cream));padding:11px 13px;border-radius:12px;flex:1 1 210px}.checkout-info-chip small{display:block;color:var(--text-muted);font-size:11px;margin-bottom:2px}.checkout-methods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.checkout-method{border:1px solid var(--border-light);border-radius:12px;padding:12px 7px;text-align:center;font-size:12px;font-weight:500;background:#fff}.checkout-method span{display:block;font-size:19px;margin-bottom:3px}.checkout-security{display:flex;gap:9px;align-items:flex-start;background:#E4E6EC;border:1px solid #E4E6EC;border-radius:12px;padding:12px 14px;font-size:12.5px;color:#2E7A4F}.checkout-summary-cover{display:flex;gap:16px;align-items:flex-start}.checkout-mini-cover{width:90px;flex:0 0 90px}.checkout-summary-copy h2{font-size:21px;margin:0 0 3px}.checkout-summary-copy p{margin:0;color:var(--text-muted);font-size:13px}.checkout-divider{height:1px;background:var(--border-light);margin:20px 0}.checkout-price-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.checkout-price-row strong{font-size:24px}.checkout-pay-btn{width:100%;margin-top:18px;border:0;border-radius:13px;background:var(--accent-rust);color:#fff;padding:14px 18px;font-family:var(--font-ui);font-weight:600;font-size:16px;cursor:pointer;box-shadow:0 9px 20px color-mix(in srgb,var(--accent-rust) 25%,transparent)}.checkout-pay-btn:hover{filter:brightness(.96)}.checkout-pay-btn:disabled{opacity:.65;cursor:wait}.checkout-secure-note{text-align:center;color:var(--text-muted);font-size:11.5px;margin:10px 0 0}.checkout-error{display:none;margin-top:14px;background:#F6F5F2;border:1px solid #D9D6D0;color:#3B4256;border-radius:10px;padding:10px 12px;font-size:12.5px}.checkout-error.is-visible{display:block}.checkout-back{display:inline-block;margin-top:14px;color:var(--text-muted);font-size:12.5px}.payment-status-card{max-width:640px;margin:52px auto 90px;text-align:center}.payment-state-icon{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;margin:0 auto 16px;font-size:28px}.payment-state-success{background:#E4E6EC;color:#2E7A4F}.payment-state-pending{background:#ECEAE6;color:#282E37}.payment-state-failed{background:#F6F5F2;color:#5B6376}.payment-id-line{font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--text-muted);word-break:break-all}.payment-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}@media(max-width:800px){.checkout-grid{grid-template-columns:1fr}.checkout-summary{order:-1}.checkout-methods{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.checkout-shell{margin-top:24px}.checkout-card{padding:20px}.checkout-step{gap:10px}.checkout-methods{grid-template-columns:1fr 1fr}.checkout-mini-cover{width:74px;flex-basis:74px}}

.checkout-mini-cover .juf-book-jacket{width:90px!important;height:128px!important;min-height:0!important;border-radius:8px!important}.checkout-mini-cover .juf-jacket-title{font-size:12px!important;line-height:1.25!important}.checkout-mini-cover .juf-jacket-author,.checkout-mini-cover .juf-jacket-genre{font-size:8px!important}.checkout-mini-cover .juf-jacket-symbol{font-size:24px!important}@media(max-width:480px){.checkout-mini-cover .juf-book-jacket{width:74px!important;height:108px!important}}

/* Phase 14 Premium checkout refinements */
.checkout-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 18px;font-size:12px;color:var(--text-muted)}.checkout-breadcrumb a{color:inherit;text-decoration:none}.checkout-breadcrumb a:hover{text-decoration:underline}.checkout-help-copy{margin:10px 0 0;color:var(--text-muted);font-size:12.5px;line-height:1.7}.checkout-fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.checkout-fact-grid>div{border:1px solid var(--border-light);border-radius:11px;padding:10px 11px;background:color-mix(in srgb,var(--card-bg) 95%,var(--bg-cream))}.checkout-fact-grid small{display:block;color:var(--text-muted);font-size:10px;margin-bottom:3px}.checkout-fact-grid strong{font-size:12.5px}.checkout-extension-note{margin-top:11px;border-left:3px solid var(--accent-rust);background:color-mix(in srgb,var(--accent-rust) 7%,white);padding:9px 11px;font-size:12px;line-height:1.65;border-radius:0 10px 10px 0}.checkout-product-type{display:block;font-size:9.5px;letter-spacing:normal;font-weight:500;color:var(--accent-rust);margin-bottom:4px}.checkout-plan-summary{display:flex;gap:15px;align-items:flex-start}.checkout-plan-mark{width:82px;height:98px;flex:0 0 82px;border-radius:15px;background:var(--text-main);color:#fff;display:grid;place-items:center;align-content:center;box-shadow:inset 0 0 0 1px rgba(255, 255, 255, .08),0 10px 24px rgba(40, 46, 55, .12)}.checkout-plan-mark span{font-family:var(--font-brand);font-size:18px;letter-spacing:normal}.checkout-plan-mark strong{font-size:27px;line-height:1;color:#5B6376}.checkout-breakdown{display:grid;gap:10px}.checkout-breakdown>div{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;font-size:12.5px}.checkout-breakdown>div strong{text-align:right;max-width:62%}.checkout-breakdown .is-total{padding-top:12px;border-top:1px solid var(--border-light);font-size:14px}.checkout-breakdown .is-total strong{font-size:24px}.checkout-mode-note{margin-top:12px;padding:8px 10px;border-radius:10px;background:#ECEAE6;color:#282E37;font-size:11.5px;font-weight:500}.checkout-status-link{display:block;margin-top:10px;text-align:center;font-size:12px;font-weight:500;color:var(--accent-rust)}.checkout-legal-copy{margin:14px 0 0;font-size:10.8px;line-height:1.65;color:var(--text-muted);text-align:center}.checkout-legal-copy a{color:inherit;text-decoration:underline}.checkout-footnote{max-width:760px;margin:18px auto 0;color:var(--text-muted);font-size:10.5px;line-height:1.65;text-align:center}.checkout-pay-btn:disabled{cursor:not-allowed}.checkout-method{min-height:70px;display:grid;place-items:center;align-content:center}.checkout-summary{position:sticky;top:88px}
@media(max-width:800px){.checkout-summary{position:static}.checkout-fact-grid{grid-template-columns:1fr}.checkout-plan-summary{align-items:center}}
@media(max-width:480px){.checkout-breakdown>div{gap:8px}.checkout-breakdown>div strong{max-width:58%}.checkout-plan-mark{width:70px;height:84px;flex-basis:70px}.checkout-plan-mark span{font-size:15px}.checkout-head{text-align:left}.checkout-breadcrumb{margin-bottom:14px}}
.checkout-outcome{display:none;text-align:left}.checkout-outcome.is-visible{display:grid;gap:4px}.checkout-outcome strong{font-size:13px}.checkout-outcome span{line-height:1.6}.checkout-outcome.is-cancelled{background:#ECEAE6;border-color:#D9D6D0;color:#282E37}.checkout-outcome.is-pending{background:#E4E6EC;border-color:#E4E6EC;color:#2F5D9E}.checkout-outcome.is-failed{background:#F6F5F2;border-color:#D9D6D0;color:#3B4256}

/* Phase29 reference-aligned secure checkout — 2026-09-13. Existing payment status styles above remain intact. */
.juf-checkout-reference-page-v32{margin:0;min-height:100vh;background:#E4E6EC;color:#2F5D9E;font-family:'Noto Sans Bengali','Kalpurush','SolaimanLipi',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.juf-checkout-reference-page-v32 *{box-sizing:border-box}
.juf-checkout-page-v32{min-height:100vh;padding:clamp(18px,3vw,48px);background:#E4E6EC;display:grid;place-items:center}
.juf-checkout-shell-v32{width:min(1440px,100%);display:grid;grid-template-columns:minmax(0,1.22fr) minmax(430px,1fr);align-items:stretch;background:#3346A8;border-radius:24px;overflow:hidden;box-shadow:0 20px 65px rgba(40, 46, 55, .18);border:1px solid rgba(255, 255, 255, .72)}
.juf-checkout-visual-v32{position:relative;min-width:0;min-height:650px;background:#3346A8;color:#fff;padding:36px 34px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate;overflow:hidden}
.juf-checkout-visual-v32::after{content:"";position:absolute;left:32%;top:50%;width:160%;aspect-ratio:1280/855;background:url('../images/auth/reader-login-bg-1280.webp') center/100% 100% no-repeat;transform:translateY(-50%);mask-image:linear-gradient(to right,transparent,#000 30px),linear-gradient(to bottom,transparent,#000 30px,#000 calc(100% - 30px),transparent);mask-composite:intersect;z-index:-1;pointer-events:none}
.juf-checkout-visual-logo-v32{width:44px;height:54px;display:block}
.juf-checkout-visual-logo-v32 img{width:100%;height:100%;object-fit:contain;display:block}
.juf-checkout-visual-copy-v32{position:absolute;left:34px;top:34%;width:33%;max-width:220px;margin:0;text-shadow:none}
.juf-checkout-visual-copy-v32>span{font-size:11px;letter-spacing:normal;font-weight:500;opacity:.9}
.juf-checkout-visual-copy-v32 h1{font-family:inherit;font-size:clamp(24px,2vw,30px);line-height:1.5;margin:8px 0 12px;color:#fff}
.juf-checkout-visual-copy-v32 p{font-size:14px;line-height:1.65;margin:0 0 16px;color:#fff}
.juf-checkout-visual-trust-v32{position:absolute;bottom:32px;left:34px;right:34px;display:flex;gap:24px;align-items:center;justify-content:flex-start;font-size:12px;color:#fff}
.juf-checkout-panel-v32{position:relative;margin:22px 22px 22px 0;padding:26px 28px;display:flex;flex-direction:column;justify-content:center;background:#fff;min-width:0;border-radius:20px;box-shadow:0 8px 24px rgba(40, 46, 55, .10)}
.juf-checkout-panel-head-v32{display:grid;grid-template-columns:44px 1fr 44px;align-items:start;gap:12px;text-align:center;margin-bottom:20px}
.juf-checkout-back-v32,.juf-checkout-lock-v32{width:42px;height:42px;display:grid;place-items:center;border:1px solid #E4E6EC;border-radius:13px;color:#5B6376;text-decoration:none;background:#fff;font-weight:500}
.juf-checkout-lock-v32{color:#2E7A4F;border-color:#E4E6EC}
.juf-checkout-panel-kicker-v32{display:block;font-size:10px;font-weight:500;letter-spacing:normal;color:#5B6376;text-transform:uppercase;margin-top:1px}
.juf-checkout-panel-head-v32 h2{font:500 29px/1.18 'Kalpurush','SolaimanLipi',serif;margin:3px 0 4px;color:#2F5D9E}
.juf-checkout-panel-head-v32 p{margin:0;color:#5B6376;font-size:13px}
.juf-checkout-section-v32{padding:16px 0;border-top:1px solid #D9D6D0}
.juf-checkout-section-v32:first-of-type{border-top:0;padding-top:4px}
.juf-checkout-section-head-v32{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.juf-checkout-section-head-v32 h3{font:500 15px/1.4 'Noto Sans Bengali','Kalpurush','SolaimanLipi',sans-serif;margin:0;color:#2F5D9E}
.juf-checkout-section-head-v32>span{font-size:10.5px;color:#5B6376}
.juf-checkout-methods-v32{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.juf-checkout-method-v32{appearance:none;border:1px solid #E4E6EC;background:#fff;color:#2F5D9E;border-radius:12px;min-height:78px;padding:9px 7px;display:grid;place-items:center;align-content:center;gap:6px;font:600 11px/1.2 inherit;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease}
.juf-checkout-method-v32:hover{transform:translateY(-1px);border-color:#1F4478}
.juf-checkout-method-v32:focus-visible{outline:3px solid rgba(91, 99, 118, .22);outline-offset:2px}
.juf-checkout-method-v32.is-selected{border-color:#2F5D9E;background:#E4E6EC;box-shadow:inset 0 0 0 1px #3346A8,0 7px 18px rgba(91, 99, 118, .10);color:#2F5D9E}
.juf-checkout-method-v32 svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.juf-checkout-upi-mark-v32{font:600 15px/1 'Noto Sans Bengali','Kalpurush','SolaimanLipi',sans-serif;letter-spacing:normal;color:#2E7A4F}
.juf-checkout-method-note-v32{margin:8px 0 0;color:#5B6376;font-size:12px;line-height:1.5}
.juf-checkout-account-grid-v32{display:grid;grid-template-columns:1fr;gap:10px}
.juf-checkout-field-v32>span:first-child{display:block;margin:0 0 5px;color:#5B6376;font-size:12px;font-weight:500}
.juf-checkout-field-box-v32{height:48px;border:1px solid #E4E6EC;border-radius:11px;display:flex;align-items:center;gap:10px;padding:0 13px;background:#E4E6EC;color:#2F5D9E;min-width:0}
.juf-checkout-field-box-v32 svg{width:18px;height:18px;fill:none;stroke:#5B6376;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.juf-checkout-field-box-v32 strong{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.juf-checkout-digital-note-v32{display:flex;align-items:flex-start;gap:10px;margin-top:10px;padding:10px 12px;border-radius:11px;background:#E4E6EC;border:1px solid #E4E6EC;color:#2E7A4F}
.juf-checkout-digital-note-v32>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#2E7A4F;color:#fff;font-size:12px;flex:0 0 auto}
.juf-checkout-digital-note-v32 strong,.juf-checkout-digital-note-v32 small{display:block}
.juf-checkout-digital-note-v32 strong{font-size:11.5px}.juf-checkout-digital-note-v32 small{font-size:10px;line-height:1.5;margin-top:2px;color:#5B6376}
.juf-checkout-product-v32{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;background:#E4E6EC;border:1px solid #E4E6EC;border-radius:12px;padding:10px 12px}
.juf-checkout-cover-v32{width:48px;flex:0 0 48px}
.juf-checkout-cover-v32 .juf-book-jacket{width:48px!important;height:66px!important;min-height:0!important;border-radius:5px!important}.juf-checkout-cover-v32 .juf-jacket-title{font-size:7px!important}.juf-checkout-cover-v32 .juf-jacket-author,.juf-checkout-cover-v32 .juf-jacket-genre{font-size:5px!important}.juf-checkout-cover-v32 .juf-jacket-symbol{font-size:13px!important}
.juf-checkout-plan-art-v32{width:48px;height:62px;border-radius:8px;background:linear-gradient(155deg,#3346A8,#3346A8);color:#fff;display:grid;place-items:center;align-content:center;box-shadow:0 5px 12px rgba(40, 46, 55, .18)}
.juf-checkout-plan-art-v32 span{font:500 10px/1 'Noto Sans Bengali','Kalpurush','SolaimanLipi',sans-serif}.juf-checkout-plan-art-v32 strong{font-size:18px;line-height:1;color:#F6F5F2}
.juf-checkout-product-copy-v32{min-width:0}.juf-checkout-product-copy-v32>span{display:block;font-size:8.5px;letter-spacing:normal;font-weight:600;color:#2F5D9E;margin-bottom:2px}.juf-checkout-product-copy-v32>strong{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.juf-checkout-product-copy-v32>small{display:block;color:#5B6376;font-size:10px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.juf-checkout-product-price-v32{font-size:13px;white-space:nowrap}
.juf-checkout-summary-rows-v32{display:grid;gap:7px;margin-top:10px}.juf-checkout-summary-rows-v32>div{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#5B6376;font-size:11px}.juf-checkout-summary-rows-v32>div strong{color:#2F5D9E}.juf-checkout-summary-rows-v32 .is-total{border-top:1px solid #E4E6EC;padding-top:9px;margin-top:2px;color:#2F5D9E;font-weight:500}.juf-checkout-summary-rows-v32 .is-total strong{font-size:15px}
.juf-checkout-access-v32{display:flex;justify-content:space-between;gap:18px;margin-top:9px;padding:8px 10px;border-radius:9px;background:#F6F5F2;border:1px solid #D9D6D0;font-size:10px;color:#282E37}.juf-checkout-access-v32 strong{text-align:right;color:#282E37}
.juf-checkout-pay-v32{width:100%;min-height:52px;border:0;border-radius:11px;background:linear-gradient(180deg,#2E7A4F,#2E7A4F);color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font:600 14px/1.2 'Noto Sans Bengali','Kalpurush','SolaimanLipi',sans-serif;cursor:pointer;box-shadow:0 10px 24px rgba(40, 46, 55, .20);margin-top:14px;transition:transform .18s ease,filter .18s ease}
.juf-checkout-pay-v32:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.98)}.juf-checkout-pay-v32:focus-visible{outline:3px solid rgba(40, 46, 55, .24);outline-offset:3px}.juf-checkout-pay-v32:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.juf-checkout-secure-v32{text-align:center;margin:12px auto 0;max-width:520px;color:#5B6376;font-size:12px;line-height:1.6}.juf-checkout-secure-v32>span{color:#2E7A4F;font-weight:600;margin-right:4px}
.juf-checkout-legal-v32{text-align:center;margin:9px 0 0;color:#5B6376;font-size:11px;line-height:1.6}.juf-checkout-legal-v32 a{color:#2F5D9E;text-decoration:underline;text-underline-offset:2px}
.juf-checkout-outcome-v32{margin-top:10px}.juf-checkout-outcome-v32 strong,.juf-checkout-outcome-v32 span{display:block}
.juf-checkout-reference-page-v32 .checkout-status-link{text-align:center;margin-top:8px;color:#2F5D9E;font-size:10.5px;font-weight:500}
.juf-checkout-reference-page-v32 .checkout-mode-note{margin-top:9px;font-size:10px}
.juf-checkout-reference-page-v32 .checkout-extension-note{margin-top:9px;font-size:10px;line-height:1.5}
@media(prefers-reduced-motion:reduce){.juf-checkout-method-v32,.juf-checkout-pay-v32{transition:none}.juf-checkout-method-v32:hover,.juf-checkout-pay-v32:hover:not(:disabled){transform:none}}

/* Build 296: artwork remains intact beside the independent checkout card. */
.juf-checkout-visual-trust-v32 span{display:grid;gap:8px;text-align:center;color:#fff}
.juf-checkout-visual-trust-v32 b{display:grid;place-items:center;width:36px;height:36px;margin:auto;border-radius:50%;background:rgba(255, 255, 255, .12);font-size:22px;font-weight:400}
.juf-checkout-visual-copy-v32>span{font-size:10px}
.juf-checkout-digital-note-v32 strong{font-size:13px;font-weight:500}
.juf-checkout-digital-note-v32 small{font-size:12px}
.juf-checkout-product-copy-v32>strong{font-size:15px}
.juf-checkout-product-copy-v32>small{font-size:12px}
.juf-checkout-product-copy-v32>span{font-size:10px}
.juf-checkout-summary-rows-v32>div{font-size:13px}
.juf-checkout-access-v32{font-size:12px;flex-wrap:wrap}
.juf-checkout-access-v32 strong{text-align:left}
.juf-checkout-method-v32{font-family:inherit;font-size:12px;font-weight:500}
.juf-checkout-method-v32:disabled{cursor:not-allowed;transform:none}
.juf-checkout-pay-v32:disabled{background:#ECEAE6;color:#5B6376;opacity:1}
.juf-checkout-unavailable-v296{font-size:13px;line-height:1.6;text-align:center;color:#5B6376;margin:10px 0 0}
.juf-checkout-unavailable-v296 a{color:#2F5D9E;text-decoration:underline}
.juf-checkout-reference-page-v32 [hidden]{display:none!important}
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-visual-v32 :where(h1,p,span,b){color:#fff!important}
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-method-v32.is-selected span{color:#fff!important}
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-pay-v32:disabled{background:#2C3037!important;color:#A09B94!important}
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-unavailable-v296 a{color:#C9D4EC}
@media(max-width:1199px) and (min-width:768px){
 .juf-checkout-page-v32{padding:20px}
 .juf-checkout-shell-v32{grid-template-columns:minmax(0,1fr) minmax(350px,1.12fr)}
 .juf-checkout-visual-v32{padding:24px 20px}
 .juf-checkout-visual-copy-v32{left:20px;width:34%;font-size:12px}
 .juf-checkout-visual-copy-v32 h1{font-size:20px}
 .juf-checkout-visual-copy-v32 p{font-size:12px}
 .juf-checkout-panel-v32{margin:14px 14px 14px 0;padding:22px 20px}
 .juf-checkout-visual-trust-v32{left:20px;right:20px;bottom:26px;gap:14px;font-size:10px}
}
@media(max-width:767px){
 .juf-checkout-page-v32{padding:16px 12px;background:#E4E6EC}
 .juf-checkout-shell-v32{display:block;max-width:520px;min-height:0;background:transparent;border:0;border-radius:20px;overflow:visible;box-shadow:none}
 .juf-checkout-visual-v32{display:none}
 .juf-checkout-panel-v32{margin:0;padding:24px 18px;border-radius:20px;border:1px solid #E4E6EC}
 .juf-checkout-panel-head-v32{grid-template-columns:38px 1fr 38px;gap:8px;margin-bottom:16px}
 .juf-checkout-back-v32,.juf-checkout-lock-v32{width:36px;height:36px}
 .juf-checkout-panel-kicker-v32{font-size:10px}
 .juf-checkout-panel-head-v32 h2{font-size:25px}
 .juf-checkout-panel-head-v32 p{font-size:12px}
 .juf-checkout-methods-v32{gap:6px}
 .juf-checkout-method-v32{min-height:68px;padding:8px 3px;font-size:10.5px}
 .juf-checkout-method-v32 svg{width:22px;height:22px}
 .juf-checkout-section-v32{padding:14px 0}
 .juf-checkout-product-v32{gap:9px;padding:10px}
 .juf-checkout-product-copy-v32>strong{white-space:normal;font-size:14px}
 .juf-checkout-product-price-v32{font-size:12px}
 .juf-checkout-pay-v32{margin-top:12px}
}
@media(max-width:350px){
 .juf-checkout-panel-v32{padding:20px 14px}
 .juf-checkout-method-v32{font-size:10px}
 .juf-checkout-section-head-v32>span{font-size:10px}
 .juf-checkout-product-v32{grid-template-columns:auto 1fr}
 .juf-checkout-product-price-v32{grid-column:2}
}

/* Build 296: readable labels, accessible actions and scoped theme surfaces. */
.juf-checkout-panel-kicker-v32,
.juf-checkout-panel-head-v32 p,
.juf-checkout-section-head-v32>span,
.juf-checkout-method-note-v32,
.juf-checkout-secure-v32,
.juf-checkout-legal-v32 { color:#5B6376; font-size:12px; }
.juf-checkout-section-head-v32>span { text-align:right; }
.juf-checkout-product-copy-v32>small { color:#5B6376; }
.juf-checkout-pay-v32 { background:#2E7A4F; box-shadow:0 6px 16px rgba(40, 46, 55, .14); }
.juf-checkout-pay-v32:focus-visible { outline:3px solid #2E7A4F; outline-offset:3px; }
.juf-checkout-method-v32:focus-visible { outline:3px solid #263787; outline-offset:3px; }
.juf-checkout-product-copy-v32>strong { white-space:normal; overflow-wrap:anywhere; }
.juf-checkout-field-box-v32 { height:auto; min-height:48px; }
.juf-checkout-field-box-v32 strong { min-width:0; white-space:normal; overflow-wrap:anywhere; }
.juf-checkout-reference-page-v32 .checkout-mode-note,
.juf-checkout-reference-page-v32 .checkout-extension-note { font-size:12px; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-page-v32 { background:#343A44; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-pay-v32:not(:disabled) { background:#C9D4EC !important; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-pay-v32>span { color:#FFFFFF; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-access-v32 { background:#2C3037; border-color:#3A3F47; color:#A09B94; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-access-v32>span { color:#A09B94; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-field-v32>span:first-child { color:#A09B94; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-legal-v32 a { color:#C9D4EC; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .juf-checkout-pay-v32:focus-visible { outline-color:#DDE5F5; }
@media(min-width:768px) and (max-width:899px) {
 .juf-checkout-page-v32 { padding:16px; }
 .juf-checkout-shell-v32 { grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); }
 .juf-checkout-panel-v32 { padding:20px 18px; }
 .juf-checkout-visual-v32 { padding:24px 20px; }
 .juf-checkout-visual-copy-v32 h1 { font-size:20px; }
 .juf-checkout-methods-v32 { gap:6px; }
 .juf-checkout-method-v32 { font-size:11px; }
 .juf-checkout-product-v32 { grid-template-columns:auto minmax(0,1fr); }
 .juf-checkout-product-price-v32 { grid-column:2; }
}
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .checkout-extension-note { background:#2C3037; color:#ECE8E1; border-color:#C9D4EC; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .checkout-outcome.is-visible { background:#2C3037; border-color:#3A3F47; color:#ECE8E1; }
html[data-theme="dark"] body.juf-checkout-reference-page-v32 .checkout-outcome.is-visible>span { color:#ECE8E1; }
.juf-checkout-visual-v32::before { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background:linear-gradient(90deg,rgba(40, 46, 55, .34),rgba(40, 46, 55, .25) 34%,transparent 60%); }
.juf-checkout-visual-logo-v32 { position:relative; z-index:1; }
.juf-checkout-visual-copy-v32,
.juf-checkout-visual-trust-v32 { z-index:1; }
.juf-checkout-visual-trust-v32 svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }


/* ============================================================================
   Build 615 — Modern Simple Single-Card Checkout UI
   - Hides the classic split-screen cartoon banner (.juf-checkout-visual-v32)
     and centers a sleek, modern checkout card (max-width: 500px, border-radius: 20px).
   - Replaces classic Georgia serif titles with clean modern sans-serif.
   ============================================================================ */
body.juf-checkout-reference-page-v32 .juf-checkout-visual-v32 {
    display: none !important;
}

body.juf-checkout-reference-page-v32 .juf-checkout-page-v32 {
    padding: clamp(16px, 4vw, 36px) 14px !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.juf-checkout-reference-page-v32 .juf-checkout-shell-v32 {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 500px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
    border: 1px solid rgba(35, 42, 54, 0.10) !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03) !important;
    overflow: hidden !important;
}

body.juf-checkout-reference-page-v32 .juf-checkout-panel-v32 {
    padding: 24px 22px 26px !important;
}

body.juf-checkout-reference-page-v32 .juf-checkout-panel-head-v32 h2 {
    font-family: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

body.juf-checkout-reference-page-v32 .juf-checkout-method-v32,
body.juf-checkout-reference-page-v32 .juf-checkout-field-box-v32,
body.juf-checkout-reference-page-v32 .juf-checkout-product-v32,
body.juf-checkout-reference-page-v32 .juf-checkout-digital-note-v32 {
    border-radius: 12px !important;
}

body.juf-checkout-reference-page-v32 .juf-checkout-pay-v32 {
    min-height: 48px !important;
    border-radius: 12px !important;
    background: #2D4B9A !important;
    border-color: #2D4B9A !important;
    color: #FFFFFF !important;
    font-family: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(45, 75, 154, 0.20) !important;
}


/* === MERGED: jufbook-book-depth.css === */
/*
 * JUFbook Global Book Depth Authority — 2026-09-16
 * Scope: presentation only. No data, query, ordering, rendering-count or content changes.
 * Goal: one consistent premium printed-book shadow language everywhere a book cover is rendered.
 */

:root {
    --juf-book-shadow-rest:
        0 18px 27px rgba(40, 46, 55, .155),
        0 6px 11px rgba(40, 46, 55, .095),
        -4px 5px 8px rgba(40, 46, 55, .055),
        inset -1px 0 rgba(255, 255, 255, .24);
    --juf-book-shadow-hover:
        0 23px 34px rgba(40, 46, 55, .18),
        0 8px 13px rgba(40, 46, 55, .105),
        -4px 6px 9px rgba(40, 46, 55, .065),
        inset -1px 0 rgba(255, 255, 255, .26);
    --juf-book-shadow-compact:
        0 9px 15px rgba(40, 46, 55, .145),
        0 3px 7px rgba(40, 46, 55, .085),
        -2px 3px 5px rgba(40, 46, 55, .045),
        inset -1px 0 rgba(255, 255, 255, .20);
    --juf-book-shadow-compact-hover:
        0 12px 19px rgba(40, 46, 55, .17),
        0 4px 8px rgba(40, 46, 55, .09),
        -2px 4px 6px rgba(40, 46, 55, .05),
        inset -1px 0 rgba(255, 255, 255, .22);
}

/*
 * Final authority for GraphicEngine book objects. Repeated class specificity is
 * intentional: several historical page styles used !important; this central rule
 * must remain the single visible shadow authority without changing their layout.
 */
body .juf-book-jacket.juf-book-jacket.juf-book-jacket {
    box-shadow: var(--juf-book-shadow-rest) !important;
    transition-property: transform, box-shadow, filter !important;
    transition-duration: .22s !important;
    transition-timing-function: cubic-bezier(.2,.7,.2,1) !important;
}

body .juf-book-jacket.juf-book-jacket.juf-book-jacket:hover,
body a:hover > .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body article:hover .juf-book-jacket.juf-book-jacket.juf-book-jacket {
    box-shadow: var(--juf-book-shadow-hover) !important;
}

/*
 * Compact book thumbnails keep the same direction and softness, scaled to their
 * physical size. This prevents Search/Reader/Profile/Checkout rows from becoming
 * visually heavy while still reading as the same JUFbook book object.
 */
body .juf-search-book > .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .home-reading-cover > .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .reader-identity-book-cover.reader-identity-book-cover,
body .juf-profile-cover-54.juf-profile-cover-54,
body .juf-profile-cover-62.juf-profile-cover-62,
body .juf-profile-cover-76.juf-profile-cover-76,
body .juf-profile-cover-82.juf-profile-cover-82,
body .juf-profile-cover-86.juf-profile-cover-86,
body .juf-profile-cover-92.juf-profile-cover-92,
body .juf-profile-cover-110.juf-profile-cover-110,
body .audio-row-cover > .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .juf-checkout-cover-v32 .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .checkout-mini-cover .juf-book-jacket.juf-book-jacket.juf-book-jacket {
    box-shadow: var(--juf-book-shadow-compact) !important;
}

body .juf-search-book:hover > .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .home-reading-cover:hover > .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .reader-identity-cover:hover .reader-identity-book-cover.reader-identity-book-cover,
body .profile-cover-link:hover .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .audio-row-cover:hover > .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .juf-checkout-cover-v32:hover .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .checkout-mini-cover:hover .juf-book-jacket.juf-book-jacket.juf-book-jacket {
    box-shadow: var(--juf-book-shadow-compact-hover) !important;
}

/* Medium artwork used in audiobook shelves/assistant cards uses a balanced tier. */
body .audio-hub-featured-cover .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .audio-new-cover .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .audio-cover-poster .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body .juf-ai-cover .juf-book-jacket.juf-book-jacket.juf-book-jacket {
    box-shadow:
        0 13px 21px rgba(40, 46, 55, .15),
        0 5px 9px rgba(40, 46, 55, .09),
        -3px 4px 7px rgba(40, 46, 55, .05),
        inset -1px 0 rgba(255, 255, 255, .22) !important;
}

/* Remove legacy parent shadows where they would stack with the cover shadow. */
body.authors-page .juf-author-new-book-cover {
    filter: none !important;
}
body.audiobook-page .audio-hub-featured-cover,
body.audiobook-page .audio-new-cover {
    box-shadow: none !important;
    filter: none !important;
    overflow: visible !important;
}
body.audiobook-page .audio-row-cover {
    box-shadow: none !important;
    overflow: visible !important;
    background: transparent !important;
}

/* Premium hero stack clips its child cover, so the parent carries the same depth. */
body.premium-page .premium-book-stack-live .premium-stack-book {
    box-shadow: var(--juf-book-shadow-rest) !important;
}
body.premium-page .premium-book-stack-live .premium-stack-book:hover {
    box-shadow: var(--juf-book-shadow-hover) !important;
}

/* Audio player artwork is a constrained player surface; retain the same tonal depth
   on the frame rather than forcing a 2:3 book outside the player geometry. */
body .audio-player-art {
    box-shadow:
        0 13px 21px rgba(40, 46, 55, .15),
        0 5px 9px rgba(40, 46, 55, .09) !important;
}
body .audio-player-art > .juf-book-jacket.juf-book-jacket.juf-book-jacket,
body.premium-page .premium-book-stack-live .premium-stack-book > .juf-book-jacket.juf-book-jacket.juf-book-jacket {
    box-shadow: none !important;
}

/* Accessibility and print: no decorative depth where motion/ink economy matters. */
@media (prefers-reduced-motion: reduce) {
    body .juf-book-jacket.juf-book-jacket.juf-book-jacket,
    body.premium-page .premium-book-stack-live .premium-stack-book {
        transition: none !important;
    }
}

@media print {
    body .juf-book-jacket.juf-book-jacket.juf-book-jacket,
    body.premium-page .premium-book-stack-live .premium-stack-book,
    body .audio-player-art {
        box-shadow: none !important;
        filter: none !important;
    }
}


/* === MERGED: premium-plans.css === */
/* Build 326: ChatGPT "Upgrade your plan" Pricing UX/UI for JUFbook Premium (`premium.php`).
   Scoped strictly to `body.premium-page`. */

html:not([data-theme="dark"]):not([data-theme="pdf"]) body.premium-page {
    background: var(--bg-cream, #ECEAE6) !important;
}
body.premium-page .site-main {
    background: transparent !important;
}

body.premium-page :where(
    .premium-hero,
    .premium-active-pass,
    .premium-section,
    .premium-library-callout,
    .premium-trust-section,
    .premium-faq,
    .premium-pass-muted
) {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* =========================================================================
   1. ChatGPT Centered Minimal Header + Segmented Pill Switcher
   ========================================================================= */
body.premium-page .premium-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 28px auto 30px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.premium-page .premium-hero-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 680px !important;
    margin: 0 auto !important;
}
body.premium-page .premium-eyebrow,
body.premium-page .premium-hero-actions,
body.premium-page .premium-collection-note {
    display: none !important;
}
body.premium-page .premium-hero h1 {
    margin: 0 0 10px !important;
    font-family: var(--font-heading-editorial, 'Kalpurush', serif) !important;
    font-size: clamp(30px, 3.2vw, 40px) !important;
    font-weight: 600 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.01em !important;
    color: #282E37 !important;
}
body.premium-page .premium-hero-copy > p {
    margin: 0 0 22px !important;
    max-width: 560px !important;
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #282E37 !important;
    opacity: 1 !important;
}

/* ChatGPT Segmented Pill Toggle (`প্রিমিয়াম পাস` | `একক বই আনলক`) */
body.premium-page .premium-billing-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px !important;
    border: 1px solid #D9D6D0 !important;
    border-radius: 999px !important;
    background: #E4E6EC !important;
    box-shadow: inset 0 1px 2px rgba(40, 46, 55, 0.05) !important;
}
body.premium-page .premium-toggle-pill {
    appearance: none !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 8px 20px !important;
    min-height: 36px !important;
    background: transparent !important;
    color: #282E37 !important;
    font: 600 13.5px/1 var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    cursor: pointer !important;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease !important;
}
body.premium-page .premium-toggle-pill:hover {
    color: #282E37 !important;
}
body.premium-page .premium-toggle-pill.is-active {
    background: #ECEAE6 !important;
    color: #282E37 !important;
    box-shadow: 0 2px 8px rgba(40, 46, 55, 0.10) !important;
}

/* Active Pass Banner */
body.premium-page .premium-active-pass {
    margin: 0 auto 24px !important;
    padding: 16px 22px !important;
    border: 1px solid #D9D6D0 !important;
    border-radius: 18px !important;
    background: #ECEAE6 !important;
}
body.premium-page .premium-active-pass h2 {
    font-size: 20px !important;
}
body.premium-page .premium-active-pass > a {
    background: #3B4256 !important;
    color: #FFFFFF !important;
    border-radius: 999px !important;
}

/* =========================================================================
   2. ChatGPT 3-Column Pricing Cards (`#premium-passes`)
   ========================================================================= */
body.premium-page #premium-passes {
    margin: 0 auto !important;
    scroll-margin-top: 90px !important;
}
body.premium-page #premium-passes > .premium-section-heading {
    display: none !important;
}
body.premium-page .premium-plan-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
}
body.premium-page .premium-plan-grid-count-2 {
    grid-template-columns: repeat(2, minmax(0, 360px)) !important;
    justify-content: center !important;
}
body.premium-page .premium-plan-grid-count-1 {
    grid-template-columns: minmax(0, 380px) !important;
    justify-content: center !important;
}

/* Individual ChatGPT-style Vertical Plan Card */
body.premium-page .premium-plan-card {
    position: relative !important;
    padding: 28px 26px 26px !important;
    border: 1px solid #D9D6D0 !important;
    border-radius: 24px !important;
    background: #F6F5F2 !important;
    box-shadow: 0 8px 24px rgba(40, 46, 55, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    opacity: 1 !important;
    transform: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
body.premium-page .premium-plan-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 32px rgba(40, 46, 55, 0.08) !important;
}

/* Middle Featured Plan Card (ChatGPT Plus / Pro highlighted card style) */
body.premium-page .premium-plan-card.is-featured,
body.premium-page .premium-plan-card.is-current {
    padding: 28px 26px 26px !important;
    border: 1.5px solid #3B4256 !important;
    background: #ECEAE6 !important;
    box-shadow: 0 16px 38px rgba(59, 66, 86, 0.09) !important;
}

/* Row 1: Plan Name + Right Pill Badge */
body.premium-page .premium-plan-topline {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 0 14px !important;
}
body.premium-page .premium-plan-card h3 {
    margin: 0 !important;
    font-family: var(--font-heading-editorial, 'Kalpurush', serif) !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #282E37 !important;
}
body.premium-page .premium-plan-duration {
    display: none !important;
}
body.premium-page .premium-plan-badge {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    border: 1px solid #D9D6D0 !important;
    border-radius: 999px !important;
    background: #ECEAE6 !important;
    color: #282E37 !important;
    font: 600 11.5px/1 var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
}
body.premium-page .premium-plan-card.is-featured .premium-plan-badge {
    background: #3B4256 !important;
    border-color: #3B4256 !important;
    color: #FFFFFF !important;
}

/* Row 2: Giant Price Lockup (`₹৭৫` + `/ ৩০ দিন · একবারের পেমেন্ট`) */
body.premium-page .premium-plan-price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
}
body.premium-page .premium-plan-price strong {
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    color: #282E37 !important;
}
body.premium-page .premium-plan-price span {
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #5B6376 !important;
}

/* Row 3: Short 1-2 line Tagline */
body.premium-page .premium-plan-card > p,
body.premium-page .premium-plan-tagline {
    min-height: 44px !important;
    margin: 0 0 18px !important;
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #282E37 !important;
    opacity: 1 !important;
}

/* Row 4: Full-Width Pill CTA Button ABOVE the feature checklist (ChatGPT Signature!) */
body.premium-page .premium-plan-cta-wrap {
    margin: 0 0 20px !important;
}
body.premium-page .premium-plan-card a.premium-cta-btn,
body.premium-page .premium-plan-card > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 1px solid #D9D6D0 !important;
    background: #E4E6EC !important;
    color: #282E37 !important;
    font: 600 14px/1 var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease !important;
}
body.premium-page .premium-plan-card a.premium-cta-btn:hover,
body.premium-page .premium-plan-card > a:hover {
    background: #263787 !important;
    border-color: #263787 !important;
    color: #FFFFFF !important;
}
body.premium-page .premium-plan-card.is-featured a.premium-cta-btn,
body.premium-page .premium-plan-card.is-featured > a {
    background: #3B4256 !important;
    border-color: #3B4256 !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px rgba(59, 66, 86, 0.16) !important;
}
body.premium-page .premium-plan-card.is-featured a.premium-cta-btn:hover,
body.premium-page .premium-plan-card.is-featured > a:hover {
    background: #2C3243 !important;
    border-color: #2C3243 !important;
}

body.premium-page .premium-plan-disabled {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 0 16px !important;
    border: 1px solid #D9D6D0 !important;
    border-radius: 999px !important;
    background: #ECEAE6 !important;
    color: #282E37 !important;
    font: 600 13.5px/1.2 var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    box-sizing: border-box !important;
}
body.premium-page .premium-plan-card.is-featured .premium-plan-disabled {
    background: #3B4256 !important;
    border-color: #3B4256 !important;
    color: #FFFFFF !important;
}

body.premium-page .premium-plan-access-type {
    display: none !important;
}

/* Row 5: Feature Checklist at the bottom of the card */
body.premium-page .premium-plan-card ul {
    flex: 1 1 auto !important;
    display: grid !important;
    align-content: start !important;
    gap: 11px !important;
    margin: 0 !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid #D9D6D0 !important;
    list-style: none !important;
}
body.premium-page .premium-plan-card li {
    position: relative !important;
    padding-left: 24px !important;
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 13.5px !important;
    line-height: 1.48 !important;
    color: #282E37 !important;
    opacity: 1 !important;
}
body.premium-page .premium-plan-card li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 2px !important;
    top: 0 !important;
    color: #282E37 !important;
    font-weight: 700 !important;
}

/* =========================================================================
   3. Hide Heavy Redundant Sections & Style Single-Book Tab / Card
   ========================================================================= */
body.premium-page .premium-comparison-section,
body.premium-page section[aria-labelledby="premium-how-title"],
body.premium-page .premium-trust-section > .premium-section-heading,
body.premium-page .premium-trust-section > .premium-trust-grid {
    display: none !important;
}

body.premium-page .premium-library-callout {
    margin: 22px auto 0 !important;
    padding: 24px 28px !important;
    border: 1px solid #D9D6D0 !important;
    border-radius: 22px !important;
    background: #F6F5F2 !important;
    box-shadow: 0 6px 20px rgba(40, 46, 55, 0.035) !important;
    display: block !important;
}
body.premium-page[data-premium-mode="single"] #premium-passes {
    display: none !important;
}
body.premium-page[data-premium-mode="single"] .premium-library-callout {
    max-width: 540px !important;
    margin: 0 auto !important;
    padding: 32px 30px !important;
    border: 1.5px solid #3B4256 !important;
    border-radius: 24px !important;
    background: #ECEAE6 !important;
    box-shadow: 0 16px 38px rgba(59, 66, 86, 0.09) !important;
}
body.premium-page .premium-single-card-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto !important;
    gap: 22px !important;
    align-items: center !important;
}
body.premium-page[data-premium-mode="single"] .premium-single-card-inner {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
}
body.premium-page .premium-single-badge {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    margin-bottom: 8px !important;
    border: 1px solid #D9D6D0 !important;
    border-radius: 999px !important;
    background: #ECEAE6 !important;
    color: #282E37 !important;
    font: 600 11.5px/1 var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
}
body.premium-page .premium-library-callout h2 {
    margin: 0 0 6px !important;
    font-family: var(--font-heading-editorial, 'Kalpurush', serif) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
    color: #282E37 !important;
}
body.premium-page .premium-library-callout p {
    margin: 0 !important;
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #282E37 !important;
    opacity: 1 !important;
}
body.premium-page .premium-single-features {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    gap: 7px !important;
}
body.premium-page .premium-single-features li {
    position: relative !important;
    padding-left: 20px !important;
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #282E37 !important;
}
body.premium-page .premium-single-features li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    font-weight: 700 !important;
    color: #282E37 !important;
}
body.premium-page .premium-library-callout a.premium-primary-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    background: #3346A8 !important;
    border: 1px solid #3346A8 !important;
    color: #FFFFFF !important;
    font: 600 13.5px/1 var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}
body.premium-page[data-premium-mode="single"] .premium-library-callout a.premium-primary-btn {
    width: 100% !important;
}

/* =========================================================================
   4. ChatGPT Centered Minimal Single-Column FAQ Accordion & Policy Footer
   ========================================================================= */
body.premium-page .premium-faq {
    max-width: 760px !important;
    margin: 44px auto 20px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: block !important;
}
body.premium-page .premium-faq-intro {
    text-align: center !important;
    margin: 0 0 20px !important;
}
body.premium-page .premium-faq-intro > span {
    display: none !important;
}
body.premium-page .premium-faq-intro h2 {
    margin: 0 0 6px !important;
    font-family: var(--font-heading-editorial, 'Kalpurush', serif) !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #282E37 !important;
}
body.premium-page .premium-faq-intro p {
    margin: 0 !important;
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 14px !important;
    color: #5B6376 !important;
}
body.premium-page .premium-faq-list {
    border-top: 1px solid #D9D6D0 !important;
    display: block !important;
}
body.premium-page .premium-faq-list details {
    border: 0 !important;
    border-bottom: 1px solid #D9D6D0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.premium-page .premium-faq-list summary {
    padding: 16px 32px 16px 2px !important;
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #282E37 !important;
    cursor: pointer !important;
}
body.premium-page .premium-faq-list p {
    margin: 0 0 16px !important;
    padding: 0 16px 0 2px !important;
    font-family: var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #282E37 !important;
}

body.premium-page .premium-trust-section {
    max-width: 760px !important;
    margin: 18px auto 52px !important;
    display: flex !important;
    justify-content: center !important;
}
body.premium-page .premium-policy-links {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
body.premium-page .premium-policy-links a {
    min-height: 32px !important;
    padding: 0 14px !important;
    border: 1px solid #D9D6D0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #282E37 !important;
    font: 500 12.5px/1 var(--font-ui-system, 'Noto Sans Bengali', sans-serif) !important;
}
body.premium-page .premium-policy-links a:hover {
    background: #2C3243 !important;
    border-color: #2C3243 !important;
    color: #FFFFFF !important;
}

/* =========================================================================
   5. Responsive Breakpoints & Dark Mode
   ========================================================================= */
@media (max-width: 980px) {
    body.premium-page .premium-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.premium-page .premium-single-card-inner {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}
@media (max-width: 720px) {
    body.premium-page .premium-hero {
        margin: 18px auto 22px !important;
    }
    body.premium-page .premium-plan-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    body.premium-page .premium-plan-card,
    body.premium-page .premium-plan-card.is-featured {
        padding: 22px 20px !important;
    }
    body.premium-page .premium-library-callout {
        padding: 20px 18px !important;
    }
}

html[data-theme="dark"] body.premium-page .premium-hero h1,
html[data-theme="dark"] body.premium-page .premium-plan-card h3,
html[data-theme="dark"] body.premium-page .premium-plan-price strong,
html[data-theme="dark"] body.premium-page .premium-library-callout h2,
html[data-theme="dark"] body.premium-page .premium-faq-intro h2,
html[data-theme="dark"] body.premium-page .premium-faq-list summary {
    color: #ECE8E1 !important;
}
html[data-theme="dark"] body.premium-page .premium-billing-toggle {
    background: #23262B !important;
    border-color: #3A3F47 !important;
}
html[data-theme="dark"] body.premium-page .premium-toggle-pill {
    color: #A09B94 !important;
}
html[data-theme="dark"] body.premium-page .premium-toggle-pill.is-active {
    background: #2C3037 !important;
    color: #ECE8E1 !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-card,
html[data-theme="dark"] body.premium-page .premium-library-callout {
    background: #23262B !important;
    border-color: #3A3F47 !important;
    box-shadow: none !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-card.is-featured {
    background: #2C3037 !important;
    border-color: #C9D4EC !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-card li,
html[data-theme="dark"] body.premium-page .premium-single-features li,
html[data-theme="dark"] body.premium-page .premium-plan-tagline,
html[data-theme="dark"] body.premium-page .premium-faq-list p {
    color: #ECE8E1 !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-card li::before,
html[data-theme="dark"] body.premium-page .premium-single-features li::before {
    color: #C9D4EC !important;
}


/* =========================================================================
   5. Dark Mode Parity for Premium Plans & Single Book Unlock (`premium.php`)
   ========================================================================= */
html[data-theme="dark"] body.premium-page .premium-hero-copy h1,
html[data-theme="dark"] body.premium-page .premium-plan-head h2,
html[data-theme="dark"] body.premium-page .premium-plan-price strong,
html[data-theme="dark"] body.premium-page .premium-plan-features li,
html[data-theme="dark"] body.premium-page .premium-plan-features li::before,
html[data-theme="dark"] body.premium-page .premium-library-callout h2,
html[data-theme="dark"] body.premium-page .premium-single-features li,
html[data-theme="dark"] body.premium-page .premium-single-features li::before,
html[data-theme="dark"] body.premium-page .premium-faq-intro h2,
html[data-theme="dark"] body.premium-page .premium-faq-item summary {
    color: #ECE8E1 !important;
}
html[data-theme="dark"] body.premium-page .premium-hero-copy > p,
html[data-theme="dark"] body.premium-page .premium-plan-head > p,
html[data-theme="dark"] body.premium-page .premium-plan-price span,
html[data-theme="dark"] body.premium-page .premium-library-callout p,
html[data-theme="dark"] body.premium-page .premium-faq-intro p,
html[data-theme="dark"] body.premium-page .premium-faq-item p,
html[data-theme="dark"] body.premium-page .premium-policy-links span {
    color: #A09B94 !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-card,
html[data-theme="dark"] body.premium-page .premium-library-callout,
html[data-theme="dark"] body.premium-page .premium-faq-item {
    background: #2C3037 !important;
    border-color: #3A3F47 !important;
    color: #ECE8E1 !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-card.is-featured {
    border-color: #8FA4F2 !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-badge,
html[data-theme="dark"] body.premium-page .premium-single-badge {
    background: #343A44 !important;
    border-color: #3A3F47 !important;
    color: #ECE8E1 !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-card.is-featured .premium-plan-badge {
    background: #C9D4EC !important;
    border-color: #C9D4EC !important;
    color: #23262B !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-cta,
html[data-theme="dark"] body.premium-page .premium-library-callout a.premium-primary-btn {
    background: #8FA4F2 !important;
    border-color: #8FA4F2 !important;
    color: #14193A !important;
}
html[data-theme="dark"] body.premium-page .premium-plan-disabled {
    background: #343A44 !important;
    border-color: #3A3F47 !important;
    color: #A09B94 !important;
}
html[data-theme="dark"] body.premium-page .premium-policy-links a {
    color: #93B6EE !important;
}

