/* ── Journal Themes v1 ─────────────────────────────────────────── */

/* ── Base extras applied by all journal themes ── */
[class*="jt-"] { font-family: var(--font, system-ui, -apple-system, sans-serif); }
[class*="jt-"] .sh { background: var(--hdr); transition: background .2s; }
[class*="jt-"] .sh-logo span { color: var(--p); }
[class*="jt-"] .sh-cart { background: var(--p); border-radius: var(--radius, 8px); }
[class*="jt-"] .hero-cta { background: var(--p); border-radius: var(--radius, 8px); }
[class*="jt-"] .hero-cta2 { border-color: var(--p); color: var(--p); border-radius: var(--radius, 8px); }
[class*="jt-"] .btn-buy { background: var(--p); border-radius: var(--radius, 8px); }
[class*="jt-"] .phx-prod-btn { background: var(--p); border-radius: var(--radius, 8px); }
[class*="jt-"] .phx-hero-btn { border-radius: var(--radius, 8px); }
[class*="jt-"] .product-card { background: var(--card); border-radius: var(--radius, 8px); box-shadow: var(--shadow, none); }
[class*="jt-"] .phx-prod-card { background: var(--card); border-radius: var(--radius, 8px); box-shadow: var(--shadow, none); }
[class*="jt-"] .jcat-card { border-radius: var(--radius, 8px); box-shadow: var(--shadow, none); }
[class*="jt-"] .jprod-add-btn { background: var(--p); border-radius: var(--radius, 8px); }
[class*="jt-"] .product-price { color: var(--p); }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 1 — Multi-store / Electronics
   White bg · Orange primary · Dark navy header · Blue accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-1 {
    --p: #ff6b35; --a: #0066cc; --bg: #ffffff; --tx: #1a1a1a;
    --card: #f8f9fa; --hdr: #1a1a2e; --radius: 6px;
    --shadow: 0 2px 8px rgba(0,0,0,.08);
    --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body.jt-1 .sh { border-bottom: 2px solid var(--p); }
body.jt-1 .sh-nav a { color: #ccc; }
body.jt-1 .sh-nav a:hover { color: #fff; }
body.jt-1 .phx-hero { border-bottom: 3px solid var(--p); }
body.jt-1 .product-card:hover { border-color: var(--p); }
body.jt-1 footer { background: #1a1a2e; color: #aaa; border-top: none; }
body.jt-1 .jcat-card { background: var(--card); border: 1px solid #e8e8e8; }
body.jt-1 .jcat-card:hover { border-color: var(--p); background: #fff8f5; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 2 — Fashion Minimal
   Off-white bg · Black primary · White header · Gray accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-2 {
    --p: #111111; --a: #888888; --bg: #fafafa; --tx: #111111;
    --card: #ffffff; --hdr: #ffffff; --radius: 0px;
    --shadow: 0 1px 4px rgba(0,0,0,.06);
    --font: 'Georgia', 'Times New Roman', serif;
}
body.jt-2 .sh { border-bottom: 1px solid #e0e0e0; }
body.jt-2 .sh-logo { font-style: italic; letter-spacing: 2px; }
body.jt-2 .sh-logo span { color: #111; }
body.jt-2 .sh-nav a { color: #333; font-weight: 500; letter-spacing: .5px; }
body.jt-2 .sh-cart { background: #111; color: #fff; border-radius: 0; letter-spacing: 1px; }
body.jt-2 .phx-hero { border-bottom: 1px solid #e0e0e0; }
body.jt-2 .hero-cta { background: #111; border-radius: 0; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; padding: 14px 40px; }
body.jt-2 .hero-cta2 { border-color: #111; color: #111; border-radius: 0; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
body.jt-2 .phx-prod-btn { background: #111; border-radius: 0; letter-spacing: .5px; }
body.jt-2 .btn-buy { background: #111; border-radius: 0; }
body.jt-2 .phx-section-title { letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
body.jt-2 .product-price { color: #111; }
body.jt-2 footer { border-top: 1px solid #e0e0e0; color: #888; background: #fafafa; }
body.jt-2 .jcat-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 0; }
body.jt-2 .jcat-card:hover { background: #f5f5f5; border-color: #111; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 3 — Sneakers / Street
   White bg · Blue primary · Dark header · Red accent / sale focus
   ══════════════════════════════════════════════════════════════════ */
body.jt-3 {
    --p: #1a73e8; --a: #e63946; --bg: #ffffff; --tx: #111111;
    --card: #f8faff; --hdr: #111111; --radius: 10px;
    --shadow: 0 4px 16px rgba(26,115,232,.12);
    --font: system-ui, -apple-system, sans-serif;
}
body.jt-3 .sh { border-bottom: none; }
body.jt-3 .sh-nav a { color: #eee; }
body.jt-3 .sh-nav a:hover { color: #fff; }
body.jt-3 .phx-strip { font-weight: 800; letter-spacing: .5px; text-transform: uppercase; font-size: 12px; }
body.jt-3 .product-card { border: 1px solid rgba(26,115,232,.15); }
body.jt-3 .product-card:hover { border-color: var(--p); box-shadow: 0 8px 24px rgba(26,115,232,.18); }
body.jt-3 .product-price { color: var(--p); }
body.jt-3 .jcat-card { background: #f8faff; border: 1px solid rgba(26,115,232,.15); }
body.jt-3 .jcat-card:hover { border-color: var(--p); background: #eef4ff; }
body.jt-3 .sale-badge { background: var(--a); color: #fff; border-radius: 4px; padding: 2px 7px; font-size: 11px; font-weight: 800; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 4 — Fashion Luxury Teal / Coral
   White bg · Teal primary · White header · Coral accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-4 {
    --p: #00b4d8; --a: #ff6b6b; --bg: #ffffff; --tx: #222222;
    --card: #f0fbff; --hdr: #ffffff; --radius: 50px;
    --shadow: 0 4px 20px rgba(0,180,216,.12);
    --font: 'Trebuchet MS', system-ui, sans-serif;
}
body.jt-4 .sh { border-bottom: 1px solid #e0f7fd; }
body.jt-4 .sh-logo span { color: var(--p); }
body.jt-4 .sh-nav a { color: #555; }
body.jt-4 .sh-cart { background: var(--p); border-radius: 50px; }
body.jt-4 .hero-cta { background: var(--p); border-radius: 50px; }
body.jt-4 .hero-cta2 { border-radius: 50px; border-color: var(--p); color: var(--p); }
body.jt-4 .phx-hero-btn { border-radius: 50px !important; }
body.jt-4 .phx-prod-btn { background: var(--p); border-radius: 50px; }
body.jt-4 .btn-buy { background: var(--p); border-radius: 50px; }
body.jt-4 .jprod-add-btn { border-radius: 50px; }
body.jt-4 .product-card { border: 1px solid #e0f7fd; border-radius: 16px; }
body.jt-4 .product-card:hover { border-color: var(--p); }
body.jt-4 .product-price { color: var(--a); }
body.jt-4 footer { border-top: 1px solid #e0f7fd; background: #f0fbff; }
body.jt-4 .jcat-card { background: #f0fbff; border: 1px solid #e0f7fd; border-radius: 16px; }
body.jt-4 .jcat-card:hover { border-color: var(--p); background: #e0f7fd; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 5 — Tech Mega Store
   Light gray bg · Navy header · Red primary · Gold accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-5 {
    --p: #e63946; --a: #ffc107; --bg: #f5f5f5; --tx: #1a1a2e;
    --card: #ffffff; --hdr: #1a1a2e; --radius: 6px;
    --shadow: 0 2px 8px rgba(0,0,0,.08);
    --font: system-ui, 'Segoe UI', sans-serif;
}
body.jt-5 .sh { border-bottom: 2px solid var(--p); }
body.jt-5 .sh-nav a { color: #ccc; }
body.jt-5 .sh-nav a:hover { color: #fff; }
body.jt-5 .product-card { border: 1px solid #e0e0e0; }
body.jt-5 .product-card:hover { border-color: var(--p); }
body.jt-5 .product-price { color: var(--p); }
body.jt-5 .phx-strip { font-size: 12px; font-weight: 800; letter-spacing: .5px; }
body.jt-5 footer { background: #1a1a2e; color: #aaa; border-top: none; }
body.jt-5 .jcat-card { background: #fff; border: 1px solid #e0e0e0; }
body.jt-5 .jcat-card:hover { border-color: var(--p); }
body.jt-5 .discount-badge { background: var(--p); color: #fff; border-radius: 4px; font-size: 11px; font-weight: 800; padding: 2px 6px; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 6 — Sport / Athletic
   White bg · Teal primary · Teal header · Dark teal accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-6 {
    --p: #00cec9; --a: #0d8a85; --bg: #ffffff; --tx: #1a1a1a;
    --card: #f0fffe; --hdr: #00cec9; --radius: 8px;
    --shadow: 0 4px 16px rgba(0,206,201,.15);
    --font: system-ui, -apple-system, sans-serif;
}
body.jt-6 .sh { border-bottom: none; }
body.jt-6 .sh-logo span { color: #fff; }
body.jt-6 .sh-logo { color: #fff; }
body.jt-6 .sh-nav a { color: rgba(255,255,255,.85); }
body.jt-6 .sh-nav a:hover { color: #fff; }
body.jt-6 .sh-cart { background: #0d8a85; border-radius: 8px; }
body.jt-6 .product-card { border: 1px solid rgba(0,206,201,.2); }
body.jt-6 .product-card:hover { border-color: var(--p); }
body.jt-6 .product-price { color: var(--a); }
body.jt-6 .phx-usp { border-right-color: rgba(0,206,201,.2); }
body.jt-6 footer { background: #00cec9; color: rgba(255,255,255,.8); border-top: none; }
body.jt-6 .jcat-card { background: #f0fffe; border: 1px solid rgba(0,206,201,.2); }
body.jt-6 .jcat-card:hover { border-color: var(--p); background: #d8fffe; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 7 — Outdoor / Bikes
   Light gray bg · Blue primary · White header · Amber accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-7 {
    --p: #0077cc; --a: #f4a400; --bg: #f4f4f4; --tx: #222222;
    --card: #ffffff; --hdr: #ffffff; --radius: 8px;
    --shadow: 0 2px 12px rgba(0,119,204,.1);
    --font: system-ui, 'Arial', sans-serif;
}
body.jt-7 .sh { border-bottom: 2px solid var(--p); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
body.jt-7 .sh-logo span { color: var(--p); }
body.jt-7 .sh-nav a { color: #444; }
body.jt-7 .sh-nav a:hover { color: var(--p); }
body.jt-7 .sh-cart { background: var(--p); }
body.jt-7 .product-card { border: 1px solid #e0e0e0; }
body.jt-7 .product-card:hover { border-color: var(--p); }
body.jt-7 .product-price { color: var(--p); }
body.jt-7 .phx-hero { border-bottom: 3px solid var(--a); }
body.jt-7 footer { background: #222; color: #aaa; border-top: none; }
body.jt-7 .jcat-card { background: #fff; border: 1px solid #ddd; }
body.jt-7 .jcat-card:hover { border-color: var(--p); background: #f0f7ff; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 8 — Winter Fashion
   Light blue-gray bg · Navy header · Red primary · Blue accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-8 {
    --p: #e63946; --a: #457b9d; --bg: #f0f4f8; --tx: #1d3557;
    --card: #ffffff; --hdr: #1d3557; --radius: 8px;
    --shadow: 0 2px 10px rgba(29,53,87,.1);
    --font: system-ui, -apple-system, sans-serif;
}
body.jt-8 .sh { border-bottom: none; }
body.jt-8 .sh-nav a { color: #a8c1d5; }
body.jt-8 .sh-nav a:hover { color: #fff; }
body.jt-8 .product-card { border: 1px solid #dce6f0; }
body.jt-8 .product-card:hover { border-color: var(--p); }
body.jt-8 .product-price { color: var(--p); font-weight: 900; }
body.jt-8 .phx-strip { font-weight: 800; letter-spacing: .5px; }
body.jt-8 footer { background: #1d3557; color: #a8c1d5; border-top: none; }
body.jt-8 .jcat-card { background: #fff; border: 1px solid #dce6f0; }
body.jt-8 .jcat-card:hover { border-color: var(--p); background: #fff5f6; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 9 — Home Luxury Warm
   Cream bg · Dark brown header · Taupe primary · Gold accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-9 {
    --p: #8b7355; --a: #c9a45e; --bg: #faf7f2; --tx: #3d2e1e;
    --card: #ffffff; --hdr: #3d2e1e; --radius: 4px;
    --shadow: 0 2px 12px rgba(61,46,30,.1);
    --font: 'Georgia', 'Palatino Linotype', serif;
}
body.jt-9 .sh { border-bottom: 1px solid rgba(139,115,85,.3); }
body.jt-9 .sh-logo { font-style: italic; letter-spacing: 1px; }
body.jt-9 .sh-logo span { color: var(--a); }
body.jt-9 .sh-nav a { color: #c9b99a; }
body.jt-9 .sh-nav a:hover { color: #fff; }
body.jt-9 .sh-cart { background: var(--a); border-radius: 4px; }
body.jt-9 .hero-cta { background: var(--p); border-radius: 4px; letter-spacing: 1px; }
body.jt-9 .phx-hero-btn { border-radius: 4px !important; letter-spacing: 1px; }
body.jt-9 .phx-prod-btn { background: var(--p); border-radius: 4px; }
body.jt-9 .btn-buy { background: var(--p); border-radius: 4px; }
body.jt-9 .product-card { border: 1px solid rgba(139,115,85,.2); }
body.jt-9 .product-card:hover { border-color: var(--p); box-shadow: 0 6px 24px rgba(61,46,30,.1); }
body.jt-9 .product-price { color: var(--p); }
body.jt-9 footer { background: #3d2e1e; color: #c9b99a; border-top: none; font-style: italic; }
body.jt-9 .jcat-card { background: #fff; border: 1px solid rgba(139,115,85,.2); border-radius: 4px; }
body.jt-9 .jcat-card:hover { border-color: var(--p); background: #fdf8f2; }
body.jt-9 .phx-section-title { font-style: italic; letter-spacing: 1px; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 10 — Fragrance / Beauty Dark
   Deep navy bg · Dark header · Gold primary · Muted gold accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-10 {
    --p: #c9a84c; --a: #a07830; --bg: #0d1b2a; --tx: #e8dfc8;
    --card: #16283a; --hdr: #0a1520; --radius: 6px;
    --shadow: 0 4px 20px rgba(0,0,0,.4);
    --font: 'Georgia', serif;
}
body.jt-10 .sh { border-bottom: 1px solid rgba(201,168,76,.2); }
body.jt-10 .sh-logo { letter-spacing: 3px; }
body.jt-10 .sh-logo span { color: var(--p); }
body.jt-10 .sh-nav a { color: #9a8a70; letter-spacing: .5px; }
body.jt-10 .sh-nav a:hover { color: var(--p); }
body.jt-10 .sh-cart { background: var(--p); color: #0a1520; font-weight: 700; }
body.jt-10 .hero-cta { background: var(--p); color: #0a1520; border-radius: 4px; }
body.jt-10 .phx-hero-btn { border-radius: 4px !important; }
body.jt-10 .phx-prod-btn { background: var(--p); color: #0a1520; border-radius: 4px; }
body.jt-10 .btn-buy { background: var(--p); color: #0a1520; }
body.jt-10 .product-card { border: 1px solid rgba(201,168,76,.15); }
body.jt-10 .product-card:hover { border-color: var(--p); box-shadow: 0 8px 30px rgba(201,168,76,.15); }
body.jt-10 .product-price { color: var(--p); }
body.jt-10 .product-name { color: #e8dfc8; }
body.jt-10 footer { background: #0a1520; color: #7a6a50; border-top: 1px solid rgba(201,168,76,.15); font-style: italic; }
body.jt-10 .jcat-card { background: #16283a; border: 1px solid rgba(201,168,76,.15); }
body.jt-10 .jcat-card:hover { border-color: var(--p); background: #1e3348; }
body.jt-10 .phx-section-title { color: var(--p); letter-spacing: 2px; text-transform: uppercase; font-size: 12px; }
body.jt-10 a { color: var(--p); }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 11 — Skincare / Wellness
   Blush white bg · White header · Pink primary · Light pink accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-11 {
    --p: #d4547a; --a: #f4a0b5; --bg: #fff9f9; --tx: #3d2636;
    --card: #ffffff; --hdr: #ffffff; --radius: 16px;
    --shadow: 0 4px 16px rgba(212,84,122,.1);
    --font: system-ui, -apple-system, sans-serif;
}
body.jt-11 .sh { border-bottom: 1px solid #fce4ec; }
body.jt-11 .sh-logo span { color: var(--p); }
body.jt-11 .sh-nav a { color: #7b5568; }
body.jt-11 .sh-nav a:hover { color: var(--p); }
body.jt-11 .sh-cart { background: var(--p); border-radius: 50px; }
body.jt-11 .hero-cta { background: var(--p); border-radius: 50px; }
body.jt-11 .hero-cta2 { border-color: var(--p); color: var(--p); border-radius: 50px; }
body.jt-11 .phx-hero-btn { border-radius: 50px !important; }
body.jt-11 .phx-prod-btn { background: var(--p); border-radius: 50px; }
body.jt-11 .btn-buy { background: var(--p); border-radius: 50px; }
body.jt-11 .jprod-add-btn { border-radius: 50px; }
body.jt-11 .product-card { border: 1px solid #fce4ec; border-radius: 16px; }
body.jt-11 .product-card:hover { border-color: var(--p); box-shadow: 0 8px 24px rgba(212,84,122,.12); }
body.jt-11 .product-price { color: var(--p); }
body.jt-11 footer { background: #fce4ec; color: #9e6878; border-top: none; }
body.jt-11 .jcat-card { background: #fff; border: 1px solid #fce4ec; border-radius: 16px; }
body.jt-11 .jcat-card:hover { border-color: var(--p); background: #fff0f4; }
body.jt-11 .phx-usp-icon { font-size: 28px; }

/* ══════════════════════════════════════════════════════════════════
   JOURNAL 12 — Tech Modern Dark
   Dark bg · Very dark header · Blue primary · Cyan accent
   ══════════════════════════════════════════════════════════════════ */
body.jt-12 {
    --p: #3b82f6; --a: #06b6d4; --bg: #0f172a; --tx: #e2e8f0;
    --card: #1e293b; --hdr: #0a0f1e; --radius: 12px;
    --shadow: 0 4px 24px rgba(59,130,246,.15);
    --font: 'SF Pro Display', system-ui, -apple-system, sans-serif;
}
body.jt-12 .sh { border-bottom: 1px solid rgba(59,130,246,.2); }
body.jt-12 .sh-logo span { color: var(--p); }
body.jt-12 .sh-nav a { color: #94a3b8; }
body.jt-12 .sh-nav a:hover { color: #fff; }
body.jt-12 .sh-cart { background: var(--p); border-radius: 12px; }
body.jt-12 .hero-cta { background: var(--p); border-radius: 12px; }
body.jt-12 .hero-cta2 { border-color: var(--p); color: var(--p); border-radius: 12px; }
body.jt-12 .phx-hero-btn { border-radius: 12px !important; }
body.jt-12 .phx-prod-btn { background: var(--p); border-radius: 12px; }
body.jt-12 .btn-buy { background: var(--p); border-radius: 12px; }
body.jt-12 .product-card { border: 1px solid rgba(59,130,246,.2); }
body.jt-12 .product-card:hover { border-color: var(--p); box-shadow: 0 8px 32px rgba(59,130,246,.2); transform: translateY(-2px); }
body.jt-12 .product-price { color: var(--a); }
body.jt-12 .product-name { color: #e2e8f0; }
body.jt-12 footer { background: #0a0f1e; color: #475569; border-top: 1px solid rgba(59,130,246,.15); }
body.jt-12 a { color: var(--p); }
body.jt-12 .jcat-card { background: #1e293b; border: 1px solid rgba(59,130,246,.2); }
body.jt-12 .jcat-card:hover { border-color: var(--p); background: #263347; }
body.jt-12 .phx-strip { font-size: 12px; font-weight: 700; letter-spacing: 1px; }

/* ── Category page shared styles ── */
.jcat-hero { padding: 48px 24px; text-align: center; background: color-mix(in srgb, var(--p) 10%, var(--bg)); }
.jcat-hero h1 { font-size: clamp(24px, 4vw, 42px); font-weight: 800; color: var(--tx); margin: 0 0 10px; }
.jcat-hero p { font-size: 15px; opacity: .75; max-width: 560px; margin: 0 auto; }
.jcat-breadcrumb { max-width: 1200px; margin: 0 auto; padding: 14px 24px 0; font-size: 13px; color: var(--p); }
.jcat-breadcrumb a { color: var(--p); text-decoration: none; }
.jcat-breadcrumb a:hover { text-decoration: underline; }
.jcat-breadcrumb span { opacity: .5; margin: 0 6px; }
.jcat-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.jcat-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.jcat-count { font-size: 13px; opacity: .6; }
.jcat-sort { display: flex; gap: 8px; flex-wrap: wrap; }
.jcat-sort-btn { padding: 5px 12px; border: 1px solid color-mix(in srgb, var(--p) 30%, transparent); border-radius: var(--radius, 8px); background: var(--card); color: var(--tx); font-size: 12px; cursor: pointer; transition: all .12s; }
.jcat-sort-btn:hover, .jcat-sort-btn.active { background: var(--p); color: #fff; border-color: var(--p); }
.jcat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.jcat-card { display: flex; flex-direction: column; overflow: hidden; transition: all .2s; text-decoration: none; }
.jcat-card:hover { text-decoration: none; transform: translateY(-2px); }
.jcat-img { height: 200px; background: color-mix(in srgb, var(--p) 8%, var(--card)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.jcat-img img { width: 100%; height: 100%; object-fit: cover; }
.jcat-img-placeholder { font-size: 48px; }
.jcat-info { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.jcat-name { font-size: 14px; font-weight: 700; color: var(--tx); line-height: 1.3; }
.jcat-desc { font-size: 12px; opacity: .6; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jcat-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.jcat-price { font-size: 18px; font-weight: 800; color: var(--p); }
.jcat-price-compare { font-size: 12px; text-decoration: line-through; opacity: .5; margin-left: 6px; }
.jcat-btn { padding: 8px 16px; background: var(--p); color: #fff; border-radius: var(--radius, 8px); font-size: 12px; font-weight: 700; text-decoration: none; transition: opacity .15s; }
.jcat-btn:hover { opacity: .85; text-decoration: none; }
.jcat-empty { text-align: center; padding: 80px 24px; opacity: .5; }
.jcat-back { display: inline-flex; align-items: center; gap: 6px; color: var(--p); text-decoration: none; font-size: 13px; font-weight: 600; padding: 10px 0; }
.jcat-back:hover { text-decoration: underline; }

/* ── Product detail page shared styles ── */
.jprod-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }
.jprod-breadcrumb { font-size: 13px; color: var(--p); margin-bottom: 28px; }
.jprod-breadcrumb a { color: var(--p); text-decoration: none; }
.jprod-breadcrumb a:hover { text-decoration: underline; }
.jprod-breadcrumb span { opacity: .5; margin: 0 6px; }
.jprod-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 720px) { .jprod-layout { grid-template-columns: 1fr; gap: 24px; } }
.jprod-img-wrap { background: color-mix(in srgb, var(--p) 6%, var(--card)); border-radius: var(--radius, 8px); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--p) 15%, transparent); }
.jprod-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius, 8px); }
.jprod-img-placeholder { font-size: 80px; }
.jprod-info { display: flex; flex-direction: column; gap: 16px; }
.jprod-cat-link { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--p); text-decoration: none; font-weight: 700; }
.jprod-cat-link:hover { text-decoration: underline; }
.jprod-name { font-size: clamp(22px, 3vw, 34px); font-weight: 900; color: var(--tx); line-height: 1.15; margin: 0; }
.jprod-price-row { display: flex; align-items: baseline; gap: 12px; }
.jprod-price { font-size: 32px; font-weight: 900; color: var(--p); }
.jprod-compare { font-size: 18px; text-decoration: line-through; opacity: .45; }
.jprod-badge-save { background: var(--a); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 4px; }
.jprod-stock { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius, 8px); display: inline-block; }
.jprod-stock.in { background: color-mix(in srgb, #22c55e 15%, transparent); color: #15803d; border: 1px solid #22c55e; }
.jprod-stock.out { background: color-mix(in srgb, #ef4444 15%, transparent); color: #b91c1c; border: 1px solid #ef4444; }
.jprod-desc { font-size: 15px; line-height: 1.7; opacity: .8; }
.jprod-form { display: flex; flex-direction: column; gap: 12px; }
.jprod-qty-row { display: flex; align-items: center; gap: 12px; }
.jprod-qty-label { font-size: 13px; font-weight: 600; opacity: .7; }
.jprod-qty { width: 80px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--p) 30%, transparent); border-radius: var(--radius, 8px); background: var(--bg); color: var(--tx); font-size: 15px; font-weight: 700; text-align: center; }
.jprod-qty:focus { outline: none; border-color: var(--p); }
.jprod-add-btn { padding: 16px 32px; background: var(--p); color: #fff; border: none; border-radius: var(--radius, 8px); font-size: 16px; font-weight: 800; cursor: pointer; transition: opacity .15s; letter-spacing: .3px; }
.jprod-add-btn:hover { opacity: .88; }
.jprod-add-btn:disabled { opacity: .4; cursor: not-allowed; }
.jprod-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.jprod-trust-item { font-size: 12px; display: flex; align-items: center; gap: 5px; opacity: .7; }
.jprod-related { max-width: 1100px; margin: 0 auto; padding: 0 24px 56px; }
.jprod-related h2 { font-size: 20px; font-weight: 800; color: var(--tx); margin-bottom: 20px; }
.jprod-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 600px) { .jcat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .jprod-related-grid { grid-template-columns: repeat(2, 1fr); } }
