/* =====================================================
   ILZE Baltic — ilze-footer.css
   Футер навигации на страницах аккаунта / форм
   ===================================================== */

/* ── Контейнер ── */
.page-footer,
.wishlist-footer-links {
  margin-top: 28px;
  padding: 20px 20px 0;
  border-top: 1px solid #e2e8ef;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ── Пустые material-icons скрываем (нет текста = кривой глиф) ── */
.page-footer .material-icons,
.page-footer a .material-icons,
.wishlist-footer-links .material-icons {
  display: none !important;
}

/* ── Pill-ссылки ── */
.page-footer a,
.page-footer .account-link,
.wishlist-footer-links a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  border: 1px solid #dce5ee !important;
  background: #f6f8fb !important;
  color: #4a6070 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color .18s, border-color .18s, background .18s !important;
  white-space: nowrap !important;
}

.page-footer a:hover,
.page-footer .account-link:hover,
.wishlist-footer-links a:hover {
  color: #f26f21 !important;
  border-color: #f26f21 !important;
  background: #fff8f3 !important;
  text-decoration: none !important;
}

/* ── Иконки через ::before (unicode-escape = без проблем с кодировкой) ── */
.page-footer a[data-role="back-to-your-account"]::before,
.page-footer a[data-role="back"]::before,
.page-footer a[data-role="continue-shopping"]::before {
  content: '\2190';
  font-size: 15px;
  line-height: 1;
  color: #9aaab8;
  transition: color .18s;
}

.page-footer a[data-role="home"]::before {
  content: '\2302';
  font-size: 16px;
  line-height: 1;
  color: #9aaab8;
  transition: color .18s;
}

.page-footer a:hover::before {
  color: #f26f21;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .page-footer,
  .wishlist-footer-links {
    padding: 16px 14px 0;
    gap: 8px;
  }
  .page-footer a,
  .page-footer .account-link,
  .wishlist-footer-links a {
    font-size: 12px !important;
    padding: 6px 13px !important;
  }
}

/* ── Корзина: "Продолжить покупки" ── */
/* Специфичный селектор чтобы не зацепить .label на карточках товаров */
.cart-grid-body > a.label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-top: 20px !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  border: 1px solid #dce5ee !important;
  background: #f6f8fb !important;
  color: #4a6070 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color .18s, border-color .18s, background .18s !important;
  white-space: nowrap !important;
}

.cart-grid-body > a.label:hover {
  color: #f26f21 !important;
  border-color: #f26f21 !important;
  background: #fff8f3 !important;
}

/* Скрываем material-icon chevron_left, ставим стрелку через ::before */
.cart-grid-body > a.label .material-icons {
  display: none !important;
}

.cart-grid-body > a.label::before {
  content: '\2190';
  font-size: 15px;
  line-height: 1;
  color: #9aaab8;
  transition: color .18s;
}

.cart-grid-body > a.label:hover::before {
  color: #f26f21;
}