
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #000;
      color: white;
    }

    /* Header */
    .top-bar {
      background-color: #7a9117;
      padding: 0px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
    }
    .top-bar a {
      color: white;
      margin-left: 10px;
      text-decoration: none;
      font-weight: bold;
    }

    /* Nav */
    nav {
      background-color: #111;
      justify-content: space-between;
      align-items: center;
      padding: 10px 30px;
    }
    nav .logo {
      font-size: 28px;
      font-weight: bold;
    }
    nav ul {
      list-style: none;
      display: flex;
      margin: 0;
      padding: 0;
    }


    .novedades-swiper {
      width: 90%;
      margin: 0 auto;
    }

    .swiper-slide {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      width: 100%;
      max-width: 350px;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.25);
      transition: transform 0.3s;
    }

    .swiper-slide img:hover {
      transform: scale(1.05);
    }
    
    .lineas_btn {
      margin-right: 9%;
      margin-bottom: 100px;
    }

    .empresa {
      height: auto;
      background-color: #000;
      display: flex;
      flex-direction: column;
      background-image: url(../imagenes/fondo_empresa.png);
      background-repeat: no-repeat;
      background-position: right;
      background-attachment: fixed;
    }

    /* Sección central */
    .main {
      height: auto;
      background-color: #000;
      display: flex;
      flex-direction: column; 
      background-image: url(../imagenes/fondo_index.png);
      background-size: 100%;
      background-repeat: no-repeat;
      background-position: top;
      /*background-attachment: fixed;*/
    }

    .main-content {
    max-width: 50em;
   /* background: rgba(0,0,0,0.5);  sombreado para resaltar texto */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-left: 10%;
    /*margin-top: 9%;*/
    /*margin-bottom: 5%;*/
    }

    .main-content h1 {
    font-size: 5em;
    font-weight: bold;
    margin-bottom: 10px;
    }

    .main-content h3 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    }

    .main-content p {
    font-size: 1.5em;
    line-height: 1.5;
    margin-bottom: 20px;
    }

    /* Barra de búsqueda */
    .search-box {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    max-width: 50%;
    margin: 0px auto;
    }

    .search-box input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 14px;
    }

    .search-box button {
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    }
    .search-box button:hover {
    background-color: #5c6e12;
    }

    /* Banner verde */
    .banner {
      background-color: #7a9117;
      text-align: center;
      font-size: 32px;
      font-weight: bold;
      height: 150px;
      background-image: url(../imagenes/barra_inf_izq.png);
      background-repeat: no-repeat;
    }

    /* Footer */
    footer {
      background-color: #000;
      padding: 15px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      font-size: 14px;
    }
    footer a {
      color: white;
      text-decoration: none;
      margin-left: 5px;
    }


    .elegirnos {
    text-align: center;
    padding: 40px 10px;
    color: white;
    }

    .elegirnos h2 {
    font-size: 28px;
    margin-bottom: 10px;
    }

    .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Siempre 3 columnas */
    grid-template-rows: repeat(2, auto);  /* Siempre 2 filas */
    gap: 10px;
    justify-items: center;
    }

    .card {
    position: relative;
    width: 280px;   /* ancho fijo para que no se deformen */
    height: 200px;  /* altura fija */
    perspective: 1000px;
    }

    .card .front,
    .card .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    /*padding: 20px;*/
    transition: transform 0.6s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }

    .card .front {
    background: white;
    color: #7a9117;
    border: 2px solid #7a9117;
    }

    .card .front h3 {
    margin-bottom: 10px;
    }

    .card .front img {
    max-width: 100%;
    }

    .card .back {
    background: #7a9117;
    color: white;
    transform: rotateY(180deg);
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    }

    .card:hover .front {
    transform: rotateY(180deg);
    }

    .card:hover .back {
    transform: rotateY(360deg);
    }

    /* Sección Contacto */
    .contact-hero {
      width: 100%;
      text-align: center;
      margin-top: 20px; /* separacion con el header/hero de fondo */
      margin-bottom: 10px;
      pointer-events: none; /* evita que interfiera con hover de otros elementos */
    }

    /* Título grande "Contacto" */
    .contacto-title {
      font-family: 'Raleway', sans-serif;
      font-weight: 300;                  /* aspecto delgado como en la imagen */
      font-size: 86px;                   /* tamaño grande en desktop */
      letter-spacing: 14px;              /* espaciado amplio entre letras */
      color: rgba(255,255,255,0.98);     /* blanco ligeramente opaco */
      margin: 0;
      line-height: 1;
      text-transform: none;
      text-shadow: 0 6px 18px rgba(0,0,0,0.55); /* brillo oscuro para destaque */
      display: inline-block;
      padding: 10px 20px;
      /* si querés un efecto de separación vertical (como en la imagen), podés usar border-left/right */
    }

    .contacto-subtitle {
      font-size: 22px;
      font-weight: 700;
      margin: 18px auto 10px;
      color: #000;       /* mantiene el estilo del formulario blanco */
      text-align: center;
    }

    .contacto {
      text-align: center;
      padding: 50px 20px;
      color: white;
      background-image: url(../imagenes/fondo_contacto.png);
      background-repeat: no-repeat;
      background-position: right;
      background-attachment: fixed;
    }

    .contacto h2 {
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 20px;
      color: #000;
    }

.producto {
  position: relative; /* Necesario para posicionar el overlay */
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  transition: transform 0.3s ease;
  height: 250px;
}

.producto img {
  width: 80%;
  max-height: 150px;
  object-fit: contain;
}

/* Overlay oculto por defecto */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(128, 128, 128, 0.6);
  display: flex;
  flex-direction: column; /* Apila verticalmente */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  gap: 10px; /* separación entre botones */
}

/* Mostrar overlay en hover */
.producto:hover .overlay {
  opacity: 1;
}

/* Botón AGREGAR */
.btn-agregar {
  background-color: #4CAF50; /* verde */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.btn-agregar:hover {
  background-color: #45a049; /* verde un poco más oscuro al pasar el mouse */
}

/* Botón DETALLE */
.detalle-btn {
  background: #7a9117; /* tu verde institucional */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.detalle-btn:hover {
  background: #5d6e12; /* verde más oscuro en hover */
}
/* ---- Descripción dentro de cada tarjeta de producto ---- */
.producto .descripcion {
  text-align: left;            /* alineado a la izquierda como en tu diseño */
  margin: 8px auto 6px;       /* separación superior/ inferior */
  width: 90%;                 /* similar al inline style que usabas */
  color: #000;                /* texto negro dentro del card blanco */
  font-size: 0.85rem;         /* tamaño legible (ajustable) */
  line-height: 1.25;          /* buen interlineado para varias líneas */
  overflow: hidden;           /* evita desbordes si limitás la altura */
  display: -webkit-box;       /* necesario para line-clamp (opcional) */
  -webkit-box-orient: vertical;
}

/* estilo para el código/título en negrita dentro de .descripcion */
.producto .descripcion b {
  display: block;             /* que el <b> quede en su propia línea */
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #000;
}

/* ----- OPCIONAL: limitar descripción a 3 líneas (multi-line ellipsis) ----- */
/* Descomenta las 2 líneas siguientes si querés truncar a N líneas */
.producto .descripcion {
  /* -webkit-line-clamp: 3; */ /* <- descomentar para limitar a 3 líneas */
}

/* Ajustes responsive: texto más grande en pantallas pequeñas */
@media (max-width: 768px) {
  .producto .descripcion {
    font-size: 0.9rem;
    width: 95%;
  }

  .producto .descripcion b {
    font-size: 1rem;
  }
}

    .contact-form {
      background: white;
      color: black;
      max-width: 700px;
      margin: 0 auto;
      padding: 30px;
      border-radius: 5px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      text-align: left;
    }

    .contact-form .form-row {
      display: flex;
      gap: 15px;
      margin-bottom: 15px;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 3px;
      font-size: 14px;
    }

    .contact-form textarea {
      min-height: 120px;
      resize: vertical;
    }

    .contact-form button {
      background: #7a9117;
      color: white;
      font-size: 16px;
      font-weight: bold;
      border: none;
      padding: 12px 25px;
      border-radius: 3px;
      cursor: pointer;
      float: right; /* botón a la derecha */
    }

    .contact-form button:hover {
      background: #5c6e12;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .contact-form .form-row {
        flex-direction: column;
      }

      .contact-form button {
        width: 100%;
        float: none;
        margin-top: 10px;
      }
    }

    /* Bajar los puntitos de la paginación */
    .novedades-swiper .swiper-pagination {
      position: relative;   /* los sacamos del overlay */
      margin-top: 20px;     /* separarlos del carrusel */
    }

    .novedades-swiper {
      padding-bottom: 40px; /* deja un espacio extra abajo para los puntitos */
    }

    .novedades-swiper .swiper-pagination-bullet {
    background: #fff;
      opacity: 0.6; /* opcional, para que no queden tan fuertes */
    }

    /* Puntito activo (seleccionado) en verde */
    .novedades-swiper .swiper-pagination-bullet-active {
      background: #7a9117; /* mismo verde de tu web */
      opacity: 1;
    }

#detalle_producto {
  width: 100%;
  background: #fff;
  padding: 20px;
  box-sizing: border-box;
}

.producto-detalle {
  /*display: flex;*/
  gap: 20px;
  margin-bottom: 30px;
}

.detalle-img img {
  width: 100%;
  max-width: 100%;
  border: 1px solid #ccc;
  cursor: zoom-in;
  border-radius: 8px;
}

/* Modal (oculto por defecto) */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
}

/* Imagen dentro del modal */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Botón de cierre */
.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #aaa;
}

.detalle-info {
  flex: 1; /* El resto del espacio */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.detalle-info h3 {
  color: #666;
  margin: 0;
  font-size: 18px;
}

.detalle-info h2 {
  color: #6a8300; /* Verde Crisba */
  margin: 5px 0 15px;
  font-size: 20px;
  font-weight: bold;
}

.detalle-info p {
  margin: 4px 0;
  color: #333;
}

/* Productos relacionados */
.relacionados h4 {
  background: #6a8300; /* Verde Crisba */
  color: white;
  text-align: center;
  padding: 8px;
  margin: 0 0 15px;
  font-size: 14px;
  font-weight: bold;
}

.relacionados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.relacionado-card {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  border-radius: 6px;
}

.relacionado-card button {
  background: #6a8300;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.relacionado-card button:hover {
  background: #8cae00; /* verde más claro */
}

.productosSwiper .producto {
  width: 100%;
  height: 160px;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.productosSwiper .producto img { 
  width: 100%;
  height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(50, 50, 50, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .overlay {
  opacity: 1;
}

.overlay .btn {
  margin: 5px;
  padding: 8px 16px;
  background: #fff;
  color: #333;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.overlay .btn:hover {
  background: #333;
  color: #fff;
}


    /* =====================
   RESPONSIVE DESIGN
   ===================== */

/* Tablets (pantallas medianas) */
@media (max-width: 1024px) {
  .main-content {
    margin-left: 5%;
    margin-right: 5%;
    text-align: center;
  }

  .search-box {
    max-width: 80%;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr); /* 2 por fila */
    grid-template-rows: auto;
  }

  .card {
    width: 90%;
    height: 220px;
  }
}

.titulo_sistema {
  background-color: #728700;
  font-size: 2.5rem;
  color: white;
  letter-spacing: 7px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 40px;
  margin: 10px auto;
  transform: skewX(-15deg);
  text-align: center;
  width: 40%;
  box-shadow: 10px 5px 5px white;
  margin-bottom: 10px;
}

.listado_marcas{
  height: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  max-height: 300px;
  overflow: auto;
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* Celulares (pantallas pequeñas) */
@media (max-width: 768px) {
  nav img {
    height: 60px; /* menú más chico */
  }

  .main-content h1 {
    font-size: 26px;
  }

  .main-content h3 {
    font-size: 16px;
  }

  .main-content p {
    font-size: 13px;
  }

  .search-box {
    max-width: 95%;
  }

  .cards {
    grid-template-columns: 1fr; /* 1 por fila */
  }

  .card {
    width: 100%;
    height: auto; /* altura dinámica en mobile */
  }

  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

.swiper-button-prev{
  --swiper-theme-color: #7a9117;
}

.swiper-button-next {
  --swiper-theme-color: #7a9117;
}


table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 10px;
        }
        th, td {
            border: 1px solid #ccc;
            padding: 8px;
            text-align: left;
	    color: black;
        }
        th {
            background-color: #f5f5f5;
	    color: black;
        }
        .cantidad input {
            width: 50px;
            text-align: center;
        }
        .actions button {
            background-color: #8bc34a;
            border: none;
            padding: 5px 10px;
            color: white;
            cursor: pointer;
        }
        .actions button:hover {
            background-color: #7cb342;
        }
        .comentarios textarea {
            width: 100%;
            height: 60px;
            margin-top: 5px;
        }
        .alert {
            color: red;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .saldo {
            margin-top: 20px;
	    float: right;
        }
        .saldo strong {
            color: #8bc34a;
        }