/** Shopify CDN: Minification failed

Line 821:9 Expected identifier but found whitespace
Line 821:15 Unexpected ";"

**/
/* SHOPIFY_STYLESHEETS_VERSION: 1.0 */


/* CSS from section stylesheet tags */
/* START_SECTION:account-admin (INDEX:0) */
#pa-admin { --admx: 1500px; }
  .adm-center { display: flex; justify-content: center; align-items: center; min-height: 50vh; }
  .adm-spin { width: 1.4rem; height: 1.4rem; border-radius: 9999px; border: 3px solid color-mix(in oklab, var(--brand) 30%, transparent); border-top-color: var(--brand); animation: adm-rot .7s linear infinite; display: inline-block; }
  @keyframes adm-rot { to { transform: rotate(360deg); } }
  .adm-hidden { display: none !important; }
  .adm-spin--sm { width: 1rem; height: 1rem; border-width: 2px; }

  /* Login */
  .adm-login { max-width: 30rem; margin: 2.5rem auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
  .adm-eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--brand); }
  .adm-h1 { font-family: var(--font-display); font-size: clamp(1.5rem,4vw,1.9rem); font-weight: 800; margin: .25rem 0 .4rem; }
  .adm-sub { font-size: .92rem; color: var(--muted-foreground); margin-bottom: 1.3rem; }
  .adm-label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted-foreground); margin-bottom: .35rem; }
  .adm-input { appearance: none; -webkit-appearance: none; box-sizing: border-box; width: 100%; border: 0; border-radius: .6rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); padding: .7rem .9rem; font-size: .95rem; color: var(--foreground); outline: none; }
  .adm-input:focus { box-shadow: inset 0 0 0 1px var(--brand); }
  .adm-input--code { text-align: center; letter-spacing: .5rem; font-size: 1.4rem; font-weight: 700; }
  .adm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 0; border-radius: .6rem; background: var(--brand); color: var(--brand-foreground); font-weight: 700; font-size: .88rem; padding: .62rem 1.05rem; cursor: pointer; transition: filter .15s; white-space: nowrap; }
  .adm-btn:hover { filter: brightness(1.05); } .adm-btn:disabled { opacity: .6; }
  .adm-btn--block { width: 100%; } .adm-btn--sm { padding: .45rem .8rem; font-size: .8rem; }
  .adm-btn--ghost { background: var(--surface); color: var(--foreground); box-shadow: inset 0 0 0 1px var(--border); }
  .adm-link { background: none; border: 0; color: var(--brand); font-weight: 600; font-size: .875rem; cursor: pointer; padding: 0; }
  .adm-msg { margin-top: .8rem; font-size: .85rem; min-height: 1.1em; color: var(--muted-foreground); }
  .adm-msg.is-error { color: #f87171; }

  /* App shell */
  .adm { display: grid; grid-template-columns: 14.5rem 1fr; max-width: var(--admx); margin: 0 auto; min-height: 72vh; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
  .adm-side { border-right: 1px solid var(--border); padding: 1.3rem 1rem; display: flex; flex-direction: column; gap: 1rem; }
  .adm-side__title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); }
  .adm-nav { display: flex; flex-direction: column; gap: .2rem; }
  .adm-nav button { display: flex; align-items: center; gap: .65rem; width: 100%; text-align: left; background: none; border: 0; border-radius: .55rem; padding: .6rem .75rem; color: var(--muted-foreground); font-weight: 600; font-size: .88rem; cursor: pointer; }
  .adm-nav button:hover { background: var(--surface); color: var(--foreground); }
  .adm-nav button.is-active { background: color-mix(in oklab, var(--brand) 15%, transparent); color: var(--brand); }
  .adm-nav svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
  .adm-side__back { margin-top: auto; display: flex; align-items: center; gap: .55rem; color: var(--muted-foreground); font-weight: 600; font-size: .85rem; padding: .55rem .75rem; border-radius: .55rem; }
  .adm-side__back:hover { background: var(--surface); color: var(--foreground); }
  .adm-side__back svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
  .adm-main { min-width: 0; display: flex; flex-direction: column; }
  .adm-top { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.3rem; border-bottom: 1px solid var(--border); }
  .adm-top__brand { font-family: var(--font-display); font-weight: 800; } .adm-top__brand span { color: var(--brand); }
  .adm-burger { display: none; background: var(--surface); border: 1px solid var(--border); border-radius: .5rem; padding: .4rem; color: var(--foreground); cursor: pointer; }
  .adm-top__actions { margin-left: auto; display: flex; gap: .5rem; }
  .adm-content { padding: 1.5rem 1.3rem; overflow-x: auto; }
  .adm-pagesub { color: var(--muted-foreground); margin: .2rem 0 1.4rem; }

  .adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem,1fr)); gap: .9rem; margin-bottom: 1.6rem; }
  .adm-stat { background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; padding: 1.1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; }
  .adm-stat__l { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-foreground); }
  .adm-stat__v { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; margin-top: .15rem; }
  .adm-stat__v.ok { color: #4ade80; } .adm-stat__v.warn { color: #fbbf24; }
  .adm-stat__ic { width: 2.3rem; height: 2.3rem; border-radius: .55rem; background: color-mix(in oklab, var(--brand) 14%, transparent); color: var(--brand); display: grid; place-items: center; }
  .adm-stat__ic svg { width: 1.2rem; height: 1.2rem; }

  .adm-toolbar { margin-bottom: 1rem; }
  .adm-count { font-size: .82rem; color: var(--muted-foreground); margin: 0 0 .7rem; }

  /* tabla / filas */
  .adm-tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
  .adm-tbl th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); padding: .6rem .7rem; border-bottom: 1px solid var(--border); }
  .adm-tbl td { padding: .75rem .7rem; border-bottom: 1px solid var(--border); }
  .adm-tbl tr:hover td { background: var(--surface); }
  .adm-uav { width: 2rem; height: 2rem; border-radius: 9999px; background: var(--brand); color: var(--brand-foreground); display: inline-grid; place-items: center; font-weight: 800; font-size: .75rem; overflow: hidden; vertical-align: middle; margin-right: .6rem; }
  .adm-uav img { width: 100%; height: 100%; object-fit: cover; }

  .adm-prow { display: flex; align-items: center; gap: .9rem; padding: .75rem .7rem; border-bottom: 1px solid var(--border); }
  .adm-prow:hover { background: var(--surface); }
  .adm-thumb { width: 2.8rem; height: 2.8rem; border-radius: .5rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); object-fit: cover; flex-shrink: 0; display: grid; place-items: center; color: var(--muted-foreground); font-size: .62rem; }
  .adm-pnum { color: var(--muted-foreground); font-weight: 700; font-size: .8rem; width: 1.8rem; flex-shrink: 0; }
  .adm-pname { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: .12rem; }
  .adm-pname__t { font-weight: 700; }
  .adm-pcat { font-size: .72rem; color: var(--muted-foreground); font-weight: 600; }
  .adm-pcat b { color: var(--brand); font-weight: 700; }
  .adm-chip { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .15rem .5rem; border-radius: .35rem; }
  .adm-chip.ok { background: #16a34a; color: #fff; } .adm-chip.warn { background: color-mix(in oklab,#fbbf24 22%,transparent); color: #fbbf24; }
  .adm-iconbtn { background: var(--surface); border: 1px solid var(--border); border-radius: .5rem; padding: .42rem; color: var(--foreground); cursor: pointer; display: grid; place-items: center; }
  .adm-iconbtn svg { width: 1rem; height: 1rem; } .adm-iconbtn:hover { color: var(--brand); border-color: var(--brand); }
  .adm-acts { display: flex; gap: .4rem; margin-left: auto; flex-shrink: 0; }
  .adm-link.is-on { color: #22c55e; border-color: color-mix(in oklab, #22c55e 55%, var(--border)); background: color-mix(in oklab, #22c55e 12%, var(--surface)); }
  .adm-link.is-off { color: var(--muted-foreground); opacity: .55; }
  .adm-link.is-on:hover { color: #22c55e; border-color: #22c55e; }
  .adm-del:hover { color: #f87171; border-color: #f87171; }
  .adm-pager { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: 1.3rem; }
  .adm-pg { min-width: 2.1rem; height: 2.1rem; padding: 0 .5rem; border: 1px solid var(--border); background: var(--surface); color: var(--foreground); border-radius: .5rem; font-weight: 700; font-size: .82rem; cursor: pointer; display: grid; place-items: center; }
  .adm-pg:hover:not(:disabled):not(.is-active) { border-color: var(--brand); color: var(--brand); }
  .adm-pg.is-active { background: var(--brand); color: var(--brand-foreground); border-color: var(--brand); }
  .adm-pg:disabled { opacity: .4; cursor: default; }
  .adm-pg--dots { border: 0; background: none; cursor: default; }

  .adm-cat { background: var(--surface); border: 1px solid var(--border); border-radius: .7rem; padding: .9rem 1.1rem; margin-bottom: .6rem; }
  .adm-cat__h { font-family: var(--font-display); font-weight: 800; color: var(--brand); }
  .adm-cat__subs { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
  .adm-cat__sum { display: flex; align-items: center; gap: .8rem; cursor: pointer; list-style: none; }
  .adm-cat__sum::-webkit-details-marker { display: none; }
  .adm-cat__sum::after { content: '›'; margin-left: .2rem; color: var(--muted-foreground); font-size: 1.2rem; transition: transform .15s; }
  .adm-cat[open] .adm-cat__sum::after { transform: rotate(90deg); }
  .adm-cat__n { margin-left: auto; font-size: .8rem; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
  .adm-cat__subs button { font: inherit; font-size: .8rem; background: var(--card); border: 1px solid var(--border); border-radius: .4rem; padding: .25rem .6rem; color: var(--muted-foreground); cursor: pointer; }
  .adm-cat__subs button b { color: var(--foreground); font-weight: 700; margin-left: .2rem; }
  .adm-cat__subs button.is-on, .adm-cat__subs button:hover { border-color: var(--brand); color: var(--foreground); }
  .adm-cat__list { margin-top: .8rem; display: grid; gap: .4rem; }
  .adm-cat__p { display: flex; align-items: center; gap: .7rem; background: var(--card); border: 1px solid var(--border); border-radius: .55rem; padding: .4rem .5rem; }
  .adm-cat__p[hidden] { display: none; }
  .adm-cat__p .adm-thumb { width: 2.4rem; height: 2.4rem; flex: none; }
  .adm-cat__pt { flex: 1; min-width: 0; font-size: .88rem; display: flex; flex-direction: column; gap: .1rem; }
  .adm-cat__ptt, .adm-cat__pt .adm-pcat { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .adm-cnt { font: inherit; font-variant-numeric: tabular-nums; }
  .adm-cnt.ok { color: #22c55e; }
  .adm-cnt.warn { color: #f59e0b; }
  button.adm-cnt { background: none; border: 1px solid transparent; border-radius: .4rem; padding: 0 .3rem; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
  button.adm-cnt:hover, button.adm-cnt.is-on { border-color: #f59e0b; text-decoration: none; }
  button.adm-cnt.is-on { background: color-mix(in oklab, #f59e0b 14%, transparent); }
  .adm-linkbtn { background: none; border: 0; padding: 0; margin-left: .4rem; font: inherit; color: var(--brand); cursor: pointer; font-weight: 600; }
  .adm-linkbtn:hover { text-decoration: underline; }  .adm-note { font-size: .82rem; color: var(--muted-foreground); background: var(--surface); border: 1px dashed var(--border); border-radius: .6rem; padding: .85rem 1rem; margin-bottom: 1rem; }

  /* Modal */
  .adm-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.6); }
  .adm-modal__box { width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
  .adm-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
  .adm-x { background: none; border: 0; color: var(--muted-foreground); cursor: pointer; font-size: 1.2rem; }

  /* Accesos a productos (entitlements) dentro del modal de usuario */
  .adm-ents { display: flex; flex-wrap: wrap; gap: .4rem; margin: .1rem 0 .5rem; }
  .adm-ents:empty::after { content: 'Sin accesos todavía.'; color: var(--muted-foreground); font-size: .82rem; }
  .adm-ent { display: inline-flex; align-items: center; gap: .45rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); border-radius: 9999px; padding: .28rem .3rem .28rem .6rem; font-size: .8rem; max-width: 100%; }
  .adm-ent__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 12rem; }
  .adm-ent__tag { font-size: .56rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .08rem .32rem; border-radius: .3rem; flex-shrink: 0; }
  .adm-ent__tag.buy { background: color-mix(in oklab,#16a34a 22%,transparent); color: #22c55e; }
  .adm-ent__tag.man { background: color-mix(in oklab,var(--brand) 22%,transparent); color: var(--brand); }
  .adm-ent__x { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border: 0; border-radius: 9999px; background: color-mix(in oklab,var(--foreground) 8%,transparent); color: var(--muted-foreground); cursor: pointer; font-size: .8rem; line-height: 1; flex-shrink: 0; }
  .adm-ent__x:hover { background: var(--brand); color: #fff; }
  .adm-entadd { position: relative; }
  .adm-drop { position: absolute; left: 0; right: 0; top: calc(100% + .3rem); z-index: 5; max-height: 15rem; overflow-y: auto; background: var(--popover, var(--card)); border: 1px solid var(--border); border-radius: .6rem; box-shadow: 0 16px 40px -20px rgba(0,0,0,.7); }
  .adm-drop[hidden] { display: none; }
  .adm-drop__i { display: flex; align-items: center; gap: .55rem; width: 100%; text-align: left; background: none; border: 0; padding: .5rem .65rem; color: var(--foreground); font-size: .85rem; cursor: pointer; }
  .adm-drop__i:hover { background: var(--surface); }
  .adm-drop__i img { width: 1.6rem; height: 2.1rem; object-fit: cover; border-radius: .25rem; flex-shrink: 0; }
  .adm-drop__none { padding: .6rem .65rem; color: var(--muted-foreground); font-size: .82rem; }

  @media (max-width: 820px) {
    .adm { grid-template-columns: 1fr; }
    .adm-side { position: fixed; inset: 0 auto 0 0; width: 15rem; z-index: 95; background: var(--card); transform: translateX(-100%); transition: transform .2s; }
    .adm-side.is-open { transform: translateX(0); }
    .adm-burger { display: grid; place-items: center; }
  }

  /* ===== Academia (admin) ===== */
  .adm-aca-mod { background: var(--card); border: 1px solid var(--border); border-radius: 0.9rem; padding: 1rem; margin-bottom: 1rem; }
  .adm-aca-modh { display: flex; align-items: center; gap: 0.9rem; }
  .adm-aca-thumb { width: 3rem; height: 4rem; border-radius: 0.5rem; object-fit: cover; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); display: grid; place-items: center; font-size: 0.65rem; color: var(--muted-foreground); flex-shrink: 0; }
  .adm-aca-modinfo { flex: 1; min-width: 0; }
  .adm-aca-modtitle { font-weight: 800; font-family: var(--font-display); font-size: 1rem; }
  .adm-aca-modmeta { font-size: 0.8rem; color: var(--muted-foreground); margin-top: 0.2rem; display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
  .adm-aca-modacts { display: flex; gap: 0.5rem; flex-shrink: 0; }
  .adm-aca-lessons { margin-top: 0.9rem; border-top: 1px solid var(--border); padding-top: 0.7rem; display: flex; flex-direction: column; gap: 0.4rem; }
  .adm-aca-lrow { display: flex; align-items: center; gap: 0.6rem; background: var(--surface); border-radius: 0.55rem; padding: 0.5rem 0.65rem; }
  .adm-aca-lico { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 9999px; background: color-mix(in oklab, var(--brand) 15%, transparent); color: var(--brand); flex-shrink: 0; }
  .adm-aca-lico svg { width: 0.85rem; height: 0.85rem; }
  .adm-aca-lt { flex: 1; min-width: 0; font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .adm-aca-empty { font-size: 0.85rem; color: var(--muted-foreground); padding: 0.3rem 0.2rem; }
  /* Curso (contenedor) → módulos (bloques) → lecciones */
  .adm-aca-course { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1rem; margin-bottom: 1.1rem; }
  .adm-aca-mods { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.7rem; }
  .adm-aca-course.is-hidden { border-style: dashed; }
  .adm-aca-course.is-hidden .adm-aca-thumb { opacity: .45; filter: grayscale(.6); }
  /* Curso oculto: todo apagado (título, botones, módulos y lecciones) menos el switch y la etiqueta "Oculto" */
  .adm-aca-course.is-hidden .adm-aca-modtitle,
  .adm-aca-course.is-hidden .adm-aca-modmeta > .adm-chip:not(.warn),
  .adm-aca-course.is-hidden .adm-aca-modh > .adm-aca-modacts > :not(.adm-switch),
  .adm-aca-course.is-hidden .adm-aca-mods { opacity: .4; filter: grayscale(.8); transition: opacity .15s, filter .15s; }
  .adm-aca-course.is-hidden .adm-aca-mods:hover,
  .adm-aca-course.is-hidden .adm-aca-modh > .adm-aca-modacts > :not(.adm-switch):hover { opacity: .85; filter: none; }
  .adm-switch { display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; padding: .2rem .3rem; color: var(--muted-foreground); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
  .adm-switch:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: .4rem; }
  .adm-switch__track { position: relative; width: 2.3rem; height: 1.3rem; border-radius: 9999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); transition: background .15s; flex-shrink: 0; }
  .adm-switch__dot { position: absolute; top: .18rem; left: .18rem; width: .94rem; height: .94rem; border-radius: 9999px; background: var(--muted-foreground); transition: transform .15s, background .15s; }
  .adm-switch.is-on { color: #22c55e; }
  .adm-switch.is-on .adm-switch__track { background: color-mix(in oklab, #22c55e 30%, var(--surface)); box-shadow: inset 0 0 0 1px #22c55e; }
  .adm-switch.is-on .adm-switch__dot { transform: translateX(1rem); background: #22c55e; }
  .adm-switch[disabled] { opacity: .5; cursor: wait; }
  /* Pestaña Order Bump del editor */
  .adm-bump { display: flex; align-items: center; gap: .8rem; background: var(--surface); border: 1px solid var(--border); border-radius: .7rem; padding: .6rem .7rem; margin-bottom: .55rem; }
  .adm-bump.is-off { border-style: dashed; }
  .adm-bump.is-off .adm-bump__img, .adm-bump.is-off .adm-bump__info { opacity: .45; filter: grayscale(.8); }
  .adm-bump__img { width: 3.2rem; height: 4.2rem; border-radius: .45rem; object-fit: cover; flex-shrink: 0; background: var(--card); }
  .adm-bump__img--ph { display: grid; place-items: center; text-align: center; font-size: .62rem; color: var(--muted-foreground); box-shadow: inset 0 0 0 1px var(--border); padding: .2rem; }
  .adm-bump__info { flex: 1; min-width: 0; }
  .adm-bump__t { margin: 0; font-weight: 700; font-size: .92rem; }
  .adm-bump__p { margin: .25rem 0 0; font-size: .82rem; color: var(--muted-foreground); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-variant-numeric: tabular-nums; }
  .adm-bump__p b { color: var(--brand); font-size: .95rem; }
  .adm-bump__acts { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; }
  .adm-bump__acts .adm-iconbtn { padding: .38rem .5rem; font-size: .8rem; line-height: 1; }
  .adm-bump__cover { display: flex; align-items: center; gap: .8rem; }
  .adm-bump__cover img { width: 4.2rem; height: 5.4rem; object-fit: cover; border-radius: .5rem; }
  .adm-bump__cover .adm-bump__img--ph { width: 4.2rem; height: 5.4rem; }
  @media (max-width: 560px) { .adm-bump { flex-wrap: wrap; } .adm-bump__acts { width: 100%; justify-content: flex-end; } }
  /* Producto oculto (borrador en Shopify): fila apagada, el switch sigue a todo color */
  .adm-switch--vis { margin-right: .35rem; min-width: 5.6rem; }
  .adm-cat__p.is-hidden { border-style: dashed; }
  .adm-cat__p.is-hidden .adm-thumb, .adm-cat__p.is-hidden .adm-cat__pt { opacity: .45; filter: grayscale(.8); }
  .adm-ed-head .adm-switch--vis { margin-right: 0; }
  @media (max-width: 560px) { .adm-switch--vis { min-width: 0; } .adm-cat__p .adm-switch--vis .adm-switch__lbl { display: none; } }
  .adm-dlg { z-index: 10000; }
  .adm-dlg__box { max-width: 26rem; }
  .adm-dlg__t { margin: 0; font-weight: 800; font-size: 1.02rem; line-height: 1.4; text-wrap: balance; }
  .adm-dlg__d { margin: .6rem 0 0; font-size: .88rem; line-height: 1.5; color: var(--muted-foreground); }
  .adm-dlg__acts { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.3rem; flex-wrap: wrap; }
  .adm-btn--danger { background: #dc2626; }
  .adm-btn--danger:hover { background: #b91c1c; }
  .adm-aca-modblock { background: var(--surface); border: 1px solid var(--border); border-radius: 0.7rem; padding: 0.7rem 0.8rem; }
  .adm-aca-modh2 { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
  .adm-aca-modt2 { font-weight: 700; font-size: 0.92rem; }
  .adm-aca-modblock .adm-aca-lessons { border-top: 1px solid var(--border); }
  .adm-res-row { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 0.4rem; margin-bottom: 0.4rem; align-items: center; }
  .adm-res-row .adm-input { padding: 0.5rem 0.6rem; font-size: 0.85rem; }
  @media (max-width: 560px) { .adm-res-row { grid-template-columns: 1fr auto; } .adm-res-row .adm-res-url { grid-column: 1 / -1; } }
  @media (max-width: 560px) { .adm-aca-modh { flex-wrap: wrap; } .adm-aca-modacts { width: 100%; } .adm-aca-modh2 { flex-wrap: wrap; } }

  /* ===== Editor completo de producto (se guarda en Shopify) ===== */
  .adm-modal__box.adm-ed { max-width: 58rem; max-height: 92vh; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
  .adm-ed-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--border); }
  .adm-ed-head .adm-ed-cover { width: 2.7rem; height: 3.5rem; border-radius: .45rem; object-fit: cover; flex-shrink: 0; background: var(--surface); }
  .adm-ed-ht { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .adm-ed-eyebrow { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
  .adm-ed-ht strong { font-family: var(--font-display); font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .adm-ed-tabs { display: flex; gap: .2rem; padding: .5rem 1.2rem 0; border-bottom: 1px solid var(--border); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .adm-ed-tabs::-webkit-scrollbar { display: none; }
  /* Cabecera, pestañas y pie siempre fijos: solo se desplaza el contenido del editor */
  .adm-ed-head, .adm-ed-tabs, .adm-ed-foot { flex-shrink: 0; }
  .adm-ed-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: .6rem .8rem; font-weight: 700; font-size: .85rem; color: var(--muted-foreground); cursor: pointer; white-space: nowrap; }
  .adm-ed-tabs button:hover { color: var(--foreground); }
  .adm-ed-tabs button.is-active { color: var(--brand); border-bottom-color: var(--brand); }
  .adm-ed-body { padding: 1.3rem 1.4rem 1.6rem; overflow-y: auto; flex: 1; min-height: 0; }
  .adm-ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
  .adm-ed-full { grid-column: 1 / -1; }
  .adm-ed-body textarea.adm-input { resize: vertical; line-height: 1.55; font-family: inherit; }
  .adm-ed-body select.adm-input { cursor: pointer; }
  .adm-label small { font-weight: 500; opacity: .75; }
  .adm-ed-hint { font-size: .76rem; color: var(--muted-foreground); margin-top: .35rem; }
  .adm-ed-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
  .adm-ed-chip { border: 1px solid var(--border); background: var(--surface); color: var(--muted-foreground); border-radius: 9999px; padding: .42rem .9rem; font-weight: 700; font-size: .8rem; cursor: pointer; }
  .adm-ed-chip.is-on { background: color-mix(in oklab, var(--brand) 18%, transparent); border-color: var(--brand); color: var(--brand); }
  .adm-ed-sec { margin: 1.5rem 0 .4rem; }
  .adm-ed-sec:first-child { margin-top: 0; }
  .adm-ed-sech { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .6rem; flex-wrap: wrap; }
  .adm-ed-sech b { font-family: var(--font-display); font-size: .98rem; }
  .adm-ed-sech small { font-size: .76rem; color: var(--muted-foreground); }
  .adm-ed-li { display: flex; gap: .4rem; align-items: center; margin-bottom: .4rem; }
  .adm-ed-li .adm-input { padding: .52rem .7rem; font-size: .88rem; }
  .adm-ed-li .adm-iconbtn { padding: .38rem .5rem; font-size: .8rem; line-height: 1; }
  .adm-ed-star { flex-shrink: 0; width: 2.15rem; height: 2.15rem; border-radius: .5rem; border: 1px solid var(--border); background: var(--surface); color: var(--muted-foreground); cursor: pointer; font-size: 1rem; }
  .adm-ed-star.is-on { color: #fbbf24; border-color: #fbbf24; background: color-mix(in oklab, #fbbf24 14%, transparent); }
  .adm-ed-blk { background: var(--surface); border: 1px solid var(--border); border-radius: .7rem; padding: .7rem; margin-bottom: .6rem; display: flex; flex-direction: column; gap: .45rem; }
  .adm-ed-blk .adm-input { background: var(--card); }
  .adm-ed-blkh { display: flex; gap: .4rem; align-items: center; }
  .adm-ed-blkh .adm-iconbtn { padding: .38rem .5rem; font-size: .8rem; line-height: 1; }
  .adm-ed-empty { font-size: .84rem; color: var(--muted-foreground); padding: .2rem 0 .6rem; }
  .adm-ed-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr)); gap: .8rem; margin: .8rem 0 1rem; }
  .adm-ed-mc { background: var(--surface); border: 1px solid var(--border); border-radius: .7rem; overflow: hidden; display: flex; flex-direction: column; }
  .adm-ed-mimg { aspect-ratio: 3/4; display: grid; place-items: center; background: #0e0e0e; color: var(--muted-foreground); font-size: .75rem; text-align: center; padding: .4rem; }
  .adm-ed-mimg img { width: 100%; height: 100%; object-fit: cover; }
  .adm-ed-mimg:has(img) { padding: 0; }
  .adm-ed-mtag { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .4rem .55rem 0; color: var(--muted-foreground); }
  .adm-ed-mtag.cover { color: var(--brand); } .adm-ed-mtag.sales { color: #fbbf24; }
  .adm-ed-mact { display: flex; gap: .3rem; padding: .45rem .55rem .55rem; }
  .adm-ed-mact .adm-iconbtn { flex: 1; padding: .32rem; font-size: .8rem; line-height: 1; }
  .adm-ed-up { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
  .adm-ed-up .adm-input { flex: 1; min-width: 12rem; }
  .adm-ed-foot { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.4rem; border-top: 1px solid var(--border); background: var(--card); }
  .adm-ed-foot .adm-msg { margin: 0 auto 0 0; }
  .adm-msg.is-ok { color: #4ade80; }
  .adm-ed-warn { background: color-mix(in oklab, #fbbf24 12%, var(--surface)); border: 1px solid color-mix(in oklab, #fbbf24 45%, var(--border)); border-radius: .7rem; padding: .9rem 1rem; font-size: .88rem; line-height: 1.55; }
  .adm-ed-actions { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
  @media (max-width: 640px) {
    .adm-ed-grid { grid-template-columns: 1fr; }
    .adm-ed-foot { flex-wrap: wrap; } .adm-ed-foot .adm-msg { width: 100%; margin: 0; }
    .adm-ed-head { padding: .9rem 1rem; } .adm-ed-body { padding: 1.1rem 1rem 1.4rem; }
  }
/* END_SECTION:account-admin */

/* START_SECTION:account-portal (INDEX:1) */
/* La burbuja de WhatsApp arranca oculta; el JS la muestra solo en "Mis compras" con productos comprados. */
  .pa-wa-host[hidden] { display: none !important; }
  .pa { padding-top: 2.5rem; padding-bottom: 3.5rem; min-height: 64vh; }
  .pa-wrap { max-width: 54rem; margin-inline: auto; }
  .pa-narrow { max-width: 46rem; margin-inline: auto; }
  .pa-center { display: flex; justify-content: center; align-items: center; min-height: 40vh; }
  .pa-spin { width: 1.4rem; height: 1.4rem; border-radius: 9999px; border: 3px solid color-mix(in oklab, var(--brand) 30%, transparent); border-top-color: var(--brand); animation: pa-rot 0.7s linear infinite; display: inline-block; }
  @keyframes pa-rot { to { transform: rotate(360deg); } }
  .pa-hidden { display: none !important; }

  .pa-login { max-width: 30rem; margin: 1rem auto 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
  .pa-eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--brand); }
  .pa-h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 800; margin: 0.25rem 0 0.5rem; }
  .pa-sub { font-size: 0.95rem; color: var(--muted-foreground); margin-bottom: 1.4rem; }
  .pa-pagesub { color: var(--muted-foreground); margin: 0.25rem 0 1.6rem; }
  .pa-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted-foreground); margin-bottom: 0.4rem; }
  .pa-input { appearance: none; -webkit-appearance: none; box-sizing: border-box; width: 100%; border: 0; border-radius: 0.65rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); padding: 0.85rem 1rem; font-size: 1rem; color: var(--foreground); outline: none; }
  .pa-input:focus { box-shadow: inset 0 0 0 1px var(--brand); }
  .pa-input--code { text-align: center; letter-spacing: 0.5rem; font-size: 1.4rem; font-weight: 700; }
  .pa-input--ro { color: var(--muted-foreground); }
  .pa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; border: 0; border-radius: 0.7rem; background: var(--brand); color: var(--brand-foreground); font-weight: 700; font-size: 0.95rem; padding: 0.85rem 1rem; cursor: pointer; transition: filter 0.15s; }
  .pa-btn:hover { filter: brightness(1.05); }
  .pa-btn:disabled { opacity: 0.6; cursor: default; }
  .pa-btn--sm { width: auto; padding: 0.6rem 1.2rem; font-size: 0.875rem; }
  .pa-link { background: none; border: 0; color: var(--brand); font-size: 0.875rem; font-weight: 600; cursor: pointer; padding: 0; }
  .pa-msg { margin-top: 0.9rem; font-size: 0.875rem; min-height: 1.2em; color: var(--muted-foreground); }
  .pa-msg.is-error { color: #f87171; }
  .pa-msg.is-ok { color: #4ade80; }
  .pa-field { margin-bottom: 0.95rem; }

  /* Mis compras (lista horizontal) */
  .pa-list { display: flex; flex-direction: column; gap: 0.7rem; }
  .pa-row { display: flex; align-items: center; gap: 1rem; background: var(--card); border: 1px solid var(--border); border-radius: 0.85rem; padding: 0.7rem 1rem; }
  .pa-row-thumb { width: 3rem; height: 4.1rem; border-radius: 0.5rem; object-fit: cover; flex-shrink: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
  .pa-row-thumb--ph { display: grid; place-items: center; }
  .pa-row-thumb--ph svg { width: 1.4rem; height: 1.4rem; color: var(--muted-foreground); }
  .pa-row-info { flex: 1; min-width: 0; }
  .pa-row-title { font-weight: 700; font-size: 0.95rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pa-prod-date { font-size: 0.78rem; color: var(--muted-foreground); margin-top: 0.15rem; }
  .pa-row .pa-btn { width: auto; flex-shrink: 0; }
  .pa-row .pa-btn svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
  .pa-more { display: flex; justify-content: center; margin-top: 1.4rem; }
  .pa-btn--ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1px var(--border); }
  .pa-btn--ghost:hover { background: color-mix(in oklab, var(--brand) 10%, transparent); filter: none; }
  .pa-btn--ghost svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
  a.pa-btn { text-decoration: none; }
  .pa-row a.pa-btn svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }

  /* ===== Página de descarga con order bumps ===== */
  .pa-demo-note { background: color-mix(in oklab, #f59e0b 14%, var(--card)); border: 1px dashed #f59e0b; color: var(--foreground); border-radius: .7rem; padding: .7rem .9rem; font-size: .88rem; margin-bottom: 1rem; }
  .pa-back { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted-foreground); font-size: .88rem; font-weight: 600; text-decoration: none; margin-bottom: 1.1rem; }
  .pa-back:hover { color: var(--foreground); }
  .pa-back svg { width: 1rem; height: 1rem; }
  /* Franja delgada: portada pequeña + nombre + botón, para que las ofertas se vean sin bajar */
  .pa-dl-hero { display: flex; gap: .9rem; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: .9rem; padding: .65rem .8rem; }
  .pa-dl-cover { width: 3rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .45rem; flex-shrink: 0; display: grid; place-items: center; }
  .pa-dl-info { flex: 1; min-width: 0; }
  .pa-dl-ok { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .02em; color: #22c55e; }
  .pa-dl-title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.2; margin: .15rem 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pa-dl-main { width: auto; flex-shrink: 0; padding: .7rem 1.2rem; font-size: .92rem; }
  .pa-dl-main svg { width: 1.1rem; height: 1.1rem; }

  .pa-ub { margin-top: 1.6rem; }
  .pa-ub-head { text-align: center; margin-bottom: 1.2rem; }
  .pa-ub-flag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--brand); padding: .35rem .85rem; border-radius: 9999px; }
  .pa-ub-h { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 3.4vw, 1.7rem); line-height: 1.2; margin: .75rem 0 .4rem; text-wrap: balance; }
  .pa-ub-h em { font-style: normal; color: var(--brand); }
  .pa-ub-sub { color: var(--muted-foreground); font-size: .92rem; margin: 0 auto; max-width: 32rem; line-height: 1.5; }
  .pa-ub-list { display: grid; gap: 1rem; }
  .pa-ub-card { display: flex; gap: 1.2rem; align-items: flex-start; background: linear-gradient(135deg, color-mix(in oklab, var(--brand) 12%, var(--card)), var(--card) 60%); border: 2px solid color-mix(in oklab, var(--brand) 70%, var(--border)); border-radius: 1.1rem; padding: 1.2rem; box-shadow: 0 22px 46px -30px var(--brand); }
  .pa-ub-card.is-owned { background: var(--card); border: 1px solid var(--border); box-shadow: none; }
  .pa-ub-img { width: 8rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .7rem; flex-shrink: 0; box-shadow: 0 12px 26px -12px rgba(0,0,0,.75); }
  .pa-ub-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .55rem; }
  .pa-ub-tag { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--brand); background: color-mix(in oklab, var(--brand) 16%, transparent); padding: .22rem .6rem; border-radius: .4rem; }
  .pa-ub-title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; margin: 0; text-wrap: balance; }
  .pa-ub-pitch { color: var(--muted-foreground); font-size: .92rem; line-height: 1.55; }
  .pa-ub-pitch p { margin: 0 0 .5rem; } .pa-ub-pitch p:last-child { margin-bottom: 0; }
  .pa-ub-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .55rem; font-variant-numeric: tabular-nums; }
  .pa-ub-price s { color: var(--muted-foreground); font-size: .95rem; }
  .pa-ub-price b { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--brand); line-height: 1; }
  .pa-ub-price span { font-size: .75rem; font-weight: 800; color: #fff; background: #16a34a; padding: .18rem .5rem; border-radius: .35rem; }
  .pa-ub-cta { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 1rem; padding: .95rem 1rem; border-radius: 9999px; text-decoration: none; box-shadow: 0 10px 26px -12px var(--brand); transition: transform .12s, filter .12s; }
  .pa-ub-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
  .pa-ub-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .pa-ub-safe { display: flex; align-items: center; justify-content: center; gap: .35rem; margin: 0; font-size: .76rem; color: var(--muted-foreground); }
  .pa-ub-safe svg { width: .85rem; height: .85rem; }
  .pa-ub-owned { width: auto; align-self: flex-start; }
  @media (max-width: 600px) {
    .pa-dl-hero { flex-wrap: wrap; }
    .pa-dl-main { width: 100%; }
    .pa-ub-card { flex-direction: column; align-items: stretch; }
    .pa-ub-img { width: 100%; max-width: 11rem; align-self: center; }
    .pa-ub-tag { align-self: center; }
    .pa-ub-title, .pa-ub-price { text-align: center; justify-content: center; }
  }
  @media (prefers-reduced-motion: reduce) { .pa-ub-cta { transition: none; } .pa-ub-cta:hover { transform: none; } }
  @media (max-width: 560px) {
    .pa-row { flex-wrap: wrap; }
    .pa-row .pa-btn { width: 100%; }
  }
  .pa-empty { text-align: center; padding: 3.5rem 1rem; color: var(--muted-foreground); border: 1px dashed var(--border); border-radius: var(--radius); }
  .pa-empty svg { width: 2.6rem; height: 2.6rem; color: var(--brand); margin-bottom: 0.6rem; }
  .pa-empty h2 { font-family: var(--font-display); font-weight: 800; color: var(--foreground); margin: 0 0 0.4rem; }

  /* Mi perfil */
  .pa-pcard { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
  .pa-pleft { text-align: center; }
  .pa-avatar-lg { width: 7.5rem; height: 7.5rem; border-radius: 9999px; background: var(--brand); color: var(--brand-foreground); display: grid; place-items: center; font-weight: 800; font-size: 2.4rem; overflow: hidden; margin: 0 auto 1.1rem; }
  .pa-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
  .pa-help { font-size: 0.76rem; color: var(--muted-foreground); margin: 0.5rem 0 0; }
  .pa-pdivide { border: 0; border-top: 1px solid var(--border); margin: 1.4rem 0; }

  @media (max-width: 1200px) { .pa-grid { grid-template-columns: repeat(5, 1fr); } }
  @media (max-width: 1000px) { .pa-grid { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 760px) { .pa-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 740px) {
    .pa-pcard { grid-template-columns: 1fr; gap: 1.4rem; }
  }
  @media (max-width: 460px) { .pa-grid { grid-template-columns: repeat(2, 1fr); } }

  /* ===== Video de instalación (solo visible si el usuario tiene compras) ===== */
  /* Barra fija: el botón se queda pegado al hacer scroll, justo debajo del header (65px). Fondo de la página para tapar el contenido que pasa por detrás. */
  .pa-install { position: sticky; top: 65px; z-index: 30; margin: 0 0 1rem; padding: 0.6rem 0 0.85rem; display: flex; flex-direction: column; align-items: center; background: var(--background); box-shadow: 0 10px 14px -12px rgba(0,0,0,.6); }
  /* En móvil (<=767px) el header se oculta al bajar, así que el botón se pega arriba del todo */
  @media (max-width: 767px) { .pa-install { top: 0; } }
  .pa-install-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; width: auto; max-width: 100%; border: 0; border-radius: 0.9rem; padding: 0.95rem 2.2rem; cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: clamp(0.98rem, 2.6vw, 1.08rem); color: #fff; overflow: hidden; background: linear-gradient(100deg, var(--brand), color-mix(in oklab, var(--brand) 55%, #ff9d5c)); box-shadow: 0 10px 26px -12px color-mix(in oklab, var(--brand) 75%, transparent); animation: pa-inst-pulse 1.7s ease-in-out infinite; }
  .pa-install-btn:hover { filter: brightness(1.06); }
  .pa-install-btn > svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; }
  .pa-install-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); animation: pa-inst-shine 2.8s ease-in-out infinite; }
  .pa-install-badge { display: inline-flex; align-items: center; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(255,255,255,.24); padding: 0.14rem 0.5rem; border-radius: 9999px; }
  .pa-install-hint { text-align: center; font-size: 0.82rem; color: var(--muted-foreground); margin: 0.55rem 0 0; }
  @keyframes pa-inst-pulse { 0%,100% { transform: scale(1); box-shadow: 0 10px 26px -12px color-mix(in oklab, var(--brand) 75%, transparent); } 50% { transform: scale(1.04); box-shadow: 0 16px 38px -8px color-mix(in oklab, var(--brand) 95%, transparent); } }
  @keyframes pa-inst-shine { 0% { left: -60%; } 55%,100% { left: 130%; } }

  /* Popup del video */
  .pa-vmodal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 1rem; }
  .pa-vmodal[hidden] { display: none; }
  .pa-vmodal__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(2px); }
  .pa-vmodal__box { position: relative; z-index: 1; width: min(880px, 100%); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
  .pa-vmodal__head { display: flex; align-items: center; justify-content: space-between; padding: 0.95rem 1.15rem; }
  .pa-vmodal__title { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; margin: 0; }
  .pa-vmodal__x { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--surface); color: var(--foreground); cursor: pointer; flex-shrink: 0; }
  .pa-vmodal__x svg { width: 1.1rem; height: 1.1rem; }
  .pa-vmodal__video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
  .pa-vmodal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .pa-vmodal__foot { padding: 1.1rem 1.15rem 1.3rem; display: flex; justify-content: center; }
  .pa-community-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; width: auto; max-width: 100%; border: 0; border-radius: 0.8rem; padding: 0.95rem 2rem; font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; text-decoration: none; overflow: hidden; background: linear-gradient(100deg, #6b4dff, #a03cff); box-shadow: 0 10px 24px -12px rgba(120,60,255,.85); transition: filter 0.15s; animation: pa-comm-pulse 1.7s ease-in-out infinite; }
  .pa-community-btn:hover { filter: brightness(1.08); }
  .pa-community-btn svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
  .pa-community-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); animation: pa-inst-shine 2.8s ease-in-out infinite; }
  @keyframes pa-comm-pulse { 0%,100% { transform: scale(1); box-shadow: 0 10px 24px -12px rgba(120,60,255,.85); } 50% { transform: scale(1.04); box-shadow: 0 16px 36px -8px rgba(120,60,255,1); } }

  /* ===== Responsivo móvil: video de instalación + popup ===== */
  @media (max-width: 560px) {
    .pa-install { padding: 0.5rem 0 0.7rem; }
    .pa-install-btn { width: 100%; padding: 0.85rem 1rem; gap: 0.4rem; font-size: 0.92rem; flex-wrap: wrap; line-height: 1.2; }
    .pa-install-btn > svg { width: 1.15rem; height: 1.15rem; }
    .pa-install-badge { font-size: 0.6rem; padding: 0.12rem 0.44rem; }
    .pa-install-hint { font-size: 0.76rem; }
    .pa-vmodal { padding: 0.6rem; align-items: flex-start; padding-top: 3rem; }
    .pa-vmodal__head { padding: 0.75rem 0.9rem; }
    .pa-vmodal__title { font-size: 0.95rem; }
    .pa-vmodal__x { width: 2rem; height: 2rem; }
    .pa-vmodal__foot { padding: 0.85rem 0.9rem 1rem; }
    .pa-community-btn { width: 100%; padding: 0.85rem 1rem; font-size: 0.86rem; gap: 0.4rem; }
  }

  /* ===== Academia ===== */
  .pa-aca-wrap { max-width: 82rem; margin-inline: auto; }
  .pa-aca-note { display: flex; align-items: flex-start; gap: 0.7rem; background: color-mix(in oklab, var(--brand) 8%, var(--card)); border: 1px solid color-mix(in oklab, var(--brand) 28%, var(--border)); border-radius: 0.85rem; padding: 0.9rem 1rem; margin-bottom: 1.5rem; font-size: 0.9rem; line-height: 1.45; }
  .pa-aca-note svg { width: 1.25rem; height: 1.25rem; color: var(--brand); flex-shrink: 0; margin-top: 0.1rem; }
  /* 6 tarjetas por fila; si hay más cursos bajan a la siguiente fila de 6 */
  .pa-aca-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin: 0 auto; }
  @media (max-width: 1180px) { .pa-aca-grid { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 820px)  { .pa-aca-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; } }
  @media (max-width: 520px)  { .pa-aca-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } }
  .pa-aca-card { position: relative; display: flex; flex-direction: column; text-align: left; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; cursor: pointer; padding: 0; color: var(--foreground); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
  .pa-aca-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.8); border-color: color-mix(in oklab, var(--brand) 40%, var(--border)); }
  .pa-aca-card.is-locked { cursor: not-allowed; }
  .pa-aca-cover { position: relative; display: block; aspect-ratio: 3 / 4; background: #0e0e0e; overflow: hidden; }
  /* Solo administradores: aviso de curso oculto */
  .pa-aca-hidden { position: absolute; left: .6rem; right: .6rem; bottom: .6rem; z-index: 2; padding: .3rem .5rem; border-radius: .45rem; background: rgba(0,0,0,.78); color: #f59e0b; font-size: .68rem; font-weight: 700; text-align: center; line-height: 1.3; }
  .pa-aca-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
  .pa-aca-card:hover .pa-aca-cover img { transform: scale(1.04); }
  .pa-aca-card.is-locked .pa-aca-cover img { filter: grayscale(0.75) brightness(0.45); }
  /* Sin degradado inferior: el título ya viene horneado en la imagen con su propio contraste */
  .pa-aca-cover::after { content: none; }
  .pa-aca-cover-title { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; text-align: center; padding: 1.1rem; font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; line-height: 1.2; color: #fff; background: linear-gradient(160deg, color-mix(in oklab, var(--brand) 32%, #171717), #101010); }
  /* Candado circular: gris = bloqueado, verde = desbloqueado */
  .pa-aca-badge { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 9999px; }
  .pa-aca-badge svg { width: 1.25rem; height: 1.25rem; color: #fff; }
  .pa-aca-card.is-locked .pa-aca-badge { background: #6b7280; box-shadow: 0 4px 12px -4px rgba(0,0,0,.6); }
  .pa-aca-card.is-unlocked .pa-aca-badge { background: #22c55e; box-shadow: 0 5px 16px -4px rgba(34,197,94,.75); }
  /* Curso desbloqueado (con acceso): borde verde fino permanente + brillo suave */
  .pa-aca-card.is-unlocked { border-color: #22c55e; box-shadow: 0 0 12px -4px rgba(34,197,94,.4); }
  .pa-aca-card.is-unlocked:hover { border-color: #22c55e; box-shadow: 0 18px 40px -22px rgba(0,0,0,.8), 0 0 16px -4px rgba(34,197,94,.55); }
  .pa-aca-body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
  .pa-aca-title { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1.2; }
  .pa-aca-meta { font-size: 0.8rem; color: var(--muted-foreground); }
  .pa-aca-locktxt { color: #f59e0b; font-weight: 600; }
  .pa-aca-cta { margin-top: 0.35rem; font-size: 0.82rem; font-weight: 700; color: var(--brand); }
  @keyframes pa-shake { 10%,90% { transform: translateX(-1px); } 20%,80% { transform: translateX(2px); } 30%,50%,70% { transform: translateX(-4px); } 40%,60% { transform: translateX(4px); } }
  .pa-aca-card.pa-shake { animation: pa-shake 0.4s ease; }

  /* Detalle del módulo (reproductor) */
  .pa-aca-back { background: none; border: 0; color: var(--brand); font-weight: 700; cursor: pointer; padding: 0.2rem 0; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; margin-bottom: 0.7rem; }
  .pa-aca-back svg { width: 1.1rem; height: 1.1rem; }
  .pa-aca-player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 0.9rem; overflow: hidden; border: 1px solid var(--border); margin-top: 0.4rem; }
  .pa-aca-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .pa-aca-player-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted-foreground); font-size: 0.9rem; text-align: center; padding: 1.5rem; }
  .pa-aca-lessons { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.1rem; }
  .pa-aca-lesson { display: flex; align-items: center; gap: 0.7rem; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--border); border-radius: 0.7rem; padding: 0.7rem 0.8rem; cursor: pointer; color: var(--foreground); font-size: 0.9rem; }
  .pa-aca-lesson:hover { border-color: color-mix(in oklab, var(--brand) 40%, var(--border)); }
  .pa-aca-lesson.is-active { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 10%, var(--card)); }
  .pa-aca-lesson-num { font-weight: 700; color: var(--muted-foreground); font-size: 0.8rem; min-width: 1.4rem; }
  .pa-aca-lesson-ico { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 9999px; background: color-mix(in oklab, var(--brand) 15%, transparent); color: var(--brand); flex-shrink: 0; }
  .pa-aca-lesson-ico svg { width: 0.9rem; height: 0.9rem; }
  .pa-aca-lesson-t { flex: 1; font-weight: 600; }
  .pa-aca-lesson-dur { font-size: 0.78rem; color: var(--muted-foreground); }

  /* Reproductor de curso: módulos/lecciones a la izquierda, video a la derecha */
  .pa-course { display: grid; grid-template-columns: 19rem 1fr; gap: 1.3rem; align-items: start; margin-top: 0.5rem; }
  .pa-course-side { display: flex; flex-direction: column; gap: 0.9rem; }
  .pa-course-mod { background: var(--card); border: 1px solid var(--border); border-radius: 0.8rem; overflow: hidden; }
  /* Cabecera de módulo = botón colapsable con flecha */
  .pa-course-mod-title { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; text-align: left; border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 0.88rem; color: var(--foreground); padding: 0.7rem 0.85rem; margin: 0; background: color-mix(in oklab, var(--brand) 9%, var(--card)); }
  .pa-course-mod-title svg { width: 1.1rem; height: 1.1rem; color: var(--muted-foreground); flex-shrink: 0; transition: transform 0.2s ease; }
  .pa-course-mod.is-open .pa-course-mod-title { border-bottom: 1px solid var(--border); }
  .pa-course-mod.is-open .pa-course-mod-title svg { transform: rotate(180deg); }
  .pa-course-mod:not(.is-open) .pa-course-lessons { display: none; }
  .pa-course-lessons { display: flex; flex-direction: column; padding: 0.4rem; gap: 0.2rem; }
  .pa-course-lesson { display: flex; align-items: center; gap: 0.55rem; width: 100%; text-align: left; background: none; border: 0; border-radius: 0.55rem; padding: 0.55rem 0.5rem; cursor: pointer; color: var(--foreground); font-size: 0.85rem; }
  .pa-course-lesson:hover { background: var(--surface); }
  .pa-course-lesson.is-active { background: color-mix(in oklab, var(--brand) 14%, transparent); }
  .pa-course-lnum { font-weight: 700; color: var(--muted-foreground); font-size: 0.74rem; min-width: 1.25rem; }
  .pa-course-lico { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 9999px; background: color-mix(in oklab, var(--brand) 15%, transparent); color: var(--brand); flex-shrink: 0; }
  .pa-course-lico svg { width: 0.8rem; height: 0.8rem; }
  .pa-course-lesson.is-active .pa-course-lico { background: var(--brand); color: #fff; }
  .pa-course-lt { flex: 1; font-weight: 600; line-height: 1.25; }
  .pa-course-ldur { font-size: 0.74rem; color: var(--muted-foreground); flex-shrink: 0; }
  .pa-course-empty { font-size: 0.85rem; color: var(--muted-foreground); padding: 0.6rem 0.2rem; }
  .pa-course-now { font-size: 0.92rem; color: var(--muted-foreground); }
  /* Debajo del video: descripción, recursos, transcripción */
  .pa-course-below { margin-top: 0.85rem; }
  .pa-lesson-desc { margin-top: 0.7rem; font-size: 0.93rem; line-height: 1.65; color: var(--foreground); }
  .pa-lesson-h { font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; margin: 1.2rem 0 0.55rem; }
  .pa-lesson-res { display: flex; flex-direction: column; gap: 0.45rem; }
  .pa-res { display: flex; align-items: center; gap: 0.6rem; background: var(--card); border: 1px solid var(--border); border-radius: 0.6rem; padding: 0.65rem 0.85rem; color: var(--foreground); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
  .pa-res:hover { border-color: color-mix(in oklab, var(--brand) 40%, var(--border)); background: color-mix(in oklab, var(--brand) 6%, var(--card)); }
  .pa-res svg { width: 1.05rem; height: 1.05rem; color: var(--brand); flex-shrink: 0; }
  .pa-lesson-tr { margin-top: 1.2rem; border: 1px solid var(--border); border-radius: 0.7rem; overflow: hidden; }
  .pa-lesson-tr summary { cursor: pointer; padding: 0.75rem 0.9rem; font-weight: 700; font-size: 0.9rem; background: var(--card); list-style: none; }
  .pa-lesson-tr summary::-webkit-details-marker { display: none; }
  .pa-lesson-tr summary::before { content: '📝 '; }
  .pa-lesson-tr-body { padding: 0.9rem; font-size: 0.88rem; line-height: 1.7; color: var(--muted-foreground); border-top: 1px solid var(--border); max-height: 22rem; overflow-y: auto; }
  @media (max-width: 800px) {
    .pa-course { grid-template-columns: 1fr; gap: 1rem; }
    .pa-course-main { order: -1; }   /* en móvil el video va arriba y las lecciones debajo */
  }

  /* ===== Academia — contenido de PAGO ===== */
  /* Tarjeta de curso de pago (no comprado): portada a color + candado coral */
  .pa-aca-card.is-paid { cursor: pointer; }
  /* Candado cerrado (sin acceso): fondo gris */
  .pa-aca-card.is-paid .pa-aca-badge { background: #6b7280; box-shadow: 0 4px 12px -4px rgba(0,0,0,.6); }
  /* Sin acceso: portada apagada; al pasar el cursor recupera brillo para invitar al clic */
  .pa-aca-card.is-paid .pa-aca-cover img { filter: brightness(0.45) saturate(0.85); transition: filter 0.25s ease, transform 0.3s ease; }
  .pa-aca-card.is-paid:hover .pa-aca-cover img { filter: brightness(0.8) saturate(1); }
  .pa-aca-paidtxt { color: var(--brand); font-weight: 700; }
  /* Bloque de venta persuasivo */
  .pa-paid-wrap { display: grid; grid-template-columns: 18rem 1fr; gap: 1.5rem; align-items: start; margin-top: 0.6rem; }
  @media (max-width: 720px) { .pa-paid-wrap { grid-template-columns: 1fr; } }
  .pa-paid-cover img { width: 100%; border-radius: 1rem; display: block; border: 1px solid var(--border); }
  .pa-paid { background: linear-gradient(160deg, color-mix(in oklab, var(--brand) 14%, var(--card)), var(--card)); border: 1px solid color-mix(in oklab, var(--brand) 35%, var(--border)); border-radius: 1rem; padding: 1.4rem 1.4rem 1.5rem; }
  .pa-paid-tag { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand); background: color-mix(in oklab, var(--brand) 15%, transparent); padding: 0.25rem 0.6rem; border-radius: 9999px; }
  .pa-paid-tag svg { width: 0.9rem; height: 0.9rem; }
  .pa-paid-title { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; line-height: 1.2; margin: 0.7rem 0 0.5rem; }
  .pa-paid-pitch { font-size: 0.95rem; line-height: 1.6; color: var(--foreground); margin: 0 0 1rem; }
  .pa-paid-price { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--brand); margin-bottom: 0.9rem; }
  .pa-paid-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; border: 0; border-radius: 0.8rem; padding: 0.95rem 1.8rem; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #fff; text-decoration: none; cursor: pointer; background: linear-gradient(100deg, var(--brand), color-mix(in oklab, var(--brand) 55%, #ff9d5c)); box-shadow: 0 10px 26px -12px color-mix(in oklab, var(--brand) 80%, transparent); transition: filter 0.15s; }
  .pa-paid-btn:hover { filter: brightness(1.07); }
  .pa-paid-btn.is-off { background: var(--surface); color: var(--muted-foreground); cursor: default; box-shadow: none; }
  /* Módulo de pago en el sidebar */
  .pa-course-paidchip { margin-left: 0.5rem; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; background: var(--brand); padding: 0.1rem 0.4rem; border-radius: 9999px; vertical-align: middle; }
  .pa-course-lesson.is-locked-les { opacity: 0.75; }
  .pa-course-lesson.is-locked-les .pa-course-lico { background: color-mix(in oklab, var(--muted-foreground) 20%, transparent); color: var(--muted-foreground); }
/* END_SECTION:account-portal */

/* START_SECTION:ebook-preview (INDEX:3) */
.ebp { border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); padding-block: 4rem; }
  .ebp__grid { max-width: 64rem; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
  @media (min-width: 640px) { .ebp__grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1024px) { .ebp__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
  .ebp__card { text-align: left; }
  .ebp__cover { position: relative; max-width: 420px; margin: 0 auto; overflow: hidden; border-radius: var(--radius); box-shadow: 0 16px 40px -24px hsl(0 0% 0% / 0.8); transition: transform .3s, box-shadow .3s; }
  .ebp__card:hover .ebp__cover { transform: scale(1.05); box-shadow: 0 0 0 1px color-mix(in oklab, var(--brand) 20%, transparent), 0 12px 40px -12px color-mix(in oklab, var(--brand) 35%, transparent); }
  .ebp__cover img { display: block; width: 100%; height: auto; }
  .ebp__cta { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: rgba(0,0,0,.3); color: #fff; opacity: 1; font-size: 0.875rem; font-weight: 600; }
  .ebp__cta::before { content: ""; }
  .ebp__title { margin-top: 0.75rem; text-align: center; font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; }
  .ebp__sub { text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

  .ebp__modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
  .ebp__modal[hidden] { display: none; }
  .ebp__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.9); }
  .ebp__x { position: absolute; top: 1rem; right: 1rem; z-index: 40; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--background); color: var(--foreground); }
  .ebp__badge { position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 40; display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; background: var(--brand); color: var(--brand-foreground); padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
  .ebp__stage { position: relative; z-index: 30; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 4rem 1rem; }
  .ebp__book { margin: 0 auto; }
  .ebp__book .page { background: #fff; }
  .ebp__book .page img { width: 100%; height: 100%; object-fit: contain; background: var(--muted); }
  .ebp__loading { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--foreground); }
  .ebp__spin { width: 3rem; height: 3rem; border-radius: 9999px; border: 3px solid color-mix(in oklab, var(--brand) 30%, transparent); border-top-color: var(--brand); animation: spin 0.8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .ebp__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 35; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--background); color: var(--foreground); }
  .ebp__nav--prev { left: 1rem; }
  .ebp__nav--next { right: 1rem; }
  .ebp__nav:disabled { opacity: 0.4; }
  .ebp__demo-end { position: relative; display: grid; place-items: center; height: 100%; background: #000; text-align: center; padding: 2rem; }
  .ebp__demo-end img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: blur(8px); }
  .ebp__demo-end .ebp__demo-inner { position: relative; z-index: 1; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
  .ebp__demo-end h3 { font-size: 2.25rem; font-weight: 900; text-shadow: 2px 2px 8px rgba(0,0,0,.9); }
/* END_SECTION:ebook-preview */

/* START_SECTION:faq (INDEX:4) */
.faq-list { display: flex; flex-direction: column; }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 600; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-chevron { transition: transform 0.2s ease; flex-shrink: 0; }
  .faq-item[open] .faq-chevron { transform: rotate(180deg); }
  .faq-answer { padding-bottom: 1.1rem; font-size: 0.9rem; line-height: 1.6; }
/* END_SECTION:faq */

/* START_SECTION:feature-strip (INDEX:5) */
.fstrip { overflow: hidden; border-block: 1px solid var(--border); background: color-mix(in oklab, var(--card) 50%, var(--background)); }
  .fstrip__track { display: flex; width: max-content; }
  .fstrip__cell { display: flex; flex-shrink: 0; align-items: center; gap: 0.75rem; border-right: 1px solid var(--border); padding: 1.25rem 2rem; }
  .fstrip__ico { display: grid; place-items: center; height: 2.5rem; width: 2.5rem; flex-shrink: 0; border-radius: 0.5rem; background: color-mix(in oklab, var(--brand) 10%, transparent); color: var(--brand); }
  .fstrip__num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--brand); }
  .fstrip__t { white-space: nowrap; font-size: 0.875rem; font-weight: 600; }
  .fstrip__s { white-space: nowrap; font-size: 0.75rem; color: var(--muted-foreground); }
/* END_SECTION:feature-strip */

/* START_SECTION:featured-collections (INDEX:6) */
.coll-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
  @media (min-width: 640px) { .coll-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .coll-grid { grid-template-columns: repeat(4, 1fr); } }
  .coll-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--card); padding: 2rem; border: 1px solid var(--border); transition: border-color .2s ease; }
  .coll-card:hover { border-color: color-mix(in oklab, var(--brand) 55%, var(--border)); }
  .coll-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transition: opacity .3s ease; }
  .coll-card:hover img { opacity: 0.55; }
  .coll-card__overlay { position: absolute; inset: 0; background: color-mix(in oklab, var(--card) 60%, transparent); }
  .coll-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.5rem; }
  .coll-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }
  .coll-card__desc { font-size: 0.875rem; color: var(--muted-foreground); }
  .coll-card__link { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand); margin-top: 0.5rem; }
  /* Tarjeta "Software": resaltada con borde de marca + badge Nuevo */
  .coll-card--new { border-color: color-mix(in oklab, var(--brand) 60%, var(--border)); box-shadow: 0 0 0 1px color-mix(in oklab, var(--brand) 45%, transparent), 0 18px 40px -28px var(--brand); }
  .coll-card--new:hover { border-color: var(--brand); }
  .coll-card__badge { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.6rem; border-radius: 9999px; background: var(--brand); color: var(--brand-foreground, #fff); line-height: 1; box-shadow: 0 4px 12px -4px color-mix(in oklab, var(--brand) 70%, transparent); }
/* END_SECTION:featured-collections */

/* START_SECTION:footer (INDEX:8) */
.footer { border-top: 1px solid var(--border); margin-top: 2rem; }
  .footer__grid { max-width: var(--maxw); margin: 0 auto; padding: 3.5rem 1.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
  @media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
  .footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
  .footer__col h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-foreground); margin-bottom: 0.4rem; }
  .footer__col a { font-size: 0.9rem; color: var(--foreground); transition: color .2s; }
  .footer__col a:hover { color: var(--brand); }
  .footer__bottom { border-top: 1px solid var(--border); text-align: center; padding: 1.5rem; font-size: 0.8rem; color: var(--muted-foreground); }
/* END_SECTION:footer */

/* START_SECTION:header (INDEX:9) */
/* El wrapper de sección medía igual que el header y rompía el sticky (no tenía espacio para fijarse).
     Con display:contents el header se fija contra toda la página. */
  #shopify-section-header { display: contents; }
  .cat-dd { position: relative; }
  .cat-dd summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.25rem; }
  .cat-dd summary::-webkit-details-marker { display: none; }
  .cat-dd[open] summary { color: var(--foreground); }
  .cat-dd__panel {
    position: absolute; top: 150%; left: 0; z-index: 50;
    width: 40rem; max-width: 92vw; max-height: 80vh; overflow-y: auto;
    background: var(--popover); border: 1px solid var(--border);
    border-radius: 0.85rem; padding: 0.6rem;
    box-shadow: 0 20px 50px -28px hsl(0 0% 0% / 0.85);
  }
  .cat-dd__label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-foreground); padding: 0.4rem 0.5rem 0.55rem; }
  .cat-dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem; }
  .cat-dd__item { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem; border-radius: 0.6rem; transition: background 0.15s; }
  .cat-dd__item:hover { background: var(--surface); }
  .cat-dd__ico { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 0.5rem; border: 1px solid var(--border); background: var(--surface); color: var(--muted-foreground); transition: border-color 0.15s, background 0.15s, color 0.15s; }
  .cat-dd__item:hover .cat-dd__ico { border-color: color-mix(in oklab, var(--brand) 40%, var(--border)); background: color-mix(in oklab, var(--brand) 15%, var(--background)); color: var(--brand); }
  .cat-dd__txt { min-width: 0; display: flex; flex-direction: column; }
  .cat-dd__name { font-size: 0.875rem; font-weight: 500; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cat-dd__count { font-size: 0.72rem; color: var(--muted-foreground); }
  .cat-dd__all { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.4rem; padding: 0.65rem; border-top: 1px solid var(--border); font-size: 0.875rem; font-weight: 600; color: var(--brand); transition: background 0.15s; }
  .cat-dd__all:hover { background: color-mix(in oklab, var(--brand) 10%, transparent); }

  .header__search-toggle, .header__search-back { display: none; color: var(--muted-foreground); }
  .header__catalog { display: none; }

  /* Selector de país: solo la bandera (botón) + menú desplegable */
  .header__loc { position: relative; display: flex; align-items: center; margin-left: 0.5rem; }
  .header__loc-form { position: relative; display: inline-flex; margin: 0; }
  .header__loc-btn {
    display: inline-flex; align-items: center; justify-content: center; line-height: 0;
    padding: 0.28rem; border-radius: 0.5rem; cursor: pointer;
    background: var(--surface); border: 1px solid var(--border); transition: border-color 0.15s;
  }
  .header__loc-btn:hover { border-color: color-mix(in oklab, var(--brand) 50%, var(--border)); }
  .header__loc-flag { display: block; border-radius: 2px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
  .header__loc-menu {
    position: absolute; top: calc(100% + 0.45rem); right: 0; z-index: 80;
    width: 14rem; max-height: 62vh; overflow-y: auto; overflow-x: hidden;
    background: var(--popover); border: 1px solid var(--border);
    border-radius: 0.75rem; padding: 0.35rem;
    box-shadow: 0 18px 44px -22px rgba(0,0,0,.85);
  }
  .header__loc-menu[hidden] { display: none; }
  .header__loc-opt {
    display: flex; align-items: center; gap: 0.55rem; width: 100%;
    padding: 0.5rem 0.6rem; border: 0; border-radius: 0.5rem; background: none;
    color: var(--foreground); font-family: inherit; font-size: 0.85rem; font-weight: 500;
    text-align: left; cursor: pointer;
  }
  .header__loc-opt:hover { background: var(--surface); }
  .header__loc-opt.is-active { color: var(--brand); font-weight: 700; }
  .header__loc-opt .header__loc-flag { flex-shrink: 0; }
  .header__loc-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header__loc-cur { flex-shrink: 0; font-size: 0.78rem; font-weight: 600; color: var(--muted-foreground); }
  .header__loc-opt.is-active .header__loc-cur { color: var(--brand); }

  @media (max-width: 767px) {
    /* En móvil el header se oculta al bajar y reaparece al subir. En catálogo queda fijo siempre. */
    .header[data-mobile-header] { position: sticky; top: 0; transition: transform 0.28s ease; will-change: transform; }
    .header[data-mobile-header].is-hidden { transform: translateY(-100%); }
    .header[data-mobile-header][data-catalog="true"].is-hidden { transform: none; }
    .header__nav, .header__actions { display: none; }
    [data-h-search] { display: none; }
    /* Bandera de país: a la derecha del buscador (order la manda tras el toggle) */
    .header__loc { margin-left: 0.45rem; margin-right: 0; }
    .header__search-toggle { margin-left: auto; }
    .header__loc-menu { width: 13rem; }
    .header__search-toggle {
      display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-left: auto;
      border-radius: 9999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
    }
    /* Página de catálogo: tabs Categorías / Ordenar / Buscar + bandera al costado derecho */
    [data-catalog="true"] [data-h-brand],
    [data-catalog="true"] .header__search-toggle { display: none; }
    [data-catalog="true"] .header__loc { margin-left: 0.35rem; }
    [data-catalog="true"] .header__catalog { display: flex; align-items: stretch; flex: 1 1 auto; min-width: 0; }
    /* Búsqueda expandida: oculta marca, toggle y tabs; muestra back + buscador */
    [data-search-open="true"] .header__loc,
    [data-search-open="true"] [data-h-brand],
    [data-search-open="true"] .header__search-toggle,
    [data-search-open="true"] .header__catalog { display: none; }
    [data-search-open="true"] [data-h-search] { display: block; flex: 1; max-width: none; }
    [data-search-open="true"] .header__search-back { display: grid; place-items: center; }
  }
/* END_SECTION:header */

/* START_SECTION:how-it-works (INDEX:11) */
.hiw { max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.5rem; }
  .hiw__head { margin-bottom: 2rem; }
  .hiw__eyebrow { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand); margin-bottom: 0.5rem; }
  .hiw__grid { display: grid; gap: 1.5rem; }
  @media (min-width: 768px) { .hiw__grid { grid-template-columns: repeat(3, 1fr); } }
  .hiw__card { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 1.5rem; }
  .hiw__ico { display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 0.5rem; background: color-mix(in oklab, var(--brand) 10%, transparent); color: var(--brand); }
  .hiw__ico .icon { width: 1.5rem; height: 1.5rem; }
  .hiw__card h3 { margin-top: 1rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
  .hiw__card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
/* END_SECTION:how-it-works */

/* START_SECTION:main-cart (INDEX:13) */
.icon-xs { width: 0.85rem; height: 0.85rem; }
  .cartx-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  @media (min-width: 960px) { .cartx-grid { grid-template-columns: 1fr 22rem; } }
  .cartx-left { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
  .cartx-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
  .cartx-h { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
  .cartx-h__ico { color: var(--brand); display: inline-flex; }
  .cartx-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
  .cartx-item { display: grid; grid-template-columns: 4rem 1fr auto; gap: 1rem; align-items: center; padding: 0.85rem 0; border-top: 1px solid var(--border); }
  .cartx-item:first-child { border-top: 0; }
  .cartx-item__img { width: 4rem; height: 5rem; border-radius: 0.5rem; overflow: hidden; background: var(--surface); flex-shrink: 0; }
  .cartx-item__img img { width: 100%; height: 100%; object-fit: cover; }
  .cartx-item__main { min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
  .cartx-item__title { font-weight: 700; font-family: var(--font-display); }
  .cartx-item__tag { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: #4ade80; }
  .cartx-item__right { text-align: right; display: flex; flex-direction: column; gap: 0.25rem; }
  .cartx-item__price { font-weight: 800; }
  .cartx-item__fan { position: relative; width: 5rem; height: 6.25rem; flex-shrink: 0; display: block; }
  .cartx-item__fan img { position: absolute; top: 50%; width: 2.9rem; height: 3.9rem; object-fit: cover; border-radius: 0.3rem; border: 2px solid var(--card); box-shadow: 0 4px 10px -4px rgba(0,0,0,.7); transform: translateY(-50%) rotate(calc((var(--i) - 1) * 9deg)); left: calc(var(--i) * 1.05rem); }
  .cartx-item__was { font-size: 0.8rem; color: var(--muted-foreground); text-decoration: line-through; }
  .cartx-item__save { font-size: 0.72rem; font-weight: 700; color: #4ade80; }
  .cartx-item__rm { font-size: 0.75rem; color: var(--muted-foreground); background: none; border: 0; padding: 0; cursor: pointer; align-self: flex-end; }
  .cartx-item__rm:hover { color: var(--destructive); }

  .cartx-bumps { border: 2px dashed color-mix(in oklab, var(--brand) 45%, var(--border)); background: color-mix(in oklab, var(--brand) 7%, var(--card)); border-radius: var(--radius); padding: 1.5rem; position: relative; }
  .cartx-bumps__badge { position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.35rem 0.85rem; border-radius: 9999px; }
  .cartx-bumps__title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }
  .cartx-bumps__title svg { color: var(--brand); }
  .cartx-bump { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 0.8rem 0.9rem; margin-bottom: 0.7rem; cursor: pointer; transition: border-color .15s; }
  .cartx-bump:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
  .cartx-bump.is-hidden { display: none; }
  .cartx-vermas { display: flex; justify-content: center; align-items: center; gap: 0.3rem; width: 100%; margin-top: 0.6rem; background: none; border: 0; padding: 0.3rem 0; color: var(--brand); font-size: 0.9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .cartx-vermas svg { width: 0.95rem; height: 0.95rem; }
  .cartx-bump__img { width: 3.25rem; height: 4.25rem; border-radius: 0.5rem; overflow: hidden; background: var(--surface); }
  .cartx-bump__img img { width: 100%; height: 100%; object-fit: cover; }
  .cartx-bump__info { min-width: 0; }
  .cartx-bump__title { font-weight: 700; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.3rem; line-height: 1.2; }
  .cartx-bump__desc { font-size: 0.82rem; color: var(--muted-foreground); line-height: 1.45; margin-bottom: 0.5rem; }
  .cartx-bump__pricerow { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
  .cartx-bump__was { text-decoration: line-through; color: var(--muted-foreground); font-size: 0.85rem; }
  .cartx-bump__off { background: #16a34a; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 0.35rem; }
  .cartx-bump__now { font-weight: 800; color: var(--brand); }
  .cartx-bump__save { font-size: 0.8rem; color: #4ade80; font-weight: 600; margin-top: 0.3rem; }
  .cartx-bump__check { display: inline-flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.7rem; font-weight: 700; color: var(--muted-foreground); white-space: nowrap; }
  .cartx-bump__check input { position: absolute; opacity: 0; width: 0; height: 0; }
  .cartx-bump__box { width: 1.5rem; height: 1.5rem; border-radius: 0.4rem; border: 2px solid var(--border); display: grid; place-items: center; color: transparent; flex-shrink: 0; transition: all .15s; }
  .cartx-bump__check input:checked ~ .cartx-bump__box { background: var(--brand); border-color: var(--brand); color: #fff; }
  .cartx-bump__check input:checked ~ .cartx-bump__label { color: var(--brand); }


 display: block; width: 100%; background: transparent; color: var(--muted-foreground); font-weight: 600; padding: .55rem; cursor: pointer; font-size: .85rem; }

  .cartx-guarantee { display: flex; align-items: center; gap: 1rem; }
  .cartx-guarantee__seal { color: #eab308; flex-shrink: 0; }
  .cartx-guarantee__seal svg { width: 2.5rem; height: 2.5rem; }
  .cartx-guarantee__title { font-family: var(--font-display); font-weight: 800; margin-bottom: 0.2rem; }

  .cartx-right { position: static; }
  @media (min-width: 960px) { .cartx-right { position: sticky; top: 5.5rem; } }
  .cartx-summary { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
  .cartx-back { display: inline-block; font-size: 0.85rem; color: var(--muted-foreground); margin-bottom: 1rem; }
  .cartx-back:hover { color: var(--foreground); }
  .cartx-backcat { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 0.9rem; color: var(--muted-foreground); font-size: 0.9rem; font-weight: 600; }
  .cartx-backcat:hover { color: var(--brand); }
  .cartx-backcat svg { width: 1rem; height: 1rem; }
  .cartx-addmore { display: inline-flex; align-items: center; gap: 0.35rem; margin-bottom: 1.1rem; color: var(--brand); font-size: 0.88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .cartx-addmore:hover { color: color-mix(in oklab, var(--brand) 75%, #fff); }
  .cartx-addmore svg { width: 0.95rem; height: 0.95rem; }
  .cartx-summary__title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem; }
  .cartx-totals { margin-top: 1.35rem; padding-top: 1.15rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.6rem; }
  .cartx-line { display: flex; justify-content: space-between; align-items: center; font-size: 0.92rem; }
  .cartx-line--disc { color: #4ade80; font-weight: 600; }
  .cartx-line--disc span:first-child { display: inline-flex; align-items: center; gap: 0.35rem; }
  .cartx-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); margin-top: 0.45rem; padding-top: 0.9rem; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; }
  .cartx-strike { text-decoration: line-through; color: var(--muted-foreground); }
  .cartx-savebar { margin-top: 0.7rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; background: color-mix(in oklab, #16a34a 16%, transparent); color: #4ade80; font-weight: 800; font-size: 0.98rem; padding: 0.7rem; border-radius: 0.65rem; }
  .cartx-savebar svg { color: #4ade80; }
  .cartx-pay { margin-top: 1.35rem; font-size: 1.05rem; }
  .cartx-paysimg { display: block; width: 100%; max-width: 17rem; height: auto; margin: 1.1rem auto 0; }
  .cartx-trust, .cartx-deliv { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1.1rem; font-size: 0.85rem; color: var(--muted-foreground); }
  .cartx-trust { padding-top: 1.1rem; border-top: 1px solid var(--border); }
  .cartx-deliv { padding-top: 1.1rem; border-top: 1px solid var(--border); align-items: center; }
  .cartx-trust span, .cartx-deliv span { display: flex; align-items: center; gap: 0.5rem; }
  .cartx-trust svg, .cartx-deliv svg { color: var(--brand); flex-shrink: 0; }
/* END_SECTION:main-cart */

/* START_SECTION:main-collection (INDEX:14) */
[data-desktop-only] { display: none; }
  @media (min-width: 1024px) { [data-desktop-only] { display: flex; } }
  .collection-main { transition: opacity 0.15s; }
  .coll-desc { margin-top: 0.6rem; max-width: 46rem; font-size: 0.95rem; line-height: 1.55; color: var(--muted-foreground); text-wrap: pretty; }
/* END_SECTION:main-collection */

/* START_SECTION:main-favoritos (INDEX:15) */
.fav__eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); }
  .fav__title { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3rem); font-weight: 600; margin-top: 0.25rem; }
  .fav__empty { text-align: center; padding: 4rem 1rem; }
  .fav-skel { border-radius: var(--radius); background: var(--surface); min-height: 26rem; animation: fav-pulse 1.1s ease-in-out infinite; }
  @keyframes fav-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
/* END_SECTION:main-favoritos */

/* START_SECTION:main-product (INDEX:18) */
.pdp { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
  .pdp__info > :first-child { margin-top: 0; }
  @media (min-width: 1024px) {
    .pdp { grid-template-columns: 1fr 1fr; align-items: start; column-gap: 2.5rem; row-gap: 1.25rem; }
    .pdp__header { grid-column: 2; grid-row: 1; }
    .pdp__media { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 6rem; align-self: start; }
    .pdp__info { grid-column: 2; grid-row: 2; }
  }
  .pdp__gallery { display: flex; gap: 0.75rem; }
  .pdp__thumbs { display: flex; flex-direction: column; gap: 0.625rem; flex-shrink: 0; }
  .pdp__thumb { position: relative; width: 4.75rem; height: 6rem; border-radius: 0.5rem; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: opacity .2s, border-color .2s; flex-shrink: 0; padding: 0; margin: 0; box-sizing: border-box; background: var(--surface); cursor: pointer; }
  .pdp__thumb:hover { opacity: 1; }
  .pdp__thumb.is-active { opacity: 1; border-color: var(--brand); }
  .pdp__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .pdp__thumb-tag { position: absolute; inset-inline: 0; bottom: 0; background: color-mix(in oklab, var(--brand) 90%, transparent); color: var(--brand-foreground); font-size: 7px; font-weight: 700; text-transform: uppercase; text-align: center; line-height: 1.2; padding: 1px 0; }
  /* Miniatura de video: mini-video en loop + borde de marca para que se note que es video */
  .pdp__thumb--video { border-color: var(--brand); opacity: 1; box-shadow: 0 0 0 1px color-mix(in oklab, var(--brand) 35%, transparent), 0 4px 14px -8px rgba(0,0,0,.6); }
  .pdp__thumb--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; }
  .pdp__thumb--video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.38)); pointer-events: none; }
  .pdp__thumb--video .pdp__thumb-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 90%, transparent); border: 2px solid #fff; border-radius: 9999px; pointer-events: none; box-shadow: 0 3px 10px rgba(0,0,0,.55); }
  .pdp__thumb--video .pdp__thumb-play .icon { width: 0.8rem; height: 0.8rem; color: #fff; margin-left: 2px; }
  .pdp__thumb--video .pdp__thumb-vtag { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; background: color-mix(in oklab, var(--brand) 92%, transparent); color: #fff; font-size: 7px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; line-height: 1.2; padding: 1px 0; }
  .pdp__thumb--video:hover .pdp__thumb-play { transform: translate(-50%, -50%) scale(1.1); }
  .pdp__video { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #000; display: grid; place-items: center; }
  /* Video alojado en Shopify: respeta su proporción real (vertical u horizontal), nunca se recorta */
  .pdp__video video { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; background: #000; }
  /* Video externo (el iframe no tiene tamaño intrínseco): caja 16/9 */
  .pdp__video--embed { aspect-ratio: 16 / 9; }
  .pdp__video--embed iframe { width: 100%; height: 100%; display: block; border: 0; }
  .pdp__viewer { min-width: 0; flex: 1; }
  .pdp__main { position: relative; aspect-ratio: 9/13; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
  .pdp__main img { width: 100%; height: 100%; object-fit: cover; }
  .pdp__main-badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; }
  .pdp__sales { position: relative; aspect-ratio: 3/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
  .pdp__sales-scroll { position: absolute; inset: 0; overflow-y: auto; scroll-behavior: smooth; }
  .pdp__sales-scroll img { display: block; width: 100%; }
  .pdp__sales-hint { pointer-events: none; position: absolute; inset-inline: 0; top: 1rem; display: flex; justify-content: center; padding: 0 1rem; transition: opacity .3s; }
  .pdp__sales-hint.is-hidden { opacity: 0; }
  .pdp__sales-hint span { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; text-align: center; background: rgba(23,23,23,.95); color: #fff; font-size: 11px; font-weight: 600; padding: 0.375rem 0.875rem; border-radius: 9999px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); border: 2px solid #fbbf24; }
  .pdp__sales-hint .icon { color: #fbbf24; animation: bob 1.2s ease-in-out infinite; }

  /* Móvil: portada y bonos a su proporción natural (imagen completa, sin recortar). Solo la página de ventas se alarga. */
  @media (max-width: 1023px) {
    .pdp__gallery { align-items: stretch; }
    .pdp__viewer { display: flex; flex-direction: column; }
    .pdp__main { aspect-ratio: auto; flex: 0 0 auto; }
    .pdp__main img { width: 100%; height: auto; object-fit: contain; }
    .pdp__sales { aspect-ratio: auto; flex: 1 1 auto; min-height: 26rem; }
  }

  .pdp__badges { display: flex; flex-wrap: wrap; gap: 0.375rem; }
  .pdp-badge { border-radius: 0.25rem; padding: 0.125rem 0.5rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
  .pdp-badge--new { background: var(--brand); color: var(--brand-foreground); }
  .pdp-badge--best { background: #f4f4f5; color: #09090b; }
  .pdp-badge--prem { background: rgba(24,24,27,.9); color: var(--foreground); box-shadow: inset 0 0 0 1px rgba(63,63,70,.5); }
  .pdp__cat { display: block; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-foreground); }
  .pdp__cat:hover { color: var(--brand); }
  .pdp__title { margin-top: 0.25rem; font-size: clamp(1.875rem, 4vw, 2.25rem); font-weight: 800; }
  .pdp__subtitle { margin-top: 0.5rem; font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--brand); }
  .pdp__rating { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
  .pdp__rating .stars { display: inline-flex; gap: 2px; }
  .pdp__rating .star-on { color: #fbbf24; }
  .pdp__price { margin-top: 1.25rem; display: flex; align-items: flex-end; gap: 0.75rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; }
  .pdp__pct { margin-bottom: 0.375rem; background: color-mix(in oklab, var(--brand) 15%, transparent); color: var(--brand); font-size: 0.75rem; font-weight: 700; padding: 0.125rem 0.375rem; border-radius: 0.25rem; }
  .pdp__desc { margin-top: 1.25rem; }
  .pdp__desc.rte p { margin: 0 0 0.9rem; }
  .pdp__desc.rte p:last-child { margin-bottom: 0; }
  .pdp__actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
  @media (min-width: 640px) { .pdp__actions { flex-direction: row; } }
  .pdp__cta { flex: 1; padding: 0.75rem 1.5rem; }
  .pdp__cta--incart { background: color-mix(in oklab, var(--brand) 10%, transparent); color: var(--brand); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 60%, transparent); }
  .pdp__fav { flex-shrink: 0; display: grid; place-items: center; padding: 0.75rem 1rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--surface); }
  .pdp__fav:hover { background: var(--surface-2); }
  .pdp__fav[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
  .pdp__fav[aria-pressed="true"]:hover { background: var(--brand); }
  .pdp__fav[aria-pressed="true"] svg { fill: #fff; color: #fff; }
  .pdp__trust { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; font-size: 0.875rem; list-style: none; padding: 0; }
  .pdp__trust li { display: flex; align-items: center; gap: 0.5rem; color: var(--muted-foreground); }
  .pdp__trust .icon { color: var(--brand); }
  .pdp__accordion { margin-top: 2rem; }
  .acc { border-bottom: 1px solid var(--border); }
  .acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 600; }
  .acc summary::-webkit-details-marker { display: none; }
  .acc-chev { transition: transform .2s; flex-shrink: 0; }
  .acc[open] .acc-chev { transform: rotate(180deg); }
  .acc__body { padding-bottom: 1rem; line-height: 1.6; font-size: 0.95rem; }
  .pdp__inc { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
  .pdp__inc li { display: flex; align-items: flex-start; gap: 0.5rem; }
  .pdp__inc li > svg { color: var(--brand); margin-top: 2px; flex-shrink: 0; }
  /* Ítem resaltado (viene en negrita en la descripción): solo negrita + un toque de fondo, sin borde */
  .pdp__inc-hi > span { font-weight: 600; color: var(--foreground); background: color-mix(in oklab, var(--brand) 12%, transparent); border-radius: 0.35rem; padding: 0.05rem 0.35rem; margin: -0.05rem -0.1rem; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .pdp__related { margin-top: 4rem; border-top: 1px solid var(--border); padding-top: 2.5rem; }
  @media (min-width: 1280px) { .pdp__related .product-grid { grid-template-columns: repeat(6, 1fr); } }
/* END_SECTION:main-product */

/* START_SECTION:plr-comparison (INDEX:20) */
.cmp { border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); padding-block: 4rem; }
  .cmp__wrap { max-width: 56rem; margin: 0 auto; padding-inline: 1.5rem; }
  .cmp__ring { border-radius: 1.1rem; padding: 1px; }
  .cmp__table { overflow: hidden; border-radius: 1rem; background: var(--card); }
  .cmp__row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .cmp__row--border { border-bottom: 1px solid var(--border); }
  .cmp__row--alt { background: color-mix(in oklab, var(--surface-2) 20%, transparent); }
  .cmp__row--head { border-bottom: 1px solid var(--border); background: color-mix(in oklab, var(--surface-2) 50%, transparent); }
  .cmp__feat { display: flex; align-items: center; padding: 1rem; font-size: 0.875rem; font-weight: 500; }
  .cmp__feat--head { font-weight: 600; color: var(--muted-foreground); }
  .cmp__cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; padding: 1rem; text-align: center; }
  .cmp__cell--head { font-size: 0.875rem; font-weight: 700; }
  .cmp__muted { color: var(--muted-foreground); font-weight: 400; }
  @media (min-width: 768px) { .cmp__feat, .cmp__cell { padding: 1.25rem; } }
  .cmp__dot { display: grid; place-items: center; height: 1.25rem; width: 1.25rem; border-radius: 9999px; }
  .cmp__dot--good { background: var(--brand); color: var(--brand-foreground); }
  .cmp__dot--bad { background: var(--muted); color: var(--muted-foreground); }
  .cmp__dot .icon { width: 0.75rem; height: 0.75rem; }
  .cmp__txt { font-size: 0.75rem; }
  .cmp__txt--good { color: var(--brand); font-weight: 500; }
  @media (min-width: 768px) { .cmp__txt { font-size: 0.875rem; } }
/* END_SECTION:plr-comparison */

/* START_SECTION:sales-page-preview (INDEX:22) */
.spp { border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); padding-block: 4rem; overflow: hidden; }
  .spp__marquee { position: relative; margin-block: 3rem; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
  .spp__track { display: flex; width: max-content; gap: 1rem; padding-right: 1rem; animation-duration: 55s; }
  .spp__item { width: 14rem; flex-shrink: 0; }
  @media (min-width: 768px) { .spp__item { width: 18rem; } }
  @media (min-width: 1024px) { .spp__item { width: 20rem; } }
  .spp__card { overflow: hidden; border-radius: 0.5rem; border: 1px solid var(--border); background: var(--surface); box-shadow: 0 1px 0 0 hsl(0 0% 100% / 0.04) inset, 0 16px 40px -24px hsl(0 0% 0% / 0.8); }
  .spp__card img { display: block; width: 100%; height: 18rem; object-fit: cover; object-position: top; }
  @media (min-width: 768px) { .spp__card img { height: 24rem; } }
  @media (min-width: 1024px) { .spp__card img { height: 28rem; } }
  .spp__feats { display: grid; gap: 1.25rem; max-width: 64rem; margin: 0 auto; }
  @media (min-width: 768px) { .spp__feats { grid-template-columns: repeat(3, 1fr); } }
  .spp__feat { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 1.5rem; }
  .spp__ico { margin-bottom: 1rem; display: grid; place-items: center; height: 3.5rem; width: 3.5rem; border-radius: 1rem; background: color-mix(in oklab, var(--brand) 10%, transparent); color: var(--brand); }
  .spp__ico .icon { width: 1.75rem; height: 1.75rem; }
  .spp__feat h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
  .spp__feat p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
  .spp__note { max-width: 42rem; margin: 2rem auto 0; text-align: center; font-size: 0.875rem; font-style: italic; color: var(--muted-foreground); }
/* END_SECTION:sales-page-preview */

/* START_SECTION:testimonials (INDEX:23) */
.tm { border-block: 1px solid var(--border); background: color-mix(in oklab, var(--card) 30%, var(--background)); padding-block: 4rem; }
  .tm__masonry { max-width: 72rem; margin: 0 auto; columns: 1; column-gap: 1.25rem; }
  @media (min-width: 640px) { .tm__masonry { columns: 2; } }
  @media (min-width: 1024px) { .tm__masonry { columns: 3; } }
  .tm__item { break-inside: avoid; margin-bottom: 1.25rem; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border); background: var(--card); box-shadow: 0 1px 0 0 hsl(0 0% 100% / 0.04) inset, 0 16px 40px -24px hsl(0 0% 0% / 0.8); }
  .tm__item img { display: block; width: 100%; height: auto; }
/* END_SECTION:testimonials */

/* START_SECTION:transformation (INDEX:24) */
.tf { border-block: 1px solid var(--border); background: color-mix(in oklab, var(--surface) 40%, var(--background)); padding-block: 4rem; }
  .tf__wrap { max-width: 64rem; margin: 0 auto; padding-inline: 1.5rem; }
  .tf__grid { display: grid; gap: 1.5rem; }
  @media (min-width: 768px) { .tf__grid { grid-template-columns: 1fr 1fr; } }
  .tf__card { position: relative; overflow: hidden; border-radius: 1rem; padding: 1.5rem; }
  @media (min-width: 768px) { .tf__card { padding: 2rem; } }
  .tf__card--bad { border: 1px solid var(--border); background: color-mix(in oklab, var(--card) 60%, var(--background)); }
  .tf__card--good { border: 2px solid color-mix(in oklab, var(--brand) 40%, transparent); background: var(--card); }
  .tf__blob { pointer-events: none; position: absolute; right: -2rem; top: -2rem; height: 8rem; width: 8rem; border-radius: 9999px; background: color-mix(in oklab, var(--brand) 10%, transparent); }
  .tf__head { position: relative; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
  .tf__badge { display: grid; place-items: center; height: 2.5rem; width: 2.5rem; border-radius: 9999px; }
  .tf__badge--bad { background: var(--surface-2); color: var(--muted-foreground); }
  .tf__badge--good { background: color-mix(in oklab, var(--brand) 20%, transparent); color: var(--brand); }
  .tf__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
  .tf__title--bad { color: var(--muted-foreground); }
  .tf__title--good { color: var(--brand); }
  .tf__list { position: relative; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
  .tf__li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
  .tf__li--bad { color: var(--muted-foreground); }
  .tf__li--bad .icon { color: color-mix(in oklab, var(--muted-foreground) 50%, transparent); margin-top: 2px; flex-shrink: 0; }
  .tf__li--good { font-weight: 500; }
  .tf__check { display: grid; place-items: center; height: 1.25rem; width: 1.25rem; flex-shrink: 0; border-radius: 9999px; background: var(--brand); color: var(--brand-foreground); margin-top: 1px; }
  .tf__check .icon { width: 0.75rem; height: 0.75rem; }
/* END_SECTION:transformation */

/* START_SECTION:value-props (INDEX:25) */
.vp { max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.5rem; }
  .vp__grid { display: grid; gap: 1.25rem; }
  @media (min-width: 640px) { .vp__grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1024px) { .vp__grid { grid-template-columns: repeat(4, 1fr); } }
  .vp__card { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 1.5rem; text-align: center; transition: transform .3s, border-color .3s, box-shadow .3s; }
  .vp__card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--brand) 40%, transparent); box-shadow: 0 1px 0 0 hsl(0 0% 100% / 0.04) inset, 0 16px 40px -24px hsl(0 0% 0% / 0.8); }
  .vp__ico { margin: 0 auto 1rem; display: grid; place-items: center; height: 3.5rem; width: 3.5rem; border-radius: 1rem; background: color-mix(in oklab, var(--brand) 10%, transparent); color: var(--brand); transition: transform .3s; }
  .vp__card:hover .vp__ico { transform: scale(1.1); }
  .vp__ico .icon { width: 1.75rem; height: 1.75rem; }
  .vp__card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
  .vp__card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
/* END_SECTION:value-props */

/* CSS from snippet stylesheet tags */
/* START_SNIPPET:whatsapp-bubble (INDEX:36) */
.wa-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 55;
    display: flex;
    flex-direction: column;   /* globo ARRIBA de la burbuja */
    align-items: flex-end;
    gap: 0.5rem;
  }
  /* Móvil: subir por encima de la tab bar inferior (~57px) + safe area */
  @media (max-width: 767px) {
    .wa-fab { right: 1rem; bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
  }

  .wa-fab__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.75), 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    flex-shrink: 0;
  }
  .wa-fab__btn:hover { transform: scale(1.07); box-shadow: 0 14px 32px -8px rgba(37, 211, 102, 0.9), 0 2px 10px rgba(0, 0, 0, 0.4); }
  .wa-fab__btn:active { transform: scale(0.95); }
  .wa-fab__ico { width: 1.85rem; height: 1.85rem; position: relative; z-index: 1; }

  /* Halo pulsante */
  .wa-fab__ring {
    position: absolute; inset: 0;
    border-radius: 9999px;
    background: #25D366;
    opacity: 0.55;
    animation: wa-pulse 2.4s ease-out infinite;
  }
  @keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
  }

  /* Globo "¿Tienes preguntas?" */
  .wa-fab__tip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    background: #fff;
    color: #111827;
    border-radius: 9999px;
    padding: 0.4rem 0.4rem 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.92);
    transform-origin: bottom right;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }
  .wa-fab__tip.is-show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  /* Piquito hacia abajo, centrado sobre la burbuja */
  .wa-fab__tip::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: 1.4rem;
    width: 9px; height: 9px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 1px;
  }
  .wa-fab__tip-txt { color: inherit; text-decoration: none; }
  .wa-fab__x {
    display: grid; place-items: center;
    width: 1.15rem; height: 1.15rem;
    border: 0; border-radius: 9999px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
  }
  .wa-fab__x svg { width: 0.6rem; height: 0.6rem; }
  .wa-fab__x:hover { background: #f3f4f6; color: #374151; }

  /* En pantallas muy angostas, el globo puede ocupar mucho: lo reducimos */
  @media (max-width: 380px) {
    .wa-fab__tip { font-size: 0.7rem; padding-left: 0.7rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    .wa-fab__ring { animation: none; }
    .wa-fab__tip { transition: opacity 0.2s ease; transform: none; }
    .wa-fab__btn { transition: none; }
  }
/* END_SNIPPET:whatsapp-bubble */