/* ============================================================
   style-en.css  —  Simplified Chinese top page overrides
   ------------------------------------------------------------
   Extracted from en/index.html inline <style> (2026-07-05)
   Loaded AFTER style.css / style-sp.css so it wins on cascade.
   Everything here is scoped to html[lang="zh-CN"] (plus the
   :root font variables and the .r-ja-tp-01 base helper), so it
   never affects the Japanese or other-language pages.

   To reuse for another language: copy this file to
   style-<lang>.css and swap html[lang="zh-CN"] -> html[lang="<lang>"].
   ============================================================ */

  /* Refactor v2: inline-style → class (2026-05-25) */
  .r-ja-tp-01 { font-size:80%;color:#9d1700; }
/* ============================================================
   ENGLISH TYPOGRAPHY FOUNDATION (fundamental, site-wide)
   The page inherits Japanese CSS which assumes fixed widths,
   centered lines, wide letter-spacing and manual <br> breaks.
   For Simplified Chinese we reset those globally so words never split
   mid-word and 1–2 letters never fall to a new line.
   ============================================================ */
/* Elegant Simplified Chinese font pairing (luxury-beauty):
   Playfair Display for display/headings, Cormorant Garamond for body.
   Replaces the Japanese Mincho that was rendering Latin text stiffly. */
:root {
  --font-zh-display: "Playfair Display", "Noto Serif SC", serif;
  --font-zh-body: "Noto Serif SC", "Playfair Display", serif;
}
html[lang="zh-CN"] body,
html[lang="zh-CN"] p,
html[lang="zh-CN"] li,
html[lang="zh-CN"] dd,
html[lang="zh-CN"] dt,
html[lang="zh-CN"] td,
html[lang="zh-CN"] th,
html[lang="zh-CN"] a,
html[lang="zh-CN"] span,
html[lang="zh-CN"] em,
html[lang="zh-CN"] b,
html[lang="zh-CN"] strong,
html[lang="zh-CN"] blockquote,
html[lang="zh-CN"] figcaption {
  font-family: var(--font-zh-body) !important;
}
/* Body text: Cormorant is a touch light/small, so lift size & weight for legibility */
html[lang="zh-CN"] p,
html[lang="zh-CN"] li,
html[lang="zh-CN"] dd,
html[lang="zh-CN"] td {
  font-weight: 500;
}
/* Guard against Cormorant becoming too delicate at small sizes on mobile */
@media (max-width: 767px) {
  html[lang="zh-CN"] p,
  html[lang="zh-CN"] li,
  html[lang="zh-CN"] dd,
  html[lang="zh-CN"] td {
    font-weight: 600;
  }
}
/* Headings & display use Playfair Display */
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4,
html[lang="zh-CN"] .section-heading__en,
html[lang="zh-CN"] .hero-section__heading,
html[lang="zh-CN"] .formula__lead-main,
html[lang="zh-CN"] .en-concerns__title,
html[lang="zh-CN"] .whyus-copy__quote,
html[lang="zh-CN"] .voice-title em {
  font-family: var(--font-zh-display) !important;
}

html[lang="zh-CN"] body,
html[lang="zh-CN"] p,
html[lang="zh-CN"] li,
html[lang="zh-CN"] dt,
html[lang="zh-CN"] dd,
html[lang="zh-CN"] td,
html[lang="zh-CN"] th,
html[lang="zh-CN"] span,
html[lang="zh-CN"] a,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4,
html[lang="zh-CN"] em,
html[lang="zh-CN"] b,
html[lang="zh-CN"] strong {
  word-break: normal !important;
  overflow-wrap: break-word;      /* only break at whole words / very long tokens */
  -webkit-hyphens: none;
  hyphens: none;                  /* never hyphenate */
  line-break: auto;
}
/* JA used wide per-character letter-spacing that makes Simplified Chinese wrap oddly.
   Tighten it site-wide for Simplified Chinese body text. */
html[lang="zh-CN"] p,
html[lang="zh-CN"] li,
html[lang="zh-CN"] dd,
html[lang="zh-CN"] td,
html[lang="zh-CN"] .formula__item-desc,
html[lang="zh-CN"] .allcard__desc,
html[lang="zh-CN"] .story-block p,
html[lang="zh-CN"] .whyme-lead {
  letter-spacing: 0.01em;
}
/* Long Simplified Chinese body text reads better left-aligned than JA-centered.
   Neutralize center alignment on multi-line paragraph text (keep headings/labels centered). */
html[lang="zh-CN"] .allcard__desc,
html[lang="zh-CN"] .formula__item-desc,
html[lang="zh-CN"] .story-block p {
  text-align: left;
}
/* Disable JA-only manual line breaks in Simplified Chinese (they insert breaks tuned
   for Japanese character widths, which mangle Simplified Chinese). */
html[lang="zh-CN"] br.sp,
html[lang="zh-CN"] br.pc,
html[lang="zh-CN"] br.sp-br,
html[lang="zh-CN"] br.sp-hide {
  display: none !important;
}
/* ============================================================
   Simplified Chinese-specific layout fixes (longer text than JA design)
   ============================================================ */
/* Hero sub: keep the pink badge on one line on desktop, no ugly 100->10/0 break */
html[lang="zh-CN"] .hero-section__sub {
  white-space: nowrap;
  font-size: 12.5pt;
  letter-spacing: 0.06em;
}
/* On mobile the one-line badge is too wide: allow wrapping but keep
   "100-Year Life" from splitting mid-number */
@media (max-width: 767px) {
  html[lang="zh-CN"] .hero-section__sub {
    white-space: normal;
    font-size: 11pt;
  }
}
/* Hero heading: allow natural wrapping and reserve room so it doesn't
   run under the product image; slightly smaller for Simplified Chinese */
html[lang="zh-CN"] .hero-section__heading {
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  max-width: 100%;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: normal;
}
html[lang="zh-CN"] .hero-section__heading .hero-heading-line {
  display: block;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
/* SP: the two heading lines are wider than the phone; allow them to wrap
   (whole words) and shrink slightly so nothing is cut off at the right edge. */
@media (max-width: 767px) {
  html[lang="zh-CN"] .hero-section__heading {
    font-size: 1.25rem;
    padding-right: 4vw;
  }
  html[lang="zh-CN"] .hero-section__heading .hero-heading-line {
    white-space: normal;
  }
}
/* INGREDIENTS & SAFETY spec table (homebox010): on SP the vertical table
   gets very tall. Reflow each row into a horizontally-scrollable card,
   like the comparison table above — swipe left/right through the specs.
   NOTE: only the .spec-swipe wrapper scrolls; the ingredient CTA above it
   stays fixed (never scrolls). */
@media (max-width: 767px) {
  html[lang="zh-CN"] section.homebox010 .spec-swipe {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 12px;
    margin: 0 -4px;
    width: 100%;
    box-sizing: border-box;
  }
  html[lang="zh-CN"] section.homebox010 .spec-swipe table,
  html[lang="zh-CN"] section.homebox010 .spec-swipe tbody {
    display: flex;
    align-items: stretch;      /* equal-height cards */
    gap: 12px;
    width: max-content;
    box-shadow: none;
    border-radius: 0;
    border: 0;
  }
  html[lang="zh-CN"] section.homebox010 .spec-swipe tr {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 80vw;
    max-width: 300px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #eadfe2;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(118,30,59,0.08);
    overflow: hidden;
  }
  html[lang="zh-CN"] section.homebox010 .spec-swipe th {
    background: linear-gradient(180deg, #fbeef1 0%, #f6e3e8 100%);
    color: #761e3b;
    font-weight: 700;
    text-align: left;
    padding: 14px 18px;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid #eadfe2;
    display: block;
    flex: 0 0 auto;
  }
  html[lang="zh-CN"] section.homebox010 .spec-swipe td {
    padding: 16px 18px;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #4a3838;
    text-align: left;
    display: block;
    flex: 1 1 auto;           /* value fills remaining height so cards align */
  }
  /* swipe hint under the cards (only under the swipe area, not the CTA) */
  html[lang="zh-CN"] section.homebox010 .spec-swipe::after {
    content: "\2190 Swipe \2192";
    display: block;
    text-align: center;
    font-size: 0.72rem;
    color: #b89aa0;
    letter-spacing: 0.12em;
    padding: 10px 0 0;
  }
}
/* Comparison table swipe hint: Simplified Chinese instead of Japanese "スクロール" */
@media (max-width: 767px) {
  html[lang="zh-CN"] .compare-table-wrap::after {
    content: "\2190 Swipe \2192" !important;
  }
}

/* Voice card title: fit within the card, no right-edge overflow */
html[lang="zh-CN"] section.homebox001 ul li .voice-title em {
  font-size: 105%;
  white-space: normal;
  overflow-wrap: normal;
  word-break: keep-all;
  line-height: 1.4;
}
html[lang="zh-CN"] section.homebox001 ul li .voice-title {
  padding: 4px 4%;
}
/* Buy-now HTML button (replaces the Japanese image button) */
html[lang="zh-CN"] .hero-btn--text {
  display: inline-block;
  background: linear-gradient(180deg, #8a2846 0%, #6e1e38 100%);
  color: #fff;
  font-family: var(--font-ja-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 18px 56px;
  border-radius: 40px;
  box-shadow: 0 8px 20px rgba(110,30,56,0.35);
  text-decoration: none;
  transition: opacity 0.3s, transform 0.2s;
}
html[lang="zh-CN"] .hero-btn--text:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
/* HTML price + buttons (replacing baked-in Japanese images) */
html[lang="zh-CN"] .en-price {
  font-family: var(--font-ja-serif);
  font-size: 1.15rem;
  color: #3b2025;
  margin: 12px 0 16px;
}
html[lang="zh-CN"] .en-price strong {
  font-size: 1.5rem;
  color: #761e3b;
  font-weight: 700;
}
html[lang="zh-CN"] .en-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-ja-serif);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 16px 24px;
  border-radius: 40px;
  margin: 10px 0;
  transition: opacity 0.3s, transform 0.2s;
}
html[lang="zh-CN"] .en-btn--primary {
  background: linear-gradient(180deg, #dd6a88 0%, #c14e6e 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(193,78,110,0.3);
}
html[lang="zh-CN"] .en-btn--secondary {
  background: #fff;
  color: #761e3b;
  border: 1.5px solid #c9a06a;
}
html[lang="zh-CN"] .en-btn:hover { opacity: 0.9; transform: translateY(-1px); }
/* [3] Playfair's "&" glyph reads awkwardly in all-caps labels.
   Render the ampersand as a deliberately styled Cormorant italic glyph,
   slightly smaller and optically centred, so it looks intentional. */
html[lang="zh-CN"] .amp {
  display: inline;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 0.82em;
  letter-spacing: 0;
  padding: 0 0.08em;
  vertical-align: 0.02em;
}
/* [2] OFFER / product buttons: 2 columns on PC AND SP, wider buttons */
html[lang="zh-CN"] ul.en-btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
html[lang="zh-CN"] ul.en-btn-row > li {
  width: 100%;
  min-width: 0;
  margin: 0;
  display: flex;
}
/* keep the button itself as a normal inline-text block (do NOT use flex here,
   or the inner text + <span class="amp"> get split into separate flex items) */
html[lang="zh-CN"] ul.en-btn-row .en-btn {
  margin: 0;
  width: 100%;
  display: block;
  text-align: center;
  box-sizing: border-box;
  align-self: stretch;
  white-space: nowrap;
}
@media (max-width: 767px) {
  html[lang="zh-CN"] ul.en-btn-row {
    gap: 8px;
  }
  html[lang="zh-CN"] ul.en-btn-row .en-btn {
    padding: 14px 8px;
    font-size: 0.9rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
      white-space: nowrap;
}
}
/* Concerns section (replaces baked-in Japanese figure img014) */
html[lang="zh-CN"] .en-concerns {
  text-align: center;
  margin: 8px auto 28px;
  max-width: 860px;
}
html[lang="zh-CN"] .en-concerns__title {
  font-family: var(--font-ja-serif);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #761e3b;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
html[lang="zh-CN"] .en-concerns__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #c9a06a;
  margin: 14px auto 0;
}
html[lang="zh-CN"] .en-concerns__cards {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  flex-wrap: wrap;
  margin: 28px 0;
}
html[lang="zh-CN"] .en-concerns__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 26vw, 200px);
  height: clamp(150px, 26vw, 200px);
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 38% 32%, #ffffff 0%, #fdf1f3 42%, #f3dbe1 78%, #e9c8d0 100%);
  box-shadow:
    0 14px 30px rgba(118,30,59,0.16),
    inset 0 -10px 24px rgba(201,143,164,0.18),
    inset 0 6px 14px rgba(255,255,255,0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
html[lang="zh-CN"] .en-concerns__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 68% 74%, rgba(201,143,164,0.22) 0%, rgba(201,143,164,0) 55%);
  pointer-events: none;
}
html[lang="zh-CN"] .en-concerns__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(118,30,59,0.22),
    inset 0 -10px 24px rgba(201,143,164,0.2),
    inset 0 6px 14px rgba(255,255,255,0.75);
}
/* Per-card accent tint for subtle variation */
html[lang="zh-CN"] .en-concerns__card:nth-child(1) { --accent: #d98fa8; }
html[lang="zh-CN"] .en-concerns__card:nth-child(2) { --accent: #e0a15a; }
html[lang="zh-CN"] .en-concerns__card:nth-child(3) { --accent: #9a7fb0; }
html[lang="zh-CN"] .en-concerns__icon {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--accent, #c98fa4);
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
html[lang="zh-CN"] .en-concerns__label {
  font-family: var(--font-ja-serif);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: #3b2025;
  letter-spacing: 0.04em;
}
html[lang="zh-CN"] .en-concerns__body {
  font-family: var(--font-ja-serif);
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.9;
  color: #4a3838;
  margin: 20px 0 0;
}
@media (max-width: 767px) {
  html[lang="zh-CN"] .en-concerns__cards { gap: 12px; }
  html[lang="zh-CN"] .en-concerns__body br { display: none; }
}
/* Active-formula bubble descriptions: Simplified Chinese is longer than JA, so allow
   natural wrapping (JA used nowrap + manual <br>), widen, and hide the
   JA-only <br class="pc"> so lines don't get clipped at the container edge. */
html[lang="zh-CN"] .formula__item-desc {
  white-space: normal;
  width: 300px;
  font-size: 0.88rem;
  line-height: 1.7;
}
html[lang="zh-CN"] .formula__item--4 .formula__item-desc {
  width: 320px;
}
html[lang="zh-CN"] .formula__item-desc br.pc {
  display: none;
}
/* SP: the ACTIVE FORMULA bubble area is crowded — shrink the descriptions
   and the note so text doesn't overlap the bubbles and reads tidier. */
@media (max-width: 767px) {
  html[lang="zh-CN"] .formula__item-desc {
    width: auto;
    font-size: 0.74rem;
    line-height: 1.55;
    font-weight: 500;
  }
  html[lang="zh-CN"] .formula__item--4 .formula__item-desc {
    width: auto;
  }
  html[lang="zh-CN"] .formula__note {
    font-size: 0.66rem;
    line-height: 1.5;
  }
  html[lang="zh-CN"] .formula__item-name {
    font-size: 0.98rem;
  }
  html[lang="zh-CN"] .formula__item-sub {
    font-size: 0.66rem;
  }
}
/* WHY ME cards: the gold band label (Simplified Chinese) and the title (also now Simplified Chinese)
   were duplicating the same words ("ALL GENERATION" / "All Generations").
   Keep the grammatically-correct title; hide the redundant gold-band label. */
html[lang="zh-CN"] .allcard__label {
  display: none;
}
html[lang="zh-CN"] .allcard__title {
  margin-top: 0;
}
/* Prevent Simplified Chinese words from breaking mid-word across the page */
html[lang="zh-CN"] .img012-banner__text,
html[lang="zh-CN"] .img005-banner__main,
html[lang="zh-CN"] .img005-banner__moisture,
html[lang="zh-CN"] .img005-banner__sub,
html[lang="zh-CN"] .formula__item-desc,
html[lang="zh-CN"] .formula__note,
html[lang="zh-CN"] .formula__lead-main,
html[lang="zh-CN"] .formula__lead-body,
html[lang="zh-CN"] #homebox005 p,
html[lang="zh-CN"] .story-block__closing,
html[lang="zh-CN"] .story-block p {
  word-break: keep-all;
  overflow-wrap: normal;
}
/* img005 banner: fit each line on one line on PC (no mid-word / period-only wrap) */
html[lang="zh-CN"] .img005-banner__moisture,
html[lang="zh-CN"] .img005-banner__main,
html[lang="zh-CN"] .img005-banner__sub {
  white-space: nowrap;
}
html[lang="zh-CN"] .img005-banner__moisture { font-size: clamp(1rem, 3vw, 1.75rem); }
html[lang="zh-CN"] .img005-banner__main { font-size: clamp(1.05rem, 3.2vw, 1.9rem); }
html[lang="zh-CN"] .img005-banner__sub { font-size: clamp(0.9rem, 2.3vw, 1.3rem); }
/* ACTIVE FORMULA lead lines: one line each on PC */
html[lang="zh-CN"] .formula__lead-main { white-space: nowrap; font-size: clamp(1rem, 1.9vw, 1.15rem); }
html[lang="zh-CN"] .formula__lead-body { white-space: nowrap; font-size: clamp(0.82rem, 1.4vw, 0.9rem); }
/* On mobile, allow these to wrap (too wide for phone) but keep whole words */
@media (max-width: 767px) {
  html[lang="zh-CN"] .img005-banner__moisture,
  html[lang="zh-CN"] .img005-banner__main,
  html[lang="zh-CN"] .img005-banner__sub,
  html[lang="zh-CN"] .formula__lead-main,
  html[lang="zh-CN"] .formula__lead-body {
    white-space: normal;
  }
}
/* [4] "Full ingredient list" lifted out of the spec table into its own
   featured card sitting above the table. */
html[lang="zh-CN"] .en-ingredient-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #fdf3f6 0%, #f8e9ef 100%);
  border: 1px solid #ecd6de;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(118,30,59,0.08);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
html[lang="zh-CN"] .en-ingredient-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(118,30,59,0.14);
}
html[lang="zh-CN"] .en-ingredient-cta__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
html[lang="zh-CN"] .en-ingredient-cta__eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b06a82;
}
html[lang="zh-CN"] .en-ingredient-cta__title {
  font-family: var(--font-zh-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #761e3b;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
html[lang="zh-CN"] .en-ingredient-cta__arrow {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #761e3b;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
html[lang="zh-CN"] .en-ingredient-cta:hover .en-ingredient-cta__arrow {
  transform: translateX(3px);
  background: #8a2846;
}
@media (max-width: 767px) {
  html[lang="zh-CN"] .en-ingredient-cta {
    padding: 15px 18px;
    margin-bottom: 16px;
  }
  html[lang="zh-CN"] .en-ingredient-cta__title { font-size: 1.15rem; }
  html[lang="zh-CN"] .en-ingredient-cta__arrow { width: 40px; height: 40px; }
}
/* Genuine-products notice: make noticeably smaller in Simplified Chinese (long text) */
html[lang="zh-CN"] .txt002.r-ja-tp-01 {
  font-size: 0.72rem;
  line-height: 1.55;
}
@media (max-width: 767px) {
  html[lang="zh-CN"] .txt002.r-ja-tp-01 {
    font-size: 0.66rem;
    line-height: 1.5;
  }
}
