/* ==========================================================================
   YOGA CON JUANA — cuentas de alumnas (se suma al diseño, no lo modifica)
   ========================================================================== */

/* encabezado: botón de cuenta */
.hdr__r { display: flex; align-items: center; gap: .6rem; }
.acct { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 44px; min-width: 44px; padding: 0 .7rem; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s; }
.acct svg { width: 20px; flex: none; }
.acct span { display: none; }
.acct:hover, .acct.is-in { background: var(--ink); color: var(--cream); }
@media (min-width: 1300px) { .acct { padding: 0 1.1rem; } .acct span { display: inline; } }
/* con el botón de cuenta, el menú completo aparece desde 1300px */
@media (min-width: 1180px) and (max-width: 1299px) {
  .nav { display: none !important; }
  .hdr__cta { display: none !important; }
  .burger { display: block !important; }
  .menu { display: flex !important; }
}
.menu-open .acct { color: var(--cream); border-color: var(--cream); }
.menu-open .acct:hover { background: var(--cream); color: var(--ink); }
.menu__acct-link { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.menu__acct-link svg { width: 22px; }

/* página Mi cuenta */
.acct-sec { padding-top: calc(var(--hdr) + clamp(2rem, 6vw, 5rem)); min-height: 100svh; overflow: clip; }
.acct-split { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .acct-split { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.auth-card { background: var(--white); border-radius: var(--r); padding: clamp(1.4rem, 4vw, 2.4rem); }
.auth { display: grid; gap: 1.1rem; }
.auth form { display: grid; gap: 1rem; }
.auth[data-mode="register"] form:not([data-acc-form="register"]),
.auth[data-mode="login"] form:not([data-acc-form="login"]),
.auth[data-mode="forgot"] form:not([data-acc-form="forgot"]) { display: none; }
.auth .field { display: grid; gap: .4rem; }
.auth .field > span:first-child { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--moss); }
.auth .field .pw { position: relative; display: block; font: inherit; text-transform: none; letter-spacing: 0; color: inherit; }
.auth input { width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid transparent; border-radius: 14px; padding: .95rem 1rem; }
.auth input::placeholder { color: var(--ink); opacity: .45; }
.auth input:focus { outline: none; border-color: var(--moss); background: #fff; }
.auth input:disabled { opacity: .6; }
.pw input { padding-right: 3.2rem; }
.pw__eye { position: absolute; right: .3rem; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border: 0; background: none; display: grid; place-items: center; opacity: .65; }
.pw__eye:hover { opacity: 1; }
.pw__eye svg { width: 20px; }
.auth .form-msg.ok { color: var(--moss); font-weight: 700; }
.auth .form-msg.err, .modal .form-msg.err { color: #B23A2B; font-weight: 700; }
.auth__fine { font-size: .82rem; opacity: .7; }
.auth__link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; font-size: .88rem; justify-self: start; }
.auth__link:hover { color: var(--moss); }
.modal .auth-card { padding: 0; background: none; }
.modal__who { font-size: .9rem; opacity: .9; margin-top: .5rem; }

/* perfil */
.prof__head { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 2rem; }
.prof__head .eyebrow { margin-bottom: .4rem; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--moss); color: var(--cream); display: grid; place-items: center; font-family: var(--f-script); font-size: 1.9rem; font-weight: 400; flex: none; }
.card { background: var(--white); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; align-content: start; }
.card .mini { margin-bottom: 0; }
.card--moss { background: var(--moss); color: var(--cream); }
.card--moss .ticks svg { color: var(--sage); }
.plan { margin-bottom: 1.6rem; }
.plan__state { display: grid; gap: .8rem; }
.pill { display: inline-flex; align-items: center; gap: .55rem; justify-self: start; padding: .42rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.plan__when { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .15rem 1.2rem; font-size: 1.1rem; }
.plan__when b { font-weight: 700; }
.plan__left { opacity: .85; font-size: .95rem; }
.plan__bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.plan__bar i { display: block; height: 100%; width: var(--p, 100%); background: var(--sage); border-radius: inherit; }
@media (max-width: 640px) {
  .prof__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .prof__tabs::-webkit-scrollbar { display: none; }
  .prof__tabs .chip { flex: none; }
}
.plan__note, .plan__packs { font-size: .95rem; opacity: .9; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--ok { background: #7BD88F; } .dot--warn { background: #F1B24A; } .dot--off { background: #E0574A; }
.tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px; background: var(--cream-2); color: var(--ink); text-align: center; flex: none; max-width: 10rem; line-height: 1.2; display: inline-block; }
.tag.is-ok { background: var(--moss); color: var(--cream); }
.plan .tag { background: rgba(255, 255, 255, .16); color: var(--cream); }
.muted { opacity: .7; }
.prof__tabs { margin: 1rem 0 1.6rem; }
.prof__panel { min-height: 120px; }
.prof__forms { display: grid; gap: 1.4rem; max-width: 520px; }
.prof__out { margin-top: 3rem; }
.orders li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1.5px solid var(--line); }
.orders small { display: block; opacity: .75; font-size: .85rem; }

/* clases */
.clases { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.clase { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .5s, transform .6s var(--ease); }
.clase:hover { box-shadow: 0 24px 60px rgba(78, 85, 68, .2); transform: translateY(-4px); }
.clase[hidden] { display: none; }
.clase__img { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(140deg, var(--sage), var(--sage-l)); overflow: hidden; }
.clase__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.clase:hover .clase__img img { transform: scale(1.05); }
.clase__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--moss-d); }
.clase__ph svg { width: 42px; opacity: .6; }
.clase__play { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--moss); display: grid; place-items: center; }
.clase__play svg { width: 20px; margin-left: 2px; }
.clase__lock-ic { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 11, 9, .45); color: var(--cream); }
.clase__lock-ic svg { width: 38px; }
.clase.is-locked .clase__img img { filter: grayscale(.6); }
.clase__body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .55rem; align-content: start; flex: 1; }
.clase__meta { display: flex; gap: 1rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--moss); }
.clase__body h3 { font-family: var(--f-script); font-size: 1.55rem; font-weight: var(--fw-d, 300); line-height: 1.1; letter-spacing: -.01em; }
.clase__body p:not(.clase__meta):not(.clase__lock) { font-size: .95rem; opacity: .85; }
.clase__lock { display: flex; gap: .5rem; align-items: center; font-size: .9rem; font-weight: 600; }
.clase__lock svg { width: 18px; flex: none; }
.clase__body .btn { justify-self: start; margin-top: .3rem; }

.vivo li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 1.3rem; background: var(--white); border-radius: 20px; margin-bottom: .8rem; }
.vivo b { display: block; }
.vivo small { display: block; opacity: .75; text-transform: capitalize; }
.vivo__lock { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .9rem; }
.vivo__lock svg { width: 18px; }

/* reproductor */
.prof--player { max-width: 980px; margin-inline: auto; }
.prof--player .back, .prof .back { display: inline-block; margin-bottom: 1.6rem; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--moss); }
.prof--player h1 { margin-block: .5rem 1.6rem; }
.prof--player .player { margin-bottom: 1.4rem; }
.prof--player .prose { margin-top: 1.6rem; }
.lockedbox { margin-top: 1.4rem; }
