/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Montserrat","arguments":[{"subsets":["latin"],"weight":["400","600","700"],"variable":"--font-montserrat","display":"swap"}],"variableName":"montserrat"} ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/b1f344208eb4edfe-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/48e2044251ef3125-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/bf24a9759715e608-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/1f173e5e25f3efee-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/904be59b21bd51cb-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/b1f344208eb4edfe-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/48e2044251ef3125-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/bf24a9759715e608-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/1f173e5e25f3efee-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/904be59b21bd51cb-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/b1f344208eb4edfe-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/48e2044251ef3125-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/bf24a9759715e608-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/1f173e5e25f3efee-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/904be59b21bd51cb-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Montserrat Fallback';src: local("Arial");ascent-override: 85.79%;descent-override: 22.25%;line-gap-override: 0.00%;size-adjust: 112.83%
}.__className_fed136 {font-family: 'Montserrat', 'Montserrat Fallback';font-style: normal
}.__variable_fed136 {--font-montserrat: 'Montserrat', 'Montserrat Fallback'
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Poppins","arguments":[{"subsets":["latin"],"weight":["500","600"],"variable":"--font-poppins","display":"swap"}],"variableName":"poppins"} ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/db911767852bc875-s.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/f10b8e9d91f3edcb-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/8888a3826f4a3af4-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/29e7bbdce9332268-s.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/c3bc380753a8436c-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/0484562807a97172-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Poppins Fallback';src: local("Arial");ascent-override: 93.62%;descent-override: 31.21%;line-gap-override: 8.92%;size-adjust: 112.16%
}.__className_5f704f {font-family: 'Poppins', 'Poppins Fallback';font-style: normal
}.__variable_5f704f {--font-poppins: 'Poppins', 'Poppins Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* ===========================================================================
   Proyecto Emociona — base styles / brand tokens.
   Palette + fonts extracted from the live WordPress (Astra child theme).
   See SKIN.md for provenance and what is still unconfirmed.
   =========================================================================== */

/* Fonts are loaded with next/font/google in app/layout.tsx, which exposes
   the CSS variables --font-montserrat and --font-poppins (see SKIN.md). */

:root {
  /* Brand — orange is the dominant accent on the live site (#ff931e). */
  --emo-orange: #ff931e;        /* primary brand orange (heart, CTAs) */
  --emo-orange-dark: #f28d23;   /* hover / gradient partner */
  --emo-orange-soft: #f0ad4e;   /* soft accents, badges */

  /* Neutrals (slate scale used on the current site) */
  --emo-ink: #1e293b;           /* main text */
  --emo-ink-muted: #334155;
  --emo-line: #ccd6df;          /* borders */
  --emo-bg: #ffffff;
  --emo-bg-alt: #fafafa;

  /* Typography — next/font variables, with graceful fallbacks. */
  --emo-font-title: var(--font-montserrat), system-ui, sans-serif; /* headings */
  --emo-font-body: var(--font-poppins), system-ui, sans-serif;     /* body/UI */

  --emo-radius: 12px;
  --emo-maxw: 1120px;
  --emo-shadow: 0 6px 24px rgba(30, 41, 59, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--emo-font-body);
  color: var(--emo-ink);
  background: var(--emo-bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--emo-font-title);
  color: var(--emo-ink);
  line-height: 1.2;
}

a { color: var(--emo-orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout shell */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--emo-line);
}
.brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--emo-font-title); font-weight: 700; color: var(--emo-ink); }
.brand:hover { text-decoration: none; }
.brand-heart { color: var(--emo-orange); font-size: 1.4rem; }
.site-nav a { color: var(--emo-ink-muted); margin-left: 1.25rem; }
.site-main { max-width: var(--emo-maxw); margin: 0 auto; padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem); }
.site-footer { border-top: 1px solid var(--emo-line); padding: 2rem; text-align: center; color: var(--emo-ink-muted); background: var(--emo-bg-alt); }

/* Reusable button */
.btn {
  display: inline-block;
  background: var(--emo-orange);
  color: #fff;
  font-family: var(--emo-font-title);
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: var(--emo-radius);
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--emo-orange-dark); text-decoration: none; }

/* Button variants */
.btn-outline {
  background: transparent;
  color: var(--emo-orange-dark);
  border: 2px solid var(--emo-orange);
}
.btn-outline:hover { background: var(--emo-orange); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Card */
.card {
  border: 1px solid var(--emo-line);
  border-radius: var(--emo-radius);
  padding: 1.5rem;
  background: var(--emo-bg);
}

/* Brand name in header */
.brand-name { font-size: 1.05rem; letter-spacing: .01em; }
.site-nav a:hover { color: var(--emo-orange-dark); }

/* ── Hero (home) ─────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) 1rem;
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(255, 147, 30, 0.10), transparent 70%);
  border-radius: var(--emo-radius);
}
.hero-heart { font-size: 2.5rem; color: var(--emo-orange); }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin: .5rem 0 1rem; }
.hero p.lead {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--emo-ink-muted);
  max-width: 42ch;
  margin: 0 auto 1.75rem;
}

/* ── Section heading ─────────────────────────────────────────────────── */
.section { margin-top: clamp(2.5rem, 6vw, 4rem); }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.section-head p { color: var(--emo-ink-muted); margin: .5rem 0 0; }

/* ── Course grid + cards (replicates the live Emociona card) ─────────── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.75rem;
  gap: 1.75rem;
}
@media (max-width: 900px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .course-grid { grid-template-columns: 1fr; } }

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--emo-bg);
  border: 1px solid var(--emo-line);
  border-radius: var(--emo-radius);
  box-shadow: var(--emo-shadow);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30, 41, 59, 0.14); }
.course-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--emo-bg-alt);
  overflow: hidden;
}
.course-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-card__media-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 2.5rem; color: var(--emo-orange);
  background: linear-gradient(135deg, #fff, var(--emo-bg-alt));
}
.course-card__heart {
  position: absolute; top: .75rem; left: .75rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--emo-orange);
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.18);
  font-size: 1.1rem;
}
.course-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1.25rem; flex: 1 1; }
.course-card__title { font-size: 1.15rem; font-weight: 700; margin: 0; }
.course-card__title a { color: var(--emo-ink); }
.course-card__title a:hover { color: var(--emo-orange-dark); text-decoration: none; }
.course-card__author { color: var(--emo-ink-muted); font-size: .9rem; margin: 0; }
.course-card__excerpt { color: var(--emo-ink-muted); font-size: .92rem; margin: .25rem 0 0; }
.course-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-top: auto; padding-top: 1rem;
}
.price { font-family: var(--emo-font-title); font-weight: 700; font-size: 1.25rem; color: var(--emo-ink); }
.price small { display: block; font-weight: 500; font-size: .8rem; color: var(--emo-ink-muted); text-decoration: line-through; }
.price--free { color: var(--emo-orange-dark); }

/* ── Course detail ───────────────────────────────────────────────────── */
.course-hero { display: grid; grid-template-columns: 1.1fr 1fr; grid-gap: 2rem; gap: 2rem; align-items: center; }
@media (max-width: 780px) { .course-hero { grid-template-columns: 1fr; } }
.course-hero__media { border-radius: var(--emo-radius); overflow: hidden; box-shadow: var(--emo-shadow); aspect-ratio: 16 / 10; background: var(--emo-bg-alt); }
.course-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 .75rem; }
.course-hero__excerpt { color: var(--emo-ink-muted); font-size: 1.05rem; }
.course-hero__buy { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

.course-desc { margin-top: 2.5rem; max-width: 70ch; }
.course-desc :is(img) { max-width: 100%; height: auto; }

/* Lesson list */
.lesson-list { list-style: none; margin: 1rem 0 0; padding: 0; border: 1px solid var(--emo-line); border-radius: var(--emo-radius); overflow: hidden; }
.lesson-list li { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; border-top: 1px solid var(--emo-line); }
.lesson-list li:first-child { border-top: none; }
.lesson-list__idx { width: 1.6rem; color: var(--emo-ink-muted); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; font-size: .9rem; }
.lesson-list__title { flex: 1 1; }
.lesson-list__icon { color: var(--emo-ink-muted); font-size: 1rem; }
.lesson-list__icon--video { color: var(--emo-orange); }
.lesson-list__topics { list-style: none; margin: .5rem 0 0; padding: 0 0 0 2.35rem; }
.lesson-list__topics li { border-top: 1px dashed var(--emo-line); padding: .5rem 0; font-size: .92rem; color: var(--emo-ink-muted); }

/* ── Empty states ────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: clamp(2.5rem, 8vw, 4rem) 1rem;
  border: 1px dashed var(--emo-line);
  border-radius: var(--emo-radius);
  background: var(--emo-bg-alt);
  color: var(--emo-ink-muted);
}
.empty-state .heart { font-size: 2rem; color: var(--emo-orange); }

/* Utilities */
.muted { color: var(--emo-ink-muted); }
.center { text-align: center; }

/* ── Auth (login / registro) ─────────────────────────────────────────── */
.auth-page { display: flex; justify-content: center; padding: clamp(1rem, 5vw, 3rem) 1rem; }
.auth-card {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--emo-line);
  border-radius: var(--emo-radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--emo-shadow);
  text-align: center;
}
.auth-heart { font-size: 2rem; color: var(--emo-orange); margin: 0 0 .25rem; }
.auth-card h1 { font-size: 1.6rem; margin: 0 0 .25rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; text-align: left; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field span { font-size: .9rem; font-weight: 600; color: var(--emo-ink-muted); }
.field input {
  font: inherit;
  padding: .7rem .9rem;
  border: 1px solid var(--emo-line);
  border-radius: var(--emo-radius);
  background: var(--emo-bg);
}
.field input:focus { outline: 2px solid var(--emo-orange); outline-offset: 1px; border-color: var(--emo-orange); }
.auth-error {
  background: #fff4f4;
  border: 1px solid #f3c2c2;
  color: #9b2226;
  border-radius: var(--emo-radius);
  padding: .7rem .9rem;
  margin: 0;
  font-size: .92rem;
}
.auth-alt { text-align: center; margin: .25rem 0 0; font-size: .92rem; }

/* Link-styled button (header logout) */
.linklike {
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer;
}
.site-nav__logout { display: inline; }
.site-nav__logout .linklike:hover { color: var(--emo-orange-dark); }

/* ── Notices ─────────────────────────────────────────────────────────── */
.notice { border-radius: var(--emo-radius); padding: .9rem 1.1rem; margin: 1.5rem 0 0; }
.notice--ok { background: #fff7ee; border: 1px solid var(--emo-orange-soft); color: var(--emo-ink-muted); }
.notice--demo { background: #fffbe6; border: 1px dashed var(--emo-orange-soft); color: var(--emo-ink-muted); margin: 0 0 1rem; font-size: .92rem; }

/* ── Progress bars (mi-cuenta + player) ──────────────────────────────── */
.course-progress { margin-top: .5rem; }
.course-progress__bar,
.player-progress__bar {
  height: 8px; border-radius: 999px; background: var(--emo-bg-alt);
  border: 1px solid var(--emo-line); overflow: hidden;
}
.course-progress__fill,
.player-progress__fill {
  display: block; height: 100%; background: var(--emo-orange);
  border-radius: 999px; transition: width .3s ease;
}
.course-progress__label { font-size: .82rem; margin: .35rem 0 0; }

/* ── Checkout ────────────────────────────────────────────────────────── */
.checkout__grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-gap: 1.5rem; gap: 1.5rem; margin-top: 1.5rem; align-items: start; }
.checkout__item { display: flex; gap: 1rem; align-items: center; }
.checkout__thumb { width: 84px; height: 84px; object-fit: cover; border-radius: var(--emo-radius); }
.checkout__thumb--fallback { display: grid; place-items: center; background: var(--emo-bg-alt); color: var(--emo-orange); font-size: 1.5rem; }
.checkout__title { margin: 0 0 .25rem; font-size: 1.1rem; }
.checkout__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--emo-line);
  font-family: var(--emo-font-title); font-weight: 700;
}
.checkout__secure { font-size: .82rem; margin-top: .75rem; text-align: center; }
@media (max-width: 720px) { .checkout__grid { grid-template-columns: 1fr; } }

/* ── Account (mi-cuenta) ─────────────────────────────────────────────── */
.account-courses { display: grid; grid-gap: 1rem; gap: 1rem; margin-top: 1rem; }
.account-course { display: flex; align-items: center; gap: 1rem; padding: 1rem; }
.account-course__thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--emo-radius); flex-shrink: 0; }
.account-course__thumb--fallback { display: grid; place-items: center; background: var(--emo-bg-alt); color: var(--emo-orange); font-size: 1.4rem; }
.account-course__body { flex: 1 1; }
.account-course__body h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.account-course__cta { flex-shrink: 0; }
.account-details { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.account-details dl { display: flex; gap: 2rem; margin: 0; flex-wrap: wrap; }
.account-details dt { font-size: .8rem; color: var(--emo-ink-muted); }
.account-details dd { margin: 0; font-weight: 600; }
@media (max-width: 560px) {
  .account-course { flex-wrap: wrap; }
  .account-course__cta { width: 100%; }
  .account-course__cta .btn { display: block; text-align: center; }
}

/* ── Player (aprende) ────────────────────────────────────────────────── */
.player { display: grid; grid-template-columns: 300px 1fr; grid-gap: 2rem; gap: 2rem; align-items: start; }
.player-sidebar {
  position: -webkit-sticky;
  position: sticky; top: 1rem;
  border: 1px solid var(--emo-line); border-radius: var(--emo-radius);
  padding: 1rem; background: var(--emo-bg-alt);
  max-height: calc(100vh - 2rem); overflow-y: auto;
}
.player-sidebar__course { font-family: var(--emo-font-title); font-weight: 700; margin: 0 0 .75rem; }
.player-progress { margin: 0 0 1rem; }
.player-progress__label { font-size: .8rem; color: var(--emo-ink-muted); margin: .4rem 0 0; }
.player-toc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.player-toc a {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .6rem; border-radius: 8px; color: var(--emo-ink); text-decoration: none;
}
.player-toc a:hover { background: rgba(255,147,30,.10); }
.player-toc li.is-active a { background: var(--emo-orange); color: #fff; }
.player-toc li.is-done a { color: var(--emo-ink-muted); }
.player-toc li.is-done .player-toc__idx { color: var(--emo-orange); font-weight: 700; opacity: 1; }
.player-toc li.is-done.is-active .player-toc__idx { color: #fff; }
.player-toc__idx { width: 1.5rem; text-align: center; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; font-size: .85rem; opacity: .8; }
.player-toc__title { flex: 1 1; font-size: .92rem; line-height: 1.3; }
.player-toc__icon { font-size: .8rem; }
.player-main { min-width: 0; }
.player-head h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin: .25rem 0 1.25rem; }
.player-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--emo-radius); overflow: hidden; background: #000; margin-bottom: 1.5rem; }
.player-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-content { max-width: 70ch; }
.player-content :is(img) { max-width: 100%; height: auto; }
.player-topics { margin-top: 2rem; display: flex; flex-direction: column; gap: 2rem; }
.player-topic h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
.player-progress-hook { margin: 2rem 0; }
.player-progress-hook .btn.is-complete { border-color: var(--emo-orange); }
.player-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--emo-line); flex-wrap: wrap; }
@media (max-width: 860px) {
  .player { grid-template-columns: 1fr; }
  .player-sidebar { position: static; max-height: none; order: 2; }
  .player-main { order: 1; }
}

