/* ============================================================
   FAVORITES PAGE STYLES
   ============================================================ */
.uc-fav, .uc-fav * { box-sizing: border-box; }
.uc-fav input, .uc-fav textarea, .uc-fav select {
  font: inherit;
  font-family: inherit;
}

.uc-fav {
  font-family: var(--t-text-font);
  color: #0f1419;
  --uc-green: #349965;
  --uc-green-d: #2a7a52;
  --uc-green-l: #e6f7ee;
  --uc-orange: #ff6b1f;
  --uc-orange-l: #fff1e8;
  --uc-purple: #7c3aed;
  --uc-purple-l: #f3eeff;
  --uc-ink: #0f1419;
  --uc-muted: #5a6470;
  --uc-line: #e6e8ec;
  --uc-surface: #f7f8fa;
  --uc-pink: #ec4899;
  --uc-pink-l: #fce7f3;
}

/* ===== Breadcrumbs ===== */
.uc-fav__bc {
  background: var(--uc-surface);
  padding: 14px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--uc-line);
}
.uc-fav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.uc-fav__head {
  padding: 32px 0 0;
  background: #fff;
}
.uc-fav__head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.uc-fav__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.uc-fav__heart {
  width: 44px;
  height: 44px;
  background: var(--uc-pink-l);
  color: var(--uc-pink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.uc-fav__heart svg { width: 22px; height: 22px; }
.uc-fav__title {
  font-family: var(--t-headline-font);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0;
  color: var(--uc-ink);
}
.uc-fav__count {
  padding: 4px 12px;
  background: var(--uc-pink-l);
  color: var(--uc-pink);
  font-family: var(--t-headline-font);
  font-size: 18px;
  font-weight: 800;
  border-radius: 999px;
  line-height: 1.4;
}
.uc-fav__sub {
  font-size: 14px;
  color: var(--uc-muted);
  margin: 0;
}
.uc-fav__sub b { color: var(--uc-ink); font-weight: 700; }

.uc-fav__head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.uc-fav__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all .15s ease;
}
.uc-fav__btn svg { width: 14px; height: 14px; }
.uc-fav__btn--ghost {
  background: var(--uc-surface);
  color: var(--uc-ink);
  border: 1px solid var(--uc-line);
}
.uc-fav__btn--ghost:hover { border-color: var(--uc-ink); background: #fff; }
.uc-fav__btn--primary {
  background: var(--uc-pink);
  color: #fff;
}
.uc-fav__btn--primary:hover {
  background: #db2777;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(236,72,153,.3);
}

/* ===== Stats strip ===== */
.uc-fav__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--uc-line);
  margin: 0 -24px;
  padding: 0 24px;
}
.uc-fav__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-right: 1px solid var(--uc-line);
  padding-right: 20px;
  padding-left: 20px;
}
.uc-fav__stat:first-child { padding-left: 0; }
.uc-fav__stat:last-child { border-right: 0; }
.uc-fav__stat-val {
  font-family: var(--t-headline-font);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--uc-ink);
}
.uc-fav__stat-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--uc-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.uc-fav__stat--alert .uc-fav__stat-val { color: var(--uc-orange); }
.uc-fav__stat--warn .uc-fav__stat-val { color: var(--uc-purple); }
.uc-fav__stat--green .uc-fav__stat-val { color: var(--uc-green-d); }

/* ===== Main ===== */
.uc-fav__main {
  padding: 28px 0 60px;
  background: #fff;
}
.uc-fav__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

/* ===== Collections sidebar ===== */
.uc-fcl {
  background: var(--uc-surface);
  border-radius: 16px;
  border: 1px solid var(--uc-line);
  padding: 20px;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.uc-fcl::-webkit-scrollbar { width: 4px; }
.uc-fcl::-webkit-scrollbar-thumb { background: var(--uc-line); border-radius: 2px; }

.uc-fcl__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.uc-fcl__title {
  font-family: var(--t-headline-font);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: var(--uc-ink);
}
.uc-fcl__add {
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1px solid var(--uc-line);
  border-radius: 7px;
  color: var(--uc-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: all .15s ease;
}
.uc-fcl__add:hover {
  background: var(--uc-pink);
  color: #fff;
  border-color: var(--uc-pink);
}
.uc-fcl__add svg { width: 14px; height: 14px; }

.uc-fcl__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
  margin-bottom: 4px;
  transition: all .15s ease;
}
.uc-fcl__item:hover {
  background: #fff;
  border-color: var(--uc-line);
}
.uc-fcl__item.is-active {
  background: #fff;
  border-color: var(--uc-pink);
  box-shadow: 0 4px 12px rgba(236,72,153,.08);
}
.uc-fcl__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.uc-fcl__icon svg { width: 18px; height: 18px; }
.uc-fcl__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.uc-fcl__info strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--uc-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uc-fcl__info span {
  font-size: 11px;
  color: var(--uc-muted);
}
.uc-fcl__num {
  font-family: var(--t-headline-font);
  font-size: 13px;
  font-weight: 800;
  color: var(--uc-muted);
  padding: 2px 8px;
  background: rgba(0,0,0,.04);
  border-radius: 6px;
  line-height: 1.3;
}
.uc-fcl__item.is-active .uc-fcl__num {
  background: var(--uc-pink);
  color: #fff;
}

.uc-fcl__section-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--uc-muted);
  margin: 14px 10px 8px;
}

.uc-fcl__divider {
  height: 1px;
  background: var(--uc-line);
  margin: 16px -10px;
}

.uc-fcl__share {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--uc-line);
  border-radius: 10px;
  margin-top: 12px;
}
.uc-fcl__share-lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--uc-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.uc-fcl__share-row {
  display: flex;
  gap: 4px;
}
.uc-fcl__share-input {
  flex: 1;
  padding: 7px 10px;
  background: var(--uc-surface);
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  color: var(--uc-ink);
  font-weight: 600;
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.uc-fcl__share-btn {
  width: 32px;
  height: 32px;
  background: var(--uc-ink);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.uc-fcl__share-btn:hover { background: #2a3340; }
.uc-fcl__share-btn svg { width: 14px; height: 14px; }

/* ===== Toolbar ===== */
.uc-fav__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--uc-surface);
  border-radius: 12px;
  border: 1px solid var(--uc-line);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.uc-fav__toolbar-left,
.uc-fav__toolbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Checkbox */
.uc-fav__check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--uc-ink);
}
.uc-fav__check input { position: absolute; opacity: 0; pointer-events: none; }
.uc-fav__check-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--uc-line);
  border-radius: 5px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: all .15s ease;
}
.uc-fav__check input:checked + .uc-fav__check-box {
  background: var(--uc-pink);
  border-color: var(--uc-pink);
}
.uc-fav__check input:checked + .uc-fav__check-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.uc-fav__selected {
  font-size: 12.5px;
  color: var(--uc-muted);
  padding-left: 8px;
  border-left: 1px solid var(--uc-line);
}
.uc-fav__selected b { color: var(--uc-ink); font-weight: 700; }

.uc-fav__bulk {
  display: none;
  gap: 6px;
  padding-left: 8px;
  border-left: 1px solid var(--uc-line);
}
.uc-fav__bulk.is-visible { display: flex; }
.uc-fav__bulk-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--uc-line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--uc-ink);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s ease;
}
.uc-fav__bulk-btn:hover { border-color: var(--uc-ink); }
.uc-fav__bulk-btn--danger { color: #b91c1c; border-color: #fecaca; }
.uc-fav__bulk-btn--danger:hover { background: #fef2f2; border-color: #b91c1c; }
.uc-fav__bulk-btn svg { width: 12px; height: 12px; }

/* Sort & view */
.uc-fav__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.uc-fav__sort label {
  font-size: 13px;
  color: var(--uc-muted);
  font-weight: 500;
}
.uc-fav__select {
  padding: 8px 12px;
  background: #fff;
  border: 1.5px solid var(--uc-line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--uc-ink);
  cursor: pointer;
  font-family: inherit;
  outline: none;
}
.uc-fav__select:hover { border-color: var(--uc-pink); }

.uc-fav__view {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: #fff;
  border: 1.5px solid var(--uc-line);
  border-radius: 8px;
}
.uc-fav__view-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: var(--uc-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}
.uc-fav__view-btn:hover { color: var(--uc-ink); }
.uc-fav__view-btn.is-active {
  background: var(--uc-ink);
  color: #fff;
}
.uc-fav__view-btn svg { width: 16px; height: 16px; }

/* Active chips */
.uc-fav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.uc-fav__chips:empty { display: none; }
.uc-fav__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--uc-pink-l);
  border: 1px solid var(--uc-pink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--uc-pink);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all .15s ease;
}
.uc-fav__chip svg { width: 11px; height: 11px; opacity: .7; }
.uc-fav__chip:hover {
  background: var(--uc-pink);
  color: #fff;
}
.uc-fav__chip:hover svg { opacity: 1; }

/* ===== Items grid ===== */
.uc-fav__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  min-height: 100px;
}
.uc-fav__items[data-view="list"] {
  grid-template-columns: 1fr;
  gap: 12px;
}

/* ===== Card ===== */
.uc-fav-card {
  background: #fff;
  border: 1px solid var(--uc-line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
}
.uc-fav-card:hover {
  border-color: var(--uc-pink);
  box-shadow: 0 8px 20px rgba(236,72,153,.08);
  transform: translateY(-2px);
}
.uc-fav__items[data-view="list"] .uc-fav-card {
  flex-direction: row;
  align-items: stretch;
}

.uc-fav-card__select {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,.95);
  border: 1.5px solid var(--uc-line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all .15s ease;
}
.uc-fav-card:hover .uc-fav-card__select { opacity: 1; }
.uc-fav-card__select.is-visible { opacity: 1; }
.uc-fav-card__select.is-checked {
  background: var(--uc-pink);
  border-color: var(--uc-pink);
}
.uc-fav-card__select.is-checked::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.uc-fav-card__heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--uc-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--uc-pink);
  cursor: pointer;
  z-index: 3;
  transition: all .15s ease;
}
.uc-fav-card__heart:hover { transform: scale(1.1); }
.uc-fav-card__heart svg { width: 14px; height: 14px; }

.uc-fav-card__media {
  position: relative;
  background: linear-gradient(135deg, #f7f8fa 0%, #eef0f3 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.uc-fav__items[data-view="list"] .uc-fav-card__media {
  width: 120px;
  aspect-ratio: auto;
}
.uc-fav-card__icon {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.08));
}
.uc-fav__items[data-view="list"] .uc-fav-card__icon { font-size: 48px; }

.uc-fav-card__badges {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.uc-fav-card__badge {
  padding: 2px 7px;
  background: rgba(255,255,255,.95);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.uc-fav-card__badge--hit { color: var(--uc-ink); }
.uc-fav-card__badge--sale { background: var(--uc-orange); color: #fff; }
.uc-fav-card__badge--new { background: var(--uc-green); color: #fff; }
.uc-fav-card__badge--b2b { background: var(--uc-purple); color: #fff; }

.uc-fav-card__body {
  display: flex;
  flex-direction: column;
  padding: 14px;
  flex: 1;
  min-width: 0;
  gap: 8px;
}
.uc-fav__items[data-view="list"] .uc-fav-card__body {
  padding: 14px 16px;
}
.uc-fav-card__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--uc-muted);
}
.uc-fav-card__name {
  font-family: var(--t-headline-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
  color: var(--uc-ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uc-fav-card__name:hover { color: var(--uc-pink); }

.uc-fav-card__collection {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--uc-surface);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--uc-muted);
  width: fit-content;
}

.uc-fav-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}
.uc-fav-card__stock--in { color: var(--uc-green-d); }
.uc-fav-card__stock--low { color: var(--uc-orange); }
.uc-fav-card__stock--order { color: var(--uc-purple); }
.uc-fav-card__stock--out { color: #b91c1c; }
.uc-fav-card__stock::before {
  content: '';
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.uc-fav-card__foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--uc-line);
}
.uc-fav-card__prices {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.uc-fav-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.uc-fav-card__price {
  font-family: var(--t-headline-font);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--uc-ink);
}
.uc-fav-card__price-old {
  font-size: 11px;
  color: var(--uc-muted);
  text-decoration: line-through;
  font-weight: 500;
}
.uc-fav-card__unit {
  font-size: 10.5px;
  color: var(--uc-muted);
  margin-top: 2px;
}

.uc-fav-card__btn {
  width: 34px;
  height: 34px;
  background: var(--uc-green);
  color: #fff;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s ease;
}
.uc-fav-card__btn:hover {
  background: var(--uc-green-d);
  transform: scale(1.05);
}
.uc-fav-card__btn svg { width: 16px; height: 16px; }
.uc-fav-card__btn.is-added {
  background: var(--uc-ink);
}

.uc-fav-card__date {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 2px 7px;
  background: rgba(15,20,25,.7);
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.uc-fav-card__date--drop {
  background: var(--uc-orange);
}
.uc-fav-card__date--new {
  background: var(--uc-green);
}

/* ===== Empty ===== */
.uc-fav__empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--uc-surface);
  border-radius: 16px;
  border: 1px dashed var(--uc-line);
}
.uc-fav__empty-icon {
  width: 80px;
  height: 80px;
  background: var(--uc-pink-l);
  color: var(--uc-pink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.uc-fav__empty-icon svg { width: 36px; height: 36px; }
.uc-fav__empty-title {
  font-family: var(--t-headline-font);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--uc-ink);
}
.uc-fav__empty-text {
  font-size: 14px;
  color: var(--uc-muted);
  margin: 0 0 20px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.uc-fav__empty-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--uc-ink);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease;
}
.uc-fav__empty-btn:hover { background: #2a3340; }

/* ===== Recent (mini cards) ===== */
.uc-fav__recent {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--uc-line);
}
.uc-fav__recent-title {
  font-family: var(--t-headline-font);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  color: var(--uc-ink);
}
.uc-fav__recent-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.uc-fav__recent .uc-fav-card__body { padding: 10px; gap: 4px; }
.uc-fav__recent .uc-fav-card__name { font-size: 12.5px; -webkit-line-clamp: 2; }
.uc-fav__recent .uc-fav-card__media { aspect-ratio: 1; }
.uc-fav__recent .uc-fav-card__icon { font-size: 40px; }
.uc-fav__recent .uc-fav-card__price { font-size: 14px; }
.uc-fav__recent .uc-fav-card { border-color: var(--uc-line); }
.uc-fav__recent .uc-fav-card:hover { border-color: var(--uc-ink); box-shadow: none; transform: none; }

/* ===== Recommendations ===== */
.uc-fav__reco {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #fce7f3 0%, #fff1e8 50%, #e6f7ee 100%);
  border-radius: 18px;
}
.uc-fav__reco-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.uc-fav__reco-title {
  font-family: var(--t-headline-font);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--uc-ink);
}
.uc-fav__reco-sub {
  font-size: 13px;
  color: var(--uc-muted);
  margin: 0;
}
.uc-fav__reco-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--uc-ink);
  text-decoration: none;
}
.uc-fav__reco-more:hover { text-decoration: underline; }
.uc-fav__reco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .uc-fav__grid { grid-template-columns: 1fr; }
  .uc-fcl { position: static; max-height: none; }
  .uc-fav__stats { grid-template-columns: repeat(3, 1fr); }
  .uc-fav__recent-grid { grid-template-columns: repeat(3, 1fr); }
  .uc-fav__reco-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .uc-fav__head { padding: 20px 0 0; }
  .uc-fav__head-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .uc-fav__title-row { flex-wrap: wrap; }
  .uc-fav__stats {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 -16px;
    padding: 0 16px;
  }
  .uc-fav__stat { padding: 14px 12px; border-right: 0; }
  .uc-fav__stat:nth-child(odd) { border-right: 1px solid var(--uc-line); }
  .uc-fav__stat-val { font-size: 18px; }
  .uc-fav__items { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .uc-fav__items[data-view="list"] { grid-template-columns: 1fr; }
  .uc-fav__items[data-view="list"] .uc-fav-card { flex-direction: column; }
  .uc-fav__items[data-view="list"] .uc-fav-card__media { width: 100%; aspect-ratio: 1; }
  .uc-fav__recent-grid { grid-template-columns: repeat(2, 1fr); }
  .uc-fav__reco-grid { grid-template-columns: repeat(2, 1fr); }
  .uc-fav__reco { padding: 16px; }
  .uc-fav-card__select { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .uc-fav-card, .uc-fav__btn--primary, .uc-fav__heart { transition: none; transform: none; }
}
/* Фикс карточек избранного — одинаковая высота + без серого фона */
.uc-fav-card__media {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 12px !important;
}
.uc-fav-card__media img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}
.uc-fav__items[data-view="grid"] {
    grid-auto-rows: 1fr;
}
.uc-fav-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.uc-fav-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.uc-fav-card__name {
    min-height: 2.6em;
}
.uc-fav-card__foot {
    margin-top: auto;
}

/* ===== ФИНАЛЬНЫЙ ФИКС КАРТОЧЕК В ИЗБРАННОМ ===== */
.uc-fav-card__media {
    background: #ffffff !important;
    background-image: none !important;
    padding: 14px !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-bottom: 1px solid #f0f1f3 !important;
}
.uc-fav-card__media a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}
.uc-fav-card__media img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}
.uc-fav__items[data-view="grid"] {
    grid-auto-rows: 1fr !important;
}
.uc-fav-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
.uc-fav-card__body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.uc-fav-card__name {
    min-height: 2.6em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.uc-fav-card__foot {
    margin-top: auto !important;
}
