/*
 * Раздел «Уценка» (/ucenka/): лента archive-tt_ucenka.php и карточка
 * single-tt_ucenka.php. Проект 000-8.1. Фирстиль как у «Объявлений»
 * (scss/pages/_ads.scss): фон #222222, акцент #2CB5EB, Inter Tight, острые углы.
 * Отдельный файл, а не style.css: подключается только в разделе.
 */
/* Шапка темы фиксированная (74 px на 380 → 94 px с 1440, замер 22.10.2026) и отступа
 * под себя не даёт: без этого плашка «Продано» и крошки уходили под неё. */
.tt-uc { display: block; padding: calc(clamp(74px, 1.86vw + 67.5px, 94px) + clamp(1rem, 2vw, 1.75rem)) 1rem 4rem; color: #F0F0F0; font-family: "Inter Tight", sans-serif; }
.tt-uc__wrap { max-width: 1100px; margin: 0 auto; }
.tt-uc__title { font: var(--font-h1); margin: .5rem 0 1rem; color: #fff; }
.tt-uc__lead { max-width: 760px; margin: 0 0 1.5rem; color: #c8c8c8; line-height: 1.6; font-size: 1.05rem; }
.tt-uc__h2 { font: var(--font-h2); font-size: clamp(1.35rem, 1.2vw + 1rem, 1.9rem); margin: 0 0 1rem; color: #fff; }
.tt-uc__h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 .6rem; color: #fff; }
.tt-uc__sec { margin: 2.5rem 0 0; }
.tt-uc__text { line-height: 1.65; color: #d9d9d9; }
.tt-uc__text p { margin: 0 0 .8rem; }
.tt-uc__empty { color: #9C9C9C; padding: 2rem 0; }
.tt-uc__back { margin: 3rem 0 0; }
.tt-uc__back a, .tt-uc__up { color: #2CB5EB; text-decoration: none; }
.tt-uc__up { display: inline-block; font-size: .9rem; margin-bottom: .3rem; }

.tt-uc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0 0 2rem; }
.tt-uc__msg { color: #9C9C9C; font-size: .9rem; }
.tt-uc__max { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.3rem; background: #5B3CF5; color: #fff; text-decoration: none; font-weight: 500; line-height: 1.2; }
.tt-uc__max:hover { filter: brightness(1.1); }

.tt-uc__price-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.tt-uc__price { font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); font-weight: 600; color: #fff; }
.tt-uc__badge { display: inline-block; padding: .3rem .6rem; border: 1px solid #98C03C; color: #98C03C; font-size: .85rem; line-height: 1.2; vertical-align: middle; }
.tt-uc__badge--sold { border-color: #F55824; color: #F55824; }
.tt-uc__vs { margin: .5rem 0 0; color: #98C03C; }
.tt-uc__where { margin: .4rem 0 0; color: #9C9C9C; }
.tt-uc__head { margin: 0 0 1.5rem; }

.tt-uc__gallery { margin: 0 0 1.5rem; }
.tt-uc__gallery-main { display: block; aspect-ratio: 3 / 2; background: #2c2c2c; overflow: hidden; }
.tt-uc__gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-uc__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; margin-top: .5rem; }
.tt-uc__thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #2c2c2c; }
.tt-uc__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-uc__gallery-note { margin: .6rem 0 0; color: #9C9C9C; font-size: .9rem; }

.tt-uc__table { width: 100%; border-collapse: collapse; }
.tt-uc__table th, .tt-uc__table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
.tt-uc__table th { width: 40%; color: #9C9C9C; font-weight: 400; }

.tt-uc__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tt-uc__box, .tt-uc__mesto { border: 1px solid rgba(255,255,255,.14); padding: 1.1rem 1.2rem; }
.tt-uc__mesta { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.tt-uc__mesto-city { font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: .4rem; }
.tt-uc__mesto-row { color: #d9d9d9; line-height: 1.5; }
.tt-uc__dostavka { margin-top: 1rem; }
.tt-uc__new p { margin: 0 0 1rem; }
.tt-uc__cta { border: 1px solid rgba(44,181,235,.35); padding: 1.5rem; margin-top: 3rem; }
.tt-uc__cta p { color: #d9d9d9; margin: 0 0 1rem; }

/* Лента */
.tt-uc__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.tt-uc__sold-h { margin-top: 3rem; }
.tt-uc-card { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.14); background: #262626; }
.tt-uc-card__img { position: relative; display: block; aspect-ratio: 3 / 2; background: #2c2c2c; overflow: hidden; }
.tt-uc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-uc-card__sold { position: absolute; left: 0; top: 1rem; background: #F55824; color: #fff; padding: .35rem .7rem; font-weight: 600; font-size: .9rem; }
.tt-uc-card.is-sold .tt-uc-card__img img { filter: grayscale(1); opacity: .6; }
.tt-uc-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem 1.1rem; flex: 1; }
.tt-uc-card__title { font-size: 1.15rem; font-weight: 600; margin: 0; line-height: 1.3; }
.tt-uc-card__title a { color: #fff; text-decoration: none; }
.tt-uc-card__price { font-size: 1.5rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tt-uc-card__vs { color: #98C03C; font-size: .95rem; }
.tt-uc-card__text { margin: 0; color: #c8c8c8; line-height: 1.5; font-size: .95rem; }
.tt-uc-card__where { color: #9C9C9C; font-size: .9rem; }
.tt-uc-card__btns { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .5rem; }
.tt-uc-card__more, .tt-uc-card__share { padding: .55rem .9rem; font-size: .9rem; line-height: 1.2; text-decoration: none; cursor: pointer; font-family: inherit; }
.tt-uc-card__more { background: #2CB5EB; color: #242424; }
.tt-uc-card__share { background: transparent; color: #2CB5EB; border: 1px solid rgba(44,181,235,.5); }

/* Плашка «Продано» */
.tt-uc-sold { border: 2px solid #F55824; background: rgba(245,88,36,.08); padding: 1.2rem 1.4rem; margin: 0 0 1.5rem; }
.tt-uc-sold__title { font-size: 1.6rem; font-weight: 700; color: #F55824; margin: 0 0 .4rem; }
.tt-uc-sold__text { margin: 0 0 1rem; color: #F0F0F0; }
.tt-uc-sold__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.tt-uc-sold.is-stay .tt-uc-sold__text { display: none; }
.tt-uc.is-sold .tt-uc__gallery-main img { filter: grayscale(.7); }

@media (max-width: 640px) {
	.tt-uc__duo { grid-template-columns: 1fr; }
	.tt-uc__actions > * { flex: 1 1 100%; justify-content: center; text-align: center; }
	.tt-uc__table th { width: 45%; }
}
