// Body · Cleansing · Shower Temperature — L3 data
// window.SHOWTEMP

const SHOWTEMP = {
  type: "Shower Temperature",
  parent: { title: "Cleansing", href: "/en/body/cleansing/" },
  grandparent: { title: "Body", href: "/en/body/" },
  totalCount: 96,
  hero: "https://images.unsplash.com/photo-1519823551278-64ac92734fb1?auto=format&fit=crop&q=82&w=1800",
  heroAlt: "Editorial close-up — steam rising from a shower",
  h1: "Shower temperature and the skin surface — what's actually happening.",
  deck: "Hot water and the acid mantle have a complicated relationship. What scalding and hot water do to the surface barrier, the case for a cooler rinse, and how to transition without making the shower feel like a punishment.",
  intro: "The shower is where most people make their biggest unintentional cleansing error — and the cleanser is rarely the culprit. Water temperature does things to the skin surface that even a gentle formula cannot fully offset. The acid mantle is a thin, slightly acidic film that sits on the skin and keeps the barrier working. Very hot water disrupts it. Long exposure compounds the effect. Understanding this does not require a cold shower — it requires a slightly cooler one, at a slightly shorter duration, and usually a final cool rinse before stepping out.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 96, updated: "Updated 1 May 2026", reading: "Avg. 4 min per piece" },
};

const SHOWTEMP_SIBLINGS = [
  { id: "bar-vs-gel-vs-oil",            title: "Bar vs Gel vs Oil",        n: "01", href: "/en/body/cleansing/bar-vs-gel-vs-oil/" },
  { id: "ph-and-the-mantle",            title: "pH & the Mantle",          n: "02", href: "/en/body/cleansing/ph-and-the-mantle/" },
  { id: "fragrance-free-and-sensitive", title: "Fragrance-Free & Sensitive", n: "03", href: "/en/body/cleansing/fragrance-free-and-sensitive/" },
  { id: "post-workout-cleansing",       title: "Post-Workout Cleansing",   n: "04", href: "/en/body/cleansing/post-workout-cleansing/" },
  { id: "shower-temperature",           title: "Shower Temperature",       n: "05", cur: true, href: "/en/body/cleansing/shower-temperature/" },
];

const SHOWTEMP_QUICK_FACTS = {
  defn: {
    h: "What the acid mantle is — and why temperature is the most common way to disrupt it",
    body: "The acid mantle is a slightly acidic film (pH 4.5–5.5) formed by a mix of sebum, sweat, and skin cell secretions. It is not a layer you can see or feel, but it is the skin's first line of surface defence — it keeps moisture in and external irritants out. Very hot water raises the surface temperature of the skin, softens the lipid layer within the barrier, and disperses the acid mantle faster than it can regenerate. The result is not damage in any dramatic sense — it is simply a surface that is temporarily more permeable, more prone to tightness, and slower to accept moisture.",
  },
  myths: [
    { m: "Cold showers are necessary to close pores.",
      t: "Pores do not open and close like valves. Temperature affects the surface but not pore architecture. A cooler rinse does calm the surface, but the mechanism is simpler than 'closing pores.'" },
    { m: "Hot water strips the skin the same way a harsh cleanser does.",
      t: "The mechanisms differ. A harsh cleanser removes surface lipids chemically. Hot water softens and disperses them physically. Both can leave the barrier temporarily compromised, but they are different processes." },
    { m: "You need to switch to cold showers to protect the barrier.",
      t: "Warm water is fine. The issue is scalding or very hot water combined with long exposure. A shorter shower at a moderate temperature, finished with a brief cool rinse, achieves most of the benefit." },
  ],
};

const SHOWTEMP_BEGINNER_PATH = {
  h: "New to thinking about shower temperature and skin?",
  deck: "Four pieces in order. Around 13 minutes. Enough to adjust your routine with actual reasoning behind the change.",
  steps: [
    { n: "01", t: "The acid mantle — what it is and why it matters for body skin",      time: "3 min", note: "A plain-English explanation of the skin's surface film." },
    { n: "02", t: "What hot water does to the skin surface — and what warm doesn't",    time: "3 min", note: "The specific difference between hot and scalding versus comfortably warm." },
    { n: "03", t: "The cool-rinse finish — how to add it without misery",               time: "3 min", note: "A practical protocol that doesn't require a full cold shower." },
    { n: "04", t: "Temperature and moisturiser absorption — the timing question",       time: "4 min", note: "Why applying body lotion within 3 minutes of stepping out matters more than most people think." },
  ],
};

const SHOWTEMP_TRENDING = [
  { rank: "01", t: "What hot water actually does to the skin surface",                  time: "3 min", auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1519823551278-64ac92734fb1?w=1100&q=80&auto=format&fit=crop", reads: "9,220" },
  { rank: "02", t: "The case for a cooler final rinse — and how to start",              time: "3 min", auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=1100&q=80&auto=format&fit=crop", reads: "7,405" },
  { rank: "03", t: "Shower length and the barrier — when 15 minutes becomes a problem", time: "4 min", auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=1100&q=80&auto=format&fit=crop", reads: "6,011" },
  { rank: "04", t: "How to apply body lotion at exactly the right moment",              time: "3 min", auth: "Nelly", date: "Apr 08", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=1100&q=80&auto=format&fit=crop", reads: "5,490" },
  { rank: "05", t: "Temperature and eczema-prone skin — what the research shows",       time: "4 min", auth: "Iris",  date: "Apr 01", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=1100&q=80&auto=format&fit=crop", reads: "4,782" },
];

const SHOWTEMP_FORMAT_GUIDE = {
  h: "Temperature range × skin surface response",
  deck: "Each range has a different effect on the acid mantle and the barrier lipids. None is uniformly right — the question is what the skin is asking for.",
  rows: [
    {
      range: "Scalding",
      celsius: "Above 42°C",
      barrierEffect: "Significant lipid dispersal. Acid mantle disrupted. Skin visibly red post-shower.",
      suitableFor: "Nobody — this is beyond a comfort range, not a preference",
      whenToUse: "Never intentionally",
      verdict: "avoid",
    },
    {
      range: "Hot",
      celsius: "38–42°C",
      barrierEffect: "Noticeable softening of surface lipids. Acid mantle temporarily compromised. Tightness likely post-shower.",
      suitableFor: "Occasional use on oily-skinned individuals; not for daily use or dry / reactive skin",
      whenToUse: "Cold days, short duration only — under 8 minutes",
      verdict: "caution",
    },
    {
      range: "Warm",
      celsius: "33–38°C",
      barrierEffect: "Mild, recovers within 30–60 minutes. Acid mantle largely intact after showering.",
      suitableFor: "Most skin types daily. The right default for body cleansing.",
      whenToUse: "Year-round daily shower",
      verdict: "recommended",
    },
    {
      range: "Cool",
      celsius: "20–33°C",
      barrierEffect: "Minimal disruption. Calms surface vasodilation. Good for reactive or post-exercise skin.",
      suitableFor: "Post-workout rinse, sensitive and reactive skin, warm climates",
      whenToUse: "Final rinse, summer months, after exercise",
      verdict: "good",
    },
    {
      range: "Cold",
      celsius: "Below 20°C",
      barrierEffect: "No disruption to the barrier. Some surface vasoconstriction.",
      suitableFor: "Those who tolerate it — not necessary for barrier health",
      whenToUse: "Optional finish — not required",
      verdict: "optional",
    },
  ],
};

const SHOWTEMP_HOWTOS = [
  { t: "What hot water actually does to the skin surface",                  time: 3, tech: "Barrier",      auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1519823551278-64ac92734fb1?w=900&q=80&auto=format&fit=crop", kick: "Explainer", pick: true },
  { t: "The case for a cooler final rinse — and how to start",              time: 3, tech: "Technique",    auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Shower length and the barrier — when 15 minutes becomes a problem", time: 4, tech: "Barrier",      auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Diagnostic", pick: false },
  { t: "How to apply body lotion at exactly the right moment",              time: 3, tech: "Routine",      auth: "Nelly", date: "Apr 08", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: true },
  { t: "Temperature and eczema-prone skin",                                 time: 4, tech: "Reactive skin", auth: "Iris",  date: "Apr 01", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Reactive skin", pick: false },
  { t: "Why skin feels tight after a hot shower — and what to do about it", time: 3, tech: "Troubleshoot", auth: "Iris",  date: "Mar 25", img: "https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=900&q=80&auto=format&fit=crop", kick: "Diagnostic", pick: true },
  { t: "Hard water vs hot water — separating the two irritants",            time: 4, tech: "Barrier",      auth: "Nelly", date: "Mar 18", img: "https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=900&q=80&auto=format&fit=crop", kick: "Explainer", pick: false },
  { t: "The warm shower as a cleansing tool — getting the temperature right", time: 3, tech: "Technique",  auth: "Nelly", date: "Mar 11", img: "https://images.unsplash.com/photo-1515377905703-c4788e51af15?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Post-workout temperature — why your skin wants it cooler",           time: 3, tech: "Routine",      auth: "Iris",  date: "Mar 04", img: "https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Acid mantle recovery — how long after a hot shower",                 time: 3, tech: "Barrier",      auth: "Iris",  date: "Feb 25", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Explainer", pick: false },
  { t: "Sensitive skin and shower temperature — a practical guide",          time: 4, tech: "Reactive skin", auth: "Nelly", date: "Feb 18", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Guide", pick: false },
  { t: "Why the '3-minute lotion window' keeps appearing in skin research",  time: 4, tech: "Routine",      auth: "Nelly", date: "Feb 11", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
];

const SHOWTEMP_TECH_FILTERS = ["All", "Barrier", "Technique", "Troubleshoot", "Routine", "Reactive skin", "Explainer"];

const SHOWTEMP_AXIS_CROSSLINKS = [
  { id: "ph-and-the-mantle",      title: "pH & the Mantle",         deck: "Temperature and pH act on the same surface. Understanding both together is the full picture.", count: 98, href: "/en/body/cleansing/ph-and-the-mantle/" },
  { id: "post-workout-cleansing", title: "Post-Workout Cleansing",  deck: "The intensity of the session determines both how much cleansing and how much heat the skin can take.", count: 112, href: "/en/body/cleansing/post-workout-cleansing/" },
];

Object.assign(window, {
  SHOWTEMP, SHOWTEMP_SIBLINGS, SHOWTEMP_QUICK_FACTS, SHOWTEMP_BEGINNER_PATH,
  SHOWTEMP_TRENDING, SHOWTEMP_FORMAT_GUIDE, SHOWTEMP_HOWTOS, SHOWTEMP_TECH_FILTERS, SHOWTEMP_AXIS_CROSSLINKS,
});
