
:root {
    /* --- Brand Colors --- */
    --jj-gold:              #C5A44E;
    --jj-gold-light:        #D4B96A;
    --jj-gold-dark:         #A08535;
    --jj-gold-pale:         #F5EDDA;
    --jj-gold-gradient:     linear-gradient(135deg, #C5A44E 0%, #E8D5A3 50%, #C5A44E 100%);
    --jj-gold-shimmer:      linear-gradient(90deg, #C5A44E 0%, #E8D5A3 25%, #C5A44E 50%, #E8D5A3 75%, #C5A44E 100%);

    --jj-silver:            #A8A9AD;
    --jj-silver-light:      #C8C9CD;
    --jj-silver-dark:       #7D7E82;
    --jj-silver-pale:       #F0F0F2;
    --jj-silver-gradient:   linear-gradient(135deg, #A8A9AD 0%, #D4D5D9 50%, #A8A9AD 100%);

    --jj-black:             #1A1A1A;
    --jj-black-soft:        #2D2D2D;
    --jj-black-muted:       #4A4A4A;

    --jj-white:             #FFFFFF;
    --jj-off-white:         #FAFAF8;
    --jj-cream:             #F8F6F0;

    /* --- Semantic Colors --- */
    --jj-text-primary:      #1A1A1A;
    --jj-text-secondary:    #5A5A5A;
    --jj-text-muted:        #8A8A8A;
    --jj-text-gold:         #A08535;
    --jj-text-on-dark:      #F0EDE5;

    --jj-border:            #E5E2DA;
    --jj-border-light:      #F0EDE5;
    --jj-border-gold:       rgba(197, 164, 78, 0.3);

    --jj-success:           #4A7C59;
    --jj-danger:            #B8444A;
    --jj-warning:           #D4A843;
    --jj-info:              #4A6E8C;

    --jj-bg-primary:        #FFFFFF;
    --jj-bg-section:        #FAFAF8;
    --jj-bg-section-alt:    #F8F6F0;
    --jj-bg-dark:           #1A1A1A;
    --jj-bg-dark-soft:      #2D2D2D;

    /* --- Typography --- */
    --jj-font-display:      'Playfair Display', Georgia, 'Times New Roman', serif;
    --jj-font-body:         'Cormorant Garamond', Garamond, 'Times New Roman', serif;
    --jj-font-ui:           'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --jj-font-mono:         'JetBrains Mono', 'Fira Code', monospace;

    --jj-fs-hero:           clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --jj-fs-h1:             clamp(2rem, 3vw + 0.5rem, 3.25rem);
    --jj-fs-h2:             clamp(1.75rem, 2.5vw + 0.5rem, 2.75rem);
    --jj-fs-h3:             clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
    --jj-fs-h4:             clamp(1.1rem, 1.5vw + 0.25rem, 1.35rem);
    --jj-fs-body:           1rem;
    --jj-fs-sm:             0.875rem;
    --jj-fs-xs:             0.75rem;
    --jj-fs-lg:             1.125rem;

    --jj-lh-tight:         1.2;
    --jj-lh-normal:        1.6;
    --jj-lh-relaxed:       1.8;

    --jj-ls-tight:         -0.02em;
    --jj-ls-normal:        0em;
    --jj-ls-wide:          0.05em;
    --jj-ls-wider:         0.1em;
    --jj-ls-widest:        0.2em;

    /* --- Spacing --- */
    --jj-space-xs:          0.25rem;
    --jj-space-sm:          0.5rem;
    --jj-space-md:          1rem;
    --jj-space-lg:          1.5rem;
    --jj-space-xl:          2rem;
    --jj-space-2xl:         3rem;
    --jj-space-3xl:         4rem;
    --jj-space-4xl:         6rem;
    --jj-space-section:     clamp(3rem, 6vw, 6rem);

    /* --- Border Radius --- */
    --jj-radius-sm:         4px;
    --jj-radius-md:         8px;
    --jj-radius-lg:         12px;
    --jj-radius-xl:         20px;
    --jj-radius-full:       50%;
    --jj-radius-pill:       9999px;

    /* --- Shadows --- */
    --jj-shadow-sm:         0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --jj-shadow-md:         0 4px 12px rgba(0,0,0,0.08);
    --jj-shadow-lg:         0 8px 30px rgba(0,0,0,0.10);
    --jj-shadow-xl:         0 16px 50px rgba(0,0,0,0.14);
    --jj-shadow-gold:       0 4px 20px rgba(197, 164, 78, 0.25);
    --jj-shadow-gold-lg:    0 8px 40px rgba(197, 164, 78, 0.30);
    --jj-shadow-inset:      inset 0 2px 6px rgba(0,0,0,0.06);

    /* --- Transitions --- */
    --jj-ease:              cubic-bezier(0.4, 0, 0.2, 1);
    --jj-ease-bounce:       cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --jj-ease-elastic:      cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --jj-duration-fast:     150ms;
    --jj-duration:          300ms;
    --jj-duration-slow:     500ms;
    --jj-duration-slower:   800ms;

    /* --- Z-Index Scale --- */
    --jj-z-below:           -1;
    --jj-z-normal:          1;
    --jj-z-above:           10;
    --jj-z-sticky:          100;
    --jj-z-nav:             1000;
    --jj-z-dropdown:        1100;
    --jj-z-modal-backdrop:  1200;
    --jj-z-modal:           1300;
    --jj-z-toast:           1400;
    --jj-z-mobile-nav:      1500;

    /* --- Layout --- */
    --jj-container-max:     1320px;
    --jj-container-narrow:  960px;
    --jj-container-wide:    1440px;
    --jj-navbar-height:     72px;
    --jj-mobile-nav-height: 64px;
    --jj-sidebar-width:     280px;
}


/* ============================================================================
   2. RESET & BASE STYLES
   ============================================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--jj-font-body);
    font-size: var(--jj-fs-body);
    line-height: var(--jj-lh-normal);
    color: var(--jj-text-primary);
    background-color: var(--jj-white);
    overflow-x: hidden;
}

/* Mobile: account for bottom nav */
body.has-mobile-nav {
    padding-bottom: var(--jj-mobile-nav-height);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--jj-gold);
    text-decoration: none;
    transition: color var(--jj-duration) var(--jj-ease);
}

a:hover {
    color: var(--jj-gold-dark);
}

::selection {
    background: var(--jj-gold-pale);
    color: var(--jj-black);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--jj-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--jj-silver);
    border-radius: var(--jj-radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--jj-gold);
}


/* ============================================================================
   3. TYPOGRAPHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--jj-font-display);
    font-weight: 600;
    line-height: var(--jj-lh-tight);
    color: var(--jj-text-primary);
    margin-top: 0;
}

h1 { font-size: var(--jj-fs-h1); letter-spacing: var(--jj-ls-tight); }
h2 { font-size: var(--jj-fs-h2); letter-spacing: var(--jj-ls-tight); }
h3 { font-size: var(--jj-fs-h3); }
h4 { font-size: var(--jj-fs-h4); }

p {
    margin-top: 0;
    margin-bottom: var(--jj-space-md);
    color: var(--jj-text-secondary);
    line-height: var(--jj-lh-relaxed);
}

.jj-text-display {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-hero);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: var(--jj-ls-tight);
}

.jj-text-headline {
    font-family: var(--jj-font-display);
    font-weight: 600;
    font-style: italic;
}

.jj-text-ui {
    font-family: var(--jj-font-ui);
    font-weight: 500;
}

.jj-text-gold {
    background: var(--jj-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jj-text-silver {
    background: var(--jj-silver-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jj-text-shimmer {
    background: var(--jj-gold-shimmer);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: jj-shimmer 3s linear infinite;
}

.jj-section-label {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-widest);
    color: var(--jj-gold);
    margin-bottom: var(--jj-space-sm);
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
}

.jj-section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--jj-gold);
}

.jj-section-title {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h2);
    font-weight: 600;
    margin-bottom: var(--jj-space-md);
    color: var(--jj-text-primary);
}

.jj-section-subtitle {
    font-family: var(--jj-font-body);
    font-size: var(--jj-fs-lg);
    color: var(--jj-text-secondary);
    max-width: 600px;
    line-height: var(--jj-lh-relaxed);
}

.jj-divider-diamond {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: var(--jj-space-xl) 0;
}

.jj-divider-diamond::before,
.jj-divider-diamond::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: var(--jj-border-gold);
}

.jj-divider-diamond span {
    color: var(--jj-gold);
    font-size: 10px;
}


/* ============================================================================
   4. LAYOUT & CONTAINERS
   ============================================================================ */

.jj-container {
    width: 100%;
    max-width: var(--jj-container-max);
    margin: 0 auto;
    padding: 0 var(--jj-space-lg);
}

.jj-container-narrow {
    max-width: var(--jj-container-narrow);
}

.jj-container-wide {
    max-width: var(--jj-container-wide);
}

.jj-section {
    padding: var(--jj-space-section) 0;
    position: relative;
    background-color: var(--jj-white);
}

.jj-section-alt {
    background-color: var(--jj-bg-section-alt);
}

.jj-section-dark {
    background-color: var(--jj-bg-dark);
    color: var(--jj-text-on-dark);
}

.jj-section-dark h1,
.jj-section-dark h2,
.jj-section-dark h3,
.jj-section-dark h4 {
    color: var(--jj-white);
}

.jj-section-dark p {
    color: var(--jj-text-on-dark);
}


/* ============================================================================
   5. NAVIGATION
   ============================================================================ */

.jj-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--jj-z-nav);
    height: var(--jj-navbar-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--jj-border-light);
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-navbar.scrolled {
    box-shadow: var(--jj-shadow-md);
    border-bottom-color: transparent;
}

.jj-navbar-inner {
    max-width: var(--jj-container-max);
    margin: 0 auto;
    padding: 0 var(--jj-space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jj-navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
}

.jj-navbar-brand img {
    height: 44px;
    width: auto;
}

.jj-navbar-brand-text {
    font-family: var(--jj-font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--jj-black);
    letter-spacing: var(--jj-ls-wide);
}

.jj-navbar-brand-text span {
    color: var(--jj-gold);
}

.jj-nav-links {
    display: flex;
    align-items: center;
    gap: var(--jj-space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.jj-nav-links a {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 500;
    color: var(--jj-text-secondary);
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    transition: color var(--jj-duration) var(--jj-ease);
    position: relative;
    padding: var(--jj-space-xs) 0;
}

.jj-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--jj-gold);
    transition: width var(--jj-duration) var(--jj-ease);
}

.jj-nav-links a:hover,
.jj-nav-links a.active {
    color: var(--jj-gold);
}

.jj-nav-links a:hover::after,
.jj-nav-links a.active::after {
    width: 100%;
}

.jj-nav-actions {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
}

.jj-nav-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--jj-radius-full);
    color: var(--jj-text-primary);
    transition: all var(--jj-duration) var(--jj-ease);
    cursor: pointer;
    background: none;
    border: none;
}

.jj-nav-icon:hover {
    background: var(--jj-gold-pale);
    color: var(--jj-gold-dark);
}

.jj-nav-icon .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    font-family: var(--jj-font-ui);
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    background: var(--jj-gold);
    color: var(--jj-white);
    border-radius: var(--jj-radius-pill);
    padding: 0 4px;
}

.jj-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
}

.jj-hamburger-lines {
    width: 22px;
    height: 16px;
    position: relative;
}

.jj-hamburger-lines span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--jj-black);
    position: absolute;
    left: 0;
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-hamburger-lines span:nth-child(1) { top: 0; }
.jj-hamburger-lines span:nth-child(2) { top: 7px; }
.jj-hamburger-lines span:nth-child(3) { bottom: 0; }

.jj-hamburger.active .jj-hamburger-lines span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

.jj-hamburger.active .jj-hamburger-lines span:nth-child(2) {
    opacity: 0;
}

.jj-hamburger.active .jj-hamburger-lines span:nth-child(3) {
    bottom: 7px;
    transform: rotate(-45deg);
}


/* ============================================================================
   6. BUTTONS
   ============================================================================ */

.jj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--jj-space-sm);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    padding: 12px 28px;
    border-radius: var(--jj-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.jj-btn-gold {
    background: var(--jj-gold);
    color: var(--jj-white);
    border-color: var(--jj-gold);
}

.jj-btn-gold:hover {
    background: var(--jj-gold-dark);
    border-color: var(--jj-gold-dark);
    color: var(--jj-white);
    box-shadow: var(--jj-shadow-gold);
    transform: translateY(-1px);
}

.jj-btn-gold-outline {
    background: transparent;
    color: var(--jj-gold);
    border-color: var(--jj-gold);
}

.jj-btn-gold-outline:hover {
    background: var(--jj-gold);
    color: var(--jj-white);
    box-shadow: var(--jj-shadow-gold);
}

.jj-btn-dark {
    background: var(--jj-black);
    color: var(--jj-white);
    border-color: var(--jj-black);
}

.jj-btn-dark:hover {
    background: var(--jj-black-soft);
    box-shadow: var(--jj-shadow-lg);
    transform: translateY(-1px);
}

.jj-btn-white {
    background: var(--jj-white);
    color: var(--jj-black);
    border-color: var(--jj-white);
}

.jj-btn-white:hover {
    background: var(--jj-cream);
    box-shadow: var(--jj-shadow-md);
}

.jj-btn-sm {
    font-size: var(--jj-fs-xs);
    padding: 8px 18px;
}

.jj-btn-lg {
    font-size: var(--jj-fs-body);
    padding: 16px 36px;
}

.jj-btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--jj-radius-full);
}


/* ============================================================================
   7. CARDS
   ============================================================================ */

.jj-card {
    background: var(--jj-white);
    border-radius: var(--jj-radius-md);
    overflow: hidden;
    transition: all var(--jj-duration) var(--jj-ease);
    border: 1px solid var(--jj-border-light);
}

.jj-card:hover {
    box-shadow: var(--jj-shadow-lg);
    transform: translateY(-4px);
}

.jj-card-img {
    position: relative;
    overflow: hidden;
    background: var(--jj-cream);
    aspect-ratio: 1 / 1;
}

.jj-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--jj-duration-slow) var(--jj-ease);
}

.jj-card:hover .jj-card-img img {
    transform: scale(1.06);
}

.jj-card-body {
    padding: var(--jj-space-lg);
}

.jj-card-title {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h4);
    font-weight: 600;
    margin-bottom: var(--jj-space-xs);
}

.jj-card-price {
    font-family: var(--jj-font-ui);
    font-weight: 700;
    color: var(--jj-gold-dark);
    font-size: var(--jj-fs-lg);
}

.jj-card-price-old {
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-muted);
    text-decoration: line-through;
    margin-left: var(--jj-space-sm);
    font-weight: 400;
}

.jj-card-badge {
    position: absolute;
    top: var(--jj-space-md);
    left: var(--jj-space-md);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wide);
    padding: 4px 12px;
    border-radius: var(--jj-radius-sm);
    z-index: 2;
}

.jj-badge-fire {
    background: var(--jj-danger);
    color: var(--jj-white);
}

.jj-badge-new {
    background: var(--jj-gold);
    color: var(--jj-white);
}

.jj-badge-live {
    background: #E53935;
    color: var(--jj-white);
    animation: jj-pulse 1.5s ease-in-out infinite;
}

.jj-card-actions {
    position: absolute;
    bottom: var(--jj-space-md);
    right: var(--jj-space-md);
    display: flex;
    flex-direction: column;
    gap: var(--jj-space-sm);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-card:hover .jj-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.jj-card-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jj-white);
    border: none;
    border-radius: var(--jj-radius-full);
    box-shadow: var(--jj-shadow-md);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    color: var(--jj-text-primary);
    font-size: 14px;
}

.jj-card-action-btn:hover {
    background: var(--jj-gold);
    color: var(--jj-white);
}


/* ============================================================================
   8. HERO SECTION
   ============================================================================ */

.jj-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: var(--jj-navbar-height);
    overflow: hidden;
    background: var(--jj-white);
}

.jj-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--jj-duration-slower) var(--jj-ease);
}

.jj-hero-slide.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
}

.jj-hero-content {
    flex: 1;
    padding-right: var(--jj-space-3xl);
}

.jj-hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.jj-hero-pagination {
    position: absolute;
    bottom: var(--jj-space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--jj-space-sm);
    z-index: 10;
}

.jj-hero-dot {
    width: 36px;
    height: 3px;
    background: var(--jj-border);
    border: none;
    border-radius: var(--jj-radius-pill);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    padding: 0;
}

.jj-hero-dot.active {
    background: var(--jj-gold);
    width: 56px;
}


/* ============================================================================
   9. LIVE SELLING SECTION
   ============================================================================ */

.jj-live-video-frame {
    position: relative;
    border-radius: var(--jj-radius-lg);
    overflow: hidden;
    background: var(--jj-black);
    aspect-ratio: 16 / 9;
    box-shadow: var(--jj-shadow-xl);
}

.jj-live-badge {
    position: absolute;
    top: var(--jj-space-md);
    left: var(--jj-space-md);
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
    background: rgba(229, 57, 53, 0.9);
    backdrop-filter: blur(8px);
    color: var(--jj-white);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wide);
    padding: 6px 14px;
    border-radius: var(--jj-radius-pill);
    z-index: 2;
}

.jj-live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--jj-white);
    border-radius: var(--jj-radius-full);
    animation: jj-pulse 1.5s ease-in-out infinite;
}

.jj-live-viewer-count {
    position: absolute;
    top: var(--jj-space-md);
    right: var(--jj-space-md);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: var(--jj-white);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--jj-radius-pill);
    display: flex;
    align-items: center;
    gap: var(--jj-space-xs);
}

.jj-claim-feed {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--jj-space-sm);
}

.jj-claim-item {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
    padding: var(--jj-space-md);
    background: var(--jj-white);
    border: 1px solid var(--jj-border-light);
    border-radius: var(--jj-radius-md);
    animation: jj-slideInRight var(--jj-duration) var(--jj-ease-elastic);
}

.jj-claim-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--jj-radius-full);
    background: var(--jj-gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 700;
    color: var(--jj-white);
    flex-shrink: 0;
}

.jj-claim-info {
    flex: 1;
    min-width: 0;
}

.jj-claim-name {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    color: var(--jj-text-primary);
}

.jj-claim-product {
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ============================================================================
   10. FIRE SALE / COUNTDOWN
   ============================================================================ */

.jj-countdown {
    display: flex;
    gap: var(--jj-space-sm);
    align-items: center;
}

.jj-countdown-unit {
    text-align: center;
    background: var(--jj-black);
    color: var(--jj-white);
    border-radius: var(--jj-radius-sm);
    padding: 6px 10px;
    min-width: 44px;
}

.jj-countdown-value {
    font-family: var(--jj-font-ui);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.jj-countdown-label {
    font-family: var(--jj-font-ui);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wide);
    color: var(--jj-silver);
    margin-top: 2px;
    display: block;
}

.jj-countdown-sep {
    font-family: var(--jj-font-ui);
    font-weight: 700;
    color: var(--jj-gold);
    font-size: 1.25rem;
    line-height: 1;
    animation: jj-blink 1s steps(1) infinite;
}

.jj-fire-progress {
    height: 6px;
    background: var(--jj-border-light);
    border-radius: var(--jj-radius-pill);
    overflow: hidden;
    margin-top: var(--jj-space-sm);
}

.jj-fire-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--jj-danger), #FF8A00);
    border-radius: var(--jj-radius-pill);
    transition: width 1s var(--jj-ease);
}


/* ============================================================================
   11. FAIRS / GALLERY CAROUSEL
   ============================================================================ */

.jj-gallery-track {
    display: flex;
    gap: var(--jj-space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--jj-space-md);
    scrollbar-width: none;
}

.jj-gallery-track::-webkit-scrollbar {
    display: none;
}

.jj-gallery-item {
    flex: 0 0 auto;
    width: 320px;
    scroll-snap-align: start;
    border-radius: var(--jj-radius-lg);
    overflow: hidden;
    position: relative;
}

.jj-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform var(--jj-duration-slow) var(--jj-ease);
}

.jj-gallery-item:hover img {
    transform: scale(1.05);
}

.jj-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--jj-space-lg);
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: var(--jj-white);
}

.jj-gallery-caption h4 {
    color: var(--jj-white);
    font-size: var(--jj-fs-h4);
    margin-bottom: var(--jj-space-xs);
}

.jj-gallery-caption p {
    color: rgba(255,255,255,0.8);
    font-size: var(--jj-fs-sm);
    margin: 0;
}


/* ============================================================================
   12. FEATURES SECTION
   ============================================================================ */

.jj-feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--jj-radius-lg);
    background: var(--jj-gold-pale);
    color: var(--jj-gold);
    font-size: 1.5rem;
    margin-bottom: var(--jj-space-lg);
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-feature-card:hover .jj-feature-icon {
    background: var(--jj-gold);
    color: var(--jj-white);
    box-shadow: var(--jj-shadow-gold);
}

.jj-feature-card {
    padding: var(--jj-space-2xl);
    border-radius: var(--jj-radius-md);
    border: 1px solid var(--jj-border-light);
    transition: all var(--jj-duration) var(--jj-ease);
    height: 100%;
    background: var(--jj-white);
}

.jj-feature-card:hover {
    border-color: var(--jj-border-gold);
    box-shadow: var(--jj-shadow-md);
    transform: translateY(-2px);
}


/* ============================================================================
   13. FORMS & INPUTS
   ============================================================================ */

.jj-input {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-body);
    padding: 10px 16px;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-sm);
    background: var(--jj-white);
    color: var(--jj-text-primary);
    transition: all var(--jj-duration) var(--jj-ease);
    width: 100%;
}

.jj-input:focus {
    outline: none;
    border-color: var(--jj-gold);
    box-shadow: 0 0 0 3px var(--jj-border-gold);
}

.jj-input::placeholder {
    color: var(--jj-text-muted);
}

.jj-input-group {
    position: relative;
}

.jj-input-group .jj-input {
    padding-right: 48px;
}

.jj-input-group button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jj-gold);
    color: var(--jj-white);
    border: none;
    border-radius: var(--jj-radius-sm);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-input-group button:hover {
    background: var(--jj-gold-dark);
}


/* ============================================================================
   14. FOOTER
   ============================================================================ */

.jj-footer {
    background: var(--jj-bg-dark);
    color: var(--jj-text-on-dark);
    padding: var(--jj-space-4xl) 0 var(--jj-space-2xl);
}

.jj-footer h4 {
    color: var(--jj-white);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    margin-bottom: var(--jj-space-lg);
}

.jj-footer a {
    color: var(--jj-silver-light);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    transition: color var(--jj-duration) var(--jj-ease);
}

.jj-footer a:hover {
    color: var(--jj-gold-light);
}

.jj-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jj-footer-links li {
    margin-bottom: var(--jj-space-sm);
}

.jj-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--jj-space-xl);
    margin-top: var(--jj-space-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--jj-space-md);
}

.jj-footer-bottom p {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-silver-dark);
    margin: 0;
}

.jj-footer-socials {
    display: flex;
    gap: var(--jj-space-md);
}

.jj-footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--jj-radius-full);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--jj-silver);
    font-size: 14px;
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-footer-socials a:hover {
    background: var(--jj-gold);
    border-color: var(--jj-gold);
    color: var(--jj-white);
}


/* ============================================================================
   15. MOBILE BOTTOM NAVIGATION (Lazada/Shopee Style)
   ============================================================================ */

.jj-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--jj-z-mobile-nav);
    background: var(--jj-white);
    border-top: 1px solid var(--jj-border-light);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
    display: none; /* shown via media query */
    height: var(--jj-mobile-nav-height);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.jj-mobile-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: var(--jj-mobile-nav-height);
    max-width: 500px;
    margin: 0 auto;
}

.jj-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    padding: 6px 0;
    text-decoration: none;
    color: var(--jj-text-muted);
    transition: color var(--jj-duration-fast) var(--jj-ease);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.jj-mobile-nav-item.active {
    color: var(--jj-gold);
}

.jj-mobile-nav-item:hover {
    color: var(--jj-gold);
}

.jj-mobile-nav-icon {
    font-size: 20px;
    line-height: 1;
    position: relative;
}

.jj-mobile-nav-icon .badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    font-family: var(--jj-font-ui);
    font-size: 9px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    background: var(--jj-danger);
    color: var(--jj-white);
    border-radius: var(--jj-radius-pill);
    padding: 0 4px;
}

.jj-mobile-nav-label {
    font-family: var(--jj-font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* Center "Live" button with special styling */
.jj-mobile-nav-item--live {
    position: relative;
}

.jj-mobile-nav-item--live .jj-mobile-nav-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E53935, #FF8A00);
    border-radius: var(--jj-radius-full);
    color: var(--jj-white);
    font-size: 18px;
    margin-top: -14px;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
}

.jj-mobile-nav-item--live .jj-mobile-nav-label {
    color: #E53935;
    font-weight: 700;
}


/* ============================================================================
   16. MODAL & OVERLAY
   ============================================================================ */

.jj-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: var(--jj-z-modal-backdrop);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--jj-duration) var(--jj-ease);
}

.jj-modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.jj-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: var(--jj-z-modal);
    background: var(--jj-white);
    border-radius: var(--jj-radius-lg);
    box-shadow: var(--jj-shadow-xl);
    max-width: 560px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: all var(--jj-duration) var(--jj-ease-elastic);
}

.jj-modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.jj-modal-header {
    padding: var(--jj-space-xl);
    border-bottom: 1px solid var(--jj-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jj-modal-body {
    padding: var(--jj-space-xl);
}

.jj-modal-footer {
    padding: var(--jj-space-lg) var(--jj-space-xl);
    border-top: 1px solid var(--jj-border-light);
    display: flex;
    justify-content: flex-end;
    gap: var(--jj-space-md);
}


/* ============================================================================
   17. TOAST / NOTIFICATIONS
   ============================================================================ */

.jj-toast-container {
    position: fixed;
    top: calc(var(--jj-navbar-height) + var(--jj-space-md));
    right: var(--jj-space-lg);
    z-index: var(--jj-z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--jj-space-sm);
}

.jj-toast {
    background: var(--jj-white);
    border-radius: var(--jj-radius-md);
    box-shadow: var(--jj-shadow-lg);
    padding: var(--jj-space-md) var(--jj-space-lg);
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    min-width: 300px;
    max-width: 440px;
    border-left: 4px solid var(--jj-gold);
    animation: jj-slideInRight var(--jj-duration) var(--jj-ease-elastic);
}

.jj-toast-success { border-left-color: var(--jj-success); }
.jj-toast-error   { border-left-color: var(--jj-danger); }
.jj-toast-warning { border-left-color: var(--jj-warning); }


/* ============================================================================
   18. BADGES & TAGS
   ============================================================================ */

.jj-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--jj-radius-pill);
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wide);
    line-height: 1.4;
}

.jj-badge-gold   { background: var(--jj-gold-pale); color: var(--jj-gold-dark); }
.jj-badge-dark   { background: var(--jj-black); color: var(--jj-white); }
.jj-badge-success{ background: #E8F5E9; color: var(--jj-success); }
.jj-badge-danger { background: #FDEDED; color: var(--jj-danger); }


/* ============================================================================
   19. ANIMATIONS & KEYFRAMES
   ============================================================================ */

@keyframes jj-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes jj-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

@keyframes jj-blink {
    50% { opacity: 0; }
}

@keyframes jj-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes jj-fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes jj-slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes jj-slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes jj-scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes jj-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@keyframes jj-sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50%      { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes jj-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes jj-countdown-flip {
    0%   { transform: perspective(200px) rotateX(0); }
    50%  { transform: perspective(200px) rotateX(-90deg); }
    100% { transform: perspective(200px) rotateX(0); }
}

/* Scroll reveal utility classes */
.jj-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--jj-duration-slow) var(--jj-ease),
                transform var(--jj-duration-slow) var(--jj-ease);
}

.jj-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.jj-reveal-delay-1 { transition-delay: 100ms; }
.jj-reveal-delay-2 { transition-delay: 200ms; }
.jj-reveal-delay-3 { transition-delay: 300ms; }
.jj-reveal-delay-4 { transition-delay: 400ms; }


/* ============================================================================
   20. D3.JS INTEGRATION HELPERS
   ============================================================================ */

.jj-d3-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.jj-d3-container svg {
    display: block;
    width: 100%;
    height: auto;
}

/* D3 tooltip */
.jj-d3-tooltip {
    position: absolute;
    background: var(--jj-white);
    border: 1px solid var(--jj-border);
    border-radius: var(--jj-radius-md);
    padding: var(--jj-space-sm) var(--jj-space-md);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    box-shadow: var(--jj-shadow-lg);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--jj-duration-fast) var(--jj-ease);
    z-index: 100;
}

.jj-d3-tooltip.visible {
    opacity: 1;
}


/* ============================================================================
   21. UTILITY CLASSES
   ============================================================================ */

.jj-text-center  { text-align: center; }
.jj-text-right   { text-align: right; }
.jj-mx-auto      { margin-left: auto; margin-right: auto; }
.jj-mt-0         { margin-top: 0; }
.jj-mb-0         { margin-bottom: 0; }
.jj-mb-sm        { margin-bottom: var(--jj-space-sm); }
.jj-mb-md        { margin-bottom: var(--jj-space-md); }
.jj-mb-lg        { margin-bottom: var(--jj-space-lg); }
.jj-mb-xl        { margin-bottom: var(--jj-space-xl); }
.jj-mb-2xl       { margin-bottom: var(--jj-space-2xl); }
.jj-pt-section   { padding-top: var(--jj-space-section); }
.jj-pb-section   { padding-bottom: var(--jj-space-section); }

.jj-hide-desktop  { display: none !important; }
.jj-opacity-0     { opacity: 0; }
.jj-overflow-hidden { overflow: hidden; }
.jj-relative       { position: relative; }

.jj-gold-line {
    width: 48px;
    height: 2px;
    background: var(--jj-gold);
    border-radius: var(--jj-radius-pill);
}


/* ============================================================================
   22. RESPONSIVE BREAKPOINTS
   ============================================================================ */

/* Tablet and below: 991px */
@media (max-width: 991.98px) {
    .jj-nav-links {
        display: none; /* use hamburger menu */
    }

    .jj-hamburger {
        display: flex;
    }

    .jj-hero {
        min-height: auto;
        padding-top: calc(var(--jj-navbar-height) + var(--jj-space-2xl));
        padding-bottom: var(--jj-space-3xl);
    }

    .jj-hero-slide {
        flex-direction: column;
        text-align: center;
    }

    .jj-hero-content {
        padding-right: 0;
        padding-bottom: var(--jj-space-xl);
    }

    .jj-hero-visual {
        min-height: 280px;
    }

    .jj-section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile: 767px */
@media (max-width: 767.98px) {
    :root {
        --jj-navbar-height: 60px;
        --jj-space-section: clamp(2rem, 4vw, 3rem);
    }

    .jj-mobile-nav {
        display: block;
    }

    .jj-hide-desktop {
        display: flex !important;
    }

    .jj-hide-mobile {
        display: none !important;
    }

    body.has-mobile-nav {
        padding-bottom: calc(var(--jj-mobile-nav-height) + env(safe-area-inset-bottom, 0px));
    }

    .jj-navbar-brand img {
        height: 36px;
    }

    .jj-container {
        padding: 0 var(--jj-space-md);
    }

    .jj-card-body {
        padding: var(--jj-space-md);
    }

    .jj-feature-card {
        padding: var(--jj-space-lg);
    }

    .jj-countdown-unit {
        min-width: 38px;
        padding: 4px 8px;
    }

    .jj-countdown-value {
        font-size: 1rem;
    }

    .jj-gallery-item {
        width: 260px;
    }

    .jj-toast-container {
        left: var(--jj-space-md);
        right: var(--jj-space-md);
    }

    .jj-toast {
        min-width: auto;
        max-width: 100%;
    }

    .jj-footer {
        padding-bottom: calc(var(--jj-space-2xl) + var(--jj-mobile-nav-height));
    }
}

/* Small mobile: 375px */
@media (max-width: 374.98px) {
    .jj-btn {
        padding: 10px 20px;
        font-size: 11px;
    }

    .jj-btn-lg {
        padding: 12px 24px;
        font-size: var(--jj-fs-sm);
    }
}


/* ============================================================================
   23. BOOTSTRAP 5 OVERRIDES
   ============================================================================ */

.btn-primary {
    background-color: var(--jj-gold);
    border-color: var(--jj-gold);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--jj-gold-dark);
    border-color: var(--jj-gold-dark);
}

.btn-outline-primary {
    color: var(--jj-gold);
    border-color: var(--jj-gold);
}

.btn-outline-primary:hover {
    background-color: var(--jj-gold);
    border-color: var(--jj-gold);
    color: var(--jj-white);
}

.form-control:focus {
    border-color: var(--jj-gold);
    box-shadow: 0 0 0 0.2rem var(--jj-border-gold);
}

.page-link {
    color: var(--jj-gold);
}

.page-item.active .page-link {
    background-color: var(--jj-gold);
    border-color: var(--jj-gold);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--jj-gold);
}

.nav-pills .nav-link.active {
    background-color: var(--jj-gold);
}

.progress-bar {
    background-color: var(--jj-gold);
}

