/* Footer: blocks en fila, responsive */
.region-footer .block {
  flex: 1 1 200px;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

/* Override module chat container spacing with higher specificity. */
.chat-container {
  padding: 140px 16px;
}


/* show suppliers images as grid images*/
.photoswipe-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.photoswipe-gallery img {
  border-radius: 6px;
}

/* intl-tel-input widget: ocupa l'amplada completa i amaga labels "valor 1/2" */
.field--widget-telephone-international .iti {
  display: block;
}
.field--widget-telephone-international .iti input {
  width: 100%;
}
.field--widget-telephone-international .form-label {
  display: none;
}

/* VBO row checkboxes in cistelles attachment:
 * keep accessible label in DOM but hide it visually.
 */
.view-id-cistelles.view-display-id-attachment_1 td.views-field-views-bulk-operations-bulk-form .form-check-label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Productors — Logo Showcase Grid */
.view-productors .view-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 991px) {
  .view-productors .view-content { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .view-productors .view-content { grid-template-columns: repeat(2, 1fr); }
}

.supplier-logo-card { margin: 0; }

.supplier-logo-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.supplier-logo-link:hover .supplier-logo-wrap {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  border-color: #ccc;
}

.supplier-logo-wrap .field {
  display: contents;
}

.supplier-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.supplier-logo-hover-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.70));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 20px 8px 8px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.22s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .supplier-logo-link:hover .supplier-logo-hover-name {
    transform: translateY(0);
  }
}

.supplier-logo-caption {
  display: none;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
  margin-top: 5px;
  line-height: 1.2;
}
@media (hover: none) {
  .supplier-logo-hover-name { display: none; }
  .supplier-logo-caption { display: block; }
}

/* Hide the tabledrag weight toggle button */
/* Used in admin content and other admin pages */
/* oculta el botón "Mostra el pes de les files" dels camps simple add more */
/* button.tabledrag-toggle-weight {
  display: none !important;
} */
/* ocultamos botones de email y telefon del profile soci */
/* #edit-field-email-wrapper .tabledrag-toggle-weight {
  display: none !important;
}

#edit-field-telefon-wrapper .tabledrag-toggle-weight {
  display: none !important;
} */
