.tnd-footer-brand {
  display: grid;
  justify-items: start;
  gap: .35rem;
}

.tnd-footer-brand .tnd-footer-social {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.tnd-footer-brand .tnd-footer-social a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #788575;
  border-radius: 50%;
  color: #d3dfcf;
}

.tnd-footer-legal a,
.design-footer .tnd-footer-legal a {
  color: #c4d2bc;
}

.tnd-footer-brand .tnd-footer-social a:is(:hover, :focus-visible),
.tnd-footer-legal a:is(:hover, :focus-visible),
.design-footer .tnd-footer-legal a:is(:hover, :focus-visible) {
  color: #f2f5ee;
}

.tnd-footer-social a:focus-visible,
.tnd-footer-legal a:focus-visible {
  outline: 2px solid #c4d2bc;
  outline-offset: 3px;
}

:is(#footer, .design-footer) .tnd-store-footer {
  --footer-paper: #f4f6ee;
  --footer-muted: #c4d2bc;
  --footer-border: #506152;
  max-width: 90rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem) 1.5rem;
  color: var(--footer-muted);
  font-size: .9375rem;
  line-height: 1.55;
}

.tnd-store-footer__grid {
  display: grid;
  grid-template-columns: minmax(8rem, .8fr) minmax(14rem, 1.3fr) minmax(10rem, 1fr) minmax(10rem, 1fr);
  gap: 2rem clamp(1.5rem, 3vw, 3.25rem);
  align-items: start;
}

.tnd-store-footer .tnd-footer-brand {
  gap: .8rem;
}

.tnd-store-footer__logo img {
  display: block;
  width: min(100%, 9.375rem);
  height: auto;
}

.tnd-store-footer .tnd-footer-brand .tnd-footer-social a {
  width: 2.625rem;
  height: 2.625rem;
}

:is(#footer, .design-footer) .tnd-store-footer h2 {
  margin: 0 0 .625rem;
  color: var(--footer-paper);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.tnd-store-footer__contact {
  padding-inline-start: 1rem;
  border-inline-start: 2px solid #a9ce49;
}

.tnd-store-footer__phone,
.tnd-store-footer__email,
.tnd-store-footer__link,
.tnd-store-footer .tnd-footer-legal a,
.tnd-salon-footer .tnd-salon-footer-nav a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding-block: .25rem;
  color: var(--footer-muted);
  overflow-wrap: anywhere;
}

#footer .tnd-store-footer__phone {
  font-size: inherit;
}

.tnd-store-footer :is(.tnd-store-footer__phone, .tnd-store-footer__email, .tnd-store-footer__link) {
  text-decoration: underline;
  text-underline-offset: .22em;
}

.tnd-store-footer :is(.tnd-store-footer__email, .tnd-store-footer__link, .tnd-store-footer__phone, .tnd-footer-legal a, .tnd-salon-footer-nav a):hover {
  color: var(--footer-paper);
  text-decoration: underline;
  text-underline-offset: .22em;
}

.tnd-store-footer a:focus-visible {
  outline: 2px solid var(--footer-paper);
  outline-offset: 3px;
}

.tnd-store-footer__salon address,
.tnd-store-footer__salon p {
  margin: 0 0 .45rem;
  font-style: normal;
}

.tnd-store-footer__legal-name {
  margin-top: clamp(1.75rem, 4vw, 3rem);
  padding-top: 1rem;
  border-top: 1px solid var(--footer-border);
  font-size: .8125rem;
}

#product.tnd-brand-radaway #footer .tnd-store-footer {
  padding-bottom: 6.75rem;
}

.tnd-design .tnd-salon-footer {
  background: #202725;
}

.tnd-salon-footer .tnd-store-footer__grid {
  grid-template-columns: minmax(11rem, 1.1fr) minmax(10rem, 1fr) minmax(11rem, 1.1fr) minmax(13rem, 1.25fr);
}

.tnd-salon-footer .tnd-store-footer__link,
.tnd-salon-footer .tnd-store-footer__email {
  color: var(--footer-muted);
}

.tnd-salon-footer .tnd-salon-footer-shop__button,
#footer .tnd-store-footer__salon-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
  padding: .55rem 1rem;
  background: #9dca19;
  color: #202725;
  font-weight: 750;
  text-decoration: none;
}

.tnd-salon-footer .tnd-salon-footer-shop__button:hover,
#footer .tnd-store-footer__salon-button:hover {
  background: #afd43b;
}

#footer .tnd-store-footer__salon-button {
  justify-content: center;
  gap: .4rem;
  min-width: 8.5rem;
  min-height: 2.625rem;
  margin: .25rem 0 0;
  padding: .4rem .75rem;
  border-radius: .25rem;
  font-size: .8125rem;
}

@media (max-width: 940px) {
  .tnd-store-footer__grid,
  .tnd-salon-footer .tnd-store-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tnd-store-footer__grid {
    gap: 1.5rem 1rem;
  }

  .tnd-store-footer__grid > .tnd-footer-brand,
  .tnd-store-footer__contact,
  .tnd-salon-footer-shop {
    grid-column: 1 / -1;
  }

  .tnd-store-footer .tnd-footer-legal a {
    padding-block: .4rem;
  }
}
