/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Sep 07 2025 | 14:04:38 */
#cotizador-container-tabla {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contenedor-btn-submit-cotizador {
    padding-bottom: 50px;
    padding-left: 23PX;
}

.producto-cotizador {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  margin-bottom:0px;
}

.producto-titulo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

/* Cotización Layout */
.cotizacion-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Tabla */
.tabla-total {
 	margin: 1rem auto;
    padding: 1.5rem;
	width:100%;
}

.tabla-cotizacion, .tabla-total {
  flex: 2;
  min-width: 300px;
  overflow-x: auto;
}
.tabla-cotizacion table, .tabla-total table{
  width: 100%;
  border-collapse: collapse;
}

.tabla-cotizacion th, .tabla-cotizacion td, .tabla-total th, .tabla-total td {
  border: 1px solid #ddd;
  padding: 0.8rem;
  text-align: center;
}

.tabla-cotizacion th, .tabla-total th {
  background: #f5f5f5;
  font-weight: bold;
}

/* Resumen */
.resumen-cotizacion {
  flex: 1;
  min-width: 250px;
  background: #f9f9f9;
  padding: 1.2rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  align-self: flex-start;
}
.resumen-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.resumen-item.total {
  border-top: 2px solid #ddd;
  padding-top: 0.8rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #0073e6;
}
	
/* Responsive */
@media (max-width: 768px) {
  .cotizacion-wrapper {
    flex-direction: column;
  }
  .resumen-cotizacion {
    width: 100%;
  }
}


/* Estilos generales */
.tabla-cotizacion table {
  width: 100%;
  border-collapse: collapse;
  /*table-layout: fixed; /* fuerza a que todas las columnas compartan el ancho */
}

.tabla-cotizacion table th,
.tabla-cotizacion table td,
.tabla-total table th,
.tabla-total table td {
  padding: 6px 4px; /* menos padding */
  font-size: 14px;  /* texto más pequeño */
  word-wrap: break-word; /* que corte palabras largas */
  white-space: normal;   /* permite salto de línea */
}

/* Ajustes específicos en móvil */
@media (max-width: 467px) {
  .tabla-cotizacion table th,
  .tabla-cotizacion table td,
  .tabla-total table th,
  .tabla-total table td {
    font-size: 12px;    /* aún más compacto */
    padding: 4px 2px;   /* menos espacio interno */
  }

  /* columnas críticas (ejemplo: descripción ocupa más espacio que # o Cantidad) */
  .tabla-cotizacion table th:nth-child(1),
  .tabla-cotizacion table td:nth-child(1) { width: 8%; }   /* # */
  .tabla-cotizacion table th:nth-child(2),
  .tabla-cotizacion table td:nth-child(2) { width: 35%; }  /* Descripción */
  .tabla-cotizacion table th:nth-child(3),
  .tabla-cotizacion table td:nth-child(3) { width: 17%; }  /* Precio Unit. */
  .tabla-cotizacion table th:nth-child(4),
  .tabla-cotizacion table td:nth-child(4) { width: 17%; }  /* Cantidad */
  .tabla-cotizacion table th:nth-child(5),
  .tabla-cotizacion table td:nth-child(5) { width: 23%; }  /* Precio Total */
	
  .tabla-total table th:nth-child(4),
  .tabla-total table td:nth-child(4) { width: 77%; }  /* texto */
  .tabla-total table th:nth-child(5),
  .tabla-total table td:nth-child(5) { width: 23%; }  /* Precio Total */
	
  .producto-cotizador, .tabla-total{
	  padding: 0.5rem;
	}
}
	