/* WeLUX — Global Hydrated Components (F2) */

/* Footer adjustments */
.footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.footer__socials .soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer__socials .soc:hover,
.footer__socials .soc:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.footer__socials .soc svg {
  width: 18px;
  height: 18px;
}

.footer__legal {
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-muted);
  margin-top: 4px;
}

/* Specialist photo placeholder */
.spec-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1eae1;
  color: #a4917b;
}

.spec-card__placeholder-icon {
  width: 56px;
  height: 56px;
  opacity: 0.55;
}

/* Cozy slider support */
.cozy__media[data-slider-track] {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cozy__media[data-slider-track]::-webkit-scrollbar {
  display: none;
}

.cozy__media[data-slider-track] > * {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

/* About stats: карточки без данных не выводятся, оставшиеся занимают ширину */
.about-stats__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Reviews active ratings styling */
.rating-item a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .footer__socials .soc,
  .cozy__media[data-slider-track],
  .footer .accordion__icon {
    transition: none;
    scroll-behavior: auto;
  }
}

/* Footer accordions + payment badges */
.footer .accordion {
  margin-top: 8px;
  margin-bottom: 0;
}

.footer .accordion__head {
  color: var(--color-text, #2d2d2d);
  border-radius: 2px;
}

.footer .accordion__head:focus-visible {
  outline: 2px solid var(--color-olive, #3d442d);
  outline-offset: 2px;
}

.footer .accordion__body .footer__sublinks {
  color: var(--color-text, #2d2d2d);
  font-size: 14px;
  line-height: 1.4;
}

.footer .accordion__body .footer__sublinks a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: break-word;
}

.footer .accordion__body .footer__sublinks a:hover {
  opacity: 0.7;
}

.footer__pay-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__pay-list .pay {
  display: block;
  width: 85px;
  height: 40px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #fff;
  object-fit: contain;
}

.footer__pay {
  flex-wrap: wrap;
  max-width: 100%;
}

@media (max-width: 768px) {
  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer__pay {
    order: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .footer__license {
    order: 2;
  }

  .footer__copy {
    order: 3;
  }
}
