.portal-motores-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
}

.portal-motores-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 3; /* Mantiene proporción 1:1 */
  overflow: hidden;
  background-color: #f5f5f5; /* fallback si no hay imagen */
}

.portal-motores-image {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Rellena el espacio sin deformar */
  object-position: center; /* Centra la imagen si se recorta */
  display: block;
}

.portal-motores-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #e6f0ff;
  color: #0056d2;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.portal-motores-badge-home {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #e6ffef;
  color: #00d27e;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.portal-motores-badge-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  font-weight: bold;
  background-color: white;
  color: #d2001c;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.portal-motores-badge-certified {
  position: absolute;
  top: 8px;
  left: 8px;
  font-weight: bold;
  background-color: white;
  color: #1877F2;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.portal-motores-info {
  padding: 12px;
}

.portal-motores-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.portal-motores-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
}

.portal-motores-category {
  flex-shrink: 0;
  font-size: 12px;
  background-color: #f2f2f2;
  padding: 4px 8px;
  border-radius: 20px;
}

.portal-motores-address {
  font-size: 13px;
  color: #444;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portal-motores-actions-full {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.portal-motores-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.portal-motores-btn.whatsapp {
  background-color: #25d366;
}

.portal-motores-btn.directions {
  background-color: #007bff;
}
.portal-motores-actions-inline {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 4px;
}

.pm-btn-whatsapp {
  background-color: #25d366;
  color: white;
  padding: 6px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;
}

.pm-btn-whatsapp:hover {
  background-color: #1ebe5b;
}
.portal-motores-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.portal-motores-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #000;
}

.portal-motores-btn.btn-outline-primary {
  border: 1px solid #007bff;
}
.portal-motores-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.pm-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
  line-height: 1;
}

.pm-pill i {
  font-size: 14px;
}

/* Colores */
.pm-pill-blue {
  background-color: #007bff;
  color: #fff;
}

.pm-pill-green {
  background-color: #25d366;
  color: #fff;
}

.pm-pill-outline {
  background-color: transparent;
  color: #007bff;
  border: 1px solid #007bff;
}

/* Hover */
.pm-pill:hover {
  opacity: 0.9;
}

.pm-service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.pm-service-img-container {
  aspect-ratio: 4 / 2;
  background-color: #f5f5f5;
}

.pm-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-pill-top-right {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #007bff;
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.pm-service-title {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-service-meta {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

}

.pm-service-description {
  font-size: 13px;
  color: #444;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 38px;
}

.pm-service-price {
  font-size: 15px;
}

.pm-branch-item {
  gap: 8px;
}

.pm-branch-name {
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pm-product-img-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #f5f5f5;
  overflow: hidden;
}

.pm-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pm-product-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pm-product-meta {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

}

.pm-product-title {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 38px;
}

.pm-product-price {
  font-size: 15px;
}