 :root {
    --primary-dark: #121212;
    --primary: #1e1e1e;
    --primary-light: #2d2d2d;
    --accent: #00c853;
    --accent-light: #5efc82;
    --accent-lighter: #a7ffb3;
    --text-primary: #f5f5f5;
    --text-secondary: #e0e0e0;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --neon-effect: #00e676;
    --card-glow: rgba(0, 200, 83, 0.15);
    --glass-effect: rgba(30, 30, 30, 0.3);
  }
  
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Montserrat:wght@500;600;700;800&display=swap');
  
  body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    background-image: 
      radial-gradient(circle at 15% 25%, rgba(30, 30, 30, 0.7) 0%, transparent 30%),
      radial-gradient(circle at 85% 75%, rgba(0, 200, 83, 0.15) 0%, transparent 30%);
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  .container {
    padding: 3rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
  }

  /* Efecto de partículas de fondo */
  .particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
  }

  .particle {
    position: absolute;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite linear;
  }

  @keyframes float {
    0% {
      transform: translateY(0) translateX(0);
      opacity: 0;
    }
    10% {
      opacity: 0.3;
    }
    90% {
      opacity: 0.3;
    }
    100% {
      transform: translateY(-100vh) translateX(100px);
      opacity: 0;
    }
  }

  .titulo {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 1rem;
  }

  .titulo::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 4px;
    box-shadow: 0 0 15px var(--neon-effect);
    filter: blur(1px);
  }

  .titulo::before {
    content: 'PREMIUM';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent-light);
    text-shadow: 0 0 10px var(--neon-effect);
    font-weight: 700;
    opacity: 0.8;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    perspective: 1500px;
  }

  .card {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.4);
    border: 1px solid rgba(94, 252, 130, 0.15);
    box-shadow: 
      0 12px 40px rgba(10, 10, 10, 0.7),
      0 8px 25px rgba(10, 10, 10, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(50px) rotateX(15deg) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(5px);
    background: rgba(30, 30, 30, 0.6);
    border-top: 1px solid rgba(94, 252, 130, 0.1);
    border-left: 1px solid rgba(94, 252, 130, 0.1);
  }

  .card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
  }

  .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), 
      rgba(94, 252, 130, 0.15), transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .card:hover {
    transform: translateY(-10px) scale(1.03) rotateX(-2deg);
    box-shadow: 
      0 20px 60px rgba(10, 10, 10, 0.9),
      0 15px 40px rgba(94, 252, 130, 0.4);
    border-color: rgba(94, 252, 130, 0.3);
  }

  .card:hover::before {
    opacity: 1;
  }

  .card::after {
    display: none !important;
  }

  .card-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
    z-index: 2;
  }

  .card:hover .card-image-container {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  }

  .card img {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 90%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.4));
    transform-style: preserve-3d;
  }

  .card:hover img {
    transform: scale(1.1) translateY(-8px) rotateX(8deg);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
  }

  .card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
  }

  .card h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4);
  }

  .card:hover h2::after {
    transform: translateX(-50%) scaleX(1);
  }

  .card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.4;
    min-height: 40px;
    opacity: 0.9;
    position: relative;
  }

  .precio {
    color: var(--accent-light);
    font-weight: 700;
    font-size: 2rem;
    margin: 0.5rem 0;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 15px rgba(94, 252, 130, 0.4);
    letter-spacing: 1px;
  }

  .precio::before {
    content: '$';
    font-size: 0.8em;
    margin-right: 4px;
    opacity: 0.9;
  }

  .precio::after {
    content: 'USD';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: var(--text-secondary);
    opacity: 0.7;
    font-weight: 400;
    letter-spacing: 1px;
  }

  .boton-wpp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #043b11;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.4);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
    position: relative;
    overflow: hidden;
    gap: 10px;
    font-size: 1.1rem;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .boton-wpp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(94, 252, 130, 0.5);
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #000;
    letter-spacing: 1.5px;
  }

  .boton-wpp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
    transition: all 0.6s ease;
    z-index: -1;
  }

  .boton-wpp:hover::before {
    left: 100%;
  }

  .boton-wpp i {
    font-size: 1.3rem;
    transition: transform 0.4s ease;
  }

  .boton-wpp:hover i {
    transform: scale(1.2) rotate(-5deg);
  }

  .etiqueta {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--neon-effect), var(--accent-light));
    color: #000;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.5);
    z-index: 3;
    animation: pulse 2s infinite, floatLabel 4s ease-in-out infinite;
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(0, 230, 118, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
  }

  @keyframes floatLabel {
    0%, 100% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-8px) rotate(2deg);
    }
  }

  .filtros {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
  }

  .filtro-btn {
    padding: 12px 24px;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(94, 252, 130, 0.3);
    color: var(--text-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.4);
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 120px;
    text-align: center;
  }

  .filtro-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 252, 130, 0.3), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: -1;
  }

  .filtro-btn:hover, .filtro-btn.active {
    color: #000;
    border-color: transparent;
    transform: translateY(-5px);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 1.2px;
  }

  .filtro-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    box-shadow: 0 8px 25px rgba(94, 252, 130, 0.4);
  }

  .filtro-btn:hover::before, .filtro-btn.active::before {
    transform: translateY(0);
  }

  .filtro-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
  }

  .filtro-btn:hover i {
    transform: rotate(15deg);
  }

  /* Paginación mejorada */
  .pagination {
    text-align: center;
    margin-top: 5rem;
    position: relative;
  }

  .pagination::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 252, 130, 0.5), transparent);
  }

  .pagination-nav {
    display: inline-flex;
    align-items: center;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 16px;
    padding: 0.8rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(94, 252, 130, 0.2);
    backdrop-filter: blur(5px);
  }

  .pagination-list {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0 1.5rem;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
  }

  .pagination-link:not(.active):not(.disabled) {
    background: rgba(94, 252, 130, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(94, 252, 130, 0.2);
  }

  .pagination-link:not(.active):not(.disabled):hover {
    background: rgba(94, 252, 130, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(94, 252, 130, 0.2);
    color: var(--accent-light);
  }

  .pagination-link.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #000;
    box-shadow: 0 5px 20px rgba(94, 252, 130, 0.4);
    transform: translateY(-3px);
  }

  .pagination-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  /* Efectos de partículas para cards destacadas */
  .card.featured {
    position: relative;
    overflow: visible;
    animation: featuredGlow 6s ease infinite;
  }

  .card.featured::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #00c853, #5efc82, #00c853);
    z-index: -2;
    border-radius: 23px;
    animation: rotateGradient 8s linear infinite;
    background-size: 300% 300%;
    filter: blur(8px);
    opacity: 0.8;
  }

  @keyframes rotateGradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  @keyframes featuredGlow {
    0%, 100% {
      box-shadow: 0 15px 50px rgba(0, 200, 83, 0.4);
    }
    50% {
      box-shadow: 0 20px 70px rgba(0, 200, 83, 0.6);
    }
  }

  /* Efecto de cursor personalizado */
  .custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--accent-light);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    z-index: 9999;
    filter: blur(1px);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.3s ease;
  }

  .cursor-outer {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-light);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    opacity: 0;
    transition: all 0.3s ease;
  }

  /* Efectos de hover para el cursor */
  .card:hover ~ .custom-cursor {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
  }

  .boton-wpp:hover ~ .custom-cursor {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.3;
  }

  /* Badges de características del producto - Modificado para fila horizontal */
  .badges-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: nowrap; /* Asegura que permanezcan en una sola línea */
  }

  .badge {
    background: rgba(0, 200, 83, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--accent-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(94, 252, 130, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
  }

  .badge i {
    color: var(--accent);
    font-size: 0.8rem;
  }

  .card:hover .badge {
    background: rgba(0, 200, 83, 0.2);
    border-color: rgba(94, 252, 130, 0.4);
    transform: translateY(-2px);
  }

  /* ===== BUSCADOR ===== */
  .search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2rem;
    width: calc(100% - 40px); /* Asegura que no se salga en móviles */
    padding: 0;
  }

  .search-box {
    width: 100%;
    padding: 14px 20px;
    padding-right: 50px;
    border-radius: 14px;
    border: none;
    background: rgba(30, 30, 30, 0.6);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(94, 252, 130, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.4);
    backdrop-filter: blur(5px);
    outline: none;
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho */
  }

  .search-box:focus {
    border-color: var(--accent);
    box-shadow: 0 6px 25px rgba(0, 200, 83, 0.4);
    transform: translateY(-2px);
  }

  .search-box::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
    font-size: 0.9rem;
  }

  .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-light);
    font-size: 1rem;
    pointer-events: none;
  }

  /* ===== Hero Slider Premium ===== */
  .hero-slider {
    position: relative;
    width: 100%;
    height: 500px; /* Altura para desktop */
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 3rem;
    background: var(--primary-dark);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(94, 252, 130, 0.2);
    perspective: 1000px;
  }

  .slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  .slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
  }

  .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s cubic-bezier(0.2, 0.96, 0.34, 1);
  }

  .slide:hover .slide-image {
    transform: scale(1.05);
  }

  .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    transform: translateY(0);
    transition: all 0.5s ease;
  }

  .slide:hover .slide-overlay {
    transform: translateY(-10px);
  }

  .slide-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
  }

  .slide-description {
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
    max-width: 600px;
  }

  .slide.active .slide-title,
  .slide.active .slide-description {
    transform: translateY(0);
    opacity: 1;
  }

  /* Controles de navegación */
  .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.7);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
  }

  .hero-slider:hover .nav {
    opacity: 1;
  }

  .nav svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
  }

  .nav:hover {
    background: var(--accent);
    color: black;
    transform: translateY(-50%) scale(1.1);
  }

  .nav:hover svg {
    transform: scale(1.2);
  }

  .nav.prev {
    left: 2rem;
  }

  .nav.next {
    right: 2rem;
  }

  /* Indicadores */
  .slider-controls {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
  }

  .dots {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
  }

  .dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .dots button.active {
    background: var(--accent);
    transform: scale(1.2);
  }

  .thumbnails {
    display: flex;
    gap: 8px;
    padding: 0.5rem;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    max-width: 90%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .thumbnails::-webkit-scrollbar {
    display: none;
  }

  .thumbnail {
    width: 60px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    background: transparent;
  }

  .thumbnail.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--accent);
  }

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

  /* Barra de progreso */
  .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 5;
  }

  .progress {
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width 0.1s linear;
  }

  /* Efectos específicos para móvil */
  @media (max-width: 768px) {
    .container {
      padding: 1.5rem 0.8rem;
    }
    
    .titulo {
      font-size: 2rem;
      margin-bottom: 1rem;
      letter-spacing: 1px;
      padding-top: 0.5rem;
    }
    
    .titulo::after {
      width: 120px;
      bottom: -8px;
      height: 3px;
    }
    
    .titulo::before {
      top: -15px;
      font-size: 0.7rem;
    }
    
    .filtros {
      gap: 0.8rem;
      margin-bottom: 1.5rem;
      padding-top: 0.5rem;
      justify-content: center;
      overflow-x: auto;
      padding-bottom: 10px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    
    .filtros::-webkit-scrollbar {
      display: none;
    }
    
    .filtro-btn {
      padding: 8px 16px;
      font-size: 0.8rem;
      min-width: auto;
      flex-shrink: 0;
    }
    
    .grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin-top: 1.5rem;
    }
    
    .card {
      padding: 1rem;
      border-radius: 14px;
      min-width: 0;
    }
    
    .card-image-container {
      height: 120px;
      margin-bottom: 0.5rem;
      border-radius: 10px;
    }
    
    .card h2 {
      font-size: 1rem;
      margin-bottom: 0.3rem;
    }
    
    .card-desc {
      font-size: 0.8rem;
      margin: 0.3rem 0;
      line-height: 1.3;
      min-height: 35px;
    }
    
    .precio {
      font-size: 1.4rem;
      margin: 0.4rem 0;
    }
    
    .precio::after {
      bottom: -8px;
      font-size: 0.5rem;
    }
    
    .boton-wpp {
      padding: 8px 16px;
      font-size: 0.9rem;
      margin-top: 0.8rem;
      border-radius: 8px;
      min-width: 100%;
      box-sizing: border-box;
    }
    
    .etiqueta {
      top: 10px;
      right: 10px;
      font-size: 0.7rem;
      padding: 4px 10px;
    }
    
    .pagination-nav {
      padding: 0.5rem;
      border-radius: 12px;
    }
    
    .pagination-link {
      width: 36px;
      height: 36px;
      font-size: 0.9rem;
      border-radius: 8px;
    }
    
    .pagination::before {
      width: 80%;
    }
    
    /* Ajustes para el buscador en móviles */
    .search-container {
      margin-bottom: 1.5rem;
      width: calc(100% - 20px);
    }
    
    .search-box {
      padding: 10px 16px;
      padding-right: 40px;
      font-size: 0.85rem;
      border-radius: 12px;
    }
    
    .search-icon {
      right: 16px;
      font-size: 0.9rem;
    }

    /* Ajustes del hero slider para móviles */
    .hero-slider {
      height: 250px;
      border-radius: 12px;
    }
    
    .slide-title {
      font-size: 1.5rem;
    }
    
    .slide-description {
      font-size: 0.9rem;
    }
    
    .nav {
      width: 40px;
      height: 40px;
    }
    
    .thumbnail {
      width: 40px;
      height: 30px;
    }
  }

  /* Ajustes adicionales para pantallas muy pequeñas */
  @media (max-width: 480px) {
    .container {
      padding: 1rem 0.5rem;
    }
    
    .titulo {
      font-size: 1.6rem;
      margin-bottom: 0.8rem;
      padding-top: 0.3rem;
    }
    
    .titulo::before {
      top: -12px;
      font-size: 0.6rem;
    }
    
    .filtros {
      gap: 0.6rem;
      margin-bottom: 1.2rem;
      padding-top: 0.3rem;
    }
    
    .filtro-btn {
      padding: 6px 12px;
      font-size: 0.75rem;
    }
    
    .grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.8rem;
    }
    
    .card {
      padding: 0.8rem;
    }
    
    .card-image-container {
      height: 100px;
    }
    
    .card h2 {
      font-size: 0.9rem;
    }
    
    .card-desc {
      font-size: 0.75rem;
      min-height: 30px;
      margin: 0.2rem 0;
    }
    
    .precio {
      font-size: 1.2rem;
      margin: 0.3rem 0;
    }
    
    .boton-wpp {
      padding: 7px 12px;
      font-size: 0.8rem;
      margin-top: 0.6rem;
    }
    
    /* Ajustes adicionales para el buscador */
    .search-container {
      width: calc(100% - 10px);
      margin-bottom: 1.2rem;
    }
    
    .search-box {
      padding: 8px 14px;
      padding-right: 36px;
      font-size: 0.8rem;
    }
    
    .search-icon {
      right: 14px;
      font-size: 0.85rem;
    }

    /* Ajustes adicionales del hero slider para móviles pequeños */
    .hero-slider {
      height: 200px;
    }
    
    .slide-overlay {
      padding: 1rem;
    }
    
    .slide-title {
      font-size: 1.2rem;
      margin-bottom: 0.3rem;
    }
    
    .slide-description {
      font-size: 0.8rem;
    }
    
    .nav {
      width: 36px;
      height: 36px;
    }
    
    .nav svg {
      width: 18px;
      height: 18px;
    }
  }
/* Ajuste ultra compacto para pantallas ≤360px */
@media (max-width: 360px) {
    .grid {
      grid-template-columns: 1fr;
      gap: 0.6rem;
      padding: 0 0.3rem;
    }
    
    .card-image-container {
      height: 100px;
    }
    
    .titulo {
      font-size: 1.2rem;
      margin-bottom: 0.3rem;
      padding: 0 0.5rem;
    }
    
    /* Sistema de filtros optimizado */
    .filtros {
      gap: 0.2rem;
      margin-bottom: 0.8rem;
      padding: 0.2rem 0.3rem;
      scroll-padding: 0 0.5rem;
    }
    
    .filtro-btn {
      padding: 4px 6px;
      font-size: 0.6rem;
      margin: 0 1px;
      border-radius: 6px;
      flex: 0 0 auto;
    }
    
    /* Contenedor de filtros con sombra de desplazamiento */
    .filtros-container {
      position: relative;
    }
    
    .filtros-container::after {
      content: "";
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      width: 15px;
      background: linear-gradient(90deg, transparent, var(--bg-color) 80%);
      pointer-events: none;
    }
    
    /* Tarjetas más compactas */
    .card {
      padding: 0.5rem;
      margin: 0 0.2rem;
    }
    
    .card-desc {
      min-height: 24px;
      font-size: 0.7rem;
      margin: 0.05rem 0;
    }
    
    .boton-wpp {
      padding: 5px 8px;
      font-size: 0.65rem;
      margin-top: 0.3rem;
    }

    /* Badges ultra compactos */
    .badge {
      padding: 2px 5px;
      font-size: 0.55rem;
      margin: 0 1px;
      border-radius: 8px;
    }
    
    .badge i {
      font-size: 0.55rem;
    }
    
    .badges-container {
      gap: 5px;
      margin: 3px 0;
    }
    
    /* Buscador compacto */
    .search-container {
      padding: 0 0.3rem;
      margin-bottom: 0.5rem;
    }
    
    .search-box {
      padding: 6px 10px;
      padding-right: 28px;
      font-size: 0.7rem;
    }
    
    .search-icon {
      right: 10px;
      font-size: 0.7rem;
    }

    /* Hero slider ultra compacto */
    .hero-slider {
      height: 150px;
      margin-bottom: 0.8rem;
    }
    
    .slide-title {
      font-size: 0.9rem;
      margin-bottom: 0.2rem;
    }
    
    .slide-description {
      font-size: 0.6rem;
      margin-bottom: 0.3rem;
    }
    
    .nav {
      width: 28px;
      height: 28px;
    }
    
    /* Optimización de animaciones para rendimiento */
    .card {
      animation: fadeInMobile 0.4s ease forwards;
    }
    
    @keyframes fadeInMobile {
      from { opacity: 0; transform: translateY(15px); }
      to { opacity: 1; transform: translateY(0); }
    }
}

/* Feedback táctil mejorado */
@media (hover: none) {
    .card:active {
      transform: translateY(-3px) scale(0.99);
      box-shadow: 0 10px 30px rgba(10, 10, 10, 0.6);
      transition: all 0.1s ease;
    }
    
    .boton-wpp:active {
      transform: translateY(-2px);
      background: var(--accent);
    }
    
    .filtro-btn:active {
      transform: scale(0.96);
    }
}