/* ==========================================================================
       VARIABLES Y PALETA EXACTA DE CHAMELEON TECH
       ========================================================================== */
    :root {
      --bg: #0B1C2D;
      --bg-darker: #071320;
      --card-bg: #162B3D; 
      --card-bg-hover: #1b354b;
      --accent: #19E3D2; 
      --accent-glow: rgba(25, 227, 210, 0.4);
      --accent-secondary: #0FB5A8;
      --text: #ffffff;
      --text-muted: #94A3B8;
      --wa-green: #25D366;
      --reserve-orange: #FF9800;
      --dark-blue: #0B1C2D;
      --old-price-color: #B0BCC7;
      --chat-bg: #0F2538;
      --chat-user: #19E3D2;
      --chat-bot: #162B3D;
      
      --radius-sm: 10px;
      --radius-md: 18px;
      --radius-lg: 28px;
      --radius-xl: 36px;
      --radius-full: 9999px;
      
      --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      background-color: var(--bg);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.5;
      min-height: 100vh;
    }

    /* Contenedor Responsivo Centralizado */
    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 20px;
    }

    @media (min-width: 768px) {
      .container {
        padding: 0 32px;
      }
    }

    /* ==========================================================================
       CINTA SUPERIOR INFORMATIVA (ANNOUNCEMENT TICKER MARQUEE)
       ========================================================================== */
    .announcement-bar {
      background: linear-gradient(90deg, #06111C 0%, #0B2436 25%, #0F3249 50%, #0B2436 75%, #06111C 100%);
      border-bottom: 1px solid rgba(25, 227, 210, 0.22);
      height: 31px;
      overflow: hidden;
      position: relative;
      display: flex;
      align-items: center;
      z-index: 105;
    }

    /* Degradados laterales para desvanecimiento suave */
    .announcement-bar::before,
    .announcement-bar::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 28px;
      z-index: 2;
      pointer-events: none;
    }

    .announcement-bar::before {
      left: 0;
      background: linear-gradient(90deg, #071320 0%, transparent 100%);
    }

    .announcement-bar::after {
      right: 0;
      background: linear-gradient(270deg, #071320 0%, transparent 100%);
    }

    .ticker-track {
      display: flex;
      width: max-content;
      animation: tickerMarquee 26s linear infinite;
      will-change: transform;
    }

    .announcement-bar:hover .ticker-track {
      animation-play-state: paused;
    }

    .ticker-content {
      display: flex;
      align-items: center;
      gap: 16px;
      padding-right: 16px;
      white-space: nowrap;
      font-size: 11.5px;
      font-weight: 500;
      color: #CBD5E1;
      font-family: 'Outfit', sans-serif;
      letter-spacing: 0.2px;
    }

    .ticker-item {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    .ticker-icon {
      width: 14px;
      height: 14px;
      stroke: var(--accent);
      color: var(--accent);
      flex-shrink: 0;
      filter: drop-shadow(0 0 4px rgba(25, 227, 210, 0.5));
    }

    .ticker-content strong {
      color: #FFFFFF;
      font-weight: 700;
    }

    .ticker-content .ticker-accent {
      color: var(--accent);
      font-weight: 700;
    }

    .ticker-diamond {
      color: var(--accent);
      font-size: 7.5px;
      opacity: 0.65;
      display: inline-block;
      margin: 0 2px;
    }

    @keyframes tickerMarquee {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    @media (max-width: 640px) {
      .announcement-bar {
        height: 28px;
      }
      .ticker-content {
        font-size: 10.5px;
        gap: 12px;
        padding-right: 12px;
      }
      .ticker-icon {
        width: 12px;
        height: 12px;
      }
      .ticker-diamond {
        font-size: 6.5px;
      }
    }

    /* ==========================================================================
       HEADER (Fijo, Adaptable a Móvil y Pantallas Anchas de Escritorio)
       ========================================================================== */
    header {
      position: sticky;
      top: 0;
      width: 100%;
      background: rgba(15, 37, 56, 0.94);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      z-index: 100;
      border-bottom: 1px solid rgba(25, 227, 210, 0.15);
      transition: var(--transition);
    }

    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 76px;
    }
    
    .header-left {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    
    .logo-container {
      position: relative;
      display: inline-block;
      border-radius: 50%;
      overflow: hidden;
      width: 48px;
      height: 48px;
      flex-shrink: 0;
    }
    
    .brand-logo,
    .brand-logo-body { 
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      user-select: none;
      pointer-events: none;
    }

    /* Contenedor relativo de la lagartija */
    .lizard-logo-wrap {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      filter: drop-shadow(0px 0px 14px var(--accent));
      z-index: 1;
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .logo-container:hover .lizard-logo-wrap {
      transform: scale(1.06);
      filter: drop-shadow(0px 0px 20px rgba(25, 227, 210, 0.85));
    }

    /* Cola de la lagartija animada */
    .lizard-tail-wrap {
      position: absolute;
      top: 46.58%;
      left: 57.89%;
      width: 11.05%;
      height: 26.84%;
      transform-origin: 38.1% 83.3%;
      animation: lizardTailMotion 6s infinite ease-in-out;
      pointer-events: none;
      z-index: 2;
      will-change: transform;
    }

    .lizard-tail-img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
      pointer-events: none;
    }

    @keyframes lizardTailMotion {
      0%, 15% {
        transform: rotate(0deg);
      }
      /* Movimiento suave hacia afuera */
      20% {
        transform: rotate(6.5deg);
      }
      /* Balanceo hacia adentro */
      27% {
        transform: rotate(-4.5deg);
      }
      /* Retorno sutil */
      34% {
        transform: rotate(3deg);
      }
      40% {
        transform: rotate(-1.5deg);
      }
      46%, 68% {
        transform: rotate(0deg);
      }
      /* Segundo latigazo juguetón */
      73% {
        transform: rotate(7.5deg);
      }
      78% {
        transform: rotate(-5deg);
      }
      83% {
        transform: rotate(3.5deg);
      }
      88%, 100% {
        transform: rotate(0deg);
      }
    }

    /* En Hover sobre el logo: movimiento de colita alegre y rápido */
    .logo-container:hover .lizard-tail-wrap {
      animation: lizardTailHappy 0.65s infinite alternate ease-in-out;
    }

    @keyframes lizardTailHappy {
      0% {
        transform: rotate(-5.5deg);
      }
      100% {
        transform: rotate(7.5deg);
      }
    }

    /* Ojo de la lagartija animado */
    .lizard-eye-wrap {
      position: absolute;
      top: 14.47%;
      left: 58.16%;
      width: 7.89%;
      height: 7.89%;
      border-radius: 50%;
      overflow: hidden;
      pointer-events: none;
      z-index: 3;
    }

    .lizard-eye-socket {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      overflow: hidden;
    }

    .lizard-pupil {
      position: absolute;
      top: 24%;
      left: 24%;
      width: 52%;
      height: 52%;
      border-radius: 50%;
      background: #071320;
      border: 1.2px solid var(--accent);
      box-shadow: 0 0 3px var(--accent);
      animation: lizardPupilMotion 6s infinite ease-in-out;
      will-change: transform;
    }

    @keyframes lizardPupilMotion {
      0%, 20% {
        transform: translate(0, 0);
      }
      /* Mira al frente hacia las letras */
      25%, 45% {
        transform: translate(25%, 0);
      }
      /* Vuelve al centro */
      50%, 65% {
        transform: translate(0, 0);
      }
      /* Mira con curiosidad */
      70%, 85% {
        transform: translate(-15%, -15%);
      }
      92%, 100% {
        transform: translate(0, 0);
      }
    }

    .lizard-eyelid {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, #3dfceb 0%, #19E3D2 100%);
      border-radius: 50%;
      transform-origin: center top;
      transform: scaleY(0);
      animation: lizardEyelidBlink 6s infinite ease-in-out;
      will-change: transform;
    }

    @keyframes lizardEyelidBlink {
      0%, 21% {
        transform: scaleY(0);
      }
      /* Parpadeo 1 */
      23% {
        transform: scaleY(1);
      }
      25% {
        transform: scaleY(0);
      }
      26%, 60% {
        transform: scaleY(0);
      }
      /* Doble parpadeo rápido */
      62% {
        transform: scaleY(1);
      }
      63.5% {
        transform: scaleY(0);
      }
      65% {
        transform: scaleY(1);
      }
      66.5% {
        transform: scaleY(0);
      }
      100% {
        transform: scaleY(0);
      }
    }

    /* En hover: guiño cómplice */
    .logo-container:hover .lizard-eyelid {
      animation: lizardWinkHover 1.2s infinite ease-in-out;
    }

    @keyframes lizardWinkHover {
      0%, 20% {
        transform: scaleY(0);
      }
      30%, 65% {
        transform: scaleY(1);
      }
      75%, 100% {
        transform: scaleY(0);
      }
    }
    
    /* Animación de brillo original de la marca */
    .logo-container::before {
      content: '';
      position: absolute;
      top: -150%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(25, 227, 210, 0.25) 45%,
        rgba(25, 227, 210, 0.6) 50%,
        rgba(25, 227, 210, 0.25) 55%,
        transparent 70%
      );
      transform: rotate(35deg);
      animation: shine 6s infinite ease-in-out;
      z-index: 4;
      pointer-events: none;
    }
    
    @keyframes shine {
      0% { transform: rotate(35deg) translateX(-180%) translateY(-180%); opacity: 0; }
      30%, 70% { opacity: 0.9; }
      100% { transform: rotate(35deg) translateX(180%) translateY(180%); opacity: 0; }
    }
    
    .logo-container::after {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(25, 227, 210, 0.2) 0%, transparent 70%);
      animation: pulse 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 0;
    }
    
    @keyframes pulse {
      0% { opacity: 0; transform: scale(0.95); }
      50% { opacity: 0.7; transform: scale(1.08); }
      100% { opacity: 0; transform: scale(1.15); }
    }
    
    .brand-name { 
      font-size: clamp(18px, 3.5vw, 24px); 
      font-weight: 900; 
      letter-spacing: 2px; 
      text-transform: uppercase;
      font-family: 'Outfit', 'Poppins', sans-serif;
      background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      white-space: nowrap;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-header-wa {
      display: none;
      align-items: center;
      gap: 8px;
      padding: 8px 18px;
      border-radius: var(--radius-full);
      background: rgba(25, 227, 210, 0.12);
      border: 1.5px solid var(--accent);
      color: var(--accent);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      transition: var(--transition);
    }

    @media (min-width: 640px) {
      .btn-header-wa {
        display: inline-flex;
      }
    }

    .btn-header-wa:hover {
      background: var(--accent);
      color: var(--dark-blue);
      box-shadow: 0 0 20px var(--accent-glow);
    }

    .cart-btn-header {
      position: relative;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius-md);
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(25, 227, 210, 0.3);
      cursor: pointer;
      color: var(--accent);
      transition: var(--transition);
    }

    .cart-btn-header:hover {
      background: rgba(25, 227, 210, 0.15);
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .cart-badge {
      position: absolute;
      top: -4px;
      right: -4px;
      background: #FF6B6B;
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      min-width: 18px;
      height: 18px;
      border-radius: var(--radius-full);
      display: none;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--bg);
    }

    /* Adaptación profesional de Header y Logo en Móvil */
    @media (max-width: 640px) {
      .header-content {
        height: 58px;
      }

      .header-left {
        gap: 10px;
      }

      .logo-container {
        width: 38px;
        height: 38px;
      }

      .brand-name {
        font-size: 15.5px;
        letter-spacing: 1.2px;
      }

      .cart-btn-header {
        width: 38px;
        height: 38px;
        border-radius: var(--radius-sm);
      }

      .cart-btn-header svg {
        width: 19px;
        height: 19px;
      }
    }

    @media (max-width: 380px) {
      .header-content {
        height: 54px;
      }

      .header-left {
        gap: 8px;
      }

      .logo-container {
        width: 34px;
        height: 34px;
      }

      .brand-name {
        font-size: 14px;
        letter-spacing: 0.8px;
      }

      .cart-btn-header {
        width: 35px;
        height: 35px;
      }
    }

    /* ==========================================================================
       HERO SECTION (Diseño Mejorado, Fondo Tech y Tipografía Adaptable)
       ========================================================================== */
    .hero { 
      position: relative;
      padding: clamp(50px, 8vw, 90px) 0 clamp(60px, 9vw, 100px);
      background-color: #0F2538;
      background-image: 
        radial-gradient(circle at 50% 30%, rgba(25, 227, 210, 0.15), transparent 60%),
        linear-gradient(180deg, rgba(11, 28, 45, 0.82) 0%, rgba(11, 28, 45, 0.96) 100%),
        url('assets/img/hero-bg.webp');
      background-size: cover;
      background-position: center;
      border-bottom: 2px solid rgba(25, 227, 210, 0.12);
      text-align: center;
      overflow: hidden;
    }

    .hero-inner {
      max-width: 820px;
      margin: 0 auto;
    }

    .hero-badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 18px;
      border-radius: var(--radius-full);
      background: rgba(25, 227, 210, 0.1);
      border: 1px solid rgba(25, 227, 210, 0.35);
      color: var(--accent);
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 22px;
      letter-spacing: 0.5px;
      backdrop-filter: blur(8px);
    }

    .hero-badge-pill .pill-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 10px var(--accent);
    }

    /* Tipografía de Alto Nivel para "Nos adaptamos a tus Gustos" */
    .hero h1 { 
      font-size: clamp(34px, 6vw, 62px); 
      font-weight: 900; 
      line-height: 1.12; 
      margin: 0;
      font-family: 'Outfit', 'Poppins', sans-serif;
      text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
      letter-spacing: -0.5px;
    }
    
    .hero h1 .highlight { 
      color: var(--accent);
      background: linear-gradient(135deg, #19E3D2 0%, #00F5D4 50%, #ffffff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-shadow: none;
      position: relative;
      display: inline-block;
    }
    
    .hero h1 .highlight::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 0;
      width: 100%;
      height: 6px;
      background: rgba(25, 227, 210, 0.4);
      border-radius: 4px;
      z-index: -1;
    }
    
    .hero p { 
      font-size: clamp(16px, 2.5vw, 22px); 
      margin: 22px auto 38px auto; 
      color: #E2E8F0; 
      font-weight: 500;
      text-shadow: 0 2px 12px rgba(0,0,0,0.7);
      line-height: 1.5;
      max-width: 640px;
    }
    
    .hero-buttons {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 10px;
    }

    .btn-catalog-hero {
      position: relative;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 13px 26px;
      border-radius: 999px;
      background: linear-gradient(135deg, #19E3D2 0%, #00D5C0 50%, #00AF9E 100%);
      color: #04131F;
      font-family: 'Outfit', sans-serif;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.2px;
      text-decoration: none;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0.45);
      box-shadow: 0 6px 24px rgba(25, 227, 210, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
      transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-catalog-icon-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(4, 19, 31, 0.15);
      color: #04131F;
      transition: transform 0.3s ease;
    }

    .btn-catalog-text {
      font-weight: 800;
      letter-spacing: 0.2px;
    }

    .btn-catalog-arrow-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: rgba(4, 19, 31, 0.12);
      transition: transform 0.25s ease, background 0.25s ease;
    }

    .btn-catalog-arrow {
      color: #04131F;
      animation: heroArrowBounce 2.2s infinite ease-in-out;
    }

    @keyframes heroArrowBounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(3px); }
    }

    .btn-catalog-hero:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 10px 36px rgba(25, 227, 210, 0.58), 0 0 20px rgba(25, 227, 210, 0.4);
      color: #000000;
    }

    .btn-catalog-hero:hover .btn-catalog-icon-badge {
      transform: rotate(90deg);
    }

    .btn-catalog-hero:hover .btn-catalog-arrow-wrap {
      background: rgba(4, 19, 31, 0.22);
      transform: translateY(2px);
    }

    .btn-catalog-hero:active {
      transform: translateY(0) scale(0.98);
    }

    /* Brillo / Shine sweep continuo y suave */
    .btn-catalog-shine {
      position: absolute;
      top: 0;
      left: -100%;
      width: 60%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
      transform: skewX(-22deg);
      pointer-events: none;
      animation: btnShineSweep 4.5s infinite ease-in-out;
    }

    @keyframes btnShineSweep {
      0%, 70% { left: -100%; }
      100% { left: 160%; }
    }

    .btn-outlined { 
      display: inline-flex; 
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 13px 26px; 
      border-radius: 999px; 
      font-family: 'Outfit', sans-serif;
      font-size: 15px; 
      font-weight: 700; 
      letter-spacing: 0.3px;
      text-decoration: none; 
      color: #19E3D2; 
      background: rgba(8, 24, 40, 0.65);
      border: 1.5px solid rgba(25, 227, 210, 0.38);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
      transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: pointer;
    }

    .btn-outlined svg {
      color: #19E3D2;
      transition: transform 0.25s ease;
    }

    .btn-outlined:hover {
      background: rgba(25, 227, 210, 0.14);
      border-color: #19E3D2;
      color: #ffffff;
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 8px 30px rgba(25, 227, 210, 0.35);
    }

    .btn-outlined:hover svg {
      transform: scale(1.15) rotate(4deg);
    }

    .btn-outlined:active {
      transform: translateY(0) scale(0.98);
    }

    /* Visual Focus al navegar a los productos */
    @keyframes catalogPulseHighlight {
      0% { box-shadow: 0 0 0 0 rgba(25, 227, 210, 0.6); }
      50% { box-shadow: 0 0 35px 4px rgba(25, 227, 210, 0.45); }
      100% { box-shadow: 0 0 0 0 rgba(25, 227, 210, 0); }
    }

    .catalog-scroll-focus {
      animation: catalogPulseHighlight 1.5s ease-out;
      border-radius: 14px;
    }

    /* ==========================================================================
       FEATURES (Compactas, Elegantes y Proporcionales en PC y Móvil)
       ========================================================================== */
    .features-section {
      padding: 16px 0 10px 0;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      max-width: 420px;
      margin: 0 auto;
      padding: 0 12px;
    }

    @media (min-width: 768px) {
      .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        max-width: 720px;
        padding: 0;
      }
    }

    .feature-card {
      border-radius: 12px;
      padding: 9px 8px;
      text-align: center;
      border: 1px solid rgba(25, 227, 210, 0.3);
      transition: all 0.2s ease;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      backdrop-filter: blur(8px);
    }
    
    .feature-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    }

    .feature-card:active {
      transform: scale(0.98);
    }
    
    .feature-icon {
      width: 22px;
      height: 22px;
      margin: 0 auto 4px auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .feature-icon svg {
      width: 100%;
      height: 100%;
    }
    
    .feature-title {
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.4px;
      margin-bottom: 1px;
      font-family: 'Outfit', sans-serif;
      line-height: 1.2;
    }

    .feature-sub {
      font-size: 10px;
      font-weight: 500;
      color: #CBD5E1;
      letter-spacing: 0.2px;
      line-height: 1.2;
    }

    @media (min-width: 768px) {
      .feature-card {
        padding: 10px 10px;
        border-radius: 14px;
      }
      .feature-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 5px;
      }
      .feature-title {
        font-size: 12.5px;
      }
      .feature-sub {
        font-size: 10.5px;
      }
    }

    /* Colores y estilos originales de las tarjetas */
    .feature-card:nth-child(1),
    .feature-card:nth-child(4) {
      background: linear-gradient(135deg, rgba(22, 43, 61, 0.95) 0%, rgba(15, 37, 56, 0.95) 100%);
    }
    .feature-card:nth-child(1) .feature-icon svg,
    .feature-card:nth-child(4) .feature-icon svg {
      stroke: var(--accent);
      filter: drop-shadow(0 0 5px rgba(25, 227, 210, 0.4));
    }
    .feature-card:nth-child(1) .feature-title,
    .feature-card:nth-child(4) .feature-title {
      color: var(--accent);
    }

    .feature-card:nth-child(2),
    .feature-card:nth-child(3) {
      background: linear-gradient(135deg, var(--accent) 0%, #0FB5A8 100%);
      border: 1px solid rgba(255, 255, 255, 0.4);
      box-shadow: 0 4px 14px rgba(25, 227, 210, 0.2);
    }
    .feature-card:nth-child(2) .feature-icon svg,
    .feature-card:nth-child(3) .feature-icon svg {
      stroke: var(--dark-blue);
    }
    .feature-card:nth-child(2) .feature-title,
    .feature-card:nth-child(3) .feature-title,
    .feature-card:nth-child(2) .feature-sub,
    .feature-card:nth-child(3) .feature-sub {
      color: var(--dark-blue);
    }

    /* ==========================================================================
       CATÁLOGO: ENCABEZADO Y CONTROLES
       ========================================================================== */
    .catalog-section {
      padding: 24px 0 60px 0;
    }

    .catalog-heading {
      text-align: center;
      margin-bottom: 26px;
      scroll-margin-top: 80px;
    }

    .catalog-badge {
      display: inline-block;
      padding: 4px 14px;
      border-radius: var(--radius-full);
      background: rgba(25, 227, 210, 0.1);
      border: 1px solid rgba(25, 227, 210, 0.3);
      color: var(--accent);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .catalog-title {
      font-size: clamp(24px, 4.5vw, 34px);
      font-weight: 800;
      margin: 0 0 6px 0;
      color: #ffffff;
      font-family: 'Outfit', 'Poppins', sans-serif;
      letter-spacing: -0.5px;
    }

    .catalog-subtitle {
      font-size: clamp(13px, 2vw, 15px);
      color: #94A3B8;
      margin: 0 auto;
      max-width: 500px;
      line-height: 1.4;
      font-weight: 400;
    }

    /* ==========================================================================
       BARRA DE FILTROS POR CATEGORÍA Y HERRAMIENTAS
       ========================================================================== */
    .category-filter-wrap {
      width: 100%;
      margin-bottom: 18px;
      position: relative;
    }

    .category-filter-scroll {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 4px 2px 10px 2px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scroll-snap-type: x mandatory;
    }

    .category-filter-scroll::-webkit-scrollbar {
      display: none;
    }

    .category-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.04);
      border: 1.5px solid rgba(255, 255, 255, 0.12);
      color: #94A3B8;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
      white-space: nowrap;
      scroll-snap-align: start;
      font-family: 'Outfit', sans-serif;
      user-select: none;
      -webkit-user-select: none;
    }

    .category-pill svg {
      width: 15px;
      height: 15px;
      flex-shrink: 0;
      color: currentColor;
      transition: transform 0.2s ease;
    }

    .category-pill:hover {
      color: #FFFFFF;
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(25, 227, 210, 0.45);
      transform: translateY(-1px);
    }

    .category-pill:hover svg {
      transform: scale(1.1);
      color: var(--accent);
    }

    .category-pill.active {
      background: linear-gradient(135deg, rgba(25, 227, 210, 0.2) 0%, rgba(25, 227, 210, 0.08) 100%);
      border-color: var(--accent);
      color: var(--accent);
      box-shadow: 0 0 16px rgba(25, 227, 210, 0.28);
    }

    .category-pill.active svg {
      color: var(--accent);
    }

    /* Barra de Búsqueda y Pestañas de Filtro */
    .catalog-toolbar {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 24px;
    }

    @media (min-width: 860px) {
      .catalog-toolbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }
    }

    /* Contador Dinámico de Productos */
    .catalog-counter-badge {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 7px 14px;
      border-radius: var(--radius-full);
      background: rgba(11, 28, 45, 0.7);
      border: 1px solid rgba(25, 227, 210, 0.25);
      color: #E2E8F0;
      font-size: 12.5px;
      font-weight: 700;
      letter-spacing: 0.2px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
      width: fit-content;
    }

    .live-dot-pulse {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #00D26A;
      box-shadow: 0 0 8px #00D26A;
      animation: livePulse 2s infinite ease-in-out;
      flex-shrink: 0;
    }

    @keyframes livePulse {
      0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px #00D26A; }
      50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 12px #00D26A; }
      100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px #00D26A; }
    }

    .catalog-actions-bar {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    @media (min-width: 600px) {
      .catalog-actions-bar {
        flex-direction: row;
        align-items: center;
        gap: 12px;
      }
    }

    .filter-pills {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 2px;
    }

    .filter-pill {
      padding: 7px 15px;
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.05);
      border: 1.5px solid rgba(255, 255, 255, 0.12);
      color: var(--text-muted);
      font-size: 12.5px;
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
      white-space: nowrap;
    }

    .filter-pill:hover {
      color: #fff;
      border-color: rgba(25, 227, 210, 0.4);
    }

    .filter-pill.active {
      background: rgba(25, 227, 210, 0.15);
      border-color: var(--accent);
      color: var(--accent);
      box-shadow: 0 0 15px rgba(25, 227, 210, 0.25);
    }

    .search-container {
      position: relative;
      min-width: 220px;
      flex: 1;
    }

    .search-input {
      width: 100%;
      padding: 9px 16px 9px 38px;
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.06);
      border: 1.5px solid rgba(255, 255, 255, 0.12);
      color: #ffffff;
      font-size: 13.5px;
      outline: none;
      transition: var(--transition);
    }

    .search-input:focus {
      border-color: var(--accent);
      background: rgba(255, 255, 255, 0.09);
      box-shadow: 0 0 20px rgba(25, 227, 210, 0.2);
    }

    .search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
    }

    /* Lista de Productos (Siempre visible) */
    #seccion-lista-productos { 
      display: block;
      width: 100%;
    }
    
    /* Grid Adaptable a Cualquier Dispositivo (2 columnas fijas en móviles) */
    #productos { 
      display: grid; 
      grid-template-columns: repeat(2, 1fr); 
      gap: 14px; 
      padding-bottom: 90px;
    }
    
    @media (max-width: 600px) {
      #productos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding-bottom: 110px;
      }
    }

    @media (min-width: 768px) {
      #productos {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
      }
    }

    @media (min-width: 1100px) {
      #productos {
        grid-template-columns: repeat(4, 1fr);
        gap: 26px;
      }
    }
    
    /* ==========================================================================
       TARJETA DE PRODUCTO (Acabados Premium, Fotos Reales y Badges)
       ========================================================================== */
    .card {
      background: var(--card-bg); 
      border-radius: var(--radius-lg); 
      overflow: hidden; 
      box-shadow: 0 15px 35px rgba(0,0,0,0.5);
      border: 2px solid rgba(25, 227, 210, 0.4);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
      position: relative;
      display: flex;
      flex-direction: column;
    }
    
    .card:hover { 
      transform: translateY(-6px);
      border-color: var(--accent);
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(25, 227, 210, 0.25);
      background: var(--card-bg-hover);
    }
    
    /* Badge de DISPONIBLE / AGOTADO */
    .card-badge-status {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 5;
      padding: 6px 14px;
      border-radius: var(--radius-full);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      backdrop-filter: blur(8px);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .card-badge-status.disponible {
      background: rgba(0, 210, 106, 0.92);
      color: #ffffff;
      box-shadow: 0 2px 12px rgba(0, 210, 106, 0.45);
    }

    .card-badge-status.disponible::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #fff;
    }

    .card-badge-status.agotado {
      background: rgba(230, 81, 0, 0.92);
      color: #ffffff;
      box-shadow: 0 2px 12px rgba(230, 81, 0, 0.45);
    }

    .card-photos-count {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 5;
      background: rgba(11, 28, 45, 0.85);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(25, 227, 210, 0.35);
      color: #E2E8F0;
      font-size: 10.5px;
      font-weight: 700;
      padding: 3.5px 8px;
      border-radius: var(--radius-sm);
      display: inline-flex;
      align-items: center;
      gap: 5px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    }

    .card-photos-count svg {
      width: 12px;
      height: 12px;
      stroke: var(--accent);
      color: var(--accent);
      flex-shrink: 0;
      filter: drop-shadow(0 0 3px rgba(25, 227, 210, 0.5));
    }

    .img-wrap { 
      width: 100%; 
      height: 220px; 
      background: radial-gradient(circle at center, rgba(25, 227, 210, 0.08) 0%, #071320 75%);
      position: relative;
      overflow: hidden;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .img-wrap img { 
      width: 100%; 
      height: 100%; 
      object-fit: contain; 
      padding: 12px;
      transition: transform 0.4s ease;
    }

    .card:hover .img-wrap img {
      transform: scale(1.08);
    }

    .card-info { 
      padding: 18px; 
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    
    .card h3 { 
      font-size: 15px; 
      font-weight: 800; 
      margin: 0 0 10px 0; 
      text-transform: uppercase; 
      color: #FFFFFF;
      line-height: 1.35;
      letter-spacing: 0.5px;
      cursor: pointer;
      font-family: 'Outfit', sans-serif;
    }

    .card h3:hover {
      color: var(--accent);
    }
    
    .price-container {
      display: flex;
      align-items: baseline;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: auto;
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .old-price {
      font-size: 14px;
      color: var(--old-price-color);
      text-decoration: line-through;
      text-decoration-thickness: 2px;
      text-decoration-color: #FF6B6B;
      opacity: 0.75;
    }

    .current-price {
      font-size: 22px;
      font-weight: 900;
      color: var(--accent);
      font-family: 'Outfit', sans-serif;
    }

    .discount-badge {
      background: #FF6B6B;
      color: white;
      padding: 4px 8px;
      border-radius: var(--radius-sm);
      font-size: 11px;
      font-weight: 800;
      margin-left: auto;
    }

    .card-actions-row {
      display: flex;
      gap: 8px;
      margin-top: 14px;
    }

    .btn-card-add-cart {
      flex: 1;
      background: rgba(25, 227, 210, 0.15);
      border: 1.5px solid var(--accent);
      color: var(--accent);
      padding: 9px 10px;
      border-radius: var(--radius-md);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: var(--transition);
      white-space: nowrap;
    }

    .btn-card-add-cart:hover {
      background: var(--accent);
      color: var(--dark-blue);
      box-shadow: 0 0 18px var(--accent-glow);
      transform: translateY(-1px);
    }

    .btn-card-add-cart svg {
      stroke: currentColor;
    }

    .btn-card-pedir {
      flex: 1;
      background: rgba(25, 227, 210, 0.12);
      border: 1px solid var(--accent);
      color: var(--accent);
      padding: 9px 12px;
      border-radius: var(--radius-md);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: var(--transition);
      text-decoration: none;
      white-space: nowrap;
    }

    .btn-card-pedir:hover {
      background: var(--accent);
      color: var(--dark-blue);
      box-shadow: 0 0 15px var(--accent-glow);
    }

    .btn-card-pedir.agotado-btn {
      border-color: rgba(255, 255, 255, 0.2);
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.04);
    }

    .btn-card-ver {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #E2E8F0;
      width: 40px;
      height: 40px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
      flex-shrink: 0;
    }

    .btn-card-ver:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(25, 227, 210, 0.1);
      transform: translateY(-1px);
    }

    /* ==========================================================================
       CHIPS DE ESPECIFICACIONES TÉCNICAS (High-Tech Product Badges)
       ========================================================================== */
    .card-specs {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin: 2px 0 12px 0;
      min-height: 24px;
    }

    .spec-chip {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 8px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(25, 227, 210, 0.22);
      color: #CBD5E1;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.2px;
      line-height: 1.2;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .spec-chip:hover {
      background: rgba(25, 227, 210, 0.14);
      border-color: var(--accent);
      color: #ffffff;
      transform: translateY(-1px);
    }

    .spec-chip.spec-highlight {
      background: rgba(25, 227, 210, 0.12);
      border-color: rgba(25, 227, 210, 0.45);
      color: var(--accent);
      font-weight: 700;
    }

    .spec-chip .spec-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      flex-shrink: 0;
    }

    .spec-chip .spec-icon svg {
      width: 11px;
      height: 11px;
      stroke: currentColor;
      display: block;
    }

    .spec-chip.spec-highlight .spec-icon svg {
      stroke: var(--accent);
      filter: drop-shadow(0 0 3px rgba(25, 227, 210, 0.5));
    }

    /* ==========================================================================
       EFECTO SHIMMER LOADING (SKELETON CARDS ULTRA PREMIUM)
       ========================================================================== */
    @keyframes shimmerWave {
      0% {
        background-position: -200% 0;
      }
      100% {
        background-position: 200% 0;
      }
    }

    .shimmer-effect {
      background: linear-gradient(
        90deg,
        rgba(22, 43, 61, 0.6) 0%,
        rgba(25, 227, 210, 0.14) 45%,
        rgba(25, 227, 210, 0.22) 50%,
        rgba(25, 227, 210, 0.14) 55%,
        rgba(22, 43, 61, 0.6) 100%
      );
      background-size: 250% 100%;
      animation: shimmerWave 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    }

    .skeleton-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1.5px solid rgba(25, 227, 210, 0.18);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
      display: flex;
      flex-direction: column;
      position: relative;
      min-height: 430px;
    }

    .skeleton-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      width: 80px;
      height: 24px;
      border-radius: var(--radius-full);
      z-index: 2;
    }

    .skeleton-img {
      width: 100%;
      height: 220px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .skeleton-body {
      padding: 18px;
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: 10px;
    }

    .skeleton-title {
      width: 88%;
      height: 16px;
      border-radius: 4px;
    }

    .skeleton-title-short {
      width: 60%;
      height: 14px;
      border-radius: 4px;
      margin-bottom: 4px;
    }

    .skeleton-chips {
      display: flex;
      gap: 6px;
      margin-bottom: 8px;
    }

    .skeleton-chip {
      width: 72px;
      height: 22px;
      border-radius: 6px;
    }

    .skeleton-price-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: auto;
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .skeleton-price {
      width: 95px;
      height: 24px;
      border-radius: 6px;
    }

    .skeleton-discount {
      width: 48px;
      height: 20px;
      border-radius: 6px;
    }

    .skeleton-actions {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }

    .skeleton-btn {
      flex: 1;
      height: 38px;
      border-radius: var(--radius-md);
    }

    .skeleton-btn-sm {
      width: 40px;
      height: 40px;
      flex-shrink: 0;
      border-radius: var(--radius-md);
    }

    /* ==========================================================================
       OPTIMIZACIÓN DE TARJETAS PARA 2 COLUMNAS EN CELULARES (Móvil Ultra Compacto)
       ========================================================================== */
    @media (max-width: 600px) {
      .container {
        padding: 0 12px;
      }

      .card {
        border-radius: 16px;
        border-width: 1.5px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
      }

      .img-wrap {
        height: 145px;
        background: radial-gradient(circle at center, rgba(25, 227, 210, 0.08) 0%, #071320 80%);
      }

      .img-wrap img {
        padding: 8px;
      }

      .card-badge-status {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 9px;
        gap: 4px;
        letter-spacing: 0.2px;
      }

      .card-badge-status.disponible::before {
        width: 5px;
        height: 5px;
      }

      .card-photos-count {
        top: 8px;
        right: 8px;
        padding: 2.5px 6px;
        font-size: 8.5px;
        gap: 3.5px;
      }

      .card-photos-count svg {
        width: 10px;
        height: 10px;
      }

      .card-info {
        padding: 10px 8px 12px;
      }

      .card h3 {
        font-size: 11.5px;
        font-weight: 800;
        line-height: 1.3;
        margin: 0 0 6px 0;
        min-height: 30px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .card-specs {
        gap: 3px;
        margin: 0 0 6px 0;
        min-height: 18px;
      }

      .spec-chip {
        font-size: 8.5px;
        padding: 2px 5px;
        border-radius: 4px;
        gap: 2.5px;
        letter-spacing: 0;
      }

      .spec-chip .spec-icon svg {
        width: 9px;
        height: 9px;
      }

      .price-container {
        padding-top: 6px;
        gap: 4px;
      }

      .current-price {
        font-size: 16px;
      }

      .old-price {
        font-size: 11px;
      }

      .discount-badge {
        font-size: 9px;
        padding: 2px 4px;
      }

      .card-actions-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        margin-top: 8px;
      }

      .btn-card-add-cart {
        padding: 7px 4px;
        font-size: 10.5px;
        border-radius: 8px;
        gap: 3px;
      }

      .btn-card-add-cart svg {
        width: 12px;
        height: 12px;
      }

      .btn-card-pedir {
        padding: 7px 4px;
        font-size: 11px;
        border-radius: 8px;
      }

      .btn-card-ver {
        display: none;
      }

      .skeleton-card {
        min-height: 290px;
        border-radius: 16px;
      }

      .skeleton-img {
        height: 145px;
      }

      .skeleton-body {
        padding: 10px 8px;
        gap: 6px;
      }

      .skeleton-title {
        height: 12px;
      }

      .skeleton-title-short {
        height: 10px;
      }

      .skeleton-chip {
        width: 55px;
        height: 18px;
      }

      .skeleton-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
      }

      .skeleton-btn-sm {
        display: none;
      }
    }

    /* ==========================================================================
       MODAL DE DETALLE (Tarjeta Flotante Centrada + Gestos Swipe / Arrastre)
       ========================================================================== */
    .modal { 
      display: none; 
      position: fixed; 
      inset: 0; 
      background: rgba(2, 6, 12, 0.88); 
      backdrop-filter: blur(14px); 
      -webkit-backdrop-filter: blur(14px);
      z-index: 2500; 
      align-items: center; 
      justify-content: center;
      padding: 14px;
      touch-action: pan-y;
    }

    /* Ocultar botones flotantes cuando el modal está abierto para no tapar los datos */
    body.modal-abierto,
    body.cart-abierto {
      overflow: hidden !important;
    }
    body.modal-abierto .whatsapp-float,
    body.modal-abierto .chat-launcher-wrap,
    body.modal-abierto .chat-widget,
    body.cart-abierto .whatsapp-float,
    body.cart-abierto .chat-launcher-wrap,
    body.cart-abierto .chat-widget {
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
      transform: translateY(28px) scale(0.7) !important;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Botones Laterales Flotantes para Navegar entre Productos */
    .modal-nav-btn {
      position: fixed;
      top: 50%;
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(11, 28, 45, 0.9);
      border: 1.5px solid rgba(25, 227, 210, 0.45);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 2600;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 12px rgba(25, 227, 210, 0.25);
      padding: 0;
    }
    .modal-nav-btn:hover {
      background: var(--accent);
      color: var(--dark-blue);
      transform: translateY(-50%) scale(1.12);
      box-shadow: 0 0 20px rgba(25, 227, 210, 0.6);
    }
    .modal-nav-btn:active {
      transform: translateY(-50%) scale(0.95);
    }
    .modal-nav-prev { left: 8px; }
    .modal-nav-next { right: 8px; }

    @media (min-width: 768px) {
      .modal {
        padding: 24px;
      }
      .modal-nav-prev { left: 32px; width: 44px; height: 44px; }
      .modal-nav-next { right: 32px; width: 44px; height: 44px; }
    }

    /* Tarjeta Flotante Centrada */
    .modal-content { 
      background: #0B1C2D; 
      width: min(94vw, 420px); 
      max-height: 88vh; 
      border-radius: 20px; 
      border: 1.5px solid rgba(25, 227, 210, 0.35);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 25px rgba(25, 227, 210, 0.16);
      position: relative;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      margin: auto;
      touch-action: pan-y;
      user-select: none;
      -webkit-user-select: none;
      cursor: grab;
      will-change: transform, opacity;
      animation: modalCardPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .modal-content:active {
      cursor: grabbing;
    }

    @media (min-width: 768px) {
      .modal-content {
        width: min(90vw, 840px);
        max-width: 840px;
        max-height: 85vh;
        border-radius: 22px;
        display: grid;
        grid-template-columns: 1.05fr 1fr;
        cursor: default;
      }
    }

    @keyframes modalCardPop {
      from { opacity: 0; transform: scale(0.92) translateY(16px); }
      to { opacity: 1; transform: scale(1) translateY(0); }
    }

    /* Barra Superior de la Tarjeta con Contador y Pista de Deslizar */
    .modal-card-top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 8px 12px 6px 12px;
      font-size: 11px;
      font-weight: 700;
      color: #94A3B8;
      border-bottom: 1px solid rgba(25, 227, 210, 0.12);
      background: rgba(7, 19, 32, 0.9);
      flex-shrink: 0;
    }

    .modal-card-counter {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--accent);
      background: rgba(25, 227, 210, 0.12);
      padding: 2.5px 8px;
      border-radius: 12px;
      font-size: 10.5px;
      font-weight: 800;
      letter-spacing: 0.3px;
    }

    .modal-swipe-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      color: rgba(255, 255, 255, 0.55);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.2px;
    }
    .modal-swipe-pill svg {
      opacity: 0.8;
    }

    .modal-close-desktop {
      position: absolute;
      top: 8px;
      right: 10px;
      z-index: 25;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.2);
      cursor: pointer;
      transition: var(--transition);
      font-size: 12px;
      font-weight: 700;
    }

    .modal-close-desktop:hover {
      background: var(--accent);
      color: var(--dark-blue);
      transform: scale(1.08);
    }

    /* Galería de Fotos - Mucho más grande y visible en móviles */
    .modal-left-gallery {
      padding: 6px 10px 8px 10px;
      background: #071320;
      display: flex;
      flex-direction: column;
      align-items: center;
      border-bottom: 1px solid rgba(25, 227, 210, 0.15);
      flex-shrink: 0;
      position: relative;
    }

    @media (min-width: 768px) {
      .modal-left-gallery {
        padding: 20px;
        border-bottom: none;
        border-right: 1px solid rgba(25, 227, 210, 0.2);
        justify-content: center;
      }
    }

    .foto-principal {
      width: 100%;
      height: clamp(230px, 34vh, 290px);
      border-radius: 14px;
      overflow: hidden;
      margin-bottom: 8px;
      background: radial-gradient(circle at center, rgba(25, 227, 210, 0.08) 0%, #050d18 85%);
      border: 1px solid rgba(25, 227, 210, 0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
    }

    @media (min-width: 768px) {
      .foto-principal {
        height: 350px;
        margin-bottom: 14px;
      }
    }

    .foto-principal img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 3px;
      transition: transform 0.25s ease;
    }

    .fotos-miniaturas {
      display: flex;
      gap: 7px;
      overflow-x: auto;
      width: 100%;
      padding: 2px 2px 4px 2px;
      justify-content: flex-start;
      scrollbar-width: none;
    }

    .fotos-miniaturas::-webkit-scrollbar {
      display: none;
    }

    @media (min-width: 768px) {
      .fotos-miniaturas {
        justify-content: center;
        gap: 10px;
      }
    }

    .miniatura {
      width: 50px;
      height: 50px;
      border-radius: 9px;
      overflow: hidden;
      cursor: pointer;
      border: 1.5px solid rgba(25, 227, 210, 0.3);
      transition: var(--transition);
      flex-shrink: 0;
      background: #000;
    }

    @media (min-width: 768px) {
      .miniatura {
        width: 60px;
        height: 60px;
      }
    }

    .miniatura img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .miniatura.activa {
      border: 2px solid var(--accent);
      transform: scale(1.06);
      box-shadow: 0 0 12px rgba(25, 227, 210, 0.6);
    }

    /* Cuerpo del Modal con Scroll Interno Limpio */
    .modal-body { 
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      background: linear-gradient(180deg, #0B1C2D 0%, #071320 100%);
      overflow: hidden;
      padding: 0;
    }

    .modal-body-scroll {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      padding: 10px 14px 10px 14px;
      -webkit-overflow-scrolling: touch;
    }

    @media (min-width: 768px) {
      .modal-body-scroll {
        padding: 24px 24px 14px 24px;
      }
    }

    .modal-meta-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 5px;
    }

    .chip-estado {
      display: inline-flex;
      align-items: center;
      padding: 3px 8px;
      border-radius: 6px;
      font-size: 10.5px;
      font-weight: 800;
      letter-spacing: 0.3px;
      margin: 0;
    }

    .chip-estado.disponible {
      background: rgba(0, 210, 106, 0.18);
      color: #00D26A;
      border: 1px solid rgba(0, 210, 106, 0.4);
    }

    .chip-estado.agotado {
      background: rgba(255, 107, 107, 0.18);
      color: #FF6B6B;
      border: 1px solid rgba(255, 107, 107, 0.4);
    }

    .modal-discount {
      background: #FF6B6B;
      color: white;
      padding: 2.5px 7px;
      border-radius: 4px;
      font-size: 10.5px;
      font-weight: 800;
    }

    .product-title { 
      font-size: 15px; 
      font-weight: 800; 
      line-height: 1.25; 
      margin: 0 0 6px 0; 
      text-transform: uppercase; 
      font-family: 'Outfit', sans-serif;
      color: #FFFFFF;
    }

    @media (min-width: 768px) {
      .product-title {
        font-size: 22px;
        margin-bottom: 12px;
      }
    }
    
    .modal-price-container {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin-bottom: 8px;
    }

    .modal-current-price {
      font-size: 24px;
      font-weight: 900;
      color: var(--accent);
      font-family: 'Outfit', sans-serif;
      line-height: 1;
    }

    @media (min-width: 768px) {
      .modal-current-price {
        font-size: 30px;
      }
    }

    .modal-old-price {
      font-size: 13px;
      color: #64748B;
      text-decoration: line-through;
      text-decoration-thickness: 1.5px;
    }

    .modal-specs {
      margin-bottom: 8px;
      gap: 4px;
    }

    /* Selector de Colores en Modal */
    .modal-color-wrap {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(25, 227, 210, 0.22);
      border-radius: 12px;
      padding: 7px 12px;
      margin-bottom: 8px;
    }

    .modal-color-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
      font-size: 11.5px;
    }

    .modal-color-title {
      color: #94A3B8;
      font-weight: 600;
    }

    .modal-color-name {
      color: var(--accent);
      font-weight: 800;
      letter-spacing: 0.2px;
    }

    .modal-color-swatches {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .modal-color-swatch {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.35);
      cursor: pointer;
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
      outline: none;
      padding: 0;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    }

    .modal-color-swatch:hover {
      transform: scale(1.15);
      border-color: #FFFFFF;
    }

    .modal-color-swatch.active {
      outline: 2.5px solid var(--accent);
      outline-offset: 2px;
      transform: scale(1.18);
      box-shadow: 0 0 14px rgba(25, 227, 210, 0.8);
      border-color: #FFFFFF;
    }

    /* Selector de Colores en Tarjeta */
    .card-color-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      margin: 6px 0 4px 0;
      padding: 4px 8px;
      background: rgba(255, 255, 255, 0.03);
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .card-color-label {
      font-size: 11px;
      color: #94A3B8;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .card-color-label strong {
      color: #FFFFFF;
      font-weight: 700;
    }

    .card-color-swatches {
      display: flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
    }

    .color-swatch-sm {
      width: 17px;
      height: 17px;
      border-radius: 50%;
      border: 1.5px solid rgba(255, 255, 255, 0.35);
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      outline: none;
      padding: 0;
    }

    .color-swatch-sm:hover {
      transform: scale(1.18);
      border-color: #FFFFFF;
    }

    .color-swatch-sm.active {
      outline: 2px solid var(--accent);
      outline-offset: 1.5px;
      transform: scale(1.18);
      box-shadow: 0 0 10px rgba(25, 227, 210, 0.7);
      border-color: #FFFFFF;
    }

    /* Color en ítem de Carrito */
    .cart-item-color {
      display: inline-block;
      font-size: 11px;
      color: var(--accent);
      background: rgba(25, 227, 210, 0.08);
      border: 1px solid rgba(25, 227, 210, 0.25);
      padding: 1px 6px;
      border-radius: 4px;
      margin-top: 3px;
      font-weight: 700;
    }

    .product-desc { 
      font-size: 12px; 
      color: #94A3B8; 
      line-height: 1.5; 
      margin: 0;
      white-space: pre-line;
    }

    @media (min-width: 768px) {
      .product-desc {
        font-size: 13.5px;
      }
    }

    /* BARRA DE COMPRA FIJA INFERIOR (Estilo Apple Store) */
    .modal-action-bar {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 8px;
      padding: 10px 14px;
      background: rgba(7, 19, 32, 0.96);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-top: 1px solid rgba(25, 227, 210, 0.25);
      box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.65);
      flex-shrink: 0;
      z-index: 10;
    }

    @media (min-width: 768px) {
      .modal-action-bar {
        padding: 16px 24px 20px 24px;
        gap: 12px;
      }
    }

    .btn-modal-cart {
      height: 42px;
      border-radius: 10px;
      background: rgba(25, 227, 210, 0.12);
      border: 1.5px solid var(--accent);
      color: var(--accent);
      font-size: 12.5px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      cursor: pointer;
      transition: var(--transition);
      font-family: inherit;
    }

    .btn-modal-cart:hover {
      background: rgba(25, 227, 210, 0.25);
      transform: translateY(-1px);
    }

    .btn-modal-wa {
      height: 42px;
      border-radius: 10px;
      background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
      color: #FFFFFF;
      font-size: 12.5px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
      font-family: inherit;
    }

    .btn-modal-wa:hover {
      filter: brightness(1.08);
      transform: translateY(-1px);
    }

    .btn-modal-reservar {
      background: linear-gradient(135deg, #FF9800 0%, #E65100 100%);
      box-shadow: 0 4px 15px rgba(255, 152, 0, 0.35);
    }

    /* ==========================================================================
       CHATBOT ASISTENTE TRU (Flotante, Cómodo en Móvil y Escritorio)
       ========================================================================== */
    .chatbot-wrapper {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 999;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .chatbot-hint {
      background: rgba(15, 37, 56, 0.95);
      backdrop-filter: blur(12px);
      border: 1.5px solid rgba(25, 227, 210, 0.4);
      border-radius: var(--radius-full);
      padding: 8px 18px;
      font-size: 13px;
      font-weight: 700;
      color: #FFFFFF;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
      white-space: nowrap;
      position: relative;
      transition: opacity 0.4s ease, transform 0.4s ease;
      cursor: pointer;
    }

    .chatbot-hint::after {
      content: '';
      position: absolute;
      right: -8px;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-left: 8px solid rgba(15, 37, 56, 0.95);
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
    }

    .chatbot-hint.oculto {
      opacity: 0;
      transform: translateX(15px) scale(0.9);
      pointer-events: none;
    }

    .chatbot-toggle {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      background: #0B1C2D;
      border: 2.5px solid var(--accent);
      box-shadow: 0 8px 30px rgba(25, 227, 210, 0.5);
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      animation: floatBtn 3s ease-in-out infinite;
      padding: 0;
      overflow: hidden;
    }

    .chatbot-toggle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.25s ease;
    }

    @keyframes floatBtn {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }

    .chatbot-toggle:hover {
      transform: scale(1.08) translateY(-3px);
      box-shadow: 0 15px 40px rgba(25, 227, 210, 0.7);
    }

    .chatbot-toggle:hover img {
      transform: scale(1.08);
    }

    .chatbot-toggle .badge-notif {
      position: absolute;
      top: -2px;
      right: -2px;
      background: #FF6B6B;
      color: white;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      font-size: 11px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--bg);
    }

    .chatbot-widget {
      position: fixed;
      bottom: 95px;
      right: 24px;
      width: 380px;
      max-width: calc(100vw - 48px);
      height: 520px;
      max-height: 80vh;
      background: var(--chat-bg);
      border-radius: var(--radius-lg);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
      border: 2px solid rgba(25, 227, 210, 0.25);
      display: none;
      flex-direction: column;
      overflow: hidden;
      z-index: 1000;
      animation: slideUpChat 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .chatbot-widget.abierto {
      display: flex;
    }

    @keyframes slideUpChat {
      from { opacity: 0; transform: translateY(30px) scale(0.95); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .chat-header {
      padding: 16px 20px;
      background: linear-gradient(135deg, #0F2538, #162B3D);
      border-bottom: 1px solid rgba(25, 227, 210, 0.15);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
    }

    .chat-header-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .chat-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      border: 2px solid var(--accent);
      background: #0B1C2D;
      padding: 0;
      box-shadow: 0 0 10px var(--accent-glow);
    }

    .chat-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .chat-header-title {
      font-size: 15px;
      font-weight: 700;
      color: #fff;
    }

    .chat-header-status {
      font-size: 12px;
      color: #00D26A;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .chat-header-status::before {
      content: '';
      width: 8px;
      height: 8px;
      background: #00D26A;
      border-radius: 50%;
      display: inline-block;
    }

    .chat-close {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 24px;
      cursor: pointer;
      line-height: 1;
    }
    .chat-close:hover { color: #FF6B6B; }

    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .msg {
      max-width: 86%;
      padding: 12px 16px;
      border-radius: var(--radius-md);
      font-size: 13.5px;
      line-height: 1.5;
    }

    .msg-bot {
      align-self: flex-start;
      background: var(--chat-bot);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: #fff;
      border-bottom-left-radius: 4px;
    }

    .msg-user {
      align-self: flex-end;
      background: var(--chat-user);
      color: var(--dark-blue);
      font-weight: 600;
      border-bottom-right-radius: 4px;
    }

    .msg-bot-header {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 6px;
    }

    .bot-msg-avatar {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      object-fit: cover;
      border: 1px solid var(--accent);
      flex-shrink: 0;
    }

    .msg-bot .bot-name {
      font-size: 11px;
      color: var(--accent);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .chat-welcome-banner {
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(11, 28, 45, 0.95);
      border: 1px solid rgba(25, 227, 210, 0.35);
      border-radius: var(--radius-md);
      padding: 12px 14px;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
      margin-bottom: 4px;
    }

    .chat-welcome-img {
      width: 52px;
      height: 64px;
      object-fit: contain;
      flex-shrink: 0;
      filter: drop-shadow(0 2px 10px rgba(25, 227, 210, 0.35));
    }

    .chat-welcome-text {
      display: flex;
      flex-direction: column;
      gap: 3px;
      font-size: 12.5px;
      line-height: 1.4;
      color: var(--text-muted);
    }

    .chat-welcome-text strong {
      color: #ffffff;
      font-size: 13.5px;
      font-family: 'Outfit', sans-serif;
    }

    .msg-options {
      align-self: flex-start;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 6px;
    }

    .msg-options .opt-btn {
      background: rgba(25, 227, 210, 0.12);
      border: 1.5px solid rgba(25, 227, 210, 0.3);
      color: #fff;
      padding: 7px 14px;
      border-radius: var(--radius-full);
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
    }

    .msg-options .opt-btn:hover {
      background: rgba(25, 227, 210, 0.25);
      border-color: var(--accent);
    }

    .msg-options .wa-opt-btn {
      background: rgba(37, 211, 102, 0.18);
      border: 1.5px solid rgba(37, 211, 102, 0.5);
      color: #25D366;
      padding: 9px 16px;
      border-radius: var(--radius-full);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: var(--transition);
    }

    .msg-options .wa-opt-btn:hover {
      background: rgba(37, 211, 102, 0.3);
      transform: translateY(-1px);
    }

    /* Tarjeta de Producto Interactiva dentro del Chat */
    .chat-product-card {
      align-self: flex-start;
      width: 100%;
      background: #0B1C2D;
      border: 1px solid rgba(25, 227, 210, 0.35);
      border-radius: var(--radius-md);
      padding: 12px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
      margin-top: 4px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .chat-card-top {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .chat-card-img {
      width: 54px;
      height: 54px;
      border-radius: var(--radius-sm);
      object-fit: contain;
      background: rgba(7, 19, 32, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 4px;
      flex-shrink: 0;
    }

    .chat-card-info {
      flex: 1;
      min-width: 0;
    }

    .chat-card-title {
      font-size: 12.5px;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.35;
      margin-bottom: 4px;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .chat-card-price-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .chat-card-price {
      font-size: 14.5px;
      font-weight: 800;
      color: var(--accent);
      font-family: 'Outfit', sans-serif;
    }

    .chat-card-status {
      font-size: 10.5px;
      font-weight: 700;
      text-transform: uppercase;
      padding: 2px 6px;
      border-radius: 4px;
    }

    .chat-card-status.disponible {
      background: rgba(25, 227, 210, 0.15);
      color: var(--accent);
    }

    .chat-card-status.agotado {
      background: rgba(244, 63, 94, 0.15);
      color: #f43f5e;
    }

    .chat-card-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      padding-top: 6px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .chat-card-btn {
      padding: 7px 10px;
      font-size: 11.5px;
      font-weight: 700;
      border-radius: var(--radius-full);
      cursor: pointer;
      text-align: center;
      transition: all 0.15s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      border: none;
      text-decoration: none;
      font-family: inherit;
    }

    .chat-card-btn.btn-cart {
      background: rgba(25, 227, 210, 0.15);
      border: 1px solid rgba(25, 227, 210, 0.4);
      color: var(--accent);
    }

    .chat-card-btn.btn-cart:hover {
      background: var(--accent);
      color: #071320;
    }

    .chat-card-btn.btn-detail {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #ffffff;
    }

    .chat-card-btn.btn-detail:hover {
      background: rgba(255, 255, 255, 0.14);
    }

    .chat-card-btn.btn-wa-full {
      grid-column: 1 / -1;
      background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
      color: #ffffff;
      font-weight: 800;
      padding: 8px 12px;
    }

    .chat-card-btn.btn-wa-full:hover {
      filter: brightness(1.1);
      transform: translateY(-1px);
    }

    .chat-input-area {
      padding: 12px 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      gap: 8px;
      flex-shrink: 0;
      background: var(--chat-bg);
    }

    .chat-input-area input {
      flex: 1;
      padding: 10px 16px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.06);
      color: #fff;
      font-size: 13.5px;
      outline: none;
    }
    .chat-input-area input:focus { border-color: var(--accent); }

    .chat-input-area .send-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      background: linear-gradient(135deg, #19E3D2, #0FB5A8);
      color: var(--dark-blue);
      font-size: 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ==========================================================================
       FOOTER
       ========================================================================== */
    footer {
      background: #071320;
      border-top: 1px solid rgba(25, 227, 210, 0.15);
      padding: 45px 0 25px 0;
      margin-top: 40px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
      margin-bottom: 35px;
    }

    @media (min-width: 768px) {
      .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
      }
    }

    .footer-brand h4 {
      font-size: 20px;
      font-weight: 900;
      color: #fff;
      font-family: 'Outfit', sans-serif;
      margin-bottom: 12px;
      letter-spacing: 1px;
    }

    .footer-brand p {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.6;
      max-width: 420px;
    }

    .footer-col h5 {
      color: var(--accent);
      font-size: 14px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 14px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 13.5px;
      color: #CBD5E1;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      font-size: 13px;
      color: var(--text-muted);
    }


/* ==========================================================================
   CARRITO DE COMPRAS DESLIZABLE (OFFCANVAS) & BADGES
   ========================================================================== */
.cart-btn-header {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(25, 227, 210, 0.08);
  border: 1px solid rgba(25, 227, 210, 0.25);
  transition: var(--transition);
}

.cart-btn-header:hover {
  background: rgba(25, 227, 210, 0.2);
  transform: scale(1.06);
  box-shadow: 0 0 16px var(--accent-glow);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f43f5e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.6);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge-count.bump {
  transform: scale(1.35);
}

.btn-card-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(25, 227, 210, 0.12);
  border: 1px solid rgba(25, 227, 210, 0.4);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-card-add-cart:hover {
  background: var(--accent);
  color: #071320;
  box-shadow: 0 0 14px var(--accent-glow);
}

.btn-card-add-cart:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Ocultar botones flotantes (WhatsApp y Chatbot Tru) cuando el carrito, modal o simulador ANC están abiertos */
body.cart-abierto .whatsapp-float,
body.cart-abierto .chat-launcher-wrap,
body.cart-abierto .chat-widget,
body:has(#cartDrawer.active) .whatsapp-float,
body:has(#cartDrawer.active) .chat-launcher-wrap,
body:has(#cartDrawer.active) .chat-widget,
body.modal-abierto .whatsapp-float,
body.modal-abierto .chat-launcher-wrap,
body.modal-abierto .chat-widget,
body.anc-abierto .whatsapp-float,
body.anc-abierto .chat-launcher-wrap,
body.anc-abierto .chat-widget,
body:has(#modalANC.active) .whatsapp-float,
body:has(#modalANC.active) .chat-launcher-wrap,
body:has(#modalANC.active) .chat-widget {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: translateY(35px) scale(0.65) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: linear-gradient(180deg, #091827 0%, #06111C 100%);
  border-left: 1px solid rgba(25, 227, 210, 0.22);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.75), -1px 0 20px rgba(25, 227, 210, 0.08);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-top-glow {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(25, 227, 210, 0.8) 50%, transparent 100%);
  flex-shrink: 0;
}

.cart-drawer-header {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(25, 227, 210, 0.12);
  background: rgba(11, 28, 45, 0.8);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-title-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(25, 227, 210, 0.12);
  border: 1px solid rgba(25, 227, 210, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 0 12px rgba(25, 227, 210, 0.15);
}

.cart-title-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cart-header-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.cart-items-counter-chip {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.2px;
}

.cart-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #A0B2C6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-close-btn:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  transform: rotate(90deg);
}

.cart-trust-bar {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px 16px;
  background: rgba(7, 19, 32, 0.65);
  border-bottom: 1px solid rgba(25, 227, 210, 0.08);
}

.cart-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #94A8BC;
  padding: 4px 4px;
  border-radius: 6px;
  background: rgba(25, 227, 210, 0.04);
  border: 1px solid rgba(25, 227, 210, 0.09);
  white-space: nowrap;
}

.cart-trust-item svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   BARRA DE PROGRESO Y DESCUENTO PROGRESIVO EN CARRITO
   ========================================================================== */
.cart-reward-bar-wrap {
  flex-shrink: 0;
  margin: 0 0 6px 0;
  background: linear-gradient(135deg, rgba(16, 40, 64, 0.75) 0%, rgba(7, 21, 35, 0.9) 100%);
  border: 1px solid rgba(25, 227, 210, 0.22);
  border-radius: 12px;
  padding: 8px 12px 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cart-reward-bar-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 2;
}

/* ==========================================================================
   BRILLO PROFESIONAL / HIGHLIGHT DE 3 SEGUNDOS EN BARRA DE RECOMPENSA
   ========================================================================== */
.cart-reward-bar-wrap.cart-reward-highlight {
  border-color: #19E3D2 !important;
  box-shadow: 0 0 26px rgba(25, 227, 210, 0.55), 
              0 8px 30px rgba(0, 0, 0, 0.65), 
              inset 0 0 16px rgba(25, 227, 210, 0.18) !important;
  animation: rewardGlowPulse 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.cart-reward-bar-wrap.unlocked-all.cart-reward-highlight {
  border-color: #00D26A !important;
  box-shadow: 0 0 30px rgba(0, 210, 106, 0.6), 
              0 8px 30px rgba(0, 0, 0, 0.65), 
              inset 0 0 18px rgba(0, 210, 106, 0.22) !important;
  animation: rewardGlowPulseGreen 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Destello / Barrido de luz diagonal continuo durante los 3 segundos */
.cart-reward-bar-wrap.cart-reward-highlight::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(25, 227, 210, 0.45) 50%,
    rgba(255, 255, 255, 0.65) 55%,
    rgba(25, 227, 210, 0.45) 60%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: rewardLightSweep 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 6;
}

.cart-reward-bar-wrap.cart-reward-highlight .cart-reward-tier-badge {
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(25, 227, 210, 0.6);
  border-color: #19E3D2;
}

.cart-reward-bar-wrap.cart-reward-highlight .cart-reward-fill {
  box-shadow: 0 0 18px rgba(25, 227, 210, 0.85);
  filter: brightness(1.2);
}

@keyframes rewardGlowPulse {
  0% {
    transform: scale(0.985);
    box-shadow: 0 0 12px rgba(25, 227, 210, 0.3), 0 4px 14px rgba(0, 0, 0, 0.3);
  }
  15% {
    transform: scale(1.018);
    box-shadow: 0 0 32px rgba(25, 227, 210, 0.75), 0 10px 32px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(25, 227, 210, 0.25);
  }
  35% {
    transform: scale(1.01);
    box-shadow: 0 0 24px rgba(25, 227, 210, 0.55), 0 8px 24px rgba(0, 0, 0, 0.6);
  }
  70% {
    transform: scale(1.008);
    box-shadow: 0 0 20px rgba(25, 227, 210, 0.48), 0 8px 24px rgba(0, 0, 0, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    border-color: rgba(25, 227, 210, 0.22);
  }
}

@keyframes rewardGlowPulseGreen {
  0% {
    transform: scale(0.985);
    box-shadow: 0 0 14px rgba(0, 210, 106, 0.35);
  }
  15% {
    transform: scale(1.018);
    box-shadow: 0 0 34px rgba(0, 210, 106, 0.8), 0 10px 34px rgba(0, 0, 0, 0.7), inset 0 0 22px rgba(0, 210, 106, 0.3);
  }
  35% {
    transform: scale(1.01);
    box-shadow: 0 0 26px rgba(0, 210, 106, 0.6);
  }
  70% {
    transform: scale(1.008);
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 22px rgba(0, 210, 106, 0.18);
    border-color: #00D26A;
  }
}

@keyframes rewardLightSweep {
  0% {
    left: -70%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  55% {
    left: 140%;
    opacity: 1;
  }
  56% {
    opacity: 0;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}

.cart-reward-bar-wrap.unlocked-all {
  border-color: #00D26A;
  background: linear-gradient(135deg, rgba(0, 210, 106, 0.12) 0%, rgba(7, 21, 35, 0.95) 100%);
  box-shadow: 0 6px 22px rgba(0, 210, 106, 0.18);
}

.cart-reward-bar-wrap.unlocked-all::before {
  background: linear-gradient(90deg, transparent, #00D26A, transparent);
}

.cart-reward-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.cart-reward-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cart-reward-bar-wrap.unlocked-all .cart-reward-tag {
  color: #00D26A;
}

.cart-reward-tier-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(25, 227, 210, 0.12);
  border: 1px solid rgba(25, 227, 210, 0.35);
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  transition: all 0.25s ease;
}

.cart-reward-bar-wrap.unlocked-all .cart-reward-tier-badge {
  background: rgba(0, 210, 106, 0.2);
  border-color: rgba(0, 210, 106, 0.5);
  color: #00D26A;
  box-shadow: 0 0 10px rgba(0, 210, 106, 0.3);
}

.cart-reward-message {
  font-size: 10.5px;
  color: #CBD5E1;
  line-height: 1.3;
  margin: 0 0 5px;
  font-weight: 500;
}

.cart-reward-message strong {
  color: #ffffff;
}

.cart-reward-bar-wrap.unlocked-all .cart-reward-message {
  color: #E2E8F0;
  font-weight: 600;
}

.cart-reward-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  position: relative;
  overflow: visible;
}

.cart-reward-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #19E3D2 0%, #00B4D8 100%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
  box-shadow: 0 0 10px rgba(25, 227, 210, 0.4);
}

.cart-reward-bar-wrap.unlocked-all .cart-reward-fill {
  background: linear-gradient(90deg, #19E3D2 0%, #00D26A 100%);
  box-shadow: 0 0 14px rgba(0, 210, 106, 0.5);
}

.cart-reward-milestone {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #081726;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  z-index: 2;
}

.cart-reward-milestone.milestone-1 { left: 33%; }
.cart-reward-milestone.milestone-2 { left: 66%; }
.cart-reward-milestone.milestone-3 { left: 100%; }

.cart-reward-milestone.reached {
  background: var(--accent);
  border-color: #071320;
  box-shadow: 0 0 8px var(--accent);
}

.cart-reward-milestone.milestone-3.reached {
  background: #00D26A;
  box-shadow: 0 0 10px #00D26A;
}

.cart-reward-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
}

.reward-step {
  font-size: 9px;
  font-weight: 700;
  color: #64748B;
  transition: color 0.2s ease;
}

.reward-step.active {
  color: var(--accent);
}

.reward-step.step-3.active {
  color: #00D26A;
  font-weight: 800;
}

/* Fila de Descuento en Resumen */
.cart-discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
  animation: fadeIn 0.2s ease;
}

.cart-discount-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #00D26A;
  font-size: 11.5px;
  font-weight: 700;
}

.cart-discount-label svg {
  color: #00D26A;
}

.cart-discount-val {
  color: #00D26A;
  font-size: 13px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 0 10px rgba(0, 210, 106, 0.3);
}

.cart-delivery-badge.free {
  color: #00D26A;
  background: rgba(0, 210, 106, 0.15);
  border-color: rgba(0, 210, 106, 0.45);
  box-shadow: 0 0 8px rgba(0, 210, 106, 0.2);
}

/* Área de Productos y Opciones Scrollable */
.cart-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* Opciones de Entrega y Pago Integradas */
.cart-checkout-options {
  margin-top: 2px;
  padding: 9px 12px;
  background: rgba(11, 28, 45, 0.5);
  border: 1px solid rgba(25, 227, 210, 0.15);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.cart-options-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 380px) {
  .cart-fields-row {
    grid-template-columns: 1fr;
  }
}

.cart-drawer-body::-webkit-scrollbar {
  width: 5px;
}
.cart-drawer-body::-webkit-scrollbar-track {
  background: transparent;
}
.cart-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(25, 227, 210, 0.2);
  border-radius: 4px;
}

.cart-empty-state {
  text-align: center;
  margin: auto 0;
  padding: 40px 20px;
}

.cart-empty-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(25, 227, 210, 0.08);
  border: 1px solid rgba(25, 227, 210, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 0 25px rgba(25, 227, 210, 0.15);
}

.cart-empty-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
}

.cart-empty-desc {
  font-size: 13px;
  color: #8A9AA8;
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto 20px;
}

.cart-empty-cta {
  background: linear-gradient(135deg, #19E3D2 0%, #0099FF 100%);
  color: #071320;
  font-weight: 800;
  font-size: 12.5px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(25, 227, 210, 0.35);
  transition: all 0.2s ease;
}

.cart-empty-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(25, 227, 210, 0.5);
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  background: linear-gradient(135deg, rgba(16, 38, 60, 0.75) 0%, rgba(9, 23, 37, 0.95) 100%);
  border: 1px solid rgba(25, 227, 210, 0.2);
  border-radius: 14px;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  min-height: 84px;
}

.cart-item:hover {
  border-color: rgba(25, 227, 210, 0.38);
  background: linear-gradient(135deg, rgba(20, 48, 76, 0.85) 0%, rgba(11, 28, 45, 0.98) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(25, 227, 210, 0.08);
}

.cart-item-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(25, 227, 210, 0.12) 0%, #071320 80%);
  border: 1px solid rgba(25, 227, 210, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
}

.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-item-color-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(25, 227, 210, 0.08);
  border: 1px solid rgba(25, 227, 210, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  margin-top: 3px;
  width: fit-content;
}

.cart-color-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.cart-item-unit-price {
  font-size: 11.5px;
  color: #7E93A6;
  margin-top: 3px;
}

.cart-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 8px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.3px;
  text-shadow: 0 0 10px rgba(25, 227, 210, 0.25);
}

.cart-item-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  background: #06111C;
  border: 1px solid rgba(25, 227, 210, 0.28);
  border-radius: 9999px;
  height: 30px;
  box-sizing: border-box;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.cart-qty-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.cart-qty-btn:hover {
  background: rgba(25, 227, 210, 0.2);
  color: var(--accent);
}

.cart-qty-btn:active {
  background: rgba(25, 227, 210, 0.35);
  transform: scale(0.92);
}

.cart-qty-num {
  font-size: 13px;
  font-weight: 800;
  min-width: 22px;
  text-align: center;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  user-select: none;
  line-height: 1;
}

.cart-item-remove {
  width: 30px;
  height: 30px;
  color: #7E93A6;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.cart-item-remove:hover {
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.35);
  transform: scale(1.08);
}

.cart-drawer-footer {
  flex-shrink: 0;
  padding: 10px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(25, 227, 210, 0.15);
  background: linear-gradient(180deg, rgba(11, 28, 45, 0.96) 0%, rgba(6, 17, 28, 0.99) 100%);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}

.cart-field-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-input-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #9EC0D8;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.2px;
}

.cart-input-label svg {
  color: var(--accent);
}

.cart-select-wrap {
  position: relative;
  width: 100%;
}

.cart-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #081726;
  border: 1px solid rgba(25, 227, 210, 0.22);
  color: #ffffff;
  padding: 6px 26px 6px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 500;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(25, 227, 210, 0.25);
  background: #0b1f33;
}

.cart-select-arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  color: var(--accent);
  pointer-events: none;
}

.cart-summary-card {
  background: rgba(7, 19, 32, 0.75);
  border: 1px solid rgba(25, 227, 210, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94A8BC;
}

.cart-amount-bold {
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  font-family: 'Outfit', sans-serif;
}

.cart-select optgroup {
  background: #081726;
  color: #19E3D2;
  font-weight: 700;
  font-size: 11px;
  padding: 4px;
}

.cart-select option {
  background: #081726;
  color: #ffffff;
  font-weight: 500;
  font-size: 11.5px;
  padding: 4px;
}

.cart-shipping-notice-box {
  margin-top: 8px;
  background: rgba(8, 23, 38, 0.85);
  border: 1px solid rgba(25, 227, 210, 0.18);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  line-height: 1.35;
  color: #A9BECD;
}

.cart-shipping-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.cart-notice-pill {
  flex-shrink: 0;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(25, 227, 210, 0.15);
  color: #19E3D2;
  border: 1px solid rgba(25, 227, 210, 0.3);
  white-space: nowrap;
}

.cart-notice-pill.national {
  background: rgba(0, 210, 106, 0.12);
  color: #00D26A;
  border-color: rgba(0, 210, 106, 0.3);
}

.cart-delivery-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #19E3D2;
  background: rgba(25, 227, 210, 0.12);
  border: 1px solid rgba(25, 227, 210, 0.32);
  padding: 2px 7px;
  border-radius: 20px;
  transition: all 0.25s ease;
}

.cart-delivery-badge.free {
  color: #00D26A;
  background: rgba(0, 210, 106, 0.12);
  border-color: rgba(0, 210, 106, 0.35);
}

.cart-delivery-badge.national {
  color: #19E3D2;
  background: rgba(25, 227, 210, 0.14);
  border-color: rgba(25, 227, 210, 0.4);
}

.cart-summary-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 2px 0;
}

.cart-summary-total {
  padding-top: 2px;
}

.cart-total-label {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
}

.cart-total-hint {
  display: block;
  font-size: 10px;
  color: #72879B;
  font-weight: 500;
}

.cart-total-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.3px;
  text-shadow: 0 0 14px rgba(25, 227, 210, 0.35);
}

.cart-checkout-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 45%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cart-checkout-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.cart-checkout-btn:hover::after {
  left: 150%;
}

.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
}

.cart-checkout-btn:active {
  transform: scale(0.98);
}

.cart-btn-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.cart-btn-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cart-btn-main {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #ffffff;
  line-height: 1.2;
}

.cart-btn-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1px;
}

.cart-clear-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: #72879B;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin: 0 auto;
  transition: all 0.2s ease;
}

.cart-clear-link:hover {
  color: #f43f5e;
}

/* Notificación General Toast (Ultra Compacta en Tope Central) */
.toast-notification {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  background: rgba(11, 28, 45, 0.94);
  border: 1px solid rgba(25, 227, 210, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(25, 227, 210, 0.2);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100000;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   BRILLO PROFESIONAL DE 3 SEGUNDOS EN EL BOTÓN DEL CARRITO DEL HEADER
   ========================================================================== */
.cart-top-toast {
  display: none !important;
}

.cart-btn-header.cart-glow-active {
  border-color: #19E3D2 !important;
  background: rgba(25, 227, 210, 0.25) !important;
  box-shadow: 0 0 28px rgba(25, 227, 210, 0.85),
              0 0 50px rgba(25, 227, 210, 0.45),
              inset 0 0 16px rgba(25, 227, 210, 0.35) !important;
  animation: cartHeaderGlowPulse 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.cart-btn-header.cart-glow-active svg {
  filter: drop-shadow(0 0 8px #19E3D2) drop-shadow(0 0 16px rgba(25, 227, 210, 0.7));
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.cart-btn-header.cart-glow-active .cart-badge-count {
  box-shadow: 0 0 16px #FF4757, 0 0 26px rgba(255, 71, 87, 0.85) !important;
  transform: scale(1.22);
  animation: cartBadgePop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartHeaderGlowPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(25, 227, 210, 0.4);
  }
  15% {
    transform: scale(1.12);
    box-shadow: 0 0 32px rgba(25, 227, 210, 0.95), 0 0 55px rgba(25, 227, 210, 0.55), inset 0 0 18px rgba(25, 227, 210, 0.45);
    border-color: #ffffff;
  }
  30% {
    transform: scale(1.04);
    box-shadow: 0 0 26px rgba(25, 227, 210, 0.8), 0 0 40px rgba(25, 227, 210, 0.4);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 22px rgba(25, 227, 210, 0.7), 0 0 32px rgba(25, 227, 210, 0.35);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0px transparent;
    border-color: rgba(25, 227, 210, 0.3);
  }
}

@keyframes cartBadgePop {
  0% { transform: scale(0.7); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1.22); }
}

/* Rebote dinámico en el botón del carrito en el Header */
@keyframes cartBounceAnimation {
  0% { transform: scale(1); }
  25% { transform: scale(1.3) rotate(-10deg); }
  50% { transform: scale(0.9) rotate(6deg); }
  75% { transform: scale(1.12) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}

.cart-btn-header.cart-bump {
  animation: cartBounceAnimation 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   CHATBOT ASISTENTE TRU - ESTILOS OFICIALES
   ========================================================================== */
.chat-launcher-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1900;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

/* Card de Saludo Temporal de Tru */
.tru-greeting-card {
  position: relative;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: linear-gradient(145deg, rgba(15, 37, 56, 0.98) 0%, rgba(7, 19, 32, 0.98) 100%);
  border: 1.5px solid rgba(25, 227, 210, 0.45);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(25, 227, 210, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, opacity 0.35s ease;
  z-index: 1910;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

/* Indicador de flecha hacia el botón de Tru (en escritorio) */
.tru-greeting-card::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: 22px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid rgba(25, 227, 210, 0.5);
}

.tru-greeting-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: truGreetingBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tru-greeting-card.desvanecer {
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  pointer-events: none;
  transition: all 0.35s ease;
}

.tru-greeting-card.oculto {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes truGreetingBounce {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.88);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tru-greeting-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 32px rgba(25, 227, 210, 0.35);
}

/* Header del saludo */
.tru-greeting-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(25, 227, 210, 0.15);
}

.tru-greeting-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.tru-status-dot {
  width: 8px;
  height: 8px;
  background: #00D26A;
  border-radius: 50%;
  box-shadow: 0 0 8px #00D26A;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.tru-greeting-agent {
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  font-family: 'Outfit', sans-serif;
}

.tru-greeting-sub {
  color: var(--accent);
  font-weight: 600;
  font-size: 10.5px;
}

.tru-greeting-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.tru-greeting-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.15);
}

/* Cuerpo del saludo */
.tru-greeting-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 10px;
}

.tru-greeting-avatar-wrap {
  flex-shrink: 0;
  width: 62px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(25, 227, 210, 0.25));
  animation: truWaveFloat 3s ease-in-out infinite;
}

@keyframes truWaveFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.tru-greeting-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tru-greeting-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.tru-greeting-badge {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.6px;
  display: inline-block;
}

.tru-greeting-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  margin: 0;
  line-height: 1.2;
}

.tru-greeting-text {
  font-size: 11.5px;
  color: #CBD5E1;
  line-height: 1.35;
  margin: 0;
}

/* Chips rápidos */
.tru-greeting-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 12px;
  flex-wrap: wrap;
}

.tru-greeting-chip {
  background: rgba(25, 227, 210, 0.08);
  border: 1px solid rgba(25, 227, 210, 0.28);
  color: #E2E8F0;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.tru-greeting-chip:hover {
  background: rgba(25, 227, 210, 0.22);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.tru-greeting-chip-cta {
  background: linear-gradient(135deg, rgba(25, 227, 210, 0.25) 0%, rgba(15, 181, 168, 0.35) 100%);
  border-color: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  margin-left: auto;
}

.tru-greeting-chip-cta:hover {
  background: linear-gradient(135deg, var(--accent) 0%, #0FB5A8 100%);
  color: #071320;
}

/* Barra de progreso / tiempo */
.tru-greeting-progress {
  width: 100%;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tru-greeting-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #19E3D2 0%, #00D26A 100%);
  transform-origin: left center;
  animation: truProgressDrain 9s linear forwards;
}

@keyframes truProgressDrain {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* Adaptación Responsiva para Móvil: Saludo de Tru Ultra Compacto */
@media (max-width: 640px) {
  .chat-launcher-wrap {
    flex-direction: column;
    align-items: flex-end;
    bottom: 14px;
    right: 14px;
    gap: 8px;
  }

  .tru-greeting-card {
    width: min(265px, calc(100vw - 36px));
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  }

  .tru-greeting-header {
    padding: 5px 10px 4px;
  }

  .tru-greeting-status {
    font-size: 11px;
    gap: 5px;
  }

  .tru-greeting-agent {
    font-size: 11px;
  }

  .tru-greeting-sub {
    display: none; /* Eliminar texto secundario que ocupa espacio en móvil */
  }

  .tru-greeting-close {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .tru-greeting-body {
    padding: 6px 10px 6px;
    gap: 8px;
  }

  .tru-greeting-avatar-wrap {
    width: 34px;
    height: 40px;
  }

  .tru-greeting-badge {
    display: none; /* Eliminar badge superior en móvil */
  }

  .tru-greeting-title {
    font-size: 12px;
    margin: 0;
  }

  .tru-greeting-text {
    display: none; /* Quitar el párrafo largo para no tapar los productos */
  }

  .tru-greeting-chips {
    padding: 0 10px 8px;
    gap: 5px;
  }

  /* En móvil, ocultar chip secundario para mantenerlo liviano */
  .tru-greeting-chips .tru-greeting-chip:nth-child(2) {
    display: none;
  }

  .tru-greeting-chip {
    font-size: 9.5px;
    padding: 2.5px 7px;
  }

  .tru-greeting-chip-cta {
    font-size: 10px;
    padding: 3px 8px;
  }

  .tru-greeting-card::after {
    right: 20px;
    bottom: -7px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid rgba(25, 227, 210, 0.45);
    border-bottom: none;
  }

  .chatbot-toggle {
    width: 52px;
    height: 52px;
  }
}


.chatbot-toggle {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: #0B1C2D;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(25, 227, 210, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 30px rgba(25, 227, 210, 0.6);
  border-color: #29f3e4;
}

.chat-toggle-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   ANIMACIÓN DE OJOS DE TRU (Mascota / Guía Inteligente)
   ========================================================================== */
.tru-avatar-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar-wrap .tru-avatar-container {
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.tru-eyes-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.tru-eye {
  position: absolute;
  background: linear-gradient(180deg, #3dfceb 0%, #19E3D2 100%);
  border-radius: 999px;
  box-shadow: 0 0 5px #19E3D2, 0 0 10px rgba(25, 227, 210, 0.7);
  transform-origin: center center;
  animation: truEyeLifeCycle 7s infinite ease-in-out;
  will-change: transform, opacity;
}

.tru-eye-left {
  left: 33.6%;
  top: 38.8%;
  width: 7.6%;
  height: 16.5%;
}

.tru-eye-right {
  left: 69.8%;
  top: 41.0%;
  width: 6.8%;
  height: 16.2%;
}

@keyframes truEyeLifeCycle {
  0%, 18% {
    transform: translate(0, 0) scale(1, 1);
    opacity: 1;
  }
  /* Parpadeo 1 */
  20% {
    transform: translate(0, 0) scale(1, 0.08);
    opacity: 0.8;
  }
  22% {
    transform: translate(0, 0) scale(1, 1);
    opacity: 1;
  }
  /* Mira hacia la izquierda (hacia el catálogo / productos) */
  28%, 42% {
    transform: translate(-45%, 4%) scale(0.98, 1);
  }
  /* Regresa la mirada al centro */
  46% {
    transform: translate(0, 0) scale(1, 1);
  }
  /* Mira hacia la derecha */
  50%, 62% {
    transform: translate(45%, -4%) scale(0.98, 1);
  }
  /* Regresa al centro */
  66% {
    transform: translate(0, 0) scale(1, 1);
  }
  /* Doble parpadeo pícaro */
  70% {
    transform: translate(0, 0) scale(1, 0.08);
  }
  71.5% {
    transform: translate(0, 0) scale(1, 1);
  }
  73% {
    transform: translate(0, 0) scale(1, 0.08);
  }
  74.5% {
    transform: translate(0, 0) scale(1, 1);
  }
  /* Leve mirada arriba con expresión curiosa */
  80%, 90% {
    transform: translate(0, -25%) scale(1.05, 0.95);
  }
  95%, 100% {
    transform: translate(0, 0) scale(1, 1);
  }
}

/* Reacción feliz en Hover sobre el botón o cabecera del chat */
.chatbot-toggle:hover .tru-eye,
.chat-header-user:hover .tru-eye {
  animation: truEyeHappyHover 0.9s infinite alternate ease-in-out;
  box-shadow: 0 0 7px #3dfceb, 0 0 15px rgba(61, 252, 235, 0.9);
}

@keyframes truEyeHappyHover {
  0% {
    transform: translate(0, -20%) scale(1.15, 1.12);
  }
  100% {
    transform: translate(0, 15%) scale(1.08, 1.02);
  }
}

.chat-online-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #00D26A;
  border: 2.5px solid #071320;
  border-radius: 50%;
  box-shadow: 0 0 8px #00D26A;
}

.chat-notif-badge {
  position: absolute;
  top: -3px;
  left: -3px;
  background: #FF6B6B;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  border: 2px solid #071320;
  line-height: 1;
}

/* Chat Widget Container */
/* Chat Widget Container - Ultra Compacto y Traslúcido */
.chat-widget {
  position: fixed;
  bottom: 80px;
  right: 18px;
  width: 315px;
  max-width: calc(100vw - 28px);
  height: 420px;
  max-height: calc(100vh - 110px);
  background: rgba(7, 19, 32, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(25, 227, 210, 0.35);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(25, 227, 210, 0.18);
  display: flex;
  flex-direction: column;
  z-index: 1950;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-widget.abierto {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Chat Header Compacto */
.chat-header {
  background: linear-gradient(135deg, rgba(11, 28, 45, 0.95) 0%, rgba(15, 37, 56, 0.95) 100%);
  border-bottom: 1px solid rgba(25, 227, 210, 0.2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  display: block;
}

.chat-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #00D26A;
  border: 2px solid #0B1C2D;
  border-radius: 50%;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-header-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.chat-header-role {
  font-size: 10.5px;
  color: var(--accent);
  font-weight: 600;
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Chat Messages Area */
.chat-messages {
  flex: 1;
  padding: 10px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: radial-gradient(circle at top right, rgba(25, 227, 210, 0.04), transparent 60%), rgba(7, 19, 32, 0.95);
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(25, 227, 210, 0.3);
  border-radius: 4px;
}

/* Welcome Card with Tru */
.chat-welcome-banner {
  background: linear-gradient(135deg, rgba(15, 37, 56, 0.9) 0%, rgba(11, 28, 45, 0.9) 100%);
  border: 1px solid rgba(25, 227, 210, 0.3);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  margin-bottom: 2px;
}

.chat-welcome-img {
  width: 40px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  flex-shrink: 0;
}

.chat-welcome-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-welcome-badge {
  display: none;
}

.chat-welcome-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

.chat-welcome-desc {
  font-size: 11px;
  color: #CBD5E1;
  line-height: 1.3;
}

/* Messages */
.msg {
  max-width: 90%;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 11px;
  padding: 7px 11px;
  word-break: break-word;
}

.msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #19E3D2 0%, #00B4D8 100%);
  color: #071320;
  font-weight: 600;
  border-bottom-right-radius: 3px;
  box-shadow: 0 2px 10px rgba(25, 227, 210, 0.25);
}

.msg-bot {
  align-self: flex-start;
  background: rgba(15, 37, 56, 0.9);
  border: 1px solid rgba(25, 227, 210, 0.2);
  color: #F1F5F9;
  border-bottom-left-radius: 3px;
}

.msg-bot-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.bot-msg-avatar {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  object-fit: cover;
}

.bot-name {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.msg-bot-text {
  font-size: 12px;
  line-height: 1.4;
}

/* Quick Action Options */
.msg-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 2px;
}

.opt-btn {
  background: rgba(15, 37, 56, 0.7);
  border: 1px solid rgba(25, 227, 210, 0.3);
  color: #E2E8F0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.opt-btn:hover {
  background: rgba(25, 227, 210, 0.15);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.opt-btn:hover {
  background: rgba(25, 227, 210, 0.15);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(3px);
}

/* Chat Product Card */
.chat-product-card {
  background: #0B1C2D;
  border: 1px solid rgba(25, 227, 210, 0.35);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.chat-card-top {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-card-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: #071320;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.chat-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.chat-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chat-card-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-card-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
}

.chat-card-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.chat-card-status.disponible {
  background: rgba(0, 210, 106, 0.2);
  color: #00D26A;
  border: 1px solid rgba(0, 210, 106, 0.4);
}

.chat-card-status.agotado {
  background: rgba(255, 107, 107, 0.2);
  color: #FF6B6B;
  border: 1px solid rgba(255, 107, 107, 0.4);
}

.chat-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-card-btn {
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

.chat-card-btn.btn-cart {
  background: var(--accent);
  color: #071320;
}
.chat-card-btn.btn-cart:hover {
  filter: brightness(1.1);
}

.chat-card-btn.btn-detail {
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.chat-card-btn.btn-detail:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.chat-card-btn.btn-wa-full {
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  margin-top: 2px;
}
.chat-card-btn.btn-wa-full:hover {
  filter: brightness(1.1);
}

/* Chat Footer */
.chat-footer {
  padding: 0;
  background: #0B1C2D;
  border-top: 1px solid rgba(25, 227, 210, 0.2);
  display: flex;
  flex-direction: column;
}

.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
}

.chat-footer input {
  flex: 1;
  background: #071320;
  border: 1px solid rgba(25, 227, 210, 0.3);
  color: #fff;
  padding: 9px 13px;
  border-radius: var(--radius-full);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.chat-footer input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(25, 227, 210, 0.3);
}

.chat-footer input::placeholder {
  color: #64748B;
  font-size: 12px;
}

.chat-send-btn {
  background: var(--accent);
  color: #071320;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.chat-send-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Responsive adjustments - Asistente Tru Compacto y Flotante en Móvil */
@media (max-width: 480px) {
  .chat-widget {
    bottom: 74px;
    right: 10px;
    width: min(305px, calc(100vw - 20px));
    max-width: min(305px, calc(100vw - 20px));
    height: 385px;
    max-height: calc(100vh - 120px);
    border-radius: 16px;
    border: 1px solid rgba(25, 227, 210, 0.4);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(25, 227, 210, 0.2);
    background: rgba(7, 19, 32, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .chat-header {
    padding: 8px 12px;
  }

  .chat-avatar-wrap {
    width: 30px;
    height: 30px;
  }

  .chat-header-avatar {
    width: 30px;
    height: 30px;
  }

  .chat-header-name {
    font-size: 13px;
  }

  .chat-header-role {
    font-size: 10px;
  }

  .chat-messages {
    padding: 8px 10px;
    gap: 7px;
  }

  .chat-welcome-banner {
    padding: 6px 10px;
    gap: 8px;
  }

  .chat-welcome-img {
    width: 32px;
    height: 42px;
  }

  .chat-welcome-title {
    font-size: 11.5px;
  }

  .chat-welcome-desc {
    font-size: 10.5px;
  }

  .msg {
    font-size: 11.5px;
    padding: 6px 10px;
    border-radius: 9px;
  }

  .opt-btn {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 7px;
  }

  .chat-faq-chips {
    padding: 5px 10px 3px 10px;
    gap: 5px;
  }

  .faq-chip {
    font-size: 10px;
    padding: 3px 8px;
    gap: 4px;
  }

  .faq-chip .chip-svg,
  .tru-greeting-chip .chip-svg {
    width: 9.5px;
    height: 9.5px;
  }

  .chat-input-row {
    padding: 6px 10px 8px 10px;
    gap: 6px;
  }

  .chat-footer input {
    padding: 7px 11px;
    font-size: 11.5px;
  }

  .chat-send-btn {
    width: 32px;
    height: 32px;
  }

  .chat-launcher-wrap {
    bottom: 14px;
    right: 14px;
  }

  .chatbot-toggle {
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (IntersectionObserver - Zero Dependencies)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   TESTIMONIOS / PRUEBA SOCIAL
   ========================================================================== */
.testimonials-section {
  padding: 30px 0 50px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .testimonials-section {
    padding: 20px 0 35px 0;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .testimonial-card {
    padding: 12px 10px;
    border-radius: 12px;
    gap: 8px;
  }

  .testimonial-card::before {
    font-size: 45px;
    top: -4px;
    right: 8px;
  }

  .testimonial-stars {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .testimonial-text {
    font-size: 11px;
    line-height: 1.42;
  }

  .testimonial-author {
    gap: 7px;
    padding-top: 7px;
  }

  .testimonial-avatar {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }

  .testimonial-name {
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .testimonial-location {
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(22, 43, 61, 0.8) 0%, rgba(15, 37, 56, 0.9) 100%);
  border: 1px solid rgba(25, 227, 210, 0.2);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -8px;
  right: 14px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(25, 227, 210, 0.08);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(25, 227, 210, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(25, 227, 210, 0.15);
}

.testimonial-stars {
  color: #FFC107;
  font-size: 16px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.testimonial-text {
  font-size: 13.5px;
  color: #CBD5E1;
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0FB5A8);
  color: #071320;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.testimonial-location {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1800;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
}

.whatsapp-float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: waPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    left: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   TYPING INDICATOR ("Tru está escribiendo...")
   ========================================================================== */
.typing-indicator {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0F2538;
  border: 1px solid rgba(25, 227, 210, 0.25);
  border-radius: 14px;
  border-bottom-left-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: typingFadeIn 0.25s ease-out;
}

.typing-indicator .typing-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  object-fit: cover;
  flex-shrink: 0;
}

.typing-text {
  font-size: 11.5px;
  color: #8FA3BF;
  font-style: italic;
  font-weight: 500;
  user-select: none;
}

@keyframes typingFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ==========================================================================
   FAQ CHIPS (Quick actions above chat input)
   ========================================================================== */
.chat-faq-chips {
  display: flex;
  gap: 6px;
  padding: 8px 14px 4px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chat-faq-chips::-webkit-scrollbar {
  display: none;
}

.faq-chip {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: rgba(25, 227, 210, 0.08);
  border: 1px solid rgba(25, 227, 210, 0.25);
  color: #CBD5E1;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.faq-chip .chip-svg,
.tru-greeting-chip .chip-svg {
  width: 11px;
  height: 11px;
  stroke: var(--accent);
  color: var(--accent);
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(25, 227, 210, 0.4));
}

.faq-chip:hover {
  background: rgba(25, 227, 210, 0.2);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.faq-chip:active {
  transform: scale(0.96);
}

/* ==========================================================================
   COMPARADOR DE PRODUCTOS (Tabla dentro del chat)
   ========================================================================== */
.chat-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  font-size: 11.5px;
  background: #0B1C2D;
  border: 1px solid rgba(25, 227, 210, 0.25);
  margin-top: 4px;
}

.chat-compare-table th {
  background: rgba(25, 227, 210, 0.12);
  color: var(--accent);
  font-weight: 800;
  padding: 8px 10px;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(25, 227, 210, 0.2);
}

.chat-compare-table td {
  padding: 7px 10px;
  text-align: center;
  color: #CBD5E1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-compare-table tr:last-child td {
  border-bottom: none;
}

.chat-compare-table .compare-label {
  text-align: left;
  color: #94A3B8;
  font-weight: 600;
  font-size: 11px;
}

.chat-compare-table .compare-highlight {
  color: var(--accent);
  font-weight: 800;
}

/* ==========================================================================
   MESSAGE TIMESTAMP
   ========================================================================== */
.msg-time {
  font-size: 10px;
  color: #64748B;
  margin-top: 4px;
  text-align: right;
}

.msg-bot .msg-time {
  text-align: left;
}

/* ==========================================================================
   CART DRAWER RESPONSIVE TWEAKS (MÓVILES)
   ========================================================================== */
@media (max-width: 480px) {
  .cart-drawer {
    max-width: 100%;
    border-left: none;
  }
  .cart-drawer-header {
    padding: 14px 16px;
  }
  .cart-drawer-body {
    padding: 12px 14px;
    gap: 10px;
  }
  .cart-drawer-footer {
    padding: 14px 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    gap: 10px;
  }
  .cart-trust-bar {
    padding: 8px 12px;
    gap: 4px;
  }
  .cart-trust-item {
    font-size: 9.5px;
    padding: 5px 2px;
  }
  .cart-checkout-btn {
    padding: 11px 14px;
  }
  .cart-btn-main {
    font-size: 14px;
  }
  .cart-btn-sub {
    font-size: 10px;
  }
}

/* ==========================================================================
   SIMULADOR INTERACTIVO DE CANCELACIÓN DE RUIDO (ANC)
   ========================================================================== */

/* Banner Interactivo en el Catálogo */
.anc-banner-card {
  margin: 14px 0 20px;
  background: linear-gradient(135deg, rgba(16, 40, 64, 0.85) 0%, rgba(7, 21, 35, 0.95) 100%);
  border: 1.5px solid rgba(25, 227, 210, 0.35);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 25px rgba(25, 227, 210, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.anc-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.anc-banner-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(25, 227, 210, 0.25);
}

.anc-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.anc-banner-icon-pulse {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(25, 227, 210, 0.12);
  border: 1px solid rgba(25, 227, 210, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(25, 227, 210, 0.2);
}

.anc-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.anc-banner-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px;
  line-height: 1.3;
}

.anc-banner-desc {
  font-size: 12px;
  color: #9EC0D8;
  margin: 0;
  line-height: 1.4;
}

.anc-banner-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #19E3D2 0%, #0099FF 100%);
  color: #071320;
  font-weight: 800;
  font-size: 12.5px;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(25, 227, 210, 0.35);
  transition: all 0.2s ease;
}

.anc-banner-card:hover .anc-banner-cta {
  transform: scale(1.04);
  box-shadow: 0 6px 22px rgba(25, 227, 210, 0.5);
}

/* Estado Pendiente / Próximamente del Banner ANC */
.anc-banner-tag-pending {
  color: #F59E0B;
}

.anc-banner-tag-pending svg {
  color: #F59E0B;
}

.anc-banner-cta-pending {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FCD34D;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.anc-banner-card:hover .anc-banner-cta-pending {
  transform: none;
  background: rgba(245, 158, 11, 0.2);
  border-color: #F59E0B;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
  color: #ffffff;
}

.anc-pending-card {
  border-color: rgba(245, 158, 11, 0.25);
}

.anc-pending-card:hover {
  border-color: #F59E0B;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.2);
}

.btn-anc-proximamente {
  opacity: 0.85;
  border-style: dashed;
  color: #94A3B8;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-anc-proximamente:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: none;
  transform: none;
}

@media (max-width: 640px) {
  .anc-banner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 12px;
  }
  .anc-banner-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Modal Backdrop & Card */
.modal-anc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 9, 16, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-anc-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-anc-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, #0A1C2E 0%, #06121E 100%);
  border: 1.5px solid rgba(25, 227, 210, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(25, 227, 210, 0.15);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal-anc-backdrop.active .modal-anc-card {
  transform: scale(1) translateY(0);
}

.modal-anc-header {
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(25, 227, 210, 0.12);
  background: rgba(13, 34, 54, 0.6);
}

.modal-anc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.modal-anc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px;
}

.modal-anc-sub {
  font-size: 11.5px;
  color: #8FAEC5;
  margin: 0;
  line-height: 1.35;
}

.modal-anc-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #A0B2C6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-anc-close:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.35);
  transform: rotate(90deg);
}

.modal-anc-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 75vh;
}

/* Visualizador de Onda */
.anc-visualizer-container {
  width: 100%;
  height: 110px;
  background: #040B13;
  border: 1px solid rgba(25, 227, 210, 0.2);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.7);
}

#ancWaveCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.anc-visualizer-overlay {
  position: absolute;
  top: 8px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.anc-db-meter {
  font-size: 10.5px;
  font-weight: 800;
  color: #FF5A79;
  background: rgba(4, 11, 19, 0.8);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 90, 121, 0.3);
  font-family: 'Outfit', monospace;
  transition: all 0.3s ease;
}

.anc-db-meter.quiet {
  color: var(--accent);
  border-color: rgba(25, 227, 210, 0.4);
  background: rgba(4, 11, 19, 0.85);
  box-shadow: 0 0 10px rgba(25, 227, 210, 0.2);
}

.anc-mode-indicator {
  font-size: 10px;
  font-weight: 700;
  color: #94A8BC;
  background: rgba(4, 11, 19, 0.8);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.anc-section-label {
  font-size: 11px;
  font-weight: 700;
  color: #8FAEC5;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Grilla de Entornos */
.anc-env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.anc-env-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  background: rgba(7, 19, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #8FAEC5;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.anc-env-btn svg {
  color: #6C839B;
  transition: all 0.2s ease;
}

.anc-env-btn:hover {
  background: rgba(25, 227, 210, 0.06);
  border-color: rgba(25, 227, 210, 0.25);
  color: #ffffff;
}

.anc-env-btn.active {
  background: rgba(25, 227, 210, 0.12);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(25, 227, 210, 0.18);
}

.anc-env-btn.active svg {
  color: var(--accent);
  transform: scale(1.1);
}

/* Switch de Modos */
.anc-modes-switch {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.anc-mode-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(7, 19, 32, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #A0B2C6;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.anc-mode-btn:hover {
  background: rgba(14, 34, 54, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.anc-mode-btn.active {
  background: rgba(16, 40, 64, 0.9);
  border-color: rgba(25, 227, 210, 0.4);
  color: #ffffff;
}

.anc-mode-btn.btn-anc-highlight.active {
  background: linear-gradient(135deg, rgba(25, 227, 210, 0.18) 0%, rgba(0, 153, 255, 0.15) 100%);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(25, 227, 210, 0.22);
}

.anc-mode-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red {
  background: #FF4757;
  box-shadow: 0 0 8px #FF4757;
}

.dot-yellow {
  background: #FFA502;
  box-shadow: 0 0 8px #FFA502;
}

.dot-cyan {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* Caja de Explicación */
.anc-explain-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(4, 11, 19, 0.75);
  border: 1px solid rgba(25, 227, 210, 0.15);
  border-radius: 10px;
}

.anc-explain-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.anc-explain-text {
  font-size: 11.5px;
  color: #CBD5E1;
  margin: 0;
  line-height: 1.45;
}

.anc-explain-text strong {
  color: var(--accent);
}

.anc-hint-headphones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10.5px;
  color: #6C839B;
  font-style: italic;
  text-align: center;
}

.anc-hint-headphones svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Footer Modal */
.modal-anc-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(25, 227, 210, 0.12);
  background: rgba(7, 19, 32, 0.85);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-anc-whatsapp {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 50%, #128C7E 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.btn-anc-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-anc-catalog {
  background: none;
  border: none;
  color: #8FAEC5;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.btn-anc-catalog:hover {
  color: var(--accent);
}

/* Botón Probar ANC en Modal de Producto */
.btn-modal-test-anc {
  width: 100%;
  margin: 10px 0 6px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(25, 227, 210, 0.08);
  border: 1px solid rgba(25, 227, 210, 0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-test-anc:hover {
  background: rgba(25, 227, 210, 0.18);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(25, 227, 210, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   BADGE Y MODAL DE GARANTÍA CHAMELEON TECH (6 MESES CUSCO)
   ========================================================================== */

/* Badge en Tarjetas del Catálogo */
.card-warranty-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 8px;
  margin: 6px 0 4px;
  background: rgba(25, 227, 210, 0.05);
  border: 1px solid rgba(25, 227, 210, 0.18);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.card-warranty-badge:hover {
  background: rgba(25, 227, 210, 0.12);
  border-color: rgba(25, 227, 210, 0.4);
  box-shadow: 0 0 12px rgba(25, 227, 210, 0.15);
  transform: translateY(-1px);
}

.warranty-badge-shield {
  width: 13px;
  height: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

.card-warranty-badge span {
  font-size: 10.5px;
  font-weight: 700;
  color: #B2C7DA;
  letter-spacing: 0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-warranty-badge:hover span {
  color: #ffffff;
}

.warranty-badge-arrow {
  width: 10px;
  height: 10px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.card-warranty-badge:hover .warranty-badge-arrow {
  transform: translateX(2px);
}

/* Card Destacada en Modal de Producto */
.modal-warranty-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin: 10px 0 8px;
  background: linear-gradient(135deg, rgba(25, 227, 210, 0.08) 0%, rgba(11, 28, 45, 0.6) 100%);
  border: 1px solid rgba(25, 227, 210, 0.25);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-warranty-card:hover {
  border-color: rgba(25, 227, 210, 0.5);
  background: linear-gradient(135deg, rgba(25, 227, 210, 0.14) 0%, rgba(16, 40, 64, 0.75) 100%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 15px rgba(25, 227, 210, 0.12);
  transform: translateY(-1px);
}

.warranty-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.warranty-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(25, 227, 210, 0.12);
  border: 1px solid rgba(25, 227, 210, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.warranty-icon-circle svg {
  width: 16px;
  height: 16px;
}

.warranty-card-texts {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.warranty-card-title {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.2px;
}

.warranty-card-desc {
  font-size: 10.5px;
  color: #94A8BC;
  font-weight: 500;
}

.warranty-card-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(25, 227, 210, 0.1);
  border: 1px solid rgba(25, 227, 210, 0.28);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* Tira de Garantía en el Carrito Drawer */
.cart-warranty-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  margin-top: 2px;
  background: rgba(25, 227, 210, 0.05);
  border: 1px solid rgba(25, 227, 210, 0.18);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cart-warranty-strip:hover {
  background: rgba(25, 227, 210, 0.1);
  border-color: rgba(25, 227, 210, 0.35);
  box-shadow: 0 0 12px rgba(25, 227, 210, 0.12);
}

.cart-warranty-strip-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cart-warranty-strip-shield {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.cart-warranty-strip-text {
  font-size: 11px;
  color: #A6B8CB;
}

.cart-warranty-strip-text strong {
  color: #ffffff;
}

.cart-warranty-strip-arrow {
  width: 10px;
  height: 10px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cart-warranty-strip:hover .cart-warranty-strip-arrow {
  transform: translateX(2px);
}

/* Modal Certificado de Garantía */
.modal-garantia-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 9, 16, 0.85);
  backdrop-filter: blur(14px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-garantia-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-garantia-card {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0A1C2E 0%, #06121E 100%);
  border: 1px solid rgba(25, 227, 210, 0.3);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(25, 227, 210, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-garantia-backdrop.active .modal-garantia-card {
  transform: translateY(0) scale(1);
}

.modal-garantia-header {
  padding: 20px 22px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid rgba(25, 227, 210, 0.12);
  position: relative;
  background: rgba(11, 28, 45, 0.6);
}

.garantia-seal-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 227, 210, 0.2) 0%, rgba(0, 210, 106, 0.15) 100%);
  border: 1.5px solid rgba(25, 227, 210, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 0 20px rgba(25, 227, 210, 0.25);
  flex-shrink: 0;
}

.garantia-seal-icon svg {
  width: 22px;
  height: 22px;
}

.garantia-title-col {
  flex: 1;
  min-width: 0;
}

.garantia-badge-tag {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(25, 227, 210, 0.1);
  border: 1px solid rgba(25, 227, 210, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.garantia-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 3px;
  letter-spacing: -0.3px;
}

.garantia-main-sub {
  font-size: 12px;
  color: #8EADC7;
  line-height: 1.4;
  margin: 0;
}

.modal-garantia-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #A0B2C6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-garantia-close:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.35);
  transform: rotate(90deg);
}

.modal-garantia-body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.garantia-pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.garantia-pillar-card {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(11, 28, 45, 0.55);
  border: 1px solid rgba(25, 227, 210, 0.14);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.garantia-pillar-card:hover {
  border-color: rgba(25, 227, 210, 0.35);
  background: rgba(16, 40, 64, 0.65);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.pillar-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(25, 227, 210, 0.1);
  border: 1px solid rgba(25, 227, 210, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.pillar-icon-wrap svg {
  width: 17px;
  height: 17px;
}

.pillar-content {
  flex: 1;
  min-width: 0;
}

.pillar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px;
  letter-spacing: -0.2px;
}

.pillar-desc {
  font-size: 11.5px;
  color: #8EADC7;
  line-height: 1.45;
  margin: 0;
}

.garantia-seal-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 210, 106, 0.1) 0%, rgba(25, 227, 210, 0.08) 100%);
  border: 1px solid rgba(0, 210, 106, 0.3);
}

.seal-badge-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 210, 106, 0.18);
  border: 1px solid rgba(0, 210, 106, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00D26A;
  flex-shrink: 0;
}

.seal-badge-circle svg {
  width: 14px;
  height: 14px;
}

.seal-banner-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.seal-banner-text strong {
  font-size: 12px;
  color: #ffffff;
  font-weight: 800;
}

.seal-banner-text span {
  font-size: 10.5px;
  color: #A3C7B5;
  line-height: 1.35;
}

.modal-garantia-footer {
  padding: 14px 22px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(25, 227, 210, 0.1);
  background: rgba(7, 19, 32, 0.7);
}

.btn-garantia-close {
  flex: 1;
  padding: 11px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #19E3D2 0%, #00B4D8 100%);
  color: #06121E;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(25, 227, 210, 0.3);
  transition: all 0.2s ease;
  text-align: center;
}

.btn-garantia-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(25, 227, 210, 0.45);
}

.btn-garantia-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-garantia-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25D366;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.25);
  color: #ffffff;
}

@media (max-width: 480px) {
  .modal-garantia-card {
    max-height: 92vh;
    border-radius: 18px;
  }
  .modal-garantia-header {
    padding: 16px 16px 12px;
    gap: 10px;
  }
  .garantia-seal-icon {
    width: 38px;
    height: 38px;
  }
  .garantia-main-title {
    font-size: 16.5px;
  }
  .modal-garantia-body {
    padding: 14px 16px;
    gap: 10px;
  }
  .garantia-pillar-card {
    padding: 10px 12px;
    gap: 10px;
  }
  .pillar-icon-wrap {
    width: 30px;
    height: 30px;
  }
  .modal-garantia-footer {
    padding: 12px 16px 16px;
    flex-direction: column;
  }
  .btn-garantia-close,
  .btn-garantia-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

