
    /* =========================================================
       PRISTEN WATER - ESTILOS
       ========================================================= */

    :root {
      --navy: #0b1f3a;
      --navy-2: #0a2a52;
      --blue: #0a84ff;
      --blue-dark: #086fd4;
      --text: #222;
      --muted: #667085;
      --light: #f5f7fb;
      --white: #fff;
      --danger: #e53935;
      --success: #25d366;
      --shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
      --radius: 18px;
      --header-height: 76px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--header-height) + 15px);
    }

    body {
      margin: 0;
      font-family: "Poppins", sans-serif;
      background: var(--white);
      color: var(--text);
      overflow-x: hidden;
    }

    body.modal-open,
    body.cart-open {
      overflow: hidden;
    }

    img {
      max-width: 100%;
      display: block;
    }

    button,
    a {
      -webkit-tap-highlight-color: transparent;
    }

    button {
      font-family: inherit;
    }

    /* =========================================================
       HEADER
       ========================================================= */

    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 60px;
      background: linear-gradient(90deg, var(--navy), var(--navy-2));
      transition: 0.3s ease;
    }

    header.scrolled {
      height: 64px;
      background: rgba(11, 31, 58, 0.94);
      backdrop-filter: blur(12px);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    }

    .logo {
      width: auto;
      height: 52px;
      object-fit: contain;
      flex-shrink: 0;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    nav a {
      position: relative;
      padding: 8px 12px;
      color: var(--white);
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: 0.25s ease;
      white-space: nowrap;
    }

    nav a:hover {
      color: #9bd2ff;
    }

    .cart-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      font-size: 19px;
      min-width: 40px;
    }

    #count {
      position: absolute;
      top: 0;
      right: 0;
      min-width: 18px;
      height: 18px;
      padding: 1px 5px;
      border-radius: 20px;
      background: #e53935;
      color: #fff;
      font-size: 10px;
      line-height: 16px;
      font-weight: 700;
      text-align: center;
    }

    /* =========================================================
       HERO
       ========================================================= */

    .hero {
      height: 100vh;
      min-height: 550px;
      margin-top: var(--header-height);
      background: url("banner.png") center/cover no-repeat;
    }

    /* =========================================================
       GENERAL SECTIONS
       ========================================================= */

    .section-title {
      margin: 0 0 25px;
      text-align: center;
      color: var(--navy);
      font-size: 30px;
      font-weight: 600;
    }

    #productos {
      margin-top: 0;
      padding: 75px 40px 45px;
      scroll-margin-top: var(--header-height);
    }

    /* =========================================================
       PRODUCTS
       ========================================================= */

    .grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 28px;
      max-width: 1250px;
      margin: 0 auto;
    }

    .product-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 18px;
      background: #fff;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }

    .product-card img {
      width: 100%;
      height: 220px;
      object-fit: contain;
      margin-bottom: 8px;
    }

    .product-card h3 {
      width: 100%;
      min-height: 48px;
      margin: 5px 0 8px;
      font-size: 16px;
      line-height: 1.4;
      font-weight: 500;
    }

    .price {
      margin-bottom: 14px;
      color: var(--blue);
      font-size: 20px;
      font-weight: 700;
    }

    /* =========================================================
       BUTTONS
       ========================================================= */

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      min-height: 44px;
      padding: 11px 20px;
      border: 0;
      border-radius: 25px;
      background: linear-gradient(135deg, var(--navy-2), var(--blue));
      color: #fff;
      font-size: 17px;
      font-weight: 500;
      cursor: pointer;
      transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(10, 132, 255, 0.25);
    }

    .btn:active {
      transform: translateY(0);
    }

    .btn.secondary {
      background: #eef3f9;
      color: var(--navy);
      box-shadow: none;
    }

    .btn.danger {
      background: #fff0f0;
      color: var(--danger);
      box-shadow: none;
    }

    .btn.full {
      width: 100%;
    }

    /* Botón de productos: turquesa PRISTEN, color sólido */
    .product-add {
      background: #19c7c9;
      color: #fff;
      box-shadow: none;
    }

    .product-add:hover {
      background: #19c7c9;
      box-shadow: 0 8px 18px rgba(25, 199, 201, 0.25);
    }

    /* =========================================================
       SUBSCRIPTIONS
       ========================================================= */

    #suscripcion {
      padding: 60px 20px 80px;
      background: #f8fafc;
    }

    .planes {
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: 30px;
      max-width: 1000px;
      margin: 0 auto;
      flex-wrap: wrap;
    }

    .planes .card {
      position: relative;
      width: 270px;
      padding: 35px 25px;
      border-radius: 20px;
      background: #fff;
      box-shadow: var(--shadow);
      text-align: center;
      transition: transform 0.3s ease;
    }

    .planes .card:hover {
      transform: translateY(-8px);
    }

    .planes h3 {
      margin: 0 0 10px;
      font-size: 20px;
      font-weight: 600;
    }

    .planes h2 {
      margin: 10px 0 18px;
      color: var(--blue);
      font-size: 28px;
    }

    .planes ul {
      min-height: 90px;
      margin: 0 0 20px;
      padding: 0;
      list-style: none;
    }

    .planes li {
      margin: 8px 0;
      color: #555;
      font-size: 14px;
    }

    .premium {
      border: 2px solid var(--blue);
      transform: scale(1.05);
    }

    .premium:hover {
      transform: scale(1.05) translateY(-8px);
    }

    .premium::before {
      content: "MÁS POPULAR";
      position: absolute;
      top: -13px;
      right: 20px;
      padding: 5px 10px;
      border-radius: 20px;
      background: var(--blue);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
    }

    /* =========================================================
       CART
       ========================================================= */

    .cart-overlay {
      position: fixed;
      inset: 0;
      z-index: 1090;
      display: none;
      background: rgba(0, 0, 0, 0.45);
    }

    .cart-overlay.active {
      display: block;
    }

    .cart-panel {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 1100;
      display: flex;
      flex-direction: column;
      width: min(420px, 100%);
      height: 100dvh;
      padding: 22px;
      background: #fff;
      box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
      transform: translateX(105%);
      transition: transform 0.3s ease;
    }

    .cart-panel.open {
      transform: translateX(0);
    }

    .cart-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 15px;
      border-bottom: 1px solid #e9edf3;
    }

    .cart-header h3 {
      margin: 0;
      color: var(--navy);
      font-size: 20px;
    }

    .close-btn {
      width: 38px;
      height: 38px;
      border: 0;
      border-radius: 50%;
      background: #f1f3f7;
      color: #333;
      cursor: pointer;
      font-size: 18px;
    }

    #items {
      flex: 1;
      overflow-y: auto;
      padding: 18px 2px;
    }

    .cart-item {
      display: grid;
      grid-template-columns: 58px 1fr auto;
      gap: 10px;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid #edf0f4;
    }

    .cart-item img {
      width: 58px;
      height: 58px;
      padding: 5px;
      border-radius: 10px;
      background: #f5f7fb;
      object-fit: contain;
    }

    .cart-info {
      min-width: 0;
    }

    .cart-name {
      margin-bottom: 5px;
      font-size: 13px;
      line-height: 1.35;
      font-weight: 600;
    }

    .cart-unit-price {
      color: #777;
      font-size: 11px;
    }

    .cart-controls {
      display: flex;
      align-items: center;
      gap: 5px;
      margin-top: 8px;
    }

    .qty-btn,
    .remove-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      border: 0;
      border-radius: 7px;
      cursor: pointer;
    }

    .qty-btn {
      background: var(--blue);
      color: #fff;
      font-size: 15px;
    }

    .remove-btn {
      margin-left: 4px;
      background: #fff0f0;
      color: var(--danger);
    }

    .qty {
      width: 25px;
      text-align: center;
      font-size: 13px;
      font-weight: 700;
    }

    .cart-price {
      align-self: center;
      white-space: nowrap;
      color: var(--navy);
      font-size: 13px;
      font-weight: 700;
    }

    .empty-cart {
      padding: 55px 15px;
      color: #777;
      text-align: center;
    }

    .empty-cart i {
      margin-bottom: 12px;
      color: #c7ced8;
      font-size: 40px;
    }

    .cart-footer {
      padding-top: 15px;
      border-top: 1px solid #e9edf3;
    }

    .cart-summary {
      display: flex;
      justify-content: space-between;
      margin-bottom: 15px;
      color: var(--navy);
      font-size: 18px;
      font-weight: 700;
    }

    .cart-actions {
      display: grid;
      gap: 8px;
    }

    /* Modal cerrado por defecto: nunca ocupa espacio en la página */
    #modal.modal {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100dvh;
      z-index: 1200;
      display: none;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
    }
    #modal.modal.active { display: flex; }
    #modal .modal-content { position: relative; margin: auto; flex-shrink: 0; }

    /* CONTACTO PRISTEN — solo afecta al modal */
    #modal.modal { background:rgba(1,13,29,.78); backdrop-filter:blur(9px); padding:20px; overflow-y:auto; }
    #modal .modal-content { width:min(980px,100%); max-height:calc(100dvh - 40px); overflow-y:auto; padding:42px 28px 26px; border:1px solid rgba(103,213,234,.36); border-radius:27px; background:linear-gradient(145deg,rgba(21,63,100,.97),rgba(3,23,48,.98)); color:#fff; box-shadow:0 28px 85px rgba(0,0,0,.45); text-align:center; animation:contactEnter .28s ease-out; }
    @keyframes contactEnter {from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
    #modal .contact-close {position:absolute;right:19px;top:18px;width:42px;height:42px;border:1px solid #ffffff50;border-radius:50%;background:#ffffff15;color:#fff;font-size:21px;cursor:pointer;transition:.2s}
    #modal .contact-close:hover {background:#19c7c9;color:#082039;transform:rotate(90deg)}
    #modal .contact-eyebrow {margin:0 0 3px;letter-spacing:5px;font-size:12px;color:#b3d6e5}
    #modal .modal-content h2 {margin:0;color:#fff;font-size:clamp(30px,4vw,48px);line-height:1.15;font-weight:700}
    #modal .modal-content h2 span {color:#19c7c9}
    #modal .contact-subtitle {margin:12px auto 26px;max-width:440px;color:#c3d4e4;font-size:14px}
    #modal .contact-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
    #modal .contact-option {min-height:238px;margin:0;padding:24px 14px 18px;display:flex;flex-direction:column;align-items:center;gap:12px;border:1px solid #5c9bc16b;border-radius:20px;background:linear-gradient(145deg,#133c68,#061c38);color:white;text-decoration:none;cursor:pointer;transition:transform .22s,border-color .22s,box-shadow .22s}
    #modal .contact-option:nth-child(2){background:linear-gradient(145deg,#065768,#05283c)}
    #modal .contact-option:nth-child(3){background:linear-gradient(145deg,#17bcbf,#006b89)}
    #modal .contact-option:hover,#modal .contact-option:focus-visible{transform:translateY(-7px);border-color:#40e1e4;box-shadow:0 15px 35px #0005;outline:none}
    #modal .contact-option>i {font-size:33px;color:#9edaf7;margin:4px 0}
    #modal .contact-option:nth-child(3)>i{color:white}
    #modal .contact-option strong {font-size:17px;line-height:1.3}
    #modal .contact-option small {font-size:12px;line-height:1.6;color:#d1dfeb;flex:1}
    #modal .contact-arrow {width:38px;height:38px;border:1px solid #ffffff70;border-radius:50%;display:grid;place-items:center;font-size:15px;transition:.2s}
    #modal .contact-option:hover .contact-arrow {background:#19c7c9;color:#06243c}
    #modal .contact-social-title {display:flex;align-items:center;gap:12px;margin:29px 0 17px;font-size:11px;letter-spacing:2px;color:#c3d4e4}
    #modal .contact-social-title:before,#modal .contact-social-title:after {content:'';height:1px;background:#ffffff40;flex:1}
    #modal .contact-social {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
    #modal .contact-social a {display:flex;align-items:center;justify-content:center;gap:10px;min-height:49px;border:1px solid #ffffff35;border-radius:40px;color:#fff;text-decoration:none;font-size:13px;transition:.2s}
    #modal .contact-social a:hover {background:#19c7c9;color:#03243d;border-color:#19c7c9;transform:translateY(-3px)}
    #modal .contact-social i {font-size:20px}
    #modal .contact-social a:first-child {background:#079e9d;border-color:#16c6c5}
    @media(max-width:760px){#modal .modal-content{padding:58px 17px 22px}#modal .contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#modal .contact-option{min-height:205px;padding:19px 10px}#modal .contact-social{grid-template-columns:repeat(2,minmax(0,1fr))}#modal .contact-social-title{letter-spacing:1px;font-size:9px}}
    @media(max-width:380px){#modal .contact-option strong{font-size:14px}#modal .contact-option small{font-size:11px}#modal .contact-grid{gap:8px}}

    /* =========================================================
       WHATSAPP
       ========================================================= */

    .whatsapp-float {
      position: fixed;
      right: 20px;
      bottom: 25px;
      z-index: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: var(--success);
      color: #fff;
      text-decoration: none;
      font-size: 26px;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
      transition: transform 0.2s ease;
    }

    .whatsapp-float:hover {
      transform: scale(1.08);
    }

    /* =========================================================
       FOOTER
       ========================================================= */

    .footer {
      padding: 28px 60px;
      background: var(--navy);
      color: #fff;
    }

    .footer-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      max-width: 1250px;
      margin: 0 auto;
    }

    .footer-left {
      font-size: 13px;
      line-height: 1.5;
    }

    .footer-right {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .footer-right a {
      color: #fff;
      font-size: 21px;
      transition: 0.2s ease;
    }

    .footer-right a:hover {
      color: #8ccaff;
    }

    /* =========================================================
       RESPONSIVE
       ========================================================= */

    @media (max-width: 1000px) {
      header {
        padding-left: 25px;
        padding-right: 25px;
      }

      .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .hero {
        min-height: 500px;
      }
    }

    @media (max-width: 768px) {
      :root {
        --header-height: 62px;
      }

      header,
      header.scrolled {
        height: var(--header-height);
        padding: 8px 12px;
      }

      .logo {
        height: 34px;
      }

      nav {
        flex: 1;
        justify-content: flex-end;
        gap: 1px;
        margin-left: 6px;
      }

      nav a {
        padding: 6px 4px;
        font-size: 10px;
      }

      /* Mantener visibles Inicio, Productos, Suscripción, Contacto y carrito. */
      nav a[href="#"] {
        display: inline-flex;
      }

      .cart-icon {
        min-width: 34px;
        font-size: 17px;
      }

      #count {
        top: -2px;
        right: -2px;
      }

      /* Inicio móvil: ocupa la pantalla bajo el menú, sin franja vacía */
      .hero {
        margin-top: var(--header-height);
        height: calc(100svh - var(--header-height));
        min-height: 0;
        background-image: url("banner-mobile.png");
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
      }

      #productos {
        padding: 45px 10px 30px;
      }

      .section-title {
        font-size: 24px;
      }

      .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .product-card {
        padding: 8px;
        border-radius: 12px;
      }

      .product-card:hover {
        transform: none;
      }

      .product-card img {
        height: 110px;
      }

      .product-card h3 {
        min-height: 34px;
        margin: 4px 0;
        font-size: 12px;
      }

      .price {
        margin-bottom: 8px;
        font-size: 14px;
      }

      .btn {
        width: 100%;
        min-height: 36px;
        padding: 7px 8px;
        font-size: 11px;
      }

      #suscripcion {
        padding: 45px 10px 60px;
      }

      .planes {
        flex-direction: column;
        gap: 18px;
      }

      .planes .card {
        width: 100%;
        max-width: 320px;
        padding: 25px 20px;
      }

      .premium,
      .premium:hover {
        transform: none;
      }

      .planes h2 {
        font-size: 24px;
      }

      .planes li {
        font-size: 13px;
      }

      .cart-panel {
        width: min(100%, 420px);
      }

      .whatsapp-float {
        right: 15px;
        bottom: 18px;
        width: 54px;
        height: 54px;
        font-size: 23px;
      }

      .footer {
        padding: 20px 10px;
      }

      .footer-container {
        flex-direction: column;
        text-align: center;
      }

      .footer-left {
        font-size: 11px;
      }

      .footer-right {
        gap: 20px;
      }
    }

    /* Navegación móvil completa sin ocultar opciones */
    @media (max-width: 768px) {
      header, header.scrolled { padding-left: 8px; padding-right: 8px; gap: 5px; }
      .logo { height: 30px; max-width: 74px; }
      nav { min-width: 0; margin-left: 0; justify-content: space-between; gap: 0; }
      nav a { display: inline-flex; align-items: center; justify-content: center; padding: 7px 3px; font-size: clamp(8px, 2.25vw, 10px); }
      nav .cart-icon { min-width: 26px; font-size: 16px; }
    }

    @media (max-width: 380px) {
      nav a {
        font-size: 9px;
        padding-left: 2px;
        padding-right: 2px;
      }

      .product-card img {
        height: 95px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        transition: none !important;
      }
    }
  
/* Solo navegación: menú móvil desplegable */
.menu-toggle{display:none;background:transparent;border:0;color:white;font-size:23px;cursor:pointer}
@media(max-width:768px){header{flex-wrap:nowrap}nav{display:none;position:absolute;top:100%;left:0;right:0;background:#0b1f3a;padding:12px;flex-direction:column;align-items:stretch;gap:4px;box-shadow:0 12px 22px #0002}nav.nav-open{display:flex}nav a{font-size:13px;padding:12px;text-align:center}.menu-toggle{display:block;margin-left:auto}.cart-icon{justify-content:center}#count{position:relative;top:auto;right:auto}}

/* ===== Corrección páginas independientes: encabezado fijo ===== */
body { min-height:100vh; display:flex; flex-direction:column; }
body > main { flex:1 0 auto; padding-top:var(--header-height); }
body > main:has(> .hero) { padding-top:0; }
body > footer { flex-shrink:0; }
/* Evita que el título quede detrás del encabezado */
body > main > #suscripcion { padding-top:60px; }
/* Turquesa sólido para suscripciones, sin alterar las tarjetas */
.planes .btn.plan, .planes .btn.plan:hover { background:#19c7c9; color:#fff; }
@media(max-width:768px) { body > main > #suscripcion { padding-top:45px; } }
