/* =============================================
   WHOLESALE CHANNEL — Dark Messenger Theme
   ============================================= */

/* === LOGIN PAGE === */
.ws-login-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b141a 0%, #1a2332 100%);
    padding: 40px 16px;
}

.ws-login-card {
    background: #fff;
    border-radius: 16px;
    padding: 48px 36px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.ws-login-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0068b0, #25d366);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
}

.ws-login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.ws-login-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.ws-login-error {
    background: #faf1ee;
    color: #a83a2b;
    border: 1px solid #f3d8cf;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-align: left;
}

.ws-login-form {
    margin-bottom: 24px;
}

.ws-login-input-wrap {
    display: flex;
    border: 2px solid #dfdfd6;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ws-login-input-wrap:focus-within {
    border-color: #0068b0;
}

.ws-login-input-wrap input {
    flex: 1;
    border: none;
    padding: 14px 16px;
    font-size: 1rem;
    outline: none;
    background: transparent;
    min-width: 0;
}

.ws-login-submit {
    background: linear-gradient(135deg, #0068b0, #25d366);
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}

.ws-login-submit:hover {
    opacity: 0.85;
}

.ws-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef5f0;
    color: #116044;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid #c5e0d2;
}

/* === 3-STEP PROGRESS INDICATOR === */
.ws-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 8px;
}

.ws-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.ws-progress-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid #c8c9bf;
    color: #98a09a;
    background: #fff;
    transition: all 0.3s;
}

.ws-progress-step.complete .ws-progress-circle {
    background: linear-gradient(135deg, #0068b0, #25d366);
    border-color: #25d366;
    color: #fff;
    font-size: 0.7rem;
}

.ws-progress-step.active .ws-progress-circle {
    border-color: #0068b0;
    color: #0068b0;
    background: #eef5f0;
    animation: ws-pulse 2s infinite;
}

.ws-progress-step.pending .ws-progress-circle {
    border-color: #dfdfd6;
    color: #c8c9bf;
}

.ws-progress-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #98a09a;
    white-space: nowrap;
}

.ws-progress-step.complete .ws-progress-label {
    color: #0068b0;
}

.ws-progress-step.active .ws-progress-label {
    color: #0068b0;
}

.ws-progress-line {
    width: 40px;
    height: 2px;
    background: #dfdfd6;
    margin: 0 6px;
    margin-bottom: 22px;
    transition: background 0.3s;
}

.ws-progress-line.complete {
    background: linear-gradient(90deg, #25d366, #0068b0);
}

.ws-progress-line.active {
    background: linear-gradient(90deg, #0068b0, #dfdfd6);
}

@keyframes ws-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22, 103, 73,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(22, 103, 73,0); }
}


/* === OTP PAGE === */
.ws-otp-page .ws-login-card {
    max-width: 440px;
}

.ws-otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.ws-otp-inputs input {
    width: 48px;
    height: 56px;
    border: 2px solid #dfdfd6;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f7f6f1;
    color: #111;
}

.ws-otp-inputs input:focus {
    border-color: #0068b0;
    box-shadow: 0 0 0 3px rgba(22, 103, 73,0.15);
    background: #fff;
}

.ws-otp-inputs input:not(:placeholder-shown) {
    border-color: #25d366;
    background: #eef5f0;
}

.ws-otp-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0068b0, #25d366);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-bottom: 16px;
}

.ws-otp-submit:hover {
    opacity: 0.85;
}

.ws-otp-countdown {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 12px;
}

.ws-otp-countdown i {
    color: #0068b0;
}

.ws-otp-resend {
    margin-bottom: 8px;
}

.ws-otp-resend-btn {
    background: none;
    border: none;
    color: #0068b0;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 8px;
}

.ws-otp-resend-btn:hover {
    color: #0b7a6e;
}


/* === NO INVITE STATE === */
.ws-no-invite-icon {
    background: linear-gradient(135deg, #6c7670, #525c55);
}

.ws-no-invite-info {
    margin-bottom: 24px;
}

.ws-no-invite-security {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.ws-security-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #f7f6f1;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #3d463f;
    text-align: left;
}

.ws-security-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0068b0, #25d366);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ws-no-invite-contact {
    margin-bottom: 20px;
}

.ws-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.ws-contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: #eef5f0;
    border: 1px solid #c5e0d2;
    border-radius: 8px;
    color: #0068b0;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.ws-contact-links a:hover {
    background: #dcebe1;
    border-color: #0068b0;
}


/* === LOCKED / TIER-GATED MESSAGES === */
.ws-message-locked .ws-bubble {
    position: relative;
    overflow: hidden;
}

.ws-message-locked .ws-text {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

.ws-message-locked .ws-sender {
    filter: blur(0);
}

.ws-message-locked .ws-time {
    filter: blur(0);
}

.ws-locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    border-radius: inherit;
    z-index: 2;
    gap: 6px;
    padding: 12px;
}

.ws-locked-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c08a1e;
    font-size: 1.1rem;
    border: 1px solid rgba(192, 138, 30,0.3);
}

.ws-locked-label {
    color: #c08a1e;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.ws-locked-upgrade {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    text-align: center;
}

/* Tier badge on premium messages */
.ws-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.ws-tier-badge-premium {
    background: rgba(22, 103, 73,0.15);
    color: #0068b0;
    border: 1px solid rgba(22, 103, 73,0.3);
}

.ws-tier-badge-elite {
    background: rgba(192, 138, 30,0.15);
    color: #c08a1e;
    border: 1px solid rgba(192, 138, 30,0.3);
}

.ws-tier-badge-platinum {
    background: rgba(111, 96, 181,0.15);
    color: #6f60b5;
    border: 1px solid rgba(111, 96, 181,0.3);
}

/* Hide reactions on locked messages */
.ws-message-locked .ws-reactions {
    display: none;
}


/* === CHANNEL PAGE === */
.ws-channel {
    background: #0b141a;
    min-height: 100vh;
}

/* Channel Header */
.ws-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #1f2c34;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ws-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
}

.ws-header-info {
    flex: 1;
}

.ws-header-name {
    color: #e9edef;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ws-header-name .ws-lock-icon {
    color: #25d366;
    font-size: 0.75rem;
}

.ws-header-members {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.ws-header-logout {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ws-header-logout:hover {
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.85);
}

/* User Tier Badge in header */
.ws-header-tier {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ws-header-tier-standard { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.ws-header-tier-premium { background: rgba(22, 103, 73,0.15); color: #0068b0; border: 1px solid rgba(22, 103, 73,0.3); }
.ws-header-tier-elite { background: rgba(192, 138, 30,0.15); color: #c08a1e; border: 1px solid rgba(192, 138, 30,0.3); }
.ws-header-tier-platinum { background: rgba(111, 96, 181,0.15); color: #6f60b5; border: 1px solid rgba(111, 96, 181,0.3); }

/* Encryption Badge */
.ws-encryption-badge {
    text-align: center;
    padding: 10px 16px;
    background: #1f2c34;
}

.ws-encryption-badge span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.35);
    font-size: 0.72rem;
    padding: 5px 14px;
    border-radius: 8px;
}

/* Pinned Messages */
.ws-pinned {
    background: #1a2530;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ws-pinned-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.ws-pinned-header:hover {
    background: rgba(255,255,255,0.03);
}

.ws-pinned-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #25d366;
    font-size: 0.85rem;
    font-weight: 600;
}

.ws-pinned-chevron {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.ws-pinned-chevron.open {
    transform: rotate(180deg);
}

.ws-pinned-body {
    padding: 0 20px 14px;
    display: none;
}

.ws-pinned-body.open {
    display: block;
}

.ws-pinned-msg {
    background: rgba(255,255,255,0.04);
    border-left: 3px solid #25d366;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-bottom: 8px;
    color: #e9edef;
    font-size: 0.84rem;
    line-height: 1.5;
}

.ws-pinned-msg:last-child {
    margin-bottom: 0;
}

.ws-pinned-msg strong {
    color: #25d366;
}

/* Chat Messages */
.ws-chat {
    padding: 16px 20px 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Date Divider */
.ws-date-divider {
    text-align: center;
    padding: 16px 0 8px;
}

.ws-date-divider span {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Message Bubble */
.ws-message {
    margin-bottom: 4px;
    max-width: 85%;
}

.ws-bubble {
    background: #005c4b;
    border-radius: 0 8px 8px 8px;
    padding: 8px 12px 6px;
    position: relative;
}

.ws-message:first-child .ws-bubble,
.ws-date-divider + .ws-message .ws-bubble {
    border-radius: 8px 8px 8px 0;
}

.ws-sender {
    color: #25d366;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.ws-text {
    color: #e9edef;
    font-size: 0.9rem;
    line-height: 1.55;
    word-wrap: break-word;
}

.ws-text a {
    color: #53bdeb;
    text-decoration: underline;
}

.ws-text strong, .ws-text b {
    font-weight: 700;
}

.ws-time {
    text-align: right;
    color: rgba(255,255,255,0.45);
    font-size: 0.68rem;
    margin-top: 2px;
}

/* Reactions */
.ws-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
    margin-bottom: 8px;
    align-items: center;
}

.ws-reaction {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.ws-reaction:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.18);
}

.ws-reaction:active {
    transform: scale(0.95);
}

.ws-reaction.reacted {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25d366;
    color: #e9edef;
}

.ws-reaction.reacted:hover {
    background: rgba(37, 211, 102, 0.22);
}

.ws-reaction-emoji {
    font-size: 0.85rem;
}

.ws-reaction-count {
    font-variant-numeric: tabular-nums;
}

/* Reaction Add Button */
.ws-reaction-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 12px;
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.ws-reaction-add:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
}

/* Emoji Picker */
.ws-emoji-picker {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;
    background: #1f2c34;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 6px 8px;
    gap: 2px;
    z-index: 50;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.ws-emoji-picker.open {
    display: flex;
}

.ws-emoji-picker span {
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.15s;
    line-height: 1;
}

.ws-emoji-picker span:hover {
    background: rgba(255,255,255,0.1);
}

/* Encryption Footer */
.ws-encryption-footer {
    text-align: center;
    padding: 30px 16px 40px;
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}


/* === RESPONSIVE === */
@media (max-width: 600px) {
    .ws-login-card {
        padding: 36px 24px;
        margin: 0 8px;
    }

    .ws-header {
        padding: 10px 14px;
    }

    .ws-header-avatar {
        width: 38px;
        height: 38px;
    }

    .ws-header-name {
        font-size: 0.95rem;
    }

    .ws-header-logout span {
        display: none;
    }

    .ws-chat {
        padding: 12px 10px 30px;
    }

    .ws-message {
        max-width: 95%;
    }

    .ws-pinned-header {
        padding: 10px 14px;
    }

    .ws-pinned-body {
        padding: 0 14px 10px;
    }

    .ws-otp-inputs input {
        width: 40px;
        height: 48px;
        font-size: 1.2rem;
    }

    .ws-progress-line {
        width: 24px;
    }

    .ws-progress-circle {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .ws-progress-label {
        font-size: 0.6rem;
    }
}

/* Hide site chrome on wholesale page (JS handles hiding, this is fallback) */
body:has(.ws-channel) .trust-bar,
body:has(.ws-channel) > header.header,
body:has(.ws-channel) .mobile-bottom-nav,
body:has(.ws-channel) .mobile-menu-overlay,
body:has(.ws-channel) .mobile-menu,
body:has(.ws-channel) > div[style*="background:#a83a2b"] {
    display: none !important;
}

/* Ensure main content has no padding/margin interfering with sticky */
body:has(.ws-channel) #main-content {
    padding: 0;
    margin: 0;
}

/* =============================================
   WHOLESALE PORTAL (signed-in view) — 2026-11
   ============================================= */
[hidden] { display: none !important; }
.wsp { background: var(--paper, #f6f5ef); padding: 28px 16px 120px; min-height: 70vh; }
.wsp-wrap { max-width: 1040px; margin: 0 auto; }
.wsp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.wsp-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary, #0068b0); }
.wsp-company { font-size: 1.6rem; font-weight: 800; color: var(--ink, #171c18); margin: 4px 0; line-height: 1.2; }
.wsp-terms { font-size: .88rem; color: var(--gray-600, #505b53); }
.wsp-signout { flex-shrink: 0; background: #fff; border: 1px solid var(--gray-200, #e0e0d6); color: var(--gray-700, #3c463f); padding: 8px 14px; border-radius: 8px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.wsp-signout:hover { border-color: var(--gray-400, #939e96); }
.wsp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--gray-200, #e0e0d6); margin-bottom: 18px; overflow-x: auto; }
.wsp-tab { background: none; border: none; border-bottom: 3px solid transparent; padding: 10px 14px; font-size: .95rem; font-weight: 600; color: var(--gray-500, #67726b); cursor: pointer; white-space: nowrap; }
.wsp-tab.on { color: var(--primary, #0068b0); border-bottom-color: var(--primary, #0068b0); }
.wsp-search { position: relative; margin-bottom: 12px; }
.wsp-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-400, #939e96); }
.wsp-search input { width: 100%; box-sizing: border-box; padding: 13px 14px 13px 40px; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 10px; font-size: 1rem; background: #fff; outline: none; }
.wsp-search input:focus { border-color: var(--primary, #0068b0); }
.wsp-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.wsp-chip { background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 100px; padding: 6px 12px; font-size: .82rem; font-weight: 600; color: var(--gray-700, #3c463f); cursor: pointer; }
.wsp-chip span { color: var(--gray-400, #939e96); font-weight: 500; }
.wsp-chip.on { background: var(--primary, #0068b0); border-color: var(--primary, #0068b0); color: #fff; }
.wsp-chip.on span { color: rgba(255,255,255,.75); }
.wsp-list { background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 12px; overflow: hidden; }
.wsp-row, .wsp-line, .wsp-order { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--gray-100, #edece4); }
.wsp-row:last-child, .wsp-line:last-child, .wsp-order:last-child { border-bottom: none; }
.wsp-row.in-cart { background: #f1f6ff; }
.wsp-row-info { flex: 1; min-width: 0; }
.wsp-row-name { font-weight: 700; color: var(--ink, #171c18); font-size: .95rem; line-height: 1.3; }
.wsp-row-spec { font-size: .8rem; color: var(--gray-500, #67726b); margin-top: 2px; }
.wsp-sku { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--gray-400, #939e96); }
.wsp-row-price { text-align: right; min-width: 74px; display: flex; flex-direction: column; }
.wsp-row-price s { font-size: .75rem; color: var(--gray-400, #939e96); }
.wsp-row-price b { font-size: 1rem; color: var(--primary, #0068b0); }
.wsp-qty { display: flex; align-items: center; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #fff; }
.wsp-qty button { width: 34px; height: 36px; border: none; background: var(--gray-50, #f6f5ef); font-size: 1.1rem; cursor: pointer; color: var(--gray-700, #3c463f); }
.wsp-qty button:disabled { opacity: .35; cursor: default; }
.wsp-qty input { width: 48px; height: 36px; border: none; text-align: center; font-size: .95rem; font-weight: 600; -moz-appearance: textfield; outline: none; }
.wsp-qty input::-webkit-outer-spin-button, .wsp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wsp-line-total { min-width: 80px; text-align: right; font-weight: 700; }
.wsp-more { display: block; width: 100%; padding: 14px; background: var(--gray-50, #f6f5ef); border: none; font-weight: 600; color: var(--primary, #0068b0); cursor: pointer; }
.wsp-empty { padding: 32px 16px; text-align: center; color: var(--gray-500, #67726b); }
.wsp-link { background: none; border: none; color: var(--primary, #0068b0); font-weight: 600; cursor: pointer; padding: 0; font-size: inherit; text-decoration: underline; }
.wsp-back { text-decoration: none; margin-bottom: 14px; display: inline-block; }
.wsp-checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.wsp-card { background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 12px; padding: 18px; }
.wsp-card h2 { font-size: 1.1rem; margin: 0 0 12px; color: var(--ink, #171c18); }
.wsp-card .wsp-line { padding-left: 0; padding-right: 0; }
.wsp-sum { margin-top: 12px; border-top: 1px solid var(--gray-200, #e0e0d6); padding-top: 10px; }
.wsp-sum > div { display: flex; justify-content: space-between; padding: 4px 0; font-size: .92rem; color: var(--gray-700, #3c463f); }
.wsp-sum-total { font-size: 1.1rem !important; font-weight: 800; color: var(--ink, #171c18) !important; }
.wsp-sum-save { color: var(--success-green, #1e7a4e) !important; font-weight: 600; }
.wsp-note { margin-top: 12px; background: #fff8e6; border: 1px solid #f1dca6; color: #7a5a0b; border-radius: 8px; padding: 10px 12px; font-size: .85rem; }
.wsp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wsp-grid label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--gray-600, #505b53); }
.wsp-grid input, .wsp-grid textarea { padding: 10px 12px; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; font-size: 1rem; font-family: inherit; outline: none; background: #fff; }
.wsp-grid input:focus, .wsp-grid textarea:focus { border-color: var(--primary, #0068b0); }
.wsp-span2 { grid-column: span 2; }
#wsOrderError { margin: 14px 0 0; }
.wsp-place { width: 100%; margin-top: 16px; padding: 14px; border: none; border-radius: 10px; background: var(--primary, #0068b0); color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.wsp-place:disabled { background: var(--gray-300, #c8c9bf); cursor: not-allowed; }
.wsp-fine { font-size: .78rem; color: var(--gray-500, #67726b); margin: 10px 0 0; text-align: center; }
.wsp-order { justify-content: space-between; }
.wsp-order-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.wsp-status { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 8px; border-radius: 100px; background: var(--gray-100, #edece4); color: var(--gray-600, #505b53); }
.wsp-status-paid, .wsp-status-shipped { background: #e4f3ea; color: #1e7a4e; }
.wsp-status-awaiting-payment { background: #fff4d6; color: #8a6510; }
.wsp-paylink { background: var(--primary, #0068b0); color: #fff; border: none; border-radius: 6px; padding: 6px 12px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.wsp-cartbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 9000; width: min(560px, calc(100% - 32px)); box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink, #171c18); color: #fff; border-radius: 14px; padding: 12px 12px 12px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.wsp-cartbar-count { font-size: .78rem; opacity: .75; }
.wsp-cartbar-total { font-size: 1.15rem; font-weight: 800; }
.wsp-cartbar button { background: #fff; color: var(--ink, #171c18); border: none; border-radius: 10px; padding: 12px 16px; font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap; }
@media (max-width: 760px) {
    .wsp-checkout { grid-template-columns: 1fr; }
    .wsp-company { font-size: 1.3rem; }
}
@media (max-width: 560px) {
    .wsp-head { flex-direction: column; }
    .wsp-row { flex-wrap: wrap; }
    .wsp-row-info { flex-basis: 100%; }
    .wsp-row-price { flex-direction: row; gap: 8px; align-items: baseline; text-align: left; flex: 1; }
    .wsp-grid { grid-template-columns: 1fr; }
    .wsp-span2 { grid-column: auto; }
}
.wsp-head-acts { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
a.wsp-signout { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
/* While signed in, the floating chat/contact bubbles would sit on top of the quantity buttons */
body.wsp-on .msgr-fab, body.wsp-on .sa-launch, body.wsp-on .back-to-top { display: none !important; }

/* volume tiers, setup step, nudges (2026-11 v2) */
.wsp-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.wsp-tier { background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 10px; padding: 8px 10px; text-align: center; transition: background .2s, border-color .2s; }
.wsp-tier span { display: block; font-size: .72rem; color: var(--gray-500, #67726b); font-weight: 600; }
.wsp-tier b { font-size: 1rem; color: var(--success-green, #1e7a4e); }
.wsp-tier.on { background: #e4f3ea; border-color: #9fd3b4; }
.wsp-welcome { background: #e4f3ea; border: 1px solid #9fd3b4; color: #14532d; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-weight: 600; font-size: .9rem; }
.wsp-setup { max-width: 640px; margin: 0 auto; }
.wsp-setup-intro { text-align: left; margin: -4px 0 14px; font-size: .88rem; }
.wsp-setup-cancel { display: block; margin: 12px auto 0; text-decoration: none; }
.wsp-sum-disc { color: var(--success-green, #1e7a4e) !important; font-weight: 600; }
.wsp-nudge { margin-top: 12px; background: #eef4ff; border: 1px solid #c7d7f5; color: #0068b0; border-radius: 8px; padding: 10px 12px; font-size: .85rem; font-weight: 600; }
.wsp-cartbar-nudge { font-size: .75rem; color: #9fd3b4; margin-top: 2px; }
@media (max-width: 560px) {
    .wsp-tiers { grid-template-columns: repeat(2, 1fr); }
}
.wsp { scroll-margin-top: 100px; }

/* country + warehouse pickers (2026-11 v3) */
.wsp-grid select { padding: 10px 12px; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; font-size: 1rem; font-family: inherit; background: #fff; outline: none; color: var(--ink, #171c18); min-width: 0; width: 100%; }
.wsp-grid select:focus { border-color: var(--primary, #0068b0); }
.wsp-hint { font-weight: 400; font-size: .75rem; color: var(--gray-500, #67726b); }
.wsp-wh { border: none; padding: 0; margin: 4px 0 0; min-width: 0; }
.wsp-wh legend { font-size: .78rem; font-weight: 600; color: var(--gray-600, #505b53); margin-bottom: 6px; padding: 0; }
.wsp-wh-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin-bottom: 6px; }
.wsp-wh-opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 10px; padding: 10px 12px; cursor: pointer; background: #fff; font-size: .85rem; color: var(--ink, #171c18) !important; font-weight: 600 !important; flex-direction: row !important; }
.wsp-wh-opt input { width: 16px; height: 16px; margin: 0; flex-shrink: 0; accent-color: var(--primary, #0068b0); }
.wsp-wh-opt .flag { font-size: 1.3rem; line-height: 1; }
.wsp-wh-opt small { display: block; font-weight: 400; color: var(--gray-500, #67726b); font-size: .75rem; }
.wsp-wh-opt.on { border-color: var(--primary, #0068b0); background: #f1f6ff; box-shadow: 0 0 0 1px var(--primary, #0068b0) inset; }
.wsp-wh-tag { font-size: .72rem; color: var(--gray-500, #67726b); }

/* add items to an unpaid order (2026-11 v4) */
.wsp-editbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff8e6; border: 1px solid #f1dca6; color: #5c4307; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.wsp-editbar b { display: block; font-size: .95rem; }
.wsp-editbar span { font-size: .82rem; }
.wsp-editbar-acts { display: flex; align-items: center; gap: 12px; }
.wsp-editbar-done { background: var(--primary, #0068b0); color: #fff; border: none; border-radius: 8px; padding: 9px 14px; font-weight: 700; cursor: pointer; font-size: .88rem; }
.wsp-addlink { background: #fff; color: var(--primary, #0068b0); border: 1px solid var(--primary, #0068b0); border-radius: 6px; padding: 5px 10px; font-size: .82rem; font-weight: 700; cursor: pointer; }

/* partner features (2026-11 v5): order form sections, labels, dropship, bulk tools */
.wsp-section { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gray-100, #edece4); }
.wsp-section h3 { font-size: .95rem; font-weight: 700; color: var(--ink, #171c18); margin: 0 0 10px; }
.wsp-hint { display: block; margin: 6px 0 0; }
.wsp-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.wsp-seg-opt, .wsp-lbl-opt, .wsp-wh-opt { position: relative; display: flex; align-items: center; gap: 10px; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 10px; padding: 11px 12px; cursor: pointer; background: #fff; color: var(--ink, #171c18); font-size: .88rem; font-weight: 600; line-height: 1.3; -webkit-tap-highlight-color: transparent; }
.wsp-seg-opt input, .wsp-lbl-opt input, .wsp-wh-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wsp-seg-opt:has(input:checked), .wsp-lbl-opt:has(input:checked), .wsp-wh-opt.on { border-color: var(--primary, #0068b0); background: #f1f6ff; box-shadow: inset 0 0 0 1px var(--primary, #0068b0); }
.wsp-seg-opt.on, .wsp-lbl-opt.on { border-color: var(--primary, #0068b0); background: #f1f6ff; box-shadow: inset 0 0 0 1px var(--primary, #0068b0); }
.wsp-seg-opt:focus-within, .wsp-lbl-opt:focus-within, .wsp-wh-opt:focus-within { outline: 2px solid var(--primary, #0068b0); outline-offset: 2px; }
.wsp-seg-opt i { color: var(--primary, #0068b0); margin-right: 4px; }
.wsp-wh-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wsp-wh-opt { padding: 10px; }
.wsp-wh-opt .flag { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.wsp-wh-opt span { display: block; min-width: 0; }
.wsp-wh-opt small, .wsp-lbl-opt small { display: block; font-weight: 400; color: var(--gray-500, #67726b); font-size: .76rem; margin-top: 2px; }
.wsp-lbl-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.wsp-lbl-opt b { display: block; font-size: .9rem; }
.wsp-brand { background: #f8fafc; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.wsp-brand-note { text-align: left !important; margin: 8px 0 0 !important; }
.wsp-check { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: var(--gray-700, #3c463f); margin: 8px 0 0; cursor: pointer; line-height: 1.35; }
.wsp-check input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--primary, #0068b0); }
.wsp-dropnote { text-align: left !important; background: #eef4ff; border: 1px solid #c7d7f5; color: #0068b0 !important; border-radius: 8px; padding: 9px 11px; margin: 0 0 12px !important; }
.wsp-upload-lbl { display: block; font-size: .78rem; font-weight: 600; color: var(--gray-600, #505b53); margin-bottom: 6px; }
.wsp-upload-lbl .wsp-hint { display: inline; font-weight: 400; }
.wsp-upload-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wsp-upload-btn { position: relative; display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--primary, #0068b0); color: var(--primary, #0068b0) !important; border-radius: 8px; padding: 8px 12px; font-weight: 700 !important; font-size: .85rem !important; cursor: pointer; }
.wsp-upload-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.wsp-upload-name { font-size: .82rem; color: var(--gray-500, #67726b); word-break: break-all; }
.wsp-upload-name.ok { color: var(--success-green, #1e7a4e); font-weight: 600; }
.wsp-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.wsp-tool { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; padding: 7px 11px; font-size: .82rem; font-weight: 600; color: var(--gray-700, #3c463f); cursor: pointer; }
.wsp-tool i { color: var(--primary, #0068b0); }
.wsp-tool-check input { margin: 0; accent-color: var(--primary, #0068b0); }
.wsp-bulk { background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.wsp-bulk textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; padding: 10px; font-size: .95rem; font-family: 'JetBrains Mono', monospace; outline: none; }
.wsp-bulk textarea:focus { border-color: var(--primary, #0068b0); }
.wsp-bulk code { background: var(--gray-100, #edece4); padding: 1px 5px; border-radius: 4px; font-size: .8rem; }
.wsp-bulk-acts { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.wsp-bulk-acts .wsp-fine { margin: 0; text-align: left; }
.wsp-coa { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; background: #e4f3ea; color: #1e7a4e; border: 1px solid #9fd3b4; border-radius: 100px; padding: 1px 8px; font-size: .7rem; font-weight: 700; cursor: pointer; vertical-align: 1px; }
.wsp-services { background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 12px; margin-bottom: 14px; }
.wsp-services summary { cursor: pointer; padding: 12px 14px; font-weight: 700; font-size: .92rem; color: var(--ink, #171c18); }
.wsp-services summary i { color: var(--primary, #0068b0); margin-right: 6px; }
.wsp-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 14px 14px; }
.wsp-services-grid div { background: #f8fafc; border-radius: 10px; padding: 10px 12px; font-size: .8rem; color: var(--gray-600, #505b53); line-height: 1.4; }
.wsp-services-grid i { color: var(--primary, #0068b0); margin-right: 6px; }
.wsp-services-grid b { display: block; color: var(--ink, #171c18); font-size: .88rem; margin-bottom: 3px; }
.wsp-reorder { background: #fff; color: var(--gray-700, #3c463f); border: 1px solid var(--gray-300, #c8c9bf); border-radius: 6px; padding: 5px 10px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.ws-perks { list-style: none; text-align: left; margin: 0 auto 20px; padding: 0; max-width: 340px; }
.ws-perks li { font-size: .86rem; color: #444; padding: 5px 0; display: flex; gap: 10px; align-items: center; }
.ws-perks i { color: #0068b0; width: 18px; text-align: center; }
@media (max-width: 760px) {
    .wsp-wh-list { grid-template-columns: repeat(2, 1fr); }
    .wsp-services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .wsp-lbl-list { grid-template-columns: 1fr; }
    .wsp-seg { grid-template-columns: 1fr; }
    .wsp-services-grid { grid-template-columns: 1fr; }
}
.wsp-wh-opt { min-height: 58px; }
.wsp-wh-opt span { font-size: .9rem; }

/* Wholesale page: hide retail promos (email-for-20%-off pop-up, PAYDAY promo-code banner) */
#emailCaptureModal { display: none !important; }
.site-flash { display: none !important; }

/* v6: delivery modes, parcels, import, brand & shipping settings */
.wsp-seg3 { grid-template-columns: repeat(3, 1fr); }
.wsp-seg-opt span { display: block; }
.wsp-saved { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--gray-600, #505b53); margin: 0 0 12px; }
.wsp-saved select, .wsp-parcel select, .wsp-parcelbar select { padding: 10px 12px; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink, #171c18); max-width: 100%; }
.wsp-h3-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.wsp-h3-row .wsp-link { font-size: .82rem; text-decoration: none; }
.wsp-pack { background: #f8fafc; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: var(--gray-700, #3c463f); }
.wsp-pack div { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; }
.wsp-pack i { width: 16px; text-align: center; color: var(--primary, #0068b0); flex-shrink: 0; }
.wsp-pack .warn { color: #8a6510; }
.wsp-pack-toggle { display: inline-block; margin: 8px 0; font-size: .85rem; }
.wsp-left { text-align: left !important; margin: 0 0 10px !important; }
.wsp-sub { font-size: .9rem; margin: 16px 0 8px; }
.wsp-count { font-size: .85rem; color: var(--gray-500, #67726b); font-weight: 600; }
.wsp-settings .wsp-card { margin-bottom: 14px; }
.wsp-settings-save { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.wsp-settings-save .wsp-place { width: auto; margin: 0; padding: 13px 22px; }
.wsp-saved-msg { font-size: .88rem; font-weight: 600; color: var(--success-green, #1e7a4e); }
.wsp-brand-status { border-radius: 8px; padding: 9px 12px; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.wsp-brand-status.none { background: #f1f5f9; color: #475569; }
.wsp-brand-status.pending { background: #fff8e6; color: #7a5a0b; border: 1px solid #f1dca6; }
.wsp-brand-status.approved { background: #e4f3ea; color: #14532d; border: 1px solid #9fd3b4; }
.wsp-recsearch { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; font-size: 1rem; margin-bottom: 8px; outline: none; }
.wsp-rec { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gray-100, #edece4); font-size: .88rem; }
.wsp-rec:last-child { border-bottom: none; }
.wsp-rec small { display: block; color: var(--gray-500, #67726b); }
.wsp-rec-del { background: none; border: 1px solid #fecaca; color: #b91c1c; border-radius: 6px; padding: 5px 9px; font-size: .78rem; cursor: pointer; flex-shrink: 0; }
.wsp-import { background: #f8fafc; border: 1px dashed #b9c9e3; border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.wsp-import-title { font-size: .92rem; color: var(--ink, #171c18); }
.wsp-import-title i { color: var(--primary, #0068b0); margin-right: 4px; }
.wsp-import-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#wsImportPaste textarea { width: 100%; box-sizing: border-box; margin: 10px 0 8px; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; padding: 10px; font-family: 'JetBrains Mono', monospace; font-size: .85rem; }
.wsp-import-result { margin-top: 10px; font-size: .85rem; line-height: 1.5; }
.wsp-import-result .ok { color: var(--success-green, #1e7a4e); font-weight: 600; }
.wsp-import-result .bad { color: #b3382c; }
.wsp-import-result ul { margin: 4px 0 0; padding-left: 18px; }
.wsp-parcel { border: 1px solid var(--gray-200, #e0e0d6); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; background: #fff; }
.wsp-parcel.active { border-color: var(--primary, #0068b0); box-shadow: inset 0 0 0 1px var(--primary, #0068b0); }
.wsp-parcel.invalid { border-color: #e7a59c; }
.wsp-parcel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.wsp-parcel-head b { font-size: .92rem; }
.wsp-parcel-head small { display: block; color: var(--gray-500, #67726b); font-size: .8rem; margin-top: 2px; }
.wsp-parcel-tag { display: inline-block; background: var(--primary, #0068b0); color: #fff; border-radius: 6px; padding: 1px 7px; font-size: .72rem; font-weight: 700; margin-right: 6px; }
.wsp-parcel-acts { display: flex; gap: 6px; flex-shrink: 0; }
.wsp-parcel-acts button { background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 6px; padding: 5px 8px; font-size: .78rem; cursor: pointer; color: var(--gray-700, #3c463f); }
.wsp-parcel-items { margin: 8px 0 4px; }
.wsp-pitem { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .85rem; border-top: 1px solid var(--gray-100, #edece4); }
.wsp-pitem span { flex: 1; min-width: 0; }
.wsp-pitem small { color: var(--gray-500, #67726b); }
.wsp-pitem .wsp-qty button { width: 30px; height: 30px; }
.wsp-pitem .wsp-qty input { width: 42px; height: 30px; }
.wsp-parcel-add { background: none; border: none; color: var(--primary, #0068b0); font-weight: 700; cursor: pointer; padding: 6px 0 2px; font-size: .85rem; }
.wsp-parcel-form { margin-top: 8px; background: #f8fafc; border-radius: 10px; padding: 10px; }
.wsp-parcel-form .wsp-grid select { width: 100%; }
.wsp-parcel-err { color: #b3382c; font-size: .8rem; font-weight: 600; margin-top: 4px; }
.wsp-addparcel { width: 100%; background: #fff; border: 1px dashed var(--primary, #0068b0); color: var(--primary, #0068b0); border-radius: 10px; padding: 11px; font-weight: 700; cursor: pointer; font-size: .9rem; }
.wsp-parcelbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #eef4ff; border: 1px solid #c7d7f5; color: #0068b0; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.wsp-parcelbar b { display: block; }
.wsp-parcelbar span { font-size: .8rem; }
.wsp-parcelbar select { padding: 7px 10px; font-size: .88rem; }
.wsp-lineqty { font-weight: 700; color: var(--gray-600, #505b53); min-width: 44px; text-align: center; }
.wsp-batchnote { font-size: .8rem; color: var(--gray-500, #67726b); margin: 0 0 6px; }
.wsp-tracklink { background: #fff; color: #1e7a4e; border: 1px solid #9fd3b4; border-radius: 6px; padding: 5px 10px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.wsp-lbl-opt.disabled { opacity: .55; }
@media (max-width: 560px) {
    .wsp-seg3 { grid-template-columns: 1fr; }
}
.wsp-check span b { font-weight: 700; }
@media (max-width: 560px) {
    .wsp-tab { padding: 10px 9px; font-size: .9rem; }
}
#wsSlipBox { margin-top: 12px; }
.wsp-pack-cta { margin-top: 6px; padding-top: 8px !important; border-top: 1px dashed #c7d7f5; }
.wsp-pack-cta .wsp-link { font-size: inherit; }
.wsp-save-inline { margin: 14px 0 0; }
.wsp-saved-msg.unsaved { color: #8a6510; }
.wsp-saved-msg .wsp-link { font-size: inherit; }

/* v7: wholesale crypto checkout */
.wsp-coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.wsp-coin { position: relative; text-align: left; background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 10px; padding: 9px 10px; cursor: pointer; font-family: inherit; color: var(--ink, #171c18); }
.wsp-coin b { display: block; font-size: .9rem; }
.wsp-coin small { display: block; font-size: .72rem; color: var(--gray-500, #67726b); margin-top: 1px; }
.wsp-coin .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.wsp-coin .tag { position: absolute; top: -8px; right: 6px; background: #1e7a4e; color: #fff; font-size: .62rem; font-weight: 700; border-radius: 100px; padding: 1px 6px; }
.wsp-coin.on { border-color: var(--primary, #0068b0); background: #f1f6ff; box-shadow: inset 0 0 0 1px var(--primary, #0068b0); }
.wsp-coin-detail { border: 1px solid #c7d7f5; background: #f8fbff; border-radius: 12px; padding: 14px; margin-top: 6px; }
.wsp-pay-row { margin-bottom: 12px; }
.wsp-pay-row > span { display: block; font-size: .75rem; font-weight: 700; color: var(--gray-500, #67726b); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.wsp-copy { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; padding: 8px 10px; }
.wsp-copy code { flex: 1; min-width: 0; font-family: 'JetBrains Mono', monospace; font-size: .85rem; word-break: break-all; color: var(--ink, #171c18); }
.wsp-copy.big code { font-size: 1.15rem; font-weight: 700; }
.wsp-copy button { flex-shrink: 0; background: var(--primary, #0068b0); color: #fff; border: none; border-radius: 6px; padding: 6px 10px; font-size: .78rem; font-weight: 700; cursor: pointer; }
.wsp-qr { width: 170px; height: 170px; margin: 4px auto 12px; background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 10px; padding: 6px; box-sizing: border-box; }
.wsp-warn { background: #fff8e6; border: 1px solid #f1dca6; color: #5c4307; border-radius: 8px; padding: 9px 11px; font-size: .82rem; line-height: 1.5; margin-bottom: 12px; }
.wsp-sent input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 8px; font-size: .95rem; margin: 6px 0 10px; font-family: inherit; }
.wsp-pay-state { border-radius: 12px; padding: 14px; margin-top: 10px; font-size: .9rem; line-height: 1.5; }
.wsp-pay-state.waiting { background: #eef4ff; border: 1px solid #c7d7f5; color: #0068b0; }
.wsp-pay-state.paid { background: #e4f3ea; border: 1px solid #9fd3b4; color: #14532d; }
.wsp-pay-state b { display: block; font-size: 1rem; margin-bottom: 2px; }
.wsp-paysum-lines { max-height: 260px; overflow: auto; margin: 6px 0; }
.wsp-paysum-line { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; padding: 5px 0; border-bottom: 1px solid var(--gray-100, #edece4); }
.wsp-paysum-line small { color: var(--gray-500, #67726b); }
.wsp-paytotal { font-size: 1.6rem; font-weight: 800; color: var(--ink, #171c18); margin: 2px 0 6px; }
.wsp-guide { margin-top: 14px; }
.wsp-guide summary { cursor: pointer; font-weight: 700; font-size: .95rem; }
.wsp-guide summary i { color: var(--primary, #0068b0); margin-right: 6px; }
.wsp-guide-steps { margin: 12px 0 10px; padding-left: 20px; font-size: .88rem; line-height: 1.6; color: var(--gray-700, #3c463f); }
.wsp-guide-steps li { margin-bottom: 8px; }
.wsp-guide-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wsp-guide-acts .wsp-fine { margin: 0; text-align: left; }
@media (max-width: 560px) { .wsp-coins { grid-template-columns: repeat(2, 1fr); } }

/* v8 — prepaid balance */
.wsp-balbtn { border-color: #9fd3b4; background: #f2faf5; color: #14532d; display: inline-flex; align-items: center; gap: 6px; }
.wsp-balbtn b { font-weight: 800; }
.wsp-balbtn i { color: #1e7a4e; }
#wsView-funds .wsp-card, #wsView-pay .wsp-balpay { margin-bottom: 14px; }
.wsp-funds-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500, #67726b); }
.wsp-funds-bal { font-size: 2.2rem; font-weight: 800; color: var(--ink, #171c18); margin: 2px 0 6px; letter-spacing: -.01em; }
.wsp-funds-form { margin-top: 14px; }
.wsp-funds-form > label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.wsp-funds-input { display: flex; align-items: center; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 10px; background: #fff; padding: 0 12px; }
.wsp-funds-input:focus-within { border-color: var(--primary, #0068b0); box-shadow: 0 0 0 3px rgba(29,78,155,.12); }
.wsp-funds-input span { font-weight: 700; color: var(--gray-500, #67726b); font-size: 1.1rem; }
.wsp-funds-input input { flex: 1; min-width: 0; border: none; outline: none; padding: 12px 8px; font-size: 1.15rem; font-weight: 700; background: transparent; font-family: inherit; }
.wsp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
.wsp-chips button { background: #fff; border: 1px solid var(--gray-200, #e0e0d6); border-radius: 100px; padding: 7px 13px; font-size: .85rem; font-weight: 700; cursor: pointer; color: var(--gray-700, #3c463f); }
.wsp-chips button:hover { border-color: var(--primary, #0068b0); color: var(--primary, #0068b0); }
.wsp-funds-form .wsp-saved-msg { margin-top: 8px; }
.wsp-saved-msg.err { color: #b42318; }
.wsp-plus { color: #1e7a4e; }
.wsp-minus { color: var(--ink, #171c18); }
.wsp-balpay.ok { border-color: #9fd3b4; background: #f2faf5; }
.wsp-balpay.ok h2 i { color: #1e7a4e; }
.wsp-balpay.ok .wsp-place { background: #1e7a4e; margin-top: 8px; }
.wsp-balpay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wsp-balpay-row b { display: block; font-size: .95rem; }
.wsp-balpay-row b i { color: #1e7a4e; margin-right: 4px; }
.wsp-balpay-row span { display: block; font-size: .84rem; color: var(--gray-500, #67726b); margin-top: 2px; }
.wsp-balpay-row .wsp-tool { flex-shrink: 0; }
.wsp-guide .wsp-fine.wsp-left { margin: 0 0 10px; }
@media (max-width: 560px) {
    .wsp-funds-bal { font-size: 1.9rem; }
    .wsp-balpay-row { flex-direction: column; align-items: stretch; }
}

/* v9 — "Pay by card — guided" entry (same look as the retail /pay button) */
.wsp-xg-open { width: 100%; margin: 4px 0 14px; padding: 14px 16px; background: #fff; border: 2px solid #dfdfd6; border-radius: 12px; cursor: pointer; display: flex; align-items: center; gap: 12px; text-align: left; font-family: inherit; transition: border-color .2s, background .2s; }
.wsp-xg-open:hover { border-color: #2f8a67; background: #eef5f0; }
.wsp-xg-open[hidden] { display: none; }
.wsp-xg-ic { min-width: 40px; height: 40px; background: linear-gradient(135deg, #2f8a67, #1e7a4e); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wsp-xg-ic i { color: #fff; font-size: 1rem; }
.wsp-xg-txt { flex: 1; min-width: 0; }
.wsp-xg-txt b { display: block; font-size: .88rem; font-weight: 700; color: #116044; }
.wsp-xg-txt small { display: block; font-size: .78rem; color: #6c7670; margin-top: 2px; }
.wsp-xg-open > .fa-chevron-right { color: #98a09a; flex-shrink: 0; }

/* v3: pay by card (PayGate) on the wholesale checkout */
.wsp-cardpay h2 i { color: var(--primary, #0068b0); margin-right: 4px; }
.wsp-cardpay .wsp-place { margin-top: 10px; }
.wsp-cardpay .wsp-place:disabled { opacity: .7; cursor: default; }
.wsp-cardpay-logos { display: flex; justify-content: center; gap: 12px; margin: 10px 0 4px; font-size: 1.6rem; color: var(--gray-500, #67726b); }
.wsp-cardpay-err { margin-top: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 8px; padding: 9px 11px; font-size: .85rem; }
.wsp-cardpay-err a { color: inherit; font-weight: 700; }

/* v4: Cash App guide button (US only) */
.wsp-ca-open { margin-bottom: 8px; }
.wsp-ca-open:hover { border-color: #00D632; background: #f0fdf4; }
.wsp-ca-ic { background: linear-gradient(135deg, #00D632, #00C22B); }
.wsp-ca-open .wsp-xg-txt b { color: #00A328; }

/* v5: customers can cancel an unpaid order */
.wsp-status-cancelled { background: #fdecec; color: #b03030; }
.wsp-cancellink { background: #fff; color: #b03030; border: 1px solid #f1c4c4; border-radius: 6px; padding: 5px 10px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.wsp-cancellink:hover { background: #fdecec; }
.wsp-cancel-order { color: #b03030 !important; font-size: .85rem; }
