﻿.st-vendor-shell {
    display: flex;
    min-height: 100vh;
    position: relative;
}

    .st-vendor-shell *,
    .st-vendor-shell *::before,
    .st-vendor-shell *::after {
        box-shadow: none !important;
        text-shadow: none !important;
        filter: none !important;
    }

.st-vendor-sidebar {
    width: 290px;
    flex: 0 0 290px;
    background: rgba(9, 16, 31, 0.92);
    border-right: 1px solid rgba(255,255,255,.08);
    padding: 18px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 30;
}

.st-vendor-sidebar-collapse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 0 12px auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: rgba(234,242,255,.92);
    padding: 0;
}

    .st-vendor-sidebar-collapse:hover,
    .st-vendor-sidebar-collapse:focus-visible {
        background: rgba(255,255,255,.08);
        color: #ffffff;
        border-color: rgba(255,255,255,.16);
    }

@media (min-width: 992px) {
    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-sidebar {
        width: 88px;
        flex-basis: 88px;
        padding-inline: 14px;
        overflow-x: hidden;
    }

    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-sidebar-collapse {
        margin-inline: auto;
    }

    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-brand-wrap,
    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-workspace-card,
    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-nav-section,
    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-powered {
        display: none !important;
    }

    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-nav {
        gap: 10px;
        margin-top: 6px;
    }

    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-nav-link {
        justify-content: center;
        width: 46px;
        min-height: 46px;
        padding: 0;
        margin-inline: auto;
        border-radius: 14px;
    }

    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-nav-link > span:not(.st-vendor-nav-lock),
    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-nav-lock {
        display: none !important;
    }

    .st-vendor-shell.is-vendor-nav-collapsed .st-vendor-nav-link i {
        margin: 0 !important;
        font-size: 1.05rem;
    }
}

.st-vendor-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.st-vendor-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(9, 16, 31, 0.78);
    backdrop-filter: none;
    position: sticky;
    top: 0;
    z-index: 20;
}

.st-vendor-topbar-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.st-vendor-topbar-menu {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.st-vendor-topbar-kicker {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(234,242,255,.64);
    margin-bottom: 4px;
}

.st-vendor-topbar-title {
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 900;
    line-height: 1.15;
}

.st-vendor-topbar-subtitle {
    margin-top: 4px;
    color: rgba(234,242,255,.68);
    font-weight: 700;
    line-height: 1.45;
}

.st-vendor-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
}

.st-vendor-topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: rgba(234,242,255,.92);
    text-decoration: none;
    font-weight: 700;
    transition: all .15s ease;
}

    .st-vendor-topbar-link:hover {
        color: #fff;
        background: rgba(255,255,255,.07);
        transform: none;
    }

.st-vendor-topbar-more {
    position: relative;
}

.st-vendor-topbar-more-btn {
    cursor: pointer;
}

.st-vendor-topbar-more-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(11, 18, 34, 0.98);
    box-shadow: none;
    z-index: 60;
}

.st-vendor-topbar-more-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(234,242,255,.92);
    text-decoration: none;
    font-weight: 700;
}

    .st-vendor-topbar-more-link:hover {
        background: rgba(255,255,255,.06);
        color: #fff;
    }

.st-vendor-content {
    padding: 22px;
    min-width: 0;
}

.st-vendor-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: all .18s ease;
    z-index: 35;
}

    .st-vendor-mobile-overlay.show {
        opacity: 1;
        visibility: visible;
    }

.st-vendor-sidebar-mobile-top {
    display: none;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.st-vendor-sidebar-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: #fff;
}

.st-vendor-brand-wrap {
    margin-bottom: 16px;
}

.st-vendor-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.st-vendor-logo {
    max-width: 257px;
    border-radius: 14px;
}

@media (max-width: 991.98px) {
    .st-vendor-logo {
        width: 320px; /* or 160px depending on feel */
        max-width: 100%;
    }
}

.st-vendor-workspace-card {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    margin-bottom: 16px;
}

.st-vendor-workspace-label {
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(234,242,255,.60);
    margin-bottom: 4px;
}

.st-vendor-workspace-name {
    color: #fff;
    font-weight: 800;
    line-height: 1.25;
}

.st-vendor-workspace-vendor {
    margin-top: 5px;
    color: rgba(234,242,255,.72);
    font-weight: 700;
}

.st-vendor-nav {
    display: grid;
    gap: 8px;
}

.st-vendor-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    color: rgba(234,242,255,.82);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all .15s ease;
}

    .st-vendor-nav-link:hover {
        color: #fff;
        background: rgba(255,255,255,.05);
        border-color: rgba(255,255,255,.08);
    }

    .st-vendor-nav-link.active {
        color: #fff;
        background: rgba(56,189,248,.12);
        border-color: rgba(56,189,248,.22);
    }

.st-vendor-nav-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.st-vendor-nav-footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    color: rgba(234,242,255,.82);
    text-decoration: none;
    font-weight: 700;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
}

    .st-vendor-nav-footer-link:hover {
        color: #fff;
        background: rgba(255,255,255,.06);
    }

.st-vendor-page {
    display: grid;
    gap: 16px;
}

.st-vendor-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.st-vendor-page-heading {
    min-width: 0;
}

.st-vendor-page-title {
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 900;
    line-height: 1.15;
}

.st-vendor-page-subtitle {
    margin-top: 5px;
    color: rgba(234,242,255,.70);
    font-weight: 700;
    line-height: 1.45;
}

.st-vendor-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.st-vendor-page-body {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .st-vendor-sidebar-collapse {
        display: none;
    }

    .st-vendor-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform .18s ease;
        z-index: 50;
        width: min(88vw, 340px);
        max-width: 340px;
        flex-basis: auto;
    }

        .st-vendor-sidebar.is-open {
            transform: translateX(0);
        }

    .st-vendor-sidebar-mobile-top {
        display: flex;
    }

    .st-vendor-topbar-menu {
        display: inline-flex;
    }

    .st-vendor-topbar-link-desktop {
        display: none;
    }

    .st-vendor-topbar {
        padding: 16px;
    }

    .st-vendor-content {
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .st-vendor-topbar-right {
        gap: 8px;
    }

    .st-vendor-topbar-link-utility {
        display: none;
    }

    .st-vendor-topbar-title {
        font-size: 1.1rem;
    }

    .st-vendor-topbar-subtitle {
        font-size: .93rem;
    }
}

.st-vendor-topbar-more {
    display: none;
}

@media (max-width: 991.98px) {
    .st-vendor-topbar-more {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .st-vendor-topbar-link-desktop {
        display: none;
    }
}

.pos-discount-section {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.035);
    padding: 13px;
}

    .pos-discount-section + .pos-discount-section {
        margin-top: 12px;
    }

.pos-discount-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.pos-discount-section-title {
    color: #fff;
    font-weight: 950;
}

.pos-discount-section-sub {
    color: rgba(234,242,255,.62);
    font-size: .86rem;
    font-weight: 720;
    margin-top: 2px;
}

.pos-discount-scope-pill {
    display: inline-flex;
    align-items: center;
    padding: .28rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

    .pos-discount-scope-pill.vendor {
        color: #dcfce7;
        border: 1px solid rgba(34,197,94,.28);
        background: rgba(34,197,94,.12);
    }

    .pos-discount-scope-pill.owner {
        color: #fef3c7;
        border: 1px solid rgba(245,158,11,.28);
        background: rgba(245,158,11,.12);
    }

.pos-discount-choice-grid {
    display: grid;
    gap: 8px;
}

.pos-discount-choice {
    width: 100%;
    border-radius: 14px;
    padding: 11px 12px;
    text-align: left;
    color: #fff;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.045);
}

    .pos-discount-choice:hover {
        color: #fff;
        border-color: rgba(56,189,248,.34);
        background: rgba(255,255,255,.07);
    }

.pos-discount-choice-vendor {
    border-color: rgba(34,197,94,.22);
    background: rgba(34,197,94,.10);
}

.pos-discount-choice-owner {
    border-color: rgba(245,158,11,.22);
    background: rgba(245,158,11,.10);
}

.pos-discount-choice-sub {
    margin-top: 3px;
    color: rgba(234,242,255,.66);
    font-size: .84rem;
    font-weight: 720;
}

.st-modal[aria-label="Discount"] {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 80px);
    overflow: hidden;
}

    .st-modal[aria-label="Discount"] .st-modal-body {
        flex: 1 1 auto;
        overflow-y: auto;
        min-height: 0;
        padding-bottom: 16px;
    }

    .st-modal[aria-label="Discount"] .st-modal-footer {
        flex: 0 0 auto;
        position: sticky;
        bottom: 0;
        background: rgba(10,18,38,0.98);
        border-top: 1px solid rgba(255,255,255,.12);
        z-index: 2;
    }

@media (max-width: 575.98px) {
    .st-modal[aria-label="Discount"] {
        top: 10px;
        max-height: calc(100dvh - 20px);
        width: calc(100vw - 16px);
    }
}

.st-vendor-shell-solentx {
    /* current Solentx look stays as-is */
}

.st-vendor-shell-public {
    background: #f8fafc;
}

    .st-vendor-shell-public .st-vendor-sidebar {
        background: #ffffff;
        border-right: 1px solid rgba(148,163,184,.18);
    }

    .st-vendor-shell-public .st-vendor-topbar {
        background: rgba(255,255,255,.92);
        border-bottom: 1px solid rgba(148,163,184,.18);
    }

    .st-vendor-shell-public .st-vendor-topbar-menu,
    .st-vendor-shell-public .st-vendor-topbar-more-btn,
    .st-vendor-shell-public .st-vendor-sidebar-collapse {
        background: #ffffff !important;
        border: 1px solid rgba(148,163,184,.34) !important;
        color: #0f172a !important;
        box-shadow: none !important;
    }

        .st-vendor-shell-public .st-vendor-topbar-menu i,
        .st-vendor-shell-public .st-vendor-topbar-more-btn i,
        .st-vendor-shell-public .st-vendor-sidebar-collapse i {
            color: #0f172a !important;
        }

        .st-vendor-shell-public .st-vendor-topbar-menu:hover,
        .st-vendor-shell-public .st-vendor-topbar-more-btn:hover,
        .st-vendor-shell-public .st-vendor-sidebar-collapse:hover {
            background: #eff6ff !important;
            border-color: #bfdbfe !important;
            color: #1d4ed8 !important;
        }

            .st-vendor-shell-public .st-vendor-topbar-menu:hover i,
            .st-vendor-shell-public .st-vendor-topbar-more-btn:hover i,
            .st-vendor-shell-public .st-vendor-sidebar-collapse:hover i {
                color: #1d4ed8 !important;
            }

    .st-vendor-shell-public .st-vendor-topbar-more-menu {
        background: #ffffff !important;
        border: 1px solid #d7dee8 !important;
        box-shadow: none !important;
        color: #0f172a !important;
    }

    .st-vendor-shell-public .st-vendor-topbar-more-link {
        background: transparent !important;
        color: #334155 !important;
    }

        .st-vendor-shell-public .st-vendor-topbar-more-link i {
            color: #2563eb !important;
        }

        .st-vendor-shell-public .st-vendor-topbar-more-link:hover,
        .st-vendor-shell-public .st-vendor-topbar-more-link:focus,
        .st-vendor-shell-public .st-vendor-topbar-more-link.active {
            background: #eff6ff !important;
            color: #1e3a8a !important;
        }

            .st-vendor-shell-public .st-vendor-topbar-more-link:hover i,
            .st-vendor-shell-public .st-vendor-topbar-more-link:focus i,
            .st-vendor-shell-public .st-vendor-topbar-more-link.active i {
                color: #1d4ed8 !important;
            }

    .st-vendor-shell-public .st-vendor-sidebar-close {
        background: #ffffff !important;
        border: 1px solid rgba(148,163,184,.34) !important;
        color: #0f172a !important;
        box-shadow: none !important;
    }

        .st-vendor-shell-public .st-vendor-sidebar-close i {
            color: #0f172a !important;
        }
