@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
    --orange: #ff3f0a;
    --green: #4bd332;
    --ink: #111;
    --muted: #666;
    --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 16px/1.5 'Open Sans', sans-serif; background: #fff; }
h1, h2 { font-family: Poppins, sans-serif; line-height: 1.08; margin: .2em 0; }
img { max-width: 100%; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -100px; padding: 10px 16px; background: #fff; color: #111; }
.skip-link:focus { top: 12px; }

.site-header { min-height: 100px; background: #030303; color: #fff; }
.header-inner { min-height: 100px; max-width: var(--max); margin: auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: min(405px, 48vw); height: auto; }
.site-header nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; text-transform: uppercase; font-size: 14px; font-weight: 600; white-space: nowrap; }
.site-header nav a, .site-header .link { color: #fff; text-decoration: none; }
.site-header nav a:hover, .site-header .link:hover { color: var(--green); }
.site-header form { display: inline; margin: 0; }
.link { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; text-transform: uppercase; }

/* Fully American Peptides tenant skin */
.tenant-fap { --orange: #c32026; --green: #1c4380; }
.tenant-fap .site-header { background: #fff; color: #102246; border-bottom: 1px solid #e5e8ee; }
.tenant-fap .site-header nav a, .tenant-fap .site-header .link { color: #102246; }
.tenant-fap .site-header nav a:hover, .tenant-fap .site-header .link:hover { color: #c32026; }
.tenant-fap .header-inner { max-width: 1400px; }
.tenant-fap .site-header nav { font-size: 16px; font-weight: 600; }
.tenant-fap .site-header nav a span { color: #050505; font-size: 17px; }
.brand-wordmark, .footer-wordmark { color: #102246; font: 700 clamp(23px,2.6vw,36px)/1 Poppins,sans-serif; letter-spacing: -1.5px; }
.brand-wordmark b, .footer-wordmark b { color: #c32026; }
.fap-flag { position: relative; width: 44px; height: 31px; margin-right: 10px; overflow: hidden; transform: skewY(-8deg); }
.fap-flag::before { position: absolute; z-index: 2; inset: 0 54% 48% 0; content: ''; background: #123f7d; }
.fap-flag i { display: block; height: 5px; margin-bottom: 3px; background: #d51f2b; }
.fap-hero { position: relative; min-height: 600px; overflow: hidden; color: #082b59; background: linear-gradient(105deg,#fff 0%,rgba(255,255,255,.98) 36%,rgba(222,238,252,.82) 65%,rgba(255,255,255,.28) 100%); }
.fap-hero::before { position: absolute; inset: 0; content: ''; opacity: .24; background: url('/assets/images/american-flag-background.jpg') center/cover no-repeat; filter: brightness(2.1) saturate(.8); }
.fap-hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(100deg,#fff 0%,rgba(255,255,255,.93) 38%,rgba(255,255,255,.18) 73%,rgba(255,255,255,0)); }
.fap-hero-inner { position: relative; z-index: 1; max-width: 1400px; min-height: 600px; margin: auto; padding: 70px 24px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; }
.fap-hero-copy { position: relative; z-index: 2; }
.fap-kicker { margin: 0 0 14px; color: #c32026; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.fap-hero h1 { margin: 0; color: #082b59; font-size: clamp(48px,6.5vw,78px); letter-spacing: -4px; }
.fap-hero h1 em { color: #d50c2b; font-style: normal; }
.fap-hero p:not(.fap-kicker) { max-width: 560px; margin: 24px 0 28px; font-size: 20px; }
.fap-journey { display: block; margin-top: 10px; font-weight: 700; }
.fap-hero-product { align-self: end; margin: 0 -30px -84px -45px; }
.fap-hero-product img { display: block; width: min(680px,56vw); margin: auto; filter: drop-shadow(0 24px 24px rgba(1,25,55,.25)); }
.fap-button { display: inline-block; min-width: 360px; padding: 13px 30px; border-radius: 5px; color: #fff; background: #d30d2b; text-decoration: none; text-align: center; font-weight: 600; letter-spacing: .3px; }
.fap-button:hover { background: #9f171c; }
.fap-pillars { max-width: 1400px; margin: auto; padding: 60px 24px; display: grid; grid-template-columns: repeat(3,1fr); text-align: center; }
.fap-pillars article { padding: 0 55px; border-right: 1px solid #cbd0d7; }
.fap-pillars article:last-child { border-right: 0; }
.fap-pillars svg { width: 92px; height: 72px; fill: none; stroke: #073c78; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.fap-pillars h2 { margin: 15px 0 12px; color: #102246; font-size: 25px; }
.fap-pillars p { margin: 0; color: #596273; }
.fap-popular { padding: 85px 24px; text-align: center; background: #f5f7fa; }
.fap-popular > h2 { margin: 0 auto 40px; color: #102246; font-size: clamp(34px,4vw,50px); }
.fap-products { max-width: var(--max); margin: 0 auto 38px; display: grid; grid-template-columns: repeat(4,1fr); gap: 25px; text-align: left; }
.fap-products article { overflow: hidden; border: 1px solid #e1e5ea; background: #fff; }
.fap-products img { width: 100%; aspect-ratio: 1.25; padding: 20px; object-fit: contain; background: #fff; }
.fap-products h3 { margin: 0; padding: 20px 22px 8px; color: #102246; font: 700 22px Poppins,sans-serif; }
.fap-products p { margin: 0; padding: 0 22px 25px; color: #596273; }
.tenant-fap .site-footer { background: #102246; }
.tenant-fap .footer-primary { background: #fff; color: #102246; }
.tenant-fap .footer-primary a { color: #102246; }
.tenant-fap .footer-legal { background: #0a1935; }
.footer-wordmark { font-size: 32px; }
.fulfillment-notice { max-width: 780px; }

.home-hero {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.08)),
        url('/assets/images/american-flag-background.jpg') center / cover no-repeat;
}
.home-hero-inner { max-width: var(--max); min-height: 630px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.hero-copy { padding: 22px 62px 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.fully-american { width: 300px; height: auto; margin: 0 0 -4px -20px; transform: rotate(-6deg); transform-origin: center; }
.member-access { margin: 0 0 8px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.member-access span { margin-right: 6px; color: #fff; }
.home-hero h1 { margin: 0 0 20px; color: #fff; font-size: clamp(44px, 5vw, 58px); letter-spacing: -2px; }
.hero-intro { max-width: 520px; margin: 0; font-size: 16px; line-height: 1.52; }
.hero-actions { max-width: 455px; margin-top: 30px; display: grid; gap: 16px; }
.hero-button { display: block; padding: 12px 22px; border-radius: 6px; color: #fff; text-decoration: none; text-align: center; font-size: 17px; font-weight: 600; }
.hero-button svg { width: 16px; height: 16px; margin-right: 9px; fill: currentColor; vertical-align: -2px; }
.hero-button-orange { background: var(--orange); }
.hero-button-green { background: var(--green); }
.hero-button:hover { filter: brightness(1.08); }

.athlete-slider { position: relative; align-self: center; min-width: 0; margin: 36px 6px 36px 0; aspect-ratio: 1; overflow: hidden; border-radius: 28px; background: #090909; box-shadow: 0 18px 45px rgba(0,0,0,.23); }
.athlete-slides, .athlete-slide { position: absolute; inset: 0; margin: 0; }
.athlete-slide { visibility: hidden; opacity: 0; transition: opacity .65s ease, visibility .65s; }
.athlete-slide.is-active { visibility: visible; opacity: 1; }
.athlete-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slider-control { position: absolute; z-index: 2; top: 50%; width: 44px; height: 58px; border: 0; border-radius: 5px; color: #fff; background: rgba(0,0,0,.28); font: 42px/1 sans-serif; cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity .2s, background .2s; }
.athlete-slider:hover .slider-control, .slider-control:focus-visible { opacity: 1; }
.slider-control:hover { background: rgba(0,0,0,.65); }
.slider-previous { left: 12px; }
.slider-next { right: 12px; }

.biological-edge { background: linear-gradient(180deg, #fff, #f4f4f4); }
.edge-inner { max-width: var(--max); min-height: 525px; margin: auto; padding: 50px 24px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: center; }
.edge-vials { align-self: end; text-align: center; }
.edge-vials img { display: block; width: min(100%, 500px); margin: auto; }
.edge-copy h2 { margin: 0 0 18px; font-size: clamp(30px, 3vw, 36px); letter-spacing: -1px; }
.edge-copy p { margin: 0; line-height: 1.55; }
.edge-icons { display: block; width: min(100%, 600px); margin-top: 26px; }

.site-footer { text-align: center; background: #050505; color: #fff; }
.footer-primary { min-height: 255px; padding: 65px 24px 45px; display: grid; place-items: center; align-content: center; gap: 26px; }
.footer-primary img { width: min(350px, 75vw); }
.footer-primary p { margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-legal { min-height: 125px; padding: 50px 24px; background: #121212; color: #ddd; font-size: 14px; }

.panel, .catalog { max-width: 920px; margin: 60px auto; padding: 48px 56px; border: 1px solid #ddd; border-radius: 18px; box-shadow: 0 18px 50px #0000000d; }
.panel h1, .catalog h1 { font-size: clamp(34px,5vw,54px); }
.panel form { display: grid; gap: 18px; margin: 28px 0; }
.panel label { display: grid; gap: 7px; font-weight: 600; }
.panel input:not([type=checkbox]) { padding: 12px; border: 1px solid #bbb; border-radius: 7px; font: inherit; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.error { padding: 12px; background: #ffe9e5; color: #8c1d0d; border-radius: 7px; }
.note { font-size: 13px; color: var(--muted); }
.confirm { padding-top: 20px; border-top: 1px solid #ddd; }
.price { color: var(--orange); font: 800 58px Poppins; }
dl { display: grid; grid-template-columns: 150px 1fr; }
dt, dd { margin: 0; padding: 10px; border-bottom: 1px solid #eee; }
.products { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.products article { padding: 18px; border: 1px solid #ddd; border-radius: 14px; }
.products img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.products h2 { font-size: 20px; }
.btn { display: inline-block; padding: 12px 25px; border: 0; border-radius: 8px; color: #fff !important; background: var(--orange); text-decoration: none; text-align: center; cursor: pointer; font: 600 16px 'Open Sans', sans-serif; }
.green { background: var(--green); }
.orange { background: var(--orange); }

/* Interior membership and commerce pages */
.interior-page, .catalog-page { min-height: 600px; padding: 70px 24px 90px; background: linear-gradient(180deg, #f7f7f7, #fff 45%); }
.interior-heading { max-width: 850px; margin: 0 auto 38px; text-align: center; }
.interior-heading h1 { margin: 4px 0 14px; font-size: clamp(38px, 5vw, 58px); letter-spacing: -2px; }
.interior-heading > p:last-child { max-width: 700px; margin: 0 auto; color: #555; font-size: 17px; }
.section-kicker, .step-label { margin: 0; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.interior-card { border: 1px solid #e4e4e4; border-radius: 18px; background: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.07); }
.form-card { max-width: 720px; margin: auto; padding: 42px 48px; }
.card-heading { margin-bottom: 26px; }
.card-heading h1, .card-heading h2 { margin: 5px 0 10px; font-size: clamp(29px, 4vw, 40px); }
.card-heading p:last-child { margin-bottom: 0; color: #666; }
.stacked-form { display: grid; gap: 20px; }
.stacked-form label, .field-grid label { display: grid; gap: 8px; font-weight: 700; }
.stacked-form .remember-label { display: flex; align-items: center; gap: 10px; width: fit-content; }
.stacked-form .remember-label input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.stacked-form input:not([type=checkbox]), .cart-line input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #c9c9c9; border-radius: 7px; background: #fff; color: #111; font: inherit; }
.stacked-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #c9c9c9; border-radius: 7px; background: #fff; color: #111; resize: vertical; font: inherit; }
.contact-layout { max-width: 1050px; margin: auto; display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.contact-details { padding: 34px; display: grid; gap: 28px; }
.contact-details div { display: grid; gap: 6px; }
.contact-details span { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.contact-details a { color: var(--ink); text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--orange); }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.stacked-form input:focus, .cart-line input:focus { border-color: var(--green); outline: 3px solid rgba(75,211,50,.18); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-help { margin: -12px 0 0; color: #666; font-size: 13px; }
.acknowledgements { margin: 0; padding: 20px; display: grid; gap: 16px; border: 1px solid #ddd; border-radius: 8px; }
.acknowledgements legend { padding: 0 7px; font-weight: 800; }
.stacked-form .acknowledgements .check-label { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; }
.acknowledgements .check-label input { flex: 0 0 20px; margin: 3px 0 0; }
.acknowledgements .check-label span { flex: 1 1 auto; min-width: 0; }
.card-footer-note { margin: 25px 0 0; padding-top: 22px; border-top: 1px solid #eee; text-align: center; color: #666; }
.card-footer-note a, .interior-card a:not(.action-button), .continue-shopping { color: #287f1c; font-weight: 700; }
.action-button { display: inline-flex; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 7px; align-items: center; justify-content: center; gap: 8px; color: #fff !important; text-decoration: none; text-align: center; cursor: pointer; font: 700 16px 'Open Sans', sans-serif; }
.action-orange { background: var(--orange); }
.action-green { background: var(--green); }
.action-button:hover { filter: brightness(1.06); }
.alert { margin: 18px 0; padding: 14px 17px; border-radius: 8px; border-left: 4px solid; }
.alert-error { border-color: #b83221; background: #ffe9e5; color: #7c2116; }
.alert-success { border-color: #378c28; background: #ecfae9; color: #245e1b; }
.alert-notice { border-color: #d28b14; background: #fff6df; color: #65460e; }
.narrow-page { display: grid; place-items: center; }
.progress-steps { max-width: 720px; margin: 0 auto 30px; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); list-style: none; counter-reset: steps; }
.progress-steps li { position: relative; display: grid; justify-items: center; gap: 8px; color: #777; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.progress-steps li::before { position: absolute; z-index: 0; top: 18px; left: -50%; width: 100%; height: 2px; content: ''; background: #ddd; }
.progress-steps li:first-child::before { display: none; }
.progress-steps li span { z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid #ccc; border-radius: 50%; background: #fff; }
.progress-steps .is-current { color: #111; }
.progress-steps .is-current span { border-color: var(--orange); background: var(--orange); color: #fff; }
.progress-steps .is-complete { color: #287f1c; }
.progress-steps .is-complete span { border-color: var(--green); background: var(--green); color: #fff; }
.progress-steps .is-complete::before, .progress-steps .is-current::before { background: var(--green); }
.account-columns, .account-dashboard { max-width: 980px; margin: auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; align-items: stretch; }
.account-columns .form-card { width: 100%; margin: 0; }
.new-member-card, .support-card { padding: 42px; display: flex; flex-direction: column; justify-content: center; background: #0a0a0a; color: #fff; }
.new-member-card h2, .support-card h2 { margin: 8px 0 15px; font-size: 29px; }
.new-member-card .action-button { margin-top: 16px; align-self: flex-start; }
.intake-card { max-width: 820px; margin: auto; padding: 44px 48px; display: grid; grid-template-columns: 70px 1fr; gap: 22px 28px; }
.secure-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #eafbe7; color: #318925; font-size: 30px; }
.intake-card h2 { margin: 5px 0 12px; font-size: 34px; }
.intake-card .action-button { margin-top: 12px; }
.confirmation-form { grid-column: 1 / -1; margin-top: 10px; padding-top: 24px; border-top: 1px solid #e6e6e6; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.check-label { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.check-label input { width: 20px; height: 20px; accent-color: var(--green); }
.privacy-note { grid-column: 1 / -1; margin: 0; color: #777; font-size: 12px; }
.telehealth-product { max-width: 980px; margin: auto; padding: 30px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: center; }
.telehealth-image img { display: block; width: 100%; border-radius: 13px; }
.telehealth-copy h2 { margin: 5px 0 8px; font-size: 34px; }
.product-price { margin: 10px 0 18px; color: var(--orange); font: 800 58px/1 Poppins, sans-serif; }
.product-price span { font-size: 27px; vertical-align: 21px; }
.paypal-container { margin-top: 24px; min-height: 45px; }
.payment-status { color: #8c1d0d; font-weight: 700; }
.account-notice { max-width: 980px; margin: 0 auto 24px; }
.status-card { padding: 42px; }
.status-card h2 { margin: 6px 0 26px; font-size: 34px; }
.account-details { margin: 0 0 28px; display: grid; grid-template-columns: 1fr; }
.account-details div { padding: 14px 0; border-bottom: 1px solid #eee; display: grid; grid-template-columns: 150px 1fr; }
.account-details dt, .account-details dd { padding: 0; border: 0; }
.account-details dt { color: #666; font-weight: 700; }
.status-pill { display: inline-flex; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.status-enabled { background: #e7fae3; color: #27791d; }
.status-pending { background: #fff2d7; color: #845507; }
.support-card { min-height: 290px; }
.member-orders { max-width: 980px; margin: 28px auto 0; padding: 34px 40px; }
.member-orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.member-orders-heading h2 { margin: 5px 0 15px; }
.member-order-table-wrap { overflow-x: auto; }
.member-order-table { width: 100%; border-collapse: collapse; }
.member-order-table th, .member-order-table td { padding: 12px 10px; border-bottom: 1px solid #e7e7e7; text-align: left; white-space: nowrap; }
.member-order-table th { color: #666; font-size: 12px; text-transform: uppercase; }
.order-confirmation-card { max-width: 760px; margin: auto; padding: 42px; }
.order-confirmation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.order-confirmation-heading h2 { margin: 5px 0 22px; font-size: 34px; }
.order-confirmation-meta { margin: 0 0 28px; display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.order-confirmation-meta div { padding: 15px; border-radius: 8px; background: #f5f6f7; }
.order-confirmation-meta dt { margin-bottom: 5px; color: #666; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.order-confirmation-meta dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }
.order-confirmation-items { border-top: 1px solid #e5e5e5; }
.order-confirmation-item, .order-confirmation-total { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e5e5e5; }
.order-confirmation-item div { display: grid; gap: 5px; }
.order-confirmation-item span { color: #666; font-size: 13px; }
.order-confirmation-total { font-size: 20px; }
.order-confirmation-total strong { color: var(--orange); }
.order-confirmation-notice { margin: 26px 0; padding: 16px 18px; border-left: 4px solid var(--green); background: #f4faf2; }
.order-confirmation-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.order-confirmation-actions .text-button { color: #287f1c; text-decoration: none; }
.catalog-page { padding-right: max(24px,calc((100vw - var(--max))/2)); padding-left: max(24px,calc((100vw - var(--max))/2)); }
.catalog-toolbar { margin: 0 0 25px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #e4e4e4; border-radius: 8px; background: #fff; }
.catalog-toolbar p { margin: 0; color: #666; }
.catalog-toolbar a { color: #287f1c; font-weight: 800; text-decoration: none; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.product-card { overflow: hidden; border: 1px solid #e5e5e5; border-radius: 15px; background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.055); }
.product-image { aspect-ratio: 1; padding: 18px; background: #fafafa; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-content { padding: 22px; display: grid; gap: 13px; }
.product-content h2 { margin: 0; font-size: 19px; line-height: 1.3; }
.product-content p { margin: 0; color: #666; }
.catalog-price { color: var(--orange); font-size: 23px; }
.product-content .action-button { width: 100%; }
.cart-layout { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.cart-items { padding: 10px 28px; }
.cart-line { padding: 20px 0; display: grid; grid-template-columns: 90px 1fr 90px 95px; gap: 18px; align-items: center; border-bottom: 1px solid #eee; }
.cart-line img { width: 90px; height: 90px; object-fit: contain; border-radius: 9px; background: #fafafa; }
.cart-product { display: grid; gap: 6px; }
.cart-product span, .cart-line label span { color: #666; font-size: 13px; }
.cart-line label { display: grid; gap: 5px; }
.cart-line input { min-height: 42px; }
.line-total { text-align: right; }
.cart-update { padding: 18px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #777; font-size: 13px; }
.text-button { padding: 8px 14px; border: 1px solid #bbb; border-radius: 6px; background: #fff; cursor: pointer; font: 700 14px 'Open Sans',sans-serif; }
.order-summary { padding: 30px; }
.order-summary h2 { margin: 0 0 24px; }
.summary-total { padding: 20px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; display: flex; justify-content: space-between; font-size: 20px; }
.summary-total strong { color: var(--orange); }
.commission-code-field { margin-top: 20px; display: grid; gap: 7px; color: #555; font-size: 13px; font-weight: 700; }
.commission-code-field small { font-weight: 400; }
.commission-code-field input { min-height: 44px; padding: 9px 11px; border: 1px solid #bbb; border-radius: 6px; text-transform: uppercase; font: inherit; }
.continue-shopping { display: inline-block; margin-top: 18px; }
.empty-cart { max-width: 680px; margin: auto; padding: 58px 30px; text-align: center; }
.empty-cart > div { color: var(--orange); font-size: 60px; line-height: 1; }
.empty-cart h2 { margin: 12px 0; font-size: 31px; }

@media (max-width: 820px) {
    .site-header, .header-inner { min-height: 82px; }
    .header-inner { padding: 12px 20px; }
    .brand img { width: min(280px, 56vw); }
    .site-header nav { gap: 14px; font-size: 12px; }
    .home-hero-inner { min-height: 0; grid-template-columns: 1fr; }
    .athlete-slider { grid-row: 1; width: min(100% - 32px, 600px); margin: 24px auto 0; }
    .hero-copy { grid-row: 2; padding: 42px 24px 56px; }
    .fully-american { margin-left: -10px; }
    .hero-actions { max-width: none; }
    .edge-inner { grid-template-columns: 1fr; gap: 12px; padding-top: 55px; text-align: center; }
    .edge-vials { order: 2; }
    .edge-copy { order: 1; }
    .edge-icons { margin-right: auto; margin-left: auto; }
    .panel, .catalog { margin: 25px 14px; padding: 32px 22px; }
    .two, .products { grid-template-columns: 1fr; }
    .interior-page, .catalog-page { padding: 48px 18px 68px; }
    .account-columns, .account-dashboard, .telehealth-product, .cart-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2,1fr); }
    .confirmation-form { align-items: stretch; flex-direction: column; }
    .confirmation-form .action-button { width: 100%; }
    .cart-line { grid-template-columns: 72px 1fr 80px; }
    .fap-pillars { grid-template-columns: 1fr; }
    .fap-pillars article { padding: 35px 22px; border-right: 0; border-bottom: 1px solid #cbd0d7; }
    .fap-pillars article:last-child { border-bottom: 0; }
    .fap-hero-inner { min-height: 0; padding: 55px 24px 0; grid-template-columns: 1fr; text-align: center; }
    .fap-hero p:not(.fap-kicker) { margin-right: auto; margin-left: auto; }
    .fap-hero-product { margin: 5px auto -45px; }
    .fap-hero-product img { width: min(600px,90vw); }
    .fap-products { grid-template-columns: repeat(2,1fr); }
    .cart-line img { width: 72px; height: 72px; }
    .line-total { grid-column: 2 / -1; text-align: left; }
}

@media (max-width: 480px) {
    .brand img { width: 205px; }
    .site-header nav { font-size: 10px; }
    .home-hero h1 { font-size: 39px; }
    .fully-american { width: 250px; }
    .athlete-slider { border-radius: 20px; }
    .footer-primary { min-height: 220px; }
    .field-grid, .product-grid { grid-template-columns: 1fr; }
    .fap-products { grid-template-columns: 1fr; }
    .tenant-fap .brand-wordmark { font-size: 17px; letter-spacing: -1px; }
    .tenant-fap .fap-flag { width: 29px; height: 22px; margin-right: 6px; }
    .tenant-fap .site-header nav { gap: 10px; }
    .tenant-fap .nav-shop span, .tenant-fap .nav-login span, .tenant-fap .nav-cart span { display: none; }
    .fap-hero h1 { font-size: 42px; letter-spacing: -2px; }
    .fap-button { min-width: 0; width: 100%; }
    .form-card, .new-member-card, .status-card, .support-card, .intake-card, .telehealth-product { padding: 28px 22px; }
    .progress-steps li { font-size: 10px; }
    .intake-card { grid-template-columns: 1fr; }
    .intake-card .secure-mark { margin: auto; }
    .intake-card > div { text-align: center; }
    .cart-line { grid-template-columns: 64px 1fr; }
    .cart-line label, .line-total { grid-column: 2; }
    .cart-update { align-items: stretch; flex-direction: column; }
    .cart-update .text-button { width: 100%; }
    .order-confirmation-card { padding: 28px 22px; }
    .order-confirmation-meta { grid-template-columns: 1fr; }
    .order-confirmation-item { align-items: flex-start; }
    .order-confirmation-actions { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .athlete-slide { transition: none; }
}

.fap-blog-page { max-width: 1040px; margin: auto; padding: 85px 24px 110px; color: #102246; }
.fap-blog-heading { max-width: 850px; }
.fap-blog-heading h1 { margin: 10px 0 22px; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -2px; }
.fap-blog-meta { color: #6e7886; }
.fap-blog-body { max-width: 790px; margin: 55px 0; font: 20px/1.75 Georgia,serif; }
.fap-blog-body blockquote { margin: 38px 0; padding: 10px 0 10px 28px; border-left: 6px solid #c32026; color: #0d3971; font-size: 30px; font-style: italic; }
.fap-comments { padding: 36px; border: 1px solid #d8dde4; border-radius: 10px; background: #fff; box-shadow: 0 16px 40px rgba(16,34,70,.08); }
.fap-comments-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.fap-comments-heading h2 { margin: 0; font-size: 32px; }
.fap-comments-heading h2 span { display: inline-block; padding: 4px 8px; border-radius: 20px; color: #fff; background: #c32026; font: 700 12px Arial,sans-serif; vertical-align: middle; }
.fap-comments-heading p { color: #687587; }
.fap-discuss-button { min-width: 190px; }
.fap-comments-notice { padding: 14px 18px; border-left: 4px solid #c32026; background: #f6f8fb; }
.fap-api-comment { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid #e3e7ec; }
.fap-comment-score { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #758399; }
.fap-comment-score b { color: #102246; }
.fap-comment-by { margin-top: 0; color: #778394; font-size: 13px; }
.fap-comment-by strong { color: #102246; }
.fap-comments-powered { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: #687587; font-size: 13px; }
.fap-ic-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid #102246; border-radius: 9px; color: #102246; background: #a8e73d; font: 900 21px Georgia,serif; transform: rotate(-3deg); }
.whp-blog-page .fap-blog-heading h1 { color: #233a2c; }
.whp-blog-page .fap-blog-body blockquote { border-left-color: var(--orange); color: #314d3b; }
.whp-blog-page .fap-comments-heading h2 span { background: var(--orange); }
@media (max-width: 620px) { .fap-comments-heading { flex-direction: column; } .fap-discuss-button { width: 100%; min-width: 0; } .fap-comments { padding: 25px 18px; } }

/* Role-based staff portal */
.staff-body { min-width: 320px; background: #f4f6f8; color: #17202a; }
.staff-header { min-height: 72px; padding: 15px clamp(20px,4vw,64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #101820; color: #fff; }
.staff-brand { color: #fff; text-decoration: none; font: 800 20px Poppins,sans-serif; }
.staff-brand span { display: block; color: #9db0c0; font: 700 11px 'Open Sans',sans-serif; letter-spacing: 1.5px; text-transform: uppercase; }
.staff-identity { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.staff-identity form { margin: 0; }
.staff-link { padding: 0; border: 0; color: #fff; background: none; text-decoration: underline; cursor: pointer; font: inherit; }
.staff-main { padding: 40px clamp(18px,4vw,64px) 80px; }
.staff-panel { max-width: 1500px; margin: auto; }
.staff-panel h1, .staff-login-card h1 { margin: 3px 0 8px; font-size: clamp(32px,4vw,48px); }
.staff-panel > p { color: #5d6974; }
.staff-eyebrow { margin: 0; color: #b54826 !important; font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.staff-tabs { margin: 22px 0 0; padding: 0 10px; display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid #b9c2ca; overflow-x: auto; }
.staff-tab { min-height: 42px; margin-bottom: -1px; padding: 10px 20px; display: inline-flex; align-items: center; border: 1px solid #b9c2ca; border-bottom-color: #b9c2ca; border-radius: 9px 9px 0 0; color: #174f8e; background: #e6ebef; text-decoration: none; font-weight: 800; white-space: nowrap; }
.staff-tab:hover { background: #f3f6f8; }
.staff-tab.current { position: relative; border-top: 4px solid #225ea8; border-bottom-color: #fff; color: #17202a; background: #fff; }
.staff-login-card { width: min(520px,100%); margin: 55px auto; padding: 40px; border: 1px solid #d9dee3; border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(16,24,32,.08); }
.staff-login-card > p { color: #5d6974; }
.staff-security-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #e5e8eb; font-size: 12px; }
.staff-filters { margin: 0 0 25px; padding: 18px; display: grid; grid-template-columns: minmax(220px,300px) minmax(260px,1fr) auto; gap: 16px; align-items: end; border: 1px solid #d9dee3; border-top: 0; border-radius: 0 0 10px 10px; background: #fff; }
.staff-filters label { display: grid; gap: 7px; color: #45515c; font-size: 13px; font-weight: 800; }
.staff-filters select, .staff-filters input { min-height: 44px; padding: 9px 12px; border: 1px solid #b9c2ca; border-radius: 6px; background: #fff; font: inherit; }
.staff-filter-actions { display: flex; align-items: center; gap: 16px; }
.staff-filter-actions output { color: #5d6974; font-weight: 700; white-space: nowrap; }
.staff-button, .approve-button { display: inline-flex; min-height: 42px; padding: 9px 17px; align-items: center; justify-content: center; border: 0; border-radius: 6px; color: #fff !important; background: #225ea8; text-decoration: none; cursor: pointer; font: 800 14px 'Open Sans',sans-serif; }
.approve-button { background: #287b35; }
.approval-form { display: grid; gap: 7px; }
.approval-form input { width: 155px; min-height: 38px; padding: 7px 9px; border: 1px solid #b9c2ca; border-radius: 5px; font: inherit; }
.commission-form { display: flex; align-items: center; gap: 6px; }
.commission-form input { width: 112px; min-height: 36px; padding: 6px 8px; border: 1px solid #b9c2ca; border-radius: 5px; text-transform: uppercase; font: inherit; }
.money-form { display: flex; align-items: center; gap: 6px; }
.money-form label { position: relative; }
.money-form input { width: 100px; min-height: 36px; padding: 6px 8px 6px 22px; border: 1px solid #b9c2ca; border-radius: 5px; font: inherit; }
.money-prefix { position: absolute; left: 9px; top: 8px; color: #6d7882; }
.staff-description-cell { min-width: 260px; max-width: 440px; }
.staff-table-wrap { overflow-x: auto; border: 1px solid #d9dee3; border-radius: 10px; background: #fff; }
.staff-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.staff-table th, .staff-table td { padding: 14px 13px; border-bottom: 1px solid #e5e8eb; text-align: left; vertical-align: middle; }
.staff-table th { color: #45515c; background: #edf1f4; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; }
.staff-table tbody tr:hover { background: #f8fafb; }
.staff-table td small { display: block; margin-top: 4px; color: #7b8791; font-size: 10px; }
.staff-table td a:not(.drill-button) { color: #174f8e; overflow-wrap: anywhere; }
.drill-button { box-sizing: border-box; width: 34px; height: 34px; padding: 0 0 2px; display: grid; place-items: center; border: 2px solid transparent; border-radius: 50%; color: #fff; background: #225ea8; text-decoration: none; font-size: 26px; line-height: 1; transition: color .22s ease,background-color .22s ease,border-color .22s ease; }
.drill-button:hover, .drill-button:focus-visible { color: #225ea8; border-color: #225ea8; background: #fff; }
.create-patient-button { flex: 0 0 30px; width: 30px; height: 30px; font-size: 22px; }
.staff-table th.staff-create-edge { width: 50px; min-width: 50px; padding-top: 10px; padding-bottom: 10px; }
.staff-table th.staff-create-edge-left { padding-left: 10px; padding-right: 10px; }
.staff-table th.staff-create-edge-right { padding-left: 10px; padding-right: 10px; }
.staff-create-edge-right .create-patient-button { margin-left: auto; }
.staff-create-edge-spacer { width: 50px; min-width: 50px; padding-left: 10px !important; padding-right: 10px !important; }
.delete-patient-form { margin: 0; }
.delete-patient-button { font-family: 'Open Sans',sans-serif; font-size: 17px; font-weight: 700; cursor: pointer; }
.patient-edit-link { font-weight: 800; }
.staff-form-panel { max-width: 820px; }
.staff-patient-form { margin-top: 24px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border: 1px solid #d9dee3; border-radius: 10px; background: #fff; }
.staff-patient-form label { display: grid; gap: 7px; color: #45515c; font-size: 13px; font-weight: 800; }
.staff-patient-form input { min-height: 44px; padding: 9px 12px; border: 1px solid #b9c2ca; border-radius: 6px; background: #fff; font: inherit; }
.staff-form-actions { grid-column: 1/-1; display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.staff-cancel { color: #174f8e; font-weight: 800; }
.staff-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.staff-status.approved { color: #176326; background: #e3f7e7; }
.staff-status.pending { color: #74520c; background: #fff1cf; }
.staff-site-badge { display: inline-flex; padding: 4px 7px; border-radius: 5px; color: #173f70; background: #e5eef8; font-size: 11px; font-weight: 900; letter-spacing: .5px; }
.staff-muted { color: #6d7882; font-size: 12px; }
.staff-empty { padding: 38px !important; color: #6d7882; text-align: center !important; }
.staff-pagination { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 7px; }
.staff-pagination a { min-width: 38px; min-height: 38px; display: grid; place-items: center; border: 1px solid #b9c2ca; border-radius: 5px; color: #225ea8; background: #fff; text-decoration: none; }
.staff-pagination a.current { color: #fff; background: #225ea8; }
.staff-back { display: inline-block; margin-bottom: 24px; color: #225ea8; font-weight: 800; }
.staff-detail-grid { margin: 25px 0 35px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #d9dee3; border-radius: 10px; background: #fff; }
.staff-detail-grid div { padding: 18px; border-right: 1px solid #e5e8eb; border-bottom: 1px solid #e5e8eb; }
.staff-detail-grid dt, .staff-detail-grid dd { padding: 0; border: 0; }
.staff-detail-grid dt { margin-bottom: 6px; color: #6d7882; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.shipping-panel { max-width: 1700px; }
.shipping-search { margin: 0 0 12px; padding: 10px; display: grid; grid-template-columns: minmax(150px,1fr) minmax(130px,.7fr) minmax(210px,1.2fr) auto auto auto; gap: 8px; align-items: end; border: 1px solid #b9c2ca; border-top: 0; border-radius: 0 0 8px 8px; background: #fff; }
.shipping-search label { display: grid; gap: 4px; color: #45515c; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.shipping-search input { width: 100%; min-height: 34px; padding: 6px 9px; border: 1px solid #aeb8c1; border-radius: 4px; font: 14px 'Open Sans',sans-serif; }
.shipping-search-button, .shipping-clear-button, .shipping-help-button, .shipping-add-button, .shipping-edit-button, .shipping-delete-button { display: inline-grid; place-items: center; border: 1px solid #174f8e; border-radius: 5px; color: #fff !important; background: #225ea8; text-decoration: none; cursor: pointer; font-weight: 900; transition: background .15s,color .15s,transform .15s; }
.shipping-search-button, .shipping-clear-button { min-height: 34px; padding: 6px 11px; font: 800 12px 'Open Sans',sans-serif; }
.shipping-clear-button { color: #174f8e !important; background: #fff; }
.shipping-help-button { width: 34px; height: 34px; border-radius: 50%; font-size: 18px; }
.shipping-summary { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #5d6974; font-size: 13px; font-weight: 700; }
.shipping-add-button { width: 34px; height: 34px; border-color: #176326; background: #287b35; font-size: 24px; line-height: 1; }
.shipping-edit-button, .shipping-delete-button { width: 30px; height: 30px; padding: 0; border-radius: 50%; font-size: 22px; line-height: 1; }
.shipping-delete-button { border-color: #a52a2a; background: #b83232; font-size: 20px; }
.shipping-search-button:hover, .shipping-help-button:hover, .shipping-edit-button:hover { background: #123f70; transform: translateY(-1px); }
.shipping-clear-button:hover { color: #fff !important; background: #45515c; }
.shipping-add-button:hover { background: #176326; transform: translateY(-1px); }
.shipping-delete-button:hover { background: #8f1f1f; transform: translateY(-1px); }
.shipping-table td { padding: 10px 9px; }
.shipping-table td form { margin: 0; }
.shipping-nowrap { white-space: nowrap; }
.shipping-form-panel { max-width: 980px; }
.shipping-record-form { margin-top: 24px; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border: 1px solid #d9dee3; border-radius: 10px; background: #fff; }
.shipping-record-form label { display: grid; gap: 7px; color: #45515c; font-size: 13px; font-weight: 800; }
.shipping-record-form input, .shipping-record-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #b9c2ca; border-radius: 6px; background: #fff; font: inherit; }
.shipping-record-form textarea { resize: vertical; }
.shipping-wide { grid-column: 1 / -1; }
.shipping-form-actions { display: flex; align-items: center; gap: 18px; }
.shipping-form-actions a { color: #174f8e; font-weight: 800; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) { .staff-filters { grid-template-columns: 1fr; } .staff-detail-grid { grid-template-columns: 1fr 1fr; } .shipping-search { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .staff-header { align-items: flex-start; flex-direction: column; } .staff-identity { width: 100%; justify-content: space-between; } .staff-login-card { margin: 20px auto; padding: 28px 22px; } .staff-detail-grid, .staff-patient-form, .shipping-search, .shipping-record-form { grid-template-columns: 1fr; } .shipping-wide { grid-column: auto; } }
.csrf-expired-notice{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:1rem;background:rgba(13,35,25,.72)}.csrf-expired-notice>div{max-width:34rem;padding:2rem;background:#fff;color:#173226;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.3)}.csrf-expired-notice h2{margin:.2rem 0 .6rem}.csrf-expired-notice p{margin:.4rem 0 1rem}.csrf-expired-notice button{padding:.8rem 1.2rem;border:0;border-radius:999px;background:#26734d;color:#fff;font:inherit;font-weight:700;cursor:pointer}
