:root {
    --ink: #172238;
    --muted: #6d7890;
    --line: #e4e9f2;
    --surface: #ffffff;
    --soft: #f5f7fb;
    --accent: #f15a3b;
    --accent-dark: #c93d22;
    --navy: #0c1830;
    --green: #0c8b68;
    --amber: #b6750d;
    --shadow: 0 20px 60px rgba(25, 45, 86, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--soft); font: 15px/1.55 'DM Sans', sans-serif; }
h1, h2, h3, h4 { margin: 0; font-family: 'Manrope', sans-serif; letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
.public-body { background: linear-gradient(180deg, #fffdfb 0%, #f5f7fb 74%); }
.site-header { height: 78px; padding: 0 5.5vw; display: flex; align-items: center; gap: 38px; border-bottom: 1px solid rgba(228,233,242,.8); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 10px; color: #fff; background: var(--accent); font-family: 'Manrope', sans-serif; box-shadow: 0 9px 18px rgba(241,90,59,.25); }
.site-nav { display: flex; gap: 27px; color: var(--muted); margin-right: auto; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.button { border: 0; border-radius: 11px; padding: 13px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 700 14px 'DM Sans', sans-serif; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 9px 20px rgba(241,90,59,.20); }
.button-primary:hover { background: var(--accent-dark); }
.button-dark { background: var(--navy); color: #fff; }
.button-outline { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.button-small { padding: 9px 14px; font-size: 13px; }
.button-block { width: 100%; }
.hero { max-width: 1250px; margin: 0 auto; padding: 88px 5.5vw 64px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-block; color: var(--accent-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { font-size: clamp(42px, 5vw, 76px); line-height: 1.02; max-width: 680px; margin: 16px 0 20px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 575px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.trust-row { display: flex; gap: 24px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.trust-row strong { color: var(--ink); display: block; font-size: 17px; }
.hero-art { min-height: 390px; border-radius: 30px; position: relative; overflow: hidden; background: #132540; box-shadow: var(--shadow); }
.hero-art:before, .hero-art:after { content: ''; position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-art:before { width: 330px; height: 330px; background: #f15a3b; opacity: .95; right: -80px; top: -80px; }
.hero-art:after { width: 210px; height: 210px; background: #edc34d; left: -50px; bottom: -62px; opacity: .9; }
.art-card { position: absolute; left: 42px; right: 42px; top: 54px; bottom: 45px; padding: 25px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.1); backdrop-filter: blur(11px); color: #fff; z-index: 1; }
.art-card small { color: #b9c5d8; text-transform: uppercase; letter-spacing: .12em; }
.art-card h3 { font-size: 29px; margin: 42px 0 28px; max-width: 260px; }
.art-card .art-line { height: 1px; background: rgba(255,255,255,.2); margin: 15px 0; }
.art-card .art-foot { display: flex; justify-content: space-between; color: #cbd7e7; font-size: 12px; }
.section { max-width: 1250px; padding: 68px 5.5vw; margin: 0 auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(27px, 3vw, 42px); }
.section-heading p { color: var(--muted); max-width: 470px; margin: 8px 0 0; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 8px 30px rgba(25,45,86,.04); display: flex; flex-direction: column; min-height: 330px; }
.plan-card.featured { border-color: #f2aa97; box-shadow: 0 15px 38px rgba(241,90,59,.12); transform: translateY(-8px); }
.plan-card .plan-tag { font-size: 11px; font-weight: 800; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .1em; min-height: 18px; }
.plan-card h3 { font-size: 25px; margin: 11px 0 7px; }
.plan-description { color: var(--muted); min-height: 50px; }
.price { font: 800 29px 'Manrope', sans-serif; margin: 17px 0; }
.price small { font: 400 13px 'DM Sans', sans-serif; color: var(--muted); }
.features { display: grid; gap: 8px; color: var(--muted); margin: 0 0 22px; padding: 0; list-style: none; }
.features li:before { content: '✓'; color: var(--green); font-weight: 800; margin-right: 8px; }
.plan-card .button { margin-top: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid var(--line); }
.step-number { color: var(--accent); font: 800 27px 'Manrope', sans-serif; }
.step h3 { margin: 16px 0 8px; font-size: 19px; }
.step p { color: var(--muted); margin: 0; }
.site-footer { padding: 28px 5.5vw; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
.form-page { max-width: 1050px; margin: 0 auto; padding: 58px 5.5vw 80px; }
.form-page h1 { font-size: clamp(32px,4vw,51px); margin: 12px 0; }
.form-page .lead { color: var(--muted); max-width: 620px; margin: 0 0 30px; }
.form-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 25px; box-shadow: 0 8px 30px rgba(25,45,86,.04); }
.card h2 { font-size: 20px; margin-bottom: 20px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
label { font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #d6deea; border-radius: 10px; padding: 13px 14px; font: inherit; color: var(--ink); background: #fbfcfe; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(241,90,59,.1); }
textarea { min-height: 94px; resize: vertical; }
.form-help { color: var(--muted); font-size: 12px; margin: 0; }
.selected-plan { background: var(--navy); color: #fff; border: 0; }
.selected-plan .eyebrow { color: #f9c2b6; }
.selected-plan p, .selected-plan small { color: #bac5d8; }
.selected-plan .price { color: #fff; }
.payment-note { margin: 18px 0; padding: 13px 14px; border-radius: 11px; background: #fff5e9; color: #915609; font-size: 13px; }
.alert { border-radius: 11px; padding: 13px 15px; margin-bottom: 20px; }
.alert-success { background: #e8f7f0; color: #087351; }
.alert-error { background: #fff0ee; color: #ad3a25; }
.success-card { max-width: 650px; margin: 30px auto 80px; text-align: center; }
.success-icon { width: 58px; height: 58px; margin: 0 auto 17px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--green); font-size: 28px; }
.status-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.status-green { background: #e3f7ef; color: #087351; }.status-amber { background: #fff2d9; color: #976312; }.status-red { background: #ffe7e3; color: #b93a24; }.status-blue { background: #e8efff; color: #3152ae; }.status-gray { background: #edf0f5; color: #637089; }
.admin-body { background: #f5f7fb; }
.admin-shell { min-height: 100vh; display: flex; }
.admin-sidebar { width: 245px; background: #0d1930; color: #e5ebf5; padding: 28px 17px 18px; display: flex; flex-direction: column; }
.admin-sidebar .brand { color: #fff; padding: 0 13px 40px; }.admin-sidebar .brand-mark { background: var(--accent); }
.sidebar-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #71809a; padding: 0 14px 11px; }
.admin-nav { display: grid; gap: 5px; }.admin-nav a { color: #aebbd0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; }.admin-nav a span { width: 17px; text-align: center; color: #8394b0; }.admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(255,255,255,.1); }.admin-nav a.active span { color: #ff917c; }
.sidebar-bottom { margin-top: auto; padding: 16px 9px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 9px; }.admin-avatar { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #ff977d; color: #1a2439; font-weight: 800; }.admin-meta { min-width: 0; margin-right: auto; }.admin-meta strong, .admin-meta small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.admin-meta strong { font-size: 12px; color: #fff; }.admin-meta small { font-size: 10px; color: #8190a8; }.logout-link { color: #b2bfd2; font-size: 19px; }
.admin-main { flex: 1; min-width: 0; }.admin-topbar { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 4vw; background: #fff; border-bottom: 1px solid var(--line); }.admin-topbar h1 { font-size: 25px; margin-top: 2px; }.admin-topbar .eyebrow { color: var(--muted); letter-spacing: .08em; }.admin-content { max-width: 1450px; padding: 30px 4vw 60px; margin: 0 auto; }.admin-content .card { box-shadow: 0 7px 24px rgba(25,45,86,.04); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-bottom: 22px; }.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }.stat-label { color: var(--muted); font-size: 12px; }.stat-value { font: 800 31px 'Manrope',sans-serif; margin-top: 5px; }.stat-hint { font-size: 12px; color: var(--muted); margin-top: 3px; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 20px; }.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 17px; }.card-heading h2 { font-size: 18px; }.table-wrap { overflow: auto; }.data-table { width: 100%; border-collapse: collapse; min-width: 620px; }.data-table th { text-align: left; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 0 12px 12px; border-bottom: 1px solid var(--line); }.data-table td { padding: 14px 12px; border-bottom: 1px solid #eef1f6; vertical-align: middle; }.data-table tbody tr:last-child td { border-bottom: 0; }.data-table .subtext { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }.empty { color: var(--muted); text-align: center; padding: 30px 10px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }.filter-bar input, .filter-bar select { width: auto; min-width: 170px; padding: 10px 12px; }.filter-bar .button { padding: 10px 15px; }
.pagination { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-top: 20px; }.pagination-gap { color: var(--muted); padding: 0 2px; }.api-console-card textarea { min-height: 125px; }.api-console-card select { background: #fbfcfe; }
.detail-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }.detail-list { display: grid; gap: 12px; margin: 0; }.detail-list div { padding-bottom: 12px; border-bottom: 1px solid #eef1f6; }.detail-list dt { color: var(--muted); font-size: 12px; }.detail-list dd { margin: 2px 0 0; font-weight: 700; word-break: break-word; }.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }.button-danger { background: #ffe7e3; color: #b93a24; }.button-success { background: #e3f7ef; color: #087351; }
.log-row { border-bottom: 1px solid #eef1f6; padding: 13px 0; display: grid; grid-template-columns: 98px 1fr auto; gap: 14px; align-items: start; }.log-row:last-child { border-bottom: 0; }.method { font: 800 11px monospace; color: var(--accent-dark); }.log-endpoint { font: 13px monospace; word-break: break-all; }.log-time { color: var(--muted); font-size: 11px; text-align: right; }.debug-detail { margin-top: 15px; }.debug-detail pre { margin: 0; padding: 15px; background: #0d1930; color: #dce8f6; border-radius: 11px; overflow: auto; max-height: 330px; font-size: 12px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }.settings-grid .full { grid-column: 1/-1; }.form-actions { display: flex; justify-content: end; gap: 10px; margin-top: 22px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 10% 20%, #ffddd3, transparent 30%), #0d1930; }.login-card { width: min(430px,100%); background: #fff; border-radius: 22px; padding: 35px; box-shadow: 0 25px 80px rgba(0,0,0,.24); }.login-card .brand { margin-bottom: 33px; }.login-card h1 { font-size: 29px; }.login-card p { color: var(--muted); margin: 8px 0 25px; }.login-card .field { margin-bottom: 15px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 60px; }.plans-grid, .steps { grid-template-columns: 1fr; }.plan-card.featured { transform: none; }.dashboard-grid, .detail-grid { grid-template-columns: 1fr; }.stats-grid { grid-template-columns: repeat(2,1fr); }.admin-sidebar { width: 205px; }.site-nav { display: none; } }
@media (max-width: 620px) { .site-header { padding: 0 20px; gap: 12px; }.site-header .button { margin-left: auto; }.site-header > .brand span:last-child { display: none; }.hero, .section, .form-page { padding-left: 20px; padding-right: 20px; }.hero-art { min-height: 310px; }.art-card { left: 22px; right: 22px; top: 30px; bottom: 28px; }.field-grid, .settings-grid { grid-template-columns: 1fr; }.settings-grid .full { grid-column: auto; }.site-footer { flex-direction: column; padding-left: 20px; padding-right: 20px; }.admin-shell { display: block; }.admin-sidebar { width: 100%; padding: 15px; }.admin-sidebar .brand { padding: 0 5px 15px; }.sidebar-label, .sidebar-bottom { display: none; }.admin-nav { grid-template-columns: repeat(5,1fr); }.admin-nav a { font-size: 11px; padding: 9px 5px; justify-content: center; flex-direction: column; gap: 2px; }.admin-topbar { padding: 18px 20px; }.admin-topbar .button { display: none; }.admin-content { padding: 20px; }.stats-grid { gap: 9px; }.stat-card { padding: 14px; }.stat-value { font-size: 24px; }.log-row { grid-template-columns: 70px 1fr; }.log-time { grid-column: 2; text-align: left; }.form-actions { flex-direction: column-reverse; }.form-actions .button { width: 100%; } }

/* Three Way Health storefront ------------------------------------------- */
.public-home {
    background: #e5e7eb;
    color: #1f2937;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-feature-settings: 'kern' 1, 'liga' 1;
    padding-bottom: 0;
}
.public-home h1, .public-home h2, .public-home h3, .public-home h4 { font-family: 'Manrope', 'Outfit', sans-serif; }
.public-home .storefront-shell {
    width: 100%;
    max-width: 720px;
    min-height: 100vh;
    margin: 0 auto;
    background: #f3f4f6;
    box-shadow: 0 0 42px rgba(15, 23, 42, .12);
}
.store-alert {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 12px;
    background: #292b31;
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    position: sticky;
    top: 0;
    z-index: 60;
}
.store-alert span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-alert i { color: #ef4444; margin-right: 4px; }
.store-alert button { padding: 2px 0 2px 8px; color: #aeb4c1; background: transparent; border: 0; cursor: pointer; }
.store-header {
    padding: 11px 12px 12px;
    background: #2146b7;
    color: #fff;
    position: sticky;
    top: 32px;
    z-index: 50;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .2);
}
.store-header-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.store-brand { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; font-size: 16px; letter-spacing: -.03em; }
.store-brand-mark { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #dc2626; background: #fff; font-size: 14px; box-shadow: 0 2px 5px rgba(0,0,0,.14); }
.store-header-actions { display: flex; align-items: center; gap: 12px; }
.store-header-actions button { position: relative; padding: 3px; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 17px; }
.store-cart-badge { position: absolute; top: -7px; right: -8px; min-width: 15px; height: 15px; display: grid; place-items: center; padding: 0 3px; border: 2px solid #2146b7; border-radius: 999px; background: #dc2626; color: #fff; font-size: 8px; font-weight: 800; line-height: 1; }
.store-search { display: flex; align-items: center; gap: 5px; padding: 4px; border-radius: 999px; background: #fff; color: #64748b; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .13); }
.store-search-filter { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; padding: 7px 10px; border: 0; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 10px; cursor: pointer; }
.store-search-filter i { font-size: 8px; }
.store-search-input { min-width: 0; flex: 1; display: flex; align-items: center; gap: 7px; padding: 0 3px; color: #94a3b8; }
.store-search-input i { font-size: 11px; }
.store-search-input input { min-width: 0; width: 100%; padding: 5px 0; border: 0; outline: 0; background: transparent; color: #334155; font-size: 10px; }
.store-search-input input::placeholder { color: #9ca3af; }
.store-search-submit { flex: 0 0 auto; padding: 7px 13px; border: 0; border-radius: 999px; background: #dc2626; color: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.store-search-submit:hover { background: #b91c1c; }
.store-category-nav { position: sticky; top: 103px; z-index: 40; padding: 8px 12px; border-bottom: 1px solid #e5e7eb; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .08); }
.store-category-scroll { position: relative; min-width: 0; }
.store-pill-row { display: flex; gap: 7px; overflow-x: auto; padding-right: 28px; scrollbar-width: none; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x proximity; touch-action: pan-x; -webkit-overflow-scrolling: touch; }
.store-pill-row::-webkit-scrollbar { display: none; }
.store-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 1px solid transparent; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; scroll-snap-align: start; }
.store-pill.is-active { background: #1e40af; color: #fff; box-shadow: 0 2px 4px rgba(30,64,175,.2); }
.store-pill-blue { border-color: #bfdbfe; background: #eff6ff; color: #1e40af; }
.store-pill i { font-size: 10px; }
.store-category-scroll-next { position: absolute; top: 50%; right: 0; display: grid; width: 29px; height: 29px; place-items: center; padding: 0; border: 1px solid #dbe3f0; border-radius: 50%; background: rgba(255, 255, 255, .97); color: #1d4ed8; box-shadow: -6px 0 12px rgba(255, 255, 255, .9), 0 2px 6px rgba(15, 23, 42, .12); transform: translateY(-50%); cursor: pointer; }
.store-category-scroll-next:hover { background: #eff6ff; }
.store-category-scroll-next[hidden] { display: none; }
.store-main { min-height: calc(100vh - 105px); margin: 0; }
.store-promo-strip { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-bottom: 1px solid #e5e7eb; background: #fff; }
.store-coupon { position: relative; flex: 1; min-width: 0; padding: 8px 10px; border: 1px dashed #f59e0b; border-radius: 6px; background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); text-align: center; }
.store-coupon::before, .store-coupon::after { content: ''; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translateY(-50%); }
.store-coupon::before { left: -7px; }
.store-coupon::after { right: -7px; }
.store-coupon span, .store-coupon small { display: block; color: #92400e; font-size: 9px; line-height: 1.25; }
.store-coupon span { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.store-coupon strong { display: block; color: #dc2626; font-size: 14px; line-height: 1.3; }
.store-subsidy { flex: 1; min-width: 0; padding-left: 1px; }
.store-subsidy strong { display: block; color: #b45309; font-size: 12px; line-height: 1.2; }
.store-subsidy strong i { margin-right: 3px; color: #dc2626; }
.store-subsidy p { margin: 3px 0 2px; color: #6b7280; font-size: 9px; line-height: 1.35; }
.store-subsidy button { padding: 0; border: 0; background: transparent; color: #1d4ed8; font-size: 9px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.store-content { padding: 13px 12px 22px; }
.store-plan-section { scroll-margin-top: 150px; }
.store-plan-section + .store-plan-section { margin-top: 18px; }
.store-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.store-section-heading h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #111827; font-size: 12px; line-height: 1.35; letter-spacing: -.02em; }
.store-section-heading p { margin: 2px 0 0 13px; color: #6b7280; font-size: 9px; line-height: 1.25; }
.store-section-marker { display: inline-block; width: 5px; height: 16px; border-radius: 1px; }
.marker-red { background: #dc2626; }
.marker-blue { background: #1d4ed8; }
.store-section-chip { padding: 2px 5px; border-radius: 4px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.chip-red { background: #fee2e2; color: #dc2626; }
.chip-blue { background: #dbeafe; color: #1d4ed8; }
.store-plan-count { flex: 0 0 auto; color: #1d4ed8; font-size: 9px; font-weight: 800; }
.store-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.store-plan-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 7px; border: 1px solid #e5e7eb; border-radius: 7px; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
.store-card-badge { position: absolute; top: 0; left: 0; z-index: 1; padding: 2px 5px; border-radius: 0 0 4px 0; background: #dc2626; color: #fff; font-size: 7px; font-weight: 800; }
.store-card-badge.badge-amber { top: 0; right: 0; left: auto; border-radius: 0 0 0 4px; background: #f59e0b; }
.store-plan-art { display: flex; height: 74px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-bottom: 7px; border-radius: 4px; }
.store-plan-art i { font-size: 25px; }
.store-plan-art span { font-size: 8px; font-weight: 600; }
.tone-blue { background: #eff6ff; color: #1d4ed8; }.tone-pink { background: #fdf2f8; color: #db2777; }.tone-red { background: #fef2f2; color: #dc2626; }.tone-green { background: #f0fdf4; color: #15803d; }.tone-slate { background: #f1f5f9; color: #475569; }.tone-amber { background: #fffbeb; color: #d97706; }.tone-indigo { background: #eef2ff; color: #4f46e5; }.tone-emerald { background: #ecfdf5; color: #047857; }.tone-teal { background: #f0fdfa; color: #0f766e; }.tone-cyan { background: #ecfeff; color: #0e7490; }.tone-violet { background: #f5f3ff; color: #6d28d9; }.tone-sky { background: #f0f9ff; color: #0369a1; }
.store-plan-card-copy { min-width: 0; }
.store-plan-card h3 { overflow: hidden; margin: 0; color: #111827; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.store-plan-card p { display: -webkit-box; min-height: 24px; overflow: hidden; margin: 2px 0 0; color: #6b7280; font-size: 8px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.store-rating { display: flex; align-items: center; gap: 3px; min-width: 0; margin-top: 5px; color: #6b7280; font-size: 8px; text-transform: uppercase; }
.store-rating i { color: #f59e0b; font-size: 8px; }
.store-rating span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-rating small { color: #9ca3af; font-size: 7px; text-transform: none; }
.store-plan-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 4px; margin-top: 8px; padding-top: 7px; border-top: 1px solid #f1f5f9; }
.store-price { display: flex; align-items: baseline; gap: 3px; min-width: 0; }
.store-price strong { color: #dc2626; font-size: 10px; line-height: 1.2; }
.store-price span { color: #6b7280; font-size: 8px; }
.store-price.is-pending { display: block; }
.store-price.is-pending strong { display: block; font-size: 9px; }
.store-price.is-pending span { display: block; margin-top: 2px; font-size: 7px; }
.store-add-plan { width: 29px; height: 29px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #d1d5db; border-radius: 50%; background: #fff; color: #334155; font-size: 11px; cursor: pointer; transition: .18s ease; }
.store-add-plan:hover { border-color: #1d4ed8; background: #1d4ed8; color: #fff; transform: translateY(-1px); }
.store-add-plan.is-disabled { color: #94a3b8; cursor: not-allowed; opacity: .8; }
.store-network-promo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 19px; padding: 12px; border-radius: 9px; background: linear-gradient(110deg, #172554, #1d4ed8); color: #fff; box-shadow: 0 4px 10px rgba(30, 64, 175, .22); }
.store-network-promo > div { min-width: 0; }
.store-network-promo span { display: inline-block; padding: 2px 5px; border-radius: 3px; background: #dc2626; color: #fff; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.store-network-promo h2 { margin: 3px 0 1px; font-size: 12px; line-height: 1.3; }
.store-network-promo p { margin: 0; color: #bfdbfe; font-size: 8px; line-height: 1.3; }
.store-network-promo button { flex: 0 0 auto; padding: 8px 12px; border: 0; border-radius: 6px; background: #fff; color: #1d4ed8; font-size: 9px; font-weight: 800; cursor: pointer; }
.store-empty-card { margin: 18px 0; padding: 30px 18px; border: 1px dashed #cbd5e1; border-radius: 10px; background: #fff; text-align: center; }
.store-empty-card > i { color: #1d4ed8; font-size: 27px; }
.store-empty-card h2 { margin: 10px 0 4px; font-size: 15px; }
.store-empty-card p { max-width: 330px; margin: 0 auto 12px; color: #6b7280; font-size: 11px; }
.store-empty-link { color: #1d4ed8; font-size: 11px; font-weight: 800; text-decoration: underline; }
.store-no-results { margin: 20px 0; padding: 18px; border-radius: 8px; background: #fff; color: #64748b; font-size: 11px; text-align: center; }
.store-how-it-works { margin: 0 12px 24px; padding: 17px 14px; border-radius: 10px; background: #fff; }
.store-kicker { color: #1d4ed8; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.store-how-it-works h2 { margin: 3px 0 12px; font-size: 18px; }
.store-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.store-steps > div { display: grid; gap: 3px; }
.store-steps b { color: #dc2626; font-size: 17px; }
.store-steps strong { font-size: 10px; }
.store-steps span { color: #64748b; font-size: 8px; line-height: 1.35; }
.store-bottom-nav { position: fixed; bottom: 0; left: 50%; z-index: 70; display: flex; width: min(720px, 100%); align-items: center; justify-content: space-around; padding: 6px 16px 7px; border-top: 1px solid #e5e7eb; background: rgba(255, 255, 255, .97); color: #64748b; transform: translateX(-50%); box-shadow: 0 -2px 8px rgba(15, 23, 42, .08); }
.store-bottom-nav a { position: relative; display: flex; min-width: 42px; flex-direction: column; align-items: center; gap: 2px; color: inherit; font-size: 9px; }
.store-bottom-nav a i { font-size: 14px; }
.store-bottom-nav a.is-active { color: #1d4ed8; font-weight: 800; }
.store-bottom-cart-icon { position: relative; display: inline-flex; }
.store-bottom-cart-icon b { position: absolute; top: -7px; right: -9px; display: grid; width: 14px; height: 14px; place-items: center; border-radius: 50%; background: #dc2626; color: #fff; font-size: 7px; }
.store-toast { position: fixed; bottom: 69px; left: 50%; z-index: 80; max-width: calc(100% - 30px); padding: 9px 12px; border-radius: 7px; background: #111827; color: #fff; font-size: 10px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: .2s ease; }
.store-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.public-home .site-footer { display: none; }

@media (min-width: 721px) {
    .public-home .storefront-shell { min-height: 100vh; }
    .store-content { padding-left: 18px; padding-right: 18px; }
    .store-promo-strip { padding-left: 18px; padding-right: 18px; }
    .store-category-nav { padding-left: 18px; padding-right: 18px; }
    .store-plan-grid { gap: 12px; }
    .store-plan-art { height: 108px; }
    .store-plan-card { padding: 10px; }
    .store-plan-card h3 { font-size: 12px; }
    .store-plan-card p { font-size: 10px; }
    .store-price strong { font-size: 12px; }
}

@media (max-width: 370px) {
    .store-coupon strong { font-size: 12px; }
    .store-coupon span, .store-coupon small { font-size: 8px; }
    .store-subsidy strong { font-size: 10px; }
    .store-subsidy p, .store-subsidy button { font-size: 8px; }
    .store-section-heading h2 { font-size: 11px; }
    .store-section-chip { font-size: 7px; }
    .store-plan-card { padding: 6px; }
}

/* Storefront readability and desktop layout ---------------------------- */
.store-desktop-nav { display: none; }
.store-section-heading { margin-bottom: 10px; }
.store-section-heading h2 { font-size: 13px; }
.store-section-heading p { font-size: 10px; }
.store-section-chip { font-size: 9px; }
.store-plan-count { font-size: 10px; }
.store-plan-art { height: 84px; }
.store-plan-art i { font-size: 28px; }
.store-plan-art span { font-size: 9px; }
.store-plan-card h3 { font-size: 11px; }
.store-plan-card p { font-size: 9px; }
.store-rating { font-size: 9px; }
.store-rating i { font-size: 9px; }
.store-rating small { font-size: 8px; }
.store-price strong { font-size: 11px; }
.store-price span { font-size: 9px; }
.store-price.is-pending strong { font-size: 10px; }
.store-price.is-pending span { font-size: 8px; }
.store-add-plan { width: 31px; height: 31px; }

@media (min-width: 900px) {
    .public-home .storefront-shell { max-width: 1280px; box-shadow: 0 0 52px rgba(15, 23, 42, .14); }
    .store-alert { padding: 8px 34px; font-size: 12px; }
    .store-header { padding: 16px 34px 18px; }
    .store-header-top { margin-bottom: 16px; }
    .store-brand { gap: 9px; font-size: 20px; }
    .store-brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
    .store-desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; margin-right: 32px; }
    .store-desktop-nav a { color: #dbeafe; font-size: 14px; font-weight: 700; transition: color .18s ease; }
    .store-desktop-nav a:hover { color: #fff; }
    .store-header-actions { gap: 18px; }
    .store-header-actions button { font-size: 20px; }
    .store-search { max-width: 760px; margin: 0 auto; padding: 6px; }
    .store-search-filter, .store-search-input input, .store-search-submit { font-size: 13px; }
    .store-search-filter { padding: 9px 14px; }
    .store-search-input { gap: 9px; padding: 0 5px; }
    .store-search-input i { font-size: 13px; }
    .store-search-input input { padding: 7px 0; }
    .store-search-submit { padding: 9px 19px; }
    .store-category-nav { top: 126px; padding: 12px 34px; }
    .store-pill-row { max-width: 1212px; margin: 0 auto; gap: 10px; }
    .store-pill { padding: 9px 16px; font-size: 13px; }
    .store-pill i { font-size: 12px; }
    .store-content { max-width: 1212px; margin: 0 auto; padding: 28px 34px 42px; }
    .store-promo-strip { max-width: 1212px; margin: 0 auto; padding: 18px 34px; gap: 20px; }
    .store-coupon { padding: 14px 20px; }
    .store-coupon strong { font-size: 19px; }
    .store-coupon span, .store-coupon small { font-size: 12px; }
    .store-subsidy strong { font-size: 16px; }
    .store-subsidy p, .store-subsidy button { font-size: 12px; }
    .store-plan-section { scroll-margin-top: 170px; }
    .store-section-heading h2 { font-size: 18px; }
    .store-section-heading p { margin-left: 18px; font-size: 12px; }
    .store-section-chip { padding: 3px 7px; font-size: 11px; }
    .store-plan-count { font-size: 12px; }
    .store-plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .store-plan-card { padding: 12px; border-radius: 10px; }
    .store-plan-art { height: 150px; margin-bottom: 12px; }
    .store-plan-art i { font-size: 42px; }
    .store-plan-art span { font-size: 11px; }
    .store-card-badge { padding: 3px 7px; font-size: 9px; }
    .store-plan-card h3 { font-size: 15px; }
    .store-plan-card p { min-height: 31px; font-size: 11px; }
    .store-rating { margin-top: 8px; font-size: 11px; }
    .store-rating i { font-size: 10px; }
    .store-rating small { font-size: 10px; }
    .store-plan-card-footer { margin-top: 12px; padding-top: 10px; }
    .store-price strong { font-size: 15px; }
    .store-price span { font-size: 11px; }
    .store-price.is-pending strong { font-size: 13px; }
    .store-price.is-pending span { font-size: 10px; }
    .store-add-plan { width: 36px; height: 36px; font-size: 14px; }
    .store-network-promo { max-width: 1212px; margin: 24px auto 30px; padding: 20px 22px; }
    .store-network-promo span { font-size: 10px; }
    .store-network-promo h2 { font-size: 18px; }
    .store-network-promo p { font-size: 12px; }
    .store-network-promo button { padding: 11px 18px; font-size: 12px; }
    .store-how-it-works { max-width: 1212px; margin: 0 auto 42px; padding: 26px 24px; }
    .store-kicker { font-size: 11px; }
    .store-how-it-works h2 { font-size: 28px; }
    .store-steps { gap: 28px; }
    .store-steps b { font-size: 24px; }
    .store-steps strong { font-size: 14px; }
    .store-steps span { font-size: 11px; }
    .store-bottom-nav { display: none; }
    .store-main { min-height: calc(100vh - 126px); }
}

/* Storefront launch ad, plan picker and clearer mobile type ------------- */
.store-header { top: 0; }
.store-category-nav { top: 92px; }
.store-search-wrap { position: relative; width: 100%; max-width: 760px; margin: 0 auto; }
.store-search { width: 100%; }
.store-search-menu { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 90; max-height: min(440px, calc(100vh - 150px)); overflow-y: auto; padding: 8px; border: 1px solid #dbe3f0; border-radius: 15px; background: #fff; box-shadow: 0 18px 38px rgba(15, 23, 42, .18); }
.store-search-menu[hidden] { display: none; }
.store-search-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px 9px; color: #1e3a8a; font-size: 11px; }
.store-search-menu-heading span { color: #64748b; font-size: 10px; font-weight: 500; }
.store-search-option { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 10px; padding: 11px 9px; border: 0; border-radius: 9px; background: transparent; color: #1f2937; text-align: left; cursor: pointer; }
.store-search-option:hover, .store-search-option:focus-visible { background: #eff6ff; outline: 0; }
.store-search-option-name { display: flex; min-width: 0; align-items: center; gap: 8px; }
.store-search-option-name i { width: 18px; flex: 0 0 auto; color: #1d4ed8; text-align: center; }
.store-search-option-name strong { overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.store-search-option-meta { display: grid; flex: 0 0 auto; justify-items: end; gap: 2px; }
.store-search-option-meta small { color: #64748b; font-size: 8px; }
.store-search-option-meta b { color: #dc2626; font-size: 9px; font-weight: 800; white-space: nowrap; }
.store-plan-art-image { position: relative; overflow: hidden; isolation: isolate; }
.store-plan-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.store-plan-art-image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 23, 42, .03) 30%, rgba(15, 23, 42, .55) 100%); }
.store-plan-art-label { position: relative; z-index: 1; padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, .84); color: currentColor; font-weight: 800; text-align: center; }
.store-plan-art-image .store-plan-art-label { background: rgba(15, 23, 42, .58); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.store-benefit { display: inline-flex; max-width: 100%; align-items: center; gap: 4px; margin-top: 6px; overflow: hidden; color: #1d4ed8; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.store-benefit i { color: #16a34a; font-size: 10px; }
.store-price { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 3px; row-gap: 1px; }
.store-price small { grid-column: 1 / -1; color: #64748b; font-size: 8px; line-height: 1.1; }
.store-launch-ad { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.store-launch-ad[hidden] { display: none; }
.store-launch-ad-backdrop { position: absolute; inset: 0; background: rgba(8, 20, 48, .72); backdrop-filter: blur(6px); }
.store-launch-ad-card { position: relative; width: min(420px, calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow: hidden; padding: 26px 28px 22px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 20px; background: radial-gradient(circle at 92% 5%, rgba(76, 135, 255, .46), transparent 35%), linear-gradient(145deg, #132b70 0%, #2146b7 62%, #1d4ed8 100%); color: #fff; box-shadow: 0 26px 80px rgba(0, 0, 0, .34); }
.store-launch-ad-card::after { content: ''; position: absolute; right: -65px; bottom: -82px; width: 175px; height: 175px; border: 22px solid rgba(255, 255, 255, .10); border-radius: 50%; }
.store-launch-ad-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .11); color: #fff; cursor: pointer; }
.store-launch-ad-card h1 { position: relative; z-index: 1; max-width: 340px; padding-right: 16px; font-size: clamp(24px, 5vw, 34px); line-height: 1.08; letter-spacing: -.045em; }
.store-launch-ad-card p { position: relative; z-index: 1; max-width: 360px; margin: 11px 0 15px; color: #dbeafe; font-size: 12px; line-height: 1.45; }
.store-launch-ad-points { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px 14px; margin-bottom: 18px; color: #eff6ff; font-size: 10px; font-weight: 700; }
.store-launch-ad-points i { margin-right: 4px; color: #86efac; }
.store-launch-ad-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 0; border-radius: 9px; background: #fff; color: #1d4ed8; font-size: 12px; font-weight: 800; cursor: pointer; }
.store-launch-ad-card > small { position: relative; z-index: 1; display: block; max-width: 360px; margin-top: 11px; color: #bfdbfe; font-size: 8px; line-height: 1.35; }
.store-ad-open { overflow: hidden; }

@media (max-width: 899px) {
    .store-header { padding-top: 13px; padding-bottom: 14px; }
    .store-category-nav { top: 94px; }
    .store-search-filter, .store-search-input input, .store-search-submit { font-size: 12px; }
    .store-search-filter { padding: 8px 10px; }
    .store-search-input input { padding: 7px 0; }
    .store-search-submit { padding: 8px 14px; }
    .store-pill { padding: 8px 12px; font-size: 12px; }
    .store-pill i { font-size: 11px; }
    .store-section-heading h2 { font-size: 15px; }
    .store-section-heading p { font-size: 11px; }
    .store-section-chip { font-size: 10px; }
    .store-plan-count { font-size: 11px; }
    .store-plan-card { padding: 9px; border-radius: 9px; }
    .store-plan-art { height: 104px; margin-bottom: 9px; }
    .store-plan-art i { font-size: 31px; }
    .store-plan-art span { font-size: 10px; }
    .store-plan-card h3 { font-size: 13px; }
    .store-plan-card p { min-height: 30px; font-size: 10px; }
    .store-rating { margin-top: 6px; font-size: 10px; }
    .store-rating i { font-size: 10px; }
    .store-rating small { font-size: 9px; }
    .store-benefit { font-size: 9px; }
    .store-price strong { font-size: 13px; }
    .store-price span { font-size: 10px; }
    .store-price small { font-size: 8px; }
    .store-add-plan { width: 34px; height: 34px; font-size: 12px; }
    .store-network-promo h2 { font-size: 15px; }
    .store-network-promo p { font-size: 10px; }
    .store-network-promo button { font-size: 10px; }
    .store-bottom-nav a { font-size: 10px; }
    .store-bottom-nav a i { font-size: 15px; }
    .store-launch-ad-card { padding: 22px 18px 18px; border-radius: 18px; }
    .store-launch-ad-card h1 { max-width: 290px; padding-right: 10px; font-size: clamp(23px, 8vw, 30px); }
    .store-launch-ad-card p { font-size: 11px; }
    .store-launch-ad-points { display: grid; gap: 6px; font-size: 9px; }
}

@media (min-width: 900px) {
    .store-category-nav { top: 132px; }
    .store-search-wrap { max-width: 760px; }
    .store-search-menu-heading { font-size: 13px; }
    .store-search-menu-heading span { font-size: 11px; }
    .store-search-option-name strong { font-size: 14px; }
    .store-search-option-meta small { font-size: 10px; }
    .store-search-option-meta b { font-size: 11px; }
    .store-benefit { font-size: 10px; }
    .store-launch-ad-card { padding: 28px 30px 23px; }
}

/* Shared Three Way Health pages ----------------------------------------- */
.store-desktop-nav a.active { color: #fff; }
.store-page-main { padding-bottom: 42px; }
.store-page-hero { max-width: 1212px; margin: 0 auto; padding: 30px 12px 9px; }
.store-page-hero .store-kicker { display: inline-flex; align-items: center; gap: 6px; }
.store-page-hero h1 { max-width: 680px; margin-top: 7px; color: #0f172a; font-size: clamp(28px, 7vw, 48px); line-height: 1.06; letter-spacing: -.045em; }
.store-page-hero p { max-width: 620px; margin: 9px 0 0; color: #64748b; font-size: 12px; line-height: 1.5; }
.store-page-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; color: #1d4ed8; font-size: 10px; font-weight: 800; }
.store-page-hero-meta i { margin-right: 4px; color: #dc2626; }
.store-card-eyebrow { display: block; color: #1d4ed8; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.store-profile-card { display: flex; align-items: flex-start; gap: 14px; padding: 17px; border-radius: 13px; background: linear-gradient(135deg, #172554, #1d4ed8); color: #fff; box-shadow: 0 8px 22px rgba(30, 64, 175, .18); }
.store-profile-avatar { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; border-radius: 15px; background: #fff; color: #1d4ed8; font-size: 21px; }
.store-profile-copy { min-width: 0; }
.store-profile-copy .store-card-eyebrow { color: #bfdbfe; }
.store-profile-copy h2 { margin: 3px 0 5px; font-size: 18px; }
.store-profile-copy p { max-width: 560px; margin: 0; color: #dbeafe; font-size: 11px; line-height: 1.45; }
.store-action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.store-page-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 13px; border: 1px solid #dbe3f0; border-radius: 8px; background: #fff; color: #1e3a8a; font-size: 10px; font-weight: 800; }
.store-page-button-primary { border-color: #fff; background: #fff; color: #1d4ed8; }
.store-page-button-light { border-color: rgba(255, 255, 255, .4); background: #fff; color: #1d4ed8; }
.store-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.store-stat-card { padding: 12px 10px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.store-stat-card strong, .store-stat-card span { display: block; }
.store-stat-card strong { color: #1d4ed8; font-size: 19px; line-height: 1.1; }
.store-stat-card span { margin-top: 3px; color: #64748b; font-size: 9px; }
.store-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.store-info-card { display: flex; min-width: 0; flex-direction: column; padding: 15px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 2px 7px rgba(15, 23, 42, .04); }
.store-info-icon { display: inline-grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; font-size: 16px; }
.store-info-card h2 { margin: 11px 0 4px; color: #0f172a; font-size: 14px; }
.store-info-card p { margin: 0; color: #64748b; font-size: 10px; line-height: 1.45; }
.store-info-card a, .store-inline-button { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: auto; padding: 12px 0 0; border: 0; background: transparent; color: #1d4ed8; font-size: 10px; font-weight: 800; cursor: pointer; text-align: left; }
.store-policy-empty { display: flex; align-items: center; gap: 15px; padding: 18px; border: 1px solid #bfdbfe; border-radius: 13px; background: linear-gradient(135deg, #eff6ff, #fff); }
.store-policy-empty-icon { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 15px; background: #1d4ed8; color: #fff; font-size: 22px; }
.store-policy-empty h2 { margin: 3px 0 5px; color: #0f172a; font-size: 17px; }
.store-policy-empty p { max-width: 560px; margin: 0 0 13px; color: #64748b; font-size: 10px; line-height: 1.45; }
.store-section-block { margin-top: 20px; }
.store-section-heading-stacked { align-items: flex-start; }
.store-policy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.store-policy-steps article { position: relative; padding: 13px; border: 1px solid #e2e8f0; border-radius: 11px; background: #fff; }
.store-policy-steps article > b { position: absolute; top: 11px; right: 12px; color: #cbd5e1; font-size: 16px; }
.store-policy-steps h3 { margin: 10px 0 4px; color: #0f172a; font-size: 12px; }
.store-policy-steps p { margin: 0; color: #64748b; font-size: 9px; line-height: 1.4; }
.store-care-hero-card { display: flex; align-items: center; gap: 13px; padding: 17px; border-radius: 13px; background: #0f766e; color: #fff; box-shadow: 0 8px 22px rgba(15, 118, 110, .18); }
.store-care-hero-icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .17); font-size: 20px; }
.store-care-hero-card > div:nth-child(2) { min-width: 0; margin-right: auto; }
.store-care-hero-card .store-card-eyebrow { color: #a7f3d0; }
.store-care-hero-card h2 { margin: 3px 0 4px; font-size: 17px; }
.store-care-hero-card p { margin: 0; color: #ccfbf1; font-size: 10px; line-height: 1.4; }
.store-faq-card { margin-top: 14px; padding: 17px; border-radius: 12px; background: #fff; }
.store-faq-card h2 { margin: 3px 0 11px; color: #0f172a; font-size: 18px; }
.store-faq-card details { border-top: 1px solid #e2e8f0; }
.store-faq-card summary { padding: 11px 0; color: #1f2937; font-size: 11px; font-weight: 800; cursor: pointer; list-style: none; }
.store-faq-card summary::-webkit-details-marker { display: none; }
.store-faq-card summary::after { content: '+'; float: right; color: #1d4ed8; font-size: 16px; line-height: 1; }
.store-faq-card details[open] summary::after { content: '−'; }
.store-faq-card details p { margin: -2px 0 11px; color: #64748b; font-size: 10px; line-height: 1.45; }
.store-page-note { display: flex; align-items: center; gap: 11px; margin-top: 16px; padding: 13px; border: 1px solid #dbeafe; border-radius: 10px; background: #eff6ff; color: #1d4ed8; }
.store-page-note > i { flex: 0 0 auto; font-size: 18px; }
.store-page-note > div { min-width: 0; margin-right: auto; }
.store-page-note strong, .store-page-note span { display: block; }
.store-page-note strong { color: #1e3a8a; font-size: 11px; }
.store-page-note span { margin-top: 2px; color: #64748b; font-size: 9px; }
.store-page-note a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: #1d4ed8; font-size: 10px; font-weight: 800; }

@media (max-width: 520px) {
    .store-page-hero { padding-top: 24px; }
    .store-page-hero h1 { font-size: 30px; }
    .store-profile-card, .store-policy-empty, .store-care-hero-card { align-items: flex-start; }
    .store-profile-card { flex-direction: column; }
    .store-policy-empty { flex-direction: column; }
    .store-care-hero-card { display: grid; grid-template-columns: auto 1fr; }
    .store-care-hero-card .store-page-button { grid-column: 1 / -1; width: 100%; }
    .store-info-grid { grid-template-columns: 1fr; }
    .store-policy-steps { grid-template-columns: 1fr; }
    .store-page-note { align-items: flex-start; }
    .store-page-note a { margin-top: 2px; }
}

@media (min-width: 900px) {
    .store-page-hero { padding: 46px 34px 18px; }
    .store-page-hero p { font-size: 14px; }
    .store-page-hero-meta { font-size: 12px; }
    .store-page-main .store-content { padding-top: 24px; }
    .store-profile-card, .store-policy-empty, .store-care-hero-card { padding: 25px; }
    .store-profile-copy h2, .store-policy-empty h2, .store-care-hero-card h2 { font-size: 23px; }
    .store-profile-copy p, .store-policy-empty p, .store-care-hero-card p { font-size: 12px; }
    .store-stat-card { padding: 17px; }
    .store-stat-card strong { font-size: 25px; }
    .store-stat-card span { font-size: 11px; }
    .store-info-grid { gap: 16px; }
    .store-info-card { padding: 21px; }
    .store-info-card h2 { font-size: 17px; }
    .store-info-card p { font-size: 12px; }
    .store-info-card a, .store-inline-button { font-size: 11px; }
    .store-policy-steps { gap: 16px; }
    .store-policy-steps article { padding: 18px; }
    .store-policy-steps h3 { font-size: 15px; }
    .store-policy-steps p { font-size: 11px; }
    .store-page-note { padding: 16px; }
    .store-page-note strong { font-size: 13px; }
    .store-page-note span, .store-page-note a { font-size: 11px; }
}

.store-benefits-content { padding-top: 8px; }
.store-benefit-section + .store-benefit-section { margin-top: 24px; }
.store-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.store-benefit-card { padding: 15px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 2px 7px rgba(15, 23, 42, .04); }
.store-benefit-card h3 { margin: 11px 0 4px; color: #0f172a; font-size: 13px; }
.store-benefit-card p { margin: 0; color: #64748b; font-size: 10px; line-height: 1.45; }
@media (max-width: 520px) {
    .store-benefit-grid { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
    .store-benefits-content { padding-top: 14px; }
    .store-benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .store-benefit-card { padding: 20px; }
    .store-benefit-card h3 { font-size: 15px; }
    .store-benefit-card p { font-size: 11px; }
}

.store-policy-lookup-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid #bfdbfe; border-radius: 13px; background: linear-gradient(135deg, #eff6ff, #fff); }
.store-policy-lookup-icon { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; border-radius: 15px; background: #1d4ed8; color: #fff; font-size: 21px; }
.store-policy-lookup-card > div:last-child { min-width: 0; flex: 1; }
.store-policy-lookup-card h2 { margin: 3px 0 4px; color: #0f172a; font-size: 18px; }
.store-policy-lookup-card p { margin: 0 0 12px; color: #64748b; font-size: 10px; }
.store-policy-search { max-width: 660px; }
.store-policy-search label { display: block; margin-bottom: 5px; color: #334155; font-size: 10px; font-weight: 800; }
.store-policy-input-row { display: flex; align-items: center; gap: 7px; padding: 4px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; }
.store-policy-input-row > i { margin-left: 7px; color: #64748b; font-size: 12px; }
.store-policy-input-row input { min-width: 0; flex: 1; padding: 8px 2px; border: 0; outline: 0; background: transparent; font-size: 11px; }
.store-policy-input-row button { flex: 0 0 auto; padding: 9px 12px; border: 0; border-radius: 7px; background: #1d4ed8; color: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.store-policy-search small { display: block; margin-top: 6px; color: #64748b; font-size: 8px; }
.store-policy-result { margin-top: 13px; padding: 17px; border: 1px solid #bbf7d0; border-radius: 13px; background: #f0fdf4; }
.store-policy-result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.store-policy-result h2 { margin: 3px 0 0; color: #14532d; font-size: 17px; }
.store-policy-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 15px; }
.store-policy-details div { padding: 9px; border-radius: 8px; background: rgba(255, 255, 255, .78); }
.store-policy-details span, .store-policy-details strong { display: block; }
.store-policy-details span { color: #64748b; font-size: 8px; }
.store-policy-details strong { margin-top: 3px; color: #14532d; font-size: 10px; word-break: break-word; }
.store-policy-not-found { display: flex; align-items: flex-start; gap: 12px; margin-top: 13px; padding: 16px; border: 1px solid #fed7aa; border-radius: 12px; background: #fff7ed; color: #9a3412; }
.store-policy-not-found > i { margin-top: 2px; font-size: 18px; }
.store-policy-not-found h2 { margin: 0 0 4px; font-size: 15px; }
.store-policy-not-found p { margin: 0; color: #9a3412; font-size: 10px; line-height: 1.4; }
@media (max-width: 520px) {
    .store-policy-lookup-card { flex-direction: column; }
    .store-policy-lookup-icon { width: 46px; height: 46px; }
    .store-policy-input-row { align-items: stretch; flex-wrap: wrap; }
    .store-policy-input-row input { flex-basis: calc(100% - 38px); }
    .store-policy-input-row button { width: 100%; }
    .store-policy-details { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
    .store-policy-lookup-card { padding: 25px; }
    .store-policy-lookup-card h2 { font-size: 23px; }
    .store-policy-lookup-card p { font-size: 12px; }
    .store-policy-search label { font-size: 11px; }
    .store-policy-input-row input { font-size: 13px; }
    .store-policy-input-row button { font-size: 11px; }
    .store-policy-result { padding: 22px; }
    .store-policy-result h2 { font-size: 22px; }
    .store-policy-details strong { font-size: 12px; }
}

/* Benefits dashboard ---------------------------------------------------- */
.store-header-compact .store-header-top { margin-bottom: 0; }
.store-context-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #dbeafe; font-size: 11px; font-weight: 700; }
.store-context-bar span, .store-context-bar a { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.store-context-bar span { color: #fff; }
.store-context-bar span i { color: #bfdbfe; }
.store-context-bar a { flex: 0 0 auto; color: #fff; font-size: 10px; }
.store-context-bar a i { font-size: 9px; }
.store-header-compact + .store-category-nav { top: 54px; }
.store-benefits-app { background: #f3f4f6; }
.store-app-heading { display: flex; align-items: center; gap: 11px; max-width: 1212px; margin: 0 auto; padding: 16px 12px 8px; }
.store-app-heading-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #dbeafe; color: #1d4ed8; font-size: 17px; }
.store-app-heading .store-card-eyebrow { margin: 0; color: #64748b; font-size: 9px; }
.store-app-heading h1 { margin-top: 2px; color: #0f172a; font-size: 20px; line-height: 1.1; }
.store-app-heading p { margin: 3px 0 0; color: #64748b; font-size: 10px; line-height: 1.35; }
.store-benefits-content { padding-top: 8px; }
.store-benefit-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 10px; }
.store-benefit-tab { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 10px; border: 1px solid #dbe3f0; border-radius: 10px; background: #fff; color: #475569; text-align: left; cursor: pointer; }
.store-benefit-tab > i { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #f1f5f9; color: #64748b; font-size: 13px; }
.store-benefit-tab > span { display: block; min-width: 0; overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.store-benefit-tab small { display: block; margin-top: 1px; overflow: hidden; color: #94a3b8; font-size: 8px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.store-benefit-tab.is-active { border-color: #1d4ed8; background: #1e40af; color: #fff; box-shadow: 0 4px 10px rgba(30, 64, 175, .18); }
.store-benefit-tab.is-active > i { background: rgba(255, 255, 255, .16); color: #fff; }
.store-benefit-tab.is-active small { color: #bfdbfe; }
.store-benefit-panel[hidden] { display: none; }
.store-benefit-overview { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 13px; background: linear-gradient(135deg, #172554, #1d4ed8); color: #fff; box-shadow: 0 8px 18px rgba(30, 64, 175, .17); }
.store-benefit-overview-copy { min-width: 0; }
.store-benefit-overview .store-section-chip { display: inline-flex; padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, .15); color: #dbeafe; font-size: 8px; }
.store-benefit-overview h2 { margin: 6px 0 3px; color: #fff; font-size: 17px; }
.store-benefit-overview p { max-width: 500px; margin: 0; color: #dbeafe; font-size: 10px; line-height: 1.4; }
.store-benefit-limit { flex: 0 0 auto; min-width: 89px; padding-left: 11px; border-left: 1px solid rgba(255, 255, 255, .24); text-align: right; }
.store-benefit-limit strong, .store-benefit-limit span { display: block; }
.store-benefit-limit strong { color: #fff; font-size: 17px; line-height: 1.05; }
.store-benefit-limit span { margin-top: 4px; color: #bfdbfe; font-size: 8px; line-height: 1.2; }
.store-benefit-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 15px 1px 7px; }
.store-benefit-list-heading h2 { color: #0f172a; font-size: 14px; }
.store-benefit-list-heading span { color: #64748b; font-size: 9px; font-weight: 800; }
.store-benefit-list { display: grid; gap: 6px; }
.store-benefit-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.store-benefit-row-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; border: 1px solid rgba(29, 78, 216, .10); font-size: 15px; box-shadow: 0 3px 8px rgba(15, 23, 42, .06); }
.store-benefit-row-icon.tone-blue { border-color: #bfdbfe; }
.store-benefit-row-icon.tone-red { border-color: #fecaca; }
.store-benefit-row-copy { min-width: 0; }
.store-benefit-row-copy h3 { overflow: hidden; color: #0f172a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.store-benefit-row-copy p { margin: 2px 0 0; color: #64748b; font-size: 9px; line-height: 1.3; }
.store-benefit-status { display: inline-flex; max-width: 88px; padding: 4px 6px; border-radius: 999px; font-size: 8px; font-weight: 800; line-height: 1.1; text-align: center; }
.status-purple { background: #f3e8ff; color: #7e22ce; }
.tone-orange { background: #fff7ed; color: #ea580c; }
.store-benefit-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 9px; padding: 11px; border: 1px solid #bfdbfe; border-radius: 10px; background: #eff6ff; }
.store-benefit-note > i { flex: 0 0 auto; margin-top: 1px; color: #1d4ed8; font-size: 14px; }
.store-benefit-note strong, .store-benefit-note p { display: block; }
.store-benefit-note strong { color: #1e3a8a; font-size: 10px; }
.store-benefit-note p { margin: 2px 0 0; color: #64748b; font-size: 9px; line-height: 1.35; }
.store-benefit-policy-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; padding: 11px 12px; border: 1px solid #dbe3f0; border-radius: 10px; background: #fff; color: #1d4ed8; font-size: 9px; }
.store-benefit-policy-link span, .store-benefit-policy-link strong { display: inline-flex; align-items: center; gap: 6px; }
.store-benefit-policy-link span { color: #64748b; }
.store-benefit-policy-link strong { font-size: 9px; }
.store-benefit-policy-link strong i { font-size: 8px; }
@media (max-width: 520px) {
    .store-app-heading { padding-top: 14px; }
    .store-benefit-overview { align-items: flex-start; }
    .store-benefit-limit { min-width: 78px; }
    .store-benefit-limit strong { font-size: 14px; }
    .store-benefit-row { grid-template-columns: 36px minmax(0, 1fr); }
    .store-benefit-row-icon { width: 36px; height: 36px; }
    .store-benefit-status { grid-column: 2; justify-self: start; margin-top: 2px; }
    .store-benefit-policy-link { align-items: flex-start; flex-direction: column; }
}
@media (min-width: 900px) {
    .store-header-compact + .store-category-nav { top: 61px; }
    .store-app-heading { padding: 26px 34px 10px; }
    .store-app-heading-icon { width: 48px; height: 48px; font-size: 21px; }
    .store-app-heading h1 { font-size: 28px; }
    .store-app-heading p { font-size: 12px; }
    .store-benefits-content { padding: 14px 34px 42px; }
    .store-benefit-tabs { max-width: 520px; gap: 9px; }
    .store-benefit-tab { padding: 11px 13px; }
    .store-benefit-tab > span { font-size: 13px; }
    .store-benefit-tab small { font-size: 10px; }
    .store-benefit-overview { padding: 21px; }
    .store-benefit-overview h2 { font-size: 23px; }
    .store-benefit-overview p { font-size: 12px; }
    .store-benefit-limit { min-width: 145px; }
    .store-benefit-limit strong { font-size: 24px; }
    .store-benefit-limit span { font-size: 10px; }
    .store-benefit-list-heading { margin-top: 22px; }
    .store-benefit-list-heading h2 { font-size: 17px; }
    .store-benefit-list-heading span { font-size: 11px; }
    .store-benefit-list { gap: 8px; }
    .store-benefit-row { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 13px; padding: 14px; }
    .store-benefit-row-icon { width: 46px; height: 46px; border-radius: 13px; font-size: 19px; }
    .store-benefit-row-copy h3 { font-size: 14px; }
    .store-benefit-row-copy p { font-size: 11px; }
    .store-benefit-status { max-width: 125px; padding: 6px 8px; font-size: 10px; }
    .store-benefit-note { padding: 14px; }
    .store-benefit-note strong { font-size: 12px; }
    .store-benefit-note p { font-size: 10px; }
    .store-benefit-policy-link { margin-top: 16px; padding: 13px 15px; font-size: 11px; }
    .store-benefit-policy-link strong { font-size: 11px; }
}

/* Policy and profile app screens --------------------------------------- */
.store-context-hint { color: #bfdbfe !important; font-size: 10px; font-weight: 600; }
.store-app-heading-icon-red { background: #fee2e2; color: #dc2626; }
.store-policy-content, .store-profile-content { padding-top: 8px; }
.store-policy-search-card { display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid #dbe3f0; border-radius: 13px; background: #fff; box-shadow: 0 3px 10px rgba(15, 23, 42, .04); }
.store-policy-step-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #fee2e2; color: #dc2626; font-size: 12px; font-weight: 800; }
.store-policy-search-copy { min-width: 0; flex: 1; }
.store-policy-search-copy h2 { margin: 3px 0 3px; color: #0f172a; font-size: 16px; }
.store-policy-search-copy p { margin: 0 0 11px; color: #64748b; font-size: 9px; line-height: 1.4; }
.store-policy-search-copy .store-policy-search { max-width: none; }
.store-policy-search-copy .store-policy-search label { font-size: 9px; }
.store-policy-search-copy .store-policy-search small { font-size: 8px; }
.store-policy-input-row button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.store-policy-result-active { border-color: #bfdbfe; background: linear-gradient(135deg, #eff6ff, #fff); }
.store-policy-result-banner { display: flex; align-items: flex-start; gap: 10px; }
.store-policy-result-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #1d4ed8; color: #fff; font-size: 14px; }
.store-policy-result-banner > div { min-width: 0; flex: 1; }
.store-policy-result-banner .store-card-eyebrow { color: #1d4ed8; }
.store-policy-result-banner h2 { margin: 3px 0 2px; color: #0f172a; font-size: 16px; }
.store-policy-result-banner p { margin: 0; color: #64748b; font-size: 9px; }
.store-policy-result-banner .status-pill { flex: 0 0 auto; max-width: 86px; font-size: 8px; text-align: center; }
.store-policy-result-active .store-policy-details { margin-top: 13px; }
.store-policy-result-active .store-policy-details div { border: 1px solid #dbeafe; }
.store-policy-result-active .store-policy-details strong { color: #1e3a8a; }
.store-policy-not-found { align-items: center; border-color: #fecaca; background: #fff1f2; color: #b91c1c; }
.store-policy-not-found-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #fee2e2; color: #dc2626; font-size: 14px; }
.store-policy-not-found .store-card-eyebrow { color: #dc2626; }
.store-policy-not-found h2 { margin: 3px 0 3px; color: #7f1d1d; font-size: 15px; }
.store-policy-not-found p { color: #991b1b; }
.store-policy-guide { margin-top: 10px; padding: 14px; border: 1px solid #dbe3f0; border-radius: 13px; background: #fff; }
.store-policy-guide-heading h2 { margin-top: 3px; color: #0f172a; font-size: 15px; }
.store-policy-guide-list { display: grid; gap: 8px; margin-top: 11px; }
.store-policy-guide-list > div { display: flex; align-items: flex-start; gap: 9px; }
.store-policy-guide-list > div > span { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #dbeafe; color: #1d4ed8; font-size: 9px; font-weight: 800; }
.store-policy-guide-list strong, .store-policy-guide-list p { display: block; }
.store-policy-guide-list strong { color: #1f2937; font-size: 10px; }
.store-policy-guide-list p { margin: 1px 0 0; color: #64748b; font-size: 9px; line-height: 1.35; }
.store-policy-help { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 10px 11px; border: 1px solid #fecaca; border-radius: 10px; background: #fff; }
.store-policy-help > i { margin-top: 1px; color: #dc2626; font-size: 13px; }
.store-policy-help strong, .store-policy-help span { display: block; }
.store-policy-help strong { color: #1e3a8a; font-size: 9px; }
.store-policy-help span { margin-top: 1px; color: #64748b; font-size: 8px; line-height: 1.35; }

.store-profile-identity { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 13px; background: linear-gradient(135deg, #172554, #1d4ed8); color: #fff; box-shadow: 0 8px 18px rgba(30, 64, 175, .16); }
.store-profile-photo-wrap { position: relative; flex: 0 0 auto; }
.store-profile-photo { display: block; width: 76px; height: 76px; border: 3px solid #fff; border-radius: 24px; object-fit: cover; box-shadow: 0 8px 15px rgba(0, 0, 0, .14); }
.store-profile-photo-badge { position: absolute; right: -4px; bottom: -4px; display: grid; width: 22px; height: 22px; place-items: center; border: 2px solid #1d4ed8; border-radius: 50%; background: #dc2626; color: #fff; font-size: 9px; }
.store-profile-identity-copy { min-width: 0; }
.store-profile-identity-copy .store-card-eyebrow { color: #bfdbfe; }
.store-profile-identity-copy h2 { margin: 3px 0 2px; color: #fff; font-size: 18px; }
.store-profile-identity-copy p { margin: 0; color: #dbeafe; font-size: 10px; }
.store-profile-identity-copy .store-page-button { margin-top: 10px; padding: 7px 10px; font-size: 9px; }
.store-profile-details-card, .store-profile-edit-card { margin-top: 10px; padding: 14px; border: 1px solid #dbe3f0; border-radius: 13px; background: #fff; }
.store-profile-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.store-profile-card-heading h2 { margin-top: 3px; color: #0f172a; font-size: 16px; }
.store-profile-demo-tag { padding: 4px 7px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 8px; font-weight: 800; }
.store-profile-detail-list { display: grid; gap: 0; margin: 10px 0 0; }
.store-profile-detail-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #eef2f7; }
.store-profile-detail-list dt { display: inline-flex; align-items: center; gap: 7px; color: #64748b; font-size: 9px; }
.store-profile-detail-list dt i { width: 14px; color: #dc2626; text-align: center; }
.store-profile-detail-list dd { margin: 0; color: #1f2937; font-size: 10px; font-weight: 800; text-align: right; }
.store-profile-edit-card[hidden] { display: none; }
.store-profile-close { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #dbe3f0; border-radius: 8px; background: #fff; color: #64748b; cursor: pointer; }
.store-profile-edit-grid { display: grid; gap: 9px; margin-top: 12px; }
.store-profile-edit-grid label { display: grid; gap: 4px; color: #334155; font-size: 9px; }
.store-profile-edit-grid input { padding: 8px 9px; border-radius: 8px; font-size: 10px; }
.store-profile-save { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 11px; padding: 9px 12px; border: 0; border-radius: 8px; background: #dc2626; color: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.store-profile-edit-card > small { display: block; margin-top: 8px; color: #64748b; font-size: 8px; line-height: 1.35; }
.store-profile-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; padding: 11px; border: 1px solid #bfdbfe; border-radius: 10px; background: #eff6ff; }
.store-profile-note > i { margin-top: 1px; color: #1d4ed8; font-size: 14px; }
.store-profile-note strong, .store-profile-note span { display: block; }
.store-profile-note strong { color: #1e3a8a; font-size: 10px; }
.store-profile-note span { margin-top: 2px; color: #64748b; font-size: 9px; line-height: 1.35; }

/* The policy link is an intentional app footer action with a clear icon. */
.store-benefit-policy-link { align-items: center; flex-direction: row; }
.store-benefit-policy-link-icon { display: grid !important; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #fee2e2; color: #dc2626; }
.store-benefit-policy-link-copy { display: block !important; min-width: 0; margin-right: auto; }
.store-benefit-policy-link-copy small, .store-benefit-policy-link-copy strong { display: block !important; }
.store-benefit-policy-link-copy small { color: #64748b; font-size: 8px; font-weight: 600; }
.store-benefit-policy-link-copy strong { margin-top: 1px; color: #1e3a8a; font-size: 10px; }
.store-benefit-policy-link-arrow { flex: 0 0 auto; color: #1d4ed8; font-size: 11px; }
.store-hospital-picker { margin-top: 11px; padding: 13px; border: 1px solid #dbe3f0; border-radius: 13px; background: #fff; box-shadow: 0 3px 10px rgba(15, 23, 42, .04); }
.store-hospital-picker-heading { display: flex; align-items: center; gap: 9px; }
.store-hospital-picker-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: #dbeafe; color: #1d4ed8; font-size: 15px; }
.store-hospital-picker-heading > div { min-width: 0; flex: 1; }
.store-hospital-picker-heading h2 { margin-top: 2px; color: #0f172a; font-size: 15px; }
.store-hospital-picker-heading p { margin: 2px 0 0; color: #64748b; font-size: 9px; line-height: 1.35; }
.store-hospital-picker-count { flex: 0 0 auto; padding: 4px 6px; border-radius: 999px; background: #fee2e2; color: #dc2626; font-size: 8px; font-weight: 800; }
.store-hospital-picker > label { display: block; margin: 12px 0 5px; color: #334155; font-size: 9px; font-weight: 800; }
.store-hospital-select { position: relative; display: flex; align-items: center; gap: 7px; padding: 3px 9px; border: 1px solid #cbd5e1; border-radius: 9px; background: #f8fafc; }
.store-hospital-select > i:first-child { flex: 0 0 auto; color: #dc2626; font-size: 12px; }
.store-hospital-select select { min-width: 0; flex: 1; appearance: none; padding: 8px 20px 8px 0; border: 0; outline: 0; background: transparent; color: #1f2937; font: 500 10px 'Outfit', sans-serif; cursor: pointer; }
.store-hospital-select select:focus { box-shadow: none; }
.store-hospital-select-chevron { position: absolute; right: 10px; color: #1d4ed8; font-size: 9px; pointer-events: none; }
.store-hospital-picker > small { display: block; margin-top: 6px; color: #64748b; font-size: 8px; line-height: 1.35; }
.store-hospital-picker > small i { margin-right: 3px; color: #1d4ed8; }

@media (max-width: 520px) {
    .store-profile-identity { align-items: flex-start; }
    .store-profile-photo { width: 70px; height: 70px; border-radius: 21px; }
    .store-profile-detail-list > div { align-items: flex-start; flex-direction: column; gap: 3px; }
    .store-profile-detail-list dd { padding-left: 21px; text-align: left; }
}
@media (min-width: 900px) {
    .store-policy-content, .store-profile-content { padding: 14px 34px 42px; }
    .store-policy-search-card { max-width: 820px; padding: 21px; gap: 14px; }
    .store-policy-step-icon { width: 36px; height: 36px; font-size: 13px; }
    .store-policy-search-copy h2 { font-size: 21px; }
    .store-policy-search-copy p { font-size: 11px; }
    .store-policy-search-copy .store-policy-search label { font-size: 10px; }
    .store-policy-search-copy .store-policy-search small { font-size: 9px; }
    .store-policy-result, .store-policy-guide, .store-policy-help { max-width: 820px; }
    .store-policy-result { padding: 21px; }
    .store-policy-result-icon { width: 42px; height: 42px; font-size: 17px; }
    .store-policy-result-banner h2 { font-size: 21px; }
    .store-policy-result-banner p { font-size: 10px; }
    .store-policy-result-banner .status-pill { font-size: 9px; }
    .store-policy-guide { padding: 20px; }
    .store-policy-guide-heading h2 { font-size: 18px; }
    .store-policy-guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
    .store-policy-guide-list strong { font-size: 12px; }
    .store-policy-guide-list p { font-size: 10px; }
    .store-policy-help { padding: 13px; }
    .store-profile-identity { max-width: 820px; padding: 21px; gap: 17px; }
    .store-profile-photo { width: 104px; height: 104px; border-radius: 30px; }
    .store-profile-photo-badge { width: 26px; height: 26px; font-size: 11px; }
    .store-profile-identity-copy h2 { font-size: 24px; }
    .store-profile-identity-copy p { font-size: 12px; }
    .store-profile-identity-copy .store-page-button { padding: 9px 13px; font-size: 10px; }
    .store-profile-details-card, .store-profile-edit-card, .store-profile-note { max-width: 820px; padding: 20px; }
    .store-profile-card-heading h2 { font-size: 19px; }
    .store-profile-detail-list dt { font-size: 11px; }
    .store-profile-detail-list dd { font-size: 12px; }
    .store-profile-edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .store-profile-edit-grid label { font-size: 10px; }
    .store-profile-edit-grid input { font-size: 12px; }
    .store-hospital-picker { max-width: 820px; padding: 18px; }
    .store-hospital-picker-heading h2 { font-size: 18px; }
    .store-hospital-picker-heading p { font-size: 10px; }
    .store-hospital-picker > label { font-size: 10px; }
    .store-hospital-select select { font-size: 12px; }
    .store-hospital-picker > small { font-size: 9px; }
}

/* Front-end application flow ------------------------------------------- */
.store-apply-content { padding-top: 8px; padding-bottom: 86px; }
.store-apply-layout { display: grid; gap: 10px; }
.store-apply-layout[hidden], .store-apply-success[hidden] { display: none; }
.store-apply-form-card, .store-apply-plan-card { border: 1px solid #dbe3f0; border-radius: 13px; background: #fff; box-shadow: 0 3px 10px rgba(15, 23, 42, .04); }
.store-apply-form-card { padding: 14px; }
.store-apply-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.store-apply-card-heading h2 { margin-top: 3px; color: #0f172a; font-size: 17px; }
.store-apply-card-heading p { margin: 3px 0 0; color: #64748b; font-size: 9px; line-height: 1.4; }
.store-apply-step { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #1d4ed8; color: #fff; font-size: 12px; font-weight: 800; }
.store-apply-form { margin-top: 14px; }
.store-apply-field-grid { display: grid; gap: 10px; }
.store-apply-field { display: grid; min-width: 0; gap: 5px; }
.store-apply-field > span { color: #334155; font-size: 10px; font-weight: 800; }
.store-apply-field input, .store-apply-field select { width: 100%; min-height: 38px; padding: 9px 10px; border: 1px solid #cbd5e1; border-radius: 9px; outline: 0; background: #f8fafc; color: #1f2937; font: 500 11px 'Outfit', sans-serif; }
.store-apply-field input::placeholder { color: #94a3b8; }
.store-apply-field input:focus, .store-apply-field select:focus { border-color: #1d4ed8; background: #fff; box-shadow: 0 0 0 3px rgba(29, 78, 216, .1); }
.store-apply-direct-debit { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 9px; margin-top: 13px; padding: 10px; border: 1px solid #bfdbfe; border-radius: 10px; background: #eff6ff; }
.store-apply-direct-debit-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #1d4ed8; color: #fff; font-size: 12px; }
.store-apply-direct-debit > div { min-width: 0; }
.store-apply-direct-debit .store-card-eyebrow { color: #1d4ed8; font-size: 8px; }
.store-apply-direct-debit strong { display: block; margin-top: 2px; color: #1e3a8a; font-size: 10px; }
.store-apply-direct-debit p { margin: 2px 0 0; color: #64748b; font-size: 8px; line-height: 1.35; }
.store-apply-coming-soon { padding: 4px 6px; border-radius: 999px; background: #fff; color: #1d4ed8; font-size: 8px; font-weight: 800; white-space: nowrap; }
.store-apply-submit { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 7px; margin-top: 13px; padding: 11px 14px; border: 0; border-radius: 9px; background: #dc2626; color: #fff; font: 800 11px 'Outfit', sans-serif; cursor: pointer; transition: .18s ease; }
.store-apply-submit:hover { background: #b91c1c; transform: translateY(-1px); }
.store-apply-disclaimer { display: block; margin-top: 8px; color: #64748b; font-size: 8px; line-height: 1.35; text-align: center; }
.store-apply-disclaimer i { margin-right: 3px; color: #1d4ed8; }
.store-apply-plan-card { padding: 14px; background: linear-gradient(145deg, #172554, #1d4ed8); color: #fff; box-shadow: 0 8px 18px rgba(30, 64, 175, .16); }
.store-apply-plan-card .store-card-eyebrow { color: #bfdbfe; }
.store-apply-plan-icon { display: grid; width: 42px; height: 42px; margin-top: 11px; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 18px; }
.store-apply-plan-card h2 { margin-top: 10px; color: #fff; font-size: 18px; line-height: 1.15; }
.store-apply-plan-card > p { margin: 4px 0 12px; color: #dbeafe; font-size: 9px; line-height: 1.4; }
.store-apply-plan-price { display: flex; align-items: baseline; gap: 5px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .2); }
.store-apply-plan-price strong { color: #fff; font-size: 21px; }
.store-apply-plan-price span { color: #bfdbfe; font-size: 9px; }
.store-apply-plan-benefit { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 5px 7px; border-radius: 999px; background: rgba(255, 255, 255, .13); color: #fff; font-size: 9px; font-weight: 700; }
.store-apply-plan-benefit i { color: #86efac; }
.store-apply-plan-card > small { display: block; margin-top: 13px; color: #bfdbfe; font-size: 8px; }
.store-apply-plan-card > small i { margin-right: 3px; }
.store-apply-success { margin-top: 10px; padding: 19px 14px; border: 1px solid #bbf7d0; border-radius: 13px; background: linear-gradient(145deg, #f0fdf4, #fff); box-shadow: 0 5px 14px rgba(22, 101, 52, .06); }
.store-apply-success-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: #16a34a; color: #fff; font-size: 19px; }
.store-apply-success .store-card-eyebrow { display: block; margin-top: 13px; color: #15803d; }
.store-apply-success h2 { margin-top: 3px; color: #14532d; font-size: 20px; }
.store-apply-success > p { max-width: 560px; margin: 5px 0 13px; color: #64748b; font-size: 10px; line-height: 1.45; }
.store-apply-policy-number { display: grid; gap: 3px; padding: 11px; border: 1px dashed #86efac; border-radius: 9px; background: rgba(255, 255, 255, .78); }
.store-apply-policy-number span { color: #64748b; font-size: 8px; }
.store-apply-policy-number strong { color: #166534; font: 800 16px 'Manrope', sans-serif; letter-spacing: .04em; }
.store-apply-success-next { display: grid; grid-template-columns: 29px minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 10px; padding: 9px; border: 1px solid #bfdbfe; border-radius: 9px; background: #eff6ff; }
.store-apply-success-next > i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; background: #1d4ed8; color: #fff; font-size: 11px; }
.store-apply-success-next strong, .store-apply-success-next span { display: block; }
.store-apply-success-next strong { color: #1e3a8a; font-size: 9px; }
.store-apply-success-next div > span { margin-top: 2px; color: #64748b; font-size: 8px; }
.store-apply-success-next > span { padding: 4px 6px; border-radius: 999px; background: #fff; color: #1d4ed8; font-size: 8px; font-weight: 800; white-space: nowrap; }
.store-apply-home-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; color: #1d4ed8; font-size: 10px; font-weight: 800; }

@media (min-width: 900px) {
    .store-apply-content { padding: 14px 34px 42px; }
    .store-apply-layout { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: start; gap: 16px; }
    .store-apply-form-card, .store-apply-plan-card { padding: 21px; }
    .store-apply-card-heading h2 { font-size: 22px; }
    .store-apply-card-heading p { font-size: 11px; }
    .store-apply-step { width: 36px; height: 36px; font-size: 14px; }
    .store-apply-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .store-apply-field-wide { grid-column: 1 / -1; }
    .store-apply-field > span { font-size: 11px; }
    .store-apply-field input, .store-apply-field select { min-height: 44px; font-size: 12px; }
    .store-apply-direct-debit { margin-top: 17px; padding: 12px; }
    .store-apply-direct-debit strong { font-size: 12px; }
    .store-apply-direct-debit p { font-size: 9px; }
    .store-apply-submit { padding: 13px 16px; font-size: 12px; }
    .store-apply-disclaimer { font-size: 9px; }
    .store-apply-plan-icon { width: 54px; height: 54px; font-size: 23px; }
    .store-apply-plan-card h2 { font-size: 25px; }
    .store-apply-plan-card > p { font-size: 11px; }
    .store-apply-plan-price strong { font-size: 28px; }
    .store-apply-plan-price span { font-size: 11px; }
    .store-apply-plan-benefit { font-size: 10px; }
    .store-apply-plan-card > small { font-size: 9px; }
    .store-apply-success { max-width: 820px; margin: 14px auto 0; padding: 28px; }
    .store-apply-success h2 { font-size: 28px; }
    .store-apply-success > p { font-size: 12px; }
    .store-apply-policy-number strong { font-size: 21px; }
}

/* Compact hospital selector -------------------------------------------- */
.store-hospital-picker {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 6px 8px;
    margin-top: 8px;
    padding: 9px 10px;
}
.store-hospital-picker-heading { grid-column: 1 / -1; gap: 8px; }
.store-hospital-picker-icon { width: 30px; height: 30px; border-radius: 9px; font-size: 12px; }
.store-hospital-picker-heading h2 { font-size: 13px; line-height: 1.15; }
.store-hospital-picker-heading p { overflow: hidden; margin-top: 1px; font-size: 8px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.store-hospital-picker-count { padding: 3px 5px; font-size: 7px; }
.store-hospital-picker > label { grid-column: 1; align-self: center; margin: 0; font-size: 8px; }
.store-hospital-select { grid-column: 2; min-height: 32px; gap: 5px; padding: 1px 7px; }
.store-hospital-select > i:first-child { font-size: 10px; }
.store-hospital-select select { padding: 6px 16px 6px 0; font-size: 9px; }
.store-hospital-select-chevron { right: 8px; font-size: 8px; }
.store-hospital-picker > small { grid-column: 1 / -1; overflow: hidden; margin: 0; font-size: 7px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 900px) {
    .store-hospital-picker { grid-template-columns: 104px minmax(0, 1fr); gap: 8px 12px; padding: 12px 16px; }
    .store-hospital-picker-icon { width: 34px; height: 34px; font-size: 14px; }
    .store-hospital-picker-heading h2 { font-size: 16px; }
    .store-hospital-picker-heading p { font-size: 9px; }
    .store-hospital-picker-count { font-size: 8px; }
    .store-hospital-picker > label { font-size: 9px; }
    .store-hospital-select { min-height: 36px; }
    .store-hospital-select select { padding-top: 7px; padding-bottom: 7px; font-size: 11px; }
    .store-hospital-picker > small { font-size: 8px; }
}

/* Benefits spacing and compact summary --------------------------------- */
.store-hospital-picker + .store-benefit-tabs { margin-top: 9px; }
.store-benefit-overview { gap: 8px; padding: 8px 10px; border-radius: 10px; }
.store-benefit-overview .store-section-chip { padding: 2px 5px; font-size: 7px; }
.store-benefit-overview h2 { margin: 3px 0 2px; font-size: 14px; }
.store-benefit-overview p { display: -webkit-box; overflow: hidden; font-size: 8px; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.store-benefit-limit { min-width: 75px; padding-left: 8px; }
.store-benefit-limit strong { font-size: 14px; }
.store-benefit-limit span { margin-top: 2px; font-size: 7px; }

@media (min-width: 900px) {
    .store-benefit-overview { gap: 14px; padding: 12px 16px; border-radius: 11px; }
    .store-benefit-overview .store-section-chip { font-size: 8px; }
    .store-benefit-overview h2 { font-size: 19px; }
    .store-benefit-overview p { font-size: 10px; }
    .store-benefit-limit { min-width: 110px; padding-left: 10px; }
    .store-benefit-limit strong { font-size: 18px; }
    .store-benefit-limit span { font-size: 8px; }
}

/* Primary navigation and page back control ----------------------------- */
.store-context-bar { gap: 7px; }
.store-context-back { display: inline-flex; width: 26px; height: 26px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(219, 234, 254, .35); border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; font: inherit; cursor: pointer; }
.store-context-back:hover { background: rgba(255, 255, 255, .2); }
.store-context-back i { font-size: 10px; }
.store-context-back-label { display: none !important; }
.store-context-title { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-context-hint { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-profile-policy-link { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 9px; border: 1px solid #bfdbfe; border-radius: 8px; background: #fff; color: #1d4ed8; font-size: 9px; font-weight: 800; }
.store-profile-policy-link i { font-size: 10px; }

@media (min-width: 900px) {
    .store-context-back { width: auto; height: 28px; padding: 0 8px; gap: 5px; }
    .store-context-back-label { display: inline !important; font-size: 10px; }
    .store-profile-policy-link { font-size: 10px; }
}

/* Whole-card plan selection -------------------------------------------- */
.store-plan-card-link { color: inherit; cursor: pointer; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.store-plan-card-link:hover { border-color: #93c5fd; box-shadow: 0 6px 14px rgba(30, 64, 175, .13); transform: translateY(-2px); }
.store-plan-card-link:focus-visible { outline: 3px solid rgba(29, 78, 216, .35); outline-offset: 2px; }

/* Final storefront readability and desktop refinement ------------------ */
@media (max-width: 899px) {
    .public-home .store-brand { font-size: 17px; }
    .store-search-filter, .store-search-input input, .store-search-submit { font-size: 13px; }
    .store-search-input i { font-size: 12px; }
    .store-pill { font-size: 13px; }
    .store-section-heading h2 { font-size: 15px; }
    .store-section-heading p { font-size: 12px; }
    .store-section-chip { font-size: 10px; }
    .store-plan-count { font-size: 12px; }
    .store-plan-art span { font-size: 11px; }
    .store-card-badge { font-size: 8px; }
    .store-plan-card h3 { font-size: 14px; }
    .store-plan-card p { font-size: 11px; }
    .store-rating { font-size: 11px; }
    .store-rating i { font-size: 10px; }
    .store-rating small { font-size: 10px; }
    .store-benefit { font-size: 10px; }
    .store-price strong { font-size: 14px; }
    .store-price span { font-size: 11px; }
    .store-bottom-nav a { font-size: 11px; }
    .store-bottom-nav a i { font-size: 16px; }

    .store-context-bar { font-size: 12px; }
    .store-context-hint { font-size: 11px !important; }
    .store-app-heading .store-card-eyebrow { font-size: 10px; }
    .store-app-heading h1 { font-size: 22px; }
    .store-app-heading p { font-size: 11px; }
    .store-benefit-tab > span { font-size: 12px; }
    .store-benefit-tab small { font-size: 9px; }
    .store-benefit-overview { gap: 10px; padding: 11px 13px; }
    .store-benefit-overview .store-section-chip { font-size: 8px; }
    .store-benefit-overview h2 { font-size: 16px; }
    .store-benefit-overview p { font-size: 10px; }
    .store-benefit-limit strong { font-size: 16px; }
    .store-benefit-limit span { font-size: 8px; }
    .store-benefit-list-heading h2 { font-size: 15px; }
    .store-benefit-list-heading span { font-size: 10px; }
    .store-benefit-row-copy h3 { font-size: 12px; }
    .store-benefit-row-copy p { font-size: 10px; }
    .store-benefit-status { font-size: 9px; }
    .store-benefit-note strong { font-size: 11px; }
    .store-benefit-note p { font-size: 10px; }
    .store-benefit-policy-link { font-size: 10px; }

    .store-apply-card-heading h2 { font-size: 19px; }
    .store-apply-card-heading p { font-size: 10px; }
    .store-apply-field > span { font-size: 11px; }
    .store-apply-field input, .store-apply-field select { font: 500 12px 'Outfit', sans-serif; }
    .store-apply-direct-debit .store-card-eyebrow { font-size: 9px; }
    .store-apply-direct-debit strong { font-size: 11px; }
    .store-apply-direct-debit p { font-size: 9px; }
    .store-apply-coming-soon { font-size: 9px; }
    .store-apply-submit { font: 800 12px 'Outfit', sans-serif; }
    .store-apply-disclaimer { font-size: 9px; }
    .store-apply-plan-card h2 { font-size: 19px; }
    .store-apply-plan-card > p { font-size: 10px; }
    .store-apply-plan-price strong { font-size: 22px; }
    .store-apply-plan-price span { font-size: 10px; }
    .store-apply-plan-benefit { font-size: 10px; }
    .store-apply-plan-card > small { font-size: 9px; }
}

@media (min-width: 900px) {
    .store-header-compact .store-search-wrap { max-width: 1212px; }
    .store-header-compact .store-context-bar { font-size: 13px; }
    .store-header-compact .store-context-hint { font-size: 11px !important; }
    .store-benefits-content { max-width: 1212px; padding: 24px 34px 56px; }
    .store-benefits-content .store-hospital-picker { max-width: none; margin-top: 0; padding: 18px 20px; }
    .store-benefits-content .store-hospital-picker-heading h2 { font-size: 20px; }
    .store-benefits-content .store-hospital-picker-heading p { font-size: 11px; }
    .store-benefits-content .store-hospital-picker > label { font-size: 11px; }
    .store-benefits-content .store-hospital-select select { font-size: 13px; }
    .store-benefits-content .store-hospital-picker > small { font-size: 10px; }
    .store-benefit-tabs { max-width: 680px; margin-top: 16px; margin-bottom: 14px; }
    .store-benefit-tab { padding: 14px 16px; border-radius: 12px; }
    .store-benefit-tab > i { width: 36px; height: 36px; font-size: 16px; }
    .store-benefit-tab > span { font-size: 15px; }
    .store-benefit-tab small { font-size: 11px; }
    .store-benefit-overview { gap: 16px; padding: 18px 20px; border-radius: 14px; }
    .store-benefit-overview .store-section-chip { font-size: 9px; }
    .store-benefit-overview h2 { font-size: 23px; }
    .store-benefit-overview p { font-size: 12px; }
    .store-benefit-limit { min-width: 145px; }
    .store-benefit-limit strong { font-size: 25px; }
    .store-benefit-limit span { font-size: 10px; }
    .store-benefit-list-heading { margin-top: 20px; }
    .store-benefit-list-heading h2 { font-size: 18px; }
    .store-benefit-list-heading span { font-size: 12px; }
    .store-benefit-list { gap: 9px; }
    .store-benefit-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; padding: 15px; border-radius: 12px; }
    .store-benefit-row-icon { width: 48px; height: 48px; font-size: 20px; }
    .store-benefit-row-copy h3 { font-size: 15px; }
    .store-benefit-row-copy p { font-size: 12px; }
    .store-benefit-status { max-width: 135px; padding: 7px 9px; font-size: 11px; }
    .store-benefit-note { padding: 15px; }
    .store-benefit-note strong { font-size: 13px; }
    .store-benefit-note p { font-size: 11px; }
    .store-benefit-policy-link { margin-top: 18px; padding: 15px 17px; font-size: 12px; }
    .store-benefit-policy-link strong { font-size: 12px; }

    .store-launch-ad-card { width: min(540px, calc(100vw - 48px)); padding: 34px 38px 28px; border-radius: 24px; }
    .store-launch-ad-card h1 { max-width: 450px; font-size: clamp(30px, 3.2vw, 42px); }
    .store-launch-ad-card p { max-width: 460px; font-size: 14px; }
    .store-launch-ad-points { font-size: 11px; }
    .store-launch-ad-cta { padding: 12px 17px; font-size: 13px; }
    .store-launch-ad-card > small { max-width: 460px; font-size: 9px; }
}

/* Compact mobile header alignment -------------------------------------- */
@media (max-width: 899px) {
    .store-header-compact { padding: 10px 12px 11px; }
    .store-header-compact .store-header-top { margin-bottom: 8px; }
    .store-header-compact .store-search-wrap { margin-top: 0; }
    .store-header-compact .store-context-bar { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
    .store-header-compact .store-context-back { width: 29px; height: 29px; }
    .store-header-compact .store-context-title { min-width: 0; justify-self: center; font-size: 11px; }
    .store-header-compact .store-context-hint { min-width: 0; max-width: 118px; justify-self: end; font-size: 10px !important; }
}

/* Frontend authentication flow ---------------------------------------- */
.store-auth-content { padding-top: 8px; padding-bottom: 86px; }
.store-auth-shell { max-width: 760px; margin: 0 auto; }
.store-auth-card, .store-auth-channel-card, .store-auth-success { border: 1px solid #dbe3f0; border-radius: 15px; background: #fff; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.store-auth-card { padding: 14px; }
.store-auth-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.store-auth-card-heading h2 { margin-top: 3px; color: #0f172a; font-size: 18px; }
.store-auth-card-heading p { margin: 3px 0 0; color: #64748b; font-size: 9px; line-height: 1.4; }
.store-auth-shield { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: #dbeafe; color: #1d4ed8; font-size: 15px; }
.store-auth-mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 16px 0 12px; padding: 4px; border-radius: 11px; background: #f1f5f9; }
.store-auth-mode-tabs button { padding: 8px 9px; border: 0; border-radius: 8px; background: transparent; color: #64748b; font: 800 11px 'Outfit', sans-serif; cursor: pointer; }
.store-auth-mode-tabs button.is-active { background: #fff; color: #1d4ed8; box-shadow: 0 2px 7px rgba(15, 23, 42, .09); }
.store-auth-mode-panel[hidden], .store-auth-channel-card[hidden], .store-auth-success[hidden] { display: none; }
.store-auth-social-list { display: grid; gap: 8px; }
.store-auth-social { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; padding: 9px; border: 1px solid #dbe3f0; border-radius: 11px; background: #fff; color: #1f2937; text-align: left; cursor: pointer; transition: .18s ease; }
.store-auth-social:hover { border-color: #93c5fd; background: #f8fbff; transform: translateY(-1px); }
.store-auth-social-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; font-size: 17px; }
.store-auth-social-whatsapp .store-auth-social-icon { background: #dcfce7; color: #16a34a; }
.store-auth-social-telegram .store-auth-social-icon { background: #dbeafe; color: #0284c7; }
.store-auth-social > span:nth-child(2) { min-width: 0; }
.store-auth-social strong, .store-auth-social small { display: block; }
.store-auth-social strong { color: #0f172a; font-size: 11px; }
.store-auth-social small { margin-top: 2px; color: #64748b; font-size: 8px; }
.store-auth-social > i { color: #94a3b8; font-size: 10px; }
.store-auth-divider { display: flex; align-items: center; gap: 8px; margin: 15px 0 12px; color: #94a3b8; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.store-auth-divider::before, .store-auth-divider::after { content: ''; height: 1px; flex: 1; background: #e5e7eb; }
.store-auth-form { display: grid; gap: 10px; }
.store-auth-field-grid { display: grid; gap: 10px; }
.store-auth-field { display: grid; min-width: 0; gap: 5px; }
.store-auth-field > span { color: #334155; font-size: 10px; font-weight: 800; }
.store-auth-field input { min-height: 38px; padding: 9px 10px; border: 1px solid #cbd5e1; border-radius: 9px; outline: 0; background: #f8fafc; color: #1f2937; font: 500 11px 'Outfit', sans-serif; }
.store-auth-field input::placeholder { color: #94a3b8; }
.store-auth-field input:focus { border-color: #1d4ed8; background: #fff; box-shadow: 0 0 0 3px rgba(29, 78, 216, .1); }
.store-auth-check { display: flex; align-items: flex-start; gap: 7px; color: #64748b; font-size: 8px; font-weight: 500; line-height: 1.35; }
.store-auth-check input { width: 14px; height: 14px; flex: 0 0 auto; margin: 0; accent-color: #1d4ed8; }
.store-auth-submit { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 39px; padding: 10px 13px; border: 0; border-radius: 9px; color: #fff; font: 800 11px 'Outfit', sans-serif; cursor: pointer; transition: .18s ease; }
.store-auth-submit:hover { transform: translateY(-1px); }
.store-auth-submit-blue { background: #1d4ed8; box-shadow: 0 5px 12px rgba(29, 78, 216, .16); }
.store-auth-submit-blue:hover { background: #1e40af; }
.store-auth-submit-red { background: #dc2626; box-shadow: 0 5px 12px rgba(220, 38, 38, .14); }
.store-auth-submit-red:hover { background: #b91c1c; }
.store-auth-switch { margin: 13px 0 0; color: #64748b; font-size: 9px; text-align: center; }
.store-auth-switch button { padding: 0; border: 0; background: transparent; color: #1d4ed8; font: inherit; font-weight: 800; cursor: pointer; }
.store-auth-footnote { display: flex; align-items: flex-start; gap: 6px; margin-top: 13px; padding: 9px; border: 1px solid #dbeafe; border-radius: 9px; background: #eff6ff; color: #64748b; font-size: 8px; line-height: 1.35; }
.store-auth-footnote > i { flex: 0 0 auto; margin-top: 1px; color: #1d4ed8; }
.store-auth-channel-card { padding: 14px; }
.store-auth-channel-heading { display: flex; align-items: flex-start; gap: 10px; }
.store-auth-channel-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #dcfce7; color: #16a34a; font-size: 19px; }
.store-auth-channel-heading > div { min-width: 0; }
.store-auth-channel-heading h2 { margin: 3px 0 3px; color: #0f172a; font-size: 18px; }
.store-auth-channel-heading p { margin: 0; color: #64748b; font-size: 9px; line-height: 1.4; }
.store-auth-steps { display: grid; gap: 8px; margin-top: 15px; }
.store-auth-steps > div { display: flex; align-items: flex-start; gap: 8px; }
.store-auth-steps > div > span { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #dbeafe; color: #1d4ed8; font-size: 9px; font-weight: 800; }
.store-auth-steps strong, .store-auth-steps small { display: block; }
.store-auth-steps strong { color: #1f2937; font-size: 10px; }
.store-auth-steps small { margin-top: 1px; color: #64748b; font-size: 8px; line-height: 1.35; }
.store-auth-prefilled-message { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 15px; padding: 10px; border: 1px dashed #93c5fd; border-radius: 10px; background: #f8fbff; }
.store-auth-prefilled-message > div { min-width: 0; }
.store-auth-prefilled-message code { display: block; overflow: hidden; margin-top: 3px; color: #1e3a8a; font: 500 9px/1.4 'Outfit', sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.store-auth-prefilled-message button { flex: 0 0 auto; padding: 7px 9px; border: 1px solid #bfdbfe; border-radius: 8px; background: #fff; color: #1d4ed8; font: 800 9px 'Outfit', sans-serif; cursor: pointer; }
.store-auth-demo-link { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 9px; padding: 9px; border: 1px solid #bbf7d0; border-radius: 10px; background: #f0fdf4; }
.store-auth-demo-link-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #16a34a; color: #fff; font-size: 11px; }
.store-auth-demo-link strong, .store-auth-demo-link small { display: block; }
.store-auth-demo-link strong { color: #166534; font-size: 10px; }
.store-auth-demo-link small { margin-top: 2px; color: #64748b; font-size: 8px; line-height: 1.35; }
.store-auth-demo-badge { padding: 4px 6px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 8px; font-weight: 800; }
.store-auth-channel-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.store-auth-channel-open { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 39px; padding: 9px 10px; border: 1px solid #bfdbfe; border-radius: 9px; background: #eff6ff; color: #1d4ed8; font: 800 10px 'Outfit', sans-serif; }
.store-auth-channel-actions .store-auth-submit { width: 100%; }
.store-auth-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0; border: 0; background: transparent; color: #64748b; font: 800 9px 'Outfit', sans-serif; cursor: pointer; }
.store-auth-back:hover { color: #1d4ed8; }
.store-auth-success { padding: 20px 14px; border-color: #bbf7d0; background: linear-gradient(145deg, #f0fdf4, #fff); }
.store-auth-success-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: #16a34a; color: #fff; font-size: 19px; }
.store-auth-success .store-card-eyebrow { display: block; margin-top: 13px; color: #15803d; }
.store-auth-success h2 { margin-top: 3px; color: #14532d; font-size: 21px; }
.store-auth-success > p { max-width: 590px; margin: 5px 0 13px; color: #64748b; font-size: 10px; line-height: 1.45; }
.store-auth-member { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid #bbf7d0; border-radius: 10px; background: rgba(255, 255, 255, .8); }
.store-auth-member img { width: 42px; height: 42px; border: 2px solid #fff; border-radius: 13px; object-fit: cover; box-shadow: 0 3px 8px rgba(15, 23, 42, .1); }
.store-auth-member strong, .store-auth-member span { display: block; }
.store-auth-member strong { color: #166534; font-size: 11px; }
.store-auth-member span { margin-top: 2px; color: #64748b; font-size: 8px; }
.store-auth-success-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.store-auth-success-actions .store-auth-submit { width: 100%; }
.store-auth-secondary { min-height: 39px; padding: 9px 10px; border: 1px solid #dbe3f0; border-radius: 9px; background: #fff; color: #475569; font: 800 10px 'Outfit', sans-serif; cursor: pointer; }
.store-auth-success-note { display: block; margin-top: 12px; color: #64748b; font-size: 8px; line-height: 1.35; }
.store-auth-success-note i { margin-right: 3px; color: #1d4ed8; }
.store-profile-account-link { display: inline-flex; align-items: center; gap: 5px; margin: 8px 0 0 8px; color: #dbeafe; font-size: 9px; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.store-profile-account-link:hover { color: #fff; }

@media (max-width: 520px) {
    .store-auth-card, .store-auth-channel-card, .store-auth-success { border-radius: 13px; }
    .store-auth-channel-actions, .store-auth-success-actions { grid-template-columns: 1fr; }
    .store-auth-prefilled-message code { white-space: normal; }
}

@media (min-width: 900px) {
    .store-auth-content { padding: 18px 34px 48px; }
    .store-auth-shell { max-width: 790px; }
    .store-auth-card, .store-auth-channel-card, .store-auth-success { padding: 24px; border-radius: 18px; }
    .store-auth-card-heading h2 { font-size: 23px; }
    .store-auth-card-heading p, .store-auth-channel-heading p { font-size: 11px; }
    .store-auth-social-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .store-auth-social { padding: 11px; }
    .store-auth-social strong { font-size: 12px; }
    .store-auth-social small { font-size: 9px; }
    .store-auth-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .store-auth-field-wide { grid-column: 1 / -1; }
    .store-auth-field > span { font-size: 11px; }
    .store-auth-field input { min-height: 44px; font-size: 12px; }
    .store-auth-submit, .store-auth-channel-open, .store-auth-secondary { min-height: 44px; font-size: 12px; }
    .store-auth-channel-heading h2 { font-size: 23px; }
    .store-auth-success h2 { font-size: 27px; }
    .store-auth-success > p { font-size: 12px; }
}

/* Auth readability pass: enlarge supporting text without enlarging headings */
.store-auth-app .store-card-eyebrow { font-size: 11px; }
.store-auth-app .store-auth-card-heading p { font-size: 12px; }
.store-auth-app .store-auth-mode-tabs button { padding: 10px 9px; font-size: 13px; }
.store-auth-app .store-auth-social { gap: 11px; padding: 12px; }
.store-auth-app .store-auth-social strong { font-size: 14px; }
.store-auth-app .store-auth-social small { font-size: 11px; line-height: 1.35; }
.store-auth-app .store-auth-divider { font-size: 10px; }
.store-auth-app .store-auth-field { gap: 7px; }
.store-auth-app .store-auth-field > span { font-size: 12px; }
.store-auth-app .store-auth-field input { min-height: 46px; padding: 11px 12px; font-size: 14px; }
.store-auth-app .store-auth-check { font-size: 11px; }
.store-auth-app .store-auth-submit { min-height: 46px; padding: 12px 14px; font-size: 13px; }
.store-auth-app .store-auth-switch { font-size: 11px; }
.store-auth-app .store-auth-footnote { font-size: 10px; }
.store-auth-app .store-auth-channel-heading p { font-size: 12px; }
.store-auth-app .store-auth-steps strong { font-size: 12px; }
.store-auth-app .store-auth-steps small { font-size: 11px; }
.store-auth-app .store-auth-prefilled-message code { font-size: 12px; }
.store-auth-app .store-auth-prefilled-message button { padding: 9px 10px; font-size: 11px; }
.store-auth-app .store-auth-demo-link strong { font-size: 12px; }
.store-auth-app .store-auth-demo-link small { font-size: 10px; }
.store-auth-app .store-auth-demo-badge { font-size: 10px; }
.store-auth-app .store-auth-channel-open { min-height: 46px; font-size: 12px; }
.store-auth-app .store-auth-back { font-size: 11px; }
.store-auth-app .store-auth-success > p { font-size: 12px; }
.store-auth-app .store-auth-member strong { font-size: 13px; }
.store-auth-app .store-auth-member span { font-size: 10px; }
.store-auth-app .store-auth-secondary { min-height: 46px; font-size: 12px; }
.store-auth-app .store-auth-success-note { font-size: 10px; }

/* Global small-text readability pass for the storefront preview. */
.store-search-filter,
.store-search-input input,
.store-search-submit,
.store-pill,
.store-section-heading p,
.store-plan-count,
.store-plan-art span,
.store-plan-card h3,
.store-plan-card p,
.store-rating,
.store-rating small,
.store-price strong,
.store-price span,
.store-benefit,
.store-network-promo p,
.store-network-promo button,
.store-kicker,
.store-steps strong,
.store-steps span,
.store-bottom-nav a,
.store-search-menu-heading,
.store-search-menu-heading span,
.store-search-option-meta small,
.store-search-option-meta b,
.store-page-hero p,
.store-page-hero-meta,
.store-card-eyebrow,
.store-profile-copy p,
.store-page-button,
.store-stat-card span,
.store-info-card p,
.store-info-card a,
.store-policy-empty p,
.store-policy-steps p,
.store-care-hero-card p {
    font-size: max(11px, 1em);
}

.store-card-badge,
.store-section-chip,
.store-network-promo span,
.store-price small,
.store-launch-ad-card > small {
    font-size: 10px;
}

/* Keep supporting copy readable across every storefront screen. */
.store-main small,
.store-main [class*="hint"],
.store-main [class*="help"],
.store-main [class*="note"],
.store-main [class*="disclaimer"],
.store-main [class*="meta"],
.store-main [class*="status"] {
    font-size: max(11px, 1em);
}

.store-main label,
.store-main input,
.store-main select,
.store-main textarea,
.store-main button {
    font-size: max(12px, 1em);
}

.health-pwa-prompt { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; width: min(360px, calc(100% - 36px)); padding: 16px; border: 1px solid #bfdbfe; border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(15, 23, 42, .18); }
.health-pwa-prompt strong { color: #0f172a; font-size: 15px; }
.health-pwa-prompt span { grid-column: 1 / -1; color: #64748b; font-size: 12px; line-height: 1.4; }
.health-pwa-prompt button { border: 0; border-radius: 8px; padding: 9px 12px; background: #1d4ed8; color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.health-pwa-prompt button[data-pwa-dismiss] { background: #eff6ff; color: #1d4ed8; }
