.find-reseller-col {
  padding: 16px;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

.find-reseller-logo-item {
  width: 100%;
  height: 220px;
  position: relative;
  aspect-ratio: 3 / 2;
  background-color: #F4F6F8;
  border: 1px solid #EEEEF5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s, background-color 0.3s;
}

.find-reseller-logo-img {
  width: 80%;
  height: auto;
  filter: grayscale(100%) brightness(0.9) contrast(1.2);
  transition: filter 0.3s ease-in-out;
}

.find-reseller-placeholder {
  width: auto;
  height: 80%;
  aspect-ratio: 2 / 3;
  background: url('/assets/img/placeholder/bg.png') center/cover no-repeat, #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  filter: grayscale(100%) brightness(0.9) contrast(1.2);
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
  /* <-- Evita que o texto estoure o bloco */
}

.find-reseller-name {
  font-size: 0.45rem;
  font-weight: bold;
  text-align: center;
  background-color: rgba(255, 255, 255, 1);
  padding: 4px 8px;
  border-radius: 8px;
  max-width: 100%;
  line-height: 1.2;
  word-break: break-word;

  /* Prevenção extra para textos absurdamente grandes */
  max-height: 100%;
  overflow: hidden;
}

/* Efeito hover */
.find-reseller-logo-item:hover .find-reseller-logo-img,
.find-reseller-logo-item:hover .find-reseller-placeholder {
  filter: none;
}

.find-reseller-logo-item:hover {
  background-color: #fefefe;
  border-color: #718bf1;
}

/* Overlay que aparece no hover */
.find-reseller-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}

.find-reseller-logo-item:hover .find-reseller-overlay {
  opacity: 1;
  transform: translateY(0);
}

.find-reseller-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #333;
}

.find-reseller-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
}

.find-reseller-social a {
  color: #555;
  font-size: 14px;
  transition: color 0.3s;
}

.find-reseller-social a:hover {
  color: var(--tp-common-blue-primary);
}

.find-reseller-card {
  border: 1px solid #718bf1;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  transition: box-shadow 0.3s ease-in-out;
  background-color: #fff;
  position: relative;
}

.find-reseller-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}

.find-reseller-image-wrapper {
  position: relative;
  aspect-ratio: 3 / 2;
  background-color: #f9f9f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.find-reseller-logo-img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.find-reseller-placeholder {
  width: auto;
  height: 80%;
  aspect-ratio: 2 / 3;
  background: url('/assets/img/placeholder/bg.png') center/cover no-repeat, #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.find-reseller-placeholder .find-reseller-name {
  font-size: 0.45rem;
  font-weight: bold;
  text-align: center;
  background-color: rgba(255, 255, 255, 1);
  padding: 4px;
  border-radius: 8px;
  max-width: 90%;
  line-height: 1.2;
}

/* Ícones laterais visíveis só no hover */
.find-reseller-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.find-reseller-card:hover .find-reseller-icons {
  opacity: 1;
  pointer-events: all;
}

.find-reseller-icons a {
  color: #333;
  background: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s, color 0.2s;
}

.find-reseller-icons a:hover {
  background: var(--tp-common-blue-primary);
  color: #fff;
}

.find-reseller-info {
  text-align: center;
  margin-top: 12px;
}

.find-reseller-title {
  color: var(--tp-common-blue-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin: 0 auto;
  line-height: 1.4;
}

.find-reseller-address {
  font-size: 13px;
  color: #666;
  margin: 4px 0 0 0;
}

/* Social icons no canto direito, verticais */
.find-reseller-social-column {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.find-reseller-social-column a {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 6px;
  border-radius: 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.find-reseller-social-column a:hover {
  background-color: var(--tp-common-blue-primary);
  color: #fff;
}

.find-reseller-logo-item:hover .find-reseller-social-column {
  opacity: 1;
  pointer-events: all;
}