/**
 * JunRongTech — warm lifestyle editorial stylesheet.
 * Cream / warm wood / gold accents. Editorial typography for headings.
 */

:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --warm: #f6efe3;
  --warm-2: #efe4d2;
  --ink: #2a2622;
  --ink-soft: #6b5d4d;
  --line: #ebe1d0;
  --wood: #8b5e3c;
  --wood-dark: #6b4a30;
  --gold: #c99860;
  --gold-soft: #e4c79a;
  --rose: #d8a39a;
  --sage: #9fae8e;
  --shadow-soft: 0 8px 24px rgba(78, 52, 28, 0.08);
  --shadow-hover: 0 16px 40px rgba(78, 52, 28, 0.16);
  --radius: 12px;
  --radius-lg: 18px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--wood-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wood); text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: 38px; }
h2 { font-size: 28px; margin-top: 52px; }
h3 { font-size: 19px; }

.jrt-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.jrt-container-narrow { max-width: 880px; }

/* ---------- Topbar ---------- */
.jrt-topbar { background: var(--wood-dark); color: #f7efe1; font-size: 13px; letter-spacing: 0.5px; }
.jrt-topbar-inner { display: flex; gap: 24px; padding: 8px 24px; align-items: center; }
.jrt-topbar a { color: #f7efe1; }
.jrt-topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.jrt-topbar-item svg { flex: none; }
@media (max-width: 760px) { .jrt-topbar-hide-sm { display: none; } }

/* ---------- Header ---------- */
.jrt-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 243, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.jrt-header-main { }
.jrt-header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; padding-top: 12px; padding-bottom: 12px; }

.jrt-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.jrt-brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--wood); color: #fbf8f3; font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: 0.5px;
}
.jrt-brand-text { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); line-height: 1.1; }
.jrt-brand-text small { display: block; font-family: var(--sans); font-weight: 500; font-size: 11px; color: var(--ink-soft); letter-spacing: 1px; text-transform: uppercase; margin-top: 3px; }

.jrt-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 28px; }
.jrt-nav a { color: var(--ink); font-weight: 500; font-size: 15px; letter-spacing: 0.2px; }
.jrt-nav a:hover { color: var(--wood); text-decoration: none; }

.jrt-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.jrt-burger span { display: block; width: 24px; height: 1.5px; background: var(--ink); border-radius: 2px; }

.jrt-mobile-menu { border-bottom: 1px solid var(--line); background: var(--bg); }
.jrt-mobile-menu ul { list-style: none; margin: 0; padding: 12px 24px 18px; }
.jrt-mobile-menu li { border-bottom: 1px solid var(--warm); }
.jrt-mobile-menu li:last-child { border-bottom: 0; }
.jrt-mobile-menu a { display: block; padding: 14px 2px; font-weight: 500; color: var(--ink); }

@media (max-width: 920px) {
  .jrt-nav, .jrt-btn-nav { display: none; }
  .jrt-burger { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.jrt-btn {
  display: inline-block; background: var(--wood); color: #fbf8f3 !important;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--wood); cursor: pointer; text-decoration: none !important;
  transition: all .25s ease; letter-spacing: 0.3px;
}
.jrt-btn:hover { background: var(--wood-dark); border-color: var(--wood-dark); color: #fbf8f3 !important; transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.jrt-btn-lg { padding: 16px 32px; font-size: 16px; }
.jrt-btn-ghost { background: transparent; color: var(--wood-dark) !important; border-color: var(--wood); }
.jrt-btn-ghost:hover { background: var(--warm); color: var(--wood-dark) !important; }
.jrt-btn-block { display: block; text-align: center; margin-top: 12px; }

/* ---------- Hero (warm lifestyle, full-width image) ---------- */
.jrt-hero { background: var(--warm); padding: 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.jrt-hero--image { position: relative; min-height: 560px; display: flex; align-items: center; }
.jrt-hero--image .jrt-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.02) contrast(1.02);
}
.jrt-hero--image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42, 38, 34, 0.55) 0%, rgba(42, 38, 34, 0.25) 45%, rgba(42, 38, 34, 0) 75%);
}
.jrt-hero--image .jrt-container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.jrt-hero--image h1 { color: #fbf8f3; font-size: 50px; line-height: 1.15; max-width: 640px; }
.jrt-hero--image .jrt-lead { color: #f3ead9; font-size: 18px; max-width: 560px; }
.jrt-hero--image .jrt-eyebrow { color: var(--gold-soft); font-family: var(--sans); }

.jrt-hero-compact { background: var(--warm); padding: 50px 0 36px; border-bottom: 1px solid var(--line); }
.jrt-hero-compact h1 { font-size: 36px; margin-bottom: 14px; }
.jrt-hero-compact .jrt-lead { font-size: 17px; }

.jrt-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .jrt-hero-inner { grid-template-columns: 1fr; } .jrt-hero-media { display: none; } }
.jrt-eyebrow { color: var(--gold); font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; font-size: 12px; margin: 0 0 14px; font-family: var(--sans); }
.jrt-lead { font-size: 17px; color: #473c30; max-width: 720px; margin: 0 0 22px; }
.jrt-hero-copy h1 { font-size: 42px; margin-bottom: 16px; }
.jrt-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Section ---------- */
.jrt-section-title { margin-top: 64px; text-align: center; font-style: italic; font-weight: 500; }
.jrt-section-title::after { content: ""; display: block; width: 60px; height: 1px; background: var(--gold); margin: 16px auto 0; opacity: 0.7; }

.jrt-grid { display: grid; gap: 24px; margin: 24px 0; }
.jrt-grid-2 { grid-template-columns: repeat(2, 1fr); }
.jrt-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .jrt-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .jrt-grid-4, .jrt-grid-2 { grid-template-columns: 1fr; } }

.jrt-card {
  display: block; border-radius: var(--radius); overflow: hidden;
  color: inherit; background: var(--surface); text-decoration: none !important;
  transition: all .35s ease; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.jrt-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--gold-soft); }
.jrt-card-media {
  background: var(--warm); overflow: hidden; aspect-ratio: 4/3;
}
.jrt-card-media svg, .jrt-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.jrt-card:hover .jrt-card-media svg, .jrt-card:hover .jrt-card-media img { transform: scale(1.04); }
.jrt-card-body { padding: 18px 20px 20px; }
.jrt-card-body strong { display: block; font-family: var(--serif); font-size: 17px; margin-bottom: 4px; font-weight: 600; }
.jrt-card-body span { color: var(--ink-soft); font-size: 13px; letter-spacing: 0.3px; }
.jrt-card-body em { font-style: italic; color: var(--wood-dark); font-size: 13px; }

/* ---------- Panels ---------- */
.jrt-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--surface); box-shadow: var(--shadow-soft); }
.jrt-panel h3 { font-size: 24px; font-style: italic; }
.jrt-cat-list { list-style: none; padding: 0; margin: 14px 0 22px; }
.jrt-cat-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.jrt-cat-list a { font-weight: 500; }

/* ---------- Why / Trust ---------- */
.jrt-why-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: all .3s ease;
}
.jrt-why-item:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.jrt-why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--warm); color: var(--wood-dark); font-family: var(--serif);
  font-weight: 700; font-size: 18px; margin-bottom: 14px;
}
.jrt-why-item h3 { font-size: 17px; margin-bottom: 8px; font-style: normal; }
.jrt-why-item p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.jrt-trust { background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; margin: 40px 0; }
.jrt-trust h2 { margin-top: 0; }
.jrt-trust p { max-width: 760px; }

.jrt-cta-band {
  background: var(--ink); color: var(--warm);
  border-radius: var(--radius-lg); padding: 56px 40px; margin: 56px 0; text-align: center;
  position: relative; overflow: hidden;
}
.jrt-cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.08;
  background: radial-gradient(circle at 30% 20%, var(--gold) 0%, transparent 50%);
}
.jrt-cta-band h2 { margin-top: 0; color: var(--warm); font-style: italic; font-weight: 500; }
.jrt-cta-band p { opacity: 0.85; max-width: 640px; margin: 0 auto 22px; position: relative; }
.jrt-cta-band .jrt-btn { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; position: relative; }
.jrt-cta-band .jrt-btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink) !important; }

/* ---------- Breadcrumb ---------- */
.jrt-crumb { font-size: 13px; color: var(--ink-soft); padding: 18px 0 4px; letter-spacing: 0.3px; }
.jrt-crumb a { color: var(--wood-dark); text-decoration: none; }
.jrt-crumb a:hover { text-decoration: underline; }
.jrt-crumb-sep { margin: 0 10px; color: var(--gold); }
.jrt-crumb-current { color: var(--ink); font-weight: 500; }

/* ---------- Rel chips ---------- */
.jrt-rel { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.jrt-rel a { font-size: 14px; color: var(--wood-dark); text-decoration: none; border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; background: var(--surface); transition: all .25s ease; }
.jrt-rel a:hover { border-color: var(--wood); background: var(--warm); text-decoration: none; }

/* ---------- FAQ ---------- */
.jrt-faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin: 10px 0; background: var(--surface); transition: border-color .2s ease; }
.jrt-faq details[open] { border-color: var(--gold-soft); }
.jrt-faq summary { font-family: var(--serif); font-weight: 600; font-size: 16px; cursor: pointer; }
.jrt-faq p { margin: 12px 0 2px; color: #473c30; font-size: 15px; }

/* ---------- Note ---------- */
.jrt-note { background: #fdf6e3; border: 1px solid #e8d8a3; padding: 14px 18px; border-radius: var(--radius); font-size: 13.5px; color: #6b5a1e; margin: 20px 0; }
.jrt-muted { color: var(--ink-soft); font-size: 14px; }
.jrt-plain-list { padding-left: 22px; }

/* ---------- Tables ---------- */
.jrt-table-wrap { overflow-x: auto; }
table.jrt-spec-table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14px; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.jrt-spec-table th, .jrt-spec-table td { border-bottom: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.jrt-spec-table th { background: var(--warm); font-family: var(--serif); font-weight: 600; color: var(--ink); }
.jrt-spec-table tr:last-child td { border-bottom: 0; }
.jrt-spec-table-pdp th { width: 38%; }
.jrt-spec-table a { color: var(--wood-dark); }

/* ---------- PDP ---------- */
.jrt-pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 12px; }
@media (max-width: 860px) { .jrt-pdp { grid-template-columns: 1fr; } }
.jrt-gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.jrt-gallery-main svg, .jrt-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.jrt-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.jrt-gallery-thumbs img { width: 88px; height: 88px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.jrt-sub { color: var(--ink-soft); margin: 4px 0 18px; letter-spacing: 0.3px; font-style: italic; }
.jrt-pdp-desc p { margin: 0 0 14px; }

/* ---------- Steps ---------- */
.jrt-steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0; }
.jrt-steps li { counter-increment: step; padding: 12px 0 12px 50px; position: relative; border-bottom: 1px dashed var(--line); }
.jrt-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 12px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--wood); color: var(--warm);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 15px;
}

/* ---------- RFQ form ---------- */
.jrt-rfq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; margin: 8px 0 40px; box-shadow: var(--shadow-soft); }
.jrt-field { margin-bottom: 18px; }
.jrt-field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; font-family: var(--serif); }
.jrt-field input, .jrt-field select, .jrt-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; background: var(--bg); color: var(--ink);
  transition: border-color .2s ease;
}
.jrt-field input:focus, .jrt-field select:focus, .jrt-field textarea:focus { outline: 0; border-color: var(--wood); background: var(--surface); box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12); }
.jrt-rfq .jrt-btn { width: 100%; padding: 16px; font-size: 16px; margin-top: 8px; }
.jrt-rfq-errors { background: #fdecea; border: 1px solid #f5b5ae; color: #8a1f14; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: 14px; }
.jrt-rfq-errors ul { margin: 0; padding-left: 18px; }
.jrt-rfq-success { background: #eaf6ec; border: 1px solid #bfe3c6; color: #1e5b2b; padding: 32px; border-radius: var(--radius); margin: 18px 0 40px; }
.jrt-rfq-success h2 { margin-top: 0; font-style: italic; }
.jrt-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.jrt-footer { background: #1f1814; color: #d6c9b8; margin-top: 80px; }
.jrt-footer a { color: #d6c9b8; }
.jrt-footer a:hover { color: var(--gold-soft); }
.jrt-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 36px; }
@media (max-width: 860px) { .jrt-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jrt-footer-grid { grid-template-columns: 1fr; } }
.jrt-footer h3 { color: var(--warm); font-size: 15px; margin-bottom: 16px; font-style: normal; letter-spacing: 1px; text-transform: uppercase; font-family: var(--sans); }
.jrt-footer p { font-size: 14px; line-height: 1.7; }
.jrt-footer ul { list-style: none; margin: 0; padding: 0; }
.jrt-footer li { padding: 6px 0; font-size: 14px; }
.jrt-footer .jrt-btn { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; margin-top: 10px; }
.jrt-footer .jrt-btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink) !important; }
.jrt-footer-bottom { border-top: 1px solid rgba(214, 201, 184, 0.12); padding: 22px 0 30px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.jrt-footer-muted { color: #8a7e6e; }

/* ---------- Scene Banner (collection page) ---------- */
.jrt-scene-banner {
  margin: 0 0 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  aspect-ratio: 800/460;
  background: var(--warm);
}
.jrt-scene-banner svg { width: 100%; height: 100%; }

/* ---------- Print ---------- */
@media print {
  .jrt-topbar, .jrt-header, .jrt-footer, .jrt-cta-band { display: none; }
}