/* Marrow-inspired palette: deep teal actions, cyan tints and slate-blue links.
   Preserve the existing font and component hooks while simplifying hierarchy. */
:root {
  --primary: #283b44;
  --text-main: #283b44;
  --text-muted: #5b6870;
  --text-light: #606f78;
  --accent: #1d7386;
  --accent-dark: #175e6e;
  --accent-light: #edf9fc;
  --brand-blue: #4a69a2;
  --brand-blue-light: #eef2fa;
  --cyan: #62c8df;
  --bg-main: #fff;
  --border-subtle: #dce7ec;
}
html { background: #fff; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #1d7386; outline-offset: 4px; }
[hidden] { display: none !important; }
section[id], div[id="verified-deals"] { scroll-margin-top: 95px; }
.container { max-width: 1120px; }
h1, h2, h3, h4 { font-weight: 700; }
.site-header { background: #fff; backdrop-filter: none; }
.nav-wrap { height: 76px; }
.brand-logo { font-size: 1.2rem; letter-spacing: -.6px; }
.brand-logo .logo-icon { background: #edf9fc; color: #1d7386; border-radius: 9px; width: 36px; height: 36px; box-shadow: none; }
.brand-logo > span > span { color: #1d7386; }
.header-links { gap: 28px; }
.header-links a { display: flex; align-items: center; min-height: 44px; font-size: .88rem; }
.page-home .header-search { display: none; }
.header-search { max-width: 360px; }
.hero-section { background: #eef8fb; padding: 60px 0 54px; border-bottom: 1px solid #dceef3; }
.hero-section::before, .hero-section::after, .store-hero-premium::before { content: none; }
.hero-content-wrap { max-width: 800px; margin: 0 auto; text-align: center; }
.hero-title { color: var(--primary); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.12; letter-spacing: -1.8px; margin: 0 0 18px; }
.hero-subtitle { color: var(--text-muted); font-size: 1rem; line-height: 1.7; max-width: 540px; margin: 0 auto 28px; }
.hero-search-box { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #bfdbe3; border-radius: 10px; padding: 7px 8px 7px 18px; max-width: 610px; margin: 0 auto; box-shadow: 0 3px 8px #1d738610; }
.hero-search-box .search-icon { position: static; transform: none; color: #5b6870; flex: 0 0 20px; }
.hero-search-input { flex: 1; min-width: 0; width: auto; padding: 8px 0; color: var(--text-main); font-size: .95rem; background: transparent; }
.hero-search-input::placeholder { color: #606f78; }
.hero-search-btn { border-radius: 7px; background: var(--accent); color: #fff; min-height: 46px; padding: 10px 20px; flex-shrink: 0; font-size: .9rem; box-shadow: none; }
.hero-search-btn:hover { background: var(--accent-dark); transform: none; }
.coupons-section { padding: 44px 0 32px; background: #fff; }
.section-header, .deals-header-bar { display: flex; flex-direction: column; align-items: stretch; gap: 22px; margin-bottom: 22px; }
.section-title-wrap h2, .deals-header-bar h2 { font-size: 1.5rem; letter-spacing: -.5px; }
.section-subtitle, .deals-header-meta { font-size: .85rem; line-height: 1.6; margin-top: 7px; }
.deals-filter-pills { gap: 8px; flex-wrap: wrap; }
.deal-pill { min-height: 44px; border-radius: 7px; padding: 10px 15px; font-weight: 600; font-size: .8rem; background: #fff; color: #465e6c; }
.deal-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.deal-pill:hover:not(.active) { background: #edf9fc; border-color: #a4ceda; color: #175e6e; }
.premium-deals-list { gap: 0; margin-bottom: 0; border-top: 1px solid var(--border-subtle); }
.deal-card-premium, .deal-card-premium.spotlight-card { border: 0; border-bottom: 1px solid var(--border-subtle); border-radius: 0; background: #fff; box-shadow: none; }
.deal-card-premium:hover { transform: none; box-shadow: none; border-color: var(--border-subtle); background: #fbfdfe; }
.deal-card-body { display: grid; grid-template-columns: minmax(0,1fr) 148px; gap: 32px; padding: 26px 0; align-items: center; }
.deal-info-block { display: flex; flex-direction: column; align-items: flex-start; }
.deal-tags-row { gap: 12px; margin: 0 0 8px; }
.tag-exam { background: #e9f6fa; color: #1d7386; border-radius: 4px; font-size: .75rem; padding: 3px 7px; font-weight: 600; }
.tag-highlight { background: transparent; color: var(--text-muted); border-radius: 0; padding: 0; font-size: .75rem; font-weight: 500; }
.deal-title { font-size: 1.05rem; font-weight: 650; line-height: 1.5; margin: 0 0 12px; max-width: 70ch; }
.deal-pricing-strip { gap: 12px; margin-bottom: 0; }
.price-discounted { order: -1; color: var(--text-main); font-size: 1.25rem; font-weight: 700; }
.price-mrp { font-size: .85rem; }
.price-savings-badge { background: transparent; font-size: .8rem; padding: 0; font-weight: 500; color: var(--accent-dark); }
.course-details { order: 5; font-size: .8rem; color: var(--text-muted); margin-top: 5px; max-width: 70ch; }
.course-details summary { min-height: 44px; align-content: center; text-decoration: underline; text-underline-offset: 3px; }
.course-details[open] summary { color: var(--accent-dark); }
.course-details .deal-description { margin: 0 0 8px; font-size: .9rem; line-height: 1.7; }
.deal-duration-badges { order: 6; border: 0; margin-top: 6px; }
.deal-action-column { width: auto; min-width: 0; }
.btn-claim-deal { width: 100%; background: var(--accent); color: #fff; border: 0; border-radius: 7px; padding: 12px 16px; min-height: 56px; box-shadow: none; }
.btn-claim-deal:hover { background: var(--accent-dark); transform: none; box-shadow: none; }
.btn-claim-deal .btn-text { flex-direction: row; align-items: center; justify-content: center; gap: 8px; }
.btn-claim-deal .btn-text strong { font-size: .85rem; letter-spacing: 0; }
.btn-claim-deal .btn-text small { font-size: .75rem; color: #fff; border-left: 1px solid #ffffff60; padding-left: 8px; }
.offer-list-footer { text-align: center; padding: 22px 0; }
.offer-list-footer p { font-size: .8rem; color: var(--text-muted); margin-bottom: 14px; }
.show-offers-btn { background: #fff; color: var(--accent-dark); border: 1px solid #9fc5d1; border-radius: 7px; min-height: 44px; padding: 10px 24px; font-weight: 600; }
.empty-offers { padding: 32px 16px; text-align: center; color: var(--text-muted); }
.stores-section { background: #f5f9fc; padding: 36px 0; }
.flagship-store-banner { padding: 24px; background: #fff; border: 1px solid var(--border-subtle); border-radius: 10px; box-shadow: none; gap: 24px; margin-top: 0; }
.flagship-store-banner::before { content: none; }
.flagship-avatar-box { border: 0; background: transparent; box-shadow: none; }
.flagship-info h3 { font-size: 1.05rem; }
.flagship-info p { font-size: .85rem; line-height: 1.6; max-width: 60ch; }
.btn-flagship-explore { background: #edf9fc; color: var(--accent-dark); box-shadow: none; border: 1px solid #c5e2eb; border-radius: 7px; padding: 12px 18px; font-size: .85rem; }
.btn-flagship-explore:hover,
.btn-flagship-explore:focus-visible,
.btn-flagship-explore:active {
  background: #1d7386;
  color: #fff;
  border-color: #1d7386;
  transform: none;
  box-shadow: none;
}
.btn-flagship-explore:focus-visible { outline: 2px solid #1d7386; outline-offset: 3px; }
.secondary-disclosure { max-width: 1080px; width: calc(100% - 40px); margin: 28px auto; border-bottom: 1px solid var(--border-subtle); }
.secondary-disclosure > summary { font-size: 1rem; font-weight: 600; padding: 20px 0; color: var(--primary); }
.secondary-disclosure .flyers-carousel-section { border: 0 !important; padding: 20px 0 !important; }
.trust-section, .categories-section { padding: 36px 0; background: #fff; }
.trust-card, .category-card { box-shadow: none; background: #fff; }
.trust-icon { display: none; }
.trust-section .tag-verified { display: none; }
.page-store .store-hero-premium { background: #eef8fb; padding: 36px 0; border-bottom: 1px solid #dceef3; }
.store-hero-inner { gap: 36px; }
.store-hero-headings h1 { color: var(--primary); font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.3; letter-spacing: -.6px; }
.store-hero-lead { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.store-hero-avatar { background: #fff; border: 1px solid var(--border-subtle); box-shadow: none; border-radius: 9px; }
.hero-tag.verified { background: transparent; color: #175e6e; padding: 0; font-size: .75rem; }
.hero-voucher-card { background: #fff; border: 1px solid #c5e2eb; border-radius: 10px; padding: 20px; min-width: 255px; box-shadow: none; }
.voucher-top-tag { color: var(--text-muted); background: transparent; text-transform: none; letter-spacing: 0; font-size: .85rem; }
.voucher-code-box { width: 100%; display: block; background: #edf9fc; border: 1px dashed #82bdcd; color: var(--primary); }
.voucher-code-text { color: var(--primary); }
.voucher-copy-action { color: var(--accent-dark); }
.voucher-subtext { color: var(--text-muted); }
.store-layout-grid { display: block; padding-top: 36px; }
.page-store .secondary-disclosure { width: 100%; }
.deal-card-premium.deal-extra-hidden { display: block; }
.deals-toggle-wrap { display: none !important; }
.pricing-matrix-section { box-shadow: none; margin-top: 40px; }
.matrix-tabs-nav { flex-wrap: wrap; }
.matrix-tab-btn { min-height: 44px; }
@media (max-width: 760px) {
 .nav-wrap { height: auto; min-height: 68px; flex-wrap: wrap; gap: 8px 18px; padding: 12px 0; }
 .brand-logo { font-size: 1.04rem; }
 .header-links { display: flex; gap: 16px; }
 .header-links a { font-size: .8rem; }
 .page-store .header-search { order: 3; width: 100%; max-width: none; display: block; }
 .hero-section { padding: 38px 0; }
 .hero-title { letter-spacing: -1px; }
 .hero-subtitle { font-size: .9rem; }
 .hero-search-box { gap: 8px; padding-left: 12px; }
 .hero-search-input { font-size: 16px; }
 .hero-search-btn { font-size: .8rem; padding: 10px 12px; }
 .hero-search-box .search-icon { display: none; }
 .coupons-section { padding-top: 30px; }
 .deal-card-body { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 0; }
 .deal-title { font-size: 1rem; }
 .deal-action-column { width: 100%; }
 .btn-claim-deal { min-height: 46px; }
 .deal-tags-row { align-items: flex-start; }
 .section-title-wrap h2, .deals-header-bar h2 { font-size: 1.25rem; }
 .store-hero-inner, .store-hero-brand-wrap { flex-direction: column; align-items: flex-start; text-align: left; }
 .store-hero-badges-row { justify-content: flex-start; }
 .store-hero-avatar { width: 120px; height: 64px; }
 .hero-voucher-card { width: 100%; min-width: 0; }
 .flagship-store-banner { flex-direction: column; align-items: flex-start; text-align: left; }
 .flagship-action { width: 100%; }
 .flagship-info h3 { justify-content: flex-start; }
}
@media (max-width: 400px) {
 .header-links { gap: 10px; }
 .brand-logo { font-size: .93rem; gap: 6px; }
 .brand-logo .logo-icon { width: 29px; height: 29px; }
 .hero-search-btn { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Voucher is a real button, so reset the shared deal-button dimensions. */
.voucher-code-box.btn-get-deal { height: auto; min-height: 60px; box-shadow: none; }
.voucher-code-box.btn-get-deal:hover { background: #dff2f8; transform: none; box-shadow: none; }
.voucher-copy-action { background: transparent; padding: 0; letter-spacing: 0; }
.plan-comparison .pricing-matrix-section { margin-top: 12px; }

.hero-section { padding: 42px 0 38px; }
.deal-card-body { padding-top: 22px; padding-bottom: 22px; }
@media (max-width: 760px) {
 .nav-wrap { flex-direction: row; justify-content: space-between; }
 .header-links { width: auto; margin: 0; }
 .store-hero-inner { display: flex; }
 .store-hero-brand-wrap { align-items: flex-start; text-align: left; }
 .store-hero-headings { text-align: left; }
 .store-hero-avatar { margin: 0; }
 .store-hero-badges-row { justify-content: flex-start; }
 .hero-section { padding: 32px 0; }
}

/* Cyan supplies emphasis; deep teal keeps white button labels readable. */
.brand-logo .logo-icon { background: #dff4f9; border: 1px solid #b2e4ef; }
.header-links a:hover, .course-details summary:hover { color: #4a69a2; }
.hero-search-box:focus-within { border-color: #1d7386; box-shadow: 0 0 0 3px #62c8df35; }
.header-search .search-input:focus { border-color: #1d7386; }
.matrix-tab-btn.active { background: #1d7386; border-color: #1d7386; color: #fff; }
.matrix-tab-btn:hover:not(.active) { background: #edf9fc; color: #1d7386; }
.price-val { color: #1d7386; }

/* PrepLadder store theme. Colours sampled from its Medical PG page.
   Scoped to store content: shared navigation and other stores retain site colours. */
body[data-store="prepladder"] :is(.store-hero-premium, .store-layout-grid) {
  --primary: #303153;
  --text-main: #303153;
  --accent: #1f2294;
  --accent-dark: #181b77;
  --accent-light: #eef0fc;
  --brand-blue: #1f2294;
  --brand-blue-light: #daf2ff;
}
body[data-store="prepladder"] .store-hero-premium {
  background: linear-gradient(115deg, #eef0fc, #f6fdff);
  border-bottom-color: #dbe5f6;
  border-top: 3px solid #1f2294;
}
body[data-store="prepladder"] .hero-voucher-card { border-color: #d4daf0; }
body[data-store="prepladder"] .voucher-code-box.btn-get-deal { background: #eef0fc; border-color: #969ed3; }
body[data-store="prepladder"] .voucher-code-box.btn-get-deal:hover { background: #e3e7fc; }
body[data-store="prepladder"] :is(.voucher-copy-action, .hero-tag.verified, .price-val) { color: #1f2294; }
body[data-store="prepladder"] .tag-exam { background: #daf2ff; color: #303153; }
body[data-store="prepladder"] .deal-pill.active { background: #1f2294; border-color: #1f2294; }
body[data-store="prepladder"] .deal-pill:hover:not(.active) { background: #eef0fc; border-color: #b7bee8; color: #1f2294; }
body[data-store="prepladder"] .show-offers-btn { color: #1f2294; border-color: #b7bee8; }
body[data-store="prepladder"] .matrix-tab-btn.active { background: #1f2294; border-color: #1f2294; }
body[data-store="prepladder"] .matrix-tab-btn:hover:not(.active) { background: #eef0fc; color: #1f2294; }
body[data-store="prepladder"] .course-details summary:hover { color: #1f2294; }
body[data-store="prepladder"] :is(.store-hero-premium, .store-layout-grid) :focus-visible { outline-color: #1f2294; }
body[data-store="prepladder"] .store-hero-avatar { border-bottom: 3px solid #0bcaf5; }

/* Store audit, September 2026: clearer offer hierarchy and purposeful motion. */
.skip-content { position: fixed; top: 10px; left: 16px; transform: translateY(-160%); z-index: 1000; background: #fff; color: #1f2294; padding: 12px 20px; border: 2px solid #1f2294; border-radius: 6px; }
.skip-content:focus { transform: none; }
.page-store .store-hero-headings h1 { font-size: clamp(1.55rem, 3vw, 2.2rem); text-wrap: balance; }
.page-store .hero-tag.verified { font-weight: 500; }
.page-store .store-hero-lead { max-width: 62ch; }
.page-store .hero-voucher-card { border-radius: 14px; border-top: 3px solid #1f2294; }
.store-section-nav { background: #fff; border-bottom: 1px solid #dce7ec; }
.store-section-nav .container { display: flex; gap: 30px; }
.store-section-nav a { display: flex; align-items: center; min-height: 52px; color: #596277; font-size: .85rem; font-weight: 600; border-bottom: 2px solid transparent; }
.store-section-nav a:hover, .store-section-nav a:focus-visible { color: #1f2294; border-bottom-color: #1f2294; }
.page-store .store-layout-grid { padding-top: 28px; }
.page-store .deals-header-bar { gap: 16px; margin-bottom: 20px; }
.page-store .premium-deals-list { border: none; gap: 12px; }
.page-store .deal-card-premium { border: 1px solid #e0e4ee; border-radius: 12px; background: #fff; }
.page-store .deal-card-body { padding: 22px 24px; grid-template-columns: minmax(0,1fr) 172px; gap: 24px; }
.page-store .deal-title { font-size: 1.025rem; }
.page-store .deal-action-column { border-left: 1px dashed #d5dbec; padding-left: 22px; }
.page-store .btn-claim-deal { height: auto; min-height: 48px; padding: 12px 10px; }
.page-store .btn-claim-deal .btn-text strong { white-space: nowrap; }
.deal-action-note { display: block; text-align: center; font-size: .7rem; color: #656b80; margin-top: 9px; }
.page-store .price-discounted, .pricing-matrix-section td { font-variant-numeric: tabular-nums; }
.page-store .course-details summary { text-decoration: none; font-weight: 500; }
.page-store .course-details summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-store .secondary-disclosure > summary { display: list-item; padding: 22px 20px; background: #f6f7fc; border: 1px solid #e0e4ee; border-radius: 10px; }
.page-store .secondary-disclosure { border: none; }
.page-store .secondary-disclosure[open] > summary { margin-bottom: 16px; }
.page-store .faq-modern-card, .page-store .how-to-apply-card { border: 1px solid #e0e4ee; box-shadow: none; }
.modal-overlay, .lightbox-overlay { overscroll-behavior: contain; }
.modal-content { max-height: calc(100dvh - 40px); overflow-y: auto; }
.page-store :is(button, summary, a) { touch-action: manipulation; }
.page-store :is(.btn-claim-deal,.voucher-code-box,.deal-pill,.show-offers-btn) { transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
 .page-store .btn-claim-deal:hover { transform: translateY(-2px); }
 .page-store .btn-claim-deal:active { transform: translateY(0) scale(.98); }
}
@media (prefers-reduced-motion: no-preference) {
 .page-store .hero-voucher-card { animation: voucher-arrive 380ms ease-out; }
 @keyframes voucher-arrive { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 760px) {
 .page-store .store-hero-premium { padding: 24px 0; }
 .page-store .store-hero-inner { gap: 22px; }
 .page-store .store-hero-brand-wrap { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 14px; align-items: start; }
 .page-store .store-hero-avatar { width: 68px; height: 60px; padding: 8px; }
 .page-store .store-hero-headings h1 { font-size: 1.4rem; line-height: 1.3; letter-spacing: -.5px; text-wrap: auto; }
 .page-store .store-hero-badges-row { margin-bottom: 8px; }
 .page-store .store-hero-lead { font-size: .82rem; line-height: 1.6; margin-top: 10px; }
 .page-store .hero-voucher-card { padding: 14px 18px; }
 .page-store .voucher-top-tag { font-size: .75rem; margin-bottom: 6px; }
 .page-store .voucher-code-box.btn-get-deal { min-height: 48px; padding: 8px 12px; margin-bottom: 8px; }
 .store-section-nav .container { gap: 0; justify-content: space-between; }
 .store-section-nav a { font-size: .76rem; min-height: 48px; }
 .page-store .deal-card-body { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
 .page-store .deal-action-column { border: 0; border-top: 1px solid #edf0f6; padding: 14px 0 0; }
 .page-store .deal-title { font-size: .95rem; }
 .page-store .deal-tags-row { gap: 8px; }
 .page-store .deal-action-note { margin-top: 6px; }
 .page-store .secondary-disclosure > summary { font-size: .92rem; padding: 18px 14px; }
}
