
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    html, body {
      height: 100%;
      overflow: hidden;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      color: #ffffff;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Product Carousel Background ── */
    .products-bg {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      z-index: 0;
      overflow: hidden;
      background: #0a1628;
      pointer-events: none;
    }

    .products-row {
      position: absolute;
      left: 0;
      width: 100%;
      overflow: visible;
    }

    .products-track {
      display: flex;
      gap: 22px;
      width: max-content;
      will-change: transform;
    }

    .product-item {
      width: 260px;
      height: 175px;
      border-radius: 14px;
      overflow: hidden;
      flex-shrink: 0;
      position: relative;
      background: #0d1f35;
    }

    .product-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: blur(1.2px) brightness(0.45) saturate(0.7);
    }

    .row-1 { top: 6%; }
    .row-2 { top: 38%; }
    .row-3 { top: 70%; }

    .row-1 .products-track { animation: scroll-right 50s linear infinite; }
    .row-2 .products-track { animation: scroll-left  42s linear infinite; }
    .row-3 .products-track { animation: scroll-right 58s linear infinite; }

    @keyframes scroll-right {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    @keyframes scroll-left {
      from { transform: translateX(-50%); }
      to   { transform: translateX(0); }
    }

    .products-bg::before,
    .products-bg::after {
      content: '';
      position: fixed;
      top: 0;
      width: 140px;
      height: 100%;
      z-index: 1;
      pointer-events: none;
    }

    .products-bg::before {
      left: 0;
      background: linear-gradient(to right, #0a1628 0%, transparent 100%);
    }

    .products-bg::after {
      right: 0;
      background: linear-gradient(to left, #0a1628 0%, transparent 100%);
    }

    /* ── Overlay oscuro semitransparente ── */
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: linear-gradient(
        180deg,
        rgba(2, 21, 35, 0.68) 0%,
        rgba(2, 21, 35, 0.78) 40%,
        rgba(2, 21, 35, 0.74) 100%
      );
      z-index: 1;
    }

    /* ── Layout principal ── */
    .page {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      padding: 24px 16px;
      gap: 20px;
    }

    /* ── Logo ── */
    .logo-wrap {
      z-index: 3;
      text-align: center;
    }

    .logo-wrap img {
      height: 42px;
      width: auto;
      display: block;
      margin: 0 auto;
      filter: brightness(0) invert(1);
      opacity: 0.95;
    }

    .brand-name {
      font-family: 'Share Tech Mono', 'Fira Code', 'Courier New', monospace;
      font-size: 24px;
      font-weight: 400;
      letter-spacing: 8px;
      text-transform: uppercase;
      color: #ffffff;
      text-shadow:
        0 0 10px rgba(4, 115, 137, 0.6),
        0 0 30px rgba(4, 115, 137, 0.3),
        0 0 60px rgba(4, 115, 137, 0.15);
      margin-top: 8px;
      text-align: center;
      white-space: nowrap;
    }

    /* ── Cards container ── */
    .cards-container {
      display: flex;
      gap: 28px;
      align-items: stretch;
    }

    /* ── Card / Panel base ── */
    .card {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-radius: 16px;
      padding: 36px 32px 30px;
      width: 440px;
      box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.25),
        0 1px 3px rgba(0, 0, 0, 0.08);
      text-align: center;
      display: flex;
      flex-direction: column;
      min-height: 408px;
    }

    .card h1 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 24px;
      font-weight: 700;
      color: #282828;
      line-height: 1.25;
      margin-bottom: 8px;
    }

    .card .subtitle {
      font-size: 13px;
      font-weight: 400;
      color: #555;
      line-height: 1.55;
      margin-bottom: 24px;
    }

    /* ── Separador visual entre paneles ── */
    .divider-vertical {
      width: 1px;
      background: linear-gradient(180deg, transparent 5%, #d0d0d0 20%, #d0d0d0 80%, transparent 95%);
      align-self: stretch;
      flex-shrink: 0;
    }

    /* ── Formulario de registro (izquierda) ── */
    .signup-form {
      display: flex;
      align-items: center;
      background: #f7f7f7;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      padding: 5px 5px 5px 16px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .signup-form:focus-within {
      border-color: #d83533;
      box-shadow: 0 0 0 3px rgba(216, 53, 51, 0.12);
    }

    .signup-form input[type="email"] {
      flex: 1;
      border: none;
      background: transparent;
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      color: #282828;
      outline: none;
      min-width: 0;
    }

    .signup-form input[type="email"]::placeholder {
      color: #999;
      font-weight: 400;
    }

    .signup-form button {
      flex-shrink: 0;
      width: 44px;
      height: 44px;
      border-radius: 8px;
      border: none;
      background: #d83533;
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, transform 0.1s;
    }

    .signup-form button:hover { background: #c02f2d; }
    .signup-form button:active { transform: scale(0.95); }
    .signup-form button svg { width: 20px; height: 20px; }

    /* ── Texto legal ── */
    .legal {
      font-size: 11.5px;
      color: #888;
      margin-top: 12px;
      line-height: 1.4;
    }

    /* ── CTA debajo del form ── */
    .cta-bonus {
      margin-top: auto;
      padding: 12px 16px;
      background: linear-gradient(135deg, #021523 0%, #047389 100%);
      border-radius: 10px;
      font-size: 13px;
      font-weight: 500;
      color: #ffffff;
      line-height: 1.45;
    }

    .cta-bonus strong { color: #ffc300; font-weight: 600; }

    /* ═══════════════════════════════════════════
       FORMULARIO DE LOGIN (derecha)
    ═══════════════════════════════════════════ */

    .login-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
      text-align: left;
    }

    .login-form .form-group { position: relative; }

    .login-form .form-group label {
      display: block;
      font-size: 12px;
      font-weight: 500;
      color: #444;
      margin-bottom: 5px;
      letter-spacing: 0.2px;
    }

    .login-form .input-wrap {
      display: flex;
      align-items: center;
      background: #f7f7f7;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      padding: 0 12px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .login-form .input-wrap:focus-within {
      border-color: #047389;
      box-shadow: 0 0 0 3px rgba(4, 115, 137, 0.10);
    }

    .login-form .input-wrap .input-icon {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      color: #999;
      margin-right: 10px;
    }

    .login-form .input-wrap input {
      flex: 1;
      border: none;
      background: transparent;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: #282828;
      outline: none;
      padding: 12px 0;
      min-width: 0;
    }

    .login-form .input-wrap input::placeholder {
      color: #aaa;
      font-weight: 400;
    }

    /* Botón ojo contraseña */
    .login-form .input-wrap .toggle-pw {
      flex-shrink: 0;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      color: #888;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.2s;
    }

    .login-form .input-wrap .toggle-pw:hover { color: #555; }
    .login-form .input-wrap .toggle-pw svg { width: 18px; height: 18px; }

    /* Fila: checkbox + olvidar contraseña */
    .login-extras {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: -4px;
    }

    .login-extras .remember {
      display: flex;
      align-items: center;
      gap: 7px;
      cursor: pointer;
      font-size: 12.5px;
      color: #555;
      user-select: none;
    }

    .login-extras .remember input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: #047389;
      cursor: pointer;
      border-radius: 3px;
    }

    .login-extras .forgot {
      font-size: 12px;
      color: #047389;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
    }

    .login-extras .forgot:hover {
      color: #021523;
      text-decoration: underline;
    }

    /* Botón de login */
    .login-btn {
      display: block;
      width: 100%;
      padding: 13px 0;
      border: none;
      border-radius: 10px;
      background: linear-gradient(135deg, #021523 0%, #047389 100%);
      color: #ffffff;
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      letter-spacing: 0.3px;
      transition: filter 0.2s, transform 0.1s;
      margin-top: 4px;
    }

    .login-btn:hover { filter: brightness(1.1); }
    .login-btn:active { transform: scale(0.98); }


    
    /* ═══════════════════════════════════════════
       TRANSICIONES CARD CONTENT (login <-> reset)
    ═══════════════════════════════════════════ */

    .card-content {
      display: flex;
      flex-direction: column;
      flex: 1;
      transition: opacity 0.3s ease, transform 0.3s ease;
      transform-origin: center top;
    }

    .card-content.fade-out {
      opacity: 0;
      transform: translateY(-8px);
      pointer-events: none;
    }

    /* ═══════════════════════════════════════════
       FORMULARIO RESTAURAR CONTRASEÑA
    ═══════════════════════════════════════════ */

    .reset-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
      text-align: left;
    }

    .reset-form .form-group { position: relative; }

    .reset-form .form-group label {
      display: block;
      font-size: 12px;
      font-weight: 500;
      color: #444;
      margin-bottom: 5px;
      letter-spacing: 0.2px;
    }

    .reset-form .input-wrap {
      display: flex;
      align-items: center;
      background: #f7f7f7;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      padding: 0 12px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .reset-form .input-wrap:focus-within {
      border-color: #047389;
      box-shadow: 0 0 0 3px rgba(4, 115, 137, 0.10);
    }

    .reset-form .input-wrap .input-icon {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      color: #999;
      margin-right: 10px;
    }

    .reset-form .input-wrap input {
      flex: 1;
      border: none;
      background: transparent;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: #282828;
      outline: none;
      padding: 12px 0;
      min-width: 0;
    }

    .reset-form .input-wrap input::placeholder {
      color: #aaa;
      font-weight: 400;
    }

    .back-link {
      display: inline-block;
      margin-top: 8px;
      font-size: 12.5px;
      color: #047389;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
      cursor: pointer;
      text-align: center;
    }

    .back-link:hover {
      color: #021523;
      text-decoration: underline;
    }

/* ── Responsive ── */
    @media (max-width: 1040px) {
      .cards-container { gap: 18px; }
      .card { width: 390px; padding: 28px 24px 24px; }
      .card h1 { font-size: 21px; }
      .card .subtitle { font-size: 12px; }
    }

    @media (max-width: 920px) {
      html, body {
        overflow-y: auto;
        overflow-x: hidden;
      }

      .page {
        padding-top: 32px;
        padding-bottom: 40px;
        min-height: auto;
        justify-content: flex-start;
        gap: 16px;
      }

      .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 460px;
      }

      .divider-vertical {
        width: 80%;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, #d0d0d0 20%, #d0d0d0 80%, transparent 100%);
      }

      .card { width: 100%; }

      .logo-wrap { margin-bottom: 0; }
      .logo-wrap img { height: 34px; }
      .brand-name { font-size: 18px; letter-spacing: 5px; }
    }

    @media (max-width: 600px) {
      .card { padding: 24px 20px 22px; border-radius: 12px; }
      .card h1 { font-size: 20px; }
      .card .subtitle { font-size: 12px; margin-bottom: 18px; }
      .signup-form { padding: 4px 4px 4px 12px; }
      .signup-form input[type="email"] { font-size: 14px; }
      .signup-form button { width: 40px; height: 40px; }
      .cta-bonus { font-size: 12.5px; padding: 10px 12px; }
      .login-form .input-wrap input { font-size: 13px; }
      .reset-form .input-wrap input { font-size: 13px; }
      .product-item { width: 160px; height: 108px; border-radius: 10px; }
      .row-2 { display: none; }
      .row-1 { top: 4%; }
      .row-3 { top: 82%; }
      .products-bg::before, .products-bg::after { width: 60px; }
    }

    @media (max-height: 640px) and (min-width: 921px) {
      .card { padding: 20px 24px 18px; min-height: 400px; }
      .card h1 { font-size: 20px; margin-bottom: 6px; }
      .card .subtitle { font-size: 11px; margin-bottom: 14px; }
      .cta-bonus { margin-top: 10px; padding: 8px 12px; font-size: 12px; }
      .logo-wrap { margin-bottom: 0; }
      .logo-wrap img { height: 28px; }
      .brand-name { font-size: 15px; letter-spacing: 4px; margin-top: 4px; }
      .product-item { width: 140px; height: 95px; }
      .row-1 { top: 2%; }
      .row-3 { top: 85%; }
      .cards-container { gap: 16px; }
      .login-form { gap: 10px; }
      .login-form .input-wrap input { padding: 10px 0; }
      .reset-form { gap: 10px; }
      .reset-form .input-wrap input { padding: 10px 0; }
    }
  
/* ── LlobregatBienvenida: extensiones funcionales PrestaShop (registro + alertas) ── */
.lw-alert {
  background: #ffe0e0;
  color: #7a1a1a;
  border: 1px solid #ffc2c2;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 16px;
  text-align: left;
}
.lw-alert p { margin: 0; }
.lw-alert p + p { margin-top: 4px; }
.lw-bienvenida-standalone {
  /* Oculta header/footer del theme solo en /bienvenida cuando el CSS global de la landing aplica */
}
body.page-bienvenida header,
body.page-bienvenida footer,
body#module-llobregatbienvenida-bienvenida header,
body#module-llobregatbienvenida-bienvenida footer {
  /* Si el theme injecta header/footer, la landing los tapa con .products-bg fixed + .overlay; no hace falta display:none */
}
.check-group {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 10px;
  text-align: left;
}
.check-group input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #047389;
  cursor: pointer;
}
.check-group label {
  font-size: 12px;
  line-height: 1.45;
  color: #555;
  cursor: pointer;
}
.check-group label a {
  color: #047389;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.check-group label a:hover { color: #021523; }

/* ── Aislamiento .lw-bienvenida dentro de PrestaShop: evita márgenes del theme ── */
.lw-bienvenida {
  margin: 0 !important;
  /* El CSS local ya define html,body overflow hidden; aquí aseguramos que el wrapper ocupe viewport */
}
