/* MitraJual — gaya terang ala JakartaNotebook (Jaknot) */
:root {
    --jn-orange: #e85d04;
    --jn-orange-dark: #c44e03;
    --jn-orange-light: #fff4ed;
    --jn-bg: #f5f6f8;
    --jn-white: #ffffff;
    --jn-text: #1a1d21;
    --jn-muted: #6b7280;
    --jn-border: #e5e7eb;
    --jn-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --jn-radius: 10px;
    --jn-max: 1200px;
    --mj-bottom-nav-h: 64px;
}

* { box-sizing: border-box; }

html,
body {
    overflow-x: hidden;
}

body.shop-body.jn-theme {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: var(--jn-bg);
    color: var(--jn-text);
    line-height: 1.5;
}

a { color: var(--jn-orange); }

.mj-bottom-nav,
.mj-mobile-tools,
.mj-cat-select {
    display: none;
}

/* Top bar */
.jn-top {
    background: var(--jn-text);
    color: #e5e7eb;
    font-size: 0.75rem;
}
.jn-top-inner, .jn-header-inner, .jn-main, .jn-trust-inner, .jn-footer-inner {
    max-width: var(--jn-max);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.jn-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    gap: 1rem;
}
.jn-top a { color: #fcd34d; text-decoration: none; }

/* Header */
.jn-header {
    background: var(--jn-white);
    border-bottom: 1px solid var(--jn-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--jn-shadow);
}
.jn-header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    flex-wrap: wrap;
}
.jn-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--jn-text);
    flex-shrink: 0;
}
.jn-logo-mark {
    background: linear-gradient(135deg, var(--jn-orange), var(--jn-orange-dark));
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jn-logo-text {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}
.jn-search {
    flex: 1;
    min-width: 200px;
    max-width: 520px;
    display: flex;
    border: 2px solid var(--jn-orange);
    border-radius: 8px;
    overflow: hidden;
}
.jn-search input {
    flex: 1;
    border: none;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    outline: none;
}
.jn-search button {
    background: var(--jn-orange);
    border: none;
    color: #fff;
    padding: 0 1rem;
    cursor: pointer;
    font-size: 1rem;
}
.jn-search button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.jn-cart-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 40px;
    padding: 0 0.85rem;
    border: 1px solid var(--jn-border);
    border-radius: 999px;
    color: var(--jn-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--jn-white);
}
.jn-cart-pill svg {
    width: 18px;
    height: 18px;
    fill: var(--jn-orange);
}
.jn-cart-pill:hover {
    border-color: rgba(232, 93, 4, 0.45);
    color: var(--jn-orange);
}
.jn-header-mini a {
    font-size: 0.85rem;
    color: var(--jn-muted);
    text-decoration: none;
    font-weight: 500;
}
.jn-header-mini a:hover { color: var(--jn-orange); }
.jn-btn-google {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    background: var(--jn-white);
    color: var(--jn-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--jn-shadow);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.jn-btn-google:hover {
    border-color: var(--jn-orange);
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.2);
}
.jn-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}
.jn-avatar { border-radius: 50%; object-fit: cover; }
.jn-user-name { font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jn-link-sm { color: var(--jn-muted); font-size: 0.8rem; }

.jn-main { padding-bottom: 2rem; }

/* Promo banner */
.jn-promo {
    position: relative;
    overflow: hidden;
    background: #fff;
    color: #fff;
    border-radius: 18px;
    padding: 0;
    margin: 1.25rem auto 0;
    max-width: calc(var(--jn-max) - 2rem);
    min-height: 178px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}
.jn-promo-track {
    display: flex;
    width: 300%;
    min-height: inherit;
    animation: mj-banner-slide 13s infinite;
}
.jn-promo-slide {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(130px, 0.8fr);
    align-items: center;
    min-width: 33.333%;
    min-height: inherit;
    padding: 1.1rem 1.25rem;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background:
        radial-gradient(circle at 82% 22%, rgba(255,255,255,0.25), transparent 24%),
        linear-gradient(112deg, #b84206 0%, #e85d04 50%, #ff9f45 100%);
}
.jn-promo-slide:nth-child(2) {
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2), transparent 24%),
        linear-gradient(112deg, #111827 0%, #374151 54%, #e85d04 100%);
}
.jn-promo-slide:nth-child(3) {
    background:
        radial-gradient(circle at 82% 20%, rgba(255,255,255,0.24), transparent 26%),
        linear-gradient(112deg, #0f766e 0%, #0f9f86 50%, #ff7a1a 100%);
}
.jn-promo-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}
.jn-promo h1 {
    display: -webkit-box;
    margin: 0.55rem 0 0.35rem;
    max-width: 560px;
    overflow: hidden;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    font-weight: 800;
    line-height: 1.15;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.jn-promo p { margin: 0; opacity: 0.95; font-size: 0.95rem; }
.jn-promo-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}
.jn-promo-product {
    position: relative;
    z-index: 2;
    justify-self: end;
    width: min(180px, 100%);
    aspect-ratio: 1;
    border-radius: 18px;
    padding: 0.45rem;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}
.jn-promo-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@keyframes mj-banner-slide {
    0%, 28% { transform: translateX(0); }
    34%, 62% { transform: translateX(-33.333%); }
    68%, 95% { transform: translateX(-66.666%); }
    100% { transform: translateX(0); }
}

/* Trust */
.jn-trust {
    background: var(--jn-white);
    border-bottom: 1px solid var(--jn-border);
    margin-top: 1rem;
}
.jn-trust-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    padding: 1rem 1rem;
}
.jn-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
}
.jn-trust-ico {
    width: 36px;
    height: 36px;
    background: var(--jn-orange-light);
    color: var(--jn-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.jn-trust-item strong { display: block; font-size: 0.8rem; }
.jn-trust-item small { color: var(--jn-muted); }

/* Section */
.jn-section {
    max-width: var(--jn-max);
    margin: 1.5rem auto 0;
    padding: 0 1rem;
}
.jn-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.jn-section-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    padding-left: 0.65rem;
    border-left: 4px solid var(--jn-orange);
}

/* Product grid */
.shop-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
a.shop-card-link { text-decoration: none; color: inherit; display: block; }
.shop-card {
    background: var(--jn-white);
    border-radius: var(--jn-radius);
    border: 1px solid var(--jn-border);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
a.shop-card-link:hover .shop-card {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(232, 93, 4, 0.35);
}
.shop-img-wrap {
    aspect-ratio: 1;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
    position: relative;
}
.jn-stock-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}
.jn-stock-badge.ok { background: #dcfce7; color: #166534; }
.jn-stock-badge.out { background: #fee2e2; color: #991b1b; }

.jn-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 0.9rem;
}
.jn-pager a {
    color: var(--jn-orange);
    font-weight: 600;
    text-decoration: none;
}

/* Kategori chips */
.jn-cats {
    max-width: var(--jn-max);
    margin: 1rem auto 0;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.jn-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: var(--jn-white);
    border: 1px solid var(--jn-border);
    color: var(--jn-text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 750;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
}
.jn-cat-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 20px;
    padding: 0 0.38rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--jn-muted);
    font-size: 0.7rem;
}
.jn-cat-chip.active, .jn-cat-chip:hover {
    border-color: var(--jn-orange);
    background: var(--jn-orange-light);
    color: var(--jn-orange-dark);
}
.jn-cat-chip.active span,
.jn-cat-chip:hover span {
    background: #fff;
    color: var(--jn-orange-dark);
}
.mj-cat-select {
    position: relative;
}
.mj-cat-select label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--jn-muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.mj-cat-picker {
    display: none;
}
.mj-cat-select select {
    width: 100%;
    height: 44px;
    border: 1px solid var(--jn-border);
    border-radius: 14px;
    background: var(--jn-white);
    color: var(--jn-text);
    padding: 0 2.2rem 0 0.85rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
}
.jn-cat-mini {
    font-size: 0.7rem;
    color: var(--jn-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.jn-img-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}

/* Halaman produk */
.jn-pdp {
    max-width: var(--jn-max);
    margin: 1.25rem auto;
    padding: 0 1rem;
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .jn-pdp { grid-template-columns: 1fr 1fr; align-items: start; }
}
.jn-pdp-main {
    background: #fff;
    border-radius: var(--jn-radius);
    border: 1px solid var(--jn-border);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}
.jn-pdp-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.jn-pdp-thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.jn-thumb {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 2px solid var(--jn-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}
.jn-thumb.active { border-color: var(--jn-orange); }
.jn-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jn-pdp-info h1 { margin: 0.35rem 0 0.75rem; font-size: 1.2rem; }
.jn-var-label { font-size: 0.85rem; font-weight: 600; margin: 1rem 0 0.5rem; }
.jn-variants { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jn-var-btn {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    background: var(--jn-white);
    text-decoration: none;
    color: var(--jn-text);
    font-size: 0.85rem;
}
.jn-var-btn.active { border-color: var(--jn-orange); background: var(--jn-orange-light); color: var(--jn-orange-dark); font-weight: 600; }
.jn-var-btn.disabled { opacity: 0.45; pointer-events: none; }

.jn-pdp-detail {
    max-width: var(--jn-max);
    margin: 1.25rem auto 2rem;
    padding: 1.25rem 1.5rem;
}
.jn-pdp-detail-title { margin: 0 0 1rem; font-size: 1.15rem; }
.jn-pdp-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem 1.5rem;
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    background: var(--jn-bg);
    border-radius: var(--jn-radius);
}
.jn-pdp-meta div { margin: 0; }
.jn-pdp-meta dt { font-size: 0.75rem; color: var(--jn-muted); margin: 0; }
.jn-pdp-meta dd { margin: 0.15rem 0 0; font-weight: 600; font-size: 0.9rem; }
.jn-pdp-block { margin-top: 1.25rem; }
.jn-pdp-block h3 { margin: 0 0 0.65rem; font-size: 1rem; color: var(--jn-orange-dark); }
.jn-pdp-html { font-size: 0.92rem; line-height: 1.6; color: var(--jn-text); }
.jn-pdp-html .h2, .jn-pdp-html h2 { font-size: 1rem; margin: 1rem 0 0.5rem; }
.jn-pdp-html .h3, .jn-pdp-html h3 { font-size: 0.95rem; margin: 0.75rem 0 0.35rem; }
.jn-pdp-html table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; }
.jn-pdp-html td, .jn-pdp-html th { padding: 0.5rem; vertical-align: top; border-bottom: 1px solid var(--jn-border); }
.jn-pdp-html img { max-width: 100%; height: auto; }
.jn-pdp-list { margin: 0; padding-left: 1.25rem; }
.jn-pdp-list li { margin: 0.35rem 0; }
.jn-spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.jn-spec-table th {
    text-align: left;
    width: 38%;
    padding: 0.55rem 0.75rem;
    background: var(--jn-bg);
    border: 1px solid var(--jn-border);
    font-weight: 600;
}
.jn-spec-table td {
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--jn-border);
}

.shop-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.shop-img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jn-orange-light);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--jn-orange);
    opacity: 0.5;
}
.shop-card-body {
    padding: 0.85rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.shop-card-body h2 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--jn-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}
.shop-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jn-orange);
    margin: 0.5rem 0 0.25rem;
}
.shop-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--jn-muted);
    margin-top: auto;
    padding-top: 0.5rem;
}
.shop-badge {
    font-size: 0.6rem;
    text-transform: uppercase;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    background: var(--jn-orange-light);
    color: var(--jn-orange);
}
.shop-badge.hub { background: #e0f2fe; color: #0369a1; }
.shop-badge.jakmall { background: #fef3c7; color: #b45309; }

.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--jn-orange);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    margin-top: 0.65rem;
    transition: background 0.15s;
}
.shop-btn:hover { background: var(--jn-orange-dark); color: #fff; }
.shop-btn-block { width: 100%; }
.shop-btn-secondary {
    background: var(--jn-white);
    color: var(--jn-text);
    border: 1px solid var(--jn-border);
}
.shop-btn-secondary:hover { background: var(--jn-bg); }

/* Checkout */
.shop-page-title { margin: 1.25rem 0 0.5rem; font-size: 1.35rem; }
.shop-muted { color: var(--jn-muted); font-size: 0.9rem; }
.shop-error {
    color: #b91c1c;
    background: #fef2f2;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 1rem;
    max-width: var(--jn-max);
}
.shop-notice {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
}
.shop-checkout {
    display: grid;
    gap: 1.25rem;
    max-width: var(--jn-max);
    margin: 0 auto;
    padding: 0 1rem 2rem;
}
@media (min-width: 768px) {
    .shop-checkout { grid-template-columns: 1fr 320px; align-items: start; }
}
.shop-form,
.shop-summary {
    padding: 1.5rem;
}
.shop-summary { position: sticky; top: 5.5rem; }
.shop-summary .shop-img-wrap { border-radius: var(--jn-radius); aspect-ratio: 4/3; }

.shop-form label {
    display: block;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--jn-muted);
}
.shop-form input, .shop-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}
.shop-form input:focus, .shop-form textarea:focus {
    outline: none;
    border-color: var(--jn-orange);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.auth-box {
    max-width: 420px;
    margin: 2rem auto;
    padding: 1.5rem;
}
.shop-link-back {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--jn-muted);
}

.shop-ok {
    max-width: 480px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background: var(--jn-white);
    border-radius: var(--jn-radius);
    box-shadow: var(--jn-shadow);
}

.jn-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--jn-muted);
    background: var(--jn-white);
    border-radius: var(--jn-radius);
    border: 1px dashed var(--jn-border);
}

/* Footer */
.jn-footer {
    background: var(--jn-white);
    border-top: 1px solid var(--jn-border);
    margin-top: 2rem;
    padding: 2rem 0 1rem;
}
.jn-footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}
.jn-footer a { text-decoration: none; color: var(--jn-muted); }
.jn-footer a:hover { color: var(--jn-orange); }
.jn-copy {
    text-align: center;
    font-size: 0.75rem;
    color: var(--jn-muted);
    border-top: 1px solid var(--jn-border);
    padding-top: 1rem;
    margin: 0 1rem;
}

/* Informasi aplikasi */
.mj-info-page {
    max-width: 980px;
    margin: 1.25rem auto 0;
    padding: 0 1rem;
}
.mj-info-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--jn-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 58%, #eff6ff 100%);
    padding: 1.35rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.mj-info-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: var(--jn-orange-light);
    color: var(--jn-orange-dark);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.mj-info-hero h1 {
    margin: 0.7rem 0 0.45rem;
    font-size: clamp(1.55rem, 6vw, 2.35rem);
    line-height: 1.1;
}
.mj-info-hero p {
    max-width: 640px;
    margin: 0;
    color: var(--jn-muted);
}
.mj-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}
.mj-info-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mj-info-card,
.mj-info-list > div {
    border: 1px solid var(--jn-border);
    border-radius: 16px;
    background: var(--jn-white);
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.mj-info-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--jn-orange);
    color: #fff;
    font-size: 0.9rem;
}
.mj-info-card h2,
.mj-info-list h2 {
    margin: 0.75rem 0 0.35rem;
    font-size: 1rem;
}
.mj-info-card p,
.mj-info-list p {
    margin: 0;
    color: var(--jn-muted);
    font-size: 0.9rem;
}
.mj-info-card a {
    display: inline-flex;
    margin-top: 0.8rem;
    text-decoration: none;
    font-weight: 800;
}
.mj-info-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}
.mj-service-note {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 0.8rem;
    align-items: start;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    background: #fff7ed;
}
.mj-service-note strong {
    color: var(--jn-orange-dark);
    font-size: 0.9rem;
}
.mj-service-note p {
    margin: 0;
    color: #7c2d12;
    font-size: 0.9rem;
}
.mj-info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}
.mj-info-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1rem;
    border-radius: 999px;
    background: var(--jn-text);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.86rem;
}

/* Marketplace polish */
.jn-top-links {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.jn-header-inner {
    gap: 0.85rem;
}

.jn-header-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.jn-admin-link {
    opacity: 0.55;
}

.jn-promo {
    margin-top: 0.85rem;
    min-height: 178px;
}

.jn-promo h1 {
    max-width: 650px;
    line-height: 1.18;
}

.jn-promo-side {
    width: min(260px, 100%);
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 10px;
    background: rgba(255,255,255,0.14);
}

.jn-promo-side strong,
.jn-promo-side span {
    display: block;
}

.jn-promo-side span {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    opacity: 0.92;
}

.jn-quick {
    max-width: var(--jn-max);
    margin: 0.75rem auto 0;
    padding: 0 1rem;
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.jn-quick a {
    display: inline-flex;
    flex: 0 0 112px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 86px;
    padding: 0.7rem 0.55rem;
    border: 1px solid var(--jn-border);
    border-radius: 16px;
    background: var(--jn-white);
    color: var(--jn-text);
    text-decoration: none;
    text-align: center;
    box-shadow: var(--jn-shadow);
}

.jn-quick::-webkit-scrollbar {
    display: none;
}

.jn-quick-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: var(--jn-orange-light);
    color: var(--jn-orange);
}

.jn-quick-ico svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.jn-quick strong {
    display: block;
    font-size: 0.78rem;
    line-height: 1.1;
}

.jn-cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.jn-cats::-webkit-scrollbar,
.jn-trust-inner::-webkit-scrollbar {
    display: none;
}

.jn-cat-chip {
    flex: 0 0 auto;
}

.shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.shop-card {
    border-radius: 8px;
}

.shop-img-wrap {
    padding: 0.45rem;
}

.jn-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    padding: 0.18rem 0.42rem;
    border-radius: 4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}

.shop-compare {
    margin: -0.1rem 0 0.2rem;
    color: #9ca3af;
    font-size: 0.76rem;
    text-decoration: line-through;
}

.shop-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.55rem;
    border-top: 1px solid #f1f2f4;
    color: var(--jn-muted);
    font-size: 0.72rem;
}

.shop-card-foot strong {
    color: var(--jn-orange);
    font-size: 0.72rem;
    white-space: nowrap;
}

.jn-search-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.4rem;
}

.mj-catalog-bar {
    display: contents;
}

.jn-search-head h1 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.15;
}

.jn-search-head p {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.45rem 0 0;
    padding: 0.32rem 0.6rem;
    border: 1px solid var(--jn-border);
    border-radius: 999px;
    background: var(--jn-white);
    color: var(--jn-muted);
    font-size: 0.84rem;
    font-weight: 650;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
}

.jn-search-head p strong {
    color: var(--jn-orange-dark);
}

.jn-result-kicker {
    display: inline-flex;
    margin-bottom: 0.3rem;
    color: var(--jn-orange);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jn-list-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
}

.jn-stock-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.jn-stock-toggle span {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #d1d5db;
    position: relative;
    transition: background-color 0.2s;
}

.jn-stock-toggle span::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.2s;
}

.jn-stock-toggle input:checked + span {
    background: #3b82f6;
}

.jn-stock-toggle input:checked + span::after {
    left: calc(100% - 22px);
}

.shop-grid.hide-stock-details .shop-stock-list {
    display: none !important;
}

.jn-sort-box {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #d8dbe1;
    border-radius: 10px;
    background: #fff;
    font-size: 0.9rem;
}

.jn-sort-box select {
    border: 0;
    min-width: 150px;
    background: transparent;
    font: inherit;
    color: var(--jn-muted);
}

.jn-listing-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
    align-items: start;
    margin-top: 1.25rem;
}

.jn-filter-panel {
    position: sticky;
    top: 92px;
    border: 1px solid var(--jn-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.jn-filter-panel h2 {
    margin: 0;
    padding: 1.2rem 1.25rem;
    font-size: 1.25rem;
}

.jn-filter-block {
    padding: 1.1rem 1.25rem;
    border-top: 1px solid var(--jn-border);
}

.jn-filter-block h3 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
}

.jn-filter-block label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.7rem 0;
    font-size: 0.92rem;
}

.jn-filter-block input[type='checkbox'] {
    width: 17px;
    height: 17px;
    accent-color: var(--jn-orange);
}

.jn-price-fields {
    display: grid;
    gap: 0.7rem;
}

.jn-price-fields span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.78rem 0.85rem;
    border: 1px solid #d8dbe1;
    border-radius: 8px;
}

.jn-price-fields input {
    width: 100%;
    border: 0;
    outline: 0;
    font: inherit;
}

.jn-listing-main {
    min-width: 0;
}

.jn-active-filter {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.jn-active-filter span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid #d8dbe1;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 0.84rem;
}

.jn-active-filter b {
    color: #9ca3af;
}

.jn-active-filter a {
    text-decoration: none;
    color: #3b82f6;
    font-weight: 600;
}

.shop-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.shop-price-row .shop-price {
    margin-bottom: 0.15rem;
}

.shop-rating {
    color: #fbbf24;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.shop-stock-list {
    margin-top: 0.75rem;
    border-top: 1px dashed #e5e7eb;
    color: var(--jn-muted);
    font-size: 0.72rem;
}

.shop-stock-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.42rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.shop-stock-list strong {
    color: #39a64a;
}

.shop-stock-list em {
    color: #9ca3af;
    font-style: normal;
}

@media (min-width: 900px) {
    .jn-pdp {
        grid-template-columns: minmax(520px, 1.15fr) minmax(360px, 0.85fr);
        gap: 1.25rem;
    }

    .jn-pdp-gallery {
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 0.75rem;
        align-items: start;
    }

    .jn-pdp-thumbs {
        order: -1;
        flex-direction: column;
        margin-top: 0;
        max-height: 560px;
        overflow-y: auto;
    }

    .jn-thumb {
        width: 58px;
        height: 58px;
    }
}

.jn-pdp-main {
    border-radius: 12px;
    background: #fff;
}

.jn-pdp-info {
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: none;
}

.jn-pdp-info h1 {
    font-size: 1.35rem;
    line-height: 1.28;
}

.jn-pdp-info .shop-price {
    font-size: 1.7rem;
}

.jn-var-label {
    padding-top: 1rem;
    border-top: 1px solid var(--jn-border);
}

.jn-variants {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--jn-border);
}

.jn-pdp-info .shop-btn {
    min-height: 44px;
}

.jn-pdp-detail {
    box-shadow: none;
}

@media (min-width: 1100px) {
    .shop-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 720px) {
    body.shop-body.jn-theme {
        background: #f2f4f7;
    }

    .jn-top {
        display: none;
    }

    .jn-main {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-bottom: calc(var(--mj-bottom-nav-h) + 1.25rem);
    }

    .jn-header {
        border-bottom: 0;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    }

    .jn-header-inner {
        padding-top: 0.72rem;
        padding-bottom: 0.78rem;
        gap: 0.65rem;
    }

    .jn-logo-mark {
        width: 36px;
        height: 36px;
    }

    .jn-logo-text {
        font-size: 1.05rem;
    }

    .jn-cart-pill {
        order: 2;
        width: 40px;
        height: 40px;
        padding: 0;
        margin-left: auto;
        justify-content: center;
        border-radius: 14px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    }

    .jn-cart-pill span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .jn-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        min-width: 0;
        border: 0;
        border-radius: 12px;
        background: #f3f4f6;
        box-shadow: inset 0 0 0 1px var(--jn-border);
    }

    .jn-search input {
        min-width: 0;
        padding: 0.66rem 0.82rem;
        background: transparent;
        font-size: 0.92rem;
    }

    .jn-search button {
        border-radius: 10px;
        margin: 3px;
        padding: 0 0.95rem;
    }

    .jn-header-mini {
        display: none;
    }

    .jn-admin-link {
        display: none;
    }

    .jn-header-actions {
        display: none;
    }

    .jn-trust {
        display: none;
    }

    .jn-trust-inner {
        display: flex;
        overflow-x: auto;
        gap: 0.65rem;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        scrollbar-width: none;
    }

    .jn-trust-item {
        min-width: 158px;
        padding: 0.55rem;
        border: 1px solid var(--jn-border);
        border-radius: 12px;
        background: var(--jn-white);
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    }

    .jn-promo {
        margin-top: 0.75rem;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        min-height: 154px;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(232, 93, 4, 0.13);
    }

    .jn-promo-track {
        min-height: 154px;
    }

    .jn-promo-slide {
        grid-template-columns: minmax(0, 1fr) 104px;
        padding: 0.85rem;
    }

    .jn-promo h1 {
        margin-top: 0.45rem;
        font-size: 1.08rem;
        -webkit-line-clamp: 2;
    }

    .jn-promo p {
        font-size: 0.78rem;
    }

    .jn-promo-tag {
        padding: 0.28rem 0.58rem;
        font-size: 0.68rem;
    }

    .jn-promo-product {
        width: 96px;
        border-radius: 14px;
        padding: 0.35rem;
    }

    .jn-promo-side {
        display: none;
    }

    .jn-quick {
        display: flex;
        gap: 0.52rem;
        overflow-x: auto;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0.15rem;
    }

    .jn-quick a {
        flex: 0 0 72px;
        min-height: 74px;
        padding: 0.52rem 0.35rem;
        border-radius: 16px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    }

    .jn-quick-ico {
        width: 34px;
        height: 34px;
        border-radius: 13px;
    }

    .jn-quick-ico svg {
        width: 18px;
        height: 18px;
    }

    .jn-quick strong {
        font-size: 0.68rem;
    }

    .jn-cats {
        display: none;
    }

    .mj-cat-select {
        display: block;
        width: 96px;
        height: 38px;
        margin: 0;
        padding: 0;
        justify-self: end;
        align-self: center;
    }

    .mj-cat-select label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .mj-cat-picker {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.32rem;
        width: 96px;
        height: 38px;
        border: 1px solid var(--jn-border);
        border-radius: 999px;
        background: var(--jn-orange-light);
        color: var(--jn-orange);
        font-size: 0.72rem;
        font-weight: 850;
        box-shadow: none;
        pointer-events: none;
    }

    .mj-cat-picker svg {
        width: 17px;
        height: 17px;
        fill: currentColor;
    }

    .mj-cat-select select {
        position: absolute;
        inset: 0;
        width: 96px;
        height: 38px;
        opacity: 0;
        cursor: pointer;
    }

    .jn-section {
        margin-top: 0.9rem;
    }

    .jn-search-head {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.62rem;
        margin-top: 0.75rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .mj-catalog-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 96px;
        align-items: center;
        gap: 0.55rem;
        width: 100%;
        padding: 0.72rem;
        border: 1px solid var(--jn-border);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    }

    .jn-result-title {
        min-width: 0;
    }

    .jn-search-head h1 {
        font-size: 1.08rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .jn-result-kicker {
        margin-bottom: 0.16rem;
        font-size: 0.58rem;
    }

    .jn-search-head p {
        margin-top: 0.2rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        font-size: 0.72rem;
    }

    .jn-list-toolbar {
        width: 100%;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .mj-mobile-tools {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
        width: 100%;
    }

    .mj-mobile-tools button {
        min-width: 0;
        height: 38px;
        border: 1px solid var(--jn-border);
        border-radius: 999px;
        background: var(--jn-white);
        color: #374151;
        font-weight: 750;
        box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
    }

    .jn-stock-toggle,
    .jn-sort-box {
        display: none;
    }

    .jn-listing-shell {
        display: block;
        margin-top: 0.5rem;
    }

    .jn-filter-panel {
        display: none;
    }
    
    .jn-filter-panel.is-active {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: #fff;
        overflow-y: auto;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
    }

    .jn-filter-panel.is-active #closeFilterBtn {
        display: block !important;
    }

    .jn-active-filter {
        min-height: 0;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.48rem;
    }

    .shop-card {
        overflow: hidden;
        border-color: #e8eaee;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    }

    .shop-img-wrap {
        background: #fff;
    }

    .shop-card-body {
        padding: 0.5rem 0.55rem 0.58rem;
    }

    .shop-card-body h2 {
        font-size: 0.74rem;
        min-height: 2.95em;
        line-height: 1.3;
    }

    .shop-price-row {
        align-items: flex-start;
    }

    .shop-price {
        font-size: 0.86rem;
        line-height: 1.22;
    }

    .shop-stock-list {
        display: none;
    }

    .jn-cat-mini {
        font-size: 0.58rem;
    }

    .jn-discount-badge,
    .jn-stock-badge,
    .jn-img-count {
        font-size: 0.64rem;
    }

    .mj-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 220;
        display: flex;
        align-items: center;
        justify-content: space-around;
        min-height: var(--mj-bottom-nav-h);
        height: calc(var(--mj-bottom-nav-h) + env(safe-area-inset-bottom));
        padding: 0.4rem 0.25rem calc(0.4rem + env(safe-area-inset-bottom));
        border-top: 1px solid var(--jn-border);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(10px);
    }

    .mj-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        flex: 1;
        color: #4b5563;
        font-size: 0.68rem;
        font-weight: 750;
        text-align: center;
        text-decoration: none;
        padding: 0.2rem 0.15rem;
        border-radius: 14px;
    }

    .mj-bottom-nav svg {
        width: 21px;
        height: 21px;
        fill: currentColor;
    }

    .mj-bottom-nav a.is-active {
        color: var(--jn-orange);
        background: var(--jn-orange-light);
    }

    .mj-info-page {
        margin-top: 0.8rem;
        padding: 0;
    }

    .mj-info-hero {
        border-radius: 18px;
        padding: 1rem;
    }

    .mj-info-grid,
    .mj-info-grid--two {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .mj-info-card,
    .mj-info-list > div {
        border-radius: 14px;
        padding: 0.85rem;
    }

    .mj-service-note {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        border-radius: 14px;
        padding: 0.85rem;
    }

    .mj-info-strip {
        gap: 0.45rem;
    }

    .mj-info-strip a {
        flex: 1;
        min-width: 138px;
    }

    .jn-pdp {
        margin: 0.75rem auto 1rem;
        padding: 0;
        gap: 0.7rem;
    }

    .jn-pdp-gallery {
        min-width: 0;
    }

    .jn-pdp-main {
        border-radius: 14px;
    }

    .jn-pdp-thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.45rem;
        margin-top: 0.45rem;
        padding-bottom: 0.2rem;
        scrollbar-width: none;
    }

    .jn-pdp-thumbs::-webkit-scrollbar {
        display: none;
    }

    .jn-thumb {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }

    .jn-pdp-info {
        padding: 0.85rem;
        border-radius: 14px;
    }

    .jn-pdp-info h1 {
        margin: 0.25rem 0 0.55rem;
        font-size: 1.02rem;
        line-height: 1.28;
    }

    .jn-pdp-info .shop-price {
        margin: 0.15rem 0;
        font-size: 1.28rem;
        line-height: 1.15;
    }

    .jn-pdp-info .shop-muted {
        font-size: 0.76rem;
    }

    .jn-var-label {
        margin: 0.8rem 0 0.45rem;
        padding-top: 0.75rem;
        font-size: 0.76rem;
    }

    .jn-variants {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.42rem;
        padding-bottom: 0.75rem;
        scrollbar-width: none;
    }

    .jn-variants::-webkit-scrollbar {
        display: none;
    }

    .jn-var-btn {
        flex: 0 0 auto;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 0.42rem 0.68rem;
        border-radius: 999px;
        font-size: 0.74rem;
    }

    .jn-pdp-info .shop-btn {
        min-height: 42px;
        border-radius: 12px;
        font-size: 0.86rem;
    }

    .jn-pdp-detail {
        margin: 0.8rem auto 1.2rem;
        padding: 0.9rem;
        border-radius: 14px;
    }

    .jn-pdp-detail-title {
        margin-bottom: 0.75rem;
        font-size: 1rem;
    }

    .jn-pdp-meta {
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
        padding: 0.65rem;
    }

    .jn-pdp-meta dt {
        font-size: 0.68rem;
    }

    .jn-pdp-meta dd {
        font-size: 0.78rem;
    }

    .jn-pdp-block {
        margin-top: 0.9rem;
    }

    .jn-pdp-block h3 {
        font-size: 0.88rem;
    }

    .jn-pdp-html,
    .jn-spec-table {
        font-size: 0.8rem;
        line-height: 1.55;
    }

    .jn-spec-table th,
    .jn-spec-table td,
    .jn-pdp-html td,
    .jn-pdp-html th {
        padding: 0.42rem;
    }

    .jn-footer {
        margin-top: 1rem;
        padding: 0.8rem 0 calc(var(--mj-bottom-nav-h) + 0.45rem);
        background: #fff;
    }

    .jn-footer-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem 1rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-bottom: 0.65rem;
    }

    .jn-footer-inner > div:first-child {
        flex: 0 0 100%;
    }

    .jn-footer-inner > div:not(:first-child) {
        flex: 1 1 120px;
    }

    .jn-footer-inner > div:first-child p {
        display: none;
    }

    .jn-footer strong {
        font-size: 0.82rem;
    }

    .jn-footer p {
        margin: 0.16rem 0;
        font-size: 0.76rem;
        line-height: 1.25;
    }

    .jn-footer-inner > div:last-child {
        display: none;
    }

    .jn-copy {
        margin: 0 0.75rem;
        padding-top: 0.55rem;
        font-size: 0.68rem;
    }

    .shop-form,
    .shop-summary {
        padding: 1rem;
    }
}

/* Dev: QR mobile + auth extras */
.mj-dev-page {
    display: flex;
    justify-content: center;
    padding: 1rem 0 2rem;
}
.mj-dev-card {
    max-width: 520px;
    width: 100%;
}
.mj-qr-wrap {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--jn-border);
    border-radius: var(--jn-radius);
}
.mj-dev-url {
    text-align: center;
    word-break: break-all;
    font-size: 0.9rem;
    margin: 0.75rem 0;
}
.mj-dev-url a {
    font-weight: 600;
}
.mj-dev-note {
    margin-top: 1.25rem;
    padding: 1rem;
    background: var(--jn-orange-light);
    border-radius: var(--jn-radius);
    font-size: 0.88rem;
}
.mj-dev-note ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}
.mj-dev-code-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}
.mj-dev-code-list li {
    margin: 0.35rem 0;
}
.mj-dev-code-list code {
    font-size: 0.78rem;
    word-break: break-all;
}
.auth-divider {
    text-align: center;
    margin: 1.25rem 0 0.75rem;
    font-size: 0.85rem;
}
.auth-dev-form label input {
    font-size: 0.9rem;
}
.auth-google-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin: 1rem 0;
}
.auth-google-wrap .g_id_signin {
    display: flex;
    justify-content: center;
}
.auth-google-hint {
    margin: 0;
    font-size: 0.82rem;
    text-align: center;
}
.mj-nav-avatar {
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.mj-account-card {
    max-width: 480px;
}
.mj-account-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.mj-account-avatar {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.mj-account-avatar--ph {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jn-orange-light);
    color: var(--jn-orange);
    font-size: 1.75rem;
    font-weight: 700;
}
.mj-account-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
}
