/* V57: selected customers — compact visual rhythm aligned with Brand Partners. */
.selected-customers-section .selected-customers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  align-items: stretch;
}
.selected-customers-section .selected-customers-grid .customer-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 174px;
  gap: 7px;
  padding: 9px 10px 11px;
  border-radius: 18px;
}
.selected-customers-section .selected-customers-grid .customer-card[hidden] { display: none !important; }
.selected-customers-section .selected-customers-grid .customer-logo-visual {
  width: 100%;
  min-height: 105px;
  height: 105px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.selected-customers-section .selected-customers-grid .customer-logo-visual img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 101px;
  object-fit: contain;
  object-position: center;
}
.selected-customers-section .selected-customers-grid .customer-logo-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 0;
  min-height: 0;
  max-width: 100%;
  color: #143c60;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
.selected-customers-section .customer-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 0;
  text-align: center;
}
.selected-customers-section .customer-pagination[hidden],
.selected-customers-section .customer-show-more[hidden] { display: none !important; }
.selected-customers-section .customer-visible-count {
  margin: 0;
  color: #607d96;
  font-size: 13px;
  font-weight: 600;
}
.selected-customers-section .customer-show-more {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 48px;
  padding: 11px 24px;
  border: 1px solid #aec8d7;
  border-radius: 999px;
  background: #fff;
  color: #0c4267;
  font: 800 14px/1.2 Manrope, Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 64, 106, .08);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.selected-customers-section .customer-show-more:hover,
.selected-customers-section .customer-show-more:focus-visible {
  background: #edf8fc;
  border-color: #3b9fbd;
  transform: translateY(-2px);
}
.selected-customers-section .customer-show-more:focus-visible { outline: 3px solid #79cfe5; outline-offset: 3px; }
@media (max-width: 1050px) {
  .selected-customers-section .selected-customers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .selected-customers-section .selected-customers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
  .selected-customers-section .selected-customers-grid .customer-card { min-height: 159px; padding: 8px 8px 10px; }
  .selected-customers-section .selected-customers-grid .customer-logo-visual { min-height: 96px; height: 96px; }
  .selected-customers-section .selected-customers-grid .customer-logo-visual img { max-height: 93px; }
}
@media (max-width: 560px) {
  .selected-customers-section .selected-customers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .selected-customers-section .selected-customers-grid .customer-card { min-height: 145px; border-radius: 16px; }
  .selected-customers-section .selected-customers-grid .customer-logo-visual { min-height: 86px; height: 86px; }
  .selected-customers-section .selected-customers-grid .customer-logo-visual img { max-height: 83px; }
  .selected-customers-section .selected-customers-grid .customer-logo-name { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .selected-customers-section .customer-show-more { transition: none; }
}
