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

:root {
    --purple: #7C3AED;
    --deep: #4C1D95;
    --light: #EDE9FE;
    --bg: #F5F3FF;
    --ink: #21183A;
    --muted: #766D89;
    --line: #E9E4F2;
    --white: #fff;
    --danger: #B42318;
    --shadow: 0 12px 36px rgba(49, 26, 89, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================
   MAIN HEADER - USED ON CHECKOUT PAGES
========================================= */

.site-header {
    height: 72px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100% - 1160px) / 2));
    position: relative;
    z-index: 5;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--deep);
    font-weight: 800;
    font-size: 21px;
    text-decoration: none;
    letter-spacing: -.5px;
}

.brand-mark {
    border-radius: 11px;
    background: linear-gradient(135deg, #A78BFA, var(--deep));
    display: grid;
    place-items: center;
    color: white;
}

.secure-note,
.back-link {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}


/* =========================================
   TIXPINE PLATFORM HEADER
========================================= */

.vendor-hero {
    background: #fff;
}

.vendor-platform-header {
    min-height: 66px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100% - 1160px) / 2));
    position: relative;
    z-index: 5;
}

.vendor-platform-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--deep);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.7px;
    text-decoration: none;
}

.vendor-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #A78BFA, var(--deep));
    font-size: 19px;
    font-weight: 800;
}

.vendor-menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: .2s;
}

.vendor-menu-btn:hover {
    background: var(--bg);
    border-color: #D8CDED;
}

.vendor-menu-btn span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 5px;
    background: var(--deep);
}


/* =========================================
   OPERATOR INFORMATION
========================================= */

.vendor-info {
    max-width: 1160px;
    margin: 0 auto;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
}

.vendor-avatar {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--light);
    color: var(--deep);
    font-size: 23px;
    font-weight: 800;
}

.vendor-info-content {
    min-width: 0;
}

.vendor-info h1 {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
}

.vendor-info p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================
   VENDOR COVER IMAGE
========================================= */

.vendor-cover {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: var(--light);
}

.vendor-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   RIGHT SIDE NAVIGATION DRAWER
========================================= */

.vendor-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(20, 12, 37, .48);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.vendor-menu-backdrop.visible {
    opacity: 1;
    visibility: visible;
}

.vendor-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 41;
    width: 340px;
    max-width: 85%;
    background: #fff;
    box-shadow: -12px 0 36px rgba(31, 24, 48, .12);
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform .28s ease;
    visibility: hidden;
}

.vendor-menu.open {
    transform: translateX(0);
    visibility: visible;
}

.vendor-menu-header {
    min-height: 70px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.vendor-menu-title {
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
}

.vendor-menu-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--bg);
    color: var(--deep);
    font-size: 19px;
    display: grid;
    place-items: center;
    transition: .2s;
}

.vendor-menu-close:hover {
    background: var(--light);
}

.vendor-menu-nav {
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vendor-menu-link {
    min-height: 54px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-radius: 11px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.vendor-menu-link:hover {
    background: var(--bg);
    color: var(--deep);
}

.vendor-menu-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--light);
    color: var(--deep);
    font-size: 17px;
}

.vendor-menu-arrow {
    margin-left: auto;
    color: #A69BB8;
    font-size: 17px;
}

.vendor-menu-footer {
    margin-top: auto;
    padding: 20px 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.vendor-menu-footer strong {
    color: var(--deep);
}

body.vendor-menu-open {
    overflow: hidden;
}


/* =========================================
   PAGE CONTAINERS
========================================= */

.page-shell,
.checkout-shell {
    max-width: 1160px;
    margin: 32px auto 120px;
    padding: 0 24px;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    border: 0;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    transition: .18s;
}

.btn-primary {
    background: var(--deep);
    color: #fff;
    box-shadow: 0 5px 14px rgba(76, 29, 149, .17);
}

.btn-primary:hover {
    background: var(--purple);
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
}


/* =========================================
   COMMON TEXT
========================================= */

.eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 800;
    color: var(--purple);
    margin: 0 0 7px;
}

.muted,
.fine-print {
    color: var(--muted);
}

.fine-print {
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    margin: 12px 0 0;
}


/* =========================================
   ICON BUTTON
========================================= */

.icon-btn {
    border: 0;
    background: var(--bg);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--deep);
}


/* =========================================
   EMPTY AND LOADING STATES
========================================= */

.empty-state,
.loading-card {
    background: white;
    border: 1px dashed #D8CDED;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    color: var(--muted);
    grid-column: 1 / -1;
}


/* =========================================
   TOAST
========================================= */

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #21183A;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    z-index: 30;
    box-shadow: var(--shadow);
}

[hidden] {
    display: none !important;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 640px) {

    .site-header {
        height: 62px;
        padding: 0 18px;
    }

    .secure-note {
        display: none;
    }

    .page-shell,
    .checkout-shell {
        margin-top: 18px;
        padding: 0 16px;
    }

    .vendor-platform-header {
        min-height: 60px;
        padding: 0 18px;
    }

    .vendor-platform-brand {
        font-size: 20px;
    }

    .vendor-brand-mark {
        width: 32px;
        height: 32px;
    }

    .vendor-info {
        padding: 18px;
        gap: 12px;
    }

    .vendor-avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 13px;
        font-size: 21px;
    }

    .vendor-info h1 {
        font-size: 17px;
    }

    .vendor-info p {
        font-size: 12px;
    }

    .vendor-cover {
        height: 190px;
    }

    .vendor-menu {
        width: 320px;
    }

}
.brand-logo {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-family: Arial, sans-serif;
    font-size: 35px;
    letter-spacing: -1px;
    line-height: 1;
    color: #4C1D95;
    text-decoration: none;
}

.brand-mark {
    display: inline-block;
    background: none !important;
    border: none;
    box-shadow: none;
    color: #7C3AED;
    font-size: 1.2em;
    line-height: 1;
    padding: 0px 2px 0px 0px;
    white-space: nowrap;
    letter-spacing: -4px;
    flex-shrink: 0;
}

.vendor-platform-brand .brand-logo {
    font-size: 34px;
}

.vendor-platform-brand .brand-mark {
    font-size: 1.2em;
    letter-spacing: -5px;
    margin-right: 5px;
}

/* Homepage footer */
.home-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    border-top: 1px solid #eee9f4;
    background: #ffffff;
    text-align: center;
}

.home-footer strong {
    color: #6d28d9;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.7px;
}

.home-footer span {
    margin-top: 7px;
    color: #82788f;
    font-size: 12px;
}

.home-footer p {
    margin: 18px 0 0;
    color: #a39aaa;
    font-size: 11px;
}
