/* Публичная страница избранного /izbrannoe */

.fp-page { max-width: 1180px; margin: 0 auto; padding: 24px 16px 60px; }
.fp-title { font-size: 28px; font-weight: 800; letter-spacing: -.5px; display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.fp-title svg { color: #EF4444; flex: none; }
.fp-lead { color: #5B6478; font-size: 16px; margin: 0; max-width: 760px; }

.fp-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.fp-bar { display: flex; align-items: center; gap: 14px; border-radius: 16px; padding: 14px 16px; border: 1px solid #E6E9EF; background: #fff; }
.fp-bar .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; }
.fp-bar .t { flex: 1; font-size: 14px; line-height: 1.4; min-width: 0; }
.fp-bar .t b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; color: #0F172A; }
.fp-bar .t span { color: #5B6478; }
.fp-bar-login .ic { background: #E6F4FE; color: #008ef1; }
.fp-bar-tg .ic { background: #e3f3fb; color: #229ED9; }
.fp-bar .go { height: 42px; padding: 0 16px; border-radius: 21px; font-weight: 700; text-decoration: none; font-size: 14px; display: flex; align-items: center; white-space: nowrap; color: #fff; border: none; cursor: pointer; }
.fp-bar-login .go { background: #008ef1; }
.fp-bar-tg .go { background: #229ED9; }
.fp-bar-tg { position: relative; }
.fp-more { width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff; border: 1px solid #E6E9EF; color: #5B6478; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fp-msg-menu { position: absolute; top: calc(100% + 6px); right: 12px; width: 190px; background: #fff; border: 1px solid #E6E9EF; border-radius: 12px; box-shadow: 0 12px 30px -10px rgba(15,23,42,.2); padding: 6px; z-index: 20; }
.fp-msg-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #0F172A; text-decoration: none; font-weight: 600; font-size: 14px; cursor: pointer; }
.fp-msg-item:hover { background: #F4F6F9; }

.fp-chips { display: flex; gap: 9px; flex-wrap: wrap; padding: 24px 0 6px; }
.fp-chip { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid #E6E9EF; background: #fff; color: #5B6478; font-weight: 600; font-size: 14.5px; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.fp-chip.is-active { background: #008ef1; border-color: #008ef1; color: #fff; }
.fp-chip-n { opacity: .6; font-weight: 700; }

.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 16px 0 0; }
.fp-card { background: #fff; border: 1px solid #E6E9EF; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: .15s; box-shadow: 0 6px 18px -10px rgba(15,23,42,.16); }
.fp-card:hover { box-shadow: 0 20px 44px -16px rgba(15,23,42,.28); transform: translateY(-3px); }
.fp-ph { position: relative; height: 188px; background: #dfe3ea; }
.fp-ph img { width: 100%; height: 100%; object-fit: cover; }
.fp-museum { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 24px); background: #fff; color: #0F172A; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-shadow: 0 2px 6px rgba(15,23,42,.12); }
.fp-body { padding: 14px 16px 8px; display: flex; flex-direction: column; flex: 1; }
.fp-toprow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.fp-heart { width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent; color: #EF4444; cursor: pointer; display: flex; align-items: center; justify-content: center; margin-left: -4px; flex: none; }
.fp-heart:hover { background: #FEE2E2; }
.fp-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(15,23,42,.06); color: #3a4253; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 8px; }
.fp-name { font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.3px; margin: 0 0 6px; }
.fp-name a { color: #0F172A; text-decoration: none; }
.fp-desc { margin: 0 0 12px; color: #9aa3b2; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp-foot { margin-top: auto; padding: 6px 16px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.fp-price .now { font-size: 24px; font-weight: 800; color: #0cbc87; letter-spacing: -.5px; }
.fp-price s { color: #9aa3b2; font-weight: 600; font-size: 15px; margin-left: 6px; }
.fp-price .per { display: block; margin-top: 6px; }
.fp-arrow { width: 54px; height: 46px; border-radius: 14px; background: #008ef1; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; text-decoration: none; }
.fp-arrow:hover { background: #0072c6; }

.fp-empty { text-align: center; padding: 50px 20px; }
.fp-empty-emoji { font-size: 52px; }
.fp-empty-title { font-size: 22px; font-weight: 800; color: #0F172A; margin-top: 10px; }
.fp-empty-sub { color: #5B6478; font-size: 16px; margin: 8px auto 0; max-width: 460px; line-height: 1.5; }
.fp-empty-cta { display: inline-block; margin-top: 20px; height: 52px; line-height: 52px; padding: 0 28px; border-radius: 26px; background: #008ef1; color: #fff; font-weight: 700; text-decoration: none; font-size: 16px; }

.fp-skeleton { background: #fff; border: 1px solid #E6E9EF; border-radius: 16px; height: 320px; }
[v-cloak] { display: none; }

/* Планшет */
@media (max-width: 920px) {
	.fp-grid { grid-template-columns: repeat(2, 1fr); }
	.fp-bars { grid-template-columns: 1fr; }
}

/* Мобилка */
@media (max-width: 600px) {
	.fp-page { padding: 16px 14px 44px; }
	.fp-title { font-size: 23px; }
	.fp-lead { font-size: 15px; }

	.fp-grid { grid-template-columns: 1fr; gap: 18px; }

	/* плашки: иконка+текст первой строкой, кнопки — второй, на всю ширину */
	.fp-bar { flex-wrap: wrap; row-gap: 12px; }
	.fp-bar .ic { width: 40px; height: 40px; border-radius: 11px; }
	.fp-bar .t { flex: 1 1 calc(100% - 54px); }
	.fp-bar .go { height: 50px; justify-content: center; font-size: 15px; }
	.fp-bar-login .go { flex: 1 1 100%; }
	.fp-bar-tg .go { flex: 1 1 auto; }
	.fp-more { width: 50px; height: 50px; flex: none; }
	.fp-msg-menu { right: 0; }

	/* карточка крупнее под палец */
	.fp-ph { height: 200px; }
	.fp-name { font-size: 17px; }
	.fp-arrow { width: 56px; height: 50px; }
}
