/*
 * ================================================================
 * JULESBOUTIK — Design System
 * Canadian Multi-Vendor Marketplace
 * ================================================================
 * Designed to feel like a real Canadian e-commerce brand.
 * Clean, warm, editorial. Not AI-generated.
 * ================================================================
 */

/* ── Imports ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Tokens ──────────────────────────────────────────────── */
:root {
    /* Brand */
    --c-red:        #C8102E;
    --c-red-dk:     #A50D25;
    --c-red-lt:     #FCE8EB;

    /* Neutrals */
    --c-ink:        #111111;
    --c-ink-2:      #333333;
    --c-ink-3:      #666666;
    --c-ink-4:      #999999;
    --c-ink-5:      #BBBBBB;

    /* Surfaces */
    --c-canvas:     #F7F5F2;
    --c-white:      #FFFFFF;
    --c-warm-1:     #F3F1ED;
    --c-warm-2:     #EAE7E1;
    --c-warm-3:     #D8D3CB;

    /* Semantic */
    --c-green:      #1D6F42;
    --c-green-lt:   #EBF5EE;
    --c-amber:      #B45309;
    --c-amber-lt:   #FEF3C7;
    --c-blue:       #1D4ED8;
    --c-blue-lt:    #EFF6FF;

    /* Borders */
    --c-border:     #E2DDD6;
    --c-border-dk:  #C9C3BA;

    /* Typography */
    --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Radius */
    --r-xs:  4px;
    --r-sm:  6px;
    --r:     10px;
    --r-md:  14px;
    --r-lg:  18px;
    --r-xl:  24px;

    /* Shadow */
    --s-1:   0 1px 2px rgba(0,0,0,0.04);
    --s-2:   0 2px 8px rgba(0,0,0,0.06);
    --s-3:   0 4px 16px rgba(0,0,0,0.08);
    --s-4:   0 8px 24px rgba(0,0,0,0.10);
    --s-5:   0 16px 40px rgba(0,0,0,0.12);

    /* Transitions */
    --ease:  cubic-bezier(0.4, 0, 0.2, 1);
    --dur-1: 0.12s;
    --dur-2: 0.22s;
    --dur-3: 0.35s;

    /* Compatibility aliases shared by customer and seller templates */
    --green: var(--c-green);
    --blue: var(--c-blue);
    --amber: var(--c-amber);
    --ink-4: var(--c-ink-4);
    --jb-primary: var(--c-red);
    --jb-success: var(--c-green);
    --jb-danger: var(--c-red);
    --jb-warning: var(--c-amber);
    --jb-info: var(--c-blue);
    --jb-muted: var(--c-ink-4);
    --jb-text-secondary: var(--c-ink-3);
    --jb-border: var(--c-border);
    --jb-radius-lg: var(--r-md);
}

.jb-checkout-assurance { display:flex; flex-wrap:wrap; gap:8px; }
.jb-checkout-assurance span {
    display:inline-flex; align-items:center; gap:5px; padding:7px 10px;
    border:1px solid var(--c-border); border-radius:999px;
    background:var(--c-green-lt); color:var(--c-green); font-size:12px; font-weight:600;
}

.jb-payment-test-badge {
    padding: 4px 8px;
    border: 1px solid #b8d7ff;
    border-radius: 999px;
    background: #edf6ff;
    color: #1f5f9f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.jb-payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(200,16,46,.32);
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--c-white), var(--c-red-lt));
    cursor: pointer;
}
.jb-payment-option .form-check-input { flex: 0 0 auto; margin: 0; }
.jb-payment-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: var(--c-red);
    color: var(--c-white);
    font-size: 20px;
}
.jb-payment-option-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.jb-payment-option-copy strong { color: var(--c-ink); font-size: 15px; }
.jb-payment-option-copy small { color: var(--c-ink-3); font-size: 11.5px; line-height: 1.4; }
.jb-payment-brand-row { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.jb-payment-brand-row span {
    padding: 3px 5px;
    border: 1px solid var(--c-border-dk);
    border-radius: 4px;
    background: var(--c-white);
    color: var(--c-ink-2);
    font-size: 9px;
    font-weight: 900;
}
.jb-payment-option.is-unavailable { cursor: not-allowed; filter: grayscale(1); opacity: .65; }

.jb-product-qty {
    display: inline-grid;
    grid-template-columns: 44px 56px 44px;
    align-items: stretch;
    overflow: hidden;
    border: 1.5px solid var(--c-border-dk);
    border-radius: 12px;
    background: var(--c-white);
}
.jb-product-qty-btn {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--c-warm-1);
    color: var(--c-ink);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}
.jb-product-qty-btn:hover:not(:disabled) { background: var(--c-warm-2); }
.jb-product-qty-btn:disabled { color: var(--c-ink-4); cursor: not-allowed; opacity: .55; }
.jb-product-qty-input {
    width: 56px;
    min-width: 56px;
    height: 44px;
    padding: 0 4px;
    border: 0;
    border-right: 1px solid var(--c-border);
    border-left: 1px solid var(--c-border);
    outline: 0;
    background: var(--c-white);
    color: var(--c-ink);
    -webkit-text-fill-color: var(--c-ink);
    text-align: center;
    font: 800 16px/44px var(--font);
    opacity: 1;
    appearance: textfield;
    -moz-appearance: textfield;
}
.jb-product-qty-input::-webkit-inner-spin-button,
.jb-product-qty-input::-webkit-outer-spin-button,
.jb-qty-input::-webkit-inner-spin-button,
.jb-qty-input::-webkit-outer-spin-button { margin: 0; appearance: none; -webkit-appearance: none; }
.jb-qty-feedback { color: var(--c-ink-3); font-size: 12px; font-weight: 600; }

/* ── Reset ───────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-canvas);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 68px;
    overflow-x: hidden;
}

body.is-auth { padding-bottom: 0; background: var(--c-canvas); }

@media (min-width: 992px) { body { padding-bottom: 0; } }

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--c-ink);
}

a { color: var(--c-red); text-decoration: none; }
a:hover { color: var(--c-red-dk); }
img { display: block; max-width: 100%; }

/* ── Page Loader ─────────────────────────────────────────── */
#jb-page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--c-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#jb-page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.jb-loader-wordmark {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: -0.04em;
}

.jb-loader-wordmark span { color: var(--c-red); }

.jb-loader-dots {
    display: flex;
    gap: 5px;
}

.jb-loader-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-warm-3);
    animation: dotBounce 1.1s ease-in-out infinite;
}

.jb-loader-dot:nth-child(2) { animation-delay: 0.18s; }
.jb-loader-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes dotBounce {
    0%,80%,100% { background: var(--c-warm-3); transform: scale(1); }
    40% { background: var(--c-red); transform: scale(1.25); }
}

/* ── Skeleton ────────────────────────────────────────────── */
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.jb-skeleton {
    background: linear-gradient(90deg, var(--c-warm-1) 25%, var(--c-warm-2) 50%, var(--c-warm-1) 75%);
    background-size: 600px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--r-sm);
}

/* ── Announcement bar ────────────────────────────────────── */
.jb-announcement {
    background: var(--c-ink);
    color: rgba(255,255,255,.8);
    font-size: 12.5px;
    font-weight: 500;
    text-align: center;
    padding: 8px 16px;
    letter-spacing: 0.01em;
}

.jb-announcement a {
    color: rgba(255,255,255,.8);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Navbar ──────────────────────────────────────────────── */
.jb-navbar {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    position: sticky;
    top: 0;
    z-index: 200;
    transition: box-shadow var(--dur-2) var(--ease);
}

.jb-navbar.scrolled { box-shadow: var(--s-3); }

.jb-navbar > .container {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 60px;
}

/* Brand */
.jb-brand {
    font-size: 17px;
    font-weight: 900;
    color: var(--c-ink) !important;
    letter-spacing: -0.06em;
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.jb-brand::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--c-red);
    border-radius: 50%;
    margin-left: 2px;
    margin-bottom: 8px;
}

.jb-brand:hover { color: var(--c-ink) !important; }

/* Search */
.jb-search-form { flex: 1; max-width: 440px; position: relative; }

.jb-search-input {
    width: 100%;
    height: 38px;
    padding: 0 100px 0 36px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r);
    font-size: 13.5px;
    font-family: var(--font);
    color: var(--c-ink);
    background: var(--c-warm-1);
    outline: none;
    transition: all var(--dur-2) var(--ease);
}

.jb-search-input::placeholder { color: var(--c-ink-4); }

.jb-search-input:focus {
    background: var(--c-white);
    border-color: var(--c-ink-3);
    box-shadow: 0 0 0 3px rgba(17,17,17,0.06);
}

.jb-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-ink-4);
    font-size: 14px;
    pointer-events: none;
}

.jb-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    padding: 0 14px;
    background: var(--c-red);
    color: var(--c-white);
    border: none;
    border-radius: var(--r-sm);
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: background var(--dur-1) var(--ease);
}

.jb-search-btn:hover { background: var(--c-red-dk); }

.jb-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1200;
    overflow: hidden;
    background: var(--c-white);
    border: 1px solid var(--c-border-dk);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(17,17,17,.16);
}
.jb-search-suggestions[hidden] { display: none !important; }
.jb-search-suggestion {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr) auto;
    align-items: center;
    gap: 11px;
    min-height: 66px;
    padding: 7px 10px;
    color: var(--c-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--c-border);
}
.jb-search-suggestion:last-of-type { border-bottom: 0; }
.jb-search-suggestion:hover,
.jb-search-suggestion.is-active { background: var(--c-warm-1); color: var(--c-ink); }
.jb-search-suggestion-image {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--c-warm-2);
    color: var(--c-ink-4);
}
.jb-search-suggestion-image img { width: 100%; height: 100%; object-fit: cover; }
.jb-search-suggestion-copy { min-width: 0; }
.jb-search-suggestion-name { display:block; font-size:13.5px; font-weight:750; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.jb-search-suggestion-meta { display:block; margin-top:2px; color:var(--c-ink-4); font-size:11.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.jb-search-suggestion-price { font-size:12.5px; font-weight:800; white-space:nowrap; }
.jb-search-suggestion-footer,
.jb-search-suggestion-empty { display:flex; align-items:center; justify-content:center; gap:7px; padding:11px 12px; font-size:12.5px; font-weight:650; color:var(--c-ink-3); text-decoration:none; background:var(--c-warm-1); }
.jb-search-suggestion-footer:hover { color:var(--c-red); }

.jb-direct-search {
    display:grid;
    grid-template-columns:minmax(230px,.8fr) minmax(320px,1.2fr);
    align-items:center;
    gap:28px;
    padding:26px;
    color:var(--c-white);
    background:linear-gradient(125deg,#171717 0%,#292424 65%,#6f1017 100%);
    border-radius:20px;
    box-shadow:0 16px 38px rgba(17,17,17,.14);
}
.jb-direct-search-kicker { color:#ffb1b7; font-size:11px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.jb-direct-search h1 { margin:4px 0 5px; color:var(--c-white); font-size:clamp(1.35rem,2.8vw,2rem); font-weight:850; }
.jb-direct-search p { margin:0; color:rgba(255,255,255,.7); font-size:13px; }
.jb-direct-search-form { width:100%; max-width:none; }
.jb-direct-search-form .jb-search-input { height:50px; padding-left:42px; background:var(--c-white); border-color:transparent; font-size:15px; }
.jb-direct-search-form .jb-search-icon { left:14px; font-size:17px; }
.jb-direct-search-form .jb-search-btn { padding:0 20px; }

/* Nav links */
.jb-nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.jb-nav-link {
    color: var(--c-ink-3) !important;
    font-size: 13.5px;
    font-weight: 500;
    padding: 6px 9px;
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: all var(--dur-1) var(--ease);
    white-space: nowrap;
}

.jb-nav-link:hover {
    color: var(--c-ink) !important;
    background: var(--c-warm-1);
}

.jb-sell-link {
    background: var(--c-red) !important;
    color: var(--c-white) !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
}

.jb-sell-link:hover {
    background: var(--c-red-dk) !important;
    color: var(--c-white) !important;
}

.jb-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    color: var(--c-ink-3);
    font-size: 17px;
    transition: all var(--dur-1) var(--ease);
    text-decoration: none;
    position: relative;
}

.jb-nav-icon:hover { background: var(--c-warm-1); color: var(--c-ink); }

.jb-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--c-red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--c-white);
}

.jb-dropdown {
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    box-shadow: var(--s-5);
    padding: 5px;
    background: var(--c-white);
    min-width: 190px;
}

.jb-dropdown .dropdown-item {
    border-radius: var(--r-sm);
    padding: 7px 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--c-ink-2);
    transition: all var(--dur-1) var(--ease);
}

.jb-dropdown .dropdown-item:hover {
    background: var(--c-warm-1);
    color: var(--c-ink);
}

/* ── Buttons ─────────────────────────────────────────────── */
.jb-btn-primary, .jb-btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--c-ink);
    color: var(--c-white);
    border: none;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--dur-2) var(--ease);
    white-space: nowrap;
}

.jb-btn-primary:hover { background: var(--c-ink-2); color: var(--c-white); transform: translateY(-1px); box-shadow: var(--s-3); }

.jb-btn-red { background: var(--c-red); }
.jb-btn-red:hover { background: var(--c-red-dk); color: var(--c-white); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(200,16,46,0.2); }

.jb-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: var(--c-ink);
    border: 1.5px solid var(--c-border-dk);
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    padding: 9px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--dur-2) var(--ease);
}

.jb-btn-outline:hover { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }

.jb-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    padding: 9px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--dur-2) var(--ease);
}

.jb-btn-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.3); }

.jb-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--c-red);
    color: var(--c-white);
    border: none;
    border-radius: var(--r);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    padding: 13px 26px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--dur-2) var(--ease);
}

.jb-btn-cta:hover { background: var(--c-red-dk); color: var(--c-white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,16,46,0.22); }

/* ── Hero ────────────────────────────────────────────────── */
.jb-hero {
    background: var(--c-ink);
    color: var(--c-white);
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.jb-hero-bg-text {
    position: absolute;
    right: -0.04em;
    bottom: -0.18em;
    font-size: clamp(13rem, 28vw, 30rem);
    font-weight: 900;
    line-height: 0.75;
    letter-spacing: -0.12em;
    color: rgba(255,255,255,0.025);
    pointer-events: none;
    user-select: none;
}

/* Subtle texture overlay */
.jb-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.jb-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 18px;
}

.jb-hero-eyebrow i { color: var(--c-red); }

.jb-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--c-white);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.jb-hero-title em {
    font-style: normal;
    color: var(--c-red);
}

.jb-hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    max-width: 500px;
    margin-bottom: 32px;
    font-weight: 400;
}

.jb-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.jb-hero-proof {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.jb-hero-stat {
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.jb-hero-stat:first-child { padding-left: 0; }
.jb-hero-stat:last-child  { border-right: none; }

.jb-hero-stat-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--c-white);
    letter-spacing: -0.04em;
    line-height: 1;
}

.jb-hero-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    margin-top: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Hero right panel */
.jb-hero-cards { display: flex; flex-direction: column; gap: 10px; }

.jb-hero-mini-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--r-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color var(--dur-2) var(--ease);
}

.jb-hero-mini-card:hover { border-color: rgba(255,255,255,0.18); }

.jb-hero-mini-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.jb-hero-mini-icon.red   { background: rgba(200,16,46,0.15); color: #F87171; }
.jb-hero-mini-icon.green { background: rgba(29,111,66,0.2);  color: #4ADE80; }
.jb-hero-mini-icon.amber { background: rgba(180,83,9,0.2);   color: #FBD261; }

.jb-hero-mini-title { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.85); }
.jb-hero-mini-sub   { font-size: 12px; color: rgba(255,255,255,0.38); margin-top: 1px; }

/* ── Trust Bar ───────────────────────────────────────────── */
.jb-trust-bar {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
}

.jb-trust-bar-inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.jb-trust-bar-inner::-webkit-scrollbar { display: none; }

.jb-trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    border-right: 1px solid var(--c-border);
    flex-shrink: 0;
    min-width: 0;
}

.jb-trust-item:last-child { border-right: none; }
.jb-trust-icon { font-size: 17px; color: var(--c-red); flex-shrink: 0; }
.jb-trust-text { font-size: 12.5px; font-weight: 600; color: var(--c-ink); white-space: nowrap; }
.jb-trust-sub  { font-size: 11.5px; color: var(--c-ink-4); white-space: nowrap; }

/* ── Sections ────────────────────────────────────────────── */
.jb-section { padding: 52px 0; }
.jb-section-alt { background: var(--c-white); }

.jb-section-head { margin-bottom: 28px; }

.jb-section-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
}

.jb-section-title {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.jb-section-sub { font-size: 13.5px; color: var(--c-ink-3); font-weight: 400; }

.jb-see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-ink-3);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    transition: all var(--dur-2) var(--ease);
    border-bottom: 1px solid transparent;
}

.jb-see-all:hover { color: var(--c-ink); border-bottom-color: var(--c-ink); gap: 6px; }

/* ── Category Cards ──────────────────────────────────────── */
.jb-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: all var(--dur-3) var(--ease);
    text-align: center;
}

.jb-category-card:hover {
    border-color: var(--c-ink);
    box-shadow: var(--s-3);
    transform: translateY(-3px);
}

.jb-category-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: var(--c-warm-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--c-ink-2);
    transition: all var(--dur-2) var(--ease);
}

.jb-category-card:hover .jb-category-icon {
    background: var(--c-ink);
    color: var(--c-white);
}

.jb-category-name { font-size: 13px; font-weight: 600; color: var(--c-ink); line-height: 1.3; }
.jb-category-count { font-size: 11px; color: var(--c-ink-4); }

/* ── Product Card — Core ─────────────────────────────────── */
.jb-product-card {
    background: var(--c-white);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1.5px solid var(--c-border);
    transition: border-color var(--dur-3) var(--ease),
                box-shadow var(--dur-3) var(--ease),
                transform var(--dur-3) var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.jb-product-card:focus-within {
    outline: 3px solid rgba(200,16,46,.28);
    outline-offset: 3px;
    border-color: var(--c-red);
}

.jb-product-card-hitarea {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.jb-product-card-hitarea:focus-visible { outline: none; }
.jb-product-badges { z-index: 2; pointer-events: none; }
.jb-product-actions { z-index: 3; }

.jb-product-card:hover {
    border-color: var(--c-ink);
    box-shadow: var(--s-5);
    transform: translateY(-4px);
}

/* Image area */
.jb-product-image {
    position: relative;
    overflow: hidden;
    background: var(--c-warm-1);
    aspect-ratio: 4/5;
    flex-shrink: 0;
}

.jb-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s var(--ease);
}

.jb-product-card:hover .jb-product-image img {
    transform: scale(1.04);
}

/* Placeholder */
.jb-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--c-warm-1);
    min-height: 180px;
}

.jb-product-placeholder i {
    font-size: 28px;
    color: var(--c-warm-3);
}

.jb-product-placeholder span {
    font-size: 11.5px;
    color: var(--c-ink-5);
    font-weight: 500;
}

/* Badges */
.jb-product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 2;
}

.jb-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--r-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.jb-badge-new  { background: var(--c-green);  color: #fff; }
.jb-badge-sale { background: var(--c-red);    color: #fff; }
.jb-badge-hot  { background: var(--c-amber);  color: #fff; }
.jb-badge-sponsored {
    background: rgba(0,0,0,0.55);
    color: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
}

/* Action bar — slides up on hover */
.jb-product-actions {
    position: absolute;
    bottom: -52px;
    left: 0;
    right: 0;
    display: flex;
    gap: 5px;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.42) 0%, transparent 100%);
    transition: bottom var(--dur-3) var(--ease);
    z-index: 3;
}

.jb-product-card:hover .jb-product-actions { bottom: 0; }

.jb-product-action {
    border: none;
    border-radius: var(--r-sm);
    padding: 7px 10px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--font);
    transition: all var(--dur-1) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.jb-product-action-primary {
    flex: 1;
    background: var(--c-white);
    color: var(--c-ink);
}

.jb-product-action-primary:hover { background: var(--c-ink); color: var(--c-white); }

.jb-product-action-icon {
    width: 33px;
    height: 33px;
    padding: 0;
    background: rgba(255,255,255,0.14);
    color: var(--c-white);
    border-radius: var(--r-sm);
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.jb-product-action-icon:hover { background: rgba(255,255,255,0.28); }

/* Product body */
.jb-product-body {
    padding: 12px 14px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jb-product-seller {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-ink-4);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 4px;
    display: block;
}

.jb-product-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-ink);
    line-height: 1.4;
    margin-bottom: 7px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jb-product-title a { color: inherit; }

.jb-product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 7px;
}

.jb-product-rating i { color: #E6A817; font-size: 10.5px; }
.jb-rating-count { font-size: 11px; color: var(--c-ink-4); margin-left: 3px; }

.jb-product-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.jb-price-current    { font-size: 15px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.02em; }
.jb-price-original   { font-size: 12.5px; color: var(--c-ink-4); text-decoration: line-through; }
.jb-price-discount   { font-size: 11px; font-weight: 700; color: var(--c-green); background: var(--c-green-lt); padding: 1px 5px; border-radius: var(--r-xs); }

/* ── Quick Preview Modal ─────────────────────────────────── */
#jbQuickPreview .modal-content {
    border: none;
    border-radius: var(--r-xl);
    box-shadow: 0 32px 80px rgba(0,0,0,0.22);
    overflow: hidden;
}

.jb-preview-image-col {
    background: var(--c-warm-1);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.jb-preview-image-col img { width:100%; height:100%; object-fit:cover; }
.jb-preview-details { padding: 30px; display:flex; flex-direction:column; justify-content:center; }
.jb-preview-category { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.09em; color:var(--c-red); margin-bottom:8px; }
.jb-preview-title { font-size:1.3rem; font-weight:800; color:var(--c-ink); letter-spacing:-0.03em; margin-bottom:6px; line-height:1.2; }
.jb-preview-seller { font-size:13px; color:var(--c-ink-4); margin-bottom:10px; display:flex; align-items:center; gap:5px; }
.jb-preview-price { font-size:1.75rem; font-weight:900; color:var(--c-ink); letter-spacing:-0.05em; margin-bottom:14px; }
.jb-preview-divider { border:none; border-top:1px solid var(--c-border); margin:14px 0; }
.jb-preview-description { font-size:14px; color:var(--c-ink-3); line-height:1.7; margin-bottom:18px; }
.jb-preview-actions { display:flex; gap:8px; }

.jb-preview-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.88);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 12px;
    color: var(--c-ink);
    backdrop-filter: blur(4px);
    transition: all var(--dur-2) var(--ease);
}

.jb-preview-close:hover { background: var(--c-ink); color: var(--c-white); transform: rotate(90deg); }

/* ── Seller CTA ──────────────────────────────────────────── */
.jb-seller-cta {
    background: var(--c-ink);
    padding: 68px 0;
}

.jb-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 14px;
}

.jb-cta-eyebrow i { color: var(--c-red); }

.jb-cta-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--c-white);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.jb-cta-text { color: rgba(255,255,255,0.5); font-size: 15px; line-height: 1.7; max-width: 460px; }

.jb-cta-features { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }

.jb-cta-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}

.jb-cta-feature i { color: var(--c-red); font-size: 13px; }

/* ── Feature Cards ───────────────────────────────────────── */
.jb-feature-card {
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 24px;
    height: 100%;
    transition: all var(--dur-3) var(--ease);
}

.jb-feature-card:hover {
    border-color: var(--c-ink);
    box-shadow: var(--s-4);
    transform: translateY(-3px);
}

.jb-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--c-warm-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--c-ink-2);
    margin-bottom: 14px;
    transition: all var(--dur-2) var(--ease);
}

.jb-feature-card:hover .jb-feature-icon { background: var(--c-ink); color: var(--c-white); }

.jb-feature-icon-secondary { background: var(--c-green-lt); color: var(--c-green); }
.jb-feature-card:hover .jb-feature-icon-secondary { background: var(--c-green); color: var(--c-white); }

.jb-feature-icon-accent { background: var(--c-amber-lt); color: var(--c-amber); }
.jb-feature-card:hover .jb-feature-icon-accent { background: var(--c-amber); color: var(--c-white); }

.jb-feature-title { font-size: 14.5px; font-weight: 700; color: var(--c-ink); margin-bottom: 7px; }
.jb-feature-text  { font-size: 13.5px; color: var(--c-ink-3); line-height: 1.6; }

/* ── Auth Pages ──────────────────────────────────────────── */
.jb-auth-section {
    min-height: 100vh;
    display: flex;
    background: var(--c-canvas);
}

.jb-auth-left {
    width: 420px;
    flex-shrink: 0;
    background: var(--c-ink);
    padding: 48px 44px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

@media (min-width: 960px) { .jb-auth-left { display: flex; } }

/* Subtle pattern on auth left */
.jb-auth-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.jb-auth-left-brand {
    font-size: 18px;
    font-weight: 900;
    color: var(--c-white);
    letter-spacing: -0.05em;
    position: relative;
}

.jb-auth-left-brand::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--c-red);
    border-radius: 50%;
    margin-left: 1px;
    vertical-align: super;
    font-size: 10px;
}

.jb-auth-left-body { position: relative; }

.jb-auth-left-tagline {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--c-white);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.jb-auth-left-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

.jb-auth-left-stats {
    display: flex;
    gap: 0;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
    position: relative;
}

.jb-auth-left-stat { padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.07); }
.jb-auth-left-stat:first-child { padding-left: 0; }
.jb-auth-left-stat:last-child  { border-right: none; }
.jb-auth-left-stat-num   { font-size: 18px; font-weight: 900; color: var(--c-white); letter-spacing: -0.04em; }
.jb-auth-left-stat-label { font-size: 10.5px; color: rgba(255,255,255,0.35); margin-top: 1px; font-weight: 500; }

.jb-auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.jb-auth-box { width: 100%; max-width: 370px; }

.jb-auth-logo {
    font-size: 17px;
    font-weight: 900;
    color: var(--c-ink);
    letter-spacing: -0.05em;
    display: inline-block;
    margin-bottom: 30px;
    text-decoration: none;
    position: relative;
}

.jb-auth-logo::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--c-red);
    border-radius: 50%;
    margin-left: 1px;
    vertical-align: super;
}

.jb-auth-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--c-ink); margin-bottom: 5px; }
.jb-auth-subtitle { font-size: 13.5px; color: var(--c-ink-3); margin-bottom: 24px; }

/* Form elements */
.jb-form-label { font-size: 13px; font-weight: 600; color: var(--c-ink); margin-bottom: 5px; display: block; }

.jb-form-control {
    width: 100%;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r);
    padding: 9px 13px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--c-ink);
    background: var(--c-white);
    outline: none;
    transition: all var(--dur-2) var(--ease);
}

.jb-form-control::placeholder { color: var(--c-ink-4); }

.jb-form-control:focus {
    border-color: var(--c-ink-3);
    box-shadow: 0 0 0 3px rgba(17,17,17,0.06);
}

.jb-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--c-border-dk);
    border-radius: var(--r);
    background: var(--c-white);
    color: var(--c-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(17,17,17,.04);
    transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.jb-google-btn:hover { color: var(--c-ink); border-color: var(--c-ink-3); box-shadow: 0 5px 16px rgba(17,17,17,.08); transform: translateY(-1px); }
.jb-google-btn.is-setup-required { border-style: dashed; }
.jb-google-mark { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; color:#4285f4; font:800 18px/1 Arial,sans-serif; }
.jb-auth-divider { display:flex; align-items:center; gap:12px; margin:18px 0; color:var(--c-ink-4); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.jb-auth-divider::before,.jb-auth-divider::after { content:''; flex:1; height:1px; background:var(--c-border); }

.jb-input-icon {
    background: var(--c-warm-1);
    border: 1.5px solid var(--c-border);
    border-right: none;
    color: var(--c-ink-4);
    padding: 0 11px;
    border-radius: var(--r) 0 0 var(--r) !important;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.jb-input-toggle {
    background: var(--c-warm-1);
    border: 1.5px solid var(--c-border);
    border-left: none;
    color: var(--c-ink-4);
    padding: 0 11px;
    border-radius: 0 var(--r) var(--r) 0 !important;
    cursor: pointer;
    transition: color var(--dur-1) var(--ease);
    font-size: 14px;
}

.jb-input-toggle:hover { color: var(--c-ink); }

.jb-form-link { font-size: 13px; font-weight: 600; color: var(--c-red); }
.jb-form-link:hover { color: var(--c-red-dk); }

.jb-auth-divider {
    position: relative;
    text-align: center;
    margin: 18px 0;
}

.jb-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--c-border);
}

.jb-auth-divider span {
    position: relative;
    background: var(--c-canvas);
    padding: 0 10px;
    font-size: 11.5px;
    color: var(--c-ink-4);
    font-weight: 500;
}

.jb-auth-footer-text { font-size: 13.5px; color: var(--c-ink-3); text-align: center; margin-top: 18px; }
.jb-auth-link { font-weight: 700; color: var(--c-red); }
.jb-auth-link:hover { color: var(--c-red-dk); }
.jb-check-label { font-size: 13px; color: var(--c-ink-3); }

/* ── Seller Layout ───────────────────────────────────────── */
.jb-seller-wrapper { display: flex; min-height: 100vh; }

.jb-sidebar {
    width: 240px;
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    background: var(--c-ink);
    overflow-y: auto;
    z-index: 900;
    display: flex;
    flex-direction: column;
    transition: transform var(--dur-3) var(--ease);
}

.jb-sidebar::-webkit-scrollbar { width: 3px; }
.jb-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 100px; }

.jb-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 16px;
    font-size: 15px;
    font-weight: 900;
    color: var(--c-white);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    letter-spacing: -0.04em;
}

.jb-sidebar-brand i { color: var(--c-red); }
.jb-sidebar-brand:hover { color: var(--c-white); }

.jb-sidebar-nav { list-style: none; padding: 10px 8px; flex: 1; }

.jb-sidebar-section {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.22);
    padding: 14px 8px 5px;
}

.jb-sidebar-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    color: rgba(255,255,255,0.48);
    border-radius: var(--r-sm);
    font-size: 13.5px;
    font-weight: 500;
    transition: all var(--dur-2) var(--ease);
    text-decoration: none;
    position: relative;
    margin-bottom: 1px;
}

.jb-sidebar-link i { font-size: 14px; width: 16px; text-align: center; flex-shrink: 0; }
.jb-sidebar-link:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); }

.jb-sidebar-link.active {
    background: rgba(200,16,46,0.12);
    color: var(--c-white);
    font-weight: 600;
}

.jb-sidebar-link.active::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    background: var(--c-red);
    border-radius: 0 2px 2px 0;
}

.jb-sidebar-badge {
    margin-left: auto;
    background: var(--c-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 100px;
    min-width: 18px;
    text-align: center;
}

.jb-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 899; }

.jb-main-content { margin-left: 240px; flex: 1; min-height: 100vh; display: flex; flex-direction: column; }

.jb-top-bar {
    position: sticky;
    top: 0;
    background: rgba(247,245,242,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.jb-top-bar-title { font-size: 14.5px; font-weight: 700; color: var(--c-ink); margin: 0; }
.jb-top-bar-actions { display: flex; align-items: center; gap: 6px; }

.jb-sidebar-toggle {
    background: none;
    border: 1.5px solid var(--c-border);
    color: var(--c-ink-2);
    border-radius: var(--r-sm);
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all var(--dur-1) var(--ease);
    margin-right: 8px;
}

.jb-sidebar-toggle:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.jb-content-area { padding: 22px; flex: 1; }

/* ── Stat Cards ──────────────────────────────────────────── */
.jb-stat-card {
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 18px;
    transition: all var(--dur-3) var(--ease);
}

.jb-stat-card:hover { transform: translateY(-3px); box-shadow: var(--s-3); }

.jb-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 12px;
}

.jb-stat-value { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; margin-bottom: 4px; color: var(--c-ink); }
.jb-stat-label { font-size: 13px; color: var(--c-ink-3); font-weight: 500; }
.jb-stat-change { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; margin-top: 5px; }
.jb-stat-change.up   { color: var(--c-green); }
.jb-stat-change.down { color: var(--c-red); }

/* ── Tables ──────────────────────────────────────────────── */
.jb-table-card { background: var(--c-white); border: 1.5px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.jb-table-header { padding: 14px 18px; border-bottom: 1px solid var(--c-border); display: flex; align-items: center; justify-content: space-between; }
.jb-table-title { font-size: 14px; font-weight: 700; color: var(--c-ink); margin: 0; }
.jb-table { margin: 0; font-size: 13.5px; }
.jb-table th { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--c-ink-4); padding: 9px 18px; border-bottom: 1px solid var(--c-border); background: var(--c-warm-1); white-space: nowrap; }
.jb-table td { padding: 11px 18px; border-bottom: 1px solid var(--c-border); vertical-align: middle; font-weight: 500; }
.jb-table tbody tr:last-child td { border-bottom: none; }
.jb-table tbody tr:hover td { background: var(--c-warm-1); }

/* Status */
.jb-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-xs); }
.jb-status::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.jb-status-active, .jb-status-approved, .jb-status-delivered { background: var(--c-green-lt); color: var(--c-green); }
.jb-status-pending    { background: var(--c-amber-lt); color: var(--c-amber); }
.jb-status-processing { background: var(--c-blue-lt);  color: var(--c-blue); }
.jb-status-cancelled, .jb-status-rejected { background: var(--c-red-lt); color: var(--c-red); }
.jb-status-draft { background: var(--c-warm-1); color: var(--c-ink-4); }

/* ── Forms ───────────────────────────────────────────────── */
.jb-form-section { background: var(--c-white); border: 1.5px solid var(--c-border); border-radius: var(--r-md); padding: 22px; margin-bottom: 14px; }
.jb-form-section-title { font-size: 14px; font-weight: 700; color: var(--c-ink); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); display: flex; align-items: center; gap: 7px; }

/* ── Filter ──────────────────────────────────────────────── */
.jb-filter-card { background: var(--c-white); border: 1.5px solid var(--c-border); border-radius: var(--r-md); padding: 18px; position: sticky; top: 78px; }
.jb-filter-title { font-size: 13px; font-weight: 700; color: var(--c-ink); margin-bottom: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--c-border); }
.jb-shop-filter-toggle {
    width:100%;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 14px;
    color:var(--c-ink);
    background:var(--c-white);
    border:1.5px solid var(--c-border-dk);
    border-radius:12px;
    font-size:14px;
    font-weight:750;
    box-shadow:0 5px 16px rgba(17,17,17,.06);
}
.jb-shop-filter-toggle[aria-expanded="true"] { border-color:var(--c-red); box-shadow:0 0 0 3px rgba(181,18,27,.08); }
.jb-filter-toggle-chevron { transition:transform .2s ease; }
.jb-shop-filter-toggle[aria-expanded="true"] .jb-filter-toggle-chevron { transform:rotate(180deg); }
.jb-filter-active-count { min-width:23px; height:23px; display:inline-flex; align-items:center; justify-content:center; padding:0 6px; color:var(--c-white); background:var(--c-red); border-radius:999px; font-size:11px; }

/* ── Shoppable Reels ───────────────────────────────────── */
.jb-reels-horizontal { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(270px,320px); gap:16px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; padding:4px 2px 16px; scrollbar-width:thin; }
.jb-reels-horizontal .jb-reel-card { scroll-snap-align:start; }
.jb-reels-vertical-feed { width:min(100%,520px); margin:0 auto; display:grid; gap:24px; }
.jb-reel-card { overflow:hidden; color:var(--c-white); background:#111; border:1px solid rgba(17,17,17,.12); border-radius:20px; box-shadow:0 14px 38px rgba(17,17,17,.14); }
.jb-reel-video-wrap { position:relative; aspect-ratio:9/14; overflow:hidden; background:#111; }
.jb-reel-video { display:block; width:100%; height:100%; object-fit:cover; }
.jb-reel-gradient { position:absolute; inset:0; pointer-events:none; background:linear-gradient(to bottom,rgba(0,0,0,.18) 0%,transparent 32%,rgba(0,0,0,.08) 52%,rgba(0,0,0,.88) 100%); }
.jb-reel-play{position:absolute;z-index:4;left:50%;top:50%;width:58px;height:58px;display:grid;place-items:center;transform:translate(-50%,-50%);border:0;border-radius:50%;color:#fff;background:rgba(0,0,0,.5);font-size:27px;opacity:0;pointer-events:none;backdrop-filter:blur(8px);transition:opacity .18s ease,transform .18s ease}.jb-reel-play.is-paused{opacity:1;pointer-events:auto}.jb-reel-video-wrap:hover .jb-reel-play{opacity:.72;pointer-events:auto}.jb-reel-play:active{transform:translate(-50%,-50%) scale(.94)}
.jb-reel-sound { position:absolute; top:12px; right:12px; z-index:3; width:38px; height:38px; display:grid; place-items:center; color:#fff; background:rgba(0,0,0,.48); border:1px solid rgba(255,255,255,.3); border-radius:50%; backdrop-filter:blur(10px); }
.jb-reel-position{position:absolute;z-index:3;left:12px;top:14px;padding:4px 9px;border-radius:999px;color:#fff;background:rgba(0,0,0,.42);font-size:10px;font-weight:800;letter-spacing:.04em;backdrop-filter:blur(8px)}
.jb-reel-side-actions { position:absolute; z-index:3; right:12px; bottom:155px; display:grid; gap:10px; }
.jb-reel-action { width:44px; min-height:44px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; color:#fff; background:rgba(0,0,0,.46); border:1px solid rgba(255,255,255,.24); border-radius:15px; backdrop-filter:blur(10px); }
.jb-reel-action i { font-size:18px; line-height:1; }
.jb-reel-action span { font-size:9px; font-weight:750; }
.jb-reel-action.is-active { color:#ffb2ba; background:rgba(181,18,27,.7); }
.jb-reel-overlay { position:absolute; z-index:2; left:14px; right:64px; bottom:14px; }
.jb-reel-store { display:inline-flex; align-items:center; gap:5px; margin-bottom:7px; color:#fff; font-size:12px; font-weight:750; text-decoration:none; }
.jb-reel-store i { color:#7ed9ff; }
.jb-reel-caption { margin:0 0 3px; display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-size:13px; line-height:1.4; }
.jb-reel-hashtags { margin:0 0 10px; color:#ffb5bb; font-size:11.5px; font-weight:650; }
.jb-reel-product { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px; color:#111; background:rgba(255,255,255,.95); border-radius:13px; text-decoration:none; box-shadow:0 6px 18px rgba(0,0,0,.18); }
.jb-reel-product:hover { color:#111; background:#fff; }
.jb-reel-product-copy { min-width:0; }
.jb-reel-product-copy strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.jb-reel-product-copy small { display:block; color:var(--c-ink-3); font-size:10.5px; }
.jb-reel-product-copy .bi-star-fill { color:#e9a000; }
.jb-reel-shop-btn { flex-shrink:0; color:var(--c-red); font-size:10.5px; font-weight:800; text-transform:uppercase; }
.jb-reel-look { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; color:var(--c-ink); background:#fff; }
.jb-reel-look strong,.jb-reel-look small { display:block; }
.jb-reel-look strong { font-size:12.5px; }
.jb-reel-look small { color:var(--c-ink-4); font-size:10.5px; }
.jb-reels-page{position:relative;padding:0!important;background:#090909}.jb-reels-stage{position:relative;width:100%;background:radial-gradient(circle at 50% 15%,#292929 0,#0a0a0a 48%,#050505 100%)}.jb-reels-page .jb-reels-vertical-feed{width:100%;height:calc(100dvh - 76px);display:block;overflow-y:auto;overscroll-behavior-y:contain;scroll-snap-type:y mandatory;scrollbar-width:none}.jb-reels-page .jb-reels-vertical-feed::-webkit-scrollbar{display:none}.jb-reels-page .jb-reel-card{display:flex;flex-direction:column;width:min(470px,calc(100% - 32px));height:calc(100% - 24px);margin:12px auto;border-color:rgba(255,255,255,.12);border-radius:18px;scroll-snap-align:center;scroll-snap-stop:always;box-shadow:0 20px 70px rgba(0,0,0,.5)}.jb-reels-page .jb-reel-video-wrap{flex:1;min-height:0;aspect-ratio:auto}.jb-reels-page .jb-reel-look{flex:0 0 auto}.jb-reels-page .jb-reel-sound{top:52px}.jb-reels-toolbar{position:absolute;z-index:8;top:0;left:50%;width:min(470px,calc(100% - 32px));height:52px;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;padding:0 14px;color:#fff;background:linear-gradient(to bottom,rgba(0,0,0,.7),transparent);pointer-events:none}.jb-reels-toolbar>div{display:flex;align-items:center;gap:5px;font-size:17px}.jb-reels-toolbar>div i{color:#ff6e79}.jb-reels-toolbar>span{font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:rgba(255,255,255,.76)}.jb-reels-swipe-hint{position:absolute;z-index:8;right:max(18px,calc(50% - 300px));bottom:20px;display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;color:rgba(255,255,255,.74);background:rgba(0,0,0,.4);font-size:10px;pointer-events:none;animation:jb-reels-hint 1.8s ease-in-out infinite}.jb-reels-swipe-hint i{color:#ff7b84}.jb-reels-more{position:absolute;z-index:9;right:18px;top:14px;color:#fff;font-size:11px;font-weight:800;text-decoration:none}@keyframes jb-reels-hint{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(4px);opacity:1}}
@media(max-width:991.98px){.jb-reels-page .jb-reels-vertical-feed{height:calc(100dvh - 76px - 76px)}.jb-reels-page .jb-reel-card{width:100%;height:100%;margin:0;border:0;border-radius:0;scroll-snap-align:start}.jb-reels-toolbar{width:100%}.jb-reels-swipe-hint{right:12px;bottom:12px}.jb-reels-page .jb-reel-sound{top:56px}.jb-reels-page .jb-reel-position{top:58px}}
@media(prefers-reduced-motion:reduce){.jb-reels-swipe-hint{animation:none}}

/* ── Mobile Nav ──────────────────────────────────────────── */
.jb-mobile-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    min-height: 68px;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid rgba(17,17,17,0.1);
    box-shadow: 0 -8px 28px rgba(17,17,17,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: stretch;
    z-index: 1100;
    padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
}

.jb-mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 52px;
    padding: 6px 3px;
    color: var(--c-ink-3);
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 12px;
    transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}

.jb-mobile-nav-item i { font-size: 20px; display: block; line-height: 1; }
.jb-mobile-nav-item.active {
    color: var(--c-red);
    background: var(--c-red-lt);
}
.jb-mobile-nav-item:active { transform: scale(0.96); }
.jb-mobile-nav-item:hover { color: var(--c-red); }
.jb-mobile-nav-item[href*="/reels"] i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--c-red);
    color: #fff;
    box-shadow: 0 5px 12px rgba(181,18,27,.24);
}
@media (max-width: 420px) {
    .jb-mobile-nav { padding-left: 4px; padding-right: 4px; }
    .jb-mobile-nav-item { font-size: 9px; padding-left: 2px; padding-right: 2px; }
    .jb-mobile-nav-item i { font-size: 18px; }
}

@media (max-width: 991.98px) {
    body:not(.is-auth) {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .jb-navbar > .container {
        height: auto;
        min-height: 64px;
        flex-wrap: wrap;
        gap: 0;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .jb-navbar .navbar-toggler {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: var(--c-ink);
        background: var(--c-warm-1);
        border: 1px solid var(--c-border-dk);
        border-radius: 11px;
        box-shadow: none;
    }

    .jb-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
    }

    .jb-navbar .navbar-toggler[aria-expanded="true"] {
        color: var(--c-white);
        background: var(--c-ink);
        border-color: var(--c-ink);
    }

    .jb-navbar .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        padding: 12px 0 8px;
        margin-top: 8px;
        background: var(--c-white);
        border-top: 1px solid var(--c-border);
    }

    .jb-navbar .jb-search-form {
        width: 100%;
        max-width: none;
        margin: 0 0 10px !important;
    }

    .jb-direct-search { grid-template-columns:1fr; gap:16px; padding:20px; }
    #shopFilters { margin-bottom:4px; }
    #shopFilters .jb-filter-card { position:static; top:auto; }
    .jb-reels-horizontal { grid-auto-columns:minmax(260px,82vw); margin-right:-12px; }
    .jb-reel-look { align-items:flex-start; flex-direction:column; }

    .jb-navbar .jb-search-input {
        height: 44px;
        font-size: 14px;
    }

    .jb-navbar .jb-search-btn {
        min-width: 72px;
    }

    .jb-navbar .jb-nav-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
        margin: 0;
    }

    .jb-navbar .jb-nav-link,
    .jb-navbar .jb-nav-links > .jb-btn-primary {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 9px 8px !important;
        text-align: center;
        border-radius: 10px;
    }

    .jb-navbar .jb-nav-link:not(.jb-sell-link) {
        background: var(--c-warm-1);
        border: 1px solid var(--c-border);
    }

    .jb-navbar .jb-nav-links > .dropdown {
        grid-column: 1 / -1;
        width: 100%;
    }

    .jb-navbar .jb-nav-links > .jb-btn-primary {
        grid-column: 1 / -1;
    }

    .jb-navbar .jb-nav-links > .dropdown > .jb-nav-icon {
        width: 100%;
        min-height: 42px;
        justify-content: center;
        color: var(--c-ink);
        background: var(--c-warm-1);
        border: 1px solid var(--c-border);
        border-radius: 10px;
    }

    .jb-navbar .jb-nav-links > .dropdown > .dropdown-menu {
        width: 100%;
    }
}

/* ── Footer ──────────────────────────────────────────────── */
.jb-footer { background: var(--c-ink); padding-top: 56px; }

.jb-footer-brand {
    font-size: 17px;
    font-weight: 900;
    color: var(--c-white);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
}

.jb-footer-brand::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--c-red);
    border-radius: 50%;
    margin-left: 2px;
    margin-bottom: 8px;
}

.jb-footer-text { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 260px; margin-bottom: 18px; }

.jb-social-links { display: flex; gap: 6px; flex-wrap: wrap; }

.jb-social-link {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    transition: all var(--dur-2) var(--ease);
}

.jb-social-link:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }

.jb-footer-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.jb-footer-links { list-style: none; padding: 0; margin: 0; }
.jb-footer-links li { margin-bottom: 8px; }
.jb-footer-links a { color: rgba(255,255,255,0.32); font-size: 13px; text-decoration: none; transition: color var(--dur-2) var(--ease); }
.jb-footer-links a:hover { color: rgba(255,255,255,0.75); }

.jb-footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 44px; padding: 18px 0; }
.jb-footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.22); }

.jb-payment-icons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.jb-payment-icons i { font-size: 17px; color: rgba(255,255,255,0.2); transition: color var(--dur-2) var(--ease); }
.jb-payment-icons i:hover { color: rgba(255,255,255,0.55); }
.jb-flag-badge { font-size: 12px; color: rgba(255,255,255,0.22); }

/* ── Utilities ───────────────────────────────────────────── */
.jb-divider { border: none; border-top: 1px solid var(--c-border); margin: 18px 0; }
.jb-empty-state { text-align: center; padding: 56px 24px; }
.jb-empty-state i { font-size: 36px; color: var(--c-warm-3); display: block; margin-bottom: 12px; }
.jb-empty-state h4 { font-size: 15px; font-weight: 700; color: var(--c-ink-3); margin-bottom: 6px; }
.jb-empty-state p { font-size: 13.5px; color: var(--c-ink-4); max-width: 280px; margin: 0 auto; }

/* Scroll-to-top */
#jb-scroll-top {
    position: fixed;
    bottom: 76px; right: 16px;
    width: 38px; height: 38px;
    background: var(--c-ink);
    color: var(--c-white);
    border: none;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--s-3);
    transition: all var(--dur-2) var(--ease);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    z-index: 800;
    font-size: 14px;
}

#jb-scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#jb-scroll-top:hover { background: var(--c-red); transform: translateY(-2px); }
@media (min-width: 992px) { #jb-scroll-top { bottom: 20px; } }

/* ── Responsive Sidebar ──────────────────────────────────── */
@media (max-width: 991.98px) {
    .jb-sidebar { transform: translateX(-100%); }
    .jb-sidebar.show { transform: translateX(0); box-shadow: var(--s-5); }
    .jb-sidebar-overlay.show { display: block; }
    .jb-main-content { margin-left: 0; }
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.jb-fade-in { animation: fadeUp 0.35s var(--ease) both; }

.jb-stagger > *:nth-child(1) { animation-delay: 0.04s; }
.jb-stagger > *:nth-child(2) { animation-delay: 0.08s; }
.jb-stagger > *:nth-child(3) { animation-delay: 0.12s; }
.jb-stagger > *:nth-child(4) { animation-delay: 0.16s; }
.jb-stagger > *:nth-child(5) { animation-delay: 0.20s; }
.jb-stagger > *:nth-child(6) { animation-delay: 0.24s; }
.jb-stagger > *:nth-child(7) { animation-delay: 0.28s; }
.jb-stagger > *:nth-child(8) { animation-delay: 0.32s; }

.jb-canada-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--c-red-lt);
    border-radius: var(--r-xs);
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-red);
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
    .jb-navbar,.jb-mobile-nav,.jb-footer,#jb-scroll-top,#jb-page-loader { display: none !important; }
    body { padding: 0 !important; background: white; }
}

/* === COMPONENT LIBRARY === */

/* Panel */
.jb-panel{background:var(--c-white);border:1.5px solid var(--c-border);border-radius:var(--r-md);overflow:hidden}
.jb-panel-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--c-border)}
.jb-panel-title{font-size:14px;font-weight:700;color:var(--c-ink);margin:0;display:flex;align-items:center;gap:7px}
.jb-panel-body{padding:18px}
.jb-card{background:var(--c-white);border:1.5px solid var(--c-border);border-radius:var(--r-md);padding:18px}

/* Page header */
.jb-page-header{padding:14px 0 18px;border-bottom:1px solid var(--c-border);margin-bottom:20px}
.jb-page-title{font-size:1.35rem;font-weight:800;letter-spacing:-0.03em;color:var(--c-ink);margin:0}

/* Breadcrumb */
.breadcrumb{font-size:13px;margin-bottom:0;padding:0;background:none}
.breadcrumb-item a{color:var(--c-ink-3);font-weight:500}
.breadcrumb-item a:hover{color:var(--c-ink)}
.breadcrumb-item.active{color:var(--c-ink);font-weight:600}
.breadcrumb-item+.breadcrumb-item::before{color:var(--c-ink-5)}

/* Sidebar filter */
.jb-sidebar-filter-link{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-radius:var(--r-sm);font-size:13.5px;font-weight:500;color:var(--c-ink-3);text-decoration:none;transition:all var(--dur-2) var(--ease);margin-bottom:1px}
.jb-sidebar-filter-link:hover{background:var(--c-warm-1);color:var(--c-ink)}
.jb-sidebar-filter-link.active{background:var(--c-warm-2);color:var(--c-ink);font-weight:600}
.jb-filter-count{font-size:11px;font-weight:600;color:var(--c-ink-4);background:var(--c-warm-1);padding:1px 6px;border-radius:100px;min-width:22px;text-align:center}

/* Stat card extras */
.jb-stat-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.jb-stat-icon-primary{background:var(--c-blue-lt);color:var(--c-blue)}
.jb-stat-icon-success{background:var(--c-green-lt);color:var(--c-green)}
.jb-stat-icon-warning{background:var(--c-amber-lt);color:var(--c-amber)}
.jb-stat-icon-secondary{background:var(--c-warm-1);color:var(--c-ink-3)}
.jb-stat-icon-danger{background:var(--c-red-lt);color:var(--c-red)}
.jb-stat-change{display:flex;align-items:center;gap:3px;font-size:12px;font-weight:500;color:var(--c-ink-4);margin-top:4px}
.jb-stat-change.positive,.jb-stat-change.up{color:var(--c-green);font-weight:600}
.jb-stat-change.negative,.jb-stat-change.down{color:var(--c-red);font-weight:600}

/* Badge variants */
.jb-badge{font-size:11px;font-weight:700;padding:3px 8px;border-radius:var(--r-xs);letter-spacing:.03em;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.jb-badge-success{background:var(--c-green-lt);color:var(--c-green)}
.jb-badge-danger{background:var(--c-red-lt);color:var(--c-red)}
.jb-badge-warning{background:var(--c-amber-lt);color:var(--c-amber)}
.jb-badge-info,.jb-badge-primary{background:var(--c-blue-lt);color:var(--c-blue)}
.jb-badge-secondary,.jb-badge-muted{background:var(--c-warm-1);color:var(--c-ink-4)}

/* Button extras */
.jb-btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--c-warm-1);color:var(--c-ink);border:1.5px solid var(--c-border);border-radius:var(--r);font-size:14px;font-weight:600;font-family:var(--font);padding:9px 18px;cursor:pointer;text-decoration:none;transition:all var(--dur-2) var(--ease)}
.jb-btn-secondary:hover{background:var(--c-warm-2);color:var(--c-ink);border-color:var(--c-border-dk)}
.jb-btn-danger{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--c-red-lt);color:var(--c-red);border:1.5px solid transparent;border-radius:var(--r);font-size:14px;font-weight:600;font-family:var(--font);padding:9px 18px;cursor:pointer;text-decoration:none;transition:all var(--dur-2) var(--ease)}
.jb-btn-danger:hover{background:var(--c-red);color:var(--c-white)}
.jb-btn-sm{padding:6px 13px !important;font-size:13px !important}
.jb-btn-xs{padding:4px 9px !important;font-size:12px !important}

/* Pagination */
.pagination .page-link{border-radius:var(--r-sm) !important;border:1.5px solid var(--c-border);color:var(--c-ink-2);font-size:13.5px;font-weight:600;padding:6px 12px;transition:all var(--dur-1) var(--ease);margin:0 2px}
.pagination .page-link:hover{background:var(--c-warm-1);border-color:var(--c-border-dk);color:var(--c-ink)}
.pagination .page-item.active .page-link{background:var(--c-ink);border-color:var(--c-ink);color:var(--c-white)}
.pagination .page-item.disabled .page-link{color:var(--c-ink-5)}

/* Cart */
.jb-cart-img{width:72px;height:72px;object-fit:cover;border-radius:var(--r-sm);flex-shrink:0;background:var(--c-warm-1);border:1px solid var(--c-border)}
.jb-qty-control{display:flex;align-items:center;border:1.5px solid var(--c-border);border-radius:var(--r-sm);overflow:hidden}
.jb-qty-btn{width:30px;height:30px;background:var(--c-warm-1);border:none;cursor:pointer;font-size:16px;font-weight:700;color:var(--c-ink);display:flex;align-items:center;justify-content:center;transition:background var(--dur-1) var(--ease);flex-shrink:0}
.jb-qty-btn:hover{background:var(--c-warm-2)}
.jb-qty-input{width:40px;height:30px;padding:0 2px;border:none;border-left:1px solid var(--c-border);border-right:1px solid var(--c-border);text-align:center;font-size:13.5px;font-weight:700;line-height:30px;font-family:var(--font);color:var(--c-ink);-webkit-text-fill-color:var(--c-ink);background:var(--c-white);outline:none;opacity:1;appearance:textfield;-moz-appearance:textfield}

@media (max-width: 575.98px) {
    .jb-payment-option { align-items: flex-start; padding: 14px 12px; }
    .jb-payment-brand-row { display: none; }
    .jb-stat-card { padding: 15px; overflow: hidden; }
    .jb-stat-header > div:first-child { min-width: 0; }
    .jb-stat-card .jb-stat-value { font-size: 1.28rem; letter-spacing: -0.04em; white-space: nowrap; }
    .jb-stat-card .jb-stat-icon { width: 34px; height: 34px; flex: 0 0 34px; margin: 0 0 0 7px; }
}
.jb-order-summary{background:var(--c-white);border:1.5px solid var(--c-border);border-radius:var(--r-md);padding:20px;position:sticky;top:78px}
.jb-order-row{display:flex;justify-content:space-between;align-items:center;font-size:14px;padding:6px 0;color:var(--c-ink-2)}
.jb-order-row-total{display:flex;justify-content:space-between;align-items:center;font-size:1rem;font-weight:800;padding:12px 0 0;border-top:1.5px solid var(--c-border);margin-top:8px;color:var(--c-ink)}

/* Alert */
.alert{border-radius:var(--r) !important;border:none !important;font-size:14px;font-weight:500}
.alert-success{background:var(--c-green-lt) !important;color:var(--c-green) !important}
.alert-danger{background:var(--c-red-lt) !important;color:var(--c-red) !important}
.alert-warning{background:var(--c-amber-lt) !important;color:var(--c-amber) !important}
.alert-info{background:var(--c-blue-lt) !important;color:var(--c-blue) !important}

/* Tabs */
.jb-tabs{display:flex;gap:2px;border-bottom:1.5px solid var(--c-border);margin-bottom:20px;overflow-x:auto;scrollbar-width:none}
.jb-tab{padding:9px 16px;font-size:13.5px;font-weight:600;color:var(--c-ink-4);border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap;transition:all var(--dur-2) var(--ease);text-decoration:none;margin-bottom:-1.5px}
.jb-tab:hover{color:var(--c-ink)}
.jb-tab.active{color:var(--c-red);border-bottom-color:var(--c-red)}

/* Avatar */
.jb-avatar{width:36px;height:36px;border-radius:50%;background:var(--c-warm-2);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--c-ink-2);flex-shrink:0;overflow:hidden}
.jb-avatar img{width:100%;height:100%;object-fit:cover}
.jb-avatar-lg{width:56px;height:56px;font-size:18px}
.jb-avatar-xl{width:80px;height:80px;font-size:24px}

/* Info rows */
.jb-info-row{display:flex;gap:8px;padding:9px 0;border-bottom:1px solid var(--c-border);font-size:14px}
.jb-info-row:last-child{border-bottom:none}
.jb-info-label{color:var(--c-ink-4);font-weight:500;min-width:110px;flex-shrink:0}
.jb-info-value{color:var(--c-ink);font-weight:500}

/* Password strength */
.jb-password-strength{font-size:12px;margin-top:5px;height:16px}

/* Dropdown toggle no arrow */
.dropdown-toggle::after{display:none}

/* Input group border fix */
.input-group .jb-form-control:not(:first-child):not(:last-child){border-radius:0 !important}
.input-group .jb-form-control:last-child{border-radius:0 var(--r) var(--r) 0 !important}
.input-group .jb-form-control:first-child{border-radius:var(--r) 0 0 var(--r) !important}

/* Mobile responsive extras */
@media(max-width:575.98px){.jb-hero{padding:44px 0 52px}.jb-hero-title{font-size:1.9rem}.jb-hero-proof{flex-wrap:wrap;gap:12px}.jb-hero-stat{border-right:none;padding:0}.jb-section{padding:36px 0}.jb-seller-cta{padding:44px 0}}

/* Form select */
select.jb-form-control{appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 10px center;background-size:12px;padding-right:30px;cursor:pointer}

/* Admin layout */
.jb-admin-wrapper{display:flex;min-height:100vh}

/* Results header */
.jb-results-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.jb-results-title{font-size:1.15rem;font-weight:800;letter-spacing:-0.03em;color:var(--c-ink);margin:0}
.jb-results-count{font-size:13px;color:var(--c-ink-4);font-weight:400}

/* Product trust, reviews and Q&A */
.jb-trust-badge{display:inline-flex;align-items:center;gap:.25rem;margin-left:.35rem;padding:.15rem .45rem;border-radius:999px;background:#e8f7ef;color:#176c45;font-size:10px;font-weight:800;vertical-align:middle}
.jb-purchase-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;padding:.8rem;border:1px solid #dfe7e3;border-radius:14px;background:linear-gradient(135deg,#f7fbf8,#fff)}
.jb-purchase-trust>div{display:flex;gap:.55rem;min-width:0}.jb-purchase-trust>div>i{color:#c9282d;font-size:1.1rem}.jb-purchase-trust span{display:flex;flex-direction:column;line-height:1.25}.jb-purchase-trust strong{font-size:11px}.jb-purchase-trust small{color:var(--jb-text-secondary);font-size:10px}.jb-purchase-trust a{color:inherit;text-decoration:underline}
.jb-rating-summary{display:grid;grid-template-columns:140px minmax(0,360px);gap:1.5rem;align-items:center;padding:1rem;border-radius:14px;background:#f8faf9}.jb-rating-score{display:flex;flex-direction:column}.jb-rating-score strong{font-size:2.4rem;line-height:1;color:var(--jb-primary)}.jb-rating-score span,.jb-rating-score small{color:var(--jb-text-secondary)}.jb-rating-bars{display:grid;gap:.35rem}.jb-rating-bars>div{display:grid;grid-template-columns:42px 1fr 24px;gap:.55rem;align-items:center;font-size:12px}.jb-rating-bars i{color:#f3a712}.jb-rating-bars .progress{height:7px;background:#e4e9e6}.jb-rating-bars .progress-bar{background:#f3a712}
.jb-review-media{display:flex;gap:.55rem;overflow-x:auto}.jb-review-media img,.jb-review-media video{width:110px;height:110px;object-fit:cover;border-radius:10px;border:1px solid var(--jb-border);background:#111}
.jb-official-answer{padding:.75rem 1rem;border-left:3px solid #21885b;border-radius:8px;background:#eff9f3;font-size:12px}.jb-official-answer strong{color:#176c45}.jb-official-answer p{margin:.3rem 0 0}
.jb-helpful-btn{margin-top:.75rem;padding:.35rem .65rem;border:1px solid var(--jb-border);border-radius:999px;background:#fff;color:var(--jb-text-secondary);font-size:11px;font-weight:700}.jb-helpful-btn:hover,.jb-helpful-btn.active{border-color:#21885b;color:#176c45;background:#edf8f2}
.jb-question-form{padding:1rem;border-radius:14px;background:#f7f9f8}.jb-question{padding:1.15rem 0;border-top:1px solid var(--jb-border)}.jb-question-title,.jb-answer{display:flex;gap:.75rem}.jb-question-title>span,.jb-answer>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:9px;background:var(--jb-primary);color:#fff;font-weight:900}.jb-question-title>div{display:flex;flex-direction:column;gap:.2rem}.jb-question-title small{color:var(--jb-text-secondary);font-size:11px}.jb-answer{margin:1rem 0 0 2.6rem;padding:.85rem;border-radius:12px;background:#f7f9f8}.jb-answer.official{background:#edf8f2;border:1px solid #cce9d8}.jb-answer>span{background:#69756e}.jb-answer.official>span{background:#21885b}.jb-answer p{margin:.35rem 0 0;font-size:13px}.jb-answer-byline{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;font-size:12px}.jb-answer-byline em{padding:.15rem .4rem;border-radius:999px;background:#fff;color:#176c45;font-style:normal;font-size:10px;font-weight:800}.jb-answer-form{margin:.75rem 0 0 2.6rem}.jb-answer-form summary{cursor:pointer;color:var(--jb-primary);font-size:12px;font-weight:800;margin-bottom:.6rem}
@media(max-width:767.98px){.jb-purchase-trust{grid-template-columns:1fr}.jb-rating-summary{grid-template-columns:1fr}.jb-question-form .d-flex{flex-direction:column}.jb-answer{margin-left:0}.jb-answer-form{margin-left:0}.jb-review-media img,.jb-review-media video{width:92px;height:92px}}

/* Product comparison */
.js-compare-product.is-selected{background:#173f35!important;color:#fff!important;border-color:#173f35!important}.jb-compare-tray{position:fixed;z-index:1080;left:50%;bottom:18px;transform:translateX(-50%);display:flex;align-items:center;gap:.8rem;width:min(760px,calc(100% - 24px));padding:.75rem 1rem;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(24,43,38,.97);box-shadow:0 15px 45px rgba(0,0,0,.25);color:#fff;backdrop-filter:blur(12px)}.jb-compare-tray>strong{white-space:nowrap}.jb-compare-close{order:4;display:inline-flex;align-items:center;gap:.35rem;flex:0 0 auto;padding:.42rem .65rem;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font-size:11px;font-weight:800}.jb-compare-close:hover,.jb-compare-close:focus-visible{background:#fff;color:#173f35}.jb-compare-chips{display:flex;gap:.4rem;min-width:0;flex:1;overflow-x:auto}.jb-compare-chips span{display:flex;align-items:center;gap:.25rem;max-width:180px;padding:.35rem .45rem .35rem .65rem;border-radius:999px;background:rgba(255,255,255,.12);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jb-compare-chips button{border:0;background:transparent;color:#fff;padding:0;line-height:1}.jb-compare-wrap{overflow-x:auto;border:1px solid var(--jb-border);border-radius:16px;background:#fff}.jb-compare-table{width:100%;min-width:720px;border-collapse:collapse}.jb-compare-table th,.jb-compare-table td{min-width:190px;padding:1rem;border-right:1px solid var(--jb-border);border-bottom:1px solid var(--jb-border);vertical-align:top;font-size:13px}.jb-compare-table th:first-child{min-width:120px;background:#f7f9f8}.jb-compare-table thead th{position:relative}.jb-compare-table thead img{display:block;width:100%;height:150px;object-fit:contain;margin-bottom:.75rem;border-radius:10px;background:#f7f9f8}.jb-compare-table thead a{font-weight:800;color:var(--jb-primary)}.jb-compare-remove{position:absolute;right:.5rem;top:.5rem;width:28px;height:28px;border:0;border-radius:50%;background:#fff;box-shadow:0 2px 9px rgba(0,0,0,.12)}
@media(max-width:575.98px){.jb-compare-tray{bottom:76px;align-items:center;flex-wrap:wrap;padding:.7rem}.jb-compare-tray>strong{width:auto;flex:1}.jb-compare-close{order:1}.jb-compare-chips{order:2;width:100%;flex-basis:100%}.jb-compare-tray>a{order:3;margin-left:auto}}
.jb-return-timeline{display:grid;gap:.55rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--jb-border)}.jb-return-timeline>div{display:flex;gap:.55rem;align-items:flex-start}.jb-return-timeline i{color:#21885b}.jb-return-timeline span{display:flex;flex-direction:column;font-size:12px}.jb-return-timeline small{color:var(--jb-text-secondary)}

/* Product gallery: one focused image with compact, selectable thumbnails. */
.jb-gallery{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-areas:"thumbs main";gap:12px;align-items:start;min-width:0}.jb-gallery-main{grid-area:main;display:grid;place-items:center;width:100%;aspect-ratio:1/1;overflow:hidden;border:1px solid var(--c-border);border-radius:var(--jb-radius-lg);background:#f7f7f5}.jb-gallery-main img{display:block;width:100%;height:100%;object-fit:contain}.jb-gallery-thumbs{grid-area:thumbs;display:flex;flex-direction:column;gap:9px;max-height:520px;overflow-y:auto;overflow-x:hidden;padding:2px;scrollbar-width:thin}.jb-gallery-thumb{display:block;width:72px;height:72px;flex:0 0 72px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:12px;background:#f7f7f5;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.jb-gallery-thumb:hover{transform:translateY(-1px);border-color:#d7b5b8}.jb-gallery-thumb.active{border-color:var(--c-red);box-shadow:0 0 0 3px rgba(181,18,27,.1)}.jb-gallery-thumb:focus-visible{outline:3px solid rgba(181,18,27,.25);outline-offset:2px}.jb-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:991.98px){.jb-gallery{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "thumbs";gap:10px}.jb-gallery-thumbs{flex-direction:row;max-height:none;overflow-x:auto;overflow-y:hidden;padding:2px 2px 6px}.jb-gallery-main{aspect-ratio:1/1}.jb-gallery-thumb{width:66px;height:66px;flex-basis:66px}}
.js-follow-store em{font-style:normal}.js-follow-store em:before{content:"· ";opacity:.65}.js-follow-store.active{background:#176c45!important;border-color:#176c45!important;color:#fff!important}.js-product-alert.active{background:#176c45!important;border-color:#176c45!important;color:#fff!important}.jb-followed-store{display:flex;align-items:center;gap:.65rem;min-width:190px;padding:.75rem;border:1px solid var(--jb-border);border-radius:13px;background:#fff;color:var(--jb-primary);text-decoration:none}.jb-followed-store>i{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf8f2;color:#176c45}.jb-followed-store span{display:flex;flex-direction:column;font-size:12px;font-weight:800}.jb-followed-store small{color:var(--jb-text-secondary);font-weight:500}
.jb-flash-countdown{display:flex;align-items:center;gap:.5rem;padding:.65rem .8rem;border-radius:11px;background:#fff1f1;color:#a61920;font-size:12px}.jb-flash-countdown span{margin-left:auto;font-variant-numeric:tabular-nums;font-weight:900}
.jb-canadian-seller-card{display:flex;gap:1rem;align-items:center;height:100%;padding:1rem;border:1px solid var(--jb-border);border-radius:15px;background:#fff;color:var(--jb-primary);text-decoration:none;transition:.2s ease}.jb-canadian-seller-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(20,48,40,.08)}.jb-canadian-seller-card>span{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;border-radius:16px;background:#fff1f1;color:#b21f27;font-size:1.35rem}.jb-canadian-seller-card>div{display:flex;flex-direction:column}.jb-canadian-seller-card small{color:var(--jb-text-secondary);font-size:11px}.jb-canadian-seller-card em{margin-top:.3rem;color:#176c45;font-size:10px;font-weight:800;font-style:normal}
.jb-rewards-hero{padding:2rem;border-radius:20px;background:linear-gradient(135deg,#173f35,#245e4f);color:#fff}.jb-rewards-hero>span{display:block;font-size:11px;letter-spacing:.13em;font-weight:900;color:#ffc7cb}.jb-rewards-hero>strong{display:block;font-size:3rem;line-height:1.1}.jb-rewards-hero>small{color:rgba(255,255,255,.7)}.jb-rewards-hero .progress{height:7px;max-width:460px;margin:1rem 0 .5rem;background:rgba(255,255,255,.18)}.jb-rewards-hero .progress-bar{background:#efb64a}.jb-rewards-hero p{margin:0;font-size:12px;color:rgba(255,255,255,.8)}
.jb-order-timeline{display:grid;grid-template-columns:repeat(5,1fr);padding:1rem 1rem 1.25rem}.jb-order-timeline>div{position:relative;text-align:center;color:#a6afa9}.jb-order-timeline>div:not(:last-child):before{content:"";position:absolute;left:50%;top:13px;width:100%;height:3px;background:#e5e9e7}.jb-order-timeline span{position:relative;z-index:1;display:grid;place-items:center;width:28px;height:28px;margin:0 auto .35rem;border-radius:50%;background:#e5e9e7;color:#fff}.jb-order-timeline .done{color:#176c45}.jb-order-timeline .done:not(:last-child):before,.jb-order-timeline .done span{background:#21885b}.jb-order-timeline small{font-size:10px;font-weight:700}@media(max-width:575.98px){.jb-order-timeline{overflow-x:auto;min-width:520px}}
