/* NGS portal navigation, store pages and floating contact rail */
:root {
    --ngs-ink: #071a2c;
    --ngs-navy: #0b2741;
    --ngs-blue: #14649a;
    --ngs-cyan: #05b8d2;
    --ngs-paper: #f3f7fa;
    --ngs-border: #dce5ec;
}

.header {
    padding: 8px 0;
    background: rgba(7, 19, 33, .97);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

.header.scrolled {
    padding: 6px 0;
    background: rgba(7, 19, 33, .98) !important;
}

.header-inner {
    gap: 14px;
}

.header .logo-img {
    height: 44px;
    max-width: 168px;
    padding: 3px 7px;
    background: #fff;
    border-radius: 7px;
}

.header .nav {
    flex: 1;
    justify-content: flex-start;
    gap: clamp(3px, .35vw, 6px);
    min-width: 0;
}

.header .nav-link {
    color: #f7fbff;
    font-size: clamp(9px, .72vw, 10.5px);
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: var(--ngs-cyan);
}

.header .nav-link::after {
    background: var(--ngs-cyan);
}

.nav-caret {
    margin-left: 5px;
    font-size: 9px;
}

.header .mega-menu {
    width: min(760px, calc(100vw - 32px));
    max-height: min(72vh, 680px);
    overflow-y: auto;
    transition: opacity .2s ease, visibility .2s ease;
    padding: 24px 28px;
    border: 1px solid rgba(7, 26, 44, .08);
    border-radius: 12px;
    box-shadow: 0 22px 64px rgba(4, 19, 34, .24);
}

.header .has-mega-menu:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(var(--mega-menu-shift-x, 0px)) translateY(10px);
}

.header .mega-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 30px;
}

.header .mega-menu-column h4 {
    margin-bottom: 12px;
    color: #8293a2;
    border-bottom: 0;
    padding: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.header .mega-menu-list {
    gap: 4px;
}

.header .mega-menu-list a {
    color: #182532;
    font-size: 13px;
    padding: 5px 0;
}

.header .mega-menu-list a::before {
    display: none;
}

.header .mega-menu-list a:hover {
    color: var(--ngs-blue);
    padding-left: 4px;
}

.header-actions {
    gap: 7px;
    flex-shrink: 0;
}

.header-icon-link {
    position: relative;
    display: inline-flex;
    width: 32px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: #f7fbff;
    font-size: 14px;
    border-radius: 7px;
    transition: background .18s ease, color .18s ease;
}

.header-icon-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.store-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--ngs-cyan);
    color: #062033;
    font-size: 9px;
    font-weight: 800;
}

.header-subscribe,
.header-login,
.header-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.header-subscribe {
    border-color: var(--ngs-blue);
    background: var(--ngs-blue);
}

.header-signup {
    border-color: var(--ngs-cyan);
    background: var(--ngs-cyan);
    color: #062033;
}

.header-subscribe:hover,
.header-login:hover,
.header-signup:hover {
    color: #fff;
    background: #0b7ab4;
    border-color: #0b7ab4;
}

.header .mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    background: var(--ngs-cyan);
    color: var(--ngs-ink);
}

.mobile-close-btn {
    display: none;
}

.floating-social-bar {
    position: fixed;
    z-index: 950;
    top: 52%;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 46px;
    padding: 9px 5px;
    border: 1px solid rgba(9, 36, 58, .08);
    border-radius: 32px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 36px rgba(7, 26, 44, .18);
    transform: translateY(-50%);
}

.floating-social-label {
    writing-mode: vertical-rl;
    margin-bottom: 2px;
    color: #647584;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.floating-social-bar a,
.floating-social-bar button {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid #e6edf1;
    border-radius: 50%;
    background: #fff;
    color: #1b659d;
    font-size: 14px;
    padding: 0;
    cursor: pointer;
    transition: transform .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.floating-social-bar a:hover,
.floating-social-bar button:hover {
    transform: translateY(-2px);
    color: #fff;
    background: #14649a;
    box-shadow: 0 7px 16px rgba(20, 100, 154, .22);
}

.social-x-mark {
    color: #202a32;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.floating-social-bar .social-whatsapp {
    color: #fff;
    background: #23c46b;
}

.floating-social-bar .social-whatsapp:hover {
    background: #159650;
}

.floating-social-bar .social-whatsapp:focus-visible,
.floating-social-bar a:focus-visible,
.ngs-whatsapp-widget button:focus-visible,
.ngs-whatsapp-widget a:focus-visible,
.ngs-music-toggle:focus-visible {
    outline: 3px solid #45d3e4;
    outline-offset: 3px;
}

.floating-social-bar .social-email {
    color: #fff;
    background: #0b4057;
}

.portal-page-header {
    position: relative;
    overflow: hidden;
    padding: 0 0 42px;
    background:
        radial-gradient(ellipse at 82% 8%, rgba(5, 184, 210, .2), transparent 32%),
        linear-gradient(125deg, #071a2c 0%, #0b2741 62%, #123c5b 100%);
    color: #fff;
}

.portal-page-header::after {
    position: absolute;
    right: -8%;
    bottom: -100px;
    width: 44%;
    height: 220px;
    border: 1px solid rgba(140, 220, 235, .15);
    border-radius: 50%;
    content: "";
    transform: rotate(-12deg);
}

.portal-page-header .container {
    position: relative;
    z-index: 1;
}

.portal-preview-notice {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 -4px 24px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #d7e6ef;
    font-size: 12px;
}

.portal-preview-notice i {
    color: #ffc857;
}

.portal-content .portal-preview-notice {
    margin: 0 0 24px;
    border-color: #c9e3ed;
    background: #eaf7fb;
    color: #274354;
    line-height: 1.6;
}

.portal-content .portal-preview-notice p { margin: 0; }
.portal-content .portal-preview-notice i { flex: 0 0 auto; color: #087f9e; }

.home-course-section .portal-preview-notice {
    margin: 10px 0 0;
    padding: 8px 10px;
    border: 1px solid #c9e3ed;
    border-radius: 8px;
    background: #eaf7fb;
    color: #274354;
    font-size: 11px;
}

.home-course-section .portal-preview-notice p { margin: 0; }
.home-course-section .portal-preview-notice i { flex: 0 0 auto; color: #087f9e; }

.portal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    color: #9eb4c4;
    font-size: 12px;
}

.portal-breadcrumb a {
    color: #c8dce9;
}

.portal-breadcrumb a:hover {
    color: #fff;
}

.portal-heading {
    max-width: 860px;
}

.portal-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #4bd2e4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.portal-heading h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}

.portal-heading p {
    max-width: 760px;
    margin: 0;
    color: #c0d1dc;
    font-size: 16px;
    line-height: 1.7;
}

.portal-content {
    min-height: 420px;
    padding: 38px 0 76px;
    background: var(--ngs-paper);
}

.portal-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.filter-chip {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid var(--ngs-border);
    border-radius: 999px;
    background: #fff;
    color: #354b5c;
    font-size: 12px;
    font-weight: 600;
    transition: .18s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    border-color: var(--ngs-blue);
    background: #e9f4fa;
    color: var(--ngs-blue);
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.portal-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ngs-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(7, 26, 44, .045);
}

.store-card {
    display: flex;
    flex-direction: column;
}

.store-cover {
    position: relative;
    display: flex;
    min-height: 230px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 20px;
    background:
        radial-gradient(circle at 85% 16%, rgba(67, 216, 232, .58), transparent 24%),
        linear-gradient(145deg, #0b2943, #102f50 52%, #071a2c);
    color: #fff;
}

.store-cover::after {
    position: absolute;
    right: -30px;
    bottom: 20px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(180, 240, 250, .26);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 14px rgba(180, 240, 250, .04), 0 0 0 30px rgba(180, 240, 250, .03);
}

.store-cover.cover-process { background-image: radial-gradient(circle at 85% 15%, rgba(109, 225, 191, .45), transparent 28%), linear-gradient(145deg, #0a3a42, #13525b, #09262f); }
.store-cover.cover-nodes { background-image: radial-gradient(circle at 85% 15%, rgba(184, 141, 255, .46), transparent 28%), linear-gradient(145deg, #25204e, #3d3972, #15152e); }
.store-cover.cover-memory { background-image: radial-gradient(circle at 85% 15%, rgba(248, 178, 71, .46), transparent 28%), linear-gradient(145deg, #4a2c14, #744318, #29180e); }
.store-cover.cover-neuro { background-image: radial-gradient(circle at 85% 15%, rgba(255, 114, 156, .48), transparent 28%), linear-gradient(145deg, #481f43, #702c59, #27152c); }
.store-cover.cover-stack { background-image: radial-gradient(circle at 85% 15%, rgba(87, 194, 239, .5), transparent 28%), linear-gradient(145deg, #103b5d, #1a5d78, #0a263f); }
.store-cover.cover-career { background-image: radial-gradient(circle at 85% 15%, rgba(255, 207, 91, .5), transparent 28%), linear-gradient(145deg, #483619, #765626, #29200e); }
.store-cover.cover-bundle { background-image: radial-gradient(circle at 85% 15%, rgba(98, 236, 211, .5), transparent 28%), linear-gradient(145deg, #133f43, #1a6865, #0a282e); }

.cover-kicker,
.cover-bottom,
.store-cover strong,
.store-cover i {
    position: relative;
    z-index: 1;
}

.cover-kicker,
.cover-bottom {
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.store-cover i {
    margin: 9px 0;
    color: rgba(255, 255, 255, .82);
    font-size: 30px;
}

.store-cover strong {
    max-width: 86%;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
}

.cover-bottom {
    margin-top: 15px;
    letter-spacing: .04em;
    text-transform: none;
}

.portal-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.portal-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #6c7e8d;
    font-size: 10px;
    font-weight: 700;
}

.portal-card-body h2,
.resource-card h2,
.plan-card h2 {
    margin: 10px 0 8px;
    color: var(--ngs-ink);
    font-size: 17px;
    line-height: 1.35;
}

.portal-card-body h2 a {
    color: inherit;
}

.portal-card-body p,
.resource-card p,
.plan-card p {
    margin: 0 0 16px;
    color: #5d6e7c;
    font-size: 13px;
    line-height: 1.6;
}

.portal-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.portal-price,
.detail-price {
    color: var(--ngs-ink);
    font-size: 18px;
    font-weight: 800;
}

.portal-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.button:hover { transform: translateY(-1px); }
.button-small { min-height: 32px; padding: 0 10px; font-size: 11px; }
.button-primary { background: var(--ngs-blue); color: #fff; }
.button-primary:hover { background: #0c527f; color: #fff; }
.button-secondary { border-color: #cbd8e1; background: #fff; color: #18354a; }
.button-secondary:hover { border-color: #8eacbf; background: #f3f8fb; color: #102b40; }

.icon-action {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #dce5ec;
    border-radius: 50%;
    background: #fff;
    color: #5c7181;
    cursor: pointer;
}

.icon-action.is-active {
    border-color: #f1c1cd;
    background: #fff3f6;
    color: #d53e65;
}

.store-announcement {
    position: fixed;
    z-index: 1200;
    right: 90px;
    bottom: 22px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 12px 16px;
    border-radius: 9px;
    background: #0b2741;
    box-shadow: 0 10px 30px rgba(7, 26, 44, .25);
    color: #fff;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.store-announcement.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.resource-card {
    display: flex;
    min-height: 255px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.resource-tier {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eaf6ef;
    color: #237143;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.resource-tier.tier-premium { background: #f1edff; color: #6549a2; }
.resource-tier.tier-preview { background: #eaf7fb; color: #087f9e; }
.resource-format { margin-top: 18px; color: #718392; font-size: 11px; }
.resource-card h2 { margin-top: 8px; }
.resource-card .button { margin-top: auto; }

.plan-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.plan-price {
    margin: 8px 0 14px;
    color: var(--ngs-ink);
    font-size: 28px;
    font-weight: 800;
}

.plan-price span { color: #718392; font-size: 12px; font-weight: 500; }
.plan-card ul { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.plan-card li { display: flex; gap: 8px; color: #4c5e6c; font-size: 12px; }
.plan-card li i { margin-top: 3px; color: #238b63; }
.plan-card .button { margin-top: auto; }

.portal-sample-note {
    margin: 24px 0 0;
    padding: 13px 15px;
    border-left: 3px solid #e1a83c;
    background: #fff9eb;
    color: #6d5b34;
    font-size: 12px;
    line-height: 1.6;
}

.portal-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.portal-category-card {
    position: relative;
    display: flex;
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 18px 46px 18px 20px;
    border: 1px solid var(--ngs-border);
    border-radius: 10px;
    background: #fff;
    color: var(--ngs-ink);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.portal-category-card:hover {
    transform: translateY(-2px);
    border-color: #9cbacb;
    box-shadow: 0 10px 24px rgba(7, 26, 44, .08);
}

.portal-category-card span { color: #698090; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.portal-category-card strong { font-size: 15px; }
.portal-category-card i { position: absolute; top: 50%; right: 18px; color: var(--ngs-blue); transform: translateY(-50%); }

.store-listing-panel,
.checkout-panel,
.detail-panel,
.portal-state-card,
.portal-rich-copy {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid var(--ngs-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(7, 26, 44, .05);
}

.store-listing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7edf1;
}

.store-listing-head h2 { margin: 0; color: var(--ngs-ink); font-size: 20px; }
.store-listing-head span { color: #748493; font-size: 11px; }
.store-list-items { display: grid; }
.store-line-item { display: grid; grid-template-columns: 58px 1fr auto auto; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #edf1f4; }
.store-line-item--checkout { grid-template-columns: 58px minmax(0, 1fr) auto; }
.store-line-item--checkout .store-line-art { grid-column: 1; grid-row: 1 / span 3; }
.store-line-item--checkout > div { grid-column: 2 / -1; grid-row: 1; }
.store-line-item--checkout .store-quantity { grid-column: 2; grid-row: 2; justify-self: start; }
.store-line-item--checkout .store-line-price { grid-column: 3; grid-row: 2; }
.store-official-buy {
    display: inline-flex;
    min-height: 36px;
    grid-column: 2 / -1;
    grid-row: 3;
    align-items: center;
    justify-self: start;
    gap: 8px;
    padding: 0 12px;
    border-radius: 8px;
    background: #14649a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}
.store-official-buy:hover,
.store-official-buy:focus-visible { background: #087c99; color: #fff; }
.store-official-buy:focus-visible { outline: 3px solid #05b8d2; outline-offset: 2px; }
.store-line-art { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 9px; background: linear-gradient(145deg, #0b2741, #18769f); color: #fff; font-size: 20px; }
.store-line-item h3 { margin: 0 0 4px; color: var(--ngs-ink); font-size: 14px; }
.store-line-item p { margin: 0; color: #6c7e8b; font-size: 11px; }
.store-line-price { color: var(--ngs-ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
.store-quantity { display: flex; align-items: center; gap: 8px; }
.store-quantity button, .store-remove { width: 28px; height: 28px; border: 1px solid #dce5ec; border-radius: 6px; background: #fff; color: #40596b; cursor: pointer; }
.store-remove { color: #ad3f51; }
.store-summary { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 20px; color: #596d7c; font-size: 13px; }
.store-summary strong { margin-right: auto; color: var(--ngs-ink); font-size: 19px; }
.store-empty-state { padding: 40px 18px; text-align: center; }
.store-empty-state > i { color: #77a9c2; font-size: 30px; }
.store-empty-state h3 { margin: 12px 0 6px; color: var(--ngs-ink); }
.store-empty-state p { margin: 0 auto 18px; color: #6a7c89; font-size: 13px; }

.checkout-notice {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
    padding: 15px;
    border: 1px solid #f0d59a;
    border-radius: 9px;
    background: #fff9eb;
    color: #725920;
}

.checkout-notice > i { margin-top: 2px; }
.checkout-notice p { margin: 5px 0 0; font-size: 12px; }

.portal-state-card { text-align: center; }
.portal-state-card > i { color: var(--ngs-blue); font-size: 30px; }
.portal-state-card h2 { margin: 12px 0 8px; color: var(--ngs-ink); font-size: 21px; }
.portal-state-card p { max-width: 640px; margin: 0 auto 18px; color: #637583; font-size: 13px; line-height: 1.65; }
.legal-draft-card > i { color: #be7d1d; }

.portal-search-form { max-width: 800px; margin: 0 auto 24px; }
.portal-search-form label { display: block; margin-bottom: 8px; color: var(--ngs-ink); font-weight: 700; }
.portal-search-form > div { display: flex; gap: 10px; }
.portal-search-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #cbd8e1; border-radius: 7px; font: inherit; }
.portal-results-label { margin: 14px 0; color: #607383; font-size: 13px; }

.detail-panel { display: grid; grid-template-columns: minmax(180px, .75fr) 1.25fr; gap: 28px; }
.detail-art { display: grid; min-height: 270px; place-items: center; border-radius: 10px; background: radial-gradient(circle at 70% 20%, rgba(5,184,210,.42), transparent 26%), linear-gradient(145deg, #0b2741, #145b7f); color: #fff; font-size: 58px; }
.detail-copy p { color: #536776; font-size: 14px; line-height: 1.7; }
.detail-price { display: block; margin: 18px 0; font-size: 24px; }
.contact-card { padding: 22px; }
.contact-card > i { color: var(--ngs-blue); font-size: 22px; }
.contact-card h2 { margin: 12px 0 6px; color: var(--ngs-ink); font-size: 16px; }
.contact-card p, .contact-card a { color: #576b79; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.portal-rich-copy h2 { color: var(--ngs-ink); }
.portal-rich-copy p { color: #596d7b; font-size: 14px; line-height: 1.8; }

.hero .hero-buttons .btn-outline {
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, .96) !important;
    background: rgba(5, 20, 35, .46) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.hero .hero-buttons .btn-outline:hover,
.hero .hero-buttons .btn-outline:focus-visible {
    color: #071a2c !important;
    border-color: #fff !important;
    background: #fff !important;
    text-shadow: none;
}

@media (max-width: 1250px) {
    .header-inner { gap: 8px; }
    .header .logo-img { max-width: 140px; }
    .header-actions { gap: 4px; }
    .header-subscribe, .header-login, .header-signup { padding: 0 8px; font-size: 10px; }
}

@media (max-width: 1360px) {
    .header .nav { display: none; }
    .header .nav.active {
        position: fixed;
        z-index: 1100;
        top: 0;
        right: 0;
        display: flex;
        width: min(460px, 92vw);
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        overflow-y: auto;
        padding: 66px 20px 30px;
        background: #071a2c;
        box-shadow: -16px 0 50px rgba(0, 0, 0, .24);
    }

    .header .nav.active .nav-link { display: flex; min-height: 46px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.11); font-size: 14px; }
    .header .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .mobile-close-btn { position: absolute; top: 14px; right: 16px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: #fff; font-size: 18px; }
    .header .nav .has-mega-menu { width: 100%; }
    .header .nav .mega-menu { position: static; display: none; width: 100%; max-height: none; padding: 14px 12px; border: 0; border-radius: 0; background: rgba(255,255,255,.06); box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .header .nav .has-mega-menu.open .mega-menu { display: block; }
    .header .nav .mega-menu-grid { grid-template-columns: 1fr; gap: 16px; }
    .header .nav .mega-menu-column h4 { margin-bottom: 6px; color: #58cee0; }
    .header .nav .mega-menu-list a { color: #e1edf4; }
    .header .nav .mega-menu-list a:hover { color: #fff; }
}

@media (max-width: 760px) {
    .hero .container,
    .section .container,
    .portal-page-header .container,
    .portal-content .container,
    .footer .container {
        padding-inline: clamp(18px, 10.4vw, 58px);
    }

    .header .logo-img { height: 39px; max-width: 122px; }
    .header-actions { gap: 1px; }
    .header-icon-link { width: 30px; }
    .header-subscribe { display: none; }
    .header-login { min-height: 30px; padding: 0 7px; }
    .header .mobile-menu-btn { width: 34px; height: 34px; }
    .portal-preview-notice { align-items: flex-start; margin: 0 0 18px; font-size: 10px; }
    .portal-heading p { font-size: 14px; }
    .portal-content { padding: 24px 0 54px; }
    .portal-grid, .portal-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .store-cover { min-height: 196px; padding: 15px; }
    .store-cover strong { font-size: 15px; }
    .portal-card-body { padding: 14px; }
    .portal-card-body h2 { font-size: 15px; }
    .portal-card-foot { align-items: flex-start; flex-direction: column; }
    .portal-card-actions { width: 100%; }
    .portal-card-actions .button { flex: 1; }
    .store-listing-panel, .checkout-panel, .detail-panel, .portal-state-card, .portal-rich-copy { padding: 19px; }
    .detail-panel { grid-template-columns: 1fr; gap: 18px; }
    .detail-art { min-height: 170px; }
    .store-line-item { grid-template-columns: 44px 1fr auto; gap: 9px; }
    .store-line-item--checkout { grid-template-columns: 44px minmax(0, 1fr) auto; }
    .store-line-item--checkout .store-line-art { grid-column: 1; grid-row: 1 / span 3; }
    .store-line-item--checkout > div { grid-column: 2 / -1; grid-row: 1; }
    .store-line-item--checkout .store-quantity { grid-column: 2; grid-row: 2; }
    .store-line-item--checkout .store-line-price { grid-column: 3; grid-row: 2; }
    .store-official-buy { grid-column: 2 / -1; grid-row: 3; }
    .store-line-art { width: 44px; height: 44px; }
    .store-line-price { grid-column: 2; }
    .store-quantity { grid-column: 3; grid-row: 1 / span 2; }
    .store-summary { flex-wrap: wrap; justify-content: flex-start; }
    .store-summary strong { margin-right: 0; }
    .floating-social-bar { right: 5px; width: 38px; gap: 4px; padding: 7px 4px; }
    .floating-social-bar a { width: 26px; height: 26px; font-size: 12px; }
    .floating-social-bar .social-x-mark { font-size: 11px; }
    .floating-social-label { display: none; }
}

@media (max-width: 460px) {
    .header .logo-img { max-width: 94px; height: 34px; padding: 2px 4px; }
    .header-actions { gap: 0; }
    .header-icon-link { width: 27px; font-size: 12px; }
    .header-login { display: none; }
    .header-signup { min-height: 30px; padding: 0 7px; font-size: 10px; }
    .header .mobile-menu-btn { width: 32px; height: 32px; }
    .portal-grid, .portal-category-grid { grid-template-columns: 1fr; }
    .portal-heading h1 { font-size: 34px; }
    .store-cover { min-height: 205px; }
    .portal-card-foot { flex-direction: row; align-items: center; }
    .portal-card-actions { width: auto; }
    .portal-card-actions .button { flex: initial; }
    .portal-search-form > div { align-items: stretch; flex-direction: column; }
}

/* Stable, high-contrast sticky header after scrolling. */
.header { z-index: 1200 !important; }
.header.scrolled {
    top: 0 !important;
    background: rgba(7, 17, 31, .98) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .26);
}
.header.scrolled .nav-link,
.header .nav-link { color: #fff !important; }
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active { color: #00b8d9 !important; }

/* Team portraits use one consistent frame without stretching the source files. */
.doctor-image { min-height: 290px; background: #eaf0f4; }
.doctor-image > a { display: block; width: 100%; height: 100%; min-height: inherit; }
.doctor-image img { min-height: inherit; object-fit: cover; object-position: center 22%; }
.doctor-card[data-team-key="team-park-do-yun"] .doctor-image img { object-position: 82% 18%; }
.doctor-card[data-team-key="team-hong-jung-woo"] .doctor-image img { object-position: 90% 18%; }
.doctor-card[data-team-key="team-hwang-ye-jin"] .doctor-image img { object-position: 24% 18%; }
.team-name-link { color: inherit; text-decoration: none; }
.team-name-link:hover { color: #007e9f; }
.doctor-profile-link,
.team-profile-link,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #087e9e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.doctor-profile-link { margin-top: 8px; }
.team-bio-hint { color: #748596 !important; font-size: 12px !important; }

.team-page-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}
.team-page-intro p { margin: 0; color: #526579; }
.team-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.team-profile-card {
    display: grid;
    grid-template-columns: minmax(145px,  .8fr) minmax(0, 1.2fr);
    min-height: 270px;
    overflow: hidden;
    border: 1px solid #dce5ed;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(7, 31, 51, .08);
}
.team-profile-photo,
.team-detail-photo {
    display: block;
    min-height: 270px;
    overflow: hidden;
    background: #eaf0f4;
}
.team-profile-photo img,
.team-detail-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center 20%;
}
.team-photo-team-poonam-sonawane img { object-position: 55% 28%; }
.team-photo-team-park-do-yun img { object-position: 86% 20%; }
.team-photo-team-hong-jung-woo img { object-position: 90% 18%; }
.team-photo-team-hwang-ye-jin img { object-position: 20% 18%; }
.team-profile-card-copy { padding: 26px 24px; align-self: center; }
.team-profile-area {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 30px;
    background: #e9f5f8;
    color: #17647c;
    font-size: 11px;
    font-weight: 700;
}
.team-profile-card h2,
.team-detail-copy h2 { margin: 15px 0 7px; color: #102a43; font-size: 24px; line-height: 1.2; }
.team-profile-card h2 a { color: inherit; text-decoration: none; }
.team-profile-role { margin: 0 0 12px; color: #147bb1; font-size: 13px; font-weight: 700; }
.team-profile-card-copy > p:not(.team-profile-role) { color: #526579; font-size: 13px; line-height: 1.65; }
.team-profile-link { margin-top: 4px; font-size: 13px; }
.team-profile-detail {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    overflow: hidden;
    border: 1px solid #dce5ed;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(7, 31, 51, .09);
}
.team-detail-photo { min-height: 440px; }
.team-detail-copy { padding: clamp(28px, 5vw, 60px); align-self: center; }
.team-detail-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.team-detail-copy > p:not(.team-profile-role) { color: #526579; line-height: 1.8; }
.team-bio-pending {
    display: flex;
    gap: 12px;
    margin: 22px 0;
    padding: 16px;
    border: 1px solid #dce5ed;
    border-radius: 14px;
    background: #f4f7fa;
    color: #526579;
}
.team-bio-pending i { margin-top: 3px; color: #147bb1; }
.team-bio-pending p { margin: 0; font-size: 13px; line-height: 1.7; }
.team-profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.about-page-content { display: grid; gap: 48px; }
.about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr);
    align-items: center;
    gap: 36px;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 24px;
    background: linear-gradient(130deg, #0b1f33, #123b5d);
    color: #fff;
}
.about-story-copy .portal-eyebrow { color: #48c5dc; }
.about-story-copy h2,
.about-section-heading h2,
.about-editorial-note h2 { margin: 10px 0 16px; color: inherit; font-size: clamp(26px, 3vw, 36px); }
.about-story-copy p { max-width: 720px; color: rgba(255,255,255,.82); line-height: 1.8; }
.about-story-copy .button { margin-top: 14px; }
.about-story-art {
    display: grid;
    place-items: center;
    min-height: 220px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 22px;
    background: radial-gradient(circle at 50% 40%, rgba(0,184,217,.34), transparent 62%), rgba(255,255,255,.04);
}
.about-story-art i { color: #48c5dc; font-size: 76px; }
.about-story-art span { margin-top: -26px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .22em; }
.about-section-heading { margin-bottom: 20px; color: #102a43; }
.about-offering-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.about-offering-card {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 20px;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid #dce5ed;
    border-radius: 16px;
    background: #fff;
    color: #102a43;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.about-offering-card:hover { transform: translateY(-3px); border-color: #9bd8e5; box-shadow: 0 12px 30px rgba(7,31,51,.08); }
.about-offering-card > i:first-child { color: #087e9e; font-size: 20px; }
.about-offering-card strong,
.about-offering-card small { display: block; }
.about-offering-card strong { font-size: 14px; }
.about-offering-card small { margin-top: 5px; color: #637789; font-size: 12px; line-height: 1.5; }
.about-offering-card .offering-arrow { color: #087e9e; font-size: 13px; }
.about-editorial-note {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    gap: 24px 36px;
    padding: 28px;
    border-radius: 20px;
    background: #eaf4f7;
    color: #102a43;
}
.about-editorial-note h2 { font-size: 24px; }
.about-editorial-note p { margin: 0; color: #526579; line-height: 1.8; }
.about-editorial-note .text-link { grid-column: 2; }

/* Two-row desktop navigation keeps every label readable at laptop widths. */
@media (min-width: 1361px) {
    .header { padding: 10px 0 5px; }
    .header-inner { flex-wrap: wrap; align-items: center; gap: 4px 18px; }
    .header .logo { order: 1; }
    .header .logo-img { height: 48px; max-width: 172px; }
    .header-actions { order: 2; gap: 9px; margin-left: auto; }
    .header-icon-link { width: 34px; height: 36px; font-size: 15px; }
    .header-subscribe, .header-login, .header-signup { min-height: 36px; padding: 0 14px; border-radius: 9px; font-size: 12px; }
    .header .nav {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2px clamp(7px, .85vw, 15px);
        min-height: 42px;
        padding-top: 6px;
        border-top: 1px solid rgba(255,255,255,.12);
    }
    .header .nav-link { padding: 8px 0; font-size: clamp(12px, .78vw, 13px); }
    .header .nav-link .nav-caret { margin-left: 6px; font-size: 9px; }
    .header.scrolled { padding: 7px 0 4px; }
}

@media (min-width: 761px) and (max-width: 1600px) {
    .hero .container,
    .section .container,
    .portal-page-header .container,
    .portal-content .container,
    .footer .container {
        padding-inline: 64px;
    }
}

/* The supplied files for three profiles are already cropped at source.
   Use a labelled, temporary portrait placeholder instead of showing a cut-off face. */
.team-photo-placeholder {
    display: flex;
    min-height: 270px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 25%, rgba(0,184,217,.25), transparent 38%),
        linear-gradient(145deg, #eaf3f7, #d8e6ed);
    color: #526579;
    text-align: center;
    text-decoration: none;
}
.team-photo-initials {
    display: grid;
    width: clamp(72px, 7vw, 100px);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(18,59,93,.14);
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    box-shadow: 0 12px 28px rgba(7,31,51,.1);
    color: #123b5d;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: .04em;
}
.team-photo-message { max-width: 190px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.doctor-image .team-photo-placeholder { min-height: inherit; }
.team-profile-photo .team-photo-placeholder { min-height: inherit; }
.team-detail-photo .team-photo-placeholder { min-height: inherit; }

.process-section .process-header { position: relative; z-index: 2; }
.process-section .process-header h2 { color: #fff; }
.process-section .process-header p { color: #d7e7f2; }
.process-section .process-step h4 { color: #fff; }
.process-section .process-step p { color: #d1e0ec; }
.process-section .process-step-num {
    background: linear-gradient(135deg, #087c99, #155f9b);
    color: #fff;
    box-shadow: 0 0 0 8px rgba(0,184,217,.16), 0 12px 32px rgba(0,0,0,.24);
}
.process-section .process-steps::before {
    background: linear-gradient(90deg, #45d2e6, #4798dc, #45d2e6);
    opacity: .8;
}

@media (max-width: 900px) {
    .team-profile-grid { grid-template-columns: 1fr; }
    .team-profile-detail { grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr); }
}
@media (max-width: 760px) {
    .team-page-intro { align-items: flex-start; flex-direction: column; }
    .team-profile-card { grid-template-columns: 34% minmax(0, 1fr); min-height: 240px; }
    .team-profile-photo { min-height: 240px; }
    .team-profile-card-copy { padding: 18px 16px; }
    .team-profile-card h2 { font-size: 20px; }
    .team-profile-detail,
    .about-story { grid-template-columns: 1fr; }
    .team-detail-photo { min-height: 330px; max-height: 430px; }
    .about-story-art { min-height: 150px; }
    .about-offering-grid,
    .about-editorial-note { grid-template-columns: 1fr; }
    .about-editorial-note .text-link { grid-column: 1; }
}

.about-ceo-feature {
    display: grid;
    grid-template-columns: minmax(270px, .82fr) minmax(0, 1.18fr);
    overflow: hidden;
    border: 1px solid #d6e5ec;
    border-radius: 26px;
    background: linear-gradient(130deg, #0b1f33, #123b5d);
    color: #fff;
    box-shadow: 0 20px 54px rgba(7,31,51,.13);
}
.about-ceo-photo,
.ceo-profile-portrait {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #dce9ef;
}
.about-ceo-photo { min-height: 455px; }
.about-ceo-photo img,
.ceo-profile-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: 52% 36%;
}
.about-ceo-photo::after,
.ceo-profile-portrait::after {
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(0deg, rgba(4,17,30,.7), transparent);
    content: "";
    pointer-events: none;
}
.about-ceo-photo figcaption,
.ceo-profile-portrait figcaption {
    position: absolute;
    z-index: 1;
    bottom: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(7,25,42,.74);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}
.about-ceo-copy { align-self: center; padding: clamp(28px, 5vw, 58px); }
.about-ceo-copy .portal-eyebrow { color: #61d3e4; }
.about-ceo-copy h2 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}
.about-ceo-copy .team-profile-role { color: #7ed9e8; }
.about-ceo-copy > p:not(.team-profile-role) {
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.8;
}
.about-ceo-copy blockquote {
    margin: 22px 0;
    padding: 4px 0 4px 16px;
    border-left: 3px solid #20bfd3;
    color: #fff;
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 700;
    line-height: 1.5;
}
.ceo-focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
}
.ceo-focus-tags li {
    padding: 8px 11px;
    border: 1px solid rgba(126,217,232,.3);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #d8f6fa;
    font-size: 11px;
    font-weight: 700;
}
.about-ceo-copy .button { display: inline-flex; align-items: center; gap: 9px; }

.ceo-profile-page { display: grid; gap: 28px; }
.ceo-profile-hero {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border: 1px solid #dce5ed;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(7,31,51,.1);
}
.ceo-profile-portrait { min-height: 500px; }
.ceo-profile-portrait img { object-position: 52% 36%; }
.ceo-profile-intro { align-self: center; padding: clamp(30px, 5vw, 64px); }
.ceo-profile-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid #c9e8ee;
    border-radius: 999px;
    background: #eff9fb;
    color: #087c99;
    font-size: 12px;
    font-weight: 800;
}
.ceo-profile-intro h2 {
    margin: 22px 0 18px;
    color: #102a43;
    font-size: clamp(29px, 3.5vw, 43px);
    line-height: 1.12;
}
.ceo-profile-intro > p {
    color: #526579;
    font-size: 15px;
    line-height: 1.8;
}
.ceo-profile-intro .button { margin-top: 14px; }
.ceo-profile-focus { padding: 14px 0; }
.ceo-profile-section-heading { max-width: 720px; margin-bottom: 22px; }
.ceo-profile-section-heading h2 {
    margin: 10px 0 0;
    color: #102a43;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
}
.ceo-focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.ceo-focus-card {
    min-height: 190px;
    padding: 24px;
    border: 1px solid #dce5ed;
    border-radius: 19px;
    background: linear-gradient(150deg, #fff, #f3f8fa);
    box-shadow: 0 10px 28px rgba(7,31,51,.05);
}
.ceo-focus-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: #e6f6f8;
    color: #087c99;
    font-size: 18px;
}
.ceo-focus-card h3 { margin: 18px 0 8px; color: #102a43; font-size: 17px; }
.ceo-focus-card p { margin: 0; color: #526579; font-size: 13px; line-height: 1.7; }
.ceo-profile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 30px clamp(22px, 4vw, 42px);
    border-radius: 22px;
    background: linear-gradient(120deg, #0b1f33, #123b5d);
    color: #fff;
}
.ceo-profile-cta .portal-eyebrow { color: #61d3e4; }
.ceo-profile-cta h2 { margin: 8px 0 0; color: #fff; font-size: clamp(20px, 2.5vw, 28px); }
.ceo-profile-cta .button-secondary {
    border-color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.08);
    color: #fff;
}
.ceo-profile-cta .button-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,.18);
    color: #fff;
}

@media (max-width: 900px) {
    .about-ceo-feature,
    .ceo-profile-hero { grid-template-columns: 1fr; }
    .about-ceo-photo { min-height: 400px; max-height: 560px; }
    .ceo-profile-portrait { min-height: 430px; max-height: 620px; }
    .ceo-focus-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .about-ceo-photo { min-height: 330px; max-height: 470px; }
    .about-ceo-copy { padding: 27px 22px 30px; }
    .about-ceo-copy > p:not(.team-profile-role) { font-size: 14px; }
    .ceo-profile-portrait { min-height: 350px; max-height: 460px; }
    .ceo-profile-intro { padding: 28px 22px; }
    .ceo-profile-intro > p { font-size: 14px; }
    .ceo-focus-grid { grid-template-columns: 1fr; }
    .ceo-profile-cta { align-items: flex-start; flex-direction: column; }
}

/* Quick links shown in the footer, matching the supplied section shortcut reference. */
.footer-page-shortcuts {
    padding: 24px 0 28px;
    border-top: 1px solid #e4ebf0;
    background: #f5f8fa;
}
.footer-page-shortcuts .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-page-shortcuts-title {
    margin: 0 0 12px;
    color: #667783;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}
.footer-page-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}
.footer-page-shortcuts-grid > a {
    display: grid;
    min-height: 58px;
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid #e0e7ec;
    border-radius: 12px;
    background: #fff;
    color: #17364b;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(10, 38, 58, .035);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.footer-page-shortcuts-grid > a:hover {
    transform: translateY(-1px);
    border-color: #91cbd6;
    box-shadow: 0 7px 18px rgba(10, 38, 58, .09);
}
.footer-page-shortcuts-grid > a:focus-visible { outline: 3px solid #1aa3bc; outline-offset: 2px; }
.footer-shortcut-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #d6e3eb;
    border-radius: 10px;
    background: #eef5f9;
    color: #176b98;
    font-size: 15px;
}
.footer-page-shortcuts-grid strong { min-width: 0; font-size: 14px; line-height: 1.3; }
.footer-shortcut-arrow { color: #8093a0; font-size: 12px; }

.membership-intro,
.contact-page-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 0 0 22px;
    padding: 24px clamp(20px, 3vw, 32px);
    border: 1px solid #dce8ef;
    border-radius: 18px;
    background: linear-gradient(130deg, #f7fbfd, #edf6f8);
}
.membership-intro h2,
.contact-page-intro h2 { margin: 7px 0 8px; color: #102a43; font-size: clamp(20px, 2.5vw, 27px); }
.membership-intro p,
.contact-page-intro p { max-width: 720px; margin: 0; color: #536879; font-size: 14px; line-height: 1.65; }
.membership-intro .button,
.contact-page-intro .button { flex: 0 0 auto; white-space: nowrap; }
.plan-preview-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eaf4f8;
    color: #28728b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.plan-card .plan-price { font-size: 20px; }
.membership-preview-note,
.contact-form-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 15px 17px;
    border: 1px solid #cfe3ea;
    border-radius: 12px;
    background: #f2f9fb;
    color: #24485c;
}
.membership-preview-note > i,
.contact-form-hint > i { flex: 0 0 auto; margin-top: 2px; color: #087f9c; }
.membership-preview-note p,
.contact-form-hint p { margin: 0; font-size: 13px; line-height: 1.65; }
.contact-grid { margin-bottom: 18px; }

.faq-page-intro {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}
.faq-page-intro p { max-width: 690px; margin: 0; color: #536879; line-height: 1.65; }
.faq-page-intro .button { flex: 0 0 auto; }
.faq-category-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.faq-category-links a {
    padding: 8px 12px;
    border: 1px solid #d9e5eb;
    border-radius: 999px;
    background: #f7fafb;
    color: #24536a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.faq-category-links a:hover { border-color: #1aa3bc; background: #eef9fb; }
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-category-title { margin: 26px 0 10px; color: #17364b; font-size: 18px; scroll-margin-top: 110px; }
.faq-item {
    margin: 9px 0;
    overflow: hidden;
    border: 1px solid #e0e8ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(13, 42, 61, .035);
    scroll-margin-top: 110px;
}
.faq-item summary {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 18px;
    color: #17364b;
    cursor: pointer;
    font-size: 14px;
    font-weight: 750;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: 0 0 auto; color: #178ca5; transition: transform .18s ease; }
.faq-item[open] summary { border-bottom: 1px solid #edf1f4; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item summary:focus-visible { outline: 3px solid #1aa3bc; outline-offset: -3px; }
.faq-answer { padding: 13px 18px 17px; color: #526879; font-size: 13px; line-height: 1.75; }
.faq-answer p { margin: 0; }
.faq-contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 920px;
    margin: 24px auto 0;
    padding: 18px 20px;
    border-radius: 14px;
    background: #f0f7f9;
}
.faq-contact-cta p { margin: 0; color: #24485c; font-weight: 700; }

.search-start { margin-top: 26px; }
.search-start h2,
.search-result-section h2 { margin: 0 0 13px; color: #17364b; font-size: 19px; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 9px; }
.search-suggestions a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid #dce7ed;
    border-radius: 999px;
    background: #f7fafb;
    color: #23516a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.search-suggestions a i { color: #178ca5; font-size: 10px; }
.search-result-section { margin-top: 28px; }
.source-product-search-grid,
.search-text-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.source-product-search-card,
.search-text-result {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    padding: 17px;
    border: 1px solid #e0e8ed;
    border-radius: 13px;
    background: #fff;
    color: #17364b;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(13, 42, 61, .04);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.source-product-search-card:hover,
.search-text-result:hover { transform: translateY(-2px); border-color: #91cbd6; box-shadow: 0 10px 24px rgba(13, 42, 61, .09); }
.source-product-search-card > span,
.search-text-result > span { color: #17849a; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.source-product-search-card strong,
.search-text-result strong { font-size: 14px; line-height: 1.5; }
.source-product-search-card small,
.search-text-result small { color: #647887; font-size: 12px; line-height: 1.6; }
.search-empty-state { margin: 20px 0; padding: 30px; border: 1px dashed #cbd9e1; border-radius: 14px; text-align: center; }
.search-empty-state > i { color: #1689a2; font-size: 22px; }
.search-empty-state h2 { margin: 11px 0 7px; color: #17364b; font-size: 19px; }
.search-empty-state p { margin: 0; color: #657986; font-size: 13px; }

@media (max-width: 760px) {
    .membership-intro,
    .contact-page-intro,
    .faq-page-intro,
    .faq-contact-cta { align-items: flex-start; flex-direction: column; }
    .membership-intro .button,
    .contact-page-intro .button,
    .faq-page-intro .button { width: fit-content; white-space: normal; }
    .faq-category-links { gap: 6px; }
    .faq-category-links a { padding: 7px 10px; }
}
@media (max-width: 520px) {
    .footer-page-shortcuts { padding: 20px 0 22px; }
    .footer-page-shortcuts .container { padding: 0 14px; }
    .footer-page-shortcuts-grid { gap: 8px; }
    .footer-page-shortcuts-grid > a { gap: 8px; padding: 8px; }
    .footer-page-shortcuts-grid strong { font-size: 13px; }
    .source-product-search-grid,
    .search-text-results { grid-template-columns: 1fr; }
}

/* Compact right-side social rail on phones without narrowing the page layout. */
@media (max-width: 760px) {
    .floating-social-bar {
        position: fixed;
        top: 50%;
        right: 4px;
        bottom: auto;
        left: auto;
        display: flex;
        width: 28px;
        max-width: calc(100vw - 8px);
        max-height: calc(100dvh - 32px);
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 3px;
        margin: 0;
        padding: 5px 2px;
        transform: translateY(-50%);
    }
    .floating-social-label { display: none; }
    .floating-social-bar a,
    .floating-social-bar button {
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    .floating-social-bar .social-x-mark { font-size: 10px; }
}

.ngs-whatsapp-widget {
    position: fixed;
    z-index: 980;
    right: 76px;
    bottom: 22px;
    width: min(360px, calc(100vw - 112px));
    overflow: hidden;
    border: 1px solid #dce8ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(4, 24, 39, .25);
    color: #183044;
    animation: ngs-widget-in .2s ease-out both;
}

.ngs-whatsapp-widget[hidden] { display: none !important; }

.ngs-whatsapp-widget__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(125deg, #06273a, #0a5268);
    color: #fff;
}

.ngs-whatsapp-widget__brand-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: #25c76a;
    color: #fff;
    font-size: 23px;
}

.ngs-whatsapp-widget__brand {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.ngs-whatsapp-widget__brand strong { font-size: 15px; }
.ngs-whatsapp-widget__brand small { color: rgba(255, 255, 255, .78); font-size: 12px; }

.ngs-whatsapp-widget__close {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    cursor: pointer;
}

.ngs-whatsapp-widget__body {
    padding: 18px 18px 10px;
    color: #506473;
    font-size: 14px;
    line-height: 1.65;
}

.ngs-whatsapp-widget__body p { margin: 0 0 10px; }
.ngs-whatsapp-widget__body .ngs-whatsapp-widget__greeting { color: #17384b; font-weight: 700; }

.ngs-whatsapp-widget__footer {
    display: grid;
    gap: 9px;
    padding: 8px 18px 18px;
}

.ngs-whatsapp-widget__footer > a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 12px;
    background: #20b963;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.ngs-whatsapp-widget__footer > a:hover { background: #15994e; transform: translateY(-1px); }
.ngs-whatsapp-widget__footer > small { color: #778894; font-size: 11px; text-align: center; }

.ngs-music-toggle {
    position: fixed;
    z-index: 940;
    bottom: 20px;
    left: 20px;
    display: flex;
    min-width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(51, 205, 224, .5);
    border-radius: 999px;
    background: linear-gradient(135deg, #08283d, #0b526b);
    box-shadow: 0 10px 28px rgba(4, 29, 47, .28);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ngs-music-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(4, 29, 47, .36);
}

.ngs-music-toggle[aria-pressed="true"] {
    border-color: #49d8e5;
    background: linear-gradient(135deg, #087e91, #13a9b6);
}

.ngs-music-toggle > i { color: #7feaf1; font-size: 16px; }

@keyframes ngs-widget-in {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
    .ngs-whatsapp-widget {
        right: 40px;
        bottom: 68px;
        width: min(360px, calc(100vw - 56px));
    }

    .ngs-music-toggle {
        bottom: 14px;
        left: 12px;
        min-width: 44px;
        height: 44px;
        padding: 0 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ngs-whatsapp-widget { animation: none; }
    .ngs-music-toggle,
    .ngs-whatsapp-widget__footer > a { transition: none; }
}

/* Editorial listings and paid-story states */
.editorial-grid,
.payment-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.editorial-card { overflow: hidden; }
.editorial-card > a:first-child img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.editorial-card .portal-card-body { display: flex; flex-direction: column; min-height: 240px; }
.editorial-card h2 { margin: 10px 0; font-size: 20px; line-height: 1.35; }
.editorial-card h2 a { color: inherit; }
.editorial-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    color: #17677d;
    font-size: 13px;
    font-weight: 750;
}
.editorial-card-foot a { white-space: nowrap; }
.editorial-database-notice {
    display: grid;
    gap: 6px;
    margin-bottom: 20px;
    padding: 18px 22px;
    border: 1px solid #b8dfe8;
    border-radius: 16px;
    background: linear-gradient(135deg, #effafd, #fff);
    color: #15394e;
}
.editorial-database-notice p { margin: 0; color: #526b7c; }
.editorial-source-note { display: block; margin-top: 8px; color: #687e8e; font-size: 12px; line-height: 1.5; }
.editorial-article { max-width: 920px; margin: 0 auto; padding: clamp(22px, 5vw, 54px); }
.editorial-article-image {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 26px;
}
.editorial-article h2 { margin: 10px 0 14px; font-size: clamp(25px, 4vw, 38px); line-height: 1.2; }
.editorial-article-excerpt { color: #50677b; font-size: 17px; line-height: 1.75; }
.editorial-article-body { margin-top: 26px; border-top: 1px solid #dbe4ea; padding-top: 26px; color: #243c50; font-size: 16px; line-height: 1.85; }
.article-paywall {
    display: grid;
    justify-items: start;
    gap: 13px;
    margin-top: 26px;
    padding: 22px;
    border: 1px solid #cde5ec;
    border-radius: 16px;
    background: linear-gradient(135deg, #f4fbfd, #fff);
}
.article-paywall > span { color: #17677d; font-weight: 800; }
.article-paywall > strong { font-size: 24px; color: #10283c; }
.article-paywall small { max-width: 520px; color: #5e7180; line-height: 1.6; }
.article-checkout-preview {
    display: grid;
    width: min(100%, 620px);
    gap: 10px;
    padding: 16px;
    border: 1px dashed #a8cfdb;
    border-radius: 12px;
    background: #f3fbfd;
}
.article-checkout-preview > strong { color: #17677d; }
.article-checkout-preview p { margin: 0; color: #50677b; line-height: 1.6; }
.article-checkout-preview .button[disabled] { cursor: not-allowed; opacity: .72; }
.article-checkout-preview small { display: block; }
.payment-choice-card { display: grid; align-content: start; justify-items: start; gap: 13px; }
.payment-choice-card h2 { margin: 0; }
.payment-choice-card p { color: #586d7d; line-height: 1.65; }
.payment-choice-card .button { margin-top: 5px; }
.payment-choice-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #e8f7fa;
    color: #087f93;
    font-size: 23px;
    font-weight: 900;
}
@media (max-width: 700px) {
    .editorial-grid,
    .payment-choice-grid { grid-template-columns: 1fr; }
    .editorial-card .portal-card-body { min-height: auto; }
}

/* Checkout refresh */
.checkout-panel.onsite-checkout {
    display: block;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.checkout-flow {
    display: grid;
    gap: 22px;
}

.checkout-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 170px;
    padding: 30px clamp(22px, 4vw, 42px);
    overflow: hidden;
    border: 1px solid rgba(109, 205, 223, .24);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 4%, rgba(5, 184, 210, .23), transparent 28%),
        linear-gradient(125deg, #071a2c, #0b2741 63%, #114865);
    box-shadow: 0 18px 42px rgba(7, 26, 44, .14);
    color: #fff;
}

.checkout-welcome-copy { max-width: 640px; }
.checkout-welcome-kicker,
.checkout-card-heading > div > span,
.checkout-summary-kicker,
.checkout-recommendations-heading > div > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #29c2d7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.checkout-welcome h2 {
    margin: 10px 0 7px;
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
}

.checkout-welcome-copy p {
    max-width: 610px;
    margin: 0;
    color: #d1e0e9;
    font-size: 14px;
    line-height: 1.65;
}

.checkout-welcome-badge {
    display: flex;
    flex: 0 0 250px;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px;
    background: rgba(255, 255, 255, .08);
}

.checkout-welcome-badge > i {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 13px;
    background: rgba(5, 184, 210, .17);
    color: #43d4e7;
    font-size: 20px;
}

.checkout-welcome-badge strong,
.checkout-welcome-badge small { display: block; }
.checkout-welcome-badge strong { margin-bottom: 4px; font-size: 13px; }
.checkout-welcome-badge small { color: #c3d5df; font-size: 11px; line-height: 1.5; }

.checkout-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0 4%;
    list-style: none;
}

.checkout-progress li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: #81919d;
}

.checkout-progress li:not(:last-child)::after {
    position: absolute;
    top: 18px;
    left: 48px;
    right: 12px;
    height: 1px;
    background: #d7e2e8;
    content: "";
}

.checkout-progress li > span {
    z-index: 1;
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #d7e2e8;
    border-radius: 50%;
    background: #fff;
    color: #718594;
    font-size: 12px;
    font-weight: 800;
}

.checkout-progress li > div { display: grid; gap: 3px; }
.checkout-progress li small { color: #899aa6; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.checkout-progress li strong { color: #617483; font-size: 11px; }
.checkout-progress li.is-complete > span { border-color: #087f93; background: #087f93; color: #fff; }
.checkout-progress li.is-current > span { border: 2px solid #0aa9c3; background: #e8f9fc; color: #087f93; box-shadow: 0 0 0 4px rgba(5, 184, 210, .1); }
.checkout-progress li.is-complete strong,
.checkout-progress li.is-current strong { color: #0c3048; }
.checkout-progress li.is-complete::after { background: #0aa9c3; }

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, .78fr);
    align-items: start;
    gap: 22px;
}

.checkout-main-column,
.checkout-side-column { display: grid; gap: 20px; min-width: 0; }

.checkout-card,
.checkout-summary-card {
    min-width: 0;
    padding: clamp(19px, 2.4vw, 28px);
    border: 1px solid #e0e8ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(9, 37, 57, .07);
}

.checkout-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.checkout-card-heading h2 {
    margin: 5px 0 0;
    color: #10283c;
    font-size: 21px;
    line-height: 1.25;
}

.checkout-item-count,
.checkout-lock-mark {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid #dcebf0;
    border-radius: 999px;
    background: #f4fbfd;
    color: #17677d;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.checkout-order-card .store-list-items { display: grid; gap: 0; }
.checkout-order-card .store-line-item {
    grid-template-columns: 54px minmax(0, 1fr) auto auto;
    gap: 14px;
    padding: 17px 0;
    border-bottom: 1px solid #eaf0f3;
}

.checkout-order-card .store-line-item:first-child { padding-top: 3px; }
.checkout-order-card .store-line-item:last-child { padding-bottom: 3px; border-bottom: 0; }
.checkout-order-card .store-line-item h3 { margin: 0 0 5px; font-size: 14px; }
.checkout-order-card .store-line-item p { margin: 0; font-size: 11px; }
.checkout-order-card .store-line-art { width: 54px; height: 54px; border-radius: 14px; font-size: 20px; }
.checkout-order-card .store-quantity { gap: 8px; }

.checkout-empty-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin: 0 auto 11px;
    place-items: center;
    border-radius: 17px;
    background: #eaf8fb;
    color: #087f93;
    font-size: 23px;
}

.checkout-order-card .store-empty-state { padding: 30px 12px; }
.checkout-order-card .store-empty-state h3 { margin: 0 0 6px; color: #10283c; font-size: 17px; }
.checkout-order-card .store-empty-state p { margin: 0 0 15px; color: #627584; font-size: 13px; }

.checkout-inline-total,
.checkout-form-total,
.checkout-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #344c5e;
}

.checkout-inline-total[hidden],
.checkout-form-total[hidden],
.checkout-summary-total[hidden],
.checkout-recommendations[hidden] {
    display: none !important;
}

.checkout-inline-total {
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid #e5edf1;
    font-size: 13px;
}

.checkout-inline-total strong,
.checkout-form-total strong { color: #10283c; font-size: 21px; }

.checkout-form-intro {
    margin: -8px 0 18px;
    color: #637685;
    font-size: 13px;
    line-height: 1.65;
}

.checkout-account-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 19px;
    padding: 12px 14px;
    border: 1px solid #cfe9ef;
    border-radius: 12px;
    background: #f1fbfd;
    color: #365566;
    font-size: 12px;
    line-height: 1.55;
}

.checkout-account-note > i { margin-top: 2px; color: #087f93; }
.checkout-account-note a { color: #086887; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.onsite-checkout-form .admin-form-grid { margin: 0 0 18px; }
.onsite-checkout-form .admin-field { font-size: 11px; }
.onsite-checkout-form .admin-field input,
.onsite-checkout-form .admin-field select { min-height: 46px; border-radius: 10px; }

.payment-route-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin: 0 0 18px;
    padding: 15px;
    border: 1px solid #e0e8ed;
    border-radius: 14px;
}

.payment-route-options legend { padding: 0 7px; color: #243e50; font-size: 12px; font-weight: 800; }
.payment-route-options label {
    display: grid;
    grid-template-columns: 17px 36px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    min-height: 100px;
    padding: 13px 11px;
    border: 1px solid #e0e8ed;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.payment-route-options label:has(input:checked) {
    border-color: #0c93aa;
    background: #f0fbfd;
    box-shadow: 0 0 0 2px rgba(5, 184, 210, .12);
}

.payment-route-options input { margin: 4px 0 0; accent-color: #087f93; }
.payment-route-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 11px;
    background: #e6f7fa;
    color: #087f93;
    font-size: 16px;
}

.payment-route-options label > span:last-child { display: grid; gap: 6px; }
.payment-route-options strong { color: #10283c; font-size: 12px; }
.payment-route-options small { color: #697e8d; font-size: 10px; line-height: 1.5; }

.checkout-message { margin: 0 0 10px; }
.checkout-form-total {
    margin: 5px 0 15px;
    padding: 14px 16px;
    border: 1px solid #dcebf0;
    border-radius: 12px;
    background: #f5fbfd;
}

.onsite-checkout-form #ngs-checkout-submit {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 12px;
    font-size: 14px;
}

.onsite-checkout-form #ngs-checkout-submit:disabled {
    cursor: not-allowed;
    filter: saturate(.55);
    opacity: .62;
}

.checkout-secure-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 15px 0 10px;
    color: #687b89;
    font-size: 10px;
    line-height: 1.55;
}

.checkout-secure-note i { margin-top: 1px; color: #087f93; }
.checkout-help-link { display: inline-flex; align-items: center; gap: 7px; color: #17677d; font-size: 11px; font-weight: 750; }
.checkout-help-link:hover { color: #079db7; text-decoration: underline; text-underline-offset: 3px; }

.checkout-side-column { position: sticky; top: 24px; }
.checkout-summary-card { padding: 23px; }
.checkout-summary-kicker { color: #087f93; }
.checkout-summary-card h2 { margin: 7px 0 20px; color: #10283c; font-size: 22px; }
.checkout-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #617583; font-size: 12px; }
.checkout-summary-row strong { color: #213d50; }
.checkout-summary-total { margin-top: 13px; padding-top: 16px; border-top: 1px solid #e5edf1; }
.checkout-summary-total strong { color: #0b2b42; font-size: 23px; }
.checkout-summary-caption { margin: 14px 0 18px; color: #788994; font-size: 10px; line-height: 1.55; }
.checkout-summary-benefit { display: flex; align-items: flex-start; gap: 11px; margin-top: 13px; padding-top: 13px; border-top: 1px solid #edf1f4; }
.checkout-summary-benefit > i { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 10px; background: #e8f7fa; color: #087f93; font-size: 13px; }
.checkout-summary-benefit strong,
.checkout-summary-benefit small { display: block; }
.checkout-summary-benefit strong { margin: 1px 0 4px; color: #203c50; font-size: 11px; }
.checkout-summary-benefit small { color: #728492; font-size: 10px; line-height: 1.45; }

.checkout-support-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    padding: 16px;
    border: 1px solid #d6eaf0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f1fbfd, #fff);
}

.checkout-support-card > span:first-child { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #0b7890; color: #fff; }
.checkout-support-card strong,
.checkout-support-card small { display: block; }
.checkout-support-card strong { margin-bottom: 4px; color: #17374b; font-size: 11px; }
.checkout-support-card small { color: #687d8b; font-size: 10px; line-height: 1.45; }
.checkout-support-card > i { color: #1686a0; font-size: 12px; }
.checkout-support-card:hover { border-color: #0b9bb5; box-shadow: 0 8px 22px rgba(9, 100, 125, .09); }

.checkout-recommendations {
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid #e0e8ed;
    border-radius: 19px;
    background: linear-gradient(145deg, #f9fcfd, #fff);
    box-shadow: 0 12px 34px rgba(9, 37, 57, .05);
}

.checkout-recommendations-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 19px;
}

.checkout-recommendations-heading h2 { margin: 6px 0; color: #10283c; font-size: 24px; }
.checkout-recommendations-heading p { margin: 0; color: #718391; font-size: 12px; }
.checkout-recommendations-heading > a { display: inline-flex; align-items: center; gap: 8px; color: #087f93; font-size: 11px; font-weight: 800; white-space: nowrap; }
.checkout-recommendations-heading > a:hover { color: #0a3b58; }
.checkout-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.checkout-related-card { min-width: 0; overflow: hidden; border: 1px solid #e1e9ee; border-radius: 15px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.checkout-related-card:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(8, 33, 52, .11); }
.checkout-related-art {
    position: relative;
    display: flex;
    min-height: 152px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 15px;
    color: #fff;
    background: linear-gradient(135deg, #0b2741, #16728a);
}

.checkout-related-art::after { position: absolute; right: -24px; bottom: -54px; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.06), 0 0 0 38px rgba(255,255,255,.04); content: ""; }
.checkout-related-art.cover-career { background: linear-gradient(135deg, #3c1238, #8d336e); }
.checkout-related-art.cover-design { background: linear-gradient(135deg, #0d3157, #197e9a); }
.checkout-related-art.cover-nodes { background: linear-gradient(135deg, #163b37, #328b80); }
.checkout-related-art.cover-process { background: linear-gradient(135deg, #493119, #a77c31); }
.checkout-related-art.cover-neuro,
.checkout-related-art.cover-memory { background: linear-gradient(135deg, #282048, #62519a); }
.checkout-related-art.cover-stack { background: linear-gradient(135deg, #073d48, #16869a); }
.checkout-related-art.cover-bundle { background: linear-gradient(135deg, #172f3a, #a07836); }
.checkout-related-kicker,
.checkout-related-art-title,
.checkout-related-art > i { position: relative; z-index: 1; }
.checkout-related-kicker { font-size: 8px; font-weight: 800; letter-spacing: .13em; opacity: .83; }
.checkout-related-art > i { align-self: center; margin: 6px 0; font-size: 38px; }
.checkout-related-art-title { max-width: 90%; font-size: 11px; font-weight: 750; }
.checkout-related-card-body { display: grid; gap: 8px; padding: 14px; }
.checkout-related-category { overflow: hidden; color: #087f93; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.checkout-related-card h3 { min-height: 42px; margin: 0; color: #16354a; font-size: 12px; line-height: 1.45; }
.checkout-related-card h3 a { color: inherit; }
.checkout-related-card h3 a:hover { color: #087f93; }
.checkout-related-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 3px; }
.checkout-related-card-foot > strong { color: #10283c; font-size: 15px; }
.checkout-related-card-foot .button { min-height: 34px; gap: 6px; padding: 0 11px; font-size: 10px; }

@media (max-width: 900px) {
    .checkout-layout { grid-template-columns: minmax(0, 1.35fr) minmax(245px, .85fr); gap: 16px; }
    .checkout-card, .checkout-summary-card { padding: 19px; }
    .checkout-related-grid { gap: 12px; }
}

@media (max-width: 760px) {
    .checkout-welcome { align-items: flex-start; flex-direction: column; gap: 16px; }
    .checkout-welcome-badge { flex-basis: auto; width: 100%; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-side-column { position: static; }
    .checkout-summary-card { order: 0; }
    .checkout-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .checkout-flow { gap: 16px; }
    .checkout-welcome { min-height: auto; padding: 22px 18px; border-radius: 17px; }
    .checkout-welcome h2 { font-size: 25px; }
    .checkout-welcome-copy p { font-size: 12px; }
    .checkout-progress { padding: 0; }
    .checkout-progress li { gap: 7px; }
    .checkout-progress li:not(:last-child)::after { left: 36px; right: 6px; }
    .checkout-progress li > span { width: 30px; height: 30px; flex-basis: 30px; font-size: 10px; }
    .checkout-progress li:not(:last-child)::after { top: 15px; }
    .checkout-progress li small { font-size: 7px; }
    .checkout-progress li strong { font-size: 9px; }
    .checkout-card, .checkout-summary-card, .checkout-recommendations { padding: 17px; border-radius: 15px; }
    .checkout-card-heading { align-items: flex-start; }
    .checkout-card-heading h2 { font-size: 18px; }
    .checkout-item-count { padding: 7px 8px; font-size: 9px; }
    .checkout-order-card .store-line-item { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 9px; }
    .checkout-order-card .store-line-art { width: 44px; height: 44px; font-size: 17px; }
    .checkout-order-card .store-quantity { grid-column: 2; grid-row: 2; justify-self: start; }
    .checkout-order-card .store-line-price { grid-column: 3; grid-row: 2; align-self: center; font-size: 12px; }
    .payment-route-options { grid-template-columns: 1fr; }
    .payment-route-options label { min-height: auto; }
    .checkout-recommendations-heading { align-items: flex-start; flex-direction: column; }
    .checkout-recommendations-heading h2 { font-size: 21px; }
    .checkout-related-grid { grid-template-columns: 1fr; }
    .checkout-related-card { display: grid; grid-template-columns: 115px minmax(0, 1fr); }
    .checkout-related-art { min-height: 100%; padding: 11px; }
    .checkout-related-art > i { font-size: 28px; }
    .checkout-related-kicker { font-size: 6px; }
    .checkout-related-art-title { font-size: 9px; }
    .checkout-related-card-body { gap: 6px; padding: 10px; }
    .checkout-related-card h3 { min-height: 0; font-size: 11px; }
    .checkout-related-card-foot > strong { font-size: 13px; }
    .checkout-related-card-foot .button { min-height: 30px; padding: 0 8px; font-size: 9px; }
}
