/* Clarity brand navigation: scoped, user-driven horizontal browsing. */
.clarity-brands { margin: 7px 0 38px; color: #211e24; }
.clarity-brands__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.clarity-brands__title { margin: 0; color: #211e24; font-size: clamp(24px, 2.1vw, 32px); font-weight: 600; line-height: 1.16; }
.clarity-brands__all { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: #332836; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.clarity-brands__all:hover { color: #211e24; text-decoration: underline; text-underline-offset: 4px; }
.clarity-brands__body { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; min-width: 0; }
.clarity-brands__rail { display: flex; gap: 12px; min-width: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.clarity-brands__rail::-webkit-scrollbar { display: none; }
.clarity-brands__card { display: flex; align-items: center; justify-content: center; flex: 0 0 calc((100% - 60px) / 6); min-width: 0; height: 104px; padding: 16px; overflow: hidden; border: 1px solid #e9e2e5; border-radius: 20px; background: #fff; color: #211e24; scroll-snap-align: start; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.clarity-brands__card:hover { border-color: #d4c7ce; box-shadow: 0 10px 22px rgba(48, 30, 44, .07); }
.clarity-brands__card img { display: block; width: 100%; height: 100%; max-width: 170px; max-height: 72px; object-fit: contain; transform: scale(var(--brand-scale, 1)); }
.clarity-brands__fallback { font-size: 18px; font-weight: 700; line-height: 1.2; text-align: center; }
.clarity-brands__arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #e9e2e5; border-radius: 50%; background: #fff; color: #211e24; cursor: pointer; }
.clarity-brands__arrow:hover:not(:disabled) { border-color: #b9a8b2; background: #faf7f8; }
.clarity-brands__arrow:disabled { opacity: .35; cursor: default; }
.clarity-brands a:focus-visible, .clarity-brands button:focus-visible, .clarity-brands__rail:focus-visible { outline: 3px solid #6c346e; outline-offset: 3px; }
@media (max-width: 1199px) { .clarity-brands__card { flex-basis: calc((100% - 36px) / 4); } }
@media (max-width: 767px) {
  .clarity-brands { margin: 7px 0 28px; }
  .clarity-brands__header { margin-bottom: 14px; }
  .clarity-brands__all { font-size: 13px; }
  .clarity-brands__body { display: block; }
  .clarity-brands__arrow { display: none; }
  .clarity-brands__rail { gap: 10px; margin-right: -12px; padding: 2px 12px 12px 1px; }
  .clarity-brands__card { flex-basis: calc((100vw - 66px) / 2.2); height: 90px; padding: 13px; border-radius: 17px; }
  .clarity-brands__card img { max-height: 62px; }
}
@media (prefers-reduced-motion: reduce) { .clarity-brands__card { transition: none; } }
