/* Yell — пакет «Витрина» (30.09.2026). Поверх yell-card-v2.css. */

.yvt-wrap { max-width: 1170px; margin: 0 auto; padding: 14px 16px 0; }
.yvt-wrap .yell-bc, .yvt-wrap nav[aria-label] { margin-bottom: 12px; }

/* ---------- первый экран ---------- */
.yvt-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.yvt-main { position: relative; border-radius: 20px; overflow: hidden; background: #2A2C31; min-height: 440px; }
.yvt-strip { position: absolute; inset: 0; display: flex; }
.yvt-slide { flex: 0 0 100%; height: 100%; display: block; }
.yvt-slide:not(:first-child) { display: none; }
.yvt-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yvt-main::after { content: ""; position: absolute; inset: 0; background: rgba(21, 23, 27, .52); pointer-events: none; }
.yvt-over { position: relative; z-index: 2; min-height: 440px; box-sizing: border-box; padding: 32px 36px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; color: #fff; pointer-events: none; }
.yvt-over a, .yvt-over button { pointer-events: auto; }
.yvt-top { display: flex; align-items: center; gap: 14px; }
.yvt-logo { width: 64px; height: 64px; border-radius: 14px; background: #fff; overflow: hidden; flex-shrink: 0; display: flex; }
.yvt-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.yvt-meta { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.yvt-rate { color: #F1EEE8; }
.yvt-rate b { color: #fff; }
.yvt-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.yvt-badge { background: #E3F0EC; color: #0E5C52; font-weight: 600; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.yvt-badge.is-partner { background: #FFC220; color: #15171B; }
.yvt-h1 { margin: 0; color: #fff; font-size: 46px; line-height: 1.06; font-weight: 800; letter-spacing: -.01em; }
.yvt-tag { margin: 0; font-size: 18px; line-height: 1.45; color: #F1EEE8; max-width: 600px; }
.yvt-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.yvt-btn { height: 50px; padding: 0 22px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; }
.yvt-btn.is-main { background: #FFC220; color: #15171B; border: 0; }
.yvt-btn.is-main:hover { background: #F0B008; }
.yvt-btn.is-ghost { border: 1px solid rgba(255, 255, 255, .65); color: #fff; background: transparent; font-weight: 600; }
.yvt-btn.is-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.yvt-open { font-size: 14px; font-weight: 600; margin-left: 4px; }
.yvt-open.is-open { color: #9FE0C9; }
.yvt-open.is-closed { color: #F4B7A8; }
.yvt-count { position: absolute; z-index: 3; top: 12px; right: 12px; background: rgba(21, 23, 27, .7); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; display: none; }

.yvt-side { display: none; }
.yvt-tile { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #E4DCCB; }
.yvt-all { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; color: #15171B; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }

@media (min-width: 992px) {
	.yvt-hero.has-side { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 32px; }
	.yvt-hero.has-side .yvt-side { display: grid; gap: 12px; height: 440px; }
	.yvt-side.yvt-n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
	.yvt-side.yvt-n3 .yvt-s0 { grid-column: 1 / -1; }
	.yvt-side.yvt-n2 { grid-template-rows: 1fr 1fr; }
	.yvt-side .yvt-tile { height: 100%; }
}

/* телефон: фото листаются свайпом, плашка снизу */
@media (max-width: 767px) {
	.yvt-wrap { padding: 10px 0 0; }
	.yvt-wrap > nav, .yvt-wrap > .yell-bc { padding: 0 16px; }
	.yvt-main { border-radius: 0; min-height: 0; aspect-ratio: 4 / 5; max-height: 78vh; }
	.yvt-main::after { background: none; }
	.yvt-strip { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.yvt-strip::-webkit-scrollbar { display: none; }
	.yvt-slide { scroll-snap-align: start; }
	.yvt-slide:not(:first-child) { display: block; }
	.yvt-count { display: block; }
	.yvt-over { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 0; padding: 14px 16px; border-radius: 16px; background: rgba(21, 23, 27, .74); gap: 6px; pointer-events: auto; }
	.yvt-top { gap: 10px; }
	.yvt-logo { width: 44px; height: 44px; border-radius: 10px; }
	.yvt-meta { font-size: 13px; gap: 4px; }
	.yvt-h1 { font-size: 26px; }
	.yvt-tag { font-size: 14px; }
	.yvt-cta .yvt-btn { display: none; } /* на телефоне кнопки — ряд под фото и нижняя панель */
	.yvt-open { margin: 0; font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 991px) {
	.yvt-h1 { font-size: 38px; }
}

/* ---------- блоки основной колонки ---------- */
.yvt-h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; line-height: 1.25; }
.yvt-h2 em { font-style: normal; font-weight: 600; font-size: 15px; color: #8A857A; margin-left: 4px; }
.yvt-h2 span { font-weight: 400; font-size: 14px; color: #6F6A60; margin-left: 6px; }

.yvt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.yvt-works .ycv2-gitem.yvt-sq { display: block; position: relative; flex: none; height: auto; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #EDE6D8; }
.yvt-sq img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.yvt-sq:hover img { transform: scale(1.03); }
@media (max-width: 767px) {
	.yvt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
	.yvt-sq { border-radius: 8px; }
}

.yvt-reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.yvt-reel { position: relative; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: #2A2C31; color: #fff; cursor: pointer; font: inherit; text-align: left; }
.yvt-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yvt-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .55)); }
.yvt-src { position: absolute; z-index: 1; top: 10px; left: 10px; background: rgba(21, 23, 27, .6); font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; }
.yvt-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: flex; align-items: center; justify-content: center; }
.yvt-reel:hover .yvt-play { background: #FFC220; color: #15171B; }
.yvt-rt { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; font-size: 13px; line-height: 1.35; }
@media (max-width: 767px) {
	.yvt-reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
	.yvt-reels::-webkit-scrollbar { display: none; }
	.yvt-reel { flex: 0 0 150px; scroll-snap-align: start; }
}

/* плеер */
.yvt-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(10, 11, 13, .88); display: flex; align-items: center; justify-content: center; padding: 16px; }
.yvt-modal[hidden] { display: none; }
.yvt-frame { position: relative; width: min(420px, 100%); aspect-ratio: 9 / 16; max-height: 88vh; background: #000; border-radius: 14px; overflow: hidden; }
.yvt-frame.is-wide { width: min(960px, 100%); aspect-ratio: 16 / 9; }
.yvt-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.yvt-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.yvt-x:hover { background: rgba(255, 255, 255, .28); }

/* ---------- правая колонка: контакты → карта → часы → форма ---------- */
.yell-vitrina .ycv2-contacts { display: flex; flex-direction: column; }
.yell-vitrina .ycv2-contacts .ycv2-clist { order: 1; }
.yell-vitrina .ycv2-contacts .ycv2-map { order: 2; margin-top: 12px; }
.yell-vitrina .ycv2-contacts .ycv2-sr { order: 3; }
.yell-vitrina .ycv2-contacts .ycv2-hours { order: 4; margin-top: 12px; }

/* в Витрине шапка карточки пустая (название — в первом экране) */
.yell-vitrina .ycv2-head:not(:has(*)) { display: none; }

/* правки 30.09 после просмотра: белый заголовок, фото на всю плитку, отступы блоков */
.ycv2 .yvt-hero h1.yvt-h1 { color: #fff; }
.yvt-tile .yvt-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.yvt-side .yvt-tile { min-height: 0; }
.yvt-slide { position: relative; }
.ycv2-box.yvt-works, .ycv2-box.yvt-video { padding: 20px 24px 24px; }
@media (max-width: 767px) {
	.ycv2-box.yvt-works, .ycv2-box.yvt-video { padding: 16px; }
}

/* 01.10: главное фото — без скруглений, на всю площадь (тёмный фон не просвечивает) */
.yvt-slide { border-radius: 0; background: transparent; height: 100%; }
.yvt-main { background: #E4DCCB; }
@media (max-width: 767px) {
	.yvt-wrap { padding-left: 0; padding-right: 0; }
	.yvt-main { border-radius: 0; margin: 0; }
}
