:root{
  --bg:#f6f9fc;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --accent:#2563eb;
  --accent2:#06b6d4;
  --accent-soft:#eff6ff;
  --shadow:0 14px 40px rgba(15,23,42,.08);
  --radius:18px;
}


*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: 'Inter', system-ui, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(800px 420px at 95% 0%, rgba(6,182,212,.10), transparent 55%),
    var(--bg);
}

a{color:inherit;text-decoration:none}

/* ===== Header (tu HTML usa .topbar, .logo, .kbd, etc) ===== */
header{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}


.topbar{
  max-width:1100px;
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
}

.logo{
  width:64px;height:64px;
  border-radius:14px;
  border:1px solid var(--line);
  background:linear-gradient(135deg, rgba(37,99,235,.10), rgba(6,182,212,.10));
  overflow:hidden;
  display:grid;place-items:center;
}
.logo img{width:100%;height:100%;object-fit:cover;display:block}

.brand h1{margin:0;font-size:15px;letter-spacing:-.2px}
.brand p{margin:2px 0 0;font-size:12px;color:var(--muted)}

.search{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  background:white;
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 12px;
  box-shadow: 0 6px 18px rgba(15,23,42,.05);
}
.search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  font-size:14px;
  color:var(--text);
}
.kbd{
  font-size:12px;
  color:var(--muted);
  padding:2px 8px;
  border-radius:10px;
  border:1px solid var(--line);
  background: #f8fafc;
  white-space:nowrap;
}

.cta{display:flex;gap:10px;align-items:center}

/* CONTENEDOR */
.pagination{
  display:flex;
  gap:14px;
  justify-content:center;
  align-items:center;
  margin:20px 0;
}

/* BOTONES */
.pagination-btn{
  background: transparent;
  border: none;
  border-radius:999px;
  font-weight:500;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
}


/* DISABLED */
.pagination-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

/* INFO CENTRAL */
.pagination-info{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  padding:8px 16px;
  border-radius:999px;
  font-size:13px;
  color:#475569;
  display:flex;
  align-items:center;
  gap:6px;
}

/* NUMERO ACTUAL DESTACADO */
.pagination-info strong{
  color:#2563eb;
  font-weight:600;
}

/* SEPARADOR */
.pagination-separator{
  opacity:.6;
}

.flecha-paginacion{
  width:20px;
  height:20px;

}

/* Buttons */
.btn{
  border:1px solid var(--line);
  background:white;
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  cursor:pointer;
  transition:.15s transform ease,.15s box-shadow ease,.15s border-color ease;
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(15,23,42,.10);
  border-color:#cbd5e1;
}
.btn.primary{
  border-color:rgba(37,99,235,.35);
  background:linear-gradient(180deg, rgba(37,99,235,.12), rgba(37,99,235,.06));
  color:#0b3aa8;
}
.btn.primary:hover{
  border-color:rgba(37,99,235,.55);
}

/* WhatsApp button */
.btn-wpp{
  background:#25D366;          /* WhatsApp green */
  border-color:#25D366;
  color:#fff;
  box-shadow:0 10px 22px rgba(37,211,102,.25);
}

.btn-wpp:hover{
  background:#1ebe5d;          /* un toque más oscuro */
  border-color:#1ebe5d;
}

.btn-wpp:active{
  transform: translateY(0);
  box-shadow:0 6px 14px rgba(37,211,102,.22);
}

/* ===== Page ===== */
.container{max-width:1100px;margin:0 auto;padding:24px}

/* Hero */
.hero{
  margin-top:14px;
  padding:22px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70));
  box-shadow: var(--shadow);
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
}
.hero h2{margin:0;font-size:22px;letter-spacing:-.3px}
.hero p{margin:10px 0 0;color:var(--muted);max-width:68ch;line-height:1.55;font-size:14px}
.small{color:var(--muted);font-size:13px;line-height:1.45}

/* Chips */
.chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0 10px;
}
.chip{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:white;
  cursor:pointer;
  font-size:13px;
  color:var(--text);
  transition:.15s;
}
.chip:hover{border-color:#cbd5e1; box-shadow:0 8px 18px rgba(15,23,42,.06)}
.chip.active{
  background:var(--accent-soft);
  border-color:rgba(37,99,235,.40);
  color:#0b3aa8;
  box-shadow:0 0 0 3px rgba(37,99,235,.08) inset;
}

/* Grid products */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  margin-top:12px;
}
.card{
  grid-column: span 12;
  border:1px solid var(--line);
  background:white;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 28px rgba(15,23,42,.07);
  cursor:pointer;
  transition:.15s transform ease,.15s box-shadow ease,.15s border-color ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(15,23,42,.10);
  border-color:#cbd5e1;
}
.thumb{
  height:170px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(135deg, rgba(37,99,235,.10), rgba(6,182,212,.10));
  position:relative;
  overflow:hidden;
  display:grid;place-items:center;
  color:var(--muted);
  font-size:12px;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.badge{
  position:absolute;
  top:12px;left:12px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:#0b3aa8;
  background:rgba(239,246,255,.92);
  border:1px solid rgba(37,99,235,.25);
  backdrop-filter: blur(6px);
}
.content{padding:14px}
.title{margin:0;font-size:15px}
.meta{
  margin:8px 0 0;
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;
  color:var(--muted);font-size:12px;
}
.price{
  margin-left:auto;
  font-weight:700;
  color:#0f172a;
}

.priceModal{
  font-weight:700;
  margin: 0;
  color:#0f172a;
  font-size:18px;
}

button:disabled,
button.is-disabled{
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}
.small{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.35}

/* Footer */
footer{
  margin:28px 0 10px;
  padding:18px 0 10px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
}

/* Modal */
.overlay{
  position:fixed;inset:0;
  background: rgba(15,23,42,.35);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:50;
}
.modal{
  width:min(860px,100%);
  border-radius:22px;
  border:1px solid var(--line);
  background:white;
  box-shadow: 0 30px 70px rgba(15,23,42,.20);
  overflow:hidden;
}
.modalTop{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
}
.close{
  border:1px solid var(--line);
  background:white;
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.modalBody{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
}
.modalImg{
  min-height:320px;
  border-right:1px solid var(--line);
  background: #f8fafc;
}
.modalImg img{width:100%;height:100%;object-fit:cover;display:block}
.modalInfo{padding:16px}
.modalInfo h3{margin:0 0 8px;font-size:18px}
.modalInfo p{margin:0 0 12px;color:var(--muted);line-height:1.45}
.row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.pill{
  border:1px solid var(--line);
  background:#f8fafc;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:var(--muted);
}

/* ===== NAV ===== */
.nav{
  display:flex;
  gap:10px;
  transform: translate(-30px, 0px);
  align-items:center;
  padding:0 6px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.6);
  border-radius:999px;
}

.nav__link{
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  transition:.15s;
}

.nav__link:hover{
  color:var(--text);
  background: rgba(37,99,235,.08);
}

/* Hero actions */
.heroActions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* ===== SECTIONS ===== */
.section{
  margin-top:18px;
  padding-top:8px;
}

.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:18px 0 12px;
}

.sectionHead h3{
  margin:0;
  font-size:18px;
  letter-spacing:-.2px;
}

.sectionHead p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

/* Alternate section background */
.sectionAlt{
  margin-top:26px;
  padding:22px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70));
  box-shadow: var(--shadow);
}

/* About cards */
.aboutGrid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  margin-top:12px;
}

.aboutCard{
  grid-column: span 12;
  border:1px solid var(--line);
  background:white;
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
}

.aboutCard h4{
  margin:0 0 8px;
  font-size:15px;
}

.aboutCard p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
  font-size:13px;
}

.listOk{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}

/* Contact */
.contactCard{
  border:1px solid var(--line);
  background:white;
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 12px 34px rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;      
  align-items:center;      
  text-align:center;          
  gap:16px;
}

.contactCard h3{ margin:0; }
.mutedText{ margin:10px 0 0; color:var(--muted); font-size:13px; line-height:1.55; }

.contactRow{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}

.contactItem{
  grid-column: span 12;
  border:1px solid var(--line);
  border-radius: 14px;
  padding:12px;
  background: #f8fafc;
}

.contactLabel{ display:block; font-size:12px; color:var(--muted); }
.contactValue{ display:block; margin-top:4px; font-size:13px; color:var(--text); }

.contactActions{
  align-items: center;
  display:flex;
}

/* ===== HERO FOTO REAL ===== */
.hero.heroPhoto{
  position: relative;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);

  /* FOTO HERO (podés cambiarla) */
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.85) 45%, rgba(255,255,255,.25) 75%),
    url('../assets/banner.png');

    background-size: cover;
}

/* Overlay */
.heroOverlay{
  position: relative;
  height: 100%;
  display:flex;
  align-items:center;
  padding: 28px;
  max-width: 560px;
}

.hero.heroPhoto{
  filter: blur(.2px);
}

/* Texto */
.heroText h2{
  font-weight: 500;      /* más fino */
  letter-spacing: .3px;  /* aire clínico */
  font-size: 26px;
  text-transform: uppercase;
}
.heroText p{
  margin-top:10px;
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}

.heroActions{
  margin-top:16px;
  display:flex;
  gap:10px;
}

/* ===== Spinner Cromo (sin Bootstrap) ===== */
.cromo-spinner-wrap{
  display:none;                 /* oculto por defecto */
  margin: 18px auto;
  text-align:center;
  color: var(--muted);
}

.cromo-spinner{
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 4px solid rgba(100,116,139,.25);  /* var(--muted) suave */
  border-top-color: rgba(37,99,235,.85);    /* var(--accent) */
  animation: cromoSpin 0.9s linear infinite;
}

.cromo-spinner-text{
  font-size: 13px;
}

/* =========================
   Skeleton card (modo claro)
   ========================= */

.grid.is-loading { pointer-events: none; }

.card.skeleton{
  position: relative;
  background: #ffffff;
  border: 1px solid #e6eef7;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(10, 35, 80, 0.06);
}

/* shimmer global encima */
.card.skeleton::after{
  content:"";
  position:absolute;
  inset:0;
  transform: translateX(-100%);
  background: linear-gradient(90deg,
    transparent,
    rgba(120,160,220,.18),
    transparent
  );
  animation: skel-shimmer 1.05s infinite;
  pointer-events:none;
}

@keyframes skel-shimmer{
  100%{ transform: translateX(100%); }
}

/* Parte imagen (como tu .thumb) */
.skel-thumb{
  position: relative;
  height: 130px; /* ajustá si tu imagen es más alta */
  background: #f1f5fb;
  border-bottom: 1px solid #e6eef7;
}

/* Badge arriba izquierda (chip) */
.skel-badge{
  position:absolute;
  top: 12px;
  left: 12px;
  height: 24px;
  width: 92px;
  border-radius: 999px;
  background: #e7eef9;
  border: 1px solid #d5e3fb;
}

/* Contenido (como tu .content) */
.skel-body{
  padding: 14px 14px 16px;
}

.skel-line{
  height: 12px;
  border-radius: 10px;
  background: #eef3fb;
  margin: 10px 0;
}

.skel-title{ height: 16px; width: 78%; }
.skel-meta1{ width: 62%; }
.skel-meta2{ width: 54%; }

/* Precio a la derecha: lo simulamos como pastilla */
.skel-price{
  height: 14px;
  width: 22%;
  margin-left: auto;
  border-radius: 10px;
  background: #e8f0ff;
}

/* “Descripción” de 2 líneas */
.skel-desc1{ width: 92%; height: 10px; }
.skel-desc2{ width: 75%; height: 10px; }

/* Accesibilidad: si el user prefiere menos animación */
@media (prefers-reduced-motion: reduce){
  .card.skeleton::after{ animation: none; }
}

@keyframes cromoSpin{
  to { transform: rotate(360deg); }
}

/* Responsive */
@media(max-width:800px){
  .hero.heroPhoto{
    height: 300px;
    background-position: right;
  }
}

/* Responsive */
@media (min-width: 860px){
  .aboutCard{ grid-column: span 4; }
  .contactItem{ grid-column: span 4; }
}

@media (max-width: 920px){
   /* en mobile escondemos nav para no apretar el header */
}   



@media (min-width:960px){ 
  .card{grid-column: span 4;} 
}

@media (max-width:820px){
  .modalBody{grid-template-columns:1fr;}
  .modalImg{border-right:0;border-bottom:1px solid var(--line);}
  .brand{min-width:auto}
}

@media (max-width:560px){
  .nav{ display:none; }
  .kbd{display:none}
   .thumb{
    height: auto;
    aspect-ratio: 16 / 9;   /* o 4/3 si te gusta más cuadrada */
  }
  .thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}