/* ===== ESTILOS GLOBALES - TEMA CLARO NAVIDEÑO ===== */
html, body {
  background-image: url('../img/fondo.png') !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  color: #1a1a1a !important;
}

/* Forzar texto oscuro globalmente - SIN FONDO BLANCO */
p, span, a, h1, h2, h3, h4, h5, h6, li, td, th, label, input, textarea, button {
  color: #1a1a1a !important;
}

/* ===== Contenedor general para centrar el navbar ===== */
.custom-navbar-wrapper {
  background: transparent !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* ===== Bloque del navbar con estilo primaveral más oscuro ===== */
.custom-navbar {
  background: #F5C5D0 !important;
  border: 3px solid #F8C1BA !important;
  border-radius: 50px !important; /* siempre redondo */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 80% !important;
  max-width: 1200px !important;
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
  box-shadow: 0 4px 12px rgba(248, 193, 186, 0.2) !important;
}

/* ===== Links ===== */
.custom-navbar .nav-link {
  color: #2c2c2c !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  text-shadow: none !important;
  transition: color 0.3s ease !important;
}
.custom-navbar .nav-link:hover {
  color: #F8C1BA !important;
}

/* ===== Marca ===== */
.custom-navbar .navbar-brand {
  color: #2c2c2c !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

/* ===== Logo ===== */
.custom-navbar .navbar-brand img {
  display: inline-block !important;
  vertical-align: middle !important;
}

/* ===== Botón hamburguesa ===== */
.navbar-dark .navbar-toggler {
  border-color: #222 !important;
}
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(34,34,34, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* ===== Botones de la navbar ===== */
.btn-contacto {
  background-color: rgba(248, 193, 186, 0.2) !important;
  border: 2px solid #F8C1BA !important;
  color: #2c2c2c !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: 0.4rem 1rem !important;
  transition: transform 0.2s ease, border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease !important;
  text-decoration: none !important;
}
.btn-contacto:hover {
  transform: translateY(-2px) !important;
  background-color: #F8C1BA !important;
  border-color: #EBBAB5 !important;
  color: #fff !important;
}

/* ===== Estado activo ===== */
.btn-contacto.active,
.navbar-nav .nav-item .btn-contacto[aria-current="page"] {
  background-color: #F8C1BA !important;
  color: #fff !important;
  border-color: #F8C1BA !important;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .custom-navbar {
    width: 100% !important;
    border-radius: 50px !important; /* mantener redondeado en móviles */
    flex-wrap: wrap !important;
  }
  .btn-contacto {
    display: block !important;
    text-align: center !important;
    margin-top: 0.5rem !important;
  }
}

/* Fuente base para todo el texto */
html, body {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

/* Títulos y encabezados */
h1, h2, h3, h4, h5, h6,
.section-title,
.product-title,
.btn-comprar {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #1a1a1a !important;
}

/* Texto descriptivo, meta y etiquetas */
p, li, a, span,
.product-meta,
.tag,
.text-muted,
label, input, textarea, select {
  color: #1a1a1a !important;
}

/* Cards solo con fondo blanco si no heredan - permitir transparencia */
.cat-card, .product-card, .product-card2, .combo-card {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border: 1px solid #e0e0e0 !important;
}

.small {
  font-family: 'Nunito Sans', sans-serif;
}

:root{
  --bg: #FFF5F2;           /* Fondo base blanco rosado */
  --text: #2c2c2c;         /* Texto principal oscuro */
  --muted: #5a5a5a;        /* Texto secundario */
  --accent: #F8C1BA;       /* Rosa coral claro (highlight) */
  --accent-2: #EBBAB5;     /* Rosa más claro (hover) */
  --green: #FFF5F2;        /* Blanco rosado (complemento) */
  --danger: #F5C5D0;       /* Rosa claro (alerta) */
  --card: #ffffff;         /* Fondo tarjeta blanco puro */
  --border: #E8D4C0;       /* Bordes taupe rosado */
  --radius: 14px;
}

body {
  /* Imagen de fondo */
  background: url('../img/fondo.png') no-repeat center center fixed;
  background-size: cover;

  /* Color de respaldo por si la imagen no carga */
  background-color: var(--bg);

  /* Fuente y color de texto global */
  color: var(--text);
  position: relative;
}

/* Capa de opacidad encima de la imagen */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6); /* blanco con 60% opacidad */
  z-index: -1; /* queda detrás del contenido */

}

.section-title {
  border-left: 6px solid #F8C1BA;
  padding-left: .6rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.muted { color: var(--muted); }

/* ===== CONSOLIDATED CARDS & PRODUCTS ===== */
.cat-card,
.product-card,
.combo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover,
.product-card:hover,
.combo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* Card images */
.cat-img,
.product-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.product-img { aspect-ratio: 1/1; }

/* Titles & meta */
.cat-title,
.product-title { font-weight: 700; color: #111; margin-bottom: .2rem; }
.product-meta { font-size: .9rem; color: var(--muted); }

/* Badges unified */
.badge-stock,
.badge-out {
  color: #fff;
  border-radius: 999px;
  padding: .25rem .55rem;
  font-size: .8rem;
}
.badge-stock { background-color: #FFF5F2; }
.badge-out { background-color: #F5C5D0; }

/* Unified tag & price styles */
.tag {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .8rem;
  color: #333;
  margin-right: .4rem;
  margin-top: .3rem;
}
.price {
  color: #EBBAB5;
  font-weight: 800;
  font-size: 1.15rem;
}
.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: .95rem;
  margin-left: .4rem;
}

/* Promo */
.promo-badge {
  background: #FFF5F2;
  color: #2c2c2c;
  font-weight: 700;
  border-radius: 999px;
  padding: .35rem .7rem;
  font-size: .9rem;
}

/* CTA Final con color sólido para contraste */
#cta-final {
  background-color: #F8C1BA !important; /* Rosa coral */
  color: #fff !important;
}

#cta-final h2,
#cta-final p {
  text-shadow: 1px 1px 2px rgba(255,255,255,0.4) !important; /* mejora legibilidad */
}

/* Botón del CTA */
#cta-final .btn {
  background-color: #2c2c2c !important;
  border: 2px solid #2c2c2c !important;
  color: #F8C1BA !important; /* mismo rosa del fondo */
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: 0.6rem 1.5rem !important;
  transition: all 0.3s ease !important;
}

#cta-final .btn:hover {
  background-color: transparent !important;
  color: #2c2c2c !important;
  border-color: #2c2c2c !important;
}


/* ===== Footer primaveral forzado ===== */
footer {
  background: #F5C5D0 !important;
  color: #2c2c2c !important; /* texto más claro */
  padding: 2rem 0 !important;
  text-align: center !important;
  box-shadow: 0 -4px 12px rgba(248, 193, 186, 0.15) !important;
}

/* ===== Enlaces del footer ===== */
.footer-link {
  color: #2c2c2c !important; /* blanco para contraste */
  font-weight: 600 !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
  transition: color 0.3s ease !important;
}
.footer-link:hover {
  text-decoration: underline !important;
  color: #F8C1BA !important; /* rosa claro al hover */
}

/* ===== Texto principal del footer ===== */
.footer-main {
  font-size: 0.9rem !important;
}

/* ===== Botones sociales ===== */
.footer-social .social-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background-color: rgba(248, 193, 186, 0.3) !important;
  color: #2c2c2c !important;
  font-size: 1.2rem !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  border: 2px solid #F8C1BA !important;
}
.footer-social .social-btn:hover {
  background-color: #F8C1BA !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}



/* Forzar tamaño uniforme en el hero */
.hero-carousel {
  overflow: hidden;
}

.hero-carousel .carousel-item {
  height: 600px; /* Altura fija en desktop */
}

.hero-carousel .hero-img {
  height: 100%;
  width: 100%;
  object-fit: cover; /* Desktop: recorta manteniendo proporción */
  object-position: center;
}

/* Overlay encima de la imagen, pero sin bloquear clics */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 193, 186, 0.1);
  z-index: 1;
  pointer-events: none;
}

/* Caption por encima del overlay y clickeable */
.hero-caption {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 12%;
  z-index: 2;
  pointer-events: auto;
}

/* Botón con área clickeable “amplia” */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  background-color: var(--accent);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  z-index: 3;
  transition: background-color .3s ease, transform .2s ease;
}
.btn-hero:hover {
  background-color: var(--accent-2);
  transform: translateY(-2px);
}

/* Evitar que indicadores/controles tapen la caption */
.hero-carousel .carousel-indicators,
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  z-index: 4;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .hero-carousel .carousel-item {
    height: auto; /* Deja que la altura se ajuste al contenido */
  }
  .hero-carousel .hero-img {
    height: auto;
    max-height: 100vh; /* No más alto que la pantalla */
    object-fit: contain; /* Muestra la imagen completa */
    background-color: #f5f5f5; /* Fondo claro */
  }
  .hero-caption {
    bottom: 8%;
  }
  .btn-hero {
    padding: .6rem 1rem;
    font-size: .95rem;
  }
}

/* Quitar color azul y subrayado de los enlaces de categorías */
.cat-card {
  text-decoration: none;       /* sin subrayado */
  color: inherit;              /* usa el color del texto del contenedor */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  text-decoration: none;       /* asegura que no aparezca subrayado al pasar el mouse */
}

.cat-card .cat-title {
  font-weight: 600;
  color: var(--text);          /* color de texto principal */
}

.cat-card .badge-stock {
  background-color: var(--green);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

/* Si hay enlaces a WhatsApp u otros con iconos, quitar color verde por defecto */
a[href^="https://wa.me"] {
  color: inherit !important;
  text-decoration: none !important;
}
/* Tarjeta de categoría estilo overlay */
.cat-card-overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 180px;
  text-decoration: none;
}

.cat-card-overlay .cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.cat-card-overlay .cat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1); /* oscurece para legibilidad */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.cat-card-overlay .cat-title {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
  text-shadow: 
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000,
    -2px 0px 0 #000,
    2px 0px 0 #000,
    0px -2px 0 #000,
    0px 2px 0 #000;
}

.cat-card-overlay:hover .cat-bg {
  transform: scale(1.05);
}

.cat-card-overlay:hover .cat-overlay {
  background: rgba(0,0,0,0.5);
}



.ventajas-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.ventaja-item {
  text-align: center;
}


.ventaja-icon {
  width: 70px;
  height: 70px;
  background: #F8C1BA;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ventaja-icon:hover {
  transform: scale(1.1);
  background-color: #EBBAB5;
}

@media (max-width: 768px) {
  .ventajas-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  
  .ventaja-item h5 {
    font-size: 0.8rem;
  }
  
  .ventaja-item p {
    font-size: 0.7rem;
  }
  
  .ventaja-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}


.icon-animado {
  width: 64px;
  height: 64px;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.icon-animado:hover {
  animation: swing 1s infinite;
  transform: scale(1.1);
}

/* Animación de latido */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Animación de balanceo */
@keyframes swing {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

.galeria-miniaturas img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.galeria-miniaturas img.active,
.galeria-miniaturas img:hover {
  border-color: #F8C1BA;
}

.icono-caracteristica {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.icono-caracteristica:hover {
  transform: scale(1.15) rotate(3deg);
}

@media (max-width: 768px) {
  .galeria-miniaturas img {
    width: 60px;
    height: 60px;
  }
}
.contact-card {
  padding: 1.2rem !important; /* menos padding */
}
/* Imagen principal de la galería */
#imagen-principal {
  width: 100%;
  height: 450px;         /* altura fija */
  object-fit: cover;     /* rellena el espacio sin barras blancas */
  border-radius: 12px;
  background-color: #f9f9f9;
}

/* Miniaturas */
.galeria-miniaturas img {
  width: 80px;
  height: 80px;
  object-fit: cover;     /* recorta para que todas sean iguales */
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}
@media (max-width: 768px) {
  #imagen-principal {
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important;
  }
  .galeria-miniaturas {
    padding: 0 10px;
  }
  .galeria-miniaturas img {
    width: 70px !important;
    height: 70px !important;
  }
}

.metodo-item {
  font-size: 0.9rem; /* tamaño base */
}
.metodo-item h6 {
  font-size: 0.95rem;
}
.icono-metodo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 576px) {
  .metodo-item {
    font-size: 0.8rem;
  }
  .metodo-item h6 {
    font-size: 0.85rem;
  }
  .icono-metodo img {
    width: 32px;
    height: 32px;
  }
}

/* Badges de métodos */
.producto-badges .badge-metodo {
  background: #f7f7f7;
  color: #222;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  padding: .35rem .6rem;
  font-size: .85rem;
  line-height: 1;
}
.producto-badges .badge-metodo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-right: .35rem;
  display: inline-block;
}
.producto-badges .badge-metodo .bi {
  font-size: 1rem;
}

/* Ficha corta + precio */
.ficha-corta {
  font-size: .95rem;
  color: #555;
}
.ficha-corta .list-inline-item + .list-inline-item {
  margin-left: 1rem;
}

.precio-producto {
  font-weight: 800;
  font-size: 1.35rem;
  background: #F8C1BA;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .producto-badges .badge-metodo {
    font-size: .8rem;
    padding: .3rem .55rem;
  }
  .producto-badges .badge-metodo img {
    width: 18px;
    height: 18px;
    margin-right: .3rem;
  }
  .ficha-corta {
    font-size: .9rem;
  }
  .precio-producto {
    font-size: 1.25rem;
  }
}

.product-title {
  font-weight: 700;
}
.product-meta {
  font-size: 0.9rem;
  color: #1a1a1a;
}
.tag {
  display: inline-flex;
  align-items: center;
  background: #f7f7f7;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
  color: #333;
}
.tag i {
  margin-right: 0.25rem;
}
.price-animated {
  font-weight: 800;
  font-size: 1.35rem;
  color: #F8C1BA;
  background: none;
  animation: none;
}

/* ===== BLOQUE OFERTAS ===== */
#ofertas {
  background: transparent;
  border-top: 4px solid #F8C1BA;
  border-bottom: 4px solid #F8C1BA;
  padding: 3rem 0;
}

#ofertas .section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #F8C1BA;
  text-align: center;
  margin-bottom: 2rem;
}

.badge-oferta {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ffffff;
  color: #F8C1BA;
  font-weight: 900;
  font-size: 2.2rem;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.product-card2 {
  border: 2px solid #F8C1BA;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  padding: 1rem;
  height: 460px; /* altura fija para alinear contenido */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card2:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 0.9rem;
}

.current-price {
  font-size: 1.6rem;
  font-weight: bold;
  color: #F8C1BA;
}

.tag {
  display: inline-block;
  background: #f5f5f5;
  color: #555;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin: 0 0.2rem 0.3rem 0;
  border: 1px solid #ddd;
}

.tag i {
  margin-right: 0.25rem;
  color: #D2932F;
}

/* Botón "Ver oferta" alineado abajo */
.btn-comprar {
  background-color: #F8C1BA;
  color: #2c2c2c;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
  margin-top: auto; /* empuja el botón al fondo */
  display: inline-block;
}

.btn-comprar:hover {
  background-color: #EBBAB5;
  color: #2c2c2c;
}

/* ===== NUEVO: Barra horizontal para ofertas ===== */
#ofertas .ofertas-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  scroll-snap-type: x mandatory; /* Snap en desktop */
}

#ofertas .ofertas-scroll::-webkit-scrollbar {
  height: 10px;
}

#ofertas .ofertas-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}

#ofertas .product-card2 {
  flex: 0 0 auto;
  width: 300px;
  height: 500px;
  scroll-snap-align: start;
}




/* ===== COMBOS - Barra horizontal XL ===== */
#combos .combos-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 1.2rem;
  scroll-snap-type: x mandatory;
}

#combos .combos-scroll::-webkit-scrollbar {
  height: 12px;
}

#combos .combos-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 6px;
}

/* Tarjeta de combo */
#combos .combo-card {
  flex: 0 0 auto;
  width: 260px;
  height: 460px;
  background: #fff;
  border: 1px solid #E8D4C0;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#combos .combo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Imagen principal */
#combos .combo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

/* Título */
#combos .combo-card h6 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.8rem 0 0.5rem;
}

/* Tags descriptivos */
#combos .combo-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: auto;
}

#combos .combo-card .tag {
  display: inline-block;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
  color: #555;
  font-size: 0.85rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

#combos .combo-card .tag i {
  margin-right: 0.25rem;
  color: #F8C1BA;
}

/* Badge de descuento */
#combos .combo-card .badge-oferta {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #07bdae;
  font-weight: 900;
  font-size: 1.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Botón "Ver oferta" */
#combos .btn-comprar {
  background-color: #F8C1BA;
  color: #2c2c2c;
  border: none;
  border-radius: 50px;
  padding: 0.65rem 1rem;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.2s ease;
  display: inline-block;
}

#combos .btn-comprar:hover {
  background-color: #EBBAB5;
  color: #2c2c2c;
}

/* Solo proteger imágenes dentro de tarjetas de producto */
.product-card img {
  pointer-events: none;
}
/* === Protección general === */

/* Evita seleccionar texto */
body {
  user-select: none;
  -webkit-user-select: none;
}

/* Evita arrastrar imágenes */
img {
  -webkit-user-drag: none;
}

/* Bloquea clic directo sobre imágenes de productos */
.product-card img,
.product-card2 img {
  pointer-events: none;
}

/* === Marca de agua global === */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none; /* no bloquea interacción */
  z-index: 9999;
  background-image: url("../img/marca-agua.png"); /* tu logo */
  background-repeat: repeat;
  background-size: 400px; /* ajusta tamaño */
  background-position: center center;
  opacity: 0.25; /* transparencia */
  mix-blend-mode: multiply;
}

/* En móviles: asegurar centrado */
@media (max-width: 768px) {
  body::after {
    background-position: center center;
  }
}

/* Bloque CrediEssen */
.crediessen-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border-radius: 8px;
  border: 2px solid #F8C1BA;
  padding: 0.5rem 0.8rem;
  margin-top: 0.8rem;
}

.crediessen-logo {
  height: 40px; /* ajusta según tu imagen */
  flex-shrink: 0;
}

.crediessen-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.crediessen-cuotas {
  font-size: 0.85rem;
  color: #555;
}

.crediessen-valor {
  font-size: 1.1rem;
  font-weight: bold;
  color: #F8C1BA; /* rosa claro personalizado */
}

/* Bloque CrediEssen versión 2 */
.crediessen2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent; /* fondo transparente */
  border: 2px solid #F8C1BA; /* borde rosa claro */
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  margin-top: 0.8rem;
}

.crediessen2-logo {
  height: 40px; /* ajusta según tu imagen */
  flex-shrink: 0;
}

.crediessen2-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.crediessen2-cuotas {
  font-size: 0.85rem;
  color: #555;
}

.crediessen2-valor {
  font-size: 1.1rem;
  font-weight: bold;
  color: #F8C1BA; /* rosa claro del borde */
}

.crediessen-box,
.crediessen2 {
  display: flex;
  align-items: center;
  justify-content: center; /* centra horizontalmente el contenido interno */
  margin-left: auto;       /* empuja hacia el centro */
  margin-right: auto;      /* empuja hacia el centro */
}

/* CrediEssen versión 3: borde ajustado y alineado a la izquierda */
.crediessen3 {
  display: inline-flex;              /* ancho solo del contenido */
  align-items: center;
  gap: 0.6rem;
  background: transparent;           /* fondo transparente */
  border: 2px solid #F8C1BA;          /* borde rosa claro */
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  margin-top: 0.6rem;
}

.crediessen3-logo {
  height: 36px; /* ajusta según tu imagen */
  flex-shrink: 0;
}

.crediessen3-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.crediessen3-cuotas {
  font-size: 0.8rem;
  color: #555;
}

.crediessen3-valor {
  font-size: 1rem;
  font-weight: bold;
  color: #F8C1BA; /* rosa claro del borde */
}

/* ===== Productos ===== */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.product-card .product-img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #F8C1BA;
}

.product-meta,
.tag,
.text-muted,
.small {
  font-family: 'Nunito Sans', sans-serif;
}

.tag {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .8rem;
  color: #333;
  margin: 0.2rem;
}

.tag i {
  color: var(--accent);
  margin-right: 4px;
}

/* Precio animado versión 2 */
.price-animated2 {
  font-weight: 800;
  font-size: 1.35rem;
  color: #F8C1BA;
  background: none;
  animation: none;
  -webkit-text-fill-color: transparent; /* Safari/Chromium */
  color: transparent;                   /* Firefox */

  display: inline-block;
  will-change: background-position, transform;
}

/* Botón comprar */
.btn-comprar {
  background: #F8C1BA;
  color: #2c2c2c;
  font-weight: 800;
  border-radius: 50px;
  padding: 0.7rem 1.2rem;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

.btn-comprar:hover {
  background: #EBBAB5;
  transform: scale(1.05);
}

/* Bloque Al Contado simple: logo + precio */
.alcontado-simple {
  display: inline-flex;              /* ancho solo del contenido */
  align-items: center;
  gap: 0.5rem;                        /* espacio entre logo y precio */
  border: 2px solid #F8C1BA;          /* borde rosa claro */
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  background: transparent;            /* sin fondo */
  margin-top: 0.5rem;
}

.alcontado-simple-logo {
  height: 39px; /* ajusta según tu imagen */
  flex-shrink: 0;
}

.alcontado-simple-valor {
  font-size: 1rem;
  font-weight: bold;
  color: #F8C1BA; /* rosa claro del borde */
}




/* Si necesitas ocultar algunos elementos, usa esto: */

.price,
.old-price,
.small,
.current-price,
.price-animated,
.product-card .price-animated,
.product-card .price-animated2,
.crediessen-box,
.crediessen2,
.crediessen3,
.crediessen-logo,
.crediessen2-logo,
.crediessen3-logo,
.crediessen-info,
.crediessen2-info,
.crediessen3-info,
.crediessen-cuotas,
.crediessen2-cuotas,
.crediessen3-cuotas,
.crediessen-valor,
.crediessen2-valor,
.crediessen3-valor,
.alcontado-simple,
.alcontado-simple-logo,
.alcontado-simple-valor {
  display: none !important;
}
*/
