/* Shared exam product catalog: books and calculations. */
.catalog-wrap{width:min(1120px,calc(100% - 40px));margin:40px auto 64px;color:#172b45}.catalog-breadcrumb{display:flex !important;flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;color:#64748b;margin-bottom:24px}.catalog-breadcrumb > *{display:inline-block !important}.catalog-breadcrumb .catalog-separator{color:#94a3b8;padding:0 3px}.catalog-wrap a{color:#0f2947;text-decoration:none}.catalog-wrap a:hover{text-decoration:underline}.catalog-lead{color:#536477;line-height:1.8}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:30px}.catalog-grid.plans{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-card{display:flex;flex-direction:column;padding:24px;background:var(--product-tint,#fff);border:1px solid #dfe7ef;border-top:3px solid var(--product-accent,#2563eb);border-radius:12px;box-shadow:0 5px 18px rgba(20,46,80,.04)}.catalog-card h2{font-size:20px;line-height:1.4;margin:0 0 14px}.catalog-summary{font-size:14px;line-height:1.8;color:#536477}.catalog-price{font-size:30px;font-weight:600;margin:16px 0;color:#142e50}.catalog-meta{font-size:13px;color:#64748b}.catalog-buy{margin-top:auto;padding-top:18px}.catalog-button{width:100%;padding:12px 16px;border:0;border-radius:8px;background:#800000;color:#fff;font:inherit;font-weight:600;cursor:pointer}.catalog-button:hover{background:#650000}.catalog-button:disabled{background:#e2e8f0;color:#64748b;cursor:default}.catalog-wrap a.catalog-details{display:block;margin-top:14px;padding:11px 14px;border:1px solid #f59e0b;border-radius:8px;background:#fef3c7;color:#78350f;text-align:center;font-size:14px;font-weight:600}.catalog-wrap a.catalog-details:hover{background:#fde68a;text-decoration:none}.catalog-alert{padding:14px 18px;background:#edf9f5;border-radius:8px;margin:20px 0}.catalog-count{display:inline-block;padding:8px 14px;background:#edf4ff;color:#1d4ed8;border-radius:8px;font-weight:600}.catalog-wrap a:focus-visible,.catalog-button:focus-visible{outline:2px solid #2563eb;outline-offset:4px}@media(max-width:950px){.catalog-grid.plans{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.catalog-grid,.catalog-grid.plans{grid-template-columns:1fr}.catalog-wrap{width:calc(100% - 32px)}}
.catalog-image{display:block;width:150px;height:190px;object-fit:contain;margin:0 auto 20px;background:#fff;border-radius:8px;padding:8px}

        strong, b { font-weight: 600; }
        h1, h2, h3, h4, button { font-weight: 600; }

.catalog-image{background:linear-gradient(145deg,#edf4ff,#e2e8f0);border:1px solid #cbd5e1;border-radius:12px;padding:12px;box-shadow:0 6px 16px rgba(23,43,69,.10)}

.catalog-product-heading{display:flex;align-items:center;gap:24px;margin-bottom:18px}
.catalog-product-heading h2{flex:1;min-width:0;margin:0;font-weight:600}
.catalog-product-heading .catalog-image{flex:0 0 300px;width:300px;height:auto;max-height:330px;object-fit:contain;margin:0;padding:10px;box-sizing:border-box}
.catalog-grid:not(.plans){grid-template-columns:1fr}
.catalog-grid.plans .catalog-product-heading{flex-direction:column;align-items:stretch}
.catalog-grid.plans .catalog-image{flex:none;width:100%;max-width:300px;align-self:center}
@media(max-width:650px){.catalog-product-heading{flex-direction:column;align-items:flex-start;gap:18px}.catalog-product-heading .catalog-image{flex:none;width:min(300px,100%);align-self:center}}


.catalog-grid.books{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.catalog-grid.books .catalog-card{padding:20px}
.catalog-grid.books .catalog-product-heading{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:12px}
.catalog-grid.books .catalog-product-heading .catalog-image{flex:none;width:100%;max-width:300px;height:240px;max-height:none;align-self:center;margin:0;padding:10px}
.catalog-grid.books .catalog-product-heading h2{font-size:18px;line-height:1.5}
.catalog-price-label{display:none}
.catalog-section-title{margin:36px 0 0;font-size:24px;font-weight:600;color:#0f2947}
.catalog-grid.books.combo-cards .catalog-summary,.catalog-grid.books.combo-cards .catalog-meta{display:none}
.catalog-grid.books.combo-cards .catalog-product-heading{margin-bottom:0}
.catalog-grid.books.combo-cards .catalog-price{font-size:26px;margin:12px 0}
.catalog-grid.books.combo-cards .catalog-buy{padding-top:4px}
.catalog-grid.books.combo-cards .catalog-details{margin-top:10px}
@media(max-width:950px){.catalog-grid.books{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.catalog-grid.books{grid-template-columns:1fr}}

.catalog-section-links{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 12px}
.catalog-wrap a.catalog-section-link{display:inline-flex;align-items:center;padding:12px 20px;border:1px solid #cbd5e1;border-radius:9px;background:#edf4ff;color:#0f2947;font-weight:600;text-decoration:none}
.catalog-wrap a.catalog-section-link.bundles{border-color:#f59e0b;background:#fef3c7;color:#78350f}
.catalog-wrap a.catalog-section-link:hover{box-shadow:0 3px 10px rgba(15,41,71,.12);text-decoration:underline}
.catalog-jump-note{font-size:14px;color:#536477;margin:0 0 20px}
.catalog-section-title{scroll-margin-top:24px}

.catalog-image-link{display:block;flex:0 0 300px;width:300px;max-width:100%;align-self:center;cursor:pointer;border-radius:12px}
.catalog-image-link .catalog-image{width:100%;max-width:300px;transition:box-shadow .15s ease,transform .15s ease}
.catalog-image-link:hover .catalog-image{box-shadow:0 8px 22px rgba(15,41,71,.18);transform:translateY(-2px)}
.catalog-grid.books .catalog-image-link,.catalog-grid.plans .catalog-image-link{flex:none;width:100%;max-width:300px}
@media(max-width:650px){.catalog-image-link{flex:none;width:min(300px,100%)}}
@media(prefers-reduced-motion:reduce){.catalog-image-link .catalog-image{transition:none}.catalog-image-link:hover .catalog-image{transform:none}}

.catalog-wrap a.catalog-section-link:not(.bundles){background:#f0fdf4;color:#166534;border:1px solid #86efac;border-left:4px solid #15803d}
.catalog-wrap a.catalog-section-link:not(.bundles):hover{background:#dcfce7}


/* QBank duration pricing plans. */
.qbank-plan{overflow:hidden;border:1px solid #dfe7ef;border-top:4px solid var(--plan-accent);border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(15,41,71,.06);display:flex;flex-direction:column}
.qbank-plan-top{padding:24px 20px;background:var(--plan-tint);border-bottom:1px solid #e2e8f0}
.qbank-plan-eyebrow{font-size:12px;font-weight:600;color:var(--plan-accent);letter-spacing:.06em}
.qbank-plan-top h2{margin:10px 0 4px;font-size:28px;line-height:1.25;color:#0f2947;font-weight:600}
.qbank-plan-top p{margin:0;font-size:14px;color:#536477}
.qbank-plan-body{padding:24px 20px;display:flex;flex-direction:column;flex:1}
.qbank-plan-price{font-size:36px;font-weight:600;color:#0f2947;line-height:1.2}
.qbank-plan-payment{font-size:12px;color:#64748b;margin:8px 0 20px}
.qbank-plan-features{list-style:none;margin:0 0 26px;padding:0;flex:1}
.qbank-plan-features li{position:relative;padding-left:22px;margin:12px 0;color:#40536a;font-size:14px;line-height:1.5}
.qbank-plan-features li::before{content:'✓';position:absolute;left:0;color:var(--plan-accent);font-weight:600}
.qbank-plan-admin{text-align:center}

/* Approved shared catalog design B — Warm Editorial.
   Scoped to catalog cards; QBank plan components keep their own styling. */
.catalog-wrap h1,.catalog-wrap h2,.catalog-wrap h3,.catalog-wrap strong,.catalog-wrap b{font-weight:600}
.catalog-wrap h1{font-size:clamp(27px,3.3vw,36px);line-height:1.25;letter-spacing:-.02em;margin-bottom:12px}
.catalog-lead{font-size:15px;line-height:1.7;max-width:820px;margin-top:0}
.catalog-grid:not(.plans),.catalog-grid.books{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:22px;align-items:stretch}
.catalog-grid .catalog-card,.catalog-grid.books .catalog-card{padding:16px;background:#fffdf8;border:1px solid #eee5d7;border-top:2px solid #d97706;border-radius:11px;box-shadow:0 3px 12px rgba(23,43,69,.035);min-width:0}
.catalog-grid .catalog-product-heading,.catalog-grid.books .catalog-product-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:8px}
.catalog-grid .catalog-image-link,.catalog-grid.books .catalog-image-link{display:block;flex:none;width:100%;max-width:300px;align-self:center;border-radius:8px}
.catalog-grid .catalog-product-heading .catalog-image,.catalog-grid.books .catalog-product-heading .catalog-image,.catalog-grid .catalog-image{flex:none;display:block;width:100%;max-width:300px;height:190px;max-height:190px;align-self:center;object-fit:contain;margin:0 auto;padding:10px;background:#f6f4ee;border:1px solid #eee9df;border-radius:8px;box-shadow:none;box-sizing:border-box}
.catalog-grid .catalog-card h2,.catalog-grid.books .catalog-product-heading h2{font-size:17px;line-height:1.45;font-weight:600;margin:0;min-height:74px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.catalog-wrap .catalog-card h2 a{color:#172b45}
.catalog-summary{font-size:13px;line-height:1.65;color:#536477;margin:4px 0 10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.catalog-meta{font-size:12px;line-height:1.5;color:#64748b;margin:0 0 12px}
.catalog-grid .catalog-price{font-size:25px;line-height:1.2;font-weight:600;color:#172b45;margin: auto 0 12px;padding-top:8px}
.catalog-grid .catalog-buy{margin-top:0;padding-top:0}
.catalog-button{min-height:43px;padding:10px 14px;font-size:14px;font-weight:600;border-radius:7px;background:#800000}
.catalog-wrap a.catalog-details{margin-top:8px;padding:10px 12px;min-height:40px;box-sizing:border-box;border:1px solid #f59e0b;border-radius:7px;background:#fff5dd;color:#78350f;font-size:13px;font-weight:600}
.catalog-wrap a.catalog-details:hover{background:#fef3c7}
.catalog-section-title{margin:30px 0 0;padding-top:18px;border-top:1px solid #e2e8f0;color:#172b45;font-size:23px;line-height:1.35;font-weight:600}
.catalog-section-links{gap:10px;margin:20px 0 10px}
.catalog-wrap a.catalog-section-link{font-size:14px;padding:10px 16px;border-radius:7px;box-shadow:none}
.catalog-wrap a.catalog-section-link.bundles{background:#fff5dd;border-color:#f59e0b;color:#78350f}
.catalog-wrap a.catalog-section-link:not(.bundles){background:#f0fdf4;border:1px solid #86efac;border-left:3px solid #15803d;color:#166534}
.catalog-grid.books.combo-cards .catalog-card{padding:16px;background:#fffdf8}
.catalog-grid.books.combo-cards .catalog-product-heading{gap:0;margin-bottom:4px}
.catalog-grid.books.combo-cards .catalog-product-heading h2{min-height:0;font-size:17px;line-height:1.4}
.catalog-grid.books.combo-cards .catalog-price{font-size:24px;margin: auto 0 10px;padding-top:10px}
.catalog-grid.books.combo-cards .catalog-buy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:stretch;padding-top:0}
.catalog-grid.books.combo-cards .catalog-buy form{margin:0}
.catalog-grid.books.combo-cards .catalog-button{height:100%;padding:9px 8px;font-size:13px}
.catalog-grid.books.combo-cards .catalog-details{display:flex;align-items:center;justify-content:center;margin:0;padding:9px 8px;font-size:12px}
.catalog-grid.books.combo-cards .catalog-buy > :not(form):not(.catalog-details){grid-column:1/-1}
.catalog-wrap a:focus-visible,.catalog-button:focus-visible{outline:2px solid #d97706;outline-offset:4px}
.catalog-image-link:hover .catalog-image{box-shadow:0 4px 12px rgba(23,43,69,.09);transform:translateY(-2px)}
@media(max-width:950px){.catalog-grid:not(.plans),.catalog-grid.books{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.catalog-grid:not(.plans),.catalog-grid.books{grid-template-columns:1fr;gap:16px}.catalog-grid .catalog-card h2,.catalog-grid.books .catalog-product-heading h2{min-height:0}.catalog-grid .catalog-image,.catalog-grid.books .catalog-product-heading .catalog-image{height:210px;max-height:210px}.catalog-grid .catalog-price{margin-top:0}.catalog-section-title{font-size:22px}}
@media(prefers-reduced-motion:reduce){.catalog-image-link .catalog-image{transition:none}.catalog-image-link:hover .catalog-image{transform:none}}

/* Tighter image-to-title spacing without changing card structure. */
.catalog-grid .catalog-product-heading,.catalog-grid.books .catalog-product-heading{gap:8px;margin-bottom:4px}
.catalog-grid .catalog-card h2,.catalog-grid.books .catalog-product-heading h2{min-height:0}

/* Approved pink and maroon catalog accents. */
.catalog-grid .catalog-card,.catalog-grid.books .catalog-card,.catalog-grid.books.combo-cards .catalog-card{background:#fff9f8;border-color:#ead5d2;border-top:3px solid #800000}
.catalog-wrap a.catalog-details{background:#fff9f8;border-color:#cda9a5;color:#800000}
.catalog-wrap a.catalog-details:hover{background:#f9eae8}
.catalog-wrap a.catalog-section-link.bundles{background:#fff9f8;border-color:#cda9a5;color:#800000}
.catalog-wrap a:focus-visible,.catalog-button:focus-visible{outline-color:#800000}

/* Push each price panel and its buttons to the same row baseline. */
.catalog-grid .catalog-card > .catalog-price-panel{margin-top:auto;padding-top:8px}
.catalog-grid .catalog-card > .catalog-price-panel .catalog-price{margin:0 0 12px;padding-top:0}
.catalog-grid.books.combo-cards .catalog-card > .catalog-price-panel .catalog-price{margin:0 0 10px;padding-top:0}

/* Match the catalog image background to the approved light pink. */
.catalog-grid .catalog-product-heading .catalog-image,.catalog-grid.books .catalog-product-heading .catalog-image,.catalog-grid .catalog-image{background:#fff9f8;border-color:#ead5d2}

/* Borderless catalog image display. */
.catalog-grid .catalog-product-heading .catalog-image,.catalog-grid.books .catalog-product-heading .catalog-image,.catalog-grid .catalog-image{border:0}

/* Center product card prices */
.catalog-card .catalog-price-panel { width: 100%; box-sizing: border-box; text-align: center !important; align-items: center !important; justify-content: center !important; }
.catalog-card .catalog-price { width: 100%; box-sizing: border-box; text-align: center !important; }