/* ==========================================================================
   Theme 05 — "Muse" · Palette matched to reference "Jeweitory.png"
   White + light-gray base, charcoal black bars, golden-yellow CTAs/stars,
   vivid red sale accents. Keeps the editorial serif + grand scale (欧美化).
   ========================================================================== */

:root {
  /* Palette — Jeweitory reference: white / light-gray / charcoal / amber / red */
  --bg:        #FFFFFF;
  --bg-2:      #F1F1F1;   /* light gray section band (hero, usp, flash, news) */
  --surface:   #FFFFFF;
  --ink:       #4A4A4A;
  --ink-2:     #1A1A1A;   /* charcoal for headings + black bars */
  --muted:     #8A8A8A;
  --line:      #E7E7E7;
  --line-2:    #D9D9D9;

  --accent:    #FFC107;   /* golden amber — CTAs, stars, highlights */
  --accent-2:  #C98F00;   /* deep amber for text/borders */
  --accent-ink:#1A1A1A;   /* dark text on yellow */
  --soft:      #FFF7E0;   /* light amber tint (hover bg) */
  --ring:      rgba(255,193,7,.30);
  --star:      #FFC107;   /* yellow rating stars */

  /* Buttons — amber solid (dark text) + charcoal outline */
  --btn-bg:    #FFC107;
  --btn-ink:   #1A1A1A;
  --btn-bd:    #1A1A1A;
  --btn-ink-2: #1A1A1A;

  /* Badges */
  --badge-bg:  #1A1A1A;
  --badge-ink: #FFFFFF;
  --sale:      #E63946;   /* vivid red sale tag */
  --hot:       #FFC107;

  /* B2C sale accents */
  --danger:      #E63946;
  --danger-soft: #FDE8EA;
  --flash-bg:    #F1F1F1;

  /* Bands */
  --news-bg:      #F1F1F1;
  --topbar-ink:   #EDEDED;
  --topbar-accent:#FFC107;
  --footer-ink:   #4A4A4A;
  --footer-muted: #8A8A8A;
  --footer-line:  #D9D9D9;

  /* Fonts — editorial serif display + geometric sans body */
  --head-font: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --body-font: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape & depth — crisp, editorial */
  --radius:    4px;
  --radius-lg: 8px;
  --shadow:    0 12px 34px rgba(26,26,26,.08);
  --shadow-lg: 0 28px 70px rgba(26,26,26,.14);
}

/* ---------- Base refinements (kept: grand scale + whitespace) ---------- */
body { line-height: 1.72; letter-spacing: .005em; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: .006em; }
.container { max-width: 1280px; }
/* Widen the layout on large displays only: 1366 keeps 1280, 1600+ and 1920+
   get progressively roomier so the content doesn't look narrow on big screens.
   .container.narrow (single posts, 820px) has higher specificity and stays put. */
@media (min-width: 1600px) { .container { max-width: 1360px; } }
@media (min-width: 1920px) { .container { max-width: 1480px; } }
.section { padding: 108px 0; }
.section-head { margin-bottom: 56px; }

.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .34em; color: var(--accent-2); margin-bottom: 18px; }
.sec-title { font-size: clamp(33px, 4.6vw, 58px); font-weight: 600; line-height: 1.06; letter-spacing: .005em; margin: 0; }
.sec-sub { font-size: 15.5px; line-height: 1.8; max-width: 520px; font-weight: 300; }
.sec-link { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; border-bottom-width: 1px; padding-bottom: 7px; }

/* ---------- Buttons ---------- */
.btn { padding: 16px 40px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; border-radius: var(--radius); }
.btn-sm { padding: 11px 22px; font-size: 11px; }
.btn-solid { box-shadow: none; }

/* ---------- Top bar — black strip with white text + amber highlight ---------- */
.topbar { background: var(--ink-2); color: var(--topbar-ink); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.topbar-note, .topbar-links a { color: var(--topbar-ink); }
.topbar-note strong { color: var(--topbar-accent); }
.topbar-in { padding: 11px 24px; }

/* ---------- Header / brand / nav ---------- */
/* Let the header span wider than the content column so the primary nav (10
   items) has room to breathe; content sections keep the narrower 1280 measure. */
.header-in { max-width: 1600px; padding: 22px 28px; gap: 18px; }
.main-nav { gap: 0; }
.brand-text { font-family: var(--head-font); font-size: 26px; font-weight: 600; letter-spacing: .2em; }
.brand-text em { font-family: var(--body-font); font-size: 8px; letter-spacing: .6em; margin-top: 6px; }
.brand-mark { width: 34px; height: 34px; color: var(--accent-2); }
.nav-link { font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 10px; }
.icon-btn { width: 44px; height: 44px; }

/* ---------- Hero: LIGHT split (reference tone) — gray band, dark serif, amber CTA ---------- */
.hero { background: var(--bg-2); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.hero-media::after { display: none; }
.hero-in { justify-content: flex-start; text-align: left; min-height: 78vh; }
.hero-content { max-width: 600px; margin: 0; background: none; padding: 84px 0; box-shadow: none; }
.hero-title { font-size: clamp(44px, 5.8vw, 80px); line-height: 1.02; color: var(--ink-2); }
.hero-sub { color: var(--muted); }
.hero-badge { box-shadow: none; }
.trust-row { color: var(--muted); }
.float-card { display: none; }

/* ---------- Category circles ---------- */
.cat-circle strong { font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.cat-circle em { letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; }
.cat-circle .ring { border-width: 0; box-shadow: var(--shadow); }

/* ---------- Product cards ---------- */
.p-media { border: 0; border-radius: var(--radius-lg); }
.p-body { padding: 20px 4px 0; }
.p-name { font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.p-cat { font-size: 10.5px; letter-spacing: .2em; margin: 6px 0 10px; }
.p-price .now { font-size: 16px; font-weight: 500; }
.p-add { letter-spacing: .14em; font-weight: 500; border-radius: var(--radius); }
.badge.hot { color: var(--ink-2); }

/* ---------- Flash sale ---------- */
.flash { padding: 96px 0; }
.flash-title h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; }
.cd-label { letter-spacing: .18em; }

/* ---------- Story / stats ---------- */
.story-body h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 600; }
.stat strong { font-size: 44px; font-weight: 600; color: var(--accent-2); }
.stat span { letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; }

/* ---------- Duo promo ---------- */
.duo-content h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; }
.duo-content .eyebrow { letter-spacing: .3em; }
.duo-content { padding: 48px; }

/* ---------- Testimonials ---------- */
.t-quote { font-size: 15.5px; line-height: 1.85; font-weight: 300; }
.t-who strong { font-family: var(--head-font); font-size: 17px; }
.t-card { padding: 38px 34px; }

/* ---------- Newsletter ---------- */
.news { padding: 84px 0; }
.news h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 600; }
.news p { font-weight: 300; }
.news-form input { border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { padding: 84px 0 0; }
.f-title { font-size: 12px; letter-spacing: .22em; }
.f-brand p { line-height: 1.85; font-weight: 300; }
.f-col a { font-weight: 300; }
.f-bottom { letter-spacing: .06em; }
.pay-item { letter-spacing: .12em; border-radius: 4px; }

/* ---------- Page head / PDP ---------- */
.page-head { padding: 62px 0 54px; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 600; line-height: 1.04; }
.crumbs { letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; }
.side-title { font-size: 12px; letter-spacing: .2em; }
.info-cat { font-size: 11px; letter-spacing: .26em; }
.info-title { font-size: clamp(34px, 4.4vw, 50px); font-weight: 600; line-height: 1.08; margin: 12px 0 16px; }
.info-price .now { font-size: 32px; font-weight: 600; }
.opt-label { letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.acc-head { font-size: 17px; letter-spacing: .01em; }
.buy-btn { letter-spacing: .16em; }

/* ---------- Responsive ---------- */
/* The 10-item primary nav needs ~820px of room; below ~1280px the header can't
   hold it without overflowing the viewport (a horizontal scrollbar), so collapse
   to the hamburger drawer a bit earlier than the rest of the layout, which stays
   multi-column until 991px. */
@media (max-width: 1279px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .brand { margin-right: auto; }
  .header-in { gap: 12px; }
}
@media (max-width: 991px) {
  .section { padding: 78px 0; }
  .hero-in { min-height: 64vh; }
  .hero-content { padding: 64px 0; }
  .nav-link { letter-spacing: .1em; }
}
@media (max-width: 640px) {
  .hero { background: var(--bg-2); }
  .hero-media { position: relative; width: 100%; height: 300px; inset: auto; order: -1; }
  .hero-in { min-height: 0; }
  .hero-content { max-width: none; padding: 40px 0 52px; }
  .hero-title { font-size: clamp(38px, 10vw, 56px); }
  .btn { padding: 15px 30px; }
  .section { padding: 62px 0; }
}

/* ---------- Extra editorial flourish (keeps 05 the luxury standout) ---------- */
.section-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.sec-title em { font-style: italic; color: var(--accent-2); }
.btn-solid:hover { background: var(--ink-2); color: #FFFFFF; }
.sec-link:hover { color: var(--accent-2); }
