/* INTESLA Academy theme — extracted from docs/landing-mvp/academy.html */
:root {
      --bg: #09090b;
      --surface: #111827;
      --surface-2: #161b22;
      --primary: #00b8ff;
      --secondary: #00e676;
      --accent: #38bdf8;
      --text: #ffffff;
      --muted: #a1a1aa;
      --line: rgba(255, 255, 255, 0.08);
      --glow: rgba(0, 184, 255, 0.35);
      --radius: 18px;
      --max: 1180px;
      --font-display: "Sora", system-ui, sans-serif;
      --font-body: "Manrope", system-ui, sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text);
      line-height: 1.55;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; border: 0; cursor: pointer; background: none; color: inherit; }

    .wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

    /* —— Ambient background —— */
    .bg-layer {
      position: fixed;
      inset: 0;
      z-index: -2;
      background:
        radial-gradient(ellipse 70% 50% at 80% -10%, rgba(0, 184, 255, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 40%, rgba(0, 230, 118, 0.06), transparent 50%),
        var(--bg);
    }
    .bg-grid {
      position: fixed;
      inset: 0;
      z-index: -1;
      opacity: 0.22;
      background-image:
        linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
      background-size: 56px 56px;
      mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 10%, transparent 75%);
      pointer-events: none;
    }
    .pcb-lines {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      opacity: 0.45;
    }
    .pcb-lines svg { width: 100%; height: 100%; }

    /* —— Nav —— */
    .nav {
      position: fixed;
      inset: 0 0 auto;
      z-index: 100;
      backdrop-filter: blur(16px);
      background: rgba(9, 9, 11, 0.65);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s ease;
    }
    .nav.scrolled { border-bottom-color: var(--line); }
    .nav-inner {
      height: 3.75rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.65rem;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex: 0 1 auto;
      min-width: 0;
    }
    .brand img.mark { width: 32px; height: 32px; }
    .brand img.word { height: 18px; width: auto; }
    .brand-badge {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--primary);
      border: 1px solid rgba(0, 184, 255, 0.35);
      padding: 0.2rem 0.45rem;
      border-radius: 999px;
      display: none;
    }
    .nav-links {
      display: none;
      align-items: center;
      gap: 1.5rem;
      color: var(--muted);
      font-size: 0.9rem;
      font-weight: 500;
      line-height: 1.2;
    }
    .nav-links a {
      display: inline-flex;
      align-items: center;
      line-height: 1.2;
    }
    .nav-links a:hover { color: var(--text); }
    .nav-lab {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.35rem 0.75rem;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #041810 !important;
      background: linear-gradient(135deg, #00e676, #00b86b);
      border: 1px solid rgba(0, 230, 118, 0.55);
      box-shadow:
        0 0 0 1px rgba(0, 230, 118, 0.2),
        0 8px 28px rgba(0, 230, 118, 0.28);
      transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
    }
    .nav-lab:hover {
      color: #041810 !important;
      transform: translateY(-1px);
      filter: brightness(1.05);
      box-shadow:
        0 0 0 1px rgba(0, 230, 118, 0.35),
        0 12px 36px rgba(0, 230, 118, 0.4);
    }
    .nav-lab-dot {
      width: 0.45rem;
      height: 0.45rem;
      border-radius: 999px;
      background: #041810;
      box-shadow: 0 0 0 3px rgba(4, 24, 16, 0.18);
      animation: nav-lab-pulse 1.8s ease-in-out infinite;
    }
    @keyframes nav-lab-pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.55; transform: scale(0.85); }
    }
    .nav-cta {
      display: flex;
      gap: 0.4rem;
      align-items: center;
      flex: 0 0 auto;
    }
    .nav-cta .btn {
      white-space: nowrap;
      padding: 0.42rem 0.7rem;
      font-size: 0.72rem;
      line-height: 1.15;
      gap: 0.25rem;
    }
    .nav-cta-full { display: none; }
    .nav-cta-short { display: inline; }

    .nav-toggle {
      display: inline-flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 2.45rem;
      height: 2.45rem;
      padding: 0.55rem;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.03);
      flex-shrink: 0;
    }
    .nav-toggle-bar {
      display: block;
      height: 2px;
      width: 100%;
      border-radius: 2px;
      background: var(--text);
      transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .nav.is-open .nav-toggle-bar:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    .nav.is-open .nav-toggle-bar:nth-child(2) {
      opacity: 0;
    }
    .nav.is-open .nav-toggle-bar:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* Menú móvil desplegable */
    @media (max-width: 959px) {
      .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        gap: 0;
        padding: 0.55rem 1rem 0.85rem;
        background: rgba(9, 9, 11, 0.96);
        border-bottom: 1px solid var(--line);
        backdrop-filter: blur(16px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
      }
      .nav.is-open .nav-links {
        display: flex;
      }
      .nav-links a {
        display: block;
        padding: 0.85rem 0.35rem;
        border-bottom: 1px solid var(--line);
        color: var(--text);
        font-weight: 600;
      }
      .nav-links a.nav-lab {
        display: inline-flex;
        width: fit-content;
        margin: 0.55rem 0 0.15rem;
        padding: 0.55rem 1rem;
        border-bottom: 0;
        font-size: 0.8rem;
      }
      .nav-links a:last-child {
        border-bottom: 0;
      }
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.75rem 1.25rem;
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.9rem;
      transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
      position: relative;
      overflow: hidden;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary {
      background: linear-gradient(135deg, #00b8ff, #0090d0);
      color: #041018;
      box-shadow: 0 0 0 1px rgba(0, 184, 255, 0.4), 0 12px 40px rgba(0, 184, 255, 0.25);
    }
    .btn-primary:hover {
      box-shadow: 0 0 0 1px rgba(0, 184, 255, 0.55), 0 16px 48px rgba(0, 184, 255, 0.4);
    }
    .btn-primary::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
      transform: translateX(-120%);
      transition: transform 0.55s ease;
    }
    .btn-primary:hover::after { transform: translateX(120%); }
    .btn-ghost {
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.03);
      color: var(--text);
    }
    .btn-ghost:hover {
      border-color: rgba(0, 184, 255, 0.4);
      background: rgba(0, 184, 255, 0.08);
    }
    .btn-lg { padding: 0.95rem 1.5rem; font-size: 0.95rem; }

    /* —— Reveal —— */
    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.in { opacity: 1; transform: none; }

    /* —— Hero —— */
    .hero {
      padding: 7.5rem 0 4rem;
      min-height: 100svh;
      display: flex;
      align-items: center;
    }
    .hero-grid {
      display: grid;
      gap: 3rem;
      align-items: center;
    }
    .kicker {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 1.1rem;
    }
    .led {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--secondary);
      box-shadow: 0 0 10px var(--secondary), 0 0 20px rgba(0, 230, 118, 0.45);
      animation: ledPulse 2s ease-in-out infinite;
    }
    @keyframes ledPulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.55; }
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2.2rem, 6vw, 3.75rem);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 1.05;
      margin-bottom: 1rem;
      max-width: 12ch;
    }
    .hero h1 em {
      font-style: normal;
      background: linear-gradient(120deg, #fff 20%, #00b8ff 55%, #00e676);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .hero-sub {
      color: var(--muted);
      font-size: clamp(1rem, 2.2vw, 1.15rem);
      max-width: 34rem;
      margin-bottom: 1.75rem;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

    .hero-visual { position: relative; }
    .scada {
      border-radius: 22px;
      border: 1px solid var(--line);
      background: linear-gradient(160deg, rgba(22, 27, 34, 0.95), rgba(17, 24, 39, 0.9));
      box-shadow:
        0 0 0 1px rgba(0, 184, 255, 0.08),
        0 30px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
      overflow: hidden;
      backdrop-filter: blur(10px);
      transform: perspective(1200px) rotateY(-4deg) rotateX(3deg);
      transition: transform 0.5s ease;
    }
    .scada:hover { transform: perspective(1200px) rotateY(-1deg) rotateX(1deg) translateY(-4px); }
    .scada-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.85rem 1rem;
      border-bottom: 1px solid var(--line);
      background: rgba(0, 0, 0, 0.25);
      font-size: 0.75rem;
      color: var(--muted);
    }
    .scada-top .dots { display: flex; gap: 0.35rem; }
    .scada-top .dots i {
      width: 8px; height: 8px; border-radius: 50%;
      background: #3f3f46; display: block;
    }
    .scada-top .dots i:nth-child(1) { background: #ff5f57; }
    .scada-top .dots i:nth-child(2) { background: #febc2e; }
    .scada-top .dots i:nth-child(3) { background: #28c840; }
    .scada-body { padding: 1rem; display: grid; gap: 0.85rem; }
    .scada-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.75rem; }
    .panel {
      border-radius: 14px;
      border: 1px solid var(--line);
      background: rgba(9, 9, 11, 0.55);
      padding: 0.85rem;
      min-height: 110px;
    }
    .panel h4 {
      font-size: 0.7rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 0.65rem;
      font-weight: 700;
    }
    .signal {
      height: 54px;
      border-radius: 8px;
      background:
        linear-gradient(180deg, transparent 49%, rgba(0, 184, 255, 0.25) 50%, transparent 51%),
        rgba(0, 184, 255, 0.05);
      position: relative;
      overflow: hidden;
    }
    .signal svg { width: 100%; height: 100%; }
    .signal path {
      fill: none;
      stroke: var(--primary);
      stroke-width: 2;
      stroke-linecap: round;
      filter: drop-shadow(0 0 6px var(--primary));
      stroke-dasharray: 220;
      animation: drawSignal 3.2s ease-in-out infinite;
    }
    @keyframes drawSignal {
      0% { stroke-dashoffset: 220; opacity: 0.4; }
      40% { opacity: 1; }
      100% { stroke-dashoffset: 0; opacity: 0.85; }
    }
    .io-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
    .io {
      aspect-ratio: 1;
      border-radius: 8px;
      border: 1px solid var(--line);
      display: grid;
      place-items: center;
      font-size: 0.65rem;
      font-weight: 700;
      color: var(--muted);
      background: rgba(255,255,255,0.02);
    }
    .io.on {
      color: #041018;
      background: var(--secondary);
      border-color: transparent;
      box-shadow: 0 0 14px rgba(0, 230, 118, 0.45);
    }
    .tank {
      height: 70px;
      border-radius: 10px;
      border: 1px solid var(--line);
      position: relative;
      overflow: hidden;
      background: rgba(0,0,0,0.35);
    }
    .tank-fill {
      position: absolute;
      left: 0; right: 0; bottom: 0;
      height: 62%;
      background: linear-gradient(180deg, rgba(0,184,255,0.55), rgba(0,184,255,0.15));
      animation: level 4s ease-in-out infinite alternate;
    }
    @keyframes level {
      from { height: 42%; }
      to { height: 72%; }
    }
    .status-bar {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      font-size: 0.72rem;
      color: var(--muted);
    }
    .status-bar b { color: var(--secondary); font-weight: 700; }

    /* —— Sections common —— */
    section { padding: 4.5rem 0; }
    .section-head { margin-bottom: 2rem; max-width: 40rem; }
    .section-kicker {
      color: var(--primary);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 0.7rem;
    }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 3.5vw, 2.4rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin-bottom: 0.65rem;
    }
    .section-lead { color: var(--muted); font-size: 1rem; }

    /* —— Brands —— */
    .brands { border-block: 1px solid var(--line); background: rgba(17, 24, 39, 0.35); }
    .brands-label {
      text-align: center;
      color: var(--muted);
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-weight: 600;
      margin-bottom: 1.5rem;
    }
    .brand-track {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.75rem;
    }
    .brand-chip {
      padding: 0.7rem 1.1rem;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.02);
      color: var(--muted);
      font-weight: 700;
      font-size: 0.85rem;
      letter-spacing: 0.04em;
      transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .brand-chip:hover {
      color: var(--text);
      border-color: rgba(0, 184, 255, 0.35);
      box-shadow: 0 0 24px rgba(0, 184, 255, 0.12);
    }

    /* —— Categories —— */
    .cat-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }
    .cat-card {
      position: relative;
      padding: 1.15rem 1rem;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: linear-gradient(160deg, rgba(22, 27, 34, 0.9), rgba(17, 24, 39, 0.7));
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
      overflow: hidden;
    }
    .cat-card::before {
      content: "";
      position: absolute;
      inset: auto -20% -40% auto;
      width: 120px; height: 120px;
      background: radial-gradient(circle, rgba(0,184,255,0.2), transparent 70%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .cat-card:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 184, 255, 0.35);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 184, 255, 0.1);
    }
    .cat-card:hover::before { opacity: 1; }
    .cat-icon {
      width: 36px; height: 36px;
      border-radius: 10px;
      display: grid; place-items: center;
      margin-bottom: 0.75rem;
      background: rgba(0, 184, 255, 0.1);
      color: var(--primary);
      font-size: 1rem;
      border: 1px solid rgba(0, 184, 255, 0.2);
    }
    .cat-card h3 {
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    /* —— Path —— */
    .path {
      display: grid;
      gap: 0;
      position: relative;
    }
    .path::before {
      content: "";
      position: absolute;
      left: 1.15rem;
      top: 1.5rem;
      bottom: 1.5rem;
      width: 2px;
      background: linear-gradient(180deg, var(--primary), var(--secondary));
      opacity: 0.45;
    }
    .path-step {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 1rem;
      padding: 1rem 0;
      align-items: start;
    }
    .path-node {
      width: 2.35rem;
      height: 2.35rem;
      border-radius: 50%;
      border: 2px solid var(--primary);
      background: var(--bg);
      display: grid;
      place-items: center;
      font-size: 0.75rem;
      font-weight: 800;
      color: var(--primary);
      box-shadow: 0 0 16px rgba(0, 184, 255, 0.25);
      z-index: 1;
    }
    .path-step:last-child .path-node {
      border-color: var(--secondary);
      color: var(--secondary);
      box-shadow: 0 0 16px rgba(0, 230, 118, 0.3);
    }
    .path-body {
      padding: 0.85rem 1rem;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: rgba(17, 24, 39, 0.55);
    }
    .path-body h3 {
      font-family: var(--font-display);
      font-size: 1rem;
      margin-bottom: 0.25rem;
    }
    .path-body p { color: var(--muted); font-size: 0.9rem; }

    /* —— Why —— */
    .why-grid {
      display: grid;
      gap: 0.85rem;
    }
    .why-card {
      padding: 1.25rem;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: rgba(22, 27, 34, 0.65);
      transition: border-color 0.25s ease, transform 0.25s ease;
    }
    .why-card:hover {
      border-color: rgba(0, 230, 118, 0.35);
      transform: translateY(-3px);
    }
    .why-card .ico {
      width: 40px; height: 40px;
      border-radius: 12px;
      display: grid; place-items: center;
      margin-bottom: 0.85rem;
      background: rgba(0, 230, 118, 0.1);
      color: var(--secondary);
      border: 1px solid rgba(0, 230, 118, 0.2);
      font-size: 1.1rem;
    }
    .why-card h3 {
      font-family: var(--font-display);
      font-size: 1rem;
      margin-bottom: 0.35rem;
    }
    .why-card p { color: var(--muted); font-size: 0.9rem; }

    /* —— Lab —— */
    .lab-panel {
      border-radius: 22px;
      border: 1px solid var(--line);
      background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(0,184,255,0.15), transparent 50%),
        linear-gradient(160deg, #161b22, #111827);
      padding: clamp(1.25rem, 3vw, 2rem);
      overflow: hidden;
      position: relative;
    }
    .lab-layout {
      display: grid;
      gap: 1.5rem;
      align-items: center;
    }
    .lab-copy .section-title { max-width: 14ch; }
    .lab-screen {
      border-radius: 16px;
      border: 1px solid rgba(0, 184, 255, 0.25);
      background: #05070c;
      padding: 1rem;
      box-shadow: 0 0 40px rgba(0, 184, 255, 0.12), inset 0 0 40px rgba(0, 184, 255, 0.04);
    }
    .lab-canvas {
      height: 220px;
      border-radius: 10px;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(rgba(0,184,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,184,255,0.05) 1px, transparent 1px),
        #070b12;
      background-size: 24px 24px;
    }
    .lab-canvas svg { width: 100%; height: 100%; }
    .current {
      stroke: var(--primary);
      stroke-width: 2.5;
      fill: none;
      stroke-linecap: round;
      filter: drop-shadow(0 0 6px var(--primary));
      stroke-dasharray: 8 10;
      animation: currentFlow 1.2s linear infinite;
    }
    @keyframes currentFlow {
      to { stroke-dashoffset: -36; }
    }
    .lab-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.5rem;
      margin-top: 0.75rem;
    }
    .lab-stat {
      text-align: center;
      padding: 0.55rem;
      border-radius: 10px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--line);
      font-size: 0.72rem;
      color: var(--muted);
    }
    .lab-stat strong {
      display: block;
      color: var(--primary);
      font-family: var(--font-display);
      font-size: 0.95rem;
      margin-bottom: 0.1rem;
    }

    /* —— Courses —— */
    .course-grid {
      display: grid;
      gap: 1rem;
    }
    .course-card {
      border-radius: 18px;
      border: 1px solid var(--line);
      background: var(--surface-2);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }
    .course-card:hover {
      transform: translateY(-6px);
      border-color: rgba(0, 184, 255, 0.35);
      box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 32px rgba(0, 184, 255, 0.1);
    }
    .course-media {
      height: 140px;
      position: relative;
      background:
        radial-gradient(circle at 70% 30%, rgba(0,184,255,0.35), transparent 45%),
        linear-gradient(135deg, #0c1220, #152033);
      display: grid;
      place-items: center;
      overflow: hidden;
    }
    .course-media span {
      font-family: var(--font-display);
      font-size: 0.8rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
      border: 1px solid rgba(255,255,255,0.15);
      padding: 0.4rem 0.7rem;
      border-radius: 999px;
      backdrop-filter: blur(6px);
    }
    /* Con foto de portada no tapamos la imagen con el tag. */
    .course-media[style*="background-image"] span {
      display: none;
    }
    .course-body { padding: 1.15rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
    .course-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      font-size: 0.72rem;
      color: var(--muted);
    }
    .pill {
      padding: 0.2rem 0.5rem;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
    }
    .pill.level { color: var(--primary); border-color: rgba(0,184,255,0.3); }
    .course-card h3 {
      font-family: var(--font-display);
      font-size: 1.05rem;
      letter-spacing: -0.02em;
      line-height: 1.3;
    }
    .course-teacher { color: var(--muted); font-size: 0.85rem; }
    .course-foot {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding-top: 0.5rem;
    }
    .price {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.15rem;
    }
    .price s {
      color: var(--muted);
      font-size: 0.8rem;
      font-weight: 500;
      margin-right: 0.35rem;
    }
    .stars { color: #fbbf24; font-size: 0.8rem; letter-spacing: 0.05em; }

    .course-card h3 a {
      color: inherit;
      text-decoration: none;
    }
    .course-card h3 a:hover { color: var(--primary); }

    .catalog-more {
      display: flex;
      justify-content: center;
      margin-top: 1.75rem;
    }
    .catalog-page { padding-bottom: 3rem; }
    .catalog-hero {
      padding: 7.5rem 0 1.5rem;
    }
    .catalog-list { padding: 0.5rem 0 2rem; }
    .catalog-layout {
      display: grid;
      gap: 1.5rem;
      align-items: start;
    }
    .catalog-filters {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(17, 24, 39, 0.72);
      padding: 1.15rem 1.1rem;
      position: static;
      z-index: 1;
    }
    .catalog-filter-form { display: grid; gap: 1.15rem; }
    .filter-block { display: grid; gap: 0.55rem; }
    .filter-label {
      margin: 0;
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 600;
    }
    .filter-search {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 0.45rem;
    }
    .filter-search input,
    .catalog-filters select {
      width: 100%;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
      color: var(--text);
      padding: 0.7rem 0.85rem;
      font: inherit;
      font-size: 0.9rem;
    }
    .catalog-filters select option,
    .catalog-filters select optgroup {
      color: #111827;
      background: #ffffff;
    }
    .filter-search input:focus,
    .catalog-filters select:focus {
      outline: none;
      border-color: rgba(0, 184, 255, 0.45);
      box-shadow: 0 0 0 3px rgba(0, 184, 255, 0.12);
    }
    .filter-search-btn {
      padding: 0.7rem 0.95rem;
      white-space: nowrap;
    }
    .filter-cats {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.3rem;
      max-height: 280px;
      overflow: auto;
    }
    .filter-cats a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      padding: 0.55rem 0.7rem;
      border-radius: 10px;
      color: var(--muted);
      text-decoration: none;
      border: 1px solid transparent;
      font-size: 0.88rem;
    }
    .filter-cats a span {
      font-size: 0.75rem;
      color: var(--muted);
      opacity: 0.8;
    }
    .filter-cats a:hover {
      color: var(--text);
      background: rgba(255,255,255,0.03);
    }
    .filter-cats a.is-active {
      color: var(--primary);
      border-color: rgba(0, 184, 255, 0.35);
      background: rgba(0, 184, 255, 0.08);
    }
    .filter-clear {
      justify-content: center;
      width: 100%;
    }
    .catalog-toolbar {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: space-between;
      gap: 0.5rem 1rem;
      margin-bottom: 1rem;
    }
    .catalog-count {
      margin: 0;
      color: var(--muted);
      font-size: 0.9rem;
    }
    .catalog-query {
      margin: 0;
      color: var(--primary);
      font-size: 0.85rem;
    }
    .catalog-empty {
      text-align: center;
      color: var(--muted);
      padding: 2.5rem 1rem;
      border: 1px dashed var(--line);
      border-radius: 16px;
      display: grid;
      gap: 1rem;
      justify-items: center;
    }
    .catalog-grid.course-grid,
    .catalog-grid {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .catalog-grid .product.course-card {
      width: auto !important;
      float: none !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    .catalog-pagination {
      margin-top: 2rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 0.65rem;
    }
    .catalog-pagination .page-numbers {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .catalog-pagination .page-numbers a,
    .catalog-pagination .page-numbers span,
    .catalog-pagination .page-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 2.35rem;
      height: 2.35rem;
      padding: 0 0.7rem;
      border-radius: 999px;
      border: 1px solid var(--line);
      color: var(--muted);
      text-decoration: none;
      font-size: 0.85rem;
      background: rgba(255,255,255,0.02);
    }
    .catalog-pagination .page-btn {
      font-weight: 600;
    }
    .catalog-pagination .page-numbers .current,
    .catalog-pagination .page-numbers a:hover,
    .catalog-pagination .page-btn:hover {
      border-color: rgba(0, 184, 255, 0.45);
      color: var(--primary);
    }
    .product-page .product-shell {
      position: relative;
      z-index: 1;
      padding-top: 6.5rem;
      padding-bottom: 3rem;
    }
    .product-detail {
      position: relative;
      z-index: 1;
      color: var(--text);
    }

    /* —— Product detail (Campus-like) —— */
    .product-detail-crumbs {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.4rem;
      margin-bottom: 1rem;
      font-size: 0.88rem;
      color: var(--muted);
    }
    .product-detail-crumbs a {
      color: var(--muted);
      text-decoration: none;
    }
    .product-detail-crumbs a:hover { color: var(--text); }
    .product-detail-crumbs .sep { opacity: 0.45; }

    .product-detail-layout {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      align-items: stretch;
    }
    .product-detail-main {
      min-width: 0;
      display: contents;
    }
    .product-detail-body {
      display: grid;
      gap: 1.5rem;
      min-width: 0;
      order: 3;
    }
    .product-hero-intro {
      order: 1;
    }
    .product-detail-aside {
      display: grid;
      gap: 1rem;
      order: 2;
    }

    .product-hero-card {
      overflow: hidden;
      border-radius: 20px;
      border: 1px solid var(--line);
      background: rgba(17, 24, 39, 0.72);
    }
    .product-tabs-card {
      overflow: hidden;
      border-radius: 20px;
      border: 1px solid var(--line);
      background: rgba(17, 24, 39, 0.72);
    }
    .product-hero-media {
      position: relative;
      aspect-ratio: 16 / 9;
      background:
        radial-gradient(circle at 70% 30%, rgba(0,184,255,0.28), transparent 45%),
        linear-gradient(135deg, #0c1220, #152033);
      background-size: cover;
      background-position: center;
    }
    @media (min-width: 640px) {
      .product-hero-media { aspect-ratio: 21 / 9; }
    }
    .product-hero-fallback { position: absolute; inset: 0; }
    .product-hero-caption {
      padding: 1rem 1.15rem 1.2rem;
    }
    @media (min-width: 640px) {
      .product-hero-caption { padding: 1.15rem 1.4rem 1.35rem; }
    }
    .product-hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-bottom: 0.55rem;
    }
    .product-hero-badges .pill {
      border-color: rgba(255,255,255,0.18);
      background: rgba(255,255,255,0.05);
      color: var(--text);
    }
    .product-hero-badges .pill.level {
      border-color: rgba(0,184,255,0.45);
      color: var(--primary);
    }
    .product-hero-title {
      margin: 0;
      font-family: var(--font-display);
      font-size: clamp(1.25rem, 3vw, 1.85rem);
      letter-spacing: -0.03em;
      line-height: 1.2;
      color: var(--text);
      font-weight: 700;
    }

    .product-tablist {
      display: flex;
      gap: 0.15rem;
      overflow-x: auto;
      border-bottom: 1px solid var(--line);
      padding: 0 0.5rem;
    }
    @media (min-width: 640px) {
      .product-tablist { padding: 0 1rem; }
    }
    .product-tab {
      appearance: none;
      border: 0;
      background: transparent;
      color: var(--muted);
      font: inherit;
      font-size: 0.9rem;
      font-weight: 600;
      padding: 0.9rem 0.85rem;
      border-bottom: 2px solid transparent;
      cursor: pointer;
      white-space: nowrap;
    }
    .product-tab:hover { color: var(--text); }
    .product-tab.is-active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }
    .product-tabpanel {
      padding: 1.15rem 1.15rem 1.4rem;
    }
    @media (min-width: 640px) {
      .product-tabpanel { padding: 1.35rem 1.5rem 1.6rem; }
    }
    .product-tabpanel[hidden] { display: none !important; }
    .product-about h2,
    .product-outcomes h2,
    .product-curriculum-head h2,
    .product-related h2,
    .product-contact-copy h2,
    .product-side-block h3,
    .product-buy-head h2 {
      font-family: var(--font-display);
      letter-spacing: -0.02em;
      margin: 0 0 0.65rem;
      font-size: 1rem;
      font-weight: 700;
    }
    .product-about-body {
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.65;
    }
    .product-about-body p:last-child { margin-bottom: 0; }
    .product-about-body img {
      border-radius: 12px;
      margin: 0.75rem 0;
    }
    .product-reviews-list {
      list-style: none !important;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.85rem;
    }
    .product-review {
      border: 1px solid var(--line);
      border-radius: 16px;
      background: linear-gradient(160deg, rgba(22,27,34,0.95), rgba(17,24,39,0.72));
      padding: 1rem 1.1rem;
      box-shadow: 0 0 0 1px rgba(0,184,255,0.04);
    }
    .product-review-head {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.65rem;
      margin-bottom: 0.55rem;
    }
    .product-review-author {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      min-width: 0;
    }
    .product-review-avatar {
      width: 2rem;
      height: 2rem;
      border-radius: 999px;
      display: grid;
      place-items: center;
      flex-shrink: 0;
      font-size: 0.75rem;
      font-weight: 800;
      color: var(--primary);
      background: rgba(0,184,255,0.12);
      border: 1px solid rgba(0,184,255,0.3);
    }
    .product-review-author strong {
      color: var(--text);
      font-size: 0.92rem;
      font-weight: 700;
    }
    .product-review-stars {
      color: #fbbf24;
      letter-spacing: 0.08em;
      font-size: 0.9rem;
      line-height: 1;
    }
    .product-review-body {
      margin: 0;
      color: #c4c4cc;
      font-size: 0.9rem;
      line-height: 1.55;
    }
    .product-related .course-card {
      opacity: 1;
      transform: none;
    }
    .product-instructor {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-top: 1.15rem;
      padding: 0.85rem;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
    }
    .product-instructor-avatar {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 999px;
      display: grid;
      place-items: center;
      font-weight: 800;
      background: rgba(0,184,255,0.12);
      color: var(--primary);
      border: 1px solid rgba(0,184,255,0.28);
    }
    .product-instructor-name {
      margin: 0;
      font-size: 0.92rem;
      font-weight: 600;
    }
    .product-outcomes { margin-top: 1.35rem; }
    .product-check-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.55rem;
    }
    .product-check-list--2 {
      gap: 0.65rem 1rem;
    }
    @media (min-width: 720px) {
      .product-check-list--2 { grid-template-columns: 1fr 1fr; }
    }
    .product-check-list li {
      position: relative;
      padding-left: 1.55rem;
      color: var(--muted);
      font-size: 0.9rem;
      line-height: 1.45;
    }
    .product-check-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.28rem;
      width: 0.95rem;
      height: 0.95rem;
      border-radius: 999px;
      background:
        linear-gradient(135deg, rgba(0,184,255,0.25), rgba(0,184,255,0.05)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2' stroke='%2300b8ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
      border: 1px solid rgba(0,184,255,0.35);
    }

    .product-curriculum-head { margin-bottom: 0.75rem; }
    .product-curriculum-head .muted { margin: 0; font-size: 0.88rem; }
    .product-accordion { display: grid; gap: 0.55rem; }
    .product-acc-item {
      border: 1px solid var(--line);
      border-radius: 14px;
      overflow: hidden;
      background: rgba(17, 24, 39, 0.55);
    }
    .product-acc-trigger {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      text-align: left;
      appearance: none;
      border: 0;
      background: transparent;
      color: inherit;
      font: inherit;
      padding: 0.9rem 1rem;
      cursor: pointer;
    }
    .product-acc-trigger:hover { background: rgba(255,255,255,0.03); }
    .product-acc-trigger strong {
      display: block;
      font-family: var(--font-display);
      font-size: 0.92rem;
      letter-spacing: -0.02em;
    }
    .product-acc-trigger .muted {
      display: block;
      margin-top: 0.15rem;
      font-size: 0.78rem;
    }
    .product-acc-chevron {
      width: 0.7rem;
      height: 0.7rem;
      border-right: 2px solid var(--muted);
      border-bottom: 2px solid var(--muted);
      transform: rotate(45deg);
      transition: transform 0.18s ease;
      flex-shrink: 0;
    }
    .product-acc-item.is-open .product-acc-chevron {
      transform: rotate(225deg);
      margin-top: 0.25rem;
    }
    .product-acc-panel {
      list-style: none;
      margin: 0;
      padding: 0;
      border-top: 1px solid var(--line);
    }
    .product-acc-panel[hidden] { display: none !important; }
    .product-acc-panel li {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 0.7rem 1rem;
      font-size: 0.88rem;
      color: var(--muted);
      border-top: 1px solid rgba(255,255,255,0.04);
    }
    .product-acc-panel li:first-child { border-top: 0; }
    .product-acc-lesson {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      min-width: 0;
    }
    .product-acc-lock {
      width: 0.85rem;
      height: 0.85rem;
      flex-shrink: 0;
      opacity: 0.7;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .product-buy-card {
      border-radius: 20px;
      border: 1px solid var(--line);
      background: rgba(17, 24, 39, 0.85);
      box-shadow: 0 0 0 1px rgba(0,184,255,0.06);
      padding: 1.15rem 1.2rem 1.3rem;
    }
    .product-buy-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.85rem;
    }
    .product-buy-head h2 { margin: 0; }
    .product-buy-price {
      display: flex;
      align-items: baseline;
      gap: 0.55rem;
      margin-bottom: 1rem;
      font-family: var(--font-display);
    }
    .product-buy-price s {
      color: #f87171;
      font-size: 0.95rem;
      font-weight: 600;
    }
    .product-buy-price strong {
      font-size: 1.65rem;
      letter-spacing: -0.03em;
      color: var(--text);
    }
    .product-buy-cta .quantity {
      margin-bottom: 0.75rem;
    }
    .product-buy-cta .single_add_to_cart_button,
    .product-buy-cta .button {
      width: 100%;
      justify-content: center;
      background: var(--primary) !important;
      color: #041018 !important;
      border-radius: 999px !important;
      font-weight: 700 !important;
      border: 0 !important;
      padding: 0.85rem 1.1rem !important;
      font-size: 0.95rem !important;
    }
    .product-buy-note {
      margin: 0.85rem 0 0.65rem;
      font-size: 0.82rem;
      line-height: 1.45;
    }
    .product-buy-campus {
      width: 100%;
      justify-content: center;
      margin-bottom: 0.35rem;
    }
    .product-buy-meta {
      margin: 1.1rem 0 0;
      padding-top: 1rem;
      border-top: 1px solid var(--line);
      display: grid;
      gap: 0.7rem;
    }
    .product-buy-meta > div {
      display: flex;
      justify-content: space-between;
      gap: 0.75rem;
      font-size: 0.88rem;
    }
    .product-buy-meta dt {
      margin: 0;
      color: var(--muted);
    }
    .product-buy-meta dd {
      margin: 0;
      font-weight: 600;
      text-align: right;
    }
    .product-side-block {
      border-radius: 16px;
      border: 1px solid var(--line);
      background: rgba(17, 24, 39, 0.55);
      padding: 1rem 1.1rem;
    }
    .product-side-block h3 { font-size: 0.95rem; }

    .product-contact-stripe {
      margin-top: 2.25rem;
      border-radius: 20px;
      border: 1px solid rgba(0,184,255,0.22);
      padding: clamp(1.4rem, 3vw, 2rem);
      background:
        radial-gradient(ellipse 70% 120% at 0% 50%, rgba(0,184,255,0.16), transparent 55%),
        linear-gradient(135deg, #121826, #0c1018);
    }
    .product-contact-copy h2 {
      font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    }
    .product-contact-list {
      list-style: none;
      margin: 0.85rem 0 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem 1.25rem;
    }
    .product-contact-list a {
      color: var(--primary);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.92rem;
    }
    .product-contact-list a:hover { text-decoration: underline; }

    .product-related {
      margin-top: 2.5rem;
    }
    .product-related h2 {
      font-size: clamp(1.2rem, 2.5vw, 1.55rem);
      margin-bottom: 1rem;
    }

    .product-detail .woocommerce-Reviews-title,
    .product-detail .comment-reply-title {
      font-family: var(--font-display);
      font-size: 1rem;
    }
    .product-detail .comment-form input[type="text"],
    .product-detail .comment-form input[type="email"],
    .product-detail .comment-form textarea {
      width: 100%;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(0,0,0,0.25);
      color: var(--text);
      padding: 0.65rem 0.8rem;
    }
    .product-detail .comment-form .submit {
      background: var(--primary) !important;
      color: #041018 !important;
      border: 0 !important;
      border-radius: 999px !important;
      font-weight: 700 !important;
      padding: 0.65rem 1.1rem !important;
    }

    @media (min-width: 960px) {
      .product-detail-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
        align-items: start;
      }
      .product-detail-main {
        display: grid;
        gap: 1.5rem;
        min-width: 0;
      }
      .product-hero-intro,
      .product-detail-body,
      .product-detail-aside {
        order: initial;
      }
      .product-detail-aside {
        position: sticky;
        top: 5.75rem;
      }
    }

    /* —— Stats —— */
    .stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.85rem;
    }
    .stat {
      text-align: center;
      padding: 1.5rem 1rem;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: rgba(17, 24, 39, 0.6);
    }
    .stat strong {
      display: block;
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 4vw, 2.2rem);
      letter-spacing: -0.03em;
      color: var(--primary);
      margin-bottom: 0.25rem;
    }
    .stat span { color: var(--muted); font-size: 0.88rem; }

    /* —— Testimonials —— */
    .t-grid { display: grid; gap: 1rem; }
    .t-card {
      padding: 1.35rem;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: linear-gradient(160deg, rgba(22,27,34,0.9), rgba(17,24,39,0.65));
    }
    .t-card p {
      color: #e4e4e7;
      font-size: 0.95rem;
      margin-bottom: 1rem;
    }
    .t-author {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .avatar {
      width: 40px; height: 40px;
      border-radius: 50%;
      display: grid; place-items: center;
      font-weight: 800;
      font-size: 0.8rem;
      background: rgba(0,184,255,0.15);
      color: var(--primary);
      border: 1px solid rgba(0,184,255,0.3);
    }
    .t-author strong { display: block; font-size: 0.9rem; }
    .t-author span { color: var(--muted); font-size: 0.8rem; }

    /* —— Certificados (home) —— */
    .cert-section {
      padding: clamp(3rem, 6vw, 4.5rem) 0;
      background:
        radial-gradient(ellipse 55% 70% at 15% 40%, rgba(0, 184, 255, 0.08), transparent 60%),
        radial-gradient(ellipse 40% 50% at 90% 20%, rgba(0, 230, 118, 0.05), transparent 55%);
    }
    .cert-layout {
      display: grid;
      gap: clamp(1.75rem, 4vw, 3rem);
      align-items: center;
    }
    .cert-visual {
      position: relative;
    }
    .cert-showcase {
      position: relative;
      margin: 0;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: rgba(17, 24, 39, 0.65);
      box-shadow:
        0 0 0 1px rgba(0, 184, 255, 0.06),
        0 28px 70px rgba(0, 0, 0, 0.4);
      overflow: visible;
    }
    .cert-showcase img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 16px;
    }
    .cert-badge {
      position: absolute;
      right: 0.85rem;
      bottom: -0.85rem;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.55rem 0.85rem;
      border-radius: 12px;
      border: 1px solid rgba(0, 184, 255, 0.45);
      background: rgba(9, 9, 11, 0.92);
      color: var(--text);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(10px);
    }
    .cert-badge svg {
      color: var(--primary);
      flex-shrink: 0;
    }
    .cert-copy {
      max-width: 34rem;
    }
    .cert-eyebrow {
      margin: 0 0 0.65rem;
      color: var(--primary);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    .cert-title {
      margin: 0 0 0.9rem;
      font-family: var(--font-display);
      font-size: clamp(1.45rem, 3.2vw, 2.15rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.15;
      text-transform: uppercase;
      color: var(--text);
    }
    .cert-lead {
      margin: 0 0 1.35rem;
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.55;
    }
    .cert-features {
      list-style: none;
      margin: 0 0 1.5rem;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .cert-features li {
      display: flex;
      gap: 0.85rem;
      align-items: flex-start;
    }
    .cert-feature-ico {
      flex: 0 0 auto;
      width: 2.35rem;
      height: 2.35rem;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
    }
    .cert-feature-ico--qr {
      background: linear-gradient(145deg, #7c3aed, #5b21b6);
    }
    .cert-feature-ico--cap {
      background: linear-gradient(145deg, #be185d, #9f1239);
    }
    .cert-feature-ico--link {
      background: linear-gradient(145deg, #0e7490, #155e75);
    }
    .cert-features strong {
      display: block;
      margin-bottom: 0.2rem;
      font-size: 0.95rem;
      color: var(--text);
    }
    .cert-features p {
      margin: 0;
      color: var(--muted);
      font-size: 0.86rem;
      line-height: 1.45;
    }
    .cert-cta {
      display: inline-flex;
      gap: 0.5rem;
    }

    @media (min-width: 900px) {
      .cert-layout {
        grid-template-columns: 1.05fr 0.95fr;
        gap: clamp(2rem, 4vw, 3.5rem);
      }
      .cert-badge {
        right: 1.1rem;
        bottom: -1rem;
      }
    }

    /* —— CTA —— */
    .cta-panel {
      border-radius: 24px;
      border: 1px solid rgba(0, 184, 255, 0.25);
      padding: clamp(2rem, 5vw, 3.5rem);
      text-align: center;
      background:
        radial-gradient(ellipse 70% 100% at 50% 0%, rgba(0,184,255,0.22), transparent 55%),
        linear-gradient(180deg, #161b22, #0c1018);
      box-shadow: 0 0 80px rgba(0, 184, 255, 0.08);
    }
    .cta-panel h2 {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      letter-spacing: -0.03em;
      margin-bottom: 0.75rem;
    }
    .cta-panel p {
      color: var(--muted);
      max-width: 32rem;
      margin: 0 auto 1.5rem;
    }
    .cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

    /* —— Footer —— */
    footer {
      border-top: 1px solid var(--line);
      padding: 2.5rem 0 3rem;
      color: var(--muted);
      font-size: 0.88rem;
    }
    .footer-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: space-between;
      align-items: start;
    }
    .footer-brand img { height: 22px; margin-bottom: 0.65rem; opacity: 0.9; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.35rem; }

    @media (min-width: 640px) {
      .brand-badge { display: inline-block; }
      .brand img.word { height: 22px; }
      .nav-inner {
        height: 4.25rem;
        gap: 1rem;
      }
      .nav-cta {
        gap: 0.6rem;
      }
      .nav-cta .btn {
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
      }
      .nav-cta-full { display: inline; }
      .nav-cta-short { display: none; }
      .nav-lab {
        padding: 0.4rem 0.9rem;
        font-size: 0.78rem;
      }
      .cat-grid { grid-template-columns: repeat(3, 1fr); }
      .why-grid { grid-template-columns: repeat(2, 1fr); }
      .course-grid { grid-template-columns: repeat(2, 1fr); }
      .stats { grid-template-columns: repeat(4, 1fr); }
      .t-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 960px) {
      .nav-links {
        display: flex;
        align-items: center;
      }
      .nav-toggle { display: none; }
      .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
      .cat-grid { grid-template-columns: repeat(5, 1fr); }
      .path {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.75rem;
      }
      .path::before {
        left: 8%;
        right: 8%;
        top: 1.15rem;
        bottom: auto;
        height: 2px;
        width: auto;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
      }
      .path-step {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
      }
      .path-body { text-align: left; }
      .why-grid { grid-template-columns: repeat(3, 1fr); }
      .lab-layout { grid-template-columns: 0.9fr 1.1fr; }
      .course-grid { grid-template-columns: repeat(3, 1fr); }
      .catalog-layout {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 1.75rem;
      }
      .catalog-filters {
        position: sticky;
        top: 5.5rem;
        align-self: start;
      }
      .catalog-results .course-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .t-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (min-width: 1180px) {
      .catalog-results .course-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
      .reveal { opacity: 1; transform: none; }
    }

/* WP admin bar offset */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

/* —— Auth /login —— */
.intesla-academy-auth {
  min-height: 100svh;
  background: #09090b;
}
.auth-atmosphere {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.auth-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 80% -10%, rgba(0, 184, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 40%, rgba(0, 230, 118, 0.06), transparent 50%),
    #09090b;
}
.auth-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 10%, transparent 75%);
}
.auth-card {
  width: min(100%, 420px);
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 40px rgba(0, 184, 255, 0.08), 0 24px 64px rgba(0, 0, 0, 0.35);
}
.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}
.auth-brand img { height: 22px; width: auto; }
.auth-card h1 {
  margin: 0;
  text-align: center;
  font-family: var(--font-display, "Sora", system-ui, sans-serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.auth-lead {
  margin: 0.4rem 0 1.25rem;
  text-align: center;
  color: #a1a1aa;
  font-size: 0.92rem;
  line-height: 1.45;
}
.auth-hint {
  margin: 0.65rem 0 0;
  text-align: center;
  color: #71717a;
  font-size: 0.8rem;
  line-height: 1.4;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.35rem 0 1.1rem;
  color: #71717a;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.auth-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}
.auth-form .field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a1a1aa;
}
.auth-form .field input {
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
}
.auth-form .field input:focus {
  outline: none;
  border-color: rgba(0, 184, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 184, 255, 0.18);
}

/* Toggle mostrar/ocultar contraseña (login, Woo, etc.) */
.password-field {
  position: relative;
  display: block;
  width: 100%;
}
.password-field input[type="password"],
.password-field input[type="text"] {
  width: 100%;
  padding-right: 2.75rem !important;
  box-sizing: border-box;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #a1a1aa;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  color: #00b8ff;
  background: rgba(0, 184, 255, 0.1);
  outline: none;
}
.password-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  pointer-events: none;
}
.password-toggle .icon-eye-off {
  display: none;
}
.password-toggle.is-visible .icon-eye {
  display: none;
}
.password-toggle.is-visible .icon-eye-off {
  display: block;
}
.password-toggle[aria-pressed="true"] {
  color: #00b8ff;
}
.auth-form .field .password-field input {
  height: 2.5rem;
}
.woocommerce .password-field,
.woocommerce-page .password-field {
  width: 100%;
}
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.82rem;
}
.auth-row a { color: #00b8ff; text-decoration: none; }
.auth-row a:hover { text-decoration: underline; }
.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #a1a1aa;
  cursor: pointer;
}
.auth-submit {
  width: 100%;
  justify-content: center;
}
.auth-actions {
  display: grid;
  gap: 0.65rem;
}
.auth-error {
  margin: 0 0 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
  font-size: 0.88rem;
}
.auth-success {
  margin: 0 0 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.1);
  color: #bbf7d0;
  font-size: 0.88rem;
}
.auth-footer {
  margin: 1.25rem 0 0;
  text-align: center;
  color: #a1a1aa;
  font-size: 0.85rem;
}
.auth-footer a {
  color: #00b8ff;
  text-decoration: none;
  font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }

/* —— Mi perfil —— */
.profile-page { padding-bottom: 3rem; }
.profile-hero { padding: 7.5rem 0 1.25rem; }
.profile-hero-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.75);
}
.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #041018;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
}
.profile-hero-text .section-title { margin-bottom: 0.2rem; }
.profile-email { margin: 0; color: var(--muted); }
.profile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.profile-body { padding: 0.75rem 0 2rem; }
.profile-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
.profile-side,
.profile-main { display: grid; gap: 1rem; }
.profile-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.72);
  padding: 1.2rem 1.15rem;
}
.profile-panel h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.profile-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.profile-panel-head h2 { margin: 0; }
.profile-count { color: var(--muted); font-size: 0.85rem; }
.profile-dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.profile-dl div { display: grid; gap: 0.15rem; }
.profile-dl dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.profile-dl dd { margin: 0; color: var(--text); font-size: 0.95rem; }
.profile-campus p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.profile-empty {
  text-align: center;
  padding: 1.75rem 1rem;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.profile-orders { display: grid; gap: 0.75rem; }
.profile-order {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.02);
}
.profile-order-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}
.profile-order-id {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.profile-order-date {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.profile-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}
.profile-status.status-completed,
.profile-status.status-processing {
  color: var(--primary);
  border-color: rgba(0, 184, 255, 0.35);
  background: rgba(0, 184, 255, 0.08);
}
.profile-status.status-on-hold,
.profile-status.status-pending {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
}
.profile-status.status-cancelled,
.profile-status.status-failed,
.profile-status.status-refunded {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}
.profile-order-items {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.profile-order-foot {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.profile-order-total {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
@media (min-width: 960px) {
  .profile-hero-card {
    grid-template-columns: auto 1fr auto;
  }
  .profile-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1.5rem;
  }
}

/* —— Carrito / Checkout —— */
.cart-page,
.checkout-page {
  padding-block: 2rem 4rem;
  max-width: min(960px, 100%);
  overflow-x: clip;
  box-sizing: border-box;
}
.cart-page-head {
  margin-bottom: 1.75rem;
}
.cart-page-head .eyebrow {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}
.cart-page-head h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.cart-page-head .muted {
  margin: 0;
  max-width: 42rem;
}

.cart-page .woocommerce,
.checkout-page .woocommerce {
  color: var(--text);
  max-width: 100%;
  overflow-x: clip;
}
.cart-page table.shop_table,
.checkout-page table.shop_table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.55);
  table-layout: fixed;
}
.cart-page table.shop_table th,
.cart-page table.shop_table td,
.checkout-page table.shop_table th,
.checkout-page table.shop_table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: middle;
  word-break: break-word;
}
.cart-page table.shop_table th {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
}
.cart-page .product-name a,
.cart-page a.button,
.cart-page .checkout-button,
.checkout-page a.button,
.checkout-page button.button,
.checkout-page #place_order {
  color: inherit;
}
.cart-page .actions .button,
.cart-page .wc-proceed-to-checkout .checkout-button,
.checkout-page button.button,
.checkout-page #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary) !important;
  color: #041018 !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 0.85rem 1.25rem !important;
  text-decoration: none !important;
  min-height: 2.85rem;
  box-sizing: border-box;
  line-height: 1.2;
  font-size: 0.92rem !important;
}

/* Fila cupón + actualizar (desktop)
   Evitar float/absolute de WooCommerce y min-width:0 que comprimía el input
   hasta 0px y hacía solapar «Aplicar cupón» con «Actualizar carrito». */
.cart-page table.shop_table td.actions,
.cart-page .actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1rem !important;
  margin: 0 !important;
  float: none !important;
  clear: both !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.cart-page .coupon {
  display: flex !important;
  flex: 1 1 18rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  min-width: 12rem;
  float: none !important;
  clear: none !important;
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.cart-page .coupon label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.cart-page .coupon .input-text {
  flex: 1 1 10rem;
  min-width: 10rem;
  max-width: 16rem;
  width: auto !important;
  min-height: 2.85rem;
  height: 2.85rem;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 1.15rem !important;
  border-radius: 999px !important;
  border: 1px solid var(--line) !important;
  background: rgba(9, 12, 20, 0.85) !important;
  color: var(--text) !important;
  font-size: 0.92rem !important;
  line-height: 1.2 !important;
  float: none !important;
  position: static !important;
  display: block !important;
}
.cart-page .coupon .input-text::placeholder {
  color: var(--muted);
  opacity: 1;
}
.cart-page .coupon .button,
.cart-page .actions > .button,
.cart-page button[name="apply_coupon"],
.cart-page button[name="update_cart"] {
  flex: 0 0 auto;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap;
  float: none !important;
  clear: none !important;
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
}
.cart-page .actions > .button,
.cart-page button[name="update_cart"] {
  margin-left: auto !important;
}
.cart-page button[name="update_cart"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(148, 163, 184, 0.28) !important;
  color: var(--text) !important;
}

/* Móvil: filas apiladas + cupón sin desborde */
@media (max-width: 768px) {
  .cart-page table.shop_table {
    table-layout: auto;
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .cart-page table.shop_table thead {
    display: none;
  }
  .cart-page table.shop_table tbody,
  .cart-page table.shop_table tr,
  .cart-page table.shop_table td {
    display: block;
    width: 100% !important;
  }
  .cart-page table.shop_table tr.woocommerce-cart-form__cart-item,
  .cart-page table.shop_table tr.cart_item {
    margin-bottom: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.55);
    overflow: hidden;
  }
  .cart-page table.shop_table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    text-align: right;
    padding: 0.7rem 1rem !important;
    border-bottom: 1px solid var(--line) !important;
    box-sizing: border-box;
  }
  .cart-page table.shop_table td:last-child {
    border-bottom: 0 !important;
  }
  .cart-page table.shop_table td::before {
    content: attr(data-title);
    flex: 0 1 auto;
    max-width: 42%;
    text-align: left;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
  .cart-page table.shop_table td.product-remove {
    justify-content: flex-start;
    padding-bottom: 0.35rem !important;
  }
  .cart-page table.shop_table td.product-remove::before,
  .cart-page table.shop_table td.product-thumbnail::before,
  .cart-page table.shop_table td.actions::before {
    display: none;
  }
  .cart-page table.shop_table td.product-thumbnail {
    display: none;
  }
  .cart-page table.shop_table td.product-name {
    text-align: right;
  }
  .cart-page table.shop_table td.product-name a {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .cart-page table.shop_table td.product-quantity .quantity {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
  }
  .cart-page table.shop_table td.product-quantity .qty,
  .cart-page table.shop_table td.product-quantity input.qty {
    width: 3.75rem !important;
    min-width: 3.75rem;
    min-height: 2.35rem;
    height: 2.35rem;
    box-sizing: border-box;
    text-align: center;
    border-radius: 10px !important;
    border: 1px solid var(--line) !important;
    background: rgba(9, 12, 20, 0.85) !important;
    color: var(--text) !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
  }
  /* Sold individually: Woo no pinta input; mostramos 1. */
  .cart-page table.shop_table td.product-quantity:not(:has(input.qty))::after {
    content: "1";
    font-weight: 600;
    color: var(--text);
  }
  .cart-page .cart-qty-fixed {
    font-weight: 600;
    color: var(--text);
  }
  .cart-page .actions > .button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
  .cart-page table.shop_table td.actions {
    display: block;
    padding: 1rem !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.55);
    margin-top: 0.5rem;
  }
  .cart-page table.shop_table td.actions,
  .cart-page .actions {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0 !important;
  }
  .cart-page .coupon {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }
  .cart-page .coupon .input-text {
    max-width: none;
    min-width: 0;
    width: 100% !important;
  }
  .cart-page .coupon .button,
  .cart-page .actions > .button,
  .cart-page button[name="apply_coupon"],
  .cart-page button[name="update_cart"] {
    width: 100% !important;
    margin-left: 0 !important;
  }
  .cart-page .cart_totals {
    width: 100% !important;
    float: none !important;
    margin: 1rem 0 0 !important;
    padding: 1.15rem 1.15rem 1.25rem !important;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.55);
    box-sizing: border-box;
  }
  .cart-page .cart_totals > h2 {
    margin: 0 0 0.85rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .cart-page .cart_totals .shop_table,
  .cart-page .cart_totals table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    table-layout: fixed;
  }
  .cart-page .cart_totals table tbody,
  .cart-page .cart_totals table tr {
    display: table-row !important;
    width: auto !important;
  }
  .cart-page .cart_totals table th,
  .cart-page .cart_totals table td {
    display: table-cell !important;
    width: auto !important;
    padding: 0.8rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    vertical-align: middle !important;
    background: transparent !important;
  }
  .cart-page .cart_totals table th {
    width: 45% !important;
    text-align: left !important;
    white-space: nowrap;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-right: 0.75rem !important;
  }
  .cart-page .cart_totals table td {
    width: 55% !important;
    text-align: right !important;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text);
    padding-left: 0.75rem !important;
  }
  .cart-page .cart_totals table tr:last-child th,
  .cart-page .cart_totals table tr:last-child td {
    border-bottom: 0 !important;
  }
  .cart-page .cart_totals table tr.order-total th,
  .cart-page .cart_totals table tr.order-total td {
    padding-top: 1rem !important;
  }
  .cart-page .cart_totals table tr.order-total td,
  .cart-page .cart_totals table tr.order-total strong {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
  }
  .cart-page .wc-proceed-to-checkout {
    margin-top: 0.9rem;
    padding: 0 !important;
  }
  .cart-page .wc-proceed-to-checkout .checkout-button {
    width: 100% !important;
  }
}

.checkout-page .input-text,
.checkout-page select,
.checkout-page textarea {
  background: rgba(9, 12, 20, 0.75);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 0.65rem 0.85rem;
  width: 100%;
}
.cart-page .cart-empty,
.cart-page .wc-empty-cart-message {
  padding: 1.5rem;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
}
/* Totales del carrito — desktop y base */
.cart-page .cart_totals {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cart-page .cart_totals > h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.cart-page .cart_totals .shop_table {
  border: 0;
  background: transparent;
}
.cart-page .cart_totals .shop_table th,
.cart-page .cart_totals .shop_table td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-page .cart_totals .shop_table th {
  text-align: left;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cart-page .cart_totals .shop_table td {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}
.cart-page .cart_totals .shop_table tr:last-child th,
.cart-page .cart_totals .shop_table tr:last-child td {
  border-bottom: 0;
}
.cart-page .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  margin-top: 0.25rem;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  position: relative;
  list-style: none !important;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.85);
  color: var(--text);
  padding: 0.95rem 1.1rem 0.95rem 3rem;
  margin: 0 0 1rem;
  line-height: 1.45;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  position: absolute !important;
  left: 1rem !important;
  top: 50% !important;
  transform: translateY(-50%);
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}
.woocommerce-error li {
  list-style: none !important;
  padding-left: 0 !important;
}
.woocommerce-message {
  border-color: rgba(0, 230, 118, 0.35);
}
.woocommerce-info {
  border-color: rgba(0, 184, 255, 0.35);
}
.woocommerce-error {
  border-color: rgba(248, 113, 113, 0.4);
}
