.footer-v5__top {
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.15);
}
@media (min-width: 768px) {
  .footer-v5__top {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.footer-v5__heading {
  font-size: clamp(1.2rem, calc(0.25cqw + 1.1rem), 1.4rem);
  letter-spacing: calc(var(--font-heading-scale) * 0.32rem);
  padding-bottom: 1.7rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  position: relative;
}

.footer-v5__heading::before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 0.1rem;
  width: 3.5rem;
  background-color: rgba(var(--color-foreground), 0.15);
}
[dir=ltr] .footer-v5__heading::before {
  left: 0;
}
[dir=rtl] .footer-v5__heading::before {
  right: 0;
}

.footer-v5__description {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: rgba(var(--color-foreground), 0.5);
  font-weight: 500;
  max-width: 36rem;
}

.footer-v5__input-btn {
  display: flex;
  align-items: center;
  max-width: 36rem;
}
.footer-v5__input-btn .xo-field-input {
  height: 5.6rem;
}
.footer-v5__input-btn .xo-field-input__input {
  padding: 1.5rem 1.5rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  height: 100%;
}

.footer-v5__email-button {
  all: unset;
  position: relative;
  cursor: pointer;
  border-top-right-radius: var(--buttons-radius);
  border-bottom-right-radius: var(--buttons-radius);
  width: 5.6rem;
  height: 5.6rem;
  flex-shrink: 0;
  background-color: rgba(var(--color-foreground));
  overflow: hidden;
}

.footer-v5__icon-before {
  transition: 0.3s;
  line-height: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer-v5__icon-after {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: 0.3s;
  line-height: 0;
  transform: translate(-50%, 5rem);
}

.footer-v5__email-button:hover .footer-v5__icon-before {
  transform: translate(-50%, -5rem);
}
.footer-v5__email-button:hover .footer-v5__icon-after {
  transform: translate(-50%, -50%);
}

.footer-v5__social {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
}
.footer-v5__social li {
  margin: 0 0.5rem;
}

.footer-v5__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-v5__social-link svg path {
  transition: fill 0.1s;
  fill: rgba(var(--color-foreground), 0.3);
}

.footer-v5__social-link:hover svg path {
  fill: rgba(var(--color-foreground));
}

.footer-v5__list-item {
  padding: 0.4rem 0;
}
.footer-v5__list-item a {
  font-size: calc(var(--font-body-scale) * 1.5rem);
  color: rgba(var(--color-foreground), 0.5);
  font-weight: 500;
  transition: 0.3s;
}

.footer-v5__list-item:hover a {
  color: rgba(var(--color-foreground));
  padding-inline-start: 1rem;
}

.footer-v5__subtext {
  font-weight: 500;
  color: rgba(var(--color-foreground), 0.5);
}

.footer-v5__bottom {
  padding: 1.5rem 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .footer-v5__bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer-v5__copyright {
  font-size: calc(var(--font-body-scale) * 1.4rem);
}

.footer-v5__payment {
  width: 20rem;
}

.footer-v5__copyright-content {
  font-size: calc(var(--font-body-scale) * 1.4rem);
}
.footer-v5__copyright-content a {
  color: rgba(var(--color-foreground), 0.3);
  transition: 0.3s;
  font-weight: 500;
  position: relative;
}
.footer-v5__copyright-content a::after {
  content: "";
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  display: block;
  width: 0;
  height: 0.1rem;
  background-color: rgba(var(--color-foreground), 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.075);
}
.footer-v5__copyright-content a:hover {
  color: rgb(var(--color-foreground));
}
.footer-v5__copyright-content a:hover::after {
  width: 100%;
}

.footer-v5__copyright-content--black a:hover {
  color: rgba(var(--color-foreground), 0.3);
}

.footer-v5__copyright-content .footer-v5__copyright-shopilaunch {
  color: rgba(var(--color-foreground), 0.6);
}

.footer-v5__theme-name,
.footer-v5__powered-shopify {
  color: rgba(var(--color-foreground), 0.3);
  transition: 0.3s;
  font-weight: 500;
  position: relative;
}
.footer-v5__theme-name::after,
.footer-v5__powered-shopify::after {
  content: "";
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  display: block;
  width: 0;
  height: 0.1rem;
  background-color: rgba(var(--color-foreground), 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.075);
}

.footer-v5__theme-name:hover {
  color: rgb(var(--color-foreground));
}
.footer-v5__theme-name:hover::after {
  width: 100%;
}

.footer-v5__powered-shopify:hover {
  color: rgba(var(--color-foreground), 0.3);
}
.footer-v5__powered-shopify:hover::after {
  width: 100%;
}

.footer-v5__shop-name {
  color: rgba(var(--color-foreground), 0.6);
  transition: 0.3s;
  font-weight: 500;
  position: relative;
}
.footer-v5__shop-name::after {
  content: "";
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  display: block;
  width: 0;
  height: 0.1rem;
  background-color: rgba(var(--color-foreground), 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.075);
}
.footer-v5__shop-name:hover {
  color: rgb(var(--color-foreground));
}
.footer-v5__shop-name:hover::after {
  width: 100%;
}