.footer-root {
  background: #fff;
  color: #111114;
  display: block;
  padding: 0 18px max(36px, env(safe-area-inset-bottom));
  text-align: left;
}

.footer-brand-section {
  padding: 24px 0;
  text-align: center;
}

.footer-brand-section strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-brand-section p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  margin: 22px 0 0;
}

.footer-brand-section p a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.footer-root summary {
  align-items: center;
  color: #111114;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 400;
  justify-content: space-between;
  list-style: none;
  min-height: 44px;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.footer-root summary::-webkit-details-marker {
  display: none;
}

.footer-root summary span {
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-root details[open] summary span {
  transform: rotate(45deg);
}

.footer-root details nav {
  display: grid;
  gap: 11px;
  padding: 0 0 18px;
}

.footer-root details nav span,
.footer-root details nav a {
  color: #4f4f54;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  width: max-content;
  -webkit-tap-highlight-color: transparent;
}

.footer-bottom-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  justify-content: space-between;
  margin: 0 -18px;
  padding: 24px 18px 0;
}

.footer-legal-section nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
}

.footer-legal-section nav a,
.footer-legal-section nav button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #111114;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  padding: 0;
  text-decoration: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.footer-locale-section {
  align-items: center;
  display: flex;
  gap: 20px;
}

.footer-locale-section button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #111114;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  padding: 0;
  -webkit-appearance: none;
}

.footer-country-button {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.footer-country-button img {
  border: 1px solid rgba(17, 17, 20, 0.08);
  display: block;
  height: 12px;
  object-fit: cover;
  width: 18px;
}

.footer-language-button {
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .footer-root a:hover,
  .footer-root button:hover {
    text-decoration: underline;
  }
}
