
  /* =====================
     Diseño base y temas
  ====================== */
  :root{
    --primary:#0d6efd;
    --primary-600:#0b5ed7;
    --accent:#25D366;
    --danger:#dc3545;
    --ok:#22c55e;
    --bg:#f5f7fb;
    --card:#ffffff;
    --text:#1f2937;
    --muted:#6b7280;
    --border:#e5e7eb;
    --shadow:0 10px 30px rgba(0,0,0,.08);
  }
  [data-theme="dark"]{
    --bg:#0b1220;
    --card:#0f172a;
    --text:#e5e7eb;
    --muted:#a1a1aa;
    --border:#1f2937;
    --shadow:0 12px 34px rgba(0,0,0,.5);
  }
  *{box-sizing:border-box}
  html,body{
    height:100%
  }

  body{
    margin:0;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
  }

  a{color:inherit;
    text-decoration:none
  }

  img{
    max-width:100%;
    display:block
  }

  button{
    font:inherit
  }

  .container{
    max-width:1350px;
    margin:0 auto;
    padding:0 16px
  }

  /* =====================
     Header / Navbar
  ====================== */
  header{
    position:sticky;
    top:0;z-index:20;
    background:var(--card);
    border-bottom:1px solid var(--border);
    backdrop-filter:saturate(180%) blur(8px);
  }

  .nav{
    display:flex;
    align-items:center;
    gap:14px;
    justify-content:space-between;
    padding:12px 0
}

  .brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:800
}
  .brand .logo{
    font-size:22px
  }

  .search{
    flex:1;max-width:560px;
    display:flex;
    align-items:center;
    gap:8px;
    background:rgba(0,0,0,.03);
    border:1px solid var(--border);
    border-radius:12px;
    padding:8px 10px
  }

  .search input{
    outline:none;
    border:none;
    background:transparent;width:100%
  }

  .actions{
    display:flex;
    gap:8px;
    align-items:center
  }

  .btn{
    border:1px solid var(--border);
    background:var(--card);
    color:var(--text);
    padding:8px 12px;
    border-radius:10px;
    cursor:pointer;
    transition:.2s;
    box-shadow:0 2px 8px rgba(0,0,0,.04)
  }

  .btn:hover{
    transform:translateY(-1px)
  }

  .btn-primary{
    background:var(--primary);
    border-color:transparent;
    color:#fff
  }

  .btn-primary:hover{
    background:var(--primary-600)
  }

  .btn-ghost{
    background:transparent
  }

  .toggle{
    display:flex;
    align-items:center;
    gap:8px
  }

  /* Cart bubble */
  .cart-bubble{
    position:fixed;
    right:18px;
    top:86px;
    z-index:25;
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--primary);
    color:#fff;
    font-size:26px;
    cursor:pointer;
    box-shadow:var(--shadow)
  }

  .cart-count{
    position:absolute;
    top:-6px;
    right:-6px;
    background:var(--danger);
    color:#fff;
    border-radius:999px;
    padding:2px 7px;
    font-size:12px;
    font-weight:800;
    border:2px solid var(--card)
  }

  /* Cart panel */

  .thumb{
    height:370px;
  }

  .cart{
    position:fixed;
    right:18px;
    top:156px;
    z-index:30;
    width:px;
    max-height:70vh;
    display:none;
    flex-direction:column;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--shadow);
    overflow:hidden
  }
  
  @media (max-width:420px){.cart{width:92vw;right:4vw}}

  .cart header{border-bottom:1px solid var(--border);
    padding:12px 14px;
    font-weight:700
  }

  .cart-body{
    padding:8px 0;
    overflow:auto
  }

  .empty{
    padding:18px;
    color:var(--muted);
    text-align:center
  }
  .cart-item{
    display:flex;
    gap:10px;
    align-items:center;
    padding:10px 12px;
    border-bottom:1px solid var(--border)
  }
  .cart-item:last-child{
    border-bottom:none
  }

  .cart-img{
    width:56px;
    height:56px;
    border-radius:10px;
    object-fit:cover;
    background:#0b1220/6;
    border:1px solid var(--border)
  }

  .cart-title{
    font-size:14px;
    font-weight:700
  }

  .cart-meta{
    font-size:12px;
    color:var(--muted)
  }

  .grow{
    flex:1
  }

  .qty{
    display:flex;
    align-items:center;
    border:1px solid var(--border);
    border-radius:9px;
    overflow:hidden
  }

  .qty button{
    background:transparent;
    border:none;
    width:28px;
    height:28px;
    cursor:pointer;
    font-weight:800
  }

  .qty span{
    display:inline-block;
    width:32px;
    text-align:center;
    font-size:13px
  }

  .remove{
    background:var(--danger);
    color:#fff;
    border:none;
    border-radius:8px;
    padding:6px 8px;
    cursor:pointer;
    font-size:12px
  }

  .cart-footer{
    border-top:1px solid var(--border);
    padding:12px 14px
  }

  .totals{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
    font-weight:800
  }

  .cart-actions{
    display:flex;
    gap:8px
  }

  /* WhatsApp bubble */
  .wa-bubble{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:25;
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--accent);
    color:#fff;
    font-size:28px;
    cursor:pointer;
    box-shadow:var(--shadow)
  }

  .wa-tip{
    position:absolute;
    right:74px;
    bottom:50%;
    transform:translateY(50%);
    background:var(--card);
    color:var(--text);
    font-size:12px;
    padding:6px 10px;
    border-radius:8px;
    box-shadow:var(--shadow);
    white-space:nowrap;
    opacity:0;
    pointer-events:none;
    transition:opacity .35s ease
  }

  .wa-tip.show{
    opacity:1
  }

  /* =====================
     Banner / Carrusel
  ====================== */
  .hero{
    position:relative;
    overflow:hidden
}

  .slides{
    position:relative;
    height:400px;
    border-radius:16px;
    background:#111;
    color:#fff
}

  .slide{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity .6s ease
}

  .slide.active{
    opacity:1
}
  .hero-dots{
    position:absolute;
    bottom:10px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px
  }

  .hero-dots button{
    width:10px;
    height:10px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.6);
    cursor:pointer
  }

  .hero-dots button.active{
    background:#fff
  }

  @media (max-width: 768px) {
  .slides {
    display: none;
  }
}

  /* =====================
     Filtros / Ordenar
  ====================== */
  .controls{
    margin:18px 0;
    display:grid;
    grid-template-columns:1fr;
    gap:10px
  }

  .filters, .sorts{
    display:flex;
    flex-wrap:wrap;
    gap:10px
  }

  .control{
    display:flex;
    gap:6px;
    align-items:center;
    background:var(--card);
    border:1px solid var(--border);
    padding:8px 10px;
    border-radius:12px
  }

  .control label{
    font-size:12px;
    color:var(--muted)
  }

  .control input, .control select{
    border:none;
    outline:none;
    background:transparent
  }

  /* =====================
     Grid productos
  ====================== */
  .grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px; 
}

.paginacion{
  margin: 2opx 0;
}

.paginacion ul{
  list-style: none;
  text-align: center;
}

.paginacion ul li{
  display: inline-block;
  margin-right: 10px;
}

.paginacion ul li a{
  display: block;
  padding: 10px 20px;
  color: #fff;
  background: #024959;
  text-decoration: none;
}

.paginacion ul li a:hover {
  background: #037E8C;
}

.paginacion ul li .active{
  background: #037E8C;
  font-weight: bold;
}

  @media (max-width:1024px){.grid{grid-template-columns:repeat(2,1fr)}}
  @media (max-width:640px){.grid{grid-template-columns:1fr}}
 
  .card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    box-shadow:var(--shadow);
    transition:transform .15s ease, box-shadow .15s ease;
    opacity:0;
    animation:fadeIn .5s ease forwards
}
  .card:hover{
    transform:translateY(-4px)
  }
  .thumb{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    transition:transform .35s ease
  }
  .card:hover .thumb{
    transform:scale(1.05)
  }

  .card-body{
    padding:14px;
    display:flex;
    flex-direction:column;
    gap:10px;
}
  .brand-badge{
    display:inline-block;
    background:var(--ok);
    color:#fff;
    font-size:12px;
    font-weight:700;
    border-radius:999px;
    padding:4px 10px
  }

  .title{
    font-size:16px;
    font-weight:800
  }

  .features{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    color:var(--muted);
    font-size:12px
  }

  .price{
    font-size:18px;
    font-weight:800;
    color:var(--ok)
  }

  .row{
    display:flex;
    justify-content:space-between;
    align-items:center}
  .btns{
    display:flex;
    gap:8px
  }

  .btn-whatsapp{
    background:var(--accent);
    border-color:transparent;
    color:#fff
  }

  .heart{
    cursor:pointer;
    font-size:20px;
    color:#bbb
  }

  .heart.active{
    color:#ef4444
  }

  .rating{font-size:12px;
    color:#f59e0b
  }

  .reviews{font-size:12px;
    color:var(--muted)
  }

  @keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

  /* =====================
     FAQ & Contacto
  ====================== */
  .faq{
    margin-top:30px
}
  details{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:12px;
    padding:12px;
    margin-bottom:8px
}
  summary{
    cursor:pointer;
    font-weight:700
}

  .contact{
    margin-top:30px;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:16px;
    padding:16px;
    display:grid;
    gap:10px
  }

  .contact .row{
    gap:10px
  }

  .contact input,.contact textarea{
    width:100%;
    padding:10px;
    border-radius:10px;
    border:1px solid var(--border);
    background:transparent;
    color:var(--text)
  }

  .contact textarea{
    min-height:110px;
    resize:vertical
  }

  /* =====================
     Footer
  ====================== */
  footer{
    margin-top:36px;
    background:var(--card);
    border-top:1px solid var(--border)
  }

  .footer-wrap{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    padding:20px 0
  }

  .footer-wrap h4{
    margin:0 0 8px
  }
  .pay-row,.social-row{
    display:flex;
    gap:8px;
    flex-wrap:wrap
  }

  .copyright{
    border-top:1px solid var(--border);
    padding:12px 0;
    color:var(--muted);
    font-size:12px
  }
  @media (max-width:820px){.footer-wrap{grid-template-columns:repeat(2,1fr)}}
  @media (max-width:520px){.footer-wrap{grid-template-columns:1fr}}

  /* =====================
     Toast
  ====================== */
  .toast{
    position:fixed;
    left:50%;
    bottom:20px;
    transform:translateX(-50%);
    background:#111;
    color:#fff;
    padding:10px 14px;
    border-radius:10px;
    font-size:14px;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s, transform .25s;
    z-index:99
  }
  
  .toast.show{
    opacity:1;
    transform:translateX(-50%) translateY(-6px)
  }
