
/* === Fuente Poppins === */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins/Poppins-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* Puedes agregar más variantes si las usas (Thin, SemiBold, etc.) */
  :root {
      --main-color: #F53252;
      --footer-color: #6FC2C6;
      --bg-color: #ffffff;
    }
/* === Aplicación global === */
body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg-color);
  color: var(--main-color);
  scroll-behavior: smooth;
}


  



    /* Alerta */
    .alerta {
      background: var(--main-color);
      color: white;
      text-align: center;
      font-size: 14px;
    }

/* Navbar */
.navbar {
  background: var(--bg-color);
}
.navbar .nav-link, 
.navbar-brand {
  color: var(--main-color) !important;
  font-weight: 500;
}
.navbar-toggler {
  border-color: var(--main-color);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgb(245,50,82)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Dropdown fondo oscuro */
.dropdown-menu {
  background: rgba(0,0,0,0.85); /* fondo oscuro transparente */
  color: #fff;
  min-width: 250px; /* más ancho */
}

.dropdown-menu a {
  color: #fff;
}

.dropdown-menu a:hover {
  background: #F53252;
  color: #fff;
}

/* Submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  content: " ▶";
  float: right;
}

.dropdown-menu .dropdown-toggle::after {
  float: right;
  border: none;
}

/* Ajustar tamaño del texto del dropdown */
.dropdown-item {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}


    /* Secciones */
    section {
      padding: 80px 20px;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease-out;
    }
    section.visible {
      opacity: 1;
      transform: translateY(0);
    }
    h2 {
      text-align: center;
      margin-bottom: 40px;
      color: var(--main-color);
    }

    /* Footer */
    footer {
      background: var(--footer-color);
      color: white;
      padding: 40px 20px;
      text-align: center;
    }
    footer a {
      color: white;
      text-decoration: none;
      margin: 0 10px;
    }

    /* ==== CARDS PERSONALIZADAS ==== */
.product-card {
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    text-decoration: none;
  }

  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  }

  .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .card-title-custom {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.8rem;
    background: #A129C4;
    color: white;
    letter-spacing: 0.5px;
  }

  .img-container img {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    width: 100%;
    object-fit: cover;
  }

/* Título con fondo azul turquesa */
.card-title-custom {
  background: #02B2BC;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  font-size: 1.1rem;
}

/* Texto */
.product-card .card-body {
  text-align: center;
  font-size: 0.9rem;
  color: #333;
}

/* ==== CARDS PRODUCTOS DESTACABLES ==== */
.product-card {
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
  }
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  }
  .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  .card-title-custom-red {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.8rem;
    background: #A129C4;
    color: white;
    letter-spacing: 0.5px;
  }
  .img-container {
    width: 100%;
    /* height: 230px; */
    overflow: hidden;
  }
  .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
  }
  .product-card:hover img {
    transform: scale(1.06);
  }
  .card-text {
    font-size: 0.95rem;
    color: #555;
  }
  @media (max-width: 576px) {
    .img-container { height: 180px; }
  }

/* ==== SERVICIOS ADICIONALES ==== */
.servicios-adicionales h2 {
  font-weight: bold;
  color: #333;
}

/* Estilo de las tarjetas */
.service-card {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* Icono grande */
.icon-container i {
  font-size: 60px;
  color: #02B2BC; /* Color turquesa que usaste antes */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Efecto hover en el icono */
.service-card:hover .icon-container i {
  transform: scale(1.2);
  color: #EE344F; /* cambia a rojo al pasar el mouse */
}

/* Título y descripción */
.service-card h4 {
  color: #02B2BC;
  font-weight: bold;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
}

/* CLIENTES */
.clientes h2 {
  color: #F53252;
  font-weight: bold;
}

/* Logos clientes más grandes */
.cliente-logo {
  max-height: 220px;  /* antes 80px, ahora más grande */
  width: auto;         /* mantiene proporción */
  transition: transform 0.3s ease;
}

.cliente-logo:hover {
  transform: scale(1.1); /* efecto hover */
}

/* Carousel controles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100%, 100%;
}

/* FOOTER GENERAL */
footer.footer {
  background: #6FC2C6; /* Fondo turquesa */
  color: #fff;          /* Texto blanco */
  font-size: 0.95rem;
}

/* ICONOS REDES SOCIALES */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px; /* un poco más de espacio */
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;     /* más grande */
  height: 60px;    /* más grande */
  border-radius: 50%;
  background: #fff;  /* fondo blanco para que contraste */
  color: #6FC2C6;   /* color del icono turquesa */
  font-size: 1.5rem; /* tamaño de ícono más grande */
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.2);
  background: #F53252; /* cambia a rojo */
  color: #fff;         /* icono blanco al hacer hover */
}

/* LINKS FOOTER */
.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #F53252; /* cambia a rojo al pasar el mouse */
}

 /* ALERTA SUPERIOR */
    .alerta-superior {
      background: #F53252;
      color: #fff;
      font-size: 0.9rem;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1050;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 1rem;
      transition: top 0.3s ease;
    }

    .contact-info {
      text-align: center;
      width: 100%;
    }

    .social-icons-alerta {
      display: flex;
      gap: 10px;
    }

    .social-icon-alerta {
      color: #fff;
      background: #6FC2C6;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    }

    .social-icon-alerta:hover {
      transform: scale(1.2);
      background: #fff;
      color: #F53252;
    }

    /* Ajuste inicial del navbar para no tapar la alerta */
    .navbar.sticky-top {
      transition: top 0.3s ease;
      z-index: 1040;
    }


    /* Breadcrumb */
.breadcrumb-section {
  background-color: #f8f9fa;
  font-size: 0.95rem;
}
.breadcrumb a {
  text-decoration: none;
  color: var(--main-color);
}

/* Tarjetas de categoría */
.categoria-card img {
  height: 220px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.categoria-card:hover img {
  transform: scale(1.05);
}
.categoria-card .card-body {
  background-color: rgba(255,255,255,0.9);
  transition: background-color 0.3s ease;
}
.categoria-card:hover .card-body {
  background-color: rgba(111,194,198,0.15);
}


/* Transición suave en el cambio de imagen principal */
#mainImage {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

/* Estado al cambiar imagen */
#mainImage.fade-out {
  opacity: 0;
}

/* Miniaturas: borde, cursor y efecto hover */
.thumbnail {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s, transform 0.2s;
}

.thumbnail:hover {
  border-color: #007bff; /* azul bootstrap */
  transform: scale(1.05);
}

/* Miniatura seleccionada */
.thumbnail.active {
  border-color: #0d6efd;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.6);
}

/* === TABLA DE PRECIOS POR VOLUMEN === */
.table-volumen {
  width: 100%;
  font-size: 1.1rem;              /* un poco más grande */
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #6FC2C6;      /* borde principal */
}

.table-volumen thead {
  background-color: #6FC2C6 !important;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.table-volumen tbody tr:nth-child(even) {
  background-color: rgba(111, 194, 198, 0.1); /* tono suave alterno */
}

.table-volumen tbody tr:hover {
  background-color: rgba(111, 194, 198, 0.25); /* hover */
  transition: background-color 0.3s ease;
}

.table-volumen th,
.table-volumen td {
  padding: 12px 18px;
  vertical-align: middle;
}


.presentacion-producto {
  border-top: 3px solid #6FC2C6;
  padding-top: 12px;
}

.presentacion-img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(111, 194, 198, 0.25);
}

/* productos relacionados */

.productos-relacionados h5 {
  border-top: 3px solid #6FC2C6;
  padding-top: 12px;
}

.card-rel {
  border: 1px solid rgba(111, 194, 198, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-radius: 12px;
}

.card-rel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(111, 194, 198, 0.25);
}

.btn-rel {
  background-color: #6FC2C6;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  padding: 8px 12px;
}

.btn-rel:hover {
  background-color: #56aab0;
  color: #fff;
}

.card-rel .card-img-top {
 /*  height: 180px;  */         /* Ajusta según tu catálogo */
  object-fit: cover;      /* recorta sin deformar */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
/* Precio principal en ficha */
.price {
  color: #F53252 !important;
}

/* Precio dentro de cards de relacionados */
.card-rel .price {
  color: #F53252 !important;
  font-weight: 600;
}

.badge-count {
  background-color: #6FC2C6;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  line-height: 1;
}



/* Mega dropdown (Bootstrap 5) */
.navbar .dropdown-menu.dropdown-mega{
  width: min(1000px, 95vw);
  border-radius: 12px;
}

/* Mejor tacto visual */
.navbar .dropdown-item{
  border-radius: 6px;
}
.navbar .dropdown-item:hover{
  background:#f5f6f8;
  color: #000;
}

/* En pantallas grandes, mantener centrado y amplio */
@media (min-width: 992px){
  .navbar .dropdown.position-static .dropdown-menu{
    left: 50%;
    transform: translateX(-50%);
  }
}


