/* ============================================================================
   JHAENA JEWELS — Addon Stylesheet (addon.css)
   ============================================================================
   Version:    1.0
   Date:       April 2, 2026
   Extends:    jhaenajewels.css
   Pages:      Product Listing, Product Detail, Cart, Checkout, Dashboard, Invoice
   ============================================================================ */


/* ============================================================================
   A1. BREADCRUMB
   ============================================================================ */

.jj-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    padding: var(--jj-space-lg) 0;
    flex-wrap: wrap;
}

.jj-breadcrumb a {
    color: var(--jj-text-muted);
    transition: color var(--jj-duration) var(--jj-ease);
}

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

.jj-breadcrumb .jj-breadcrumb-sep {
    color: var(--jj-border);
    font-size: 10px;
}

.jj-breadcrumb .jj-breadcrumb-current {
    color: var(--jj-text-primary);
    font-weight: 600;
}


/* ============================================================================
   A2. PRODUCT LISTING PAGE
   ============================================================================ */

.jj-shop-header {
    text-align: center;
    padding: var(--jj-space-3xl) 0 var(--jj-space-2xl);
    background: linear-gradient(180deg, var(--jj-cream) 0%, var(--jj-white) 100%);
}

.jj-shop-header h1 {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h1);
    margin-bottom: var(--jj-space-sm);
}

.jj-shop-header p {
    font-family: var(--jj-font-body);
    font-size: var(--jj-fs-lg);
    color: var(--jj-text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

/* Filter Bar */
.jj-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--jj-space-md);
    padding: var(--jj-space-lg) 0;
    border-bottom: 1px solid var(--jj-border-light);
    margin-bottom: var(--jj-space-xl);
}

.jj-filter-bar-left {
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
    flex-wrap: wrap;
}

.jj-filter-pill {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 500;
    padding: 7px 16px;
    border-radius: var(--jj-radius-pill);
    border: 1.5px solid var(--jj-border);
    background: var(--jj-white);
    color: var(--jj-text-secondary);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    white-space: nowrap;
}

.jj-filter-pill:hover,
.jj-filter-pill.active {
    border-color: var(--jj-gold);
    color: var(--jj-gold-dark);
    background: var(--jj-gold-pale);
}

.jj-filter-pill i {
    margin-right: 4px;
}

.jj-sort-select {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    padding: 8px 14px;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-sm);
    background: var(--jj-white);
    color: var(--jj-text-primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238A8A8A' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    min-width: 160px;
}

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

.jj-filter-bar-right {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
}

.jj-results-count {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-muted);
}

.jj-view-toggle {
    display: flex;
    gap: 4px;
}

.jj-view-toggle button {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-sm);
    background: var(--jj-white);
    color: var(--jj-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-view-toggle button.active,
.jj-view-toggle button:hover {
    border-color: var(--jj-gold);
    color: var(--jj-gold);
    background: var(--jj-gold-pale);
}

/* Product Grid */
.jj-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--jj-space-lg);
}

@media (max-width: 1199.98px) {
    .jj-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .jj-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--jj-space-md);
    }
}

@media (max-width: 479.98px) {
    .jj-product-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card Enhanced */
.jj-product-card {
    background: var(--jj-white);
    border-radius: var(--jj-radius-md);
    overflow: hidden;
    border: 1px solid var(--jj-border-light);
    transition: all var(--jj-duration) var(--jj-ease);
    position: relative;
}

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

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

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

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

.jj-product-card-wishlist {
    position: absolute;
    top: var(--jj-space-md);
    right: var(--jj-space-md);
    width: 36px;
    height: 36px;
    border-radius: var(--jj-radius-full);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jj-text-muted);
    transition: all var(--jj-duration) var(--jj-ease);
    z-index: 2;
    opacity: 0;
    transform: scale(0.9);
}

.jj-product-card:hover .jj-product-card-wishlist {
    opacity: 1;
    transform: scale(1);
}

.jj-product-card-wishlist:hover {
    color: var(--jj-danger);
    background: var(--jj-white);
    box-shadow: var(--jj-shadow-md);
}

.jj-product-card-wishlist.active {
    color: var(--jj-danger);
    opacity: 1;
    transform: scale(1);
}

.jj-product-card-quick {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26,26,26,0.85);
    backdrop-filter: blur(4px);
    text-align: center;
    padding: var(--jj-space-md);
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-product-card:hover .jj-product-card-quick {
    opacity: 1;
    transform: translateY(0);
}

.jj-product-card-quick a {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.jj-product-card-quick a:hover {
    color: var(--jj-gold-light);
}

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

.jj-product-card-origin {
    font-family: var(--jj-font-ui);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-widest);
    color: var(--jj-text-muted);
    margin-bottom: 4px;
}

.jj-product-card-title {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-body);
    font-weight: 600;
    color: var(--jj-text-primary);
    margin-bottom: var(--jj-space-xs);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jj-product-card-title a {
    color: inherit;
}

.jj-product-card-title a:hover {
    color: var(--jj-gold);
}

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

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

.jj-product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

.jj-product-card-rating .jj-stars {
    color: var(--jj-gold);
    font-size: 12px;
    display: flex;
    gap: 1px;
}

.jj-product-card-rating .jj-rating-count {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

/* Sidebar Filter Panel */
.jj-sidebar-filter {
    position: sticky;
    top: calc(var(--jj-navbar-height) + var(--jj-space-lg));
}

.jj-filter-group {
    margin-bottom: var(--jj-space-xl);
}

.jj-filter-group-title {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-text-primary);
    margin-bottom: var(--jj-space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jj-filter-group-title button {
    background: none;
    border: none;
    color: var(--jj-text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: transform var(--jj-duration) var(--jj-ease);
}

.jj-filter-option {
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
    padding: 6px 0;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-secondary);
    cursor: pointer;
    transition: color var(--jj-duration) var(--jj-ease);
}

.jj-filter-option:hover {
    color: var(--jj-gold);
}

.jj-filter-option input[type="checkbox"] {
    accent-color: var(--jj-gold);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.jj-filter-option .jj-count {
    margin-left: auto;
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

/* Price Slider */
.jj-price-range {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
    margin-top: var(--jj-space-sm);
}

.jj-price-range input[type="number"] {
    width: 100%;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    padding: 6px 10px;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-sm);
    text-align: center;
}

.jj-price-range input:focus {
    outline: none;
    border-color: var(--jj-gold);
}

.jj-price-range-sep {
    color: var(--jj-text-muted);
    font-size: var(--jj-fs-sm);
}

/* Color Swatches */
.jj-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jj-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: var(--jj-radius-full);
    border: 2px solid var(--jj-border);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    position: relative;
}

.jj-color-swatch:hover,
.jj-color-swatch.active {
    border-color: var(--jj-gold);
    transform: scale(1.15);
    box-shadow: var(--jj-shadow-gold);
}

/* Pagination */
.jj-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: var(--jj-space-2xl) 0;
}

.jj-pagination button,
.jj-pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 500;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-sm);
    background: var(--jj-white);
    color: var(--jj-text-secondary);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-pagination button:hover,
.jj-pagination a:hover {
    border-color: var(--jj-gold);
    color: var(--jj-gold);
}

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

.jj-pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}


/* ============================================================================
   A3. PRODUCT DETAIL PAGE
   ============================================================================ */

.jj-pdp-gallery {
    position: sticky;
    top: calc(var(--jj-navbar-height) + var(--jj-space-lg));
}

.jj-pdp-main-image {
    position: relative;
    border-radius: var(--jj-radius-lg);
    overflow: hidden;
    background: var(--jj-cream);
    aspect-ratio: 1 / 1;
    margin-bottom: var(--jj-space-md);
    cursor: zoom-in;
}

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

.jj-pdp-main-image:hover img {
    transform: scale(1.05);
}

.jj-pdp-main-image .jj-pdp-zoom-hint {
    position: absolute;
    bottom: var(--jj-space-md);
    right: var(--jj-space-md);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border-radius: var(--jj-radius-pill);
    padding: 6px 14px;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity var(--jj-duration) var(--jj-ease);
}

.jj-pdp-main-image:hover .jj-pdp-zoom-hint {
    opacity: 1;
}

.jj-pdp-thumbnails {
    display: flex;
    gap: var(--jj-space-sm);
}

.jj-pdp-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--jj-radius-sm);
    overflow: hidden;
    border: 2px solid var(--jj-border-light);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    flex-shrink: 0;
    position: relative;
}

.jj-pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jj-pdp-thumb.active,
.jj-pdp-thumb:hover {
    border-color: var(--jj-gold);
    box-shadow: var(--jj-shadow-gold);
}

.jj-pdp-thumb-video {
    position: relative;
}

.jj-pdp-thumb-video::after {
    content: '\25B6';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    color: var(--jj-white);
    font-size: 16px;
}

/* Product Info */
.jj-pdp-info {
    padding-left: var(--jj-space-xl);
}

@media (max-width: 991.98px) {
    .jj-pdp-info {
        padding-left: 0;
        margin-top: var(--jj-space-xl);
    }
}

.jj-pdp-origin {
    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-xs);
}

.jj-pdp-title {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h2);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--jj-space-sm);
}

.jj-pdp-sku {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    margin-bottom: var(--jj-space-lg);
}

.jj-pdp-rating {
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
    margin-bottom: var(--jj-space-lg);
}

.jj-pdp-rating .jj-stars {
    color: var(--jj-gold);
    font-size: 16px;
    display: flex;
    gap: 2px;
}

.jj-pdp-rating .jj-rating-text {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-muted);
}

.jj-pdp-price-block {
    display: flex;
    align-items: baseline;
    gap: var(--jj-space-md);
    margin-bottom: var(--jj-space-lg);
    padding-bottom: var(--jj-space-lg);
    border-bottom: 1px solid var(--jj-border-light);
}

.jj-pdp-price {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h2);
    font-weight: 700;
    color: var(--jj-gold-dark);
}

.jj-pdp-price-old {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-lg);
    color: var(--jj-text-muted);
    text-decoration: line-through;
}

.jj-pdp-discount-badge {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 700;
    background: #FDEDED;
    color: var(--jj-danger);
    padding: 4px 10px;
    border-radius: var(--jj-radius-pill);
}

.jj-pdp-description {
    font-family: var(--jj-font-body);
    font-size: var(--jj-fs-lg);
    color: var(--jj-text-secondary);
    line-height: var(--jj-lh-relaxed);
    margin-bottom: var(--jj-space-xl);
}

/* Options */
.jj-pdp-option-group {
    margin-bottom: var(--jj-space-lg);
}

.jj-pdp-option-label {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    color: var(--jj-text-primary);
    margin-bottom: var(--jj-space-sm);
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
}

.jj-pdp-option-label .jj-selected-value {
    font-weight: 400;
    color: var(--jj-text-muted);
}

.jj-pdp-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jj-pdp-size-btn {
    min-width: 48px;
    height: 40px;
    padding: 0 14px;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 500;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-sm);
    background: var(--jj-white);
    color: var(--jj-text-primary);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-pdp-size-btn:hover {
    border-color: var(--jj-gold);
    color: var(--jj-gold);
}

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

.jj-pdp-size-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
    text-decoration: line-through;
}

/* Quantity Selector */
.jj-qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-sm);
    overflow: hidden;
}

.jj-qty-selector button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jj-white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--jj-text-primary);
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-qty-selector button:hover {
    background: var(--jj-gold-pale);
    color: var(--jj-gold);
}

.jj-qty-selector input {
    width: 52px;
    height: 40px;
    text-align: center;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-body);
    font-weight: 600;
    border: none;
    border-left: 1px solid var(--jj-border);
    border-right: 1px solid var(--jj-border);
    outline: none;
}

/* Add to Cart Area */
.jj-pdp-actions {
    display: flex;
    gap: var(--jj-space-md);
    align-items: center;
    margin-top: var(--jj-space-xl);
    padding-top: var(--jj-space-xl);
    border-top: 1px solid var(--jj-border-light);
}

.jj-pdp-actions .jj-btn {
    flex: 1;
}

.jj-pdp-actions .jj-btn-wishlist {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-sm);
    background: var(--jj-white);
    color: var(--jj-text-muted);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-pdp-actions .jj-btn-wishlist:hover {
    border-color: var(--jj-danger);
    color: var(--jj-danger);
}

/* Trust Signals */
.jj-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--jj-space-md);
    margin-top: var(--jj-space-xl);
    padding: var(--jj-space-lg);
    background: var(--jj-cream);
    border-radius: var(--jj-radius-md);
}

.jj-trust-item {
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-secondary);
}

.jj-trust-item i {
    font-size: 18px;
    color: var(--jj-gold);
}

@media (max-width: 767.98px) {
    .jj-trust-bar {
        grid-template-columns: 1fr;
    }
}

/* Affiliate Link Banner */
.jj-affiliate-banner {
    margin-top: var(--jj-space-xl);
    padding: var(--jj-space-lg);
    border: 1.5px dashed var(--jj-border-gold);
    border-radius: var(--jj-radius-md);
    background: linear-gradient(135deg, rgba(197,164,78,0.04), rgba(197,164,78,0.08));
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
}

.jj-affiliate-banner i {
    font-size: 24px;
    color: var(--jj-gold);
}

.jj-affiliate-banner-text {
    flex: 1;
}

.jj-affiliate-banner-text strong {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-primary);
    display: block;
}

.jj-affiliate-banner-text span {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

.jj-affiliate-copy-btn {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    padding: 6px 14px;
    border: 1.5px solid var(--jj-gold);
    border-radius: var(--jj-radius-sm);
    background: var(--jj-white);
    color: var(--jj-gold);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    white-space: nowrap;
}

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

/* Product Detail Tabs */
.jj-pdp-tabs {
    margin-top: var(--jj-space-3xl);
    border-top: 1px solid var(--jj-border-light);
    padding-top: var(--jj-space-2xl);
}

.jj-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--jj-border-light);
    margin-bottom: var(--jj-space-xl);
    overflow-x: auto;
}

.jj-tab-nav button {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: var(--jj-space-md) var(--jj-space-xl);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    white-space: nowrap;
}

.jj-tab-nav button:hover {
    color: var(--jj-gold);
}

.jj-tab-nav button.active {
    color: var(--jj-gold);
    border-bottom-color: var(--jj-gold);
}

.jj-tab-panel {
    display: none;
    animation: jj-fadeInUp 0.3s var(--jj-ease);
}

.jj-tab-panel.active {
    display: block;
}

/* Video Embed */
.jj-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--jj-radius-lg);
    margin-top: var(--jj-space-lg);
    background: var(--jj-black);
}

.jj-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Reviews */
.jj-reviews-summary {
    display: flex;
    gap: var(--jj-space-2xl);
    padding: var(--jj-space-xl);
    background: var(--jj-cream);
    border-radius: var(--jj-radius-md);
    margin-bottom: var(--jj-space-xl);
    align-items: center;
}

.jj-reviews-score {
    text-align: center;
    min-width: 120px;
}

.jj-reviews-score-value {
    font-family: var(--jj-font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--jj-gold-dark);
    line-height: 1;
}

.jj-reviews-score .jj-stars {
    color: var(--jj-gold);
    font-size: 16px;
    margin: 6px 0;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.jj-reviews-score-count {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

.jj-reviews-bars {
    flex: 1;
}

.jj-reviews-bar-row {
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
    margin-bottom: 6px;
}

.jj-reviews-bar-label {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    min-width: 14px;
    text-align: right;
}

.jj-reviews-bar-track {
    flex: 1;
    height: 6px;
    background: var(--jj-border-light);
    border-radius: var(--jj-radius-pill);
    overflow: hidden;
}

.jj-reviews-bar-fill {
    height: 100%;
    background: var(--jj-gold);
    border-radius: var(--jj-radius-pill);
    transition: width 0.6s var(--jj-ease);
}

.jj-reviews-bar-count {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    min-width: 24px;
}

/* Individual Review */
.jj-review-item {
    padding: var(--jj-space-xl) 0;
    border-bottom: 1px solid var(--jj-border-light);
}

.jj-review-header {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
    margin-bottom: var(--jj-space-md);
}

.jj-review-avatar {
    width: 40px;
    height: 40px;
    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-sm);
    font-weight: 700;
    color: var(--jj-white);
    flex-shrink: 0;
}

.jj-review-meta {
    flex: 1;
}

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

.jj-review-date {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

.jj-review-verified {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-success);
    display: flex;
    align-items: center;
    gap: 4px;
}

.jj-review-body {
    font-family: var(--jj-font-body);
    font-size: var(--jj-fs-body);
    color: var(--jj-text-secondary);
    line-height: var(--jj-lh-relaxed);
}

.jj-review-images {
    display: flex;
    gap: var(--jj-space-sm);
    margin-top: var(--jj-space-md);
}

.jj-review-images img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--jj-radius-sm);
    border: 1px solid var(--jj-border-light);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-review-images img:hover {
    border-color: var(--jj-gold);
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .jj-reviews-summary {
        flex-direction: column;
        text-align: center;
    }
    .jj-pdp-thumbnails {
        overflow-x: auto;
    }
}


/* ============================================================================
   A4. CART PAGE
   ============================================================================ */

.jj-cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.jj-cart-table thead th {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-text-muted);
    padding: var(--jj-space-md) var(--jj-space-lg);
    border-bottom: 2px solid var(--jj-border);
    text-align: left;
}

.jj-cart-table tbody td {
    padding: var(--jj-space-lg);
    border-bottom: 1px solid var(--jj-border-light);
    vertical-align: middle;
}

.jj-cart-item-info {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
}

.jj-cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--jj-radius-sm);
    overflow: hidden;
    background: var(--jj-cream);
    flex-shrink: 0;
}

.jj-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jj-cart-item-name {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-body);
    font-weight: 600;
    color: var(--jj-text-primary);
    margin-bottom: 2px;
}

.jj-cart-item-name a {
    color: inherit;
}

.jj-cart-item-name a:hover {
    color: var(--jj-gold);
}

.jj-cart-item-variant {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

.jj-cart-item-price {
    font-family: var(--jj-font-ui);
    font-weight: 700;
    color: var(--jj-gold-dark);
    font-size: var(--jj-fs-body);
    white-space: nowrap;
}

.jj-cart-item-total {
    font-family: var(--jj-font-ui);
    font-weight: 700;
    color: var(--jj-text-primary);
    font-size: var(--jj-fs-body);
    white-space: nowrap;
}

.jj-cart-item-remove {
    background: none;
    border: none;
    color: var(--jj-text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--jj-radius-full);
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-cart-item-remove:hover {
    color: var(--jj-danger);
    background: rgba(184,68,74,0.08);
}

/* Cart Summary Sidebar */
.jj-cart-summary {
    position: sticky;
    top: calc(var(--jj-navbar-height) + var(--jj-space-lg));
    background: var(--jj-white);
    border: 1px solid var(--jj-border-light);
    border-radius: var(--jj-radius-md);
    overflow: hidden;
}

.jj-cart-summary-header {
    padding: var(--jj-space-lg);
    border-bottom: 1px solid var(--jj-border-light);
}

.jj-cart-summary-header h3 {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h4);
    margin: 0;
}

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

.jj-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-secondary);
}

.jj-cart-summary-row.total {
    font-size: var(--jj-fs-lg);
    font-weight: 700;
    color: var(--jj-text-primary);
    padding-top: var(--jj-space-md);
    margin-top: var(--jj-space-sm);
    border-top: 2px solid var(--jj-border);
}

.jj-cart-summary-row .jj-summary-value {
    font-weight: 600;
    color: var(--jj-text-primary);
}

.jj-cart-summary-row.total .jj-summary-value {
    color: var(--jj-gold-dark);
    font-size: var(--jj-fs-h3);
    font-family: var(--jj-font-display);
}

/* Promo Code */
.jj-promo-input {
    display: flex;
    gap: 8px;
    margin-top: var(--jj-space-md);
}

.jj-promo-input input {
    flex: 1;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    padding: 10px 14px;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-sm);
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wide);
}

.jj-promo-input input:focus {
    outline: none;
    border-color: var(--jj-gold);
}

.jj-cart-summary-footer {
    padding: 0 var(--jj-space-lg) var(--jj-space-lg);
}

.jj-cart-empty {
    text-align: center;
    padding: var(--jj-space-4xl) var(--jj-space-xl);
}

.jj-cart-empty i {
    font-size: 4rem;
    color: var(--jj-border);
    margin-bottom: var(--jj-space-lg);
}

.jj-cart-empty h3 {
    font-family: var(--jj-font-display);
    margin-bottom: var(--jj-space-sm);
}

.jj-cart-empty p {
    color: var(--jj-text-muted);
    margin-bottom: var(--jj-space-xl);
}

/* Mobile Cart Card */
.jj-cart-mobile-item {
    display: none;
    background: var(--jj-white);
    border: 1px solid var(--jj-border-light);
    border-radius: var(--jj-radius-md);
    padding: var(--jj-space-lg);
    margin-bottom: var(--jj-space-md);
}

@media (max-width: 767.98px) {
    .jj-cart-table {
        display: none;
    }
    .jj-cart-mobile-item {
        display: flex;
        gap: var(--jj-space-md);
    }
    .jj-cart-mobile-item .jj-cart-item-img {
        width: 90px;
        height: 90px;
    }
}


/* ============================================================================
   A5. CHECKOUT PAGE — MULTI-STEP
   ============================================================================ */

.jj-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--jj-space-2xl);
    align-items: start;
}

@media (max-width: 991.98px) {
    .jj-checkout-layout {
        grid-template-columns: 1fr;
    }
}

/* Step Indicator */
.jj-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--jj-space-2xl);
    padding: var(--jj-space-xl) 0;
}

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

.jj-step-number {
    width: 36px;
    height: 36px;
    border-radius: var(--jj-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 700;
    border: 2px solid var(--jj-border);
    color: var(--jj-text-muted);
    background: var(--jj-white);
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-step.active .jj-step-number {
    border-color: var(--jj-gold);
    background: var(--jj-gold);
    color: var(--jj-white);
}

.jj-step.completed .jj-step-number {
    border-color: var(--jj-success);
    background: var(--jj-success);
    color: var(--jj-white);
}

.jj-step-label {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 500;
    color: var(--jj-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    transition: color var(--jj-duration) var(--jj-ease);
}

.jj-step.active .jj-step-label {
    color: var(--jj-gold-dark);
    font-weight: 600;
}

.jj-step.completed .jj-step-label {
    color: var(--jj-success);
}

.jj-step-connector {
    width: 40px;
    height: 2px;
    background: var(--jj-border);
    margin: 0 8px;
    transition: background var(--jj-duration) var(--jj-ease);
}

.jj-step-connector.active {
    background: var(--jj-gold);
}

.jj-step-connector.completed {
    background: var(--jj-success);
}

@media (max-width: 767.98px) {
    .jj-step-label {
        display: none;
    }
    .jj-step-connector {
        width: 24px;
    }
}

/* Checkout Form Sections */
.jj-checkout-section {
    background: var(--jj-white);
    border: 1px solid var(--jj-border-light);
    border-radius: var(--jj-radius-md);
    padding: var(--jj-space-xl);
    margin-bottom: var(--jj-space-lg);
}

.jj-checkout-section-title {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h4);
    font-weight: 600;
    margin-bottom: var(--jj-space-lg);
    display: flex;
    align-items: center;
    gap: var(--jj-space-sm);
}

.jj-checkout-section-title i {
    color: var(--jj-gold);
}

.jj-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--jj-space-md);
    margin-bottom: var(--jj-space-md);
}

@media (max-width: 575.98px) {
    .jj-form-row {
        grid-template-columns: 1fr;
    }
}

.jj-form-row.full {
    grid-template-columns: 1fr;
}

.jj-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jj-form-label {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-text-secondary);
}

.jj-form-control {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-body);
    padding: 11px 14px;
    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-form-control:focus {
    outline: none;
    border-color: var(--jj-gold);
    box-shadow: 0 0 0 3px var(--jj-border-gold);
}

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

select.jj-form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238A8A8A' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* Payment Method Selector */
.jj-payment-options {
    display: flex;
    flex-direction: column;
    gap: var(--jj-space-md);
}

.jj-payment-option {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
    padding: var(--jj-space-lg);
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-md);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    position: relative;
}

.jj-payment-option:hover {
    border-color: var(--jj-gold-light);
}

.jj-payment-option.selected {
    border-color: var(--jj-gold);
    background: rgba(197,164,78,0.03);
    box-shadow: 0 0 0 1px var(--jj-gold);
}

.jj-payment-option input[type="radio"] {
    accent-color: var(--jj-gold);
    width: 18px;
    height: 18px;
}

.jj-payment-option-icon {
    width: 44px;
    height: 30px;
    object-fit: contain;
}

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

.jj-payment-option-desc {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

/* Insurance Option */
.jj-insurance-option {
    display: flex;
    align-items: flex-start;
    gap: var(--jj-space-md);
    padding: var(--jj-space-lg);
    border: 1.5px solid var(--jj-border-gold);
    border-radius: var(--jj-radius-md);
    background: linear-gradient(135deg, rgba(197,164,78,0.03), rgba(197,164,78,0.06));
    margin-bottom: var(--jj-space-lg);
}

.jj-insurance-option i {
    font-size: 24px;
    color: var(--jj-gold);
    margin-top: 2px;
}

.jj-insurance-option h6 {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    margin-bottom: 4px;
}

.jj-insurance-option p {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    margin: 0;
}

/* T&C Box */
.jj-terms-box {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--jj-border-light);
    border-radius: var(--jj-radius-sm);
    padding: var(--jj-space-lg);
    margin-bottom: var(--jj-space-lg);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-secondary);
    line-height: 1.7;
    background: var(--jj-cream);
}

/* Checkout Nav */
.jj-checkout-nav {
    display: flex;
    justify-content: space-between;
    gap: var(--jj-space-md);
    margin-top: var(--jj-space-xl);
}


/* ============================================================================
   A6. CUSTOMER DASHBOARD
   ============================================================================ */

.jj-dash-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--jj-space-xl);
    min-height: 600px;
}

@media (max-width: 991.98px) {
    .jj-dash-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.jj-dash-sidebar {
    position: sticky;
    top: calc(var(--jj-navbar-height) + var(--jj-space-lg));
    height: fit-content;
}

.jj-dash-profile-card {
    background: var(--jj-white);
    border: 1px solid var(--jj-border-light);
    border-radius: var(--jj-radius-md);
    overflow: hidden;
    margin-bottom: var(--jj-space-md);
}

.jj-dash-profile-header {
    padding: var(--jj-space-xl);
    text-align: center;
    background: linear-gradient(135deg, var(--jj-cream), var(--jj-gold-pale));
    border-bottom: 1px solid var(--jj-border-light);
}

.jj-dash-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--jj-radius-full);
    border: 3px solid var(--jj-gold);
    object-fit: cover;
    margin: 0 auto var(--jj-space-md);
    display: block;
}

.jj-dash-avatar-placeholder {
    width: 72px;
    height: 72px;
    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: 1.5rem;
    font-weight: 700;
    color: var(--jj-white);
    margin: 0 auto var(--jj-space-md);
    border: 3px solid var(--jj-white);
    box-shadow: var(--jj-shadow-gold);
}

.jj-dash-profile-name {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h4);
    font-weight: 600;
    margin-bottom: 2px;
}

.jj-dash-profile-email {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

.jj-dash-credit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--jj-space-md) var(--jj-space-lg);
    border-bottom: 1px solid var(--jj-border-light);
}

.jj-dash-credit-label {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-text-muted);
}

.jj-dash-credit-value {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h4);
    font-weight: 700;
    color: var(--jj-gold-dark);
}

/* Sidebar Nav */
.jj-dash-nav {
    padding: var(--jj-space-sm) 0;
}

.jj-dash-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px var(--jj-space-lg);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-secondary);
    text-decoration: none;
    transition: all var(--jj-duration) var(--jj-ease);
    border-left: 3px solid transparent;
}

.jj-dash-nav-item:hover {
    background: var(--jj-cream);
    color: var(--jj-gold);
    border-left-color: var(--jj-gold-pale);
}

.jj-dash-nav-item.active {
    background: var(--jj-gold-pale);
    color: var(--jj-gold-dark);
    font-weight: 600;
    border-left-color: var(--jj-gold);
}

.jj-dash-nav-item i {
    width: 20px;
    font-size: 16px;
    margin-right: var(--jj-space-md);
    opacity: 0.7;
}

.jj-dash-nav-item .jj-nav-badge {
    font-size: 10px;
    font-weight: 700;
    background: var(--jj-danger);
    color: var(--jj-white);
    padding: 2px 7px;
    border-radius: var(--jj-radius-pill);
}

.jj-dash-nav-item .jj-nav-dot {
    width: 8px;
    height: 8px;
    background: var(--jj-gold);
    border-radius: var(--jj-radius-full);
}

.jj-dash-nav-item.jj-logout {
    color: var(--jj-danger);
}

.jj-dash-nav-item.jj-logout:hover {
    background: #FDF0F0;
    color: var(--jj-danger);
}

/* Dashboard Content */
.jj-dash-content {
    background: var(--jj-white);
    border: 1px solid var(--jj-border-light);
    border-radius: var(--jj-radius-md);
    min-height: 500px;
}

.jj-dash-content-header {
    padding: var(--jj-space-xl);
    border-bottom: 1px solid var(--jj-border-light);
}

.jj-dash-content-title {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h3);
    font-weight: 600;
    margin-bottom: 4px;
}

.jj-dash-content-subtitle {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-muted);
}

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

/* Payment Reminder Banner */
.jj-payment-alert-bar {
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border: 1px solid #ffe082;
    border-radius: var(--jj-radius-md);
    padding: var(--jj-space-lg);
    margin-bottom: var(--jj-space-xl);
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
}

.jj-payment-alert-bar i {
    font-size: 24px;
    color: #F57C00;
}

.jj-payment-alert-bar-text {
    flex: 1;
    font-family: var(--jj-font-ui);
}

.jj-payment-alert-bar-text strong {
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-primary);
    display: block;
}

.jj-payment-alert-bar-text span {
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-secondary);
}

/* Order Timeline */
.jj-timeline {
    position: relative;
    padding-left: 28px;
}

.jj-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--jj-border-light);
}

.jj-timeline-item {
    position: relative;
    padding-bottom: var(--jj-space-xl);
}

.jj-timeline-item:last-child {
    padding-bottom: 0;
}

.jj-timeline-dot {
    position: absolute;
    left: -28px;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: var(--jj-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    z-index: 1;
}

.jj-timeline-dot.completed {
    background: var(--jj-success);
    color: var(--jj-white);
}

.jj-timeline-dot.pending {
    background: var(--jj-warning);
    color: var(--jj-white);
}

.jj-timeline-dot.rejected {
    background: var(--jj-danger);
    color: var(--jj-white);
}

.jj-timeline-dot.dispatch {
    background: var(--jj-info);
    color: var(--jj-white);
}

.jj-timeline-content {
    padding-left: var(--jj-space-md);
}

.jj-timeline-title {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    color: var(--jj-text-primary);
    margin-bottom: 2px;
}

.jj-timeline-date {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

.jj-timeline-meta {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    margin-top: 4px;
    display: flex;
    gap: var(--jj-space-md);
}

/* Activity Feed */
.jj-activity-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--jj-space-xl);
}

.jj-activity-pill {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--jj-radius-pill);
    border: 1px solid var(--jj-border);
    background: var(--jj-white);
    color: var(--jj-text-muted);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    display: flex;
    align-items: center;
    gap: 4px;
}

.jj-activity-pill:hover,
.jj-activity-pill.active {
    border-color: var(--jj-gold);
    color: var(--jj-gold-dark);
    background: var(--jj-gold-pale);
}

.jj-activity-item {
    display: flex;
    align-items: flex-start;
    gap: var(--jj-space-md);
    padding: var(--jj-space-md) 0;
    border-bottom: 1px solid var(--jj-border-light);
}

.jj-activity-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--jj-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.jj-activity-body {
    flex: 1;
    min-width: 0;
}

.jj-activity-title {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    color: var(--jj-text-primary);
    margin-bottom: 2px;
}

.jj-activity-desc {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

.jj-activity-time {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Chat */
.jj-chat-container {
    max-height: 400px;
    overflow-y: auto;
    padding: var(--jj-space-md);
    background: var(--jj-cream);
    border-radius: var(--jj-radius-md);
    margin-bottom: var(--jj-space-md);
}

.jj-chat-msg {
    margin-bottom: var(--jj-space-md);
    display: flex;
    flex-direction: column;
}

.jj-chat-msg.outgoing {
    align-items: flex-end;
}

.jj-chat-msg.incoming {
    align-items: flex-start;
}

.jj-chat-bubble {
    max-width: 75%;
    padding: var(--jj-space-md) var(--jj-space-lg);
    border-radius: var(--jj-radius-lg);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    line-height: 1.5;
}

.jj-chat-msg.outgoing .jj-chat-bubble {
    background: var(--jj-gold);
    color: var(--jj-white);
    border-bottom-right-radius: var(--jj-radius-sm);
}

.jj-chat-msg.incoming .jj-chat-bubble {
    background: var(--jj-white);
    color: var(--jj-text-primary);
    border: 1px solid var(--jj-border-light);
    border-bottom-left-radius: var(--jj-radius-sm);
}

.jj-chat-time {
    font-family: var(--jj-font-ui);
    font-size: 10px;
    color: var(--jj-text-muted);
    margin-top: 4px;
    padding: 0 4px;
}

.jj-chat-input-bar {
    display: flex;
    gap: 8px;
    align-items: center;
}

.jj-chat-input-bar input {
    flex: 1;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    padding: 10px 16px;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-pill);
    outline: none;
}

.jj-chat-input-bar input:focus {
    border-color: var(--jj-gold);
}

.jj-chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--jj-radius-full);
    background: var(--jj-gold);
    color: var(--jj-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--jj-duration) var(--jj-ease);
    flex-shrink: 0;
}

.jj-chat-send-btn:hover {
    background: var(--jj-gold-dark);
    box-shadow: var(--jj-shadow-gold);
}

/* Data Table */
.jj-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.jj-data-table thead th {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-text-muted);
    padding: var(--jj-space-md) var(--jj-space-md);
    border-bottom: 2px solid var(--jj-border);
    text-align: left;
    white-space: nowrap;
}

.jj-data-table tbody td {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    padding: var(--jj-space-md);
    border-bottom: 1px solid var(--jj-border-light);
    color: var(--jj-text-primary);
    vertical-align: middle;
}

.jj-data-table tbody tr:hover {
    background: var(--jj-cream);
}

/* Status Pills */
.jj-status-pill {
    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);
    white-space: nowrap;
}

.jj-status-open     { background: #E3F2FD; color: #1565C0; }
.jj-status-pending  { background: #FFF8E1; color: #F57F17; }
.jj-status-paid     { background: #E8F5E9; color: #2E7D32; }
.jj-status-partial  { background: #FFF3E0; color: #E65100; }
.jj-status-cancelled{ background: #FDEDED; color: #C62828; }
.jj-status-dispatched{ background: #E0F2F1; color: #00695C; }
.jj-status-confirmed{ background: #E8F5E9; color: #2E7D32; }
.jj-status-rejected { background: #FDEDED; color: #C62828; }

/* Empty State */
.jj-empty-state {
    text-align: center;
    padding: var(--jj-space-3xl) var(--jj-space-xl);
}

.jj-empty-state i {
    font-size: 3rem;
    color: var(--jj-border);
    margin-bottom: var(--jj-space-md);
}

.jj-empty-state p {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-muted);
}

/* Payment Summary Cards */
.jj-payment-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--jj-space-md);
    margin-bottom: var(--jj-space-xl);
}

.jj-pay-summary-card {
    padding: var(--jj-space-md) var(--jj-space-lg);
    border-radius: var(--jj-radius-md);
    text-align: center;
}

.jj-pay-summary-card.confirmed {
    background: #E8F5E9;
}

.jj-pay-summary-card.pending {
    background: #FFF8E1;
}

.jj-pay-summary-card.rejected {
    background: #FDEDED;
}

.jj-pay-summary-label {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-text-muted);
    margin-bottom: 4px;
}

.jj-pay-summary-amount {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h4);
    font-weight: 700;
    color: var(--jj-text-primary);
}

@media (max-width: 575.98px) {
    .jj-payment-summary-cards {
        grid-template-columns: 1fr;
    }
}


/* ============================================================================
   A7. INVOICE PAGE (PRINTABLE)
   ============================================================================ */

.jj-invoice {
    max-width: 800px;
    margin: 0 auto;
    background: var(--jj-white);
    padding: var(--jj-space-3xl);
}

.jj-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--jj-space-2xl);
    padding-bottom: var(--jj-space-xl);
    border-bottom: 2px solid var(--jj-gold);
}

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

.jj-invoice-logo img {
    height: 56px;
    width: auto;
}

.jj-invoice-logo-text {
    font-family: var(--jj-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--jj-text-primary);
}

.jj-invoice-logo-text span {
    color: var(--jj-gold);
}

.jj-invoice-title-block {
    text-align: right;
}

.jj-invoice-title {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h1);
    font-weight: 700;
    color: var(--jj-gold);
    margin: 0;
    line-height: 1;
}

.jj-invoice-number {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-muted);
    margin-top: 6px;
}

.jj-invoice-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--jj-space-xl);
    margin-bottom: var(--jj-space-2xl);
}

.jj-invoice-meta-block h6 {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-gold);
    margin-bottom: var(--jj-space-sm);
}

.jj-invoice-meta-block p {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-secondary);
    margin: 0;
    line-height: 1.8;
}

.jj-invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--jj-space-xl);
}

.jj-invoice-table thead th {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-white);
    background: var(--jj-black);
    padding: var(--jj-space-md) var(--jj-space-lg);
    text-align: left;
}

.jj-invoice-table thead th:last-child {
    text-align: right;
}

.jj-invoice-table tbody td {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    padding: var(--jj-space-md) var(--jj-space-lg);
    border-bottom: 1px solid var(--jj-border-light);
    color: var(--jj-text-primary);
}

.jj-invoice-table tbody td:last-child {
    text-align: right;
    font-weight: 600;
}

.jj-invoice-table .jj-invoice-item-name {
    font-weight: 600;
}

.jj-invoice-table .jj-invoice-item-variant {
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    display: block;
    margin-top: 2px;
}

.jj-invoice-totals {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--jj-space-2xl);
}

.jj-invoice-totals-inner {
    width: 280px;
}

.jj-invoice-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-secondary);
}

.jj-invoice-totals-row.grand-total {
    font-size: var(--jj-fs-lg);
    font-weight: 700;
    color: var(--jj-text-primary);
    border-top: 2px solid var(--jj-gold);
    padding-top: var(--jj-space-md);
    margin-top: var(--jj-space-sm);
}

.jj-invoice-totals-row.grand-total .jj-inv-value {
    color: var(--jj-gold-dark);
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h3);
}

/* Payment History in Invoice */
.jj-invoice-payments {
    margin-bottom: var(--jj-space-2xl);
}

.jj-invoice-payments h6 {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-text-primary);
    margin-bottom: var(--jj-space-md);
}

.jj-invoice-payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--jj-space-sm) 0;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-secondary);
    border-bottom: 1px dashed var(--jj-border-light);
}

/* Invoice Footer */
.jj-invoice-footer {
    margin-top: var(--jj-space-2xl);
    padding-top: var(--jj-space-xl);
    border-top: 1px solid var(--jj-border-light);
    text-align: center;
}

.jj-invoice-footer p {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    margin: 0;
    line-height: 1.8;
}

.jj-invoice-footer .jj-invoice-thanks {
    font-family: var(--jj-font-display);
    font-style: italic;
    font-size: var(--jj-fs-lg);
    color: var(--jj-gold);
    margin-bottom: var(--jj-space-md);
}

/* Print Styles */
.jj-print-actions {
    text-align: center;
    padding: var(--jj-space-xl) 0;
}

@media print {
    body {
        padding: 0 !important;
    }
    .jj-navbar,
    .jj-mobile-nav,
    .jj-footer,
    .jj-print-actions,
    .jj-breadcrumb {
        display: none !important;
    }
    .jj-invoice {
        max-width: 100%;
        padding: 0;
        box-shadow: none;
        border: none;
    }
    .jj-invoice-table thead th {
        background: var(--jj-black) !important;
        color: var(--jj-white) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}


/* ============================================================================
   A8. SHARED UTILITY ADDITIONS
   ============================================================================ */

.jj-divider {
    height: 1px;
    background: var(--jj-border-light);
    margin: var(--jj-space-lg) 0;
}

.jj-card-hover-gold:hover {
    border-color: var(--jj-border-gold);
}

.jj-text-nowrap {
    white-space: nowrap;
}

.jj-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jj-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--jj-space-md);
}

@media (max-width: 575.98px) {
    .jj-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Scroll to top button */
.jj-scroll-top {
    position: fixed;
    bottom: calc(var(--jj-mobile-nav-height) + var(--jj-space-md));
    right: var(--jj-space-md);
    width: 40px;
    height: 40px;
    border-radius: var(--jj-radius-full);
    background: var(--jj-gold);
    color: var(--jj-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--jj-shadow-gold);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--jj-duration) var(--jj-ease);
    z-index: var(--jj-z-above);
}

.jj-scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .jj-scroll-top {
        bottom: var(--jj-space-xl);
        right: var(--jj-space-xl);
    }
}


/* ============================================================================
   A6.1 CUSTOMER DASHBOARD — MOBILE DRAWER EXPERIENCE
   ============================================================================ */

.jj-dash-mobile-header {
    display: none;
    align-items: center;
    gap: var(--jj-space-md);
    padding: var(--jj-space-md);
    border-bottom: 1px solid var(--jj-border-light);
    background: var(--jj-white);
    position: sticky;
    top: 0;
    z-index: 3;
}

.jj-dash-mobile-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--jj-border);
    background: var(--jj-white);
    color: var(--jj-text-primary);
    border-radius: var(--jj-radius-pill);
    padding: 10px 14px;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.jj-dash-mobile-title {
    min-width: 0;
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h4);
    font-weight: 600;
    color: var(--jj-text-primary);
}

@media (max-width: 767.98px) {
    .jj-dash-layout {
        gap: var(--jj-space-md);
        min-height: auto;
    }

    .jj-dash-sidebar,
    .jj-dash-content {
        position: relative;
        top: auto;
    }

    .jj-dash-profile-card,
    .jj-dash-content {
        border-radius: var(--jj-radius-lg);
        overflow: hidden;
        box-shadow: var(--jj-shadow-sm);
    }

    .jj-dash-profile-header,
    .jj-dash-content-header,
    .jj-dash-content-body {
        padding: var(--jj-space-md);
    }

    .jj-dash-content {
        display: none;
        min-height: auto;
    }

    .jj-dash-content.jj-mobile-section-open {
        display: block;
        animation: jj-slideInRight var(--jj-duration) var(--jj-ease);
    }

    .jj-dash-mobile-header {
        display: none;
    }

    .jj-dash-content.jj-mobile-section-open .jj-dash-mobile-header {
        display: flex !important;
    }

    .jj-dash-content.jj-mobile-section-open .jj-dash-content-header {
        display: none;
    }

    .jj-dash-nav {
        padding: 6px 0;
    }

    .jj-dash-nav-item {
        padding: 14px var(--jj-space-md);
        border-left: none;
        border-bottom: 1px solid var(--jj-border-light);
    }

    .jj-dash-nav-item.active {
        border-left: none;
        border-bottom-color: var(--jj-gold);
    }

    .jj-payment-alert-bar {
        align-items: flex-start;
        padding: var(--jj-space-md);
    }

    .jj-payment-alert-bar i {
        font-size: 18px;
        margin-top: 2px;
    }

    .jj-chat-bubble {
        max-width: 88%;
    }

    .jj-chat-input-bar {
        align-items: stretch;
    }

    .jj-chat-input-bar input {
        min-width: 0;
    }

    .jj-activity-item {
        align-items: flex-start;
    }

    .jj-activity-time {
        white-space: normal;
        text-align: right;
        max-width: 72px;
    }

    .jj-data-table,
    .jj-data-table thead,
    .jj-data-table tbody,
    .jj-data-table th,
    .jj-data-table td,
    .jj-data-table tr {
        display: block;
        width: 100%;
    }

    .jj-data-table thead {
        display: none;
    }

    .jj-data-table tbody tr {
        border: 1px solid var(--jj-border-light);
        border-radius: var(--jj-radius-md);
        background: var(--jj-white);
        padding: 6px 0;
        margin-bottom: var(--jj-space-md);
        box-shadow: var(--jj-shadow-sm);
    }

    .jj-data-table tbody td {
        border-bottom: 1px solid var(--jj-border-light);
        padding: 12px var(--jj-space-md);
        display: grid;
        grid-template-columns: minmax(88px, 110px) minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        text-align: left !important;
        white-space: normal;
    }

    .jj-data-table tbody td:last-child {
        border-bottom: 0;
    }

    .jj-data-table tbody td::before {
        content: attr(data-label);
        font-family: var(--jj-font-ui);
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--jj-text-muted);
    }

    .jj-dash-section [style*="display:flex"] {
        flex-wrap: wrap;
    }

    .jj-dash-section [style*="justify-content:space-between"] {
        gap: 10px;
    }

    .jj-dash-section [style*="text-align:right"] {
        text-align: left !important;
    }

    .jj-timeline-meta {
        flex-direction: column;
        gap: 4px;
    }

    .jj-payment-summary-cards {
        gap: 10px;
    }
}


/* ============================================================================
   A9. LOGIN PAGE
   ============================================================================ */

.jj-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jj-charcoal);
    position: relative;
    overflow: hidden;
    padding: var(--jj-space-xl);
}

.jj-auth-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 20% 30%, var(--jj-gold) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, var(--jj-gold) 1px, transparent 1px),
        radial-gradient(circle at 50% 10%, var(--jj-gold) 0.5px, transparent 0.5px);
    background-size: 60px 60px, 80px 80px, 40px 40px;
}

.jj-auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--jj-white);
    border-radius: var(--jj-radius-xl);
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(197,164,78,0.08);
}

.jj-auth-header {
    text-align: center;
    padding: var(--jj-space-2xl) var(--jj-space-2xl) var(--jj-space-lg);
    background: linear-gradient(180deg, var(--jj-cream) 0%, var(--jj-white) 100%);
}

.jj-auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--jj-space-md);
    margin-bottom: var(--jj-space-lg);
}

.jj-auth-logo img {
    height: 56px;
    width: auto;
}

.jj-auth-logo-text {
    font-family: var(--jj-font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--jj-text-primary);
}

.jj-auth-logo-text span {
    color: var(--jj-gold);
}

.jj-auth-heading {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h3);
    font-weight: 600;
    color: var(--jj-text-primary);
    margin: 0 0 4px;
}

.jj-auth-subheading {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-muted);
    margin: 0;
}

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

.jj-auth-field {
    margin-bottom: var(--jj-space-lg);
}

.jj-auth-label {
    display: block;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: var(--jj-text-muted);
    margin-bottom: 6px;
}

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

.jj-auth-input:focus {
    border-color: var(--jj-gold);
    box-shadow: 0 0 0 3px rgba(197,164,78,0.12);
}

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

.jj-auth-input-icon-wrap {
    position: relative;
}

.jj-auth-input-icon-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--jj-text-muted);
    font-size: 16px;
    pointer-events: none;
}

.jj-auth-input-icon-wrap .jj-auth-input {
    padding-left: 42px;
}

.jj-auth-input-icon-wrap .jj-auth-toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--jj-text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
}

.jj-auth-input-icon-wrap .jj-auth-toggle-pw:hover {
    color: var(--jj-gold);
}

.jj-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--jj-space-xl);
}

.jj-auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-secondary);
    cursor: pointer;
}

.jj-auth-remember input {
    accent-color: var(--jj-gold);
    width: 16px;
    height: 16px;
}

.jj-auth-forgot {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-gold);
    text-decoration: none;
    font-weight: 500;
}

.jj-auth-forgot:hover {
    text-decoration: underline;
    color: var(--jj-gold-dark);
}

.jj-auth-submit {
    width: 100%;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-body);
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: var(--jj-radius-md);
    background: var(--jj-gold-gradient);
    color: var(--jj-white);
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    box-shadow: 0 4px 16px rgba(197,164,78,0.25);
    letter-spacing: 0.02em;
}

.jj-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(197,164,78,0.35);
}

.jj-auth-submit:active {
    transform: translateY(0);
}

.jj-auth-divider {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
    margin: var(--jj-space-xl) 0;
}

.jj-auth-divider::before,
.jj-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--jj-border-light);
}

.jj-auth-divider span {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    white-space: nowrap;
}

.jj-auth-social {
    display: flex;
    gap: var(--jj-space-md);
}

.jj-auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1.5px solid var(--jj-border);
    border-radius: var(--jj-radius-md);
    background: var(--jj-white);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    color: var(--jj-text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
}

.jj-auth-social-btn:hover {
    border-color: var(--jj-gold);
    background: var(--jj-cream);
}

.jj-auth-social-btn .jj-social-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.jj-auth-social-btn .jj-social-icon.google {
    background: linear-gradient(135deg, #EA4335, #FBBC05, #34A853, #4285F4);
    color: #fff;
    font-size: 11px;
}

.jj-auth-social-btn .jj-social-icon.facebook {
    background: #1877F2;
    color: #fff;
}

.jj-auth-footer-links {
    margin-top: var(--jj-space-xl);
    text-align: center;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: var(--jj-text-muted);
}

.jj-auth-footer-links a {
    color: var(--jj-gold);
    text-decoration: none;
    font-weight: 500;
}

.jj-auth-footer-links a:hover {
    text-decoration: underline;
}

.jj-auth-footer-brand {
    text-align: center;
    padding: var(--jj-space-lg) var(--jj-space-2xl);
    border-top: 1px solid var(--jj-border-light);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-text-muted);
}

.jj-auth-footer-brand a {
    color: var(--jj-gold);
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .jj-auth-page {
        padding: var(--jj-space-md);
        align-items: flex-start;
        padding-top: var(--jj-space-2xl);
    }
    .jj-auth-card {
        border-radius: var(--jj-radius-lg);
    }
    .jj-auth-header {
        padding: var(--jj-space-xl) var(--jj-space-lg) var(--jj-space-md);
    }
    .jj-auth-body {
        padding: var(--jj-space-lg);
    }
    .jj-auth-social {
        flex-direction: column;
    }
}


/* ============================================================================
   A10. CLAIM PAGE (LIVE SELLING — MOBILE-FIRST)
   ============================================================================ */

.jj-claim-page {
    min-height: 100vh;
    background: var(--jj-charcoal);
    padding-bottom: env(safe-area-inset-bottom);
}

.jj-claim-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 420px;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2A1E 100%);
}

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

.jj-claim-hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(197,164,78,0.05) 0%, rgba(197,164,78,0.15) 100%);
}

.jj-claim-hero-placeholder i {
    font-size: 4rem;
    color: var(--jj-gold);
    opacity: 0.4;
    margin-bottom: var(--jj-space-md);
}

.jj-claim-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--jj-space-xl) var(--jj-space-lg) var(--jj-space-lg);
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.jj-claim-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(197,164,78,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197,164,78,0.3);
    border-radius: var(--jj-radius-pill);
    padding: 5px 14px;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-gold);
    font-weight: 600;
    margin-bottom: var(--jj-space-md);
}

.jj-claim-event-badge .jj-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E53935;
    animation: jj-pulse 1.5s ease-in-out infinite;
}

.jj-claim-product-title {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h3);
    font-weight: 700;
    color: var(--jj-white);
    margin: 0 0 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.jj-claim-product-sku {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: rgba(255,255,255,0.6);
}

.jj-claim-body {
    padding: var(--jj-space-lg);
    max-width: 600px;
    margin: 0 auto;
}

.jj-claim-price-bar {
    display: flex;
    align-items: baseline;
    gap: var(--jj-space-md);
    margin-bottom: var(--jj-space-lg);
}

.jj-claim-price {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-h2);
    font-weight: 700;
    color: var(--jj-gold);
}

.jj-claim-price-orig {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-body);
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
}

.jj-claim-price-save {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 700;
    color: #4CAF50;
    background: rgba(76,175,80,0.12);
    padding: 4px 10px;
    border-radius: var(--jj-radius-pill);
}

.jj-claim-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: var(--jj-space-xl);
}

.jj-claim-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--jj-radius-md);
}

.jj-claim-spec i {
    font-size: 16px;
    color: var(--jj-gold);
    opacity: 0.8;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.jj-claim-spec-text {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: rgba(255,255,255,0.5);
    display: block;
    line-height: 1.3;
}

.jj-claim-spec-text strong {
    display: block;
    color: var(--jj-white);
    font-size: var(--jj-fs-sm);
}

/* MINE Button */
.jj-claim-btn-wrap {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--jj-space-lg);
    background: linear-gradient(to top, var(--jj-charcoal) 60%, transparent);
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
}

.jj-claim-btn {
    width: 100%;
    padding: 20px;
    font-family: var(--jj-font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jj-charcoal);
    background: var(--jj-gold-gradient);
    border: none;
    border-radius: var(--jj-radius-lg);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--jj-ease);
    box-shadow: 0 8px 32px rgba(197,164,78,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.jj-claim-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: jj-shimmer 2.5s infinite;
}

.jj-claim-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(197,164,78,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

.jj-claim-btn:active {
    transform: scale(0.98);
}

.jj-claim-btn.claimed {
    background: #2E7D32;
    color: var(--jj-white);
    box-shadow: 0 8px 32px rgba(46,125,50,0.3);
    letter-spacing: 0.05em;
}

.jj-claim-btn.claimed::before {
    display: none;
}

/* Accordion for Terms */
.jj-claim-terms {
    padding: 0 var(--jj-space-lg) var(--jj-space-3xl);
    max-width: 600px;
    margin: 0 auto;
}

.jj-claim-terms-heading {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--jj-ls-wider);
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--jj-space-md);
    padding-left: 4px;
}

.jj-claim-accordion {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--jj-radius-md);
    overflow: hidden;
}

.jj-claim-accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.jj-claim-accordion-item:last-child {
    border-bottom: none;
}

.jj-claim-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border: none;
    color: rgba(255,255,255,0.7);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    text-align: left;
    gap: 8px;
}

.jj-claim-accordion-btn i.jj-acc-icon {
    font-size: 14px;
    color: var(--jj-gold);
    width: 20px;
    text-align: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.jj-claim-accordion-btn i.jj-acc-chevron {
    font-size: 12px;
    transition: transform var(--jj-duration) var(--jj-ease);
    flex-shrink: 0;
    color: rgba(255,255,255,0.3);
}

.jj-claim-accordion-btn:hover {
    background: rgba(255,255,255,0.05);
    color: var(--jj-white);
}

.jj-claim-accordion-btn.open {
    background: rgba(197,164,78,0.06);
    color: var(--jj-gold);
}

.jj-claim-accordion-btn.open i.jj-acc-chevron {
    transform: rotate(180deg);
}

.jj-claim-accordion-body {
    display: none;
    padding: 0 16px 14px 44px;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

.jj-claim-accordion-body.open {
    display: block;
}

/* Claim page top bar */
.jj-claim-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--jj-space-md) var(--jj-space-lg);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.jj-claim-topbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.jj-claim-topbar-brand img {
    height: 32px;
    width: auto;
}

.jj-claim-topbar-brand span {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-sm);
    color: var(--jj-white);
    font-weight: 600;
}

.jj-claim-topbar-brand span em {
    color: var(--jj-gold);
    font-style: normal;
}

@media (min-width: 768px) {
    .jj-claim-hero {
        aspect-ratio: 16 / 9;
        max-height: 500px;
    }
    .jj-claim-product-title {
        font-size: var(--jj-fs-h2);
    }
}


/* ============================================================================
   A11. LIVE SELLING PAGE
   ============================================================================ */

/* Override jhaenajewels.css global body styles for this page */
.jj-live-page {
    background: var(--jj-charcoal) !important;
    min-height: 100vh;
    color: var(--jj-white);
    overflow: hidden;
}

.jj-live-page *,
.jj-live-page *::before,
.jj-live-page *::after {
    box-sizing: border-box;
}

/* Reset img from global display:block */
.jj-live-page img {
    display: inline-block;
}

/* Reset anchor color from global gold */
.jj-live-page a {
    color: inherit;
}

/* Live Top Bar */
.jj-live-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px var(--jj-space-lg);
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: 54px;
}

.jj-live-topbar-left {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
}

.jj-live-topbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.jj-live-topbar-brand img {
    height: 34px;
    width: auto;
}

.jj-live-topbar-brand span {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-sm);
    color: var(--jj-white);
    font-weight: 600;
}

.jj-live-topbar-brand span em {
    color: var(--jj-gold);
    font-style: normal;
}

.jj-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E53935;
    padding: 4px 12px;
    border-radius: var(--jj-radius-pill);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 700;
    color: var(--jj-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    animation: jj-pulse 2s ease-in-out infinite;
}

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

.jj-live-topbar-right {
    display: flex;
    align-items: center;
    gap: var(--jj-space-md);
}

.jj-live-viewer-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: rgba(255,255,255,0.6);
}

.jj-live-viewer-count i {
    color: var(--jj-gold);
}

.jj-live-topbar-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--jj-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    font-size: 14px;
    text-decoration: none;
}

.jj-live-topbar-btn:hover {
    background: rgba(255,255,255,0.15);
    color: var(--jj-gold);
}

/* Live Layout — Desktop: Video+Chat left, Products right */
.jj-live-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    grid-template-rows: 1fr auto;
    height: calc(100vh - 54px);
    overflow: hidden;
}

/* Video Container */
.jj-live-video-col {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.jj-live-video-wrap {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jj-live-video-wrap iframe,
.jj-live-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jj-live-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--jj-space-md);
    color: rgba(255,255,255,0.3);
    text-align: center;
    padding: var(--jj-space-xl);
}

.jj-live-video-placeholder i {
    font-size: 4rem;
    color: var(--jj-gold);
    opacity: 0.3;
}

.jj-live-video-placeholder p {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.jj-live-video-source-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px var(--jj-space-md);
    background: rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.jj-live-source-tab {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--jj-radius-pill);
    border: 1px solid rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.06) !important;
    color: rgba(255,255,255,0.6) !important;
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    box-shadow: none !important;
    transform: none !important;
}

.jj-live-source-tab:hover {
    border-color: rgba(255,255,255,0.25) !important;
    color: rgba(255,255,255,0.9) !important;
    background: rgba(255,255,255,0.1) !important;
    transform: none !important;
}

.jj-live-source-tab.active {
    background: var(--jj-gold) !important;
    border-color: var(--jj-gold) !important;
    color: var(--jj-charcoal) !important;
}

/* Chat (below video on desktop — grid row 2) */
.jj-live-chat-col {
    grid-column: 1;
    grid-row: 2;
    background: rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    height: 240px;
    min-height: 180px;
}

.jj-live-chat-header {
    padding: 10px var(--jj-space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.jj-live-chat-header h6 {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.jj-live-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--jj-space-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.jj-live-chat-msg {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    padding: 4px 0;
}

.jj-live-chat-msg .jj-chat-author {
    font-weight: 700;
    color: var(--jj-gold);
    margin-right: 6px;
}

.jj-live-chat-msg .jj-chat-author.admin {
    color: #E53935;
}

.jj-live-chat-msg .jj-chat-author.mod {
    color: #4CAF50;
}

.jj-live-chat-msg .jj-chat-code {
    font-weight: 800;
    color: var(--jj-white);
    background: rgba(197,164,78,0.15);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: var(--jj-font-ui);
}

.jj-live-chat-input {
    display: flex;
    gap: 8px;
    padding: 10px var(--jj-space-md);
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.jj-live-chat-input input {
    flex: 1;
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--jj-radius-pill);
    background: rgba(255,255,255,0.05);
    color: var(--jj-white);
    outline: none;
}

.jj-live-chat-input input:focus {
    border-color: var(--jj-gold);
}

.jj-live-chat-input input::placeholder {
    color: rgba(255,255,255,0.3);
}

.jj-live-chat-input button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--jj-gold);
    border: none;
    color: var(--jj-charcoal);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--jj-duration) var(--jj-ease);
}

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

/* Products sidebar — spans both rows on right */
.jj-live-products-col {
    grid-column: 2;
    grid-row: 1 / 3;
    border-left: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.25);
}

.jj-live-products-header {
    padding: 12px var(--jj-space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.jj-live-products-header h6 {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.jj-live-products-header .jj-live-product-count {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    color: var(--jj-gold);
    font-weight: 700;
    background: rgba(197,164,78,0.12);
    padding: 3px 10px;
    border-radius: var(--jj-radius-pill);
}

.jj-live-products-list {
    flex: 1;
    overflow-y: auto;
    padding: var(--jj-space-md);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jj-live-product-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--jj-radius-md);
    transition: all var(--jj-duration) var(--jj-ease);
    cursor: pointer;
    position: relative;
}

.jj-live-product-card:hover {
    border-color: rgba(197,164,78,0.3);
    background: rgba(197,164,78,0.04);
}

.jj-live-product-card.active-now {
    border-color: var(--jj-gold);
    background: rgba(197,164,78,0.08);
    box-shadow: 0 0 0 1px var(--jj-gold), 0 4px 16px rgba(197,164,78,0.15);
}

.jj-live-product-card.active-now::before {
    content: 'NOW';
    position: absolute;
    top: -6px;
    right: 12px;
    font-family: var(--jj-font-ui);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--jj-white);
    background: #E53935;
    padding: 2px 8px;
    border-radius: var(--jj-radius-sm);
}

.jj-live-product-card.claimed-card {
    opacity: 0.5;
    pointer-events: none;
}

.jj-live-product-card.claimed-card::after {
    content: 'CLAIMED';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(-15deg);
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #E53935;
    background: rgba(229,57,53,0.1);
    padding: 4px 14px;
    border: 2px solid #E53935;
    border-radius: var(--jj-radius-sm);
}

.jj-live-product-img {
    width: 64px;
    height: 64px;
    border-radius: var(--jj-radius-md);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.jj-live-product-name {
    font-family: var(--jj-font-ui);
    font-size: var(--jj-fs-sm);
    font-weight: 600;
    color: var(--jj-white);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jj-live-product-code {
    font-family: var(--jj-font-ui);
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.jj-live-product-code .jj-code {
    font-weight: 700;
    color: var(--jj-gold);
    background: rgba(197,164,78,0.12);
    padding: 1px 6px;
    border-radius: 3px;
}

.jj-live-product-price {
    font-family: var(--jj-font-display);
    font-size: var(--jj-fs-sm);
    font-weight: 700;
    color: var(--jj-gold);
}

.jj-live-product-status {
    font-family: var(--jj-font-ui);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--jj-radius-sm);
    white-space: nowrap;
    align-self: center;
}

.jj-live-product-status.available {
    background: rgba(76,175,80,0.12);
    color: #4CAF50;
}

.jj-live-product-status.pending {
    background: rgba(255,193,7,0.12);
    color: #FFC107;
}

.jj-live-product-status.sold {
    background: rgba(229,57,53,0.12);
    color: #E53935;
}

/* Mobile Layout for Live Page */
@media (max-width: 991.98px) {
    .jj-live-page {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .jj-live-layout {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 54px - 48px);
        overflow: visible;
    }

    .jj-live-video-col {
        order: 1;
        flex: none;
    }

    .jj-live-video-wrap {
        aspect-ratio: 16 / 9;
        flex: none;
        min-height: 200px;
    }

    .jj-live-video-source-bar {
        overflow-x: auto;
        white-space: nowrap;
        display: none !important;
    }

    /* On mobile: chat sits directly under video */
    .jj-live-chat-col {
        order: 2;
        height: auto;
        max-height: none;
        border-top: none;
        flex: none;
    }

    .jj-live-chat-messages {
        max-height: 180px;
    }

    /* Products: horizontal scrollable strip */
    .jj-live-products-col {
        order: 3;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.06);
        flex: none;
    }

    .jj-live-products-list {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        padding: var(--jj-space-md);
        gap: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .jj-live-product-card {
        min-width: 260px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* Hidden mobile sections (toggled by JS) */
    .jj-live-mobile-hidden {
        display: none !important;
    }

    /* Full-screen product list view on mobile */
    .jj-live-products-col.jj-mobile-fullview {
        flex: 1;
    }

    .jj-live-products-col.jj-mobile-fullview .jj-live-products-list {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        flex-wrap: wrap;
    }

    .jj-live-products-col.jj-mobile-fullview .jj-live-product-card {
        min-width: auto;
    }

    /* Full-screen chat view on mobile */
    .jj-live-chat-col.jj-mobile-fullview {
        flex: 1;
    }

    .jj-live-chat-col.jj-mobile-fullview .jj-live-chat-messages {
        max-height: none;
        flex: 1;
    }
}

@media (max-width: 575.98px) {
    .jj-live-topbar {
        padding: 8px var(--jj-space-md);
    }

    .jj-live-topbar-brand span {
        display: none;
    }

    .jj-live-product-card {
        min-width: 220px;
    }

    .jj-live-chat-messages {
        max-height: 150px;
    }

    .jj-live-video-placeholder p {
        font-size: var(--jj-fs-xs);
    }

    .jj-live-video-placeholder i {
        font-size: 2.5rem;
    }
}

/* Mobile bottom tabs for live page */
.jj-live-mobile-tabs {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 991.98px) {
    .jj-live-mobile-tabs {
        display: flex;
        justify-content: center;
        gap: 0;
    }

    /* Add bottom padding for the fixed tabs */
    .jj-live-layout {
        padding-bottom: 52px;
    }
}

.jj-live-mobile-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 8px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-family: var(--jj-font-ui);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--jj-duration) var(--jj-ease);
    position: relative;
}

.jj-live-mobile-tab i {
    font-size: 18px;
}

.jj-live-mobile-tab.active {
    color: var(--jj-gold);
}

.jj-live-mobile-tab.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--jj-gold);
    border-radius: 0 0 2px 2px;
}

.jj-live-mobile-tab .jj-tab-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 16px);
    font-size: 8px;
    font-weight: 800;
    color: var(--jj-white);
    background: #E53935;
    padding: 1px 5px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
}


/* ============================================================================
   A11.1 LIVE SELLING PAGE — ELEGANT COLOR + MOBILE REFINEMENT OVERRIDES
   ============================================================================ */

:root {
    --jj-charcoal: #161616;
    --jj-live-bg: #111111;
    --jj-live-bg-soft: #171717;
    --jj-live-panel: #1B1B1B;
    --jj-live-panel-alt: #222222;
    --jj-live-border: rgba(255,255,255,0.08);
    --jj-live-border-strong: rgba(197,164,78,0.22);
    --jj-live-text: rgba(255,255,255,0.92);
    --jj-live-text-soft: rgba(255,255,255,0.72);
    --jj-live-text-muted: rgba(255,255,255,0.48);
    --jj-live-topbar-bg: rgba(250,248,243,0.96);
    --jj-live-topbar-text: #201d18;
}

body.jj-live-body {
    background:
        radial-gradient(circle at top right, rgba(197,164,78,0.08), transparent 24%),
        linear-gradient(180deg, #181818 0%, #101010 100%) !important;
    color: var(--jj-live-text);
}

.jj-live-page {
    background: transparent !important;
    color: var(--jj-live-text);
}

.jj-live-topbar {
    background: var(--jj-live-topbar-bg);
    border-bottom: 1px solid rgba(197,164,78,0.16);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.jj-live-topbar-brand span,
.jj-live-topbar div[style*="color:#fff"],
.jj-live-topbar div[style*="color: #fff"] {
    color: var(--jj-live-topbar-text) !important;
}

.jj-live-topbar div[style*="rgba(255,255,255,0.4)"] {
    color: rgba(32,29,24,0.55) !important;
}

.jj-live-viewer-count {
    color: rgba(32,29,24,0.68);
}

.jj-live-topbar-btn {
    background: rgba(197,164,78,0.08);
    border: 1px solid rgba(197,164,78,0.16);
    color: var(--jj-live-topbar-text);
}

.jj-live-topbar-btn:hover {
    background: rgba(197,164,78,0.16);
    color: var(--jj-gold-dark);
}

.jj-live-layout {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.jj-live-video-wrap {
    background:
        radial-gradient(circle at center, rgba(197,164,78,0.06), transparent 32%),
        #050505;
}

.jj-live-video-placeholder {
    color: var(--jj-live-text-soft);
}

.jj-live-video-placeholder i {
    color: rgba(197,164,78,0.42);
    opacity: 1;
}

.jj-live-video-placeholder p,
.jj-live-video-placeholder p strong {
    color: var(--jj-live-text-soft) !important;
}

.jj-live-placeholder-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.jj-live-video-placeholder .jj-live-source-tab,
.jj-live-placeholder-actions .jj-live-source-tab {
    appearance: none;
    -webkit-appearance: none;
    min-width: 0;
    width: auto;
    height: auto;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.76) !important;
    box-shadow: none !important;
}

.jj-live-video-placeholder .jj-live-source-tab.active,
.jj-live-placeholder-actions .jj-live-source-tab.active {
    background: var(--jj-gold) !important;
    border-color: var(--jj-gold) !important;
    color: #1A1A1A !important;
}

.jj-live-chat-col,
.jj-live-products-col {
    background: var(--jj-live-panel);
}

.jj-live-chat-col {
    border-top: 1px solid var(--jj-live-border);
}

.jj-live-products-col {
    border-left: 1px solid var(--jj-live-border);
    background: linear-gradient(180deg, #1A1A1A 0%, #171717 100%);
}

.jj-live-chat-header,
.jj-live-products-header {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--jj-live-border);
}

.jj-live-chat-header h6,
.jj-live-products-header h6 {
    color: rgba(255,255,255,0.78);
}

.jj-live-chat-messages {
    background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
}

.jj-live-chat-msg {
    color: var(--jj-live-text-soft);
}

.jj-live-chat-input {
    background: rgba(255,255,255,0.015);
}

.jj-live-chat-input input {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: var(--jj-live-text);
}

.jj-live-chat-input button {
    background: var(--jj-gold);
    color: #1A1A1A;
    box-shadow: 0 8px 18px rgba(197,164,78,0.2);
}

.jj-live-products-header .jj-live-product-count {
    background: rgba(197,164,78,0.12);
    color: var(--jj-gold-light);
}

.jj-live-product-card {
    background: #202020;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 8px 22px rgba(0,0,0,0.14);
}

.jj-live-product-card:hover {
    background: #242424;
    border-color: rgba(197,164,78,0.2);
    transform: translateY(-1px);
}

.jj-live-product-card.active-now {
    background: linear-gradient(180deg, rgba(197,164,78,0.12), rgba(255,255,255,0.03));
    border-color: var(--jj-gold);
    box-shadow: 0 0 0 1px rgba(197,164,78,0.6), 0 10px 24px rgba(0,0,0,0.22);
}

.jj-live-product-img {
    background-clip: padding-box;
    border: 1px solid rgba(255,255,255,0.04);
}

.jj-live-product-name {
    color: var(--jj-live-text);
}

.jj-live-product-code {
    color: var(--jj-live-text-muted);
}

.jj-live-product-price {
    color: #E3C36E;
}

.jj-live-product-status.available {
    background: rgba(74,124,89,0.18);
    color: #9ED1AC;
}

.jj-live-product-status.pending {
    background: rgba(197,164,78,0.16);
    color: #F0D387;
}

.jj-live-product-status.sold {
    background: rgba(184,68,74,0.16);
    color: #F2A2A7;
}

.jj-live-mobile-tabs {
    background: rgba(18,18,18,0.96);
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 991.98px) {
    body.jj-live-body {
        background: linear-gradient(180deg, #171717 0%, #101010 100%) !important;
    }

    .jj-live-layout {
        gap: 12px;
        padding: 12px 12px 64px;
    }

    .jj-live-video-col,
    .jj-live-chat-col,
    .jj-live-products-col {
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.06);
        box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    }

    .jj-live-video-col {
        background: #0B0B0B;
    }

    .jj-live-chat-col,
    .jj-live-products-col {
        background: #191919;
    }

    .jj-live-chat-col {
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .jj-live-products-col {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .jj-live-chat-header,
    .jj-live-products-header {
        padding: 12px 14px;
        background: #1F1F1F;
    }

    .jj-live-chat-messages {
        padding: 12px 14px;
        max-height: 220px;
    }

    .jj-live-chat-input {
        padding: 12px 14px;
        background: #1F1F1F;
    }

    .jj-live-products-list {
        padding: 12px;
        gap: 12px;
    }

    .jj-live-product-card {
        min-width: 240px;
        background: #232323;
    }

    .jj-live-mobile-tab {
        color: rgba(255,255,255,0.5);
    }

    .jj-live-mobile-tab.active {
        color: var(--jj-gold-light);
    }
}

@media (max-width: 575.98px) {
    .jj-live-topbar {
        height: auto;
        min-height: 60px;
        padding: 10px 12px;
        gap: 10px;
    }

    .jj-live-topbar-left,
    .jj-live-topbar-right {
        gap: 10px;
    }

    .jj-live-viewer-count strong {
        font-size: 11px;
    }

    .jj-live-layout {
        padding: 10px 10px 62px;
        gap: 10px;
    }

    .jj-live-video-wrap {
        aspect-ratio: 16 / 10;
        min-height: 180px;
    }

    .jj-live-video-placeholder {
        padding: 20px 16px;
        gap: 10px;
    }

    .jj-live-video-placeholder p {
        font-size: 12px !important;
        line-height: 1.5;
    }

    .jj-live-placeholder-actions {
        gap: 8px;
    }

    .jj-live-video-placeholder .jj-live-source-tab,
    .jj-live-placeholder-actions .jj-live-source-tab {
        padding: 9px 12px;
        font-size: 11px;
    }

    .jj-live-chat-header h6,
    .jj-live-products-header h6 {
        font-size: 11px;
    }

    .jj-live-chat-messages {
        max-height: 180px;
    }

    .jj-live-chat-msg {
        font-size: 12px;
    }

    .jj-live-chat-input input {
        font-size: 13px;
        padding: 11px 14px;
    }

    .jj-live-product-card {
        min-width: 100%;
    }

    .jj-live-products-col:not(.jj-mobile-fullview) .jj-live-products-list {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
    }
}
