/* 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; }

.jn-site-head-spacer {
    display: none;
}

.jn-nav-kategori {
    display: none;
}

.jn-filter-form {
    display: contents;
}

.jn-auth-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0.35rem;
    color: var(--jn-text);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.jn-auth-link:hover {
    color: var(--jn-orange);
}

/* Header */
.jn-header {
    background: var(--jn-white);
    border-bottom: 1px solid var(--jn-border);
    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-logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 148px;
    object-fit: contain;
    border-radius: 10px;
    animation: jnLogoIn 0.55s ease both;
}
@keyframes jnLogoIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}
.jn-footer-logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 132px;
    object-fit: contain;
    border-radius: 10px;
}

/* PWA splash — animasi buka app */
.jn-pwa-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #003d6b;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.42s ease, visibility 0.42s ease;
    pointer-events: none;
}
.jn-pwa-splash.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.jn-pwa-splash.is-leaving {
    opacity: 0;
    visibility: hidden;
}
.jn-pwa-splash-glow {
    position: absolute;
    width: min(72vw, 320px);
    height: min(72vw, 320px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.35) 0%, rgba(255, 102, 0, 0) 70%);
    animation: jnSplashGlow 2.4s ease-in-out infinite;
}
.jn-pwa-splash-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 1.5rem;
    text-align: center;
}
.jn-pwa-splash-logo {
    width: min(42vw, 168px);
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    animation: jnSplashLogoIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both,
        jnSplashLogoPulse 2s ease-in-out 0.85s infinite;
}
.jn-pwa-splash-tag {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    animation: jnSplashFadeUp 0.7s ease 0.25s both;
}
.jn-pwa-splash-bar {
    width: min(52vw, 200px);
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    animation: jnSplashFadeUp 0.7s ease 0.4s both;
}
.jn-pwa-splash-bar span {
    display: block;
    height: 100%;
    width: 38%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff6600, #ffb347);
    animation: jnSplashBar 1.1s ease-in-out infinite;
}
@keyframes jnSplashLogoIn {
    from { opacity: 0; transform: scale(0.82) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes jnSplashLogoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
@keyframes jnSplashGlow {
    0%, 100% { transform: scale(1); opacity: 0.75; }
    50% { transform: scale(1.08); opacity: 1; }
}
@keyframes jnSplashBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}
@keyframes jnSplashFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
    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-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    min-width: 52px;
    text-decoration: none;
    color: var(--jn-text);
    flex-shrink: 0;
}
.jn-cart-icon-graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
}
.jn-cart-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--jn-orange);
}
.jn-cart-icon-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--jn-muted);
    line-height: 1;
    letter-spacing: 0.01em;
}
.jn-cart-icon:hover .jn-cart-icon-label {
    color: var(--jn-orange);
}
.jn-cart-icon .jn-cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
}
.jn-orders-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    min-width: 52px;
    text-decoration: none;
    color: var(--jn-text);
    flex-shrink: 0;
}
.jn-orders-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--jn-orange);
}
.jn-orders-icon-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--jn-muted);
    line-height: 1;
}
.jn-orders-icon:hover .jn-orders-icon-label {
    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%; width: 100%; 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.55; pointer-events: none; }
.jn-var-btn .jn-var-hint { display: block; font-size: 0.68rem; font-weight: 500; margin-top: 0.15rem; opacity: 0.9; }

.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;
}
.jn-checkout-lab-hint {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
}
.jn-link-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--jn-orange);
    cursor: pointer;
    text-decoration: underline;
}
.shop-notice-warn {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.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: linear-gradient(180deg, #fafbfc 0%, #f3f4f6 100%);
    border-top: 1px solid var(--jn-border);
    margin-top: 2.5rem;
    padding: 0;
}
.jn-footer-main {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) minmax(0, 2fr);
    gap: 2.5rem;
    padding: 2.25rem 1rem 1.75rem;
    max-width: var(--jn-max);
    margin: 0 auto;
}
.jn-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.jn-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--jn-text);
    width: fit-content;
}
.jn-footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--jn-orange);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.jn-footer-logo-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.jn-footer-tagline {
    margin: 0;
    max-width: 28ch;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--jn-muted);
}
.jn-footer-wa {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 0.15rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--jn-border);
    background: var(--jn-white);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--jn-text);
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.jn-footer-wa:hover {
    border-color: var(--jn-orange);
    color: var(--jn-orange-dark);
}
.jn-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.jn-footer-heading {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jn-text);
}
.jn-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.42rem;
}
.jn-footer-links a {
    text-decoration: none;
    color: var(--jn-muted);
    font-size: 0.86rem;
    transition: color 0.15s;
}
.jn-footer-links a:hover {
    color: var(--jn-orange-dark);
}
.jn-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
    padding: 0.9rem 1rem;
    border-top: 1px solid var(--jn-border);
    background: rgba(255, 255, 255, 0.72);
    max-width: 100%;
}
.jn-footer-copy,
.jn-footer-credit {
    margin: 0;
    font-size: 0.74rem;
    color: var(--jn-muted);
}
.jn-footer-credit a {
    color: var(--jn-orange-dark);
    font-weight: 600;
    text-decoration: none;
}
.jn-footer-credit a:hover {
    text-decoration: underline;
}
.jn-footer-apps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    max-width: var(--jn-max);
    margin: 0 auto;
    padding: 1.35rem 1rem 1.5rem;
    border-top: 1px solid var(--jn-border);
    background: rgba(255, 255, 255, 0.55);
}
.jn-footer-apps-copy {
    flex: 1 1 240px;
    max-width: 420px;
}
.jn-footer-apps-title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.jn-footer-apps-lead {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--jn-muted);
}
.jn-footer-apps-soon {
    margin: 0.55rem 0 0;
    font-size: 0.72rem;
    color: var(--jn-muted);
    font-style: italic;
}
.jn-pwa-install {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding: 0.48rem 0.9rem;
    border: 1px solid var(--jn-orange);
    border-radius: 999px;
    background: var(--jn-orange-light);
    color: var(--jn-orange-dark);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}
.jn-pwa-install svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.jn-pwa-install:hover {
    background: #ffe8d6;
}
.jn-pwa-install[hidden] {
    display: none !important;
}
.jn-store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}
.jn-store-badge {
    display: block;
    line-height: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.jn-store-badge:hover {
    transform: translateY(-2px);
}
.jn-store-badge.is-soon {
    opacity: 0.72;
    cursor: default;
}
.jn-store-badge.is-soon:hover {
    transform: none;
}
.jn-store-badge-svg {
    display: block;
    width: auto;
    height: 44px;
}
/* legacy alias */
.jn-footer-inner { display: contents; }
.jn-copy { display: none; }

/* 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-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 {
    display: none;
}

/* Kategori populer — bawah hero */
.jn-home-cats {
    max-width: var(--jn-max);
    margin: 1rem auto 0;
    padding: 0 1rem;
}

.jn-home-cats-inner {
    padding: 1rem 1.1rem 1.05rem;
    border: 1px solid var(--jn-border);
    border-radius: 18px;
    background: var(--jn-white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.jn-home-cats-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.jn-home-cats-kicker {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--jn-orange);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jn-home-cats-head h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.jn-home-cats-all {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.42rem 0.72rem;
    border: 1px solid var(--jn-border);
    border-radius: 999px;
    background: #fff;
    color: var(--jn-muted);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.jn-home-cats-all svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.jn-home-cats-all:hover {
    border-color: rgba(232, 93, 4, 0.45);
    color: var(--jn-orange);
}

.jn-home-cats-track {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.55rem 0.35rem;
}

.jn-home-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
    padding: 0.35rem 0.2rem 0.2rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--jn-text);
    text-align: center;
    transition: background-color 0.15s, transform 0.15s;
}

.jn-home-cat-item:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.jn-home-cat-item.is-active .jn-home-cat-ico {
    box-shadow: 0 0 0 2px var(--jn-orange), 0 8px 18px rgba(232, 93, 4, 0.22);
}

.jn-home-cat-item.is-active .jn-home-cat-label {
    color: var(--jn-orange-dark);
    font-weight: 800;
}

.jn-home-cat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.jn-home-cat-ico svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.jn-home-cat-ico--all {
    background: linear-gradient(145deg, #475569, #1e293b);
}

.jn-home-cat-ico--0 {
    background: linear-gradient(145deg, #fb923c, #ea580c);
}

.jn-home-cat-ico--1 {
    background: linear-gradient(145deg, #38bdf8, #0284c7);
}

.jn-home-cat-ico--2 {
    background: linear-gradient(145deg, #4ade80, #16a34a);
}

.jn-home-cat-ico--3 {
    background: linear-gradient(145deg, #c084fc, #9333ea);
}

.jn-home-cat-ico--4 {
    background: linear-gradient(145deg, #f472b6, #db2777);
}

.jn-home-cat-ico--5 {
    background: linear-gradient(145deg, #facc15, #ca8a04);
}

.jn-home-cat-label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.25;
    color: #374151;
}

.jn-home-cat-count {
    margin-top: -0.2rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--jn-muted);
}

.jn-home-cat-item.is-active .jn-home-cat-count {
    color: var(--jn-orange);
}

.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-filter-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 52px;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--jn-border);
    border-radius: 10px;
    background: var(--jn-white);
    color: var(--jn-text);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.jn-filter-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--jn-orange);
}

.jn-filter-btn:hover,
.jn-filter-btn[aria-expanded='true'] {
    border-color: rgba(232, 93, 4, 0.45);
    color: var(--jn-orange);
    background: var(--jn-orange-light);
}

.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: block;
    margin-top: 1.25rem;
    max-width: min(100%, 1440px);
    margin-left: auto;
    margin-right: auto;
}

.jn-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--jn-border);
}

.jn-filter-header h2 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.05rem;
}

.jn-filter-close {
    display: block;
    background: none;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--jn-muted);
    padding: 0.25rem 0.35rem;
}

.jn-filter-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
}

.jn-filter-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--jn-text);
    font-size: 0.84rem;
    line-height: 1.35;
}

.jn-filter-cat-link span {
    font-size: 0.72rem;
    color: var(--jn-muted);
    flex-shrink: 0;
}

.jn-filter-cat-link:hover {
    background: var(--jn-bg);
    color: var(--jn-orange-dark);
}

.jn-filter-cat-link.active {
    background: var(--jn-orange-light);
    color: var(--jn-orange-dark);
    font-weight: 700;
}

.jn-filter-apply {
    margin-top: 0.75rem;
    min-height: 38px;
    font-size: 0.88rem;
}

.jn-filter-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    z-index: 1200;
    max-height: 100vh;
    overflow-y: auto;
    border: 0;
    border-right: 1px solid var(--jn-border);
    border-radius: 0;
    background: #fff;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.14);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
}

.jn-filter-panel.is-active {
    display: block;
    transform: translateX(0);
}

.jn-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(15, 23, 42, 0.45);
}

body.jn-filter-open {
    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;
    }

    /* Grid 2 kolom hanya jika ada thumbnail — tanpa ini gambar utama terjepit 64px */
    .jn-pdp-gallery:has(.jn-pdp-thumbs) {
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 0.75rem;
        align-items: start;
    }

    .jn-pdp-gallery:has(.jn-pdp-thumbs) .jn-pdp-thumbs {
        order: -1;
        flex-direction: column;
        margin-top: 0;
        max-height: 560px;
        overflow-y: auto;
    }

    .jn-pdp-gallery:has(.jn-pdp-thumbs) .jn-thumb {
        width: 58px;
        height: 58px;
    }

    .jn-pdp-gallery:not(:has(.jn-pdp-thumbs)) .jn-pdp-main {
        width: 100%;
        min-height: 360px;
    }
}

.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:not(.jn-catalog-grid) {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Katalog listing — grid padat + kartu aksi */
.jn-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.jn-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jn-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: rgba(232, 93, 4, 0.35);
}

.shop-card-media {
    display: block;
    text-decoration: none;
    color: inherit;
}

.shop-card-title-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.shop-card-title-link h2 {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jn-catalog-grid .shop-card-body {
    padding: 0.5rem 0.55rem 0.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.25rem;
}

.jn-catalog-grid .shop-price-row {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.45rem;
}

.jn-catalog-grid .shop-price {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 800;
}

.jn-catalog-grid .shop-compare {
    font-size: 0.72rem;
    margin: 0;
}

.jn-catalog-grid .shop-rating {
    display: none;
}

.jn-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0.15rem 0 0.35rem;
    font-size: 0.68rem;
}

.jn-card-meta .jn-stock-badge {
    font-size: 0.65rem;
    padding: 0.12rem 0.4rem;
}

.jn-card-sku {
    color: var(--jn-muted);
    font-family: ui-monospace, monospace;
    font-size: 0.62rem;
}

.jn-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.4rem;
}

.jn-card-cart-form {
    display: flex;
    min-width: 0;
    margin: 0;
}

.jn-card-cart-form .jn-btn-cart-mini {
    flex: 1;
    width: 100%;
}

.jn-btn-cart-mini,
.jn-btn-buy-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.45rem 0.35rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    line-height: 1.15;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.jn-btn-cart-mini {
    background: #fff;
    border-color: var(--jn-border);
    color: var(--jn-text);
}

.jn-btn-cart-mini:hover {
    border-color: var(--jn-orange);
    color: var(--jn-orange-dark);
}

.jn-btn-buy-mini {
    background: var(--jn-orange);
    color: #fff;
    width: 100%;
}

.jn-btn-buy-mini:hover {
    background: var(--jn-orange-dark);
    color: #fff;
}

.jn-btn-buy-mini--solo {
    grid-column: 1 / -1;
}

.jn-card-oos {
    display: block;
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: 0.72rem;
    color: #b91c1c;
    font-weight: 600;
}

.jn-card-cart-form {
    margin: 0;
}

@media (min-width: 901px) and (max-width: 1199px) {
    .jn-home-cats-track {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 901px) {
    .jn-site-head {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        background: var(--jn-white);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }

    .jn-site-head-spacer {
        display: block;
    }

    .jn-header-inner {
        flex-wrap: nowrap;
        max-width: var(--jn-max);
        margin: 0 auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .jn-nav-kategori {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.12rem;
        flex-shrink: 0;
        min-width: 72px;
        height: 52px;
        padding: 0.35rem 0.55rem;
        border: 1px solid rgba(232, 93, 4, 0.35);
        border-radius: 10px;
        background: var(--jn-orange-light);
        color: var(--jn-orange-dark);
        font: inherit;
        font-size: 0.68rem;
        font-weight: 800;
        cursor: pointer;
        line-height: 1;
    }

    .jn-nav-kategori svg {
        width: 22px;
        height: 22px;
        fill: currentColor;
    }

    .jn-nav-kategori:hover,
    .jn-nav-kategori[aria-expanded='true'] {
        border-color: var(--jn-orange);
        background: #fff;
        color: var(--jn-orange);
    }

    .jn-search {
        flex: 1;
        max-width: none;
        min-width: 0;
    }

    .jn-header-actions {
        flex-shrink: 0;
    }

    .jn-user-name {
        max-width: 96px;
    }

    .jn-top-inner {
        max-width: var(--jn-max);
        margin: 0 auto;
    }

    .jn-filter-panel {
        z-index: 1300;
    }

    .jn-filter-backdrop {
        z-index: 1250;
    }
}

@media (min-width: 640px) {
    .jn-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .mj-cat-select {
        display: none;
    }

    .jn-search-head .jn-list-toolbar {
        margin-left: auto;
    }
}

@media (min-width: 1200px) {
    .jn-home-cats-track {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }

    .jn-catalog-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.7rem 0.55rem;
    }

    .jn-catalog-grid .shop-card-title-link h2 {
        font-size: 0.78rem;
    }

    .jn-btn-cart-mini,
    .jn-btn-buy-mini {
        font-size: 0.68rem;
        min-height: 30px;
    }
}

@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-site-head {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--jn-white);
    }

    .jn-site-head-spacer {
        display: none;
    }

    .jn-header-inner {
        flex-wrap: nowrap;
        align-items: center;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
        gap: 0.5rem;
    }

    .jn-logo {
        flex-shrink: 0;
    }

    .jn-logo-img {
        height: 38px;
        max-width: 120px;
    }

    .jn-logo-mark {
        width: 38px;
        height: 38px;
    }

    .jn-logo-text {
        display: none;
    }

    .jn-cart-icon {
        order: unset;
        margin-left: 0;
        flex-shrink: 0;
        min-width: 40px;
        gap: 0;
    }

    .jn-cart-icon-graphic {
        width: 40px;
        height: 40px;
    }

    .jn-cart-icon svg {
        width: 22px;
        height: 22px;
    }

    .jn-cart-icon-label {
        display: none;
    }

    .jn-orders-icon {
        display: none;
    }

    .jn-search {
        order: unset;
        flex: 1;
        flex-basis: auto;
        max-width: none;
        min-width: 0;
        height: 40px;
        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-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-cats {
        display: none;
    }

    .jn-home-cats {
        margin-top: 0.75rem;
        padding-left: 0;
        padding-right: 0;
    }

    .jn-home-cats-inner {
        padding: 0.85rem 0.75rem 0.8rem;
        border-radius: 16px;
    }

    .jn-home-cats-head h2 {
        font-size: 0.95rem;
    }

    .jn-home-cats-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.45rem;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 0.15rem;
        margin: 0 -0.15rem;
        padding-left: 0.15rem;
        padding-right: 0.15rem;
    }

    .jn-home-cats-track::-webkit-scrollbar {
        display: none;
    }

    .jn-home-cat-item {
        flex: 0 0 78px;
        padding: 0.2rem 0.1rem;
    }

    .jn-home-cat-ico {
        width: 52px;
        height: 52px;
    }

    .jn-home-cat-ico svg {
        width: 23px;
        height: 23px;
    }

    .jn-home-cat-label {
        font-size: 0.66rem;
    }

    .jn-quick {
        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;
        min-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);
    }

    .mj-mobile-tools .jn-filter-btn {
        border-radius: 12px;
    }

    .jn-list-toolbar .jn-filter-btn {
        display: none;
    }

    .jn-stock-toggle,
    .jn-sort-box {
        display: none;
    }

    .jn-listing-shell {
        margin-top: 0.5rem;
    }

    .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.48rem 0.5rem 0.52rem;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .shop-card-body h2 {
        font-size: 0.72rem;
        min-height: 2.6em;
        line-height: 1.28;
        margin: 0.12rem 0 0;
    }

    .jn-catalog-grid .shop-card-body {
        padding: 0.45rem 0.48rem 0.5rem;
    }

    .jn-catalog-grid .shop-price {
        font-size: 0.82rem;
    }

    .jn-card-meta {
        margin: 0.05rem 0 0.15rem;
    }

    .jn-card-actions {
        gap: 0.35rem;
        padding-top: 0.35rem;
    }

    .jn-btn-cart-mini,
    .jn-btn-buy-mini {
        min-height: 32px;
        padding: 0.38rem 0.2rem;
        font-size: 0.64rem;
        border-radius: 7px;
    }

    .jn-btn-buy-mini--solo {
        grid-column: 1 / -1;
    }

    .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-bottom: calc(var(--mj-bottom-nav-h) + 0.35rem);
        background: #f8f9fb;
    }

    .jn-footer-main {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        padding: 1.35rem 0.85rem 1rem;
    }

    .jn-footer-tagline {
        font-size: 0.8rem;
        max-width: none;
    }

    .jn-footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.75rem;
    }

    .jn-footer-col:last-child {
        grid-column: 1 / -1;
    }

    .jn-footer-heading {
        font-size: 0.68rem;
        margin-bottom: 0.45rem;
    }

    .jn-footer-links a {
        font-size: 0.8rem;
    }

    .jn-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 0.85rem;
        gap: 0.35rem;
    }

    .jn-footer-copy,
    .jn-footer-credit {
        font-size: 0.68rem;
    }

    .jn-footer-apps {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.1rem 0.85rem 1.15rem;
        gap: 0.9rem;
    }

    .jn-store-badges {
        width: 100%;
    }

    .jn-store-badge-svg {
        height: 40px;
    }

    .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;
}
.mj-account-ship {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
}

/* Keranjang + badge */
.jn-cart-icon { position: relative; }
.jn-cart-badge,
.mj-nav-badge {
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    min-width: 1.1rem;
    padding: 0.2rem 0.35rem;
    border-radius: 999px;
    background: var(--jn-orange);
    color: #fff;
    text-align: center;
}
.mj-bottom-nav a { position: relative; }
.mj-nav-badge {
    position: absolute;
    top: 0.15rem;
    right: calc(50% - 1.35rem);
}

/* PDP — JakartaNotebook style */
.jn-breadcrumb {
    max-width: var(--jn-max);
    margin: 0.75rem auto 0;
    padding: 0 1rem;
    font-size: 0.78rem;
    color: var(--jn-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}
.jn-breadcrumb a { color: var(--jn-orange); text-decoration: none; }
.jn-pdp-sku-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.82rem;
    color: var(--jn-muted);
    margin: 0 0 0.75rem;
}
.jn-pdp-rating { color: #f59e0b; font-weight: 700; }
.jn-pdp-dot { opacity: 0.5; }
.jn-pdp-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}
.jn-pdp-price-row .shop-price { margin: 0; font-size: 1.45rem; }
.jn-pdp-price-row .shop-compare { margin: 0; }
.jn-discount-badge.sm { font-size: 0.72rem; padding: 0.15rem 0.4rem; }
.jn-pdp-stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
    font-size: 0.85rem;
}
.jn-pdp-stock-label { font-weight: 600; color: var(--jn-muted); }
.jn-stock-badge.out { background: #fee2e2; color: #b91c1c; }
.jn-warehouse-panel { margin: 0.75rem 0 1rem; }
.jn-warehouse-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.jn-warehouse-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    background: #fff;
    font-size: 0.85rem;
}
.jn-warehouse-row.out { opacity: 0.72; }
.jn-warehouse-name { font-weight: 500; }
.jn-warehouse-pick {
    margin: 1rem 0;
    padding: 0;
    border: none;
}
.jn-warehouse-hint { margin: 0 0 0.5rem; font-size: 0.82rem; }
.jn-warehouse-options { display: flex; flex-direction: column; gap: 0.5rem; }
.jn-warehouse-opt {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
}
.jn-warehouse-opt:has(input:checked) {
    border-color: var(--brand, #0ea5e9);
    box-shadow: 0 0 0 1px var(--brand, #0ea5e9);
}
.jn-warehouse-opt input { margin-top: 0.2rem; }
.jn-warehouse-opt-body { display: flex; flex-direction: column; gap: 0.15rem; }
.jn-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
}
.jn-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.jn-qty-btn {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: var(--jn-bg);
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--jn-text);
}
.jn-qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.jn-qty input,
.jn-qty-val {
    width: 2.5rem;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    background: transparent;
}
.jn-qty input { -moz-appearance: textfield; }
.jn-qty input::-webkit-outer-spin-button,
.jn-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.jn-pdp-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin: 1rem 0;
}
.jn-btn-cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.jn-btn-cart svg { fill: currentColor; }
.jn-pdp-counter {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.72rem;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}
.jn-pdp-main { position: relative; }
.jn-pdp-tabs {
    max-width: var(--jn-max);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    border-bottom: 1px solid var(--jn-border);
}
.jn-pdp-tabs a {
    padding: 0.65rem 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--jn-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.jn-pdp-tabs a:hover { color: var(--jn-orange); }
.jn-pdp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.5rem;
}
.jn-pdp-gallery-item {
    padding: 0;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    aspect-ratio: 1;
}
.jn-pdp-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.jn-pdp-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    transform: translateY(110%);
    transition: transform 0.2s ease;
    pointer-events: none;
}
.jn-pdp-sticky.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}
.jn-pdp-sticky-inner {
    max-width: var(--jn-max);
    margin: 0 auto;
    padding: 0.55rem 1rem;
    background: #fff;
    border-top: 1px solid var(--jn-border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.jn-pdp-sticky-price { display: flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; }
.jn-pdp-sticky-actions {
    display: flex;
    gap: 0.45rem;
}
.jn-pdp-sticky-actions .shop-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    min-height: auto;
}
@media (min-width: 900px) {
    .jn-pdp-sticky { display: none; }
    .jn-pdp-actions { grid-template-columns: 1fr 1.2fr; }
}

/* Halaman keranjang */
.jn-cart-page {
    max-width: var(--jn-max);
    margin: 1rem auto 2rem;
    padding: 0 1rem;
}
.jn-cart-head { margin-bottom: 1rem; }
.jn-cart-layout {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 900px) {
    .jn-cart-layout { grid-template-columns: 1fr 320px; align-items: start; }
}
.jn-cart-lines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}
.jn-cart-line.shop-card {
    display: grid;
    height: auto;
    min-height: 0;
}
.jn-cart-summary.shop-card {
    height: auto;
    padding: 1rem 1.1rem;
}
.jn-cart-summary h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}
.jn-cart-line {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: start;
    margin-bottom: 0;
    padding: 0.75rem;
}
.jn-cart-line-img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--jn-border);
    flex-shrink: 0;
}
.jn-cart-line-img img,
.jn-cart-line-img .shop-img-ph { width: 100%; height: 100%; object-fit: cover; }
.jn-cart-line-body { min-width: 0; }
.jn-cart-line-body h2 { margin: 0; font-size: 0.92rem; line-height: 1.35; }
.jn-cart-line-body h2 a { color: inherit; text-decoration: none; }
.jn-cart-line-actions { text-align: right; }
.jn-cart-qty { margin-bottom: 0.35rem; }
.jn-cart-line-total { font-weight: 700; font-size: 0.9rem; margin: 0.25rem 0; }
.jn-cart-remove {
    border: none;
    background: none;
    color: var(--jn-muted);
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0.25rem 0;
}
.jn-cart-sum-rows {
    margin: 0 0 1rem;
}
.jn-cart-sum-rows div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.jn-cart-sum-rows dd { margin: 0; font-weight: 700; }
.jn-cart-ship-note {
    margin: -0.35rem 0 0.85rem;
    font-size: 0.8125rem;
    line-height: 1.45;
}
.jn-cart-summary .shop-btn-block + .shop-btn-block {
    margin-top: 0.5rem;
}
.jn-cart-empty { padding: 2rem; text-align: center; }

@media (max-width: 899px) {
    body:has(.jn-cart-page) .jn-footer {
        display: none;
    }

    body:has(.jn-cart-page) .jn-main {
        padding-bottom: calc(var(--mj-bottom-nav-h) + 0.75rem);
    }

    .jn-cart-page {
        margin-top: 0.5rem;
        margin-bottom: 0.75rem;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .jn-cart-layout {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .jn-cart-lines {
        order: 1;
        width: 100%;
    }

    .jn-cart-summary {
        order: 2;
        width: 100%;
        position: sticky;
        bottom: calc(var(--mj-bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 0.35rem);
        z-index: 12;
        box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.1);
    }

    .jn-cart-line {
        grid-template-columns: 76px minmax(0, 1fr);
        grid-template-areas:
            "img body"
            "actions actions";
        gap: 0.65rem 0.75rem;
        padding: 0.7rem;
    }

    .jn-cart-line-img {
        grid-area: img;
        width: 76px;
        height: 76px;
    }

    .jn-cart-line-body {
        grid-area: body;
    }

    .jn-cart-line-body h2 {
        font-size: 0.84rem;
    }

    .jn-cart-line-body h2 a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .jn-cart-line-actions {
        grid-area: actions;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.35rem 0.75rem;
        width: 100%;
        text-align: left;
        padding-top: 0.45rem;
        border-top: 1px solid var(--jn-border);
    }

    .jn-cart-qty {
        margin-bottom: 0;
    }

    .jn-cart-line-total {
        margin: 0;
        font-size: 0.95rem;
    }
}
.jn-checkout-line {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}
.jn-checkout-thumb { width: 56px; height: 56px; }

/* Checkout + ongkir */
.jn-checkout-page { max-width: var(--jn-max); margin: 0 auto; }
.jn-checkout-alert { margin: 0 1rem 0.75rem; }
.jn-checkout-title { margin-top: 0; }
.jn-checkout-lead { margin: -0.35rem 0 1rem; font-size: 0.88rem; }
.jn-checkout-auth { margin-bottom: 1rem; }
.jn-checkout-hint { margin-top: 0.65rem; font-size: 0.82rem; }
.jn-submit-hint { margin: 0.55rem 0 0; font-size: 0.82rem; line-height: 1.45; }
.jn-submit-hint.is-error { color: #b91c1c; font-weight: 500; }
.jn-submit-hint.is-ok { color: #166534; }
.jn-checkout-submit--pending { opacity: 0.72; }
.jn-checkout-submit--ready { opacity: 1; }
.jn-checkout-submit--busy { opacity: 0.65; pointer-events: none; }
.jn-region-hint { margin: -0.5rem 0 0.85rem; font-size: 0.8rem; min-height: 1.1em; }

/* Wilayah autocomplete */
.jn-region-picker { position: relative; margin-bottom: 0.85rem; }
.jn-region-search-label { display: block; margin-bottom: 0.35rem; font-size: 0.88rem; font-weight: 600; }
.jn-region-search-input {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
}
.jn-region-search-hint { margin: 0.25rem 0 0.5rem; font-size: 0.78rem; line-height: 1.35; }
.jn-region-dropdown {
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    max-height: 14rem;
    overflow-y: auto;
    margin-top: 0.15rem;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.jn-region-option {
    display: block;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    text-align: left;
    font-size: 0.84rem;
    line-height: 1.35;
    cursor: pointer;
    color: var(--jn-text);
}
.jn-region-option:last-child { border-bottom: 0; }
.jn-region-option:hover,
.jn-region-option.is-active { background: var(--jn-orange-light); }
.jn-region-option-label { display: block; }
.jn-region-selected {
    margin: 0.35rem 0 0.65rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    background: #f8fafc;
}
.jn-region-selected.is-hidden { display: none; }
.jn-region-selected-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    font-size: 0.82rem;
}
.jn-region-change-btn {
    border: 0;
    background: transparent;
    color: var(--jn-orange);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
.jn-region-parts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
    margin: 0;
    font-size: 0.8rem;
}
.jn-region-parts div { display: contents; }
.jn-region-parts dt { margin: 0; color: var(--jn-muted); font-weight: 500; }
.jn-region-parts dd { margin: 0; font-weight: 600; color: var(--jn-text); }
.jn-region-parts-full { grid-column: 1 / -1; display: block !important; }
.jn-region-parts-full dt { display: inline; margin-right: 0.35rem; }
.jn-region-parts-full dd { display: inline; margin: 0; }
.jn-shipping-box {
    margin: 0.5rem 0 1rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--jn-border);
    border-radius: 10px;
    background: #fafbfc;
}
.jn-shipping-head { margin: 0 0 0.35rem; font-size: 0.92rem; }
.jn-shipping-status { margin: 0 0 0.65rem; font-size: 0.82rem; color: var(--jn-muted); }
.jn-shipping-status.is-loading { color: var(--jn-orange); }
.jn-shipping-status.is-ok { color: #166534; }
.jn-shipping-status.is-error { color: #b91c1c; }
.jn-courier-list { display: flex; flex-direction: column; gap: 0.45rem; }
.jn-courier-opt {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--jn-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.jn-courier-opt:has(input:checked) {
    border-color: var(--jn-orange);
    background: var(--jn-orange-light);
}
.jn-courier-opt input { margin-top: 0.2rem; flex-shrink: 0; }
.jn-courier-opt-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.84rem;
    line-height: 1.3;
}
.jn-courier-opt-body em { font-style: normal; font-weight: 700; color: var(--jn-text); }
.jn-summary-title { font-size: 1rem; margin: 0 0 1rem; }
.jn-checkout-line-name { margin: 0; font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.jn-checkout-line-meta { margin: 0.2rem 0 0; font-size: 0.82rem; }
.jn-checkout-totals { margin: 1rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--jn-border); }
.jn-checkout-total-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
}
.jn-checkout-total-row dt { margin: 0; font-weight: 500; color: var(--jn-muted); }
.jn-checkout-total-row dd { margin: 0; font-weight: 600; }
.jn-checkout-total-grand { margin-top: 0.35rem; padding-top: 0.45rem; border-top: 1px dashed var(--jn-border); }
.jn-checkout-total-grand dt,
.jn-checkout-total-grand dd { font-size: 0.95rem; color: var(--jn-text); }
.jn-checkout-multi-hint { margin: 0.75rem 0 0; font-size: 0.78rem; }
.jn-done-icon { font-size: 3rem; color: var(--jn-orange); }
.jn-done-title { margin: 0.5rem 0; }
.jn-done-total { margin: 0.75rem 0 0.25rem; }
.jn-done-msg { max-width: 28rem; margin: 0.75rem auto; }
.jn-done-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }

@media (max-width: 899px) {
    body:has(.jn-checkout-page) .jn-footer { display: none; }
    .jn-checkout-page .shop-checkout { padding-bottom: 0.5rem; }
    .shop-summary { position: static; }
    .shop-checkout { display: flex; flex-direction: column; gap: 1rem; }
}

/* Toast keranjang */
.jn-toast {
    position: fixed;
    left: 50%;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(12px);
    z-index: 60;
    max-width: min(92vw, 360px);
    padding: 0.75rem 1.1rem;
    border-radius: 10px;
    background: #14532d;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.jn-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
@media (min-width: 900px) {
    .jn-toast { bottom: 2rem; }
}

/* Produk terkait PDP — desktop 6 kolom × 6 baris (ala JakartaNotebook) */
.jn-pdp-related {
    max-width: min(100%, 1440px);
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}
.jn-pdp-related-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}
.jn-pdp-related-head .jn-pdp-detail-title { margin: 0; }
.jn-pdp-related-head .shop-link-back { margin: 0; font-size: 0.85rem; }
.jn-pdp-related .shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}
.jn-pdp-related .shop-card-body { padding: 0.55rem 0.65rem 0.75rem; }
.jn-pdp-related .shop-card-body h2 {
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jn-pdp-related .shop-price { font-size: 0.88rem; }
.jn-pdp-related .shop-compare { font-size: 0.72rem; }
.jn-pdp-related .jn-cat-mini { font-size: 0.65rem; }
.jn-pdp-related .shop-rating { font-size: 0.68rem; }
.jn-pdp-related .jn-discount-badge { font-size: 0.65rem; padding: 0.1rem 0.35rem; }
@media (min-width: 640px) {
    .jn-pdp-related .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .jn-pdp-related .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
}
@media (min-width: 1200px) {
    .jn-pdp-related { padding: 0 1.25rem; }
    .jn-pdp-related .shop-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.85rem 0.65rem;
    }
    .jn-pdp-related .shop-card-body h2 { font-size: 0.82rem; }
    .jn-pdp-related .shop-price { font-size: 0.92rem; }
}

/* Pesanan — status & riwayat */
.jn-orders-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
}
.jn-orders-page--done {
    padding-top: 1.5rem;
}
.jn-orders-head {
    margin-bottom: 1.25rem;
}
.jn-orders-title {
    margin: 0;
    font-size: clamp(1.35rem, 4vw, 1.6rem);
    font-weight: 700;
    line-height: 1.25;
}
.jn-orders-lead {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    color: var(--jn-muted);
}
.jn-orders-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}
.jn-orders-section-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}
.jn-orders-section-meta {
    font-size: 0.75rem;
    color: var(--jn-muted);
}
.jn-orders-recent {
    margin-bottom: 1rem;
}
.jn-orders-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.jn-orders-recent-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 0.15rem 0.75rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.jn-orders-recent-card:hover {
    border-color: rgba(232, 93, 4, 0.35);
    box-shadow: 0 4px 16px rgba(232, 93, 4, 0.08);
}
.jn-orders-recent-ref {
    grid-column: 1;
    font-family: ui-monospace, monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--jn-text);
}
.jn-orders-recent-sku {
    grid-column: 1;
    font-size: 0.8rem;
}
.jn-orders-recent-total {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--jn-orange-dark);
}
.jn-orders-recent-cta {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--jn-orange);
}
.jn-orders-tip {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    font-size: 0.88rem;
}
.jn-orders-tip p {
    margin: 0 0 0.5rem;
}
.jn-orders-tip p:last-child {
    margin-bottom: 0;
}
.jn-orders-search {
    margin-bottom: 1rem;
    padding: 1.1rem 1.15rem;
}
.jn-orders-search-lead {
    margin: 0.25rem 0 0.85rem;
    font-size: 0.84rem;
}
.jn-orders-form {
    padding: 0;
}
.jn-orders-alert {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-color: #fecaca;
    background: #fef2f2;
}
.jn-orders-alert-text {
    margin: 0;
    font-size: 0.88rem;
    color: #991b1b;
    font-weight: 500;
}
.jn-order-result {
    padding: 0;
    overflow: hidden;
}
.jn-order-status-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-bottom: 1px solid var(--jn-border);
}
.jn-order-status-head--danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
}
.jn-order-status-head--muted {
    background: #f9fafb;
}
.jn-order-status-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--jn-shadow);
    position: relative;
}
.jn-order-status-icon::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}
.jn-order-status-icon--ok {
    color: #16a34a;
}
.jn-order-status-icon--ok::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.5 16.2 5.8 12.5l-1.4 1.4 5.1 5.1 11-11-1.4-1.4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.5 16.2 5.8 12.5l-1.4 1.4 5.1 5.1 11-11-1.4-1.4z'/%3E%3C/svg%3E");
}
.jn-order-status-icon--ship {
    color: var(--jn-orange);
}
.jn-order-status-icon--ship::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4ZM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5Zm13 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5ZM17 8V6h2.5l1.5 2H17Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4ZM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5Zm13 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5ZM17 8V6h2.5l1.5 2H17Z'/%3E%3C/svg%3E");
}
.jn-order-status-icon--warn {
    color: #dc2626;
}
.jn-order-status-icon--warn::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2 1 21h22L12 2Zm0 4.5L18.5 19h-13L12 6.5ZM11 10v4h2v-4h-2Zm0 6v2h2v-2h-2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2 1 21h22L12 2Zm0 4.5L18.5 19h-13L12 6.5ZM11 10v4h2v-4h-2Zm0 6v2h2v-2h-2Z'/%3E%3C/svg%3E");
}
.jn-order-status-label {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}
.jn-order-status-hint {
    margin: 0.3rem 0 0;
    font-size: 0.84rem;
    color: var(--jn-muted);
    line-height: 1.45;
}
.jn-order-steps {
    list-style: none;
    margin: 0;
    padding: 1rem 1.15rem 0.35rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
}
.jn-order-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    position: relative;
}
.jn-order-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 7px;
    left: calc(50% + 10px);
    width: calc(100% - 20px);
    height: 2px;
    background: var(--jn-border);
    z-index: 0;
}
.jn-order-step--done:not(:last-child)::after {
    background: #86efac;
}
.jn-order-step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--jn-border);
    background: #fff;
    position: relative;
    z-index: 1;
}
.jn-order-step--done .jn-order-step-dot {
    border-color: #22c55e;
    background: #22c55e;
}
.jn-order-step--active .jn-order-step-dot {
    border-color: var(--jn-orange);
    background: var(--jn-orange);
    box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.18);
}
.jn-order-step-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--jn-muted);
    line-height: 1.25;
}
.jn-order-step--done .jn-order-step-label,
.jn-order-step--active .jn-order-step-label {
    color: var(--jn-text);
}
.jn-order-detail,
.jn-order-shipping {
    padding: 0.85rem 1.15rem 0;
}
.jn-order-shipping {
    padding-bottom: 0.25rem;
    margin-top: 0.35rem;
    border-top: 1px dashed var(--jn-border);
    padding-top: 1rem;
}
.jn-order-detail-title {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--jn-muted);
}
.jn-order-kv {
    margin: 0;
}
.jn-order-kv-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.45rem 0;
    font-size: 0.88rem;
    border-bottom: 1px solid #f3f4f6;
}
.jn-order-kv-row:last-child {
    border-bottom: 0;
}
.jn-order-kv-row dt {
    margin: 0;
    font-weight: 500;
    color: var(--jn-muted);
    flex-shrink: 0;
}
.jn-order-kv-row dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}
.jn-order-kv-row--grand {
    margin-top: 0.25rem;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--jn-border);
    border-bottom: 0;
    font-size: 0.95rem;
}
.jn-order-kv-row--grand dt,
.jn-order-kv-row--grand dd {
    color: var(--jn-text);
}
.jn-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.92em;
    letter-spacing: 0.01em;
}
.jn-order-awb {
    color: var(--jn-orange-dark);
    font-size: 0.95rem;
}
.jn-order-track-btn {
    margin-top: 0.85rem;
}
.jn-order-help {
    margin: 0;
    padding: 0.85rem 1.15rem 1.1rem;
    font-size: 0.82rem;
    border-top: 1px solid var(--jn-border);
    background: #fafbfc;
}
.jn-payment-box {
    margin: 1rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid #fde68a;
    background: #fffbeb;
    border-radius: 12px;
    text-align: left;
}
.jn-payment-total {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.05rem;
}
.jn-payment-banks {
    list-style: none;
    margin: 0.75rem 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}
.jn-payment-banks li {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--jn-border, #e5e7eb);
}
.jn-order-done {
    padding: 2rem 1.5rem;
    text-align: center;
}
.jn-order-done .jn-payment-box {
    text-align: left;
    margin-top: 1.25rem;
}
.jn-order-done-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--jn-orange-light);
    color: var(--jn-orange);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jn-order-done-title {
    margin: 0.85rem 0 0;
    font-size: 1.45rem;
}
.jn-order-done-ref {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    color: var(--jn-muted);
    line-height: 1.5;
}
.jn-order-done-ref strong {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 1rem;
    color: var(--jn-text);
}
.jn-order-done-total {
    margin: 0.75rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--jn-orange-dark);
}
.jn-order-done-ship {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
}
.jn-order-done-msg {
    max-width: 22rem;
    margin: 1rem auto 0;
    font-size: 0.88rem;
    line-height: 1.55;
}
.jn-order-done-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.jn-order-done-note {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
}
@media (min-width: 640px) {
    .jn-orders-page {
        padding-top: 1.5rem;
    }
    .jn-order-step-label {
        font-size: 0.68rem;
    }
}
@media (max-width: 380px) {
    .jn-order-step-label {
        font-size: 0.58rem;
    }
}

.jn-orders-list-wrap {
    margin-bottom: 1rem;
}
.jn-orders-list {
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.jn-order-list-card {
    display: block;
    padding: 0.9rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.jn-order-list-card:hover,
.jn-order-list-card.is-active {
    border-color: rgba(232, 93, 4, 0.45);
    box-shadow: 0 4px 16px rgba(232, 93, 4, 0.1);
}
.jn-order-list-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
.jn-order-list-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    background: #eff6ff;
    color: #1d4ed8;
}
.jn-order-list-badge--ok {
    background: #ecfdf5;
    color: #047857;
}
.jn-order-list-badge--danger {
    background: #fef2f2;
    color: #b91c1c;
}
.jn-order-list-badge--muted {
    background: #f3f4f6;
    color: #6b7280;
}
.jn-order-list-total {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--jn-orange-dark);
    white-space: nowrap;
}
.jn-order-list-ref {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
}
.jn-order-list-product {
    margin: 0.25rem 0 0;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
}
.jn-order-list-meta {
    margin: 0.3rem 0 0;
    font-size: 0.78rem;
}
.jn-orders-empty {
    padding: 1.5rem 1.15rem;
    text-align: center;
    margin-bottom: 1rem;
}
.jn-orders-empty-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}
.jn-orders-empty .shop-btn {
    margin-top: 1rem;
}
.jn-orders-page .jn-order-result {
    margin-top: 0.25rem;
}

/* Legal & FAQ */
.mj-legal-body {
    margin-top: 1rem;
    padding: 1.25rem 1.35rem;
    text-align: left;
}
.mj-legal-body h2 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1rem;
}
.mj-legal-body h2:first-child {
    margin-top: 0;
}
.mj-legal-body p,
.mj-legal-list {
    margin: 0 0 0.75rem;
    color: var(--jn-muted);
    font-size: 0.92rem;
}
.mj-legal-list {
    padding-left: 1.2rem;
}
.mj-legal-strip {
    margin-top: 1.25rem;
}
.mj-faq-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}
.mj-faq-item {
    padding: 0;
    overflow: hidden;
}
.mj-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    padding: 1rem 1.1rem;
    list-style: none;
}
.mj-faq-item summary::-webkit-details-marker {
    display: none;
}
.mj-faq-item p {
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: var(--jn-muted);
    font-size: 0.9rem;
}
.jn-payment-actions {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.85rem;
}
.jn-payment-ipmu-note {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
}
.jn-bayar-page {
    max-width: 520px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}
.jn-bayar-card {
    padding: 1.5rem 1.25rem;
    text-align: center;
}
.jn-bayar-amount {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0.5rem 0 1rem;
    color: var(--jn-orange-dark);
}
