/* ============================================================
   ACA Negocios Widget
   ============================================================ */

/* Buscador */
.aca-negocios__search-wrap {
  position: relative;
  margin-bottom: 24px;
}

.aca-negocios__search-icon {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 14px;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.aca-negocios__search-icon svg {
  width: 18px;
  height: 18px;
}

.aca-negocios__search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.4;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.aca-negocios__search-input:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 2px rgba(34, 113, 177, .18);
}

/* Grid */
.aca-negocios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

/* Card */
.aca-negocios__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.aca-negocios__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
}

/* Logo */
.aca-negocios__logo {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aca-negocios__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.aca-negocios__logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #ccc;
}

.aca-negocios__logo-placeholder svg {
  width: 48px;
  height: 48px;
}

/* Body */
.aca-negocios__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Title */
.aca-negocios__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

/* Category badges */
.aca-negocios__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.aca-negocios__cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  background: #eef3ff;
  color: #3958d4;
  line-height: 1.8;
}

/* Description */
.aca-negocios__desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  flex: 1;
}

/* Divider before contact */
.aca-negocios__contact {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aca-negocios__desc + .aca-negocios__contact {
  padding-top: 14px;
}

.aca-negocios__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  line-height: 1.4;
  transition: color .15s;
}

a.aca-negocios__contact-item:hover {
  color: #2271b1;
}

.aca-negocios__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #888;
  font-size: 13px;
}

/* WhatsApp override */
.aca-negocios__whatsapp .aca-negocios__contact-icon {
  color: #25d366;
}

.aca-negocios__whatsapp {
  font-weight: 600;
  color: #1a9c4e;
}

.aca-negocios__whatsapp:hover {
  color: #128c3e !important;
}

/* Social row */
.aca-negocios__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.aca-negocios__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  flex-shrink: 0;
}

.aca-negocios__social-link:hover {
  opacity: .85;
  transform: scale(1.08);
}

.aca-negocios__social-link--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.aca-negocios__social-link--facebook  { background: #1877f2; }
.aca-negocios__social-link--tiktok    { background: #010101; }
.aca-negocios__social-link--linkedin  { background: #0a66c2; }

/* Benefit */
.aca-negocios__benefit {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fff8e1;
  border-left: 4px solid #f9c93c;
  border-radius: 0 8px 8px 0;
  color: #7a5f00;
}

.aca-negocios__benefit-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 5px;
}

.aca-negocios__benefit-label i {
  color: #f9c93c;
  font-size: 10px;
}

.aca-negocios__benefit-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

/* Empty / no-results */
.aca-negocios__empty,
.aca-negocios__no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: #888;
  font-size: 15px;
  padding: 40px 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .aca-negocios__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .aca-negocios__grid {
    grid-template-columns: 1fr;
  }
}
