:root {
    --primary: #0052cc;
    
    --text: #222;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f8fafc;
    --bg-white: #ffffff;
  --bg-card: #ffffff;
  --radius-full: 9999px;
      
}

* {
    box-sizing: border-box
}




body {
    margin: 0;
    font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto;
    color: var(--text);
    background: var(--bg)
    
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 16px
}



.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700
}

.menu.desktop {
    display: none
}


.hero-title { display:block; }
.hero-title-img{
  display:block;
  max-width: 100%;
  height: auto;
  /* Ajustes visuales opcionales */
  margin: 0;
  /* Si quieres limitar el ancho en pantallas muy grandes: */
  /* width: clamp(240px, 40vw, 720px); */
}


@media(min-width:768px) {
    .menu.desktop {
        display: flex;
        gap: 18px;
        align-items: center
    }

    
}


.nav-btn-quote {
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-full);
    transition: transform .15s ease, box-shadow .15s
    
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(13, 110, 253, .18)
}

.btn-outline {
    background: #fff;
    color: #111;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none
}

.btn-cart {
    display: inline-flex
}







.page-title {
    margin: 100px 0 8px
}

.muted {
    color: var(--muted)
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    align-items: center;
    margin: 28px 0
}

.hero-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 12px
}

.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 12px
}

.price {
    font-weight: 12px
}

.filters {
    display: grid;
    grid-template-columns: 1fr 220px 220px auto;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    margin: 16px 0
}

.filters input,
.filters select {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px
}

.product {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px 0
}

.product-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px
}

.product-actions input {
    width: 90px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px
}

.cart {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px
}

.cart .item {
    display: grid;
    grid-template-columns: 1fr 90px 120px auto;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border)
}

.cart .item:last-child {
    border-bottom: none
}

.cart .total {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 12px;
    font-weight: 700
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.brand-pill {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.breadcrumb {
    font-size: 14px;
    color: var(--muted);
    margin: 12px 0
}

.breadcrumb a {
    color: inherit
}

@media(min-width:768px) {
    .hero {
        grid-template-columns: 1.1fr .9fr
    }

    .grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .product {
        grid-template-columns: 1.1fr .9fr
    }

    .brand-grid {
        grid-template-columns: repeat(6, 1fr)
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(10px);
    animation: reveal .5s ease forwards
}

.reveal-up.delay-1 {
    animation-delay: .1s
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}



/* === Botones en una sola fila con espacios no muy anchos === */
.actions-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;              /* espacio compacto entre “Ver” y “WhatsApp” */
}
.actions-row--tight{ gap: 8px; } /* aún más compacto si lo aplicas */

/* === Botón de WhatsApp básico === */
:root{ --wa:#25D366; }
.btn-wa{
  background: var(--wa);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
transition: transform .15s ease, box-shadow .15s ease;
}
.btn-wa:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37,211,102,.25);
}

.btn-wa--circle{
  width: 44px;            /* ajusta a 36 / 40 / 48 si lo quieres distinto */
  height: 44px;
  padding: 0;             /* importante: sin padding para que sea un círculo real */
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(37,211,102,.25);
}

.btn-wa .wa-icon{ width: 28px; height: 28px; display: inline-block; }

/* === Botón de WhatsApp PRO de Alta Conversión === */
.btn-wa-pro {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  user-select: none;
}

.btn-wa-pro::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  transition: none;
}

.btn-wa-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.44), 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #ffffff !important;
}

.btn-wa-pro:hover::before {
  left: 140%;
  transition: left 0.75s ease;
}

.btn-wa-pro:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-wa-pro__icon-box {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-wa-pro:hover .btn-wa-pro__icon-box {
  transform: scale(1.08) rotate(-4deg);
}

.btn-wa-pro__content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-wa-pro__main {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.btn-wa-pro__sub {
  font-size: 0.76rem;
  font-weight: 500;
  color: #e6fffa;
  margin-top: 2px;
  opacity: 0.95;
  letter-spacing: 0.01em;
}

.btn-wa-pro__action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #ffffff;
  margin-left: 6px;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn-wa-pro:hover .btn-wa-pro__action {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 640px) {
  .btn-wa-pro {
    width: 100%;
    justify-content: space-between;
    padding: 12px 18px;
  }
}

/* === Cards con animaciones atractivas para destacar el producto === */
/* - elevación + brillo de borde + zoom suave en imagen */
.card.card--fx{
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card.card--fx:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0,0,0,.12);
  border-color: rgba(13,110,253,.35); /* brillo sutil con el color primario */
}
.card.card--fx::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 40% at 50% -10%, rgba(13,110,253,.08), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
}
.card.card--fx:hover::after{ opacity: 1; }

.card.card--fx .card-img{
  width: 100%;
  aspect-ratio: 16/9;            /* reduce altura => se percibe más ancho */
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform .35s ease;
}
.card.card--fx:hover .card-img{
  transform: scale(1.03);        /* zoom suave al pasar el mouse */
}

/* Título y precio con pequeños ajustes */
.card-title{ display:block; margin-top:10px; margin-bottom:4px; }
.price{ font-weight:700; }       /* corrige font-weight inválido */
.tax-note{ font-size: 12px; color:#6b7280; margin-left:6px; }

/* (Opcional) Grilla de destacados más ancha en desktop */
#homeFeatured{
  display: grid;
  grid-template-columns: 1fr;    /* móvil: 1 por fila */
  gap: 18px;
}
@media (min-width: 768px){
  #homeFeatured{
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* desktop: 2 por fila => más ancho por card */
  }
}


/* Fila de acciones compacta para Ver + WhatsApp */
.actions-row{ display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.actions-row--tight{ gap:8px; }


.muted{
    text-align:left;
}



.btn-wa:hover{ transform: translateY(-1px); box-shadow: 0 10px 20px rgba(37,211,102,.25); }




/* === Paginación visual para Tienda === */
.pagination{
  margin: 16px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Contenedor del pager */
.pager{
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

/* Botón de página */
.page-btn{
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: #0f172a;
  border-radius: 10px;
  cursor: pointer;
  font: 500 14px/1 system-ui,-apple-system,Segoe UI,Roboto;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.page-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}
.page-btn[disabled],
.page-btn.is-disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Números */
.page-numbers{
  display: flex;
  gap: 6px;
}
.page-btn.is-active,
.page-btn[aria-current="page"]{
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 18px rgba(13,110,253,.18);
}

/* Elipsis */
.pager .dots{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  color: #64748b;
}

/* Texto auxiliar "Página X de Y" */
.pager-info{
  color: #64748b;
  font-size: 14px;
}

/* Responsive: más grandes en móvil */
@media (max-width: 480px){
  .page-btn{ min-width: 34px; height: 34px; padding: 0 8px; }
  .page-numbers{ gap: 4px; }
}




/* Grid básica productos (resumen) */
.grid{ display:grid; grid-template-columns:repeat(1,1fr); gap:16px }
@media(min-width:768px){ .grid{ grid-template-columns:repeat(3,1fr) } }
.price{ font-weight:700 }
.tax-note{ font-size:12px; color:#6b7280; margin-left:6px }

/* === Marcas: galería de logos con animación y responsive === */
.brand-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px }
@media(min-width:480px){ .brand-grid{ grid-template-columns:repeat(3,minmax(0,1fr)) } }
@media(min-width:768px){ .brand-grid{ grid-template-columns:repeat(6,minmax(0,1fr)) } }
.brand-card{ background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:12px; display:grid; place-items:center; height:84px; transition:transform .25s, box-shadow .25s, border-color .25s; opacity:0; animation:brandPop .45s ease forwards }
.brand-card:hover{ transform:translateY(-4px) scale(1.03); box-shadow:0 14px 26px rgba(0,0,0,.08); border-color:rgba(13,110,253,.22) }
.brand-card[data-i]{ animation-delay:calc(.03s * var(--i,0)) }
.brand-logo{ max-width:100%; max-height:48px; object-fit:contain; filter:saturate(.9) contrast(1); transition:filter .25s }
.brand-card:hover .brand-logo{ filter:saturate(1.1) contrast(1.05) }
@keyframes brandPop{ 0%{opacity:0; transform:translateY(8px) scale(.98)} 100%{opacity:1; transform:translateY(0) scale(1)} }







/* ---- ANIMACIÓN 3: BOUNCE-IN + FLOAT ---- */
.brand-anim--float{
  animation: brandBounceIn .6s ease-out both, brandFloat 6s ease-in-out 1s infinite;
}
@keyframes brandBounceIn{
  0%   { transform: scale(.8); opacity:0; }
  60%  { transform: scale(1.05); opacity:1; }
  100% { transform: scale(1); }
}
@keyframes brandFloat{
  0%   { transform: translateY(0) }
  50%  { transform: translateY(-4px) }
  100% { transform: translateY(0) }
}






.trust-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  padding:18px 0;
}
@media(min-width:768px){
  .trust-grid{ grid-template-columns:repeat(4,1fr); }
}

/* Confianza animada */
.trust-item{
  font-weight:600;
  font-size:14px;
  text-align:center;
  animation: fadeUp .6s ease both;
}
.trust-item:nth-child(2){animation-delay:.1s}
.trust-item:nth-child(3){animation-delay:.2s}
.trust-item:nth-child(4){animation-delay:.3s}

@keyframes fadeUp{
  from{opacity:0; transform:translateY(10px)}
  to{opacity:1; transform:translateY(0)}
}




/* === Badge de Promoción (Destacados) === */
.card.promo {
  position: relative;
  overflow: hidden;
}

/* Ribbon diagonal */
.promo-badge {
  position: absolute;
  top: 14px;
  left: -42px;
  width: 140px;
  text-align: center;
  background: linear-gradient(135deg, #3b5cff, #18baff);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(81, 80, 80, 0.35);
  letter-spacing: .6px;
  z-index: 5;

  /* Animación de entrada */
  animation: promoPop .6s ease-out both;
}

/* Brillo sutil animado */
.promo-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.5),
    transparent
  );
  transform: translateX(-100%);
  animation: promoShine 2.8s ease-in-out infinite;
}

/* Hover en la card: la promo "respira" */
.card.promo:hover .promo-badge {
  transform: rotate(-45deg) scale(1.04);
}

/* Animaciones */
@keyframes promoPop {
  0%   { opacity: 0; transform: rotate(-45deg) scale(.8); }
  60%  { opacity: 1; transform: rotate(-45deg) scale(1.08); }
  100% { opacity: 1; transform: rotate(-45deg) scale(1); }
}

@keyframes promoShine {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(110%); }
  100% { transform: translateX(110%); }
}




.no-img {
  width: 60px;
  height: 60px;
  background: #fafafa;
  border: 1px dashed #ccc;
  font-size: 11px;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ==========================================================================
   Product Detail Page Enhancements (producto.html)
   ========================================================================== */
.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 24px 0 48px;
  align-items: start;
}

@media (min-width: 900px) {
  .product {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
  }
}

.product-media {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  transition: transform 0.35s ease;
}

.product-media:hover img {
  transform: scale(1.02);
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-info h1 {
  font-size: 2.15rem;
  font-weight: 800;
  color: #0a2540;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 8px 0;
}

.product-info p#pShortDesc {
  font-size: 1.05rem;
  color: #64748b;
  margin: 0 0 16px 0;
  line-height: 1.5;
  font-weight: 500;
}

.product-info .price {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0056b3;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-info .tax-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-info #pDesc {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 28px;
}

.product-info #pDesc strong {
  color: #0f172a;
  font-weight: 700;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.breadcrumb {
  font-size: 0.92rem;
  color: #64748b;
  margin: 16px 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #0056b3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Responsive Filters for Tienda Virtual */
@media (max-width: 768px) {
  .filters {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }
  .filters input,
  .filters select,
  .filters button {
    width: 100%;
  }
}

