﻿:root {
    --pm-shell-width: 1475px;
}

/* =========================================================
   Public Shell
   ========================================================= */

html,
body {
    height: 100%;
}

.pm-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, .14), transparent 34rem), linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
    color: #0f172a;
}

/* =========================================================
   Header
   ========================================================= */

.pm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 251, 255, .86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, .28);
}

.pm-header-inner {
    width: 100%;
    max-width: var(--pm-shell-width) !important;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* =========================================================
   Brand / Logo
   ========================================================= */

.pm-brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

    .pm-brand:hover,
    .pm-brand:focus-visible {
        color: inherit;
        text-decoration: none;
    }

.pm-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 240px;
    max-height: 76px;
    object-fit: contain;
    border-radius: 14px;
    flex: 0 1 auto;
    background: transparent;
}

.pm-logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
    flex: 0 0 auto;
}

.pm-brand > div {
    min-width: 0;
}

.pm-brand-name {
    font-weight: 900;
    letter-spacing: -.03em;
    font-size: 1.05rem;
    color: #0f172a;
}

.pm-brand-sub {
    color: #64748b;
    font-size: .82rem;
    margin-top: .08rem;
}

.pm-brand:hover .pm-brand-name,
.pm-brand:focus-visible .pm-brand-name {
    color: #0f172a;
}

.pm-brand:hover .pm-brand-sub,
.pm-brand:focus-visible .pm-brand-sub {
    color: #64748b;
}

/* =========================================================
   Navigation
   ========================================================= */

.pm-nav {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

    .pm-nav a {
        color: #334155;
        text-decoration: none;
        font-weight: 800;
        font-size: .92rem;
        padding: .55rem .75rem;
        border-radius: 999px;
        transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
    }

        .pm-nav a:hover,
        .pm-nav a:focus-visible {
            background: #2563eb;
            color: #ffffff;
            box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
        }

        .pm-nav a.active {
            color: #ffffff;
            background: #1d4ed8;
        }

.pm-nav-cta-owner {
    background: rgba(15, 23, 42, .06);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, .12);
}

    .pm-nav-cta-owner:hover {
        background: rgba(37, 99, 235, .08);
        color: #0f172a;
        border-color: rgba(37, 99, 235, .20);
    }

.pm-nav-cta-vendor {
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: 1px solid rgba(37, 99, 235, .24);
}

    .pm-nav-cta-vendor:hover {
        background: linear-gradient(180deg, #1d4ed8, #1e40af);
        color: #ffffff;
    }

.pm-mobile-menu-btn,
.pm-mobile-bottom-nav {
    display: none;
}

/* =========================================================
   Main
   ========================================================= */

.pm-main {
    width: 100%;
    max-width: var(--pm-shell-width) !important;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
    flex: 1;
}

    .pm-main > section,
    .pm-main > div,
    .pm-section,
    .vendors-page {
        width: 100%;
        max-width: none;
    }

/* =========================================================
   Hero
   ========================================================= */

.pm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 1.1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pm-hero-card,
.pm-card {
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
}

.pm-hero-card {
    padding: clamp(1.25rem, 2.2vw, 1.8rem);
}

    .pm-hero-card .pm-title {
        max-width: 18ch;
    }

.pm-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 900;
    color: #1d4ed8;
    background: rgba(37, 99, 235, .1);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 999px;
    padding: .45rem .7rem;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pm-title {
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    margin: 0;
    color: #0f172a;
    font-weight: 900;
}

.pm-sub {
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 1rem 0 0;
    max-width: 62ch;
}

/* =========================================================
   Hero Visual
   ========================================================= */

.pm-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: clamp(220px, 27vw, 330px);
    padding: .75rem;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    overflow: hidden;
    position: relative;
}

    .pm-visual img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        border-radius: 16px;
    }

.pm-visual-placeholder {
    height: 100%;
    min-height: 220px;
    width: 100%;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 25% 20%, rgba(56, 189, 248, .32), transparent 12rem), radial-gradient(circle at 80% 80%, rgba(37, 99, 235, .22), transparent 14rem), linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    padding: 2rem;
    text-align: center;
}

    .pm-visual-placeholder strong {
        display: block;
        font-size: 2rem;
        letter-spacing: -.04em;
    }

/* =========================================================
   Buttons / Actions
   ========================================================= */

.pm-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 999px;
    padding: .8rem 1rem;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .18s ease;
}

.pm-btn-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(37, 99, 235, .22);
}

    .pm-btn-primary:hover {
        background: #1d4ed8;
        box-shadow: 0 18px 42px rgba(37, 99, 235, .32);
        transform: translateY(-1px);
    }

.pm-btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(148, 163, 184, .35);
}

    .pm-btn-secondary:hover {
        background: rgba(37, 99, 235, .08);
        color: #1d4ed8;
        border-color: rgba(37, 99, 235, .32);
        transform: translateY(-1px);
    }

/* =========================================================
   Sections / Cards / Grid
   ========================================================= */

.pm-section {
    margin-top: 2rem;
}

.pm-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pm-section-title {
    font-size: 1.6rem;
    letter-spacing: -.04em;
    margin: 0;
}

.pm-muted {
    color: #64748b;
}

.pm-grid-3 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.pm-card {
    padding: 1.2rem;
    transition: all .18s ease;
}

    .pm-card:hover {
        border-color: rgba(37, 99, 235, .22);
        box-shadow: 0 28px 80px rgba(15, 23, 42, .11);
    }

.pm-card-title {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -.025em;
    margin: .25rem 0 .4rem;
}

.pm-price {
    font-size: 1.2rem;
    font-weight: 950;
    color: #0f172a;
}

.pm-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .4rem .65rem;
    font-weight: 850;
    font-size: .78rem;
    background: rgba(37, 99, 235, .1);
    color: #1d4ed8;
}

/* =========================================================
   Footer
   ========================================================= */

.pm-footer {
    margin-top: auto;
    border-top: 1px solid rgba(148, 163, 184, .24);
    background: rgba(255, 255, 255, .7);
}

.pm-footer-inner {
    width: 100%;
    max-width: var(--pm-shell-width) !important;
    margin: 0 auto;
    padding: 1.4rem 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.pm-powered {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: rgba(100,116,139,.8);
    text-decoration: none;
}

.pm-powered-icon {
    width: 16px;
    height: 16px;
    opacity: .75;
    transition: opacity .15s ease;
}

.pm-powered:hover {
    color: #334155;
}

    .pm-powered:hover .pm-powered-icon {
        opacity: 1;
    }

.pm-footer-admin {
    display: flex;
    align-items: center;
}

.pm-footer-admin-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(100, 116, 139, .72);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

    .pm-footer-admin-link:hover {
        color: #334155;
        text-decoration: underline;
    }

    .pm-footer-admin-link i {
        font-size: .85rem;
    }

.pm-footer-brand-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.pm-footer-owner-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: rgba(71, 85, 105, .72);
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none;
}

    .pm-footer-owner-link:hover {
        color: #1e293b;
    }

    .pm-footer-owner-link i {
        font-size: .8rem;
    }

/* =========================================================
   Newsletter Footer Overrides
   ========================================================= */

.pm-newsletter-kicker {
    display: block;
    margin: 0 0 .2rem;
    color: #2563eb;
    font-size: .66rem;
    font-weight: 950;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.pm-newsletter-title {
    margin: 0 0 .18rem;
    color: #0f172a;
    font-size: .92rem;
    font-weight: 950;
    line-height: 1.02;
}

.pm-newsletter-sub {
    margin: 0 0 1rem;
    color: #475569;
    font-size: .78rem;
    font-weight: 730;
    line-height: 1.24;
}

.pm-newsletter-form {
    display: block !important;
    margin: 0 !important;
}

.pm-newsletter-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: .42rem !important;
    margin-top: .35rem !important;
}

.pm-newsletter-input {
    display: block !important;
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(148,163,184,.24) !important;
    background: rgba(255,255,255,.95) !important;
    color: #0f172a !important;
    padding: .48rem .7rem !important;
    outline: none !important;
    font-size: .82rem !important;
    font-weight: 780 !important;
    line-height: 1 !important;
}

    .pm-newsletter-input::placeholder {
        color: #94a3b8;
    }

    .pm-newsletter-input:focus {
        border-color: rgba(37,99,235,.55) !important;
        box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    }

.pm-newsletter-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: .48rem .7rem !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: linear-gradient(180deg, #2563eb, #1d4ed8) !important;
    color: #ffffff !important;
    font-size: .82rem !important;
    font-weight: 900 !important;
}

.pm-newsletter-message {
    margin: 0 0 .85rem;
    padding: .7rem .85rem;
    border-radius: 14px;
    font-size: .88rem;
    font-weight: 850;
    line-height: 1.35;
}

    .pm-newsletter-message.success {
        background: rgba(34,197,94,.10);
        border: 1px solid rgba(34,197,94,.18);
        color: #166534;
    }

    .pm-newsletter-message.error {
        background: rgba(239,68,68,.08);
        border: 1px solid rgba(239,68,68,.16);
        color: #991b1b;
    }

/* =========================================================
   Public Vendor Portal Theme
   ========================================================= */

.vp-public-page {
    width: 100%;
    max-width: 1475px;
    margin: 0 auto;
    color: rgba(234,242,255,.92);
}

    .vp-public-page .st-vendor-page-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 16px;
    }

    .vp-public-page .st-vendor-page-title {
        color: #ffffff;
        font-size: clamp(1.45rem, 2vw, 2rem);
        font-weight: 950;
        line-height: 1.08;
    }

    .vp-public-page .st-vendor-page-subtitle {
        color: rgba(203,213,225,.78);
        font-weight: 750;
        line-height: 1.5;
        max-width: 76ch;
    }

    .vp-public-page .st-vendor-page-body {
        color: rgba(234,242,255,.92);
    }

    .vp-public-page .st-card,
    .vp-public-page .st-section,
    .vp-public-page .vd-panel,
    .vp-public-page .vd-stat,
    .vp-public-page .rc-metric-card,
    .vp-public-page .rc-receipt-stage,
    .vp-public-page .receipt-box,
    .vp-public-page .st-csvhelp,
    .vp-public-page .st-vendor-storebar {
        background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(15,23,42,.94)) !important;
        border: 1px solid rgba(148,163,184,.22) !important;
        color: rgba(234,242,255,.92) !important;
        box-shadow: 0 18px 42px rgba(0,0,0,.22);
    }

    .vp-public-page .st-title,
    .vp-public-page .fw-bold,
    .vp-public-page .fw-semibold,
    .vp-public-page strong,
    .vp-public-page h1,
    .vp-public-page h2,
    .vp-public-page h3,
    .vp-public-page h4,
    .vp-public-page h5,
    .vp-public-page h6 {
        color: #ffffff !important;
    }

    .vp-public-page .st-muted,
    .vp-public-page .st-help,
    .vp-public-page .text-muted,
    .vp-public-page .pg-sub,
    .vp-public-page .vd-muted,
    .vp-public-page .receipt-sub,
    .vp-public-page .receipt-qty,
    .vp-public-page .receipt-line-meta,
    .vp-public-page .receipt-footer {
        color: rgba(203,213,225,.78) !important;
    }

    .vp-public-page .st-input,
    .vp-public-page .st-select,
    .vp-public-page .form-control,
    .vp-public-page .form-select {
        background: rgba(15,23,42,.94) !important;
        border: 1px solid rgba(148,163,184,.28) !important;
        color: rgba(248,250,252,.96) !important;
    }

        .vp-public-page .st-input::placeholder,
        .vp-public-page .form-control::placeholder {
            color: rgba(203,213,225,.58) !important;
        }

        .vp-public-page .form-select option,
        .vp-public-page .st-select option {
            background: #0f172a;
            color: #f8fafc;
        }

    .vp-public-page .st-label,
    .vp-public-page label {
        color: rgba(226,232,240,.90) !important;
        font-weight: 850;
    }

    .vp-public-page .st-btn-primary {
        background: linear-gradient(135deg, #2563eb, #0891b2) !important;
        border-color: rgba(125,211,252,.55) !important;
        color: #ffffff !important;
    }

    .vp-public-page .st-btn-outline {
        background: rgba(15,23,42,.76) !important;
        border: 1px solid rgba(125,211,252,.36) !important;
        color: rgba(224,242,254,.95) !important;
    }

        .vp-public-page .st-btn-outline:hover {
            background: rgba(56,189,248,.14) !important;
            border-color: rgba(125,211,252,.62) !important;
            color: #ffffff !important;
        }

    .vp-public-page table,
    .vp-public-page .table {
        --bs-table-bg: transparent;
        --bs-table-color: rgba(234,242,255,.92);
        --bs-table-border-color: rgba(148,163,184,.20);
        --bs-table-striped-bg: rgba(255,255,255,.035);
        --bs-table-hover-bg: rgba(56,189,248,.08);
        color: rgba(234,242,255,.92) !important;
    }

    .vp-public-page thead th {
        background: rgba(30,41,59,.98) !important;
        color: rgba(226,232,240,.94) !important;
        border-bottom: 1px solid rgba(148,163,184,.26) !important;
        font-weight: 900;
    }

    .vp-public-page tbody td {
        color: rgba(234,242,255,.90) !important;
        border-top: 1px solid rgba(148,163,184,.16) !important;
    }

    .vp-public-page tbody tr:hover td {
        background: rgba(56,189,248,.07) !important;
    }

    .vp-public-page .st-tabs {
        display: inline-flex;
        gap: 6px;
        padding: 6px;
        border-radius: 16px;
        background: rgba(15,23,42,.92);
        border: 1px solid rgba(148,163,184,.24);
    }

    .vp-public-page .st-tab {
        border: 1px solid transparent;
        background: transparent;
        color: rgba(203,213,225,.82) !important;
        font-weight: 900;
        padding: .58rem .95rem;
        border-radius: 12px;
    }

        .vp-public-page .st-tab:hover {
            background: rgba(56,189,248,.12);
            color: #ffffff !important;
        }

        .vp-public-page .st-tab.active {
            background: linear-gradient(135deg, #2563eb, #0891b2) !important;
            color: #ffffff !important;
            border-color: rgba(125,211,252,.48) !important;
        }

    .vp-public-page .st-badge,
    .vp-public-page .vd-badge,
    .vp-public-page .rc-tag {
        color: rgba(248,250,252,.94) !important;
        border: 1px solid rgba(148,163,184,.24) !important;
        background: rgba(15,23,42,.76) !important;
    }

    .vp-public-page .st-badge-ok {
        background: rgba(34,197,94,.16) !important;
        border-color: rgba(134,239,172,.32) !important;
        color: rgba(220,252,231,.96) !important;
    }

    .vp-public-page .st-badge-warn {
        background: rgba(245,158,11,.16) !important;
        border-color: rgba(251,191,36,.36) !important;
        color: rgba(254,243,199,.96) !important;
    }

    .vp-public-page .st-badge-danger {
        background: rgba(239,68,68,.16) !important;
        border-color: rgba(252,165,165,.36) !important;
        color: rgba(254,226,226,.96) !important;
    }

/* =========================================================
   Public Vendor Sales / Payouts / Receipts Readability
   ========================================================= */

.st-vendor-shell-public .vp-sales-sidecard,
.st-vendor-shell-public .vp-payout-sidecard,
.st-vendor-shell-public .vp-payout-summary .st-card,
.st-vendor-shell-public .vp-payout-grid,
.st-vendor-shell-public .vp-sales-summary .st-card,
.st-vendor-shell-public .vp-sales-grid {
    background: #ffffff !important;
    border: 1px solid rgba(148,163,184,.26) !important;
    color: #0f172a !important;
    box-shadow: 0 18px 45px rgba(15,23,42,.08) !important;
}

.st-vendor-shell-public .vp-sales-kv span,
.st-vendor-shell-public .vp-sales-muted,
.st-vendor-shell-public .vp-sales-sub,
.st-vendor-shell-public .vp-sales-stat-sub {
    color: #475569 !important;
}

.st-vendor-shell-public .vp-sales-kv strong,
.st-vendor-shell-public .vp-sales-main,
.st-vendor-shell-public .vp-sales-strong,
.st-vendor-shell-public .vp-sales-stat-value {
    color: #0f172a !important;
}

.st-vendor-shell-public .vp-sales-stat-label {
    color: #64748b !important;
}

.st-vendor-shell-public .vp-sales-payment {
    background: #f8fafc !important;
    border: 1px solid rgba(148,163,184,.28) !important;
    color: #334155 !important;
}

.st-vendor-shell-public .vp-payout-stat,
.st-vendor-shell-public .vp-payout-stat.net {
    background: #ffffff !important;
    border-color: rgba(148,163,184,.26) !important;
    color: #0f172a !important;
}

.st-vendor-shell-public .vp-payout-stat-label,
.st-vendor-shell-public .vp-payout-sub,
.st-vendor-shell-public .vp-payout-muted,
.st-vendor-shell-public .vp-payout-note,
.st-vendor-shell-public .vp-payout-kv span,
.st-vendor-shell-public .vp-payout-stat-sub {
    color: #475569 !important;
}

.st-vendor-shell-public .vp-payout-stat-value,
.st-vendor-shell-public .vp-payout-main,
.st-vendor-shell-public .vp-payout-strong,
.st-vendor-shell-public .vp-payout-kv strong {
    color: #0f172a !important;
}

.st-vendor-shell-public .vp-payout-badge {
    background: #f8fafc !important;
    border: 1px solid rgba(148,163,184,.28) !important;
    color: #334155 !important;
}

    .st-vendor-shell-public .vp-payout-badge.estimated {
        background: rgba(37,99,235,.10) !important;
        border-color: rgba(37,99,235,.28) !important;
        color: #1d4ed8 !important;
    }

.st-vendor-shell-public .vp-payout-table,
.st-vendor-shell-public .vp-sales-table {
    background: #ffffff !important;
    color: #0f172a !important;
    --bs-table-bg: #ffffff !important;
    --bs-table-color: #0f172a !important;
    --bs-table-border-color: #e2e8f0 !important;
    --bs-table-hover-bg: rgba(37,99,235,.045) !important;
}

    .st-vendor-shell-public .vp-payout-table thead th,
    .st-vendor-shell-public .vp-sales-table thead th {
        background: #f1f5f9 !important;
        color: #334155 !important;
        border-bottom: 1px solid rgba(148,163,184,.32) !important;
    }

    .st-vendor-shell-public .vp-payout-table tbody td,
    .st-vendor-shell-public .vp-sales-table tbody td {
        color: #0f172a !important;
        border-color: #e2e8f0 !important;
    }

.st-vendor-shell-public .st-vendor-content div[style*="color:#fff"],
.st-vendor-shell-public .st-vendor-content strong[style*="color:#fff"] {
    color: #0f172a !important;
}

.st-vendor-shell-public .st-vendor-content div[style*="rgba(234,242,255"] {
    color: #475569 !important;
}

.st-vendor-shell-public .vp-payout-empty,
.st-vendor-shell-public .vp-payout-empty div {
    color: #475569 !important;
}

    .st-vendor-shell-public .vp-payout-empty i {
        color: #2563eb !important;
    }

.st-vendor-shell-public .vp-payout-grid .vp-payout-empty,
.st-vendor-shell-public .vp-payout-sidecard .vp-payout-empty {
    background: #f8fafc !important;
    border: 1px dashed rgba(148,163,184,.34) !important;
    border-radius: 16px;
    padding: 28px;
}

.st-vendor-shell-public .vendor-receipt-view-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 76px;
    height: 34px;
    padding: 0 .75rem !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid rgba(37,99,235,.35) !important;
    color: #1d4ed8 !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

    .st-vendor-shell-public .vendor-receipt-view-btn i,
    .st-vendor-shell-public .vendor-receipt-view-btn span {
        color: #1d4ed8 !important;
    }

    .st-vendor-shell-public .vendor-receipt-view-btn:hover {
        background: rgba(37,99,235,.08) !important;
        border-color: rgba(37,99,235,.55) !important;
        color: #1d4ed8 !important;
    }

/* =========================================================
   Public Vendor Locations
   ========================================================= */

.st-vendor-shell-public .vp-location-summary-card,
.st-vendor-shell-public .vp-location-summary-row,
.st-vendor-shell-public .vp-location-card {
    background: #ffffff !important;
    border: 1px solid rgba(148,163,184,.26) !important;
    color: #0f172a !important;
}

.st-vendor-shell-public .vp-location-section-title,
.st-vendor-shell-public .vp-location-title,
.st-vendor-shell-public .vp-location-summary-main,
.st-vendor-shell-public .vp-location-summary-main strong,
.st-vendor-shell-public .vp-location-code {
    color: #0f172a !important;
}

    .st-vendor-shell-public .vp-location-section-subtitle,
    .st-vendor-shell-public .vp-location-subtitle,
    .st-vendor-shell-public .vp-location-summary-main small,
    .st-vendor-shell-public .vp-location-kv span,
    .st-vendor-shell-public .vp-location-notes-text {
        color: #475569 !important;
    }

.st-vendor-shell-public .vp-location-status,
.st-vendor-shell-public .vp-assigned-badge,
.st-vendor-shell-public .vp-location-status.assigned {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: .38rem .68rem;
    border-radius: 999px;
    background: rgba(34,197,94,.14) !important;
    border: 1px solid rgba(34,197,94,.30) !important;
    color: #14532d !important;
    font-weight: 900 !important;
}

    .st-vendor-shell-public .vp-location-status *,
    .st-vendor-shell-public .vp-assigned-badge * {
        color: inherit !important;
    }

.st-vendor-shell-public .vp-request-card {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(148,163,184,.26) !important;
}

    .st-vendor-shell-public .vp-request-card .vp-request-title,
    .st-vendor-shell-public .vp-request-card .vp-request-subtitle,
    .st-vendor-shell-public .vp-request-card .vp-request-hint {
        color: #0f172a !important;
    }

    .st-vendor-shell-public .vp-request-card .vp-request-subtitle,
    .st-vendor-shell-public .vp-request-card .vp-request-hint {
        color: #475569 !important;
    }

    .st-vendor-shell-public .vp-request-card .st-btn-primary {
        background: #2563eb !important;
        border-color: #2563eb !important;
        color: #ffffff !important;
    }

        .st-vendor-shell-public .vp-request-card .st-btn-primary:hover {
            background: #1d4ed8 !important;
            border-color: #1d4ed8 !important;
            color: #ffffff !important;
        }

/* =========================================================
   Request Space Modal Public Fix
   ========================================================= */

.st-vendor-shell-public .st-modal {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(148,163,184,.28) !important;
}

.st-vendor-shell-public .st-modal-title,
.st-vendor-shell-public .st-modal-subtitle {
    color: #0f172a !important;
}

.st-vendor-shell-public .st-modal [style*="color:#fff"],
.st-vendor-shell-public .st-modal strong {
    color: #0f172a !important;
}

.st-vendor-shell-public .st-modal [style*="rgba(234,242,255"],
.st-vendor-shell-public .st-help {
    color: #475569 !important;
}

.st-vendor-shell-public .st-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f1f5f9 !important;
    border: 1px solid rgba(148,163,184,.35) !important;
    color: #334155 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

    .st-vendor-shell-public .st-modal-close:hover {
        background: #e2e8f0 !important;
        color: #0f172a !important;
    }

.st-vendor-shell-public .st-modal .st-btn-primary {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 10px 26px rgba(37,99,235,.18) !important;
}

    .st-vendor-shell-public .st-modal .st-btn-primary:hover {
        background: #1d4ed8 !important;
        border-color: #1d4ed8 !important;
        color: #ffffff !important;
        transform: none !important;
    }

    .st-vendor-shell-public .st-modal .st-btn-primary * {
        color: #ffffff !important;
    }

/* =========================================================
   Public Loading Overlay
   ========================================================= */

.st-loading-overlay.st-loading-public {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(6px);
}

    .st-loading-overlay.st-loading-public .st-loading-card {
        background: #ffffff;
        border: 1px solid rgba(148,163,184,.28);
        box-shadow: 0 20px 50px rgba(15,23,42,.10);
    }

    .st-loading-overlay.st-loading-public .st-loading-title {
        color: #0f172a;
    }

    .st-loading-overlay.st-loading-public .st-loading-sub {
        color: #475569;
    }

    .st-loading-overlay.st-loading-public .st-loading-spinner {
        border: 3px solid rgba(148,163,184,.25);
        border-top-color: #2563eb;
    }

/* =========================================================
   Vendor Storefront
   ========================================================= */

.vendor-storefront-page {
    width: 100%;
}

.vendor-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* =========================================================
   Public Vendor Login
   ========================================================= */

.public-portal-login-page,
.public-vendor-login-page {
    width: 100%;
    max-width: 640px !important;
    margin-inline: auto;
}

.pm-login-card {
    border-radius: 30px;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid rgba(148, 163, 184, .22);
    background: radial-gradient(circle at top left, rgba(59, 130, 246, .16), transparent 34%), rgba(255,255,255,.94);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.pm-login-brand {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.35rem;
}

.pm-login-logo,
.pm-login-logo-mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    flex: 0 0 auto;
}

.pm-login-logo {
    object-fit: contain;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, .28);
    box-shadow: 0 14px 35px rgba(15, 23, 42, .12);
}

.pm-login-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: #ffffff;
    font-weight: 950;
    font-size: 1.1rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .16);
}

.pm-login-alert {
    margin: 1rem 0;
    padding: .9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(248, 113, 113, .34);
    background: rgba(254, 226, 226, .72);
    color: #7f1d1d;
    font-weight: 800;
}

.pm-login-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.pm-login-label {
    display: block;
    margin-bottom: .4rem;
    color: #0f172a;
    font-size: .86rem;
    font-weight: 900;
}

.pm-login-input {
    width: 100%;
    min-height: 48px;
    border-radius: 15px;
    border: 1px solid rgba(148, 163, 184, .32);
    background: rgba(255, 255, 255, .92);
    color: #0f172a;
    padding: .75rem .9rem;
    font-weight: 750;
    outline: none;
}

    .pm-login-input:focus {
        border-color: rgba(37, 99, 235, .45);
        box-shadow: 0 0 0 .22rem rgba(37, 99, 235, .11);
    }

.pm-login-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pm-login-check {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(51, 65, 85, .92);
    font-weight: 800;
}

.pm-login-link {
    color: #2563eb;
    font-weight: 900;
    text-decoration: none;
}

    .pm-login-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

.pm-login-submit {
    width: auto;
    min-width: 180px;
    padding-inline: 1.5rem;
    margin-top: .5rem;
}

.pm-login-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.15rem;
}

.pm-login-note {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .035);
    color: rgba(51, 65, 85, .9);
    font-weight: 750;
    line-height: 1.45;
}

.pm-login-powered {
    margin-top: 1rem;
    text-align: center;
    color: rgba(100, 116, 139, .78);
    font-size: .78rem;
    font-weight: 850;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {
    .pm-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .vendor-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .pm-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pm-hero-card {
        padding: 1.2rem;
    }

    .pm-visual {
        height: clamp(170px, 54vw, 260px);
        padding: .55rem;
    }

    .pm-grid-3,
    .vendor-products-grid {
        grid-template-columns: 1fr;
    }

    .pm-footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .public-portal-login-page {
        max-width: 100% !important;
        padding-inline: .75rem;
    }

    .public-portal-login-page .pm-login-card {
        border-radius: 22px;
        padding: 1.15rem;
    }

    .public-portal-login-page .pm-login-brand {
        align-items: center;
        gap: .85rem;
    }

    .public-portal-login-page .pm-title {
        font-size: clamp(1.35rem, 8vw, 1.85rem);
        line-height: 1.08;
    }

    .public-portal-login-page .pm-sub {
        font-size: .95rem;
    }

    .public-portal-login-page .pm-login-submit {
        width: 100%;
    }

    .pm-header-inner {
        position: relative;
        flex-wrap: wrap;
        align-items: center;
        gap: .75rem;
        padding: .85rem 1rem;
    }

    .pm-brand {
        width: calc(100% - 118px);
        min-width: 0;
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        gap: .75rem;
    }

    .pm-logo {
        max-width: min(180px, 48vw);
        max-height: 58px;
        object-fit: contain;
        flex: 0 1 auto;
        border-radius: 12px;
    }

    .pm-logo-mark {
        width: 46px;
        height: 46px;
        flex: 0 0 auto;
    }

    .pm-brand-name,
    .pm-brand-sub {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pm-mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .45rem;
        min-height: 42px;
        padding: .55rem .85rem;
        border-radius: 999px;
        border: 1px solid rgba(148,163,184,.28);
        background: #ffffff;
        color: #0f172a;
        font-weight: 900;
        flex: 0 0 auto;
    }

        .pm-mobile-menu-btn i {
            color: #2563eb;
            font-size: 1.15rem;
        }

    .pm-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: .45rem;
        padding-top: .65rem;
        border-top: 1px solid rgba(148,163,184,.18);
    }

        .pm-nav.open {
            display: flex;
        }

        .pm-nav a,
        .pm-nav .pm-nav-cta {
            width: 100%;
            min-height: 44px;
            justify-content: center;
            border-radius: 14px;
        }

    .pm-mobile-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 10px;
        z-index: 1200;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: .18rem;
        padding: .34rem;
        border-radius: 20px;
        background: rgba(255,255,255,.96);
        border: 1px solid rgba(148,163,184,.24);
        border-top: 1px solid rgba(148,163,184,.22);
        box-shadow: 0 18px 50px rgba(15,23,42,.18);
        backdrop-filter: blur(10px);
    }

        .pm-mobile-bottom-nav a {
            min-width: 0;
            min-height: 48px;
            border-radius: 14px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: .12rem;
            color: #475569;
            text-decoration: none;
            font-size: .66rem;
            font-weight: 900;
            line-height: 1.05;
            text-align: center;
            white-space: nowrap;
        }

            .pm-mobile-bottom-nav a i {
                font-size: 1.05rem;
                color: #64748b;
            }

            .pm-mobile-bottom-nav a.active {
                background: rgba(37,99,235,.12);
                color: #1d4ed8;
                box-shadow: inset 0 0 0 1px rgba(37,99,235,.25);
            }

                .pm-mobile-bottom-nav a.active i {
                    color: #1d4ed8;
                }

    .pm-main {
        padding: 1.35rem 1rem 88px;
    }

    .pm-footer {
        padding-bottom: 96px;
    }

    .pm-newsletter-fields,
    .pm-newsletter-input,
    .pm-newsletter-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pm-newsletter-fields {
        gap: .8rem !important;
    }
}

@media (min-width: 768px) {
    .pm-nav {
        display: flex !important;
    }
}

@media (max-width: 575.98px) {
    .pm-login-brand {
        flex-direction: column;
    }

    .pm-login-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .pm-login-actions .pm-btn {
        width: 100%;
        justify-content: center;
    }
}

.pm-menu-open {
    overflow: hidden;
}

@media (max-width: 390px) {
    .pm-mobile-bottom-nav {
        left: 8px;
        right: 8px;
        gap: .1rem;
        padding: .28rem;
    }

        .pm-mobile-bottom-nav a {
            min-height: 46px;
            padding-inline: .08rem;
            font-size: .58rem;
        }

            .pm-mobile-bottom-nav a i {
                font-size: 1rem;
            }
}

/* =========================================================
   Public visual cleanup: no glow or drop-shadow effects
   ========================================================= */

.pm-shell *,
.pm-shell *::before,
.pm-shell *::after {
    box-shadow: none !important;
    text-shadow: none !important;
}

.pm-shell {
    background: #f8fafc;
}

.pm-header,
.pm-mobile-bottom-nav,
.pm-card,
.pm-hero-card,
.pm-footer,
.pm-footer-card,
.pm-footer-newsletter-card,
.pm-newsletter,
.pm-login-card,
.pm-vendor-card,
.pm-product-card {
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.pm-header,
.pm-mobile-bottom-nav {
    background: #ffffff;
}

.pm-nav a:hover,
.pm-nav a:focus-visible {
    box-shadow: none !important;
}

.pm-nav a:focus-visible,
.pm-mobile-menu-btn:focus-visible,
.pm-newsletter-input:focus,
.pm-login-input:focus,
.pm-btn:focus-visible {
    outline: 2px solid rgba(37, 99, 235, .28);
    outline-offset: 2px;
}

.pm-mobile-bottom-nav a.active {
    box-shadow: none !important;
}
