/* ——— Страница избранного ——— */

.emmet-wishlist-page {
  max-width: 1500px;
}

.emmet-wishlist-page .emmet-breadcrumb {
  margin-bottom: 1rem;
}

.emmet-wishlist-page__notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.25rem;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid #1ea97c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.emmet-wishlist-page__notice-icon {
  flex: 0 0 auto;
  color: #1a9b6e;
  font-size: 1.15rem;
  padding-top: 2px;
}

.emmet-wishlist-page__notice-text {
  flex: 1 1 auto;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.emmet-wishlist-page__notice-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -2px -4px 0 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #6b6b6b;
  cursor: pointer;
}

.emmet-wishlist-page__notice-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #1a1a1a;
}

.emmet-wishlist-page__head {
  margin-bottom: 1.35rem;
}

.emmet-wishlist-page__title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.emmet-wishlist-page__badge {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(232, 93, 117, 0.14);
  color: #d94462;
  font-size: 1.2rem;
}

.emmet-wishlist-page__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-wishlist-page__lead {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: #666;
}

.emmet-wishlist-page__lead strong {
  color: #1a1a1a;
}

.emmet-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem 1.15rem;
}

.emmet-wishlist-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.emmet-wishlist-card:hover {
  border-color: rgba(245, 196, 0, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.emmet-wishlist-card__img-wrap {
  display: block;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
  overflow: hidden;
}

.emmet-wishlist-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.emmet-wishlist-card:hover .emmet-wishlist-card__img {
  transform: scale(1.03);
}

.emmet-wishlist-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.9rem 1rem 1.05rem;
  flex: 1 1 auto;
}

.emmet-wishlist-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
  text-decoration: none;
}

.emmet-wishlist-card__name:hover {
  color: #b89400;
}

.emmet-wishlist-card__stock {
  margin: 0;
  font-size: 0.78rem;
  color: #777;
}

.emmet-wishlist-card__price {
  font-size: 0.95rem;
  font-weight: 800;
}

.emmet-wishlist-card__special {
  color: #c73e1d;
}

.emmet-wishlist-card__old {
  margin-left: 0.35rem;
  font-size: 0.82rem;
  color: #999;
  font-weight: 400;
}

.emmet-wishlist-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.55rem;
}

.emmet-wishlist-card__cartform {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  width: 100%;
}

.emmet-wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.emmet-wishlist-btn--cart {
  background: var(--emmet-accent, #f5c400);
  color: var(--emmet-accent-ink, #1a1a1a);
  box-shadow: 0 4px 14px rgba(245, 196, 0, 0.4);
}

.emmet-wishlist-btn--cart:hover {
  background: #e6b800;
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 196, 0, 0.45);
}

.emmet-wishlist-btn--cart:active {
  transform: translateY(0);
}

.emmet-wishlist-btn--remove {
  background: #f8f8f8;
  color: #555;
  border: 1px solid #e0e0e0;
}

.emmet-wishlist-btn--remove:hover {
  border-color: #e85d75;
  color: #c73e55;
  background: #fff5f7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 93, 117, 0.12);
}

.emmet-wishlist-btn--remove:active {
  transform: translateY(0);
}

.emmet-wishlist-btn i {
  font-size: 0.92rem;
  opacity: 0.9;
}

.emmet-wishlist-btn--primary {
  background: var(--emmet-accent, #f5c400);
  color: var(--emmet-accent-ink, #1a1a1a);
  box-shadow: 0 4px 16px rgba(245, 196, 0, 0.35);
  width: auto;
  min-width: 220px;
}

.emmet-wishlist-btn--primary:hover {
  background: #e6b800;
  color: #1a1a1a;
  transform: translateY(-1px);
}

.emmet-wishlist-btn--ghost {
  width: auto;
  min-width: 200px;
  background: #fff;
  color: #444;
  border: 1px solid #ddd;
}

.emmet-wishlist-btn--ghost:hover {
  border-color: var(--emmet-accent, #f5c400);
  color: #1a1a1a;
  background: #fffef6;
}

.emmet-wishlist-empty {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 55%);
  border: 1px dashed #ddd;
  border-radius: 20px;
  max-width: 520px;
  margin: 0 auto;
}

.emmet-wishlist-empty__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(232, 93, 117, 0.14);
  color: #d94462;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.emmet-wishlist-empty__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a1a;
}

.emmet-wishlist-empty__text {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #666;
}

.emmet-wishlist-empty__hint {
  margin: 0 0 1.35rem;
  font-size: 0.88rem;
  color: #999;
}

.emmet-wishlist-page__footer {
  text-align: center;
  margin-top: 2rem;
}

