/* ============================================
   SHIKÚ — Footer (Redesign)
   ============================================ */

.footer {
  background: var(--color-vanilla);
  padding: 32px var(--px-desktop);
  overflow: hidden;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ── Top Section ── */
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.footer__heading {
  font-family: var(--font-body);
  font-weight: 200; /* ExtraLight */
  font-size: 16px;
  color: var(--color-dark);
  margin: 0 0 16px 0;
  line-height: normal;
}

.footer__shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer__shop-item {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer__shop-item:hover {
  opacity: 0.6;
}

.footer__shop-count {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  color: #9b9b9b;
  letter-spacing: -0.6px;
  line-height: normal;
}

.footer__shop-name,
.footer__help-item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-dark);
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: normal;
  white-space: nowrap;
}

.footer__help-item:hover {
  opacity: 0.6;
}

.footer__help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0.5px solid var(--color-dark);
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}

.footer__input {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--color-dark);
  letter-spacing: 1px;
  flex: 1;
  outline: none;
  padding: 0;
}

.footer__input::placeholder {
  color: var(--color-dark);
  opacity: 1;
}

.footer__submit {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.footer__submit:hover {
  opacity: 0.6;
}

/* ── Bottom Section ── */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 24px;
  width: 100%;
  position: relative;
  z-index: 1;
  gap: 24px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
  flex: 1;
}

.footer__address {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 12px;
  color: var(--color-dark);
  letter-spacing: -0.24px;
}

.footer__address p {
  margin: 0;
  line-height: normal;
}

.footer__phone {
  margin-top: 4px !important;
}

.footer__logo-img {
  height: 86.4px !important;
  width: 233.55px !important;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.footer__rights {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch; /* So it spans full height of bottom section */
}

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.footer__socials a:hover {
  opacity: 0.6;
}

.footer__copyright {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--color-dark);
  margin: 0;
  white-space: nowrap;
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
  .footer {
    padding: 16px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__shop,
  .footer__help,
  .footer__guidance {
    padding: 16px 0;
  }

  .footer__shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__shop-count {
    font-size: 8px;
  }

  .footer__shop-name,
  .footer__help-item {
    font-size: 12px;
  }

  .footer__bottom {
    padding-top: 0;
  }

  .footer__address {
    font-size: 8px;
    letter-spacing: -0.16px;
  }

  .footer__logo-img {
    height: 38.4px !important;
    width: 103.8px !important;
  }

  .footer__socials {
    gap: 16px;
  }

  .footer__socials svg {
    width: 16px !important;
    height: 16px !important;
  }
}
