@charset "UTF-8";
/* Дэя: карточка тура и общие элементы страниц туров (список «Туры по России», тур, направление).
   Подключается фильтром deya_extra_assets из inc/mod-tours.php. Значения взяты из утверждённой вёрстки. */

/* Сетка карточек */
.deya-tgrid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 40px 24px; }

/* Карточка тура */
.deya-tcard { display: flex; flex-direction: column; min-width: 0; }
.deya-tcard__media { display: block; position: relative; height: 260px; border-radius: 28px; overflow: hidden; background: var(--gray); }
.deya-tcard__media img { display: block; position: relative; width: 100%; height: 100%; object-fit: cover; }
.deya-tcard__badges { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.deya-tcard__days, .deya-tcard__sale { border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.deya-tcard__days { background: #fff; color: var(--ink); }
.deya-tcard__sale { margin-left: auto; background: var(--pink-link); color: #fff; }
.deya-tcard__body { padding: 18px 6px 0; display: flex; flex-direction: column; gap: 10px; flex: 1 1 0; }
.deya-tcard__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.deya-tcard__title a { color: inherit; }
.deya-tcard__title a:hover { color: var(--teal); }
.deya-tcard__dep { font-size: 14px; font-weight: 600; }
.deya-tcard__note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.deya-tcard__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deya-tcard__price { font-family: var(--serif); font-size: 23px; white-space: nowrap; }
.deya-tcard__more { position: relative; margin-left: auto; font-size: 14px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--pink-link); padding-bottom: 2px; transition: color .2s; }
.deya-tcard__more::after { content: ""; position: absolute; inset: -14px -8px; }
.deya-tcard__more:hover { color: var(--pink-link); }

/* Вводный абзац страниц туров */
.deya-tlead { margin: 28px 0 0; max-width: 860px; font-size: 19px; line-height: 1.65; color: #2B424A; text-wrap: pretty; }

/* Список «пилюль» с точкой */
.deya-tbullets { --min: 250px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--min), 100%), 1fr)); gap: 10px; }
.deya-tbullets li { display: flex; gap: 12px; align-items: flex-start; background: var(--gray); border-radius: 18px; padding: 14px 18px; font-size: 15px; line-height: 1.45; }
.deya-tbullets li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-top: 7px; }
.deya-tbullets--tour { --min: 240px; }
.deya-tbullets--col { --min: 100%; }
.deya-tbullets--no li::before { background: var(--muted); }

/* Боковая карточка с формой заявки (страница тура и страница направления) */
.deya-taside { --w: 380px; flex: 0 1 var(--w); width: var(--w); max-width: 100%; position: sticky; top: 24px; background: var(--gray); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.deya-taside .deya-input { border: 0; border-radius: 999px; padding: 16px 22px; }
.deya-taside .deya-input:focus { box-shadow: 0 0 0 2px var(--teal); }
.deya-taside .deya-input.is-invalid { box-shadow: 0 0 0 2px #b00020; }
.deya-taside .deya-form { gap: 12px; }
.deya-taside .deya-check { font-size: 12px; }
.deya-taside .deya-btn--teal { padding: 16px 24px; }
.deya-taside .deya-sent { background: #fff; }

/* Контакты в боковой карточке */
.deya-contact { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; }
.deya-contact__title { font-weight: 700; }
.deya-contact__phone { color: var(--ink); font-weight: 600; }
.deya-contact__phone:hover { color: var(--teal); }
.deya-contact__addr { color: var(--muted); }
.deya-contact__chips { margin-top: 6px; }
.deya-contact .deya-chip { padding: 7px 14px; font-size: 13px; }

@media (max-width: 1100px) {
	.deya-taside { --w: 100%; position: static; flex: 1 1 100%; }
}
@media (max-width: 900px) {
	.deya-tgrid { margin-top: 28px; gap: 32px 20px; }
	.deya-tlead { margin-top: 20px; font-size: 18px; }
}
@media (max-width: 720px) {
	.deya-taside { padding: 24px; border-radius: 28px; gap: 18px; }
	.deya-contact__phone { padding: 10px 0; }
	.deya-contact .deya-chip { padding: 12px 18px; font-size: 14px; }
}
@media (max-width: 420px) {
	.deya-tcard__media { height: 230px; border-radius: 24px; }
	.deya-tlead { font-size: 17px; }
}
