:root {
    --portal-navy-950: #0b1725;
    --portal-navy-900: #132337;
    --portal-navy-800: #20364d;
    --portal-orange: #f59e0b;
    --portal-orange-deep: #d98200;
    --portal-cream: #fbf8f2;
    --portal-canvas: #2c3e50;
    --portal-surface: #ffffff;
    --portal-ink: #172231;
    --portal-muted: #697383;
    --portal-line: #e2ded6;
    --portal-line-strong: #d2cbc0;
    --portal-success: #18744a;
    --portal-danger: #b4232d;
    --portal-radius: 15px;
    --portal-shadow: 0 1px 2px rgba(11, 23, 37, 0.04), 0 16px 38px rgba(11, 23, 37, 0.06);
}

.portal-member {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--portal-ink);
    text-rendering: optimizeLegibility;
}

.portal-member .sr-only,
.portal-home .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.portal-member {
    min-width: 0;
    min-height: 100dvh;
    padding: 0 !important;
    background: linear-gradient(
        135deg,
        #2c3e50 0%,
        #2f4254 35%,
        #324559 50%,
        #2f4254 65%,
        #2c3e50 100%
    ) fixed !important;
}

.portal-member .shell {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.portal-member .admin-main {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.portal-member .topbar {
    position: sticky;
    top: 0;
    z-index: 45;
    min-height: 96px;
    padding: 18px clamp(22px, 4vw, 58px);
    border: 0;
    border-bottom: 1px solid rgba(226, 222, 214, 0.9);
    background: rgba(255, 255, 255, 0.93);
    color: var(--portal-ink);
    backdrop-filter: blur(16px);
}

.portal-member .brand-logo {
    width: 158px;
    height: 46px;
}

.portal-member .brand-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.portal-member .headline {
    min-width: 0;
    flex: 1;
}

.portal-member .title {
    color: var(--portal-ink);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 760;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.portal-member .title-store {
    font-size: clamp(25px, 2.4vw, 33px);
    text-align: left;
}

.portal-member .subtitle,
.portal-member .subtitle-store {
    margin-top: 6px;
    color: var(--portal-muted);
    font-size: 12px;
    text-align: left;
}

.portal-member .headline-store {
    justify-items: start;
}

.portal-member .portal-chip {
    display: none;
}

.portal-member .topbar-actions {
    gap: 9px;
}

.portal-locale-form,
.portal-signout {
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.portal-locale-form select,
.portal-signout button {
    min-height: 40px;
    border: 1px solid var(--portal-line-strong) !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #344254 !important;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.portal-locale-form select {
    min-width: 108px;
    padding: 8px 30px 8px 11px;
    cursor: pointer;
}

.portal-signout button {
    padding: 8px 14px !important;
    cursor: pointer;
}

.portal-member .store-cart-link {
    min-height: 40px;
    padding: 8px 12px;
    border-color: #e1b55d;
    background: var(--portal-orange-soft, #fff4d6);
    color: #76500c;
    box-shadow: none;
}

.portal-member .store-cart-badge {
    background: var(--portal-navy-800);
    color: #fff;
}

.portal-desktop-nav {
    position: static;
    z-index: 40;
    padding: 0 clamp(22px, 4vw, 58px);
    border-bottom: 1px solid var(--portal-line);
    background: rgba(251, 248, 242, 0.94);
    backdrop-filter: blur(14px);
}

.portal-desktop-nav .quick-links {
    max-width: 1320px;
    min-height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.portal-desktop-nav .quick-links::-webkit-scrollbar {
    display: none;
}

.portal-desktop-nav .quick-links a {
    position: relative;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #5f6875;
    font-size: 13px;
    font-weight: 700;
}

.portal-desktop-nav .quick-links a:hover {
    background: rgba(32, 54, 77, 0.05);
    color: var(--portal-navy-900);
}

.portal-desktop-nav .quick-links a.is-active {
    background: #fff;
    color: var(--portal-navy-900);
    box-shadow: inset 0 -2px 0 var(--portal-orange), 0 1px 2px rgba(11,23,37,.04);
}

.portal-member .quick-links .nav-badge {
    background: var(--portal-orange);
    color: var(--portal-navy-950);
}

.portal-member .content {
    flex: 1;
    width: min(100%, 1320px);
    margin: 0 auto;
    padding: clamp(22px, 4vw, 52px) !important;
    display: grid;
    align-content: start;
    gap: 18px;
    overflow: visible;
    border-radius: 0;
}

.portal-member .content > div,
.portal-member .content > div > div:first-child,
.portal-member .content > * {
    min-width: 0;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.portal-member .content section,
.portal-member .content > form,
.portal-member .content > div > form,
.portal-member .content .empty {
    max-width: 100%;
    padding: 22px;
    overflow: visible;
    border: 1px solid var(--portal-line) !important;
    border-radius: var(--portal-radius) !important;
    background: var(--portal-surface) !important;
    color: var(--portal-ink) !important;
    box-shadow: var(--portal-shadow) !important;
}

.portal-member .content section form,
.portal-member .content td form,
.portal-member .content th form,
.portal-member .content article form,
.portal-member .content dialog form {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.portal-member .content h2,
.portal-member .content h3,
.portal-member .content h4 {
    color: var(--portal-ink) !important;
    letter-spacing: -0.025em;
}

.portal-member .content p,
.portal-member .content li {
    line-height: 1.6;
}

.portal-member .content .empty {
    border-color: #ead5a5 !important;
    background: #fffaf0 !important;
    box-shadow: none !important;
}

.portal-member .content input,
.portal-member .content textarea,
.portal-member .content select {
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px !important;
    border: 1px solid var(--portal-line-strong) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--portal-ink) !important;
    font: inherit;
    font-size: 14px;
}

.portal-member .content textarea {
    min-height: 110px;
    line-height: 1.5;
    resize: vertical;
}

.portal-member .content input:focus,
.portal-member .content textarea:focus,
.portal-member .content select:focus {
    border-color: var(--portal-orange-deep) !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}

.portal-member .content button,
.portal-member .content a[style*="padding"] {
    min-height: 42px;
    border-radius: 9px !important;
    line-height: 1.2;
}

.portal-member .content button[type="submit"] {
    border-color: var(--portal-navy-800) !important;
    background: var(--portal-navy-800) !important;
    color: #fff !important;
    font-weight: 750 !important;
}

.portal-member .content button[type="submit"]:hover {
    background: var(--portal-navy-950) !important;
}

.portal-member .content button[style*="#9e2a2b"] {
    border-color: var(--portal-danger) !important;
    background: var(--portal-danger) !important;
}

.portal-member .content table {
    width: 100%;
    color: var(--portal-ink);
    font-size: 13px;
}

.portal-member .content th {
    padding: 10px 12px;
    border-bottom: 1px solid var(--portal-line-strong);
    color: var(--portal-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.portal-member .content td {
    padding: 13px 12px;
    border-bottom: 1px solid #efede9;
    color: #344052;
}

.portal-member .content tbody tr:last-child td {
    border-bottom: 0;
}

.portal-member .content .has-portal-table {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.portal-member .badge {
    padding: 4px 8px;
    border: 0;
    font-size: 11px;
    font-weight: 750;
}

.portal-member .mono,
.portal-member code {
    overflow-wrap: anywhere;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.portal-member .content article {
    border-color: var(--portal-line) !important;
    border-radius: var(--portal-radius) !important;
    box-shadow: 0 8px 24px rgba(11, 23, 37, 0.055) !important;
}

.portal-member .content dialog {
    width: min(92vw, 620px);
    max-height: 88dvh;
    overflow-y: auto;
    border: 1px solid var(--portal-line) !important;
    border-radius: var(--portal-radius) !important;
    background: #fff;
    color: var(--portal-ink);
    box-shadow: 0 26px 80px rgba(11, 23, 37, 0.28) !important;
}

.portal-member .content dialog::backdrop {
    background: rgba(7, 16, 27, 0.58);
    backdrop-filter: blur(3px);
}

.portal-member .footer {
    padding: 20px clamp(22px, 4vw, 58px);
    border-color: var(--portal-line);
    background: var(--portal-navy-950);
    color: #9eacbd;
    font-size: 12px;
}

.portal-member .footer strong {
    color: #ffd17a;
}

.portal-mobile-bar,
.portal-drawer,
.portal-nav-backdrop {
    display: none;
}

.portal-public .content {
    max-width: 1180px;
}

.portal-public .topbar {
    position: relative;
}

.portal-member .content .store-layout {
    padding: 0 !important;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Store feature panels intentionally use a dark promotional surface. */
.portal-member .content section.store-featured {
    border: 2px solid #d9a44f !important;
    background: linear-gradient(135deg, #223040 0%, #30475f 100%) !important;
    color: #fff !important;
    box-shadow: 0 18px 36px rgba(31, 47, 66, 0.18) !important;
}

.portal-member .content section.store-featured h2 {
    color: #fff !important;
}

.portal-member .content .store-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 380px)) !important;
    justify-content: start;
}

.store-mobile-categories {
    display: none;
}

@media (min-width: 801px) {
    .portal-member .content .store-category-sidebar {
        top: 112px !important;
    }
}

@media (max-width: 800px) {
    body.member-app,
    body.portal-public:has(.portal-mobile-bar) {
        padding-top: 70px !important;
    }

    .portal-mobile-bar {
        position: fixed !important;
        inset: 0 0 auto 0;
        width: 100%;
        z-index: 95;
        display: grid;
        grid-template-columns: 40px 138px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-height: 70px;
        padding: 8px 14px;
        border-bottom: 1px solid var(--portal-line);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 8px 24px rgba(11, 23, 37, 0.07);
        backdrop-filter: blur(14px);
    }

    .portal-nav-toggle {
        display: grid;
        align-content: center;
        gap: 4px;
        width: 40px;
        height: 40px;
        padding: 9px;
        border: 1px solid var(--portal-line);
        border-radius: 9px;
        background: #fff;
    }

    .portal-nav-toggle > span:not(.sr-only) {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: var(--portal-navy-800);
    }

    .portal-mobile-brand {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

    .portal-mobile-brand img {
        width: 138px;
        height: 50px;
        object-fit: contain;
    }

    .portal-mobile-page {
        overflow: hidden;
        color: var(--portal-muted);
        font-size: 11px;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portal-desktop-nav {
        display: none;
    }

    .portal-drawer {
        position: fixed !important;
        inset: 0 auto 0 0;
        z-index: 110;
        display: flex;
        flex-direction: column;
        width: min(86vw, 320px);
        height: 100dvh;
        padding: 20px 16px;
        overflow-y: auto;
        background: linear-gradient(180deg, var(--portal-navy-900), var(--portal-navy-950));
        color: #fff;
        box-shadow: 20px 0 50px rgba(11, 23, 37, 0.25);
        transform: translateX(-105%);
        transition: transform 220ms cubic-bezier(.2,.8,.2,1);
    }

    body.portal-nav-open .portal-drawer {
        transform: translateX(0);
    }

    .portal-drawer-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 82px;
        margin: 0 7px 24px;
        color: #fff;
        font-size: 18px;
        text-decoration: none;
    }

    .portal-drawer-brand img {
        width: 186px;
        height: 94px;
        object-fit: contain;
    }

    .portal-drawer .quick-links {
        display: grid;
        gap: 4px;
        margin: 0;
    }

    .portal-drawer .quick-links a {
        display: flex;
        justify-content: space-between;
        min-height: 44px;
        padding: 11px 12px;
        border: 1px solid transparent;
        border-radius: 9px;
        background: transparent;
        color: #c3cfdd;
        font-size: 14px;
        font-weight: 700;
    }

    .portal-drawer .quick-links a.is-active {
        border-color: rgba(245, 158, 11, 0.22);
        background: rgba(245, 158, 11, 0.13);
        color: #fff;
        box-shadow: inset 3px 0 0 var(--portal-orange);
    }

    .portal-drawer .portal-signout {
        margin-top: auto !important;
        padding-top: 18px !important;
        border-top: 1px solid rgba(255,255,255,.1) !important;
    }

    .portal-drawer .portal-signout button {
        width: 100%;
        border-color: rgba(255,255,255,.14) !important;
        background: rgba(255,255,255,.05) !important;
        color: #c3cfdd !important;
    }

    .portal-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 105;
        display: block;
        visibility: hidden;
        border: 0;
        background: rgba(6, 14, 24, 0.58);
        opacity: 0;
        transition: opacity 180ms ease, visibility 180ms ease;
    }

    body.portal-nav-open .portal-nav-backdrop {
        visibility: visible;
        opacity: 1;
    }

    .member-app .topbar,
    .portal-public:has(.portal-mobile-bar) .topbar {
        position: static;
        min-height: 54px;
        padding: 8px 14px;
    }

    .member-app .topbar .brand-logo-link,
    .member-app .topbar .headline,
    .portal-public:has(.portal-mobile-bar) .topbar .brand-logo-link,
    .portal-public:has(.portal-mobile-bar) .topbar .headline {
        display: none;
    }

    .member-app .topbar-actions,
    .portal-public:has(.portal-mobile-bar) .topbar-actions {
        order: initial;
        width: 100%;
        margin: 0;
        justify-content: flex-end;
    }

    .member-app .topbar .portal-signout {
        display: none !important;
    }

    .portal-member .content {
        padding: 16px !important;
    }

    .portal-member .content .store-page {
        gap: 12px !important;
    }

    .portal-member .content .store-hero {
        gap: 12px !important;
        padding: 16px !important;
    }

    .portal-member .content .store-hero h2 {
        font-size: clamp(28px, 9vw, 36px) !important;
        text-align: left !important;
    }

    .portal-member .content .store-hero > div:last-child {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100%;
    }

    .portal-member .content .store-hero > div:last-child > * {
        min-width: 0;
        text-align: center;
    }

    .portal-member .content .store-hero > div:last-child > a {
        grid-column: 1 / -1;
    }

    .portal-member .content .store-mobile-categories {
        display: grid;
        gap: 9px;
        padding: 14px 0 2px;
        overflow: hidden;
    }

    .store-mobile-categories > span {
        color: var(--portal-muted);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .store-mobile-categories > div {
        display: flex;
        gap: 8px;
        padding-bottom: 6px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .store-mobile-categories > div::-webkit-scrollbar {
        display: none;
    }

    .store-mobile-categories a {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 11px 14px;
        border: 1px solid var(--portal-line-strong);
        border-radius: 999px;
        background: #fff;
        color: var(--portal-navy-800);
        font-size: 13px;
        font-weight: 750;
        line-height: 18px;
        text-decoration: none;
        scroll-snap-align: start;
    }

    .store-mobile-categories a.is-active {
        border-color: var(--portal-navy-800);
        background: var(--portal-navy-800);
        color: #fff;
    }

    .portal-member .content .store-category-sidebar {
        display: none !important;
    }

    .portal-member .content .store-layout {
        display: block !important;
    }

    .portal-member .content #store-category-panels > section {
        gap: 14px !important;
        padding: 16px !important;
    }

    .member-app .content > div[style*="padding:18px"] {
        padding: 0 !important;
    }

    .portal-member .content section,
    .portal-member .content > form,
    .portal-member .content > div > form,
    .portal-member .content .empty,
    .portal-member .content article {
        padding: 17px !important;
        border-radius: 12px !important;
    }

    .portal-member .content [style*="grid-template-columns"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .portal-member .content [style*="min-width:"] {
        min-width: 0 !important;
    }

    .portal-member .content [style*="width:max-content"] {
        width: 100% !important;
    }

    .portal-member .content [style*="justify-content:space-between"] {
        flex-wrap: wrap;
    }

    .portal-member .content input,
    .portal-member .content textarea,
    .portal-member .content select {
        width: 100%;
        font-size: 16px;
    }

    .portal-member .content button,
    .portal-member .content a[style*="padding"] {
        min-height: 44px;
    }

    .portal-member .content table[data-mobile-table] {
        display: block;
        min-width: 0 !important;
        overflow: visible;
    }

    .portal-member .content table[data-mobile-table] thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .portal-member .content table[data-mobile-table] tbody {
        display: grid;
        gap: 12px;
    }

    .portal-member .content table[data-mobile-table] tr,
    .portal-member .content table[data-mobile-table] td {
        display: block;
        width: 100%;
    }

    .portal-member .content table[data-mobile-table] tr {
        overflow: hidden;
        border: 1px solid var(--portal-line);
        border-radius: 11px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(11, 23, 37, 0.04);
    }

    .portal-member .content table[data-mobile-table] td {
        position: relative;
        min-height: 40px;
        padding: 10px 11px 10px min(42%, 142px);
        border-bottom: 1px solid #efede9;
        overflow-wrap: anywhere;
    }

    .portal-member .content table[data-mobile-table] td::before {
        content: attr(data-label);
        position: absolute;
        top: 11px;
        left: 11px;
        width: calc(min(42%, 142px) - 18px);
        color: var(--portal-muted);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .06em;
        line-height: 1.35;
        text-transform: uppercase;
    }

    .portal-member .content table[data-mobile-table] td:last-child {
        border-bottom: 0;
    }

    .portal-member .content table[data-mobile-table] td.empty,
    .portal-member .content table[data-mobile-table] td[colspan] {
        padding: 16px !important;
    }

    .portal-member .content table[data-mobile-table] td.empty::before,
    .portal-member .content table[data-mobile-table] td[colspan]::before {
        display: none;
    }

    .portal-member .content dialog {
        width: 100vw !important;
        max-width: none !important;
        min-height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0 !important;
    }

    .portal-member .content .cart-layout,
    .portal-member .content .checkout-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .portal-member .content .cart-item-card {
        padding: 17px !important;
    }
}

@media (max-width: 520px) {
    .portal-locale-form select {
        min-width: 94px;
        max-width: 116px;
    }

    .portal-member .store-cart-link > span:nth-child(2) {
        display: none;
    }

    .portal-member .content {
        padding: 12px !important;
    }

    .portal-public .topbar {
        padding: 16px;
    }

    .portal-public .topbar .brand-logo {
        width: 132px;
    }

    .portal-public .topbar .headline {
        order: 3;
        width: 100%;
    }

    .portal-member .footer {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Main-site-inspired header: dark SantoHost glass, warm highlights, and the
   same compact rounded navigation silhouette used on santohost.com. */
.portal-member .topbar {
    top: 5px;
    width: min(calc(100% - 24px), 1320px);
    min-height: 68px;
    margin: 5px auto 0;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 25px;
    background: rgba(89, 103, 116, .82);
    color: #fff;
    box-shadow: 0 10px 28px rgba(11, 23, 37, .2), inset 0 1px 0 rgba(255, 255, 255, .1);
    backdrop-filter: blur(16px);
}

.portal-member .brand-logo {
    width: 174px;
    height: 50px;
}

.portal-member .title,
.portal-member .title-store {
    color: #fff;
    font-size: 19px;
    letter-spacing: -.02em;
}

.portal-member .subtitle,
.portal-member .subtitle-store {
    margin-top: 3px;
    color: #cfd7df;
}

.portal-member .topbar:has(> .portal-desktop-nav) > .headline {
    display: none;
}

.portal-member .topbar > .portal-desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}

.portal-member .topbar > .portal-desktop-nav .quick-links {
    min-height: 50px;
    justify-content: center;
    gap: 2px;
}

.portal-member .topbar > .portal-desktop-nav .quick-links a {
    min-height: 38px;
    padding: 10px 11px;
    color: #d9d9d9;
    border-radius: 10px;
}

.portal-member .topbar > .portal-desktop-nav .quick-links a:hover,
.portal-member .topbar > .portal-desktop-nav .quick-links a.is-active {
    background: rgba(255, 255, 255, .11);
    color: #ffc869;
    box-shadow: none;
}

.portal-member .topbar > .portal-desktop-nav .quick-links a.is-active {
    text-shadow: 0 0 .6px currentColor, 0 0 1.2px currentColor;
}

.portal-member .portal-signout button {
    border-color: rgba(255, 255, 255, .3) !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #f4f6f8 !important;
    border-radius: 999px !important;
}

.portal-member .portal-signout button:hover {
    border-color: #ffc869 !important;
    color: #ffc869 !important;
}

.portal-member .store-cart-link {
    border-color: rgba(255, 200, 105, .58);
    background: rgba(255, 200, 105, .12);
    color: #ffe0a8;
}

.portal-member .store-cart-badge {
    background: #fcae30;
    color: #1d2c3c;
}

.portal-home .home-header {
    min-height: 68px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 25px;
    background: rgba(89, 103, 116, .9);
    box-shadow: 0 12px 30px rgba(11, 23, 37, .2), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.portal-home .home-brand img {
    width: 174px;
    height: 50px;
}

.portal-home .home-eyebrow {
    display: none;
}

.portal-home .home-actions > a {
    border-color: transparent;
    border-radius: 10px;
    background: transparent;
    color: #d9d9d9;
}

.portal-home .home-actions > a:hover {
    background: rgba(255, 255, 255, .1);
    color: #ffc869;
}

.portal-home .home-actions > a:last-of-type {
    border-color: rgba(255, 255, 255, .3);
    border-radius: 999px;
}

@media (max-width: 800px) {
    body.member-app,
    body.portal-public:has(.portal-mobile-bar) {
        padding-top: 82px !important;
    }

    .portal-mobile-bar {
        inset: 5px 12px auto;
        width: calc(100% - 24px);
        min-height: 68px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 25px;
        background: rgba(89, 103, 116, .92);
        box-shadow: 0 10px 28px rgba(11, 23, 37, .2);
    }

    .portal-nav-toggle {
        border-color: rgba(255, 255, 255, .25);
        background: rgba(255, 255, 255, .06);
    }

    .portal-nav-toggle > span:not(.sr-only) {
        background: #f4f6f8;
    }

    .portal-mobile-page {
        color: #d9d9d9;
    }

    .portal-member .topbar {
        width: calc(100% - 24px);
        min-height: 58px;
        margin-top: 7px;
    }

    .member-app .topbar:not(:has(.store-cart-link)),
    .portal-public:has(.portal-mobile-bar) .topbar:not(:has(.store-cart-link)) {
        display: none;
    }
}

@media (max-width: 640px) {
    .portal-home .home-header {
        align-items: center;
        padding: 8px 12px;
    }

    .portal-home .home-brand img {
        width: 148px;
        height: 46px;
    }

    .portal-home .home-actions {
        flex: 1 1 100%;
    }
}

body.portal-home {
    min-height: 100dvh;
    margin: 0;
    padding: clamp(14px, 3vw, 36px);
    background: linear-gradient(
        135deg,
        #2c3e50 0%,
        #2f4254 35%,
        #324559 50%,
        #2f4254 65%,
        #2c3e50 100%
    ) fixed;
    color: var(--portal-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.portal-home .shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 22px;
    background: var(--portal-cream);
    box-shadow: 0 34px 90px rgba(4, 11, 20, .28);
}

.portal-home .home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(32px, 6vw, 72px);
}

.portal-home .home-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.portal-home .home-brand img {
    width: 168px;
    height: 54px;
    object-fit: contain;
}

.portal-home .home-eyebrow {
    margin-top: 3px;
    color: var(--portal-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.portal-home .home-actions,
.portal-home .home-hero-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.portal-home .home-actions a,
.portal-home .home-hero-actions a {
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid var(--portal-line-strong);
    border-radius: 9px;
    background: #fff;
    color: var(--portal-navy-900);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.portal-home .home-actions form {
    margin: 0;
}

.portal-home .home-actions select {
    min-height: 40px;
    padding: 8px 30px 8px 10px;
    border: 1px solid var(--portal-line-strong);
    border-radius: 9px;
    background: #fff;
    color: var(--portal-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.portal-home .home-hero {
    max-width: 780px;
    margin-bottom: clamp(30px, 5vw, 58px);
}

.portal-home .home-hero h1 {
    margin: 8px 0 14px;
    color: var(--portal-navy-950);
    font-size: clamp(38px, 7vw, 72px);
    letter-spacing: -.06em;
    line-height: .98;
}

.portal-home .home-hero p {
    max-width: 650px;
    margin-bottom: 22px;
    color: var(--portal-muted);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.6;
}

.portal-home .home-hero-actions a:first-child {
    border-color: var(--portal-navy-900);
    background: var(--portal-navy-900);
    color: #fff;
}

.portal-home .plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
}

.portal-home .plan-card,
.portal-home a.card {
    border-color: var(--portal-line);
    border-radius: var(--portal-radius);
    box-shadow: 0 10px 28px rgba(11,23,37,.055);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.portal-home .plan-card:hover,
.portal-home a.card:hover {
    border-color: #dfad4e;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11,23,37,.09);
}

.portal-home .plan-links a {
    border-color: var(--portal-line);
    background: var(--portal-cream);
}

@media (max-width: 640px) {
    .portal-home .home-header {
        align-items: flex-start;
        margin-bottom: 38px;
    }

    .portal-home .home-actions > a {
        display: none;
    }

    .portal-home .home-hero h1 {
        font-size: 44px;
    }

    .portal-home .home-hero-actions a {
        flex: 1 1 140px;
        justify-content: center;
        text-align: center;
    }
}

/* Keep the public landing header on the same dark/glass treatment after the
   general landing-page component rules above. */
.portal-home .home-brand img {
    width: 174px;
    height: 50px;
}

.portal-home .home-eyebrow {
    display: none;
}

.portal-home .home-actions > a {
    border-color: transparent;
    border-radius: 10px;
    background: transparent;
    color: #d9d9d9;
}

.portal-home .home-actions > a:hover {
    background: rgba(255, 255, 255, .1);
    color: #ffc869;
}

.portal-home .home-actions > a:last-of-type {
    border-color: rgba(255, 255, 255, .3);
    border-radius: 999px;
}

@media (max-width: 640px) {
    .portal-home .home-header {
        align-items: center;
        padding: 8px 12px;
    }

    .portal-home .home-brand img {
        width: 148px;
        height: 46px;
    }

    .portal-home .home-actions {
        flex: 1 1 100%;
    }
}

@media (max-width: 359px) {
    .portal-mobile-page {
        white-space: normal;
        line-height: 1.2;
    }
}

/* Keep account actions together without clipping the dropdown in the header. */
.portal-member .topbar > .portal-desktop-nav .quick-links { overflow: visible; }
.portal-member .portal-desktop-nav .portal-account-menu > summary { min-height: 38px; padding: 10px 11px; font-size: 13px; }
.portal-account-menu .nav-dropdown-menu { min-width: 210px !important; }
@media (max-width: 991px) {
    .portal-drawer .portal-account-menu { display: block; width: 100%; }
    .portal-drawer .portal-account-menu > summary { width: 100%; }
    .portal-drawer .portal-account-menu .nav-dropdown-menu { position: static; margin-top: 8px; box-shadow: none; }
}

/* Recovered WordPress One configurator; matches the original server design. */
body.portal-checkout .store-config-page,
body.portal-checkout .customer-checkout-page{
    display: grid;
    gap: 20px;
    min-width: 0;
    color: var(--portal-ink, #1f2f42);
}
body.portal-checkout .store-config-heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
body.portal-checkout .store-config-heading h2{ margin: 0; font-size: 28px; line-height: 1.2; }
body.portal-checkout .store-config-heading p{ margin: 8px 0 0; color: #647080; }
body.portal-checkout .store-config-heading a{ white-space: nowrap; color: #445570; }
body.portal-checkout.portal-member .content .checkout-card{
    min-width: 0;
    padding: 24px;
    border: 1px solid #e2e7ec !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 2px 5px rgba(11,23,37,.035) !important;
}
body.portal-checkout .checkout-card h3{ margin: 0 0 18px; font-size: 18px; }
body.portal-checkout .store-specs h3{ margin-bottom: 14px; }
body.portal-checkout #store-config-details,
body.portal-checkout #store-config-details > ul{
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px !important;
}
body.portal-checkout #store-config-details > ul{ width: 100%; }
body.portal-checkout #store-config-details li,
body.portal-checkout #store-config-details > div{
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 1.55;
}
body.portal-checkout #store-config-details li::before{
    content: '✓';
    color: #49735d;
    font-weight: 700;
}
body.portal-checkout .store-config-page form,
body.portal-checkout .customer-checkout-page form{
    display: grid;
    gap: 18px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.portal-checkout .store-config-page #store-calculator-form > div > label,
body.portal-checkout .store-config-page .billing-choices legend{
    font-size: 16px !important;
    font-weight: 600;
    color: #273548 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-bottom: 10px !important;
}
body.portal-checkout .billing-choices{ min-width: 0; margin: 0; padding: 0; border: 0; }
body.portal-checkout .billing-choices > div{ display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
body.portal-checkout .billing-choice{ position: relative; cursor: pointer; min-width: 0; }
body.portal-checkout.portal-member .content .billing-choice input{
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0 !important;
    clip-path: inset(50%);
    overflow: hidden;
}
body.portal-checkout .billing-choice > span{
    display: grid;
    gap: 6px;
    padding: 18px 14px;
    text-align: center;
    border: 1px solid #d9e0e8;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s, background .15s;
}
body.portal-checkout .billing-choice strong{ font-size: 21px; color: #344c70; }
body.portal-checkout .billing-choice > span > span{ color: #647080; font-size: 14px; }
body.portal-checkout .billing-choice input:checked + span{ border-color: #597ca7; background: #edf3fc; box-shadow: inset 0 0 0 1px #597ca7; }
body.portal-checkout .billing-choice input:focus-visible + span{ outline: 3px solid #ecab4e; outline-offset: 3px; }
body.portal-checkout .billing-choice:hover > span{ border-color: #597ca7; }
body.portal-checkout .store-purchase{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 28px; align-items: start; }
body.portal-checkout .store-price-summary{ display: grid; gap: 8px; }
body.portal-checkout .store-price-summary h3{ margin-bottom: 4px; }
body.portal-checkout #store-unit-price{ font-size: 28px; font-weight: 750; }
body.portal-checkout #store-term-label{ font-size: 14px; color: #647080; }
body.portal-checkout #store-pricing-breakdown{ display: grid; gap: 8px; margin-top: 6px; }
body.portal-checkout .customer-checkout-layout{ display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,340px); gap: 24px; align-items: start; }
body.portal-checkout .checkout-card-heading{ display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
body.portal-checkout .checkout-card-heading h3{ margin: 0; }
body.portal-checkout .checkout-card-heading > span{ color: #647080; font-size: 14px; }
body.portal-checkout .checkout-card a{ color: #344c70; }
body.portal-checkout .checkout-name-fields{ display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
body.portal-checkout .checkout-account-form label{ display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
body.portal-checkout.portal-member .content .checkout-account-form input{ width: 100%; box-sizing: border-box; }
body.portal-checkout .checkout-account-form small,
body.portal-checkout .checkout-helper{ color: #647080; font-size: 13px; font-weight: 400; line-height: 1.6; }
body.portal-checkout .checkout-helper{ margin: 0; }
body.portal-checkout.portal-member .content .checkout-account-form button{ padding: 14px 18px; font-size: 15px; }
body.portal-checkout .checkout-honeypot{ position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
body.portal-checkout .checkout-order-summary{ position: sticky; top: 24px; }
body.portal-checkout .checkout-summary-row{ display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #edf0f3; }
body.portal-checkout .checkout-summary-row small{ display: block; margin-top: 5px; color: #647080; font-size: 13px; }
body.portal-checkout .checkout-summary-row > strong{ white-space: nowrap; }
body.portal-checkout .checkout-total{ margin-bottom: 16px; font-size: 18px; align-items: center; }
body.portal-checkout .checkout-total > strong{ font-size: 24px; color: #344c70; }
body.portal-checkout .checkout-error{ padding: 12px; border: 1px solid #edb5b5; border-radius: 8px; background: #fff5f5; color: #923838; }
@media (max-width: 760px){body.portal-checkout .store-config-heading{ align-items: flex-start; }
body.portal-checkout .store-config-heading h2{ font-size: 24px; }
body.portal-checkout .store-config-heading a{ font-size: 13px; }
body.portal-checkout.portal-member .content .checkout-card{ padding: 18px; }
body.portal-checkout .store-purchase,
body.portal-checkout .customer-checkout-layout{ grid-template-columns: minmax(0,1fr); }
body.portal-checkout .checkout-order-summary{ position: static; }
body.portal-checkout .customer-checkout-layout .checkout-order-summary{ grid-row: 1; }
}
@media (max-width: 480px){body.portal-checkout .billing-choices > div{ grid-template-columns: repeat(auto-fit, minmax(110px,1fr)); gap: 8px; }
body.portal-checkout .billing-choice > span{ padding: 15px 8px; }
body.portal-checkout .billing-choice strong{ font-size: 18px; }
body.portal-checkout .checkout-name-fields{ grid-template-columns: minmax(0,1fr); }
body.portal-checkout .store-config-heading{ flex-wrap: wrap; }
}
body.portal-member.portal-checkout{ background: #f6f8fb !important; }
body.portal-checkout.portal-member.portal-checkout .topbar{ background: #20364d; }
body.portal-checkout .store-config-heading h2{ color: #1f2f42; }
body.portal-checkout .store-config-heading p{ color: #647080; }
body.portal-checkout .content{ font-size: 16px; line-height: 1.6; }
body.portal-checkout .content :is(input, select, textarea, button, small, p, li, td, th),
body.portal-checkout .content :is(.checkout-helper, .checkout-summary-row small, .checkout-card-heading > span, #store-term-label, #store-domain-action-note, #store-submit-note, #store-pricing-breakdown, #store-pricing-breakdown *, #store-config-details, #store-config-details *, .billing-choice > span > span, .store-config-heading a),
body.portal-checkout .content [style*="font-size:10px"],
body.portal-checkout .content [style*="font-size:11px"],
body.portal-checkout .content [style*="font-size:12px"],
body.portal-checkout .content [style*="font-size:13px"],
body.portal-checkout .content [style*="font-size:14px"],
body.portal-checkout .content [style*="font-size:15px"],
body.portal-checkout .content [style*="font-size: 10px"],
body.portal-checkout .content [style*="font-size: 11px"],
body.portal-checkout .content [style*="font-size: 12px"],
body.portal-checkout .content [style*="font-size: 13px"],
body.portal-checkout .content [style*="font-size: 14px"],
body.portal-checkout .content [style*="font-size: 15px"]{ font-size: 16px !important; }
body.portal-checkout .content .billing-choices legend,
body.portal-checkout .content #store-calculator-form > div > label,
body.portal-checkout .content .quantity-field > label,
body.portal-checkout .content .checkout-account-form label{
    display: block;
    margin-bottom: 10px;
    font-size: 18px !important;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #273548 !important;
}
body.portal-checkout .content .checkout-account-form label{ display: grid; margin-bottom: 0; }
body.portal-checkout .content .billing-choice strong{ font-size: 22px; }
body.portal-checkout .content :is(.checkout-helper, small, #store-term-label, #store-domain-action-note, #store-submit-note, .billing-choice > span > span),
body.portal-checkout .content #store-pricing-breakdown span{ color: #4b5869 !important; }
body.portal-checkout :is(.portal-mobile-page, .quick-links a, .store-cart-label, .store-cart-badge, .santohost-preferences span, .santohost-preferences p, .santohost-preferences button, .santohost-preferences a, .footer, .footer *){ font-size: 14px !important; }
body.portal-checkout input[type="number"]::-webkit-inner-spin-button,
body.portal-checkout input[type="number"]::-webkit-outer-spin-button{ opacity: 1; }
body.portal-checkout .quantity-stepper{ min-width: 0; }
body.portal-checkout .quantity-step-buttons{ display: none; }
body.portal-checkout .quantity-stepper[data-enhanced="true"]{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    border: 1px solid #bcc7d4;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
body.portal-checkout .content .quantity-stepper[data-enhanced="true"] input{
    width: 100%;
    min-width: 0;
    height: 64px;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    appearance: textfield;
    -moz-appearance: textfield;
}
body.portal-checkout .quantity-stepper[data-enhanced="true"] input::-webkit-inner-spin-button,
body.portal-checkout .quantity-stepper[data-enhanced="true"] input::-webkit-outer-spin-button{ -webkit-appearance: none; margin: 0; }
body.portal-checkout .quantity-stepper[data-enhanced="true"] .quantity-step-buttons{ display: grid; grid-template-rows: repeat(2, 32px); }
body.portal-checkout .content .quantity-step-buttons button{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 32px;
    width: 48px;
    padding: 0;
    border: 0;
    border-left: 1px solid #bcc7d4;
    border-radius: 0 !important;
    background: #edf2f8;
    color: #20364d;
    cursor: pointer;
}
body.portal-checkout .content .quantity-step-buttons button + button{ border-top: 1px solid #bcc7d4; }
body.portal-checkout .content .quantity-step-buttons button:hover{ background: #dce7f3; }
body.portal-checkout .content .quantity-step-buttons button:disabled{ color: #6b7786; background: #f4f6f8; cursor: default; }
body.portal-checkout .content .quantity-step-buttons button:focus-visible{ outline: 3px solid #d98200; outline-offset: -3px; }
body.portal-checkout .quantity-stepper:focus-within{ outline: 2px solid #597ca7; outline-offset: 2px; }

/* Compact configuration heading shared by every product. */
.store-config-page .store-config-eyebrow{font-size:12px;line-height:1.4;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#647080;margin-bottom:6px}
body.portal-checkout .content .store-config-eyebrow{font-size:12px!important}
.store-config-page #store-config-details > div{min-width:0;max-width:100%;flex-wrap:wrap}
.store-config-page #store-config-details{overflow-wrap:anywhere}

/* Compact billing choices with equal-height cards. */
body.portal-checkout .store-config-page .billing-choices legend{font-size:14px!important;font-weight:600!important;line-height:1.4;margin-bottom:10px!important}
body.portal-checkout .store-config-page .billing-choices>div{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-auto-rows:1fr;align-items:stretch;gap:10px;max-width:600px;margin-inline:auto}
body.portal-checkout .store-config-page .billing-choice{display:flex;margin:0!important;min-width:0}
body.portal-checkout .store-config-page .billing-choice>span{display:flex;flex-direction:column;justify-content:center;gap:3px;width:100%;min-height:86px;height:100%;box-sizing:border-box;padding:10px 12px}
body.portal-checkout .store-config-page .billing-choice strong{font-size:18px!important;line-height:1.3}
body.portal-checkout .store-config-page .billing-choice>span>span{font-size:13px!important;line-height:1.35}
@media(max-width:480px){body.portal-checkout .store-config-page .billing-choices>div{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}body.portal-checkout .store-config-page .billing-choice>span{padding:9px 8px}}

/* Payment first and email account setup. */
.guest-account-card{max-width:620px;padding:26px;background:#fff;border:1px solid #e0e5eb;border-radius:16px;color:#1f2f42}
.guest-account-card h1{font-size:28px;line-height:1.2;margin:0 0 16px}.guest-account-card p{line-height:1.65}
.guest-account-card form,.guest-account-card label{display:grid;gap:10px}.guest-account-card form{gap:16px}.guest-account-card input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #bdc8d4;border-radius:8px}.guest-account-card button{padding:12px 16px;cursor:pointer}
@media(max-width:760px){.guest-checkout-page .guest-checkout-layout{grid-template-columns:minmax(0,1fr)!important;padding:16px!important}.guest-checkout-page .guest-checkout-layout>div{min-width:0}.guest-account-card{padding:18px}}
