/* Click Travel · Туры (Разработка 2.0 → Туры (Редизайн)). Coin tokens only, except raw
   values that the Figma frames also use raw (price #5ca8ff, sale price #e0a500, star badge #f80). */
.tr-screen{background:var(--theme-bg-ocean)}
.tr-navbar__text{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center}
.av-app .tr-navbar__text p{font-size:14px;line-height:18px;color:var(--theme-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.tr-body{flex:1;padding:24px var(--space-base-l) 40px;display:flex;flex-direction:column;gap:var(--space-base-m)}
/* The body scrolls, so its blocks keep their own height instead of being squeezed. */
.tr-body>*{flex-shrink:0}
.tr-body--sticky{padding-bottom:110px}
.tr-body--booking{padding-bottom:300px}
.tr-muted{color:var(--theme-text-secondary);font-size:14px;line-height:18px}
.tr-accent{color:var(--theme-text-accent)}
.tr-link{color:var(--theme-text-accent);font-weight:600;font-size:15.5px;line-height:20px;text-align:center!important;width:100%;padding:8px 0}
.tr-link-inline{color:var(--theme-text-accent);font-size:14px}

/* Home · Tours search block */
.tr-route{position:relative;display:flex;flex-direction:column;gap:2px;border-radius:var(--radius-island);background:var(--theme-bg-island)}
.tr-route::after{content:'';position:absolute;left:0;right:0;top:calc(50% - .5px);border-top:1px solid var(--theme-bg-ocean);pointer-events:none}
.tr-route__row{display:flex;align-items:center;gap:8px;padding:16px 16px 16px 10px;width:100%}
.tr-route__text{flex:1;min-width:0;font-size:17px;line-height:22px;color:var(--theme-text-accent);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Search field */
.tr-search{flex:none;display:flex;align-items:center;gap:8px;height:54px;padding:0 12px 0 10px;border-radius:var(--radius-island);background:var(--theme-bg-island)}
.tr-search--small{height:48px;border-radius:var(--radius-input)}
.tr-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font:inherit;font-size:17px;color:var(--theme-text-primary)}
.tr-search input::placeholder{color:var(--theme-text-secondary)}
.tr-search--small input::placeholder{color:var(--theme-text-tertiary)}

/* Departure · Country */
.tr-country-head{display:flex;align-items:center;gap:12px;padding:16px;border-radius:var(--radius-cell-button);background:var(--theme-bg-island);font-weight:500;color:var(--theme-text-accent)}
.tr-country-head>span:not(.av-svg){flex:1}
.tr-radio-list{display:flex;flex-direction:column}
.tr-radio-row{display:flex;align-items:center;justify-content:space-between;padding:12px 4px 12px 12px;font-size:17px;line-height:22px;cursor:pointer}
.tr-toggle-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;cursor:pointer}
.tr-country{display:flex;align-items:center;gap:12px;padding:16px;border-radius:var(--radius-cell-button);background:var(--theme-bg-island);width:100%}
.tr-country__text{flex:1;display:flex;flex-direction:column;gap:4px;text-align:left}
.tr-country__name{font-weight:500;color:var(--theme-text-accent)}
.is-visa{font-size:14px;line-height:18px;color:var(--theme-text-attention)}
.is-free{font-size:14px;line-height:18px;color:var(--theme-text-success)}
.tr-cities__head{padding:0 0 16px}
.av-app .tr-cities__head h2{font-weight:600;font-size:22.5px;line-height:28px}
.tr-cities .av-sheet__body{padding-top:48px}

/* Tour calendar */
.tr-cal .av-sheet__body{padding-top:40px}
.tr-cal__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
.av-app .tr-cal__head h2{font-weight:600;font-size:22.5px;line-height:28px}
.tr-cal__head p{font-size:14px;line-height:18px;margin-top:4px}
.tr-flex{display:flex;align-items:center;gap:8px;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary);text-align:right;max-width:170px;cursor:pointer}
.tr-day{position:relative}
.tr-day::after{content:'';position:absolute;left:50%;bottom:3px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--theme-icon-disabled)}
.tr-day.has-offers::after{background:var(--theme-icon-accent)}
.tr-day.has-offers:not(.is-selected){color:var(--theme-text-accent)}
.tr-day.is-selected::after{background:var(--theme-icon-always-white)}
.tr-day.is-past::after{display:none}
.tr-day.is-range{border-radius:var(--radius-garden)}
.tr-cal__foot{display:flex;flex-direction:column;gap:12px}
.tr-nights__head{display:flex;justify-content:space-between;font-weight:600;font-size:17px;line-height:22px}
.tr-nights__head .tr-accent{font-weight:400;font-size:14px}
.tr-nights{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.tr-night{flex:none;height:34px;padding:0 16px;border-radius:var(--radius-chips);background:var(--theme-bg-island);font-size:14px;line-height:18px}
.tr-night.is-active{background:var(--component-chips-active-bg);color:var(--component-chips-active-text)}

/* Travellers */
.tr-remove{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--theme-bg-error);flex:none}
.tr-ages{display:grid;grid-template-columns:repeat(7,1fr);gap:8px 0;padding:16px;border-radius:var(--radius-island);background:var(--theme-bg-island)}
.tr-age{height:36px;border-radius:var(--radius-garden);font-size:14px;text-align:center!important}
.tr-age.is-active{background:var(--theme-bg-accent);color:var(--theme-text-always-white)}
.tr-link{display:block}

/* Results */
.tr-results{position:absolute;inset:0;padding:34px var(--space-base-l) 120px;display:flex;flex-direction:column;gap:var(--space-base-m)}
.tr-results__top{display:flex;flex-direction:column;gap:12px}
.tr-screen>.tr-results__top{padding:34px var(--space-base-l) 0}
.tr-chips{margin:0 -16px;padding:0 16px}
.tr-chip{gap:8px}
.tr-hotels{display:flex;flex-direction:column;gap:12px}
.tr-hotel{display:flex;flex-direction:column;gap:12px;width:100%;border-radius:var(--radius-island);background:var(--theme-bg-island);text-align:left;overflow:hidden;flex:none}
.tr-hotel--skeleton{height:236px;background:linear-gradient(90deg,var(--theme-bg-island),var(--theme-bg-tertiary),var(--theme-bg-island));background-size:200% 100%;animation:tr-shimmer 1.2s linear infinite}
@keyframes tr-shimmer{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.tr-hotel--skeleton{animation:none}}
.tr-hotel__img{position:relative;height:136px;border-radius:var(--radius-island);overflow:hidden;display:block}
.tr-hotel__img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tr-rate{position:absolute;left:8px;top:8px;width:32px;height:32px;display:grid;place-items:center;color:var(--theme-text-always-white);font-weight:500;font-size:12.5px;line-height:16px}
.tr-rate>.av-svg{position:absolute;inset:0}
.tr-rate b{position:relative;font-weight:500}
.tr-rate--small{position:relative;left:auto;top:auto;width:24px;height:24px;font-size:11px}
.tr-free{position:absolute;right:8px;top:8px;display:flex;align-items:center;gap:8px;height:24px;padding:0 12px;border-radius:var(--radius-rounding);background:var(--theme-bg-island);color:var(--primitive-colors-alert-malachite-green-c500);font-size:14px;line-height:18px}
.tr-stars{position:absolute;left:8px;bottom:8px;display:flex;align-items:center;gap:4px;height:24px;padding:0 12px;border-radius:var(--radius-rounding);background:var(--theme-bg-attention);color:var(--theme-text-always-white);font-size:14px;line-height:18px}
.tr-cashback{position:absolute;right:8px;bottom:8px;height:24px;padding:3px 12px;border-radius:var(--radius-rounding);background:var(--theme-bg-accent);color:var(--theme-text-always-white);font-size:14px;line-height:18px}
.tr-dots{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;align-items:center;gap:6px}
.tr-dots i{width:6px;height:6px;border-radius:4px;background:rgba(255,255,255,.7)}
.tr-dots i.is-on{width:10px;background:var(--theme-icon-always-white)}
.tr-dots i.is-small{width:4px;height:4px}
.tr-hotel__text{display:flex;flex-direction:column;gap:2px;padding:0 16px 16px}
.tr-hotel__name{font-weight:600;font-size:17px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr-hotel__city{font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.tr-hotel__price{display:flex;justify-content:space-between;align-items:center;margin-top:6px}
.tr-hotel__price s,.tr-hotel-card__price s{font-size:12.5px;line-height:16px;color:var(--theme-text-disabled)}
.tr-from{display:inline-flex;align-items:baseline;gap:5px;color:var(--av-price-color);font-weight:600;font-size:19.5px;line-height:26px}
.tr-from.is-sale,.tr-from.is-sale .av-price{color:#e0a500}
.tr-pill{position:absolute;left:calc(50% - 6px);bottom:37px;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;width:228px;height:34px;padding:0 16px;border-radius:var(--radius-rounding);background:var(--theme-bg-island);box-shadow:0 2px 12px rgba(20,20,20,.12);z-index:5}
.tr-pill button{display:flex;align-items:center;gap:8px;font-size:14px;line-height:18px;height:100%}
.tr-pill__sep{width:1px;height:18px;background:var(--theme-stroke-disabled)}
.tr-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.tr-empty>.av-svg{margin-bottom:16px}
.tr-empty__title{font-weight:600;font-size:17px;line-height:22px;color:var(--theme-text-primary)}
.tr-empty__foot{background:transparent}

/* Map */
.tr-map__canvas{position:absolute;left:0;right:0;bottom:0;height:704px;overflow:hidden}
.tr-map__canvas>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tr-map__canvas .tr-cluster,.tr-map__canvas .tr-pin{transform:translateY(-140px)}
.tr-cluster{position:absolute;width:40px;height:40px;display:grid;place-items:center;color:var(--theme-text-always-white);font-size:14px}
.tr-cluster>.av-svg{position:absolute;inset:0}
.tr-cluster b{position:relative;font-weight:400}
.tr-pin{position:absolute;padding:4px 12px;border-radius:var(--radius-rounding);background:var(--theme-bg-accent);color:var(--theme-text-always-white);font-weight:600;font-size:11px;line-height:14px;white-space:nowrap}
.tr-pin small{font-weight:400;font-size:11px}
.tr-pin.is-selected{background:var(--theme-bg-island);color:var(--av-price-color);filter:drop-shadow(0 0 8px var(--theme-bg-accent));z-index:2}
.tr-pin__tail{position:absolute;left:50%;top:22px;margin-left:-5px}
.tr-map__top{position:absolute;left:0;right:0;top:0;padding-bottom:12px;background:var(--theme-bg-ocean);border-radius:0 0 var(--radius-island) var(--radius-island);display:flex;flex-direction:column;gap:12px;z-index:3}
.tr-map__top .tr-chips{margin:0;padding:0 16px}
.tr-map__card{position:absolute;left:16px;right:16px;bottom:87px;z-index:4}

/* Filters */
.tr-card{padding:16px;border-radius:var(--radius-island);background:var(--theme-bg-island);display:flex;flex-direction:column;gap:12px}
.tr-card__title{font-weight:600;font-size:17px;line-height:22px}
.tr-card__row{display:flex;justify-content:space-between;align-items:center}
.tr-price-field{display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:18px}
.tr-price-field output{height:44px;display:flex;align-items:center;padding:0 12px;border:1px solid var(--component-input-on-island-normal-stroke);border-radius:var(--radius-input);background:var(--component-input-on-island-normal-bg);font-size:17px;white-space:nowrap;overflow:hidden}
.tr-rating-out{width:90px;height:44px;display:flex;align-items:center;padding:0 12px;border:1px solid var(--component-input-on-island-normal-stroke);border-radius:var(--radius-input);background:var(--component-input-on-island-normal-bg);color:var(--theme-text-tertiary)}
.tr-range{position:relative;height:28px}
.tr-range::before{content:'';position:absolute;left:12px;right:12px;top:13px;height:2px;border-radius:1px;background:linear-gradient(90deg,var(--theme-stroke-disabled) var(--a),var(--theme-bg-accent) var(--a),var(--theme-bg-accent) var(--b),var(--theme-stroke-disabled) var(--b))}
.tr-range input{position:absolute;left:0;right:0;top:0;width:100%;height:28px;margin:0;background:none;-webkit-appearance:none;appearance:none;pointer-events:none}
.tr-range input::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:var(--theme-bg-island);box-shadow:0 1px 4px rgba(20,20,20,.25);pointer-events:auto;cursor:pointer}
.tr-range input::-moz-range-thumb{width:24px;height:24px;border:0;border-radius:50%;background:var(--theme-bg-island);box-shadow:0 1px 4px rgba(20,20,20,.25);pointer-events:auto;cursor:pointer}
.tr-segment{display:flex;padding:2px;border-radius:var(--radius-garden);background:var(--theme-bg-island)}
.tr-segment button{flex:1;height:40px;border-radius:var(--radius-garden);text-align:center!important;font-size:14px;color:var(--theme-text-secondary)}
.tr-segment button.is-active{background:var(--theme-bg-accent);color:var(--theme-text-always-white)}
.tr-star-chips{display:flex;flex-wrap:wrap;gap:8px}
.tr-star-chip{display:flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:var(--radius-chips);background:var(--theme-bg-ocean);font-size:14px;color:var(--theme-text-secondary)}
.tr-star-chip.is-active{background:var(--theme-bg-accent);color:var(--theme-text-always-white)}
.av-app .tr-group-head{font-weight:600;font-size:17px;line-height:22px;color:var(--theme-text-primary);padding:8px 0}

/* Hotel page */
.tr-hotel-page__scroll{position:absolute;inset:0;padding-bottom:120px;display:flex;flex-direction:column;gap:12px}
.tr-hero{position:relative;flex:none;height:309px}
/* Ocean cap with 32px top corners at the photo's bottom (Rectangle 1, 8958:56016). */
.tr-hero::after{content:'';position:absolute;left:0;right:0;bottom:0;height:32px;border-radius:32px 32px 0 0;background:var(--theme-bg-ocean)}
.tr-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tr-hero__bar{position:absolute;left:0;right:0;top:34px;height:48px;padding:0 8px;display:flex;justify-content:space-between;align-items:center}
.tr-hero__bar--on-light .av-svg [fill]:not([fill=none]){fill:var(--theme-icon-accent)}
.tr-hero__bar--on-dark .av-svg [fill]:not([fill=none]){fill:var(--theme-icon-always-white)}
/* A soft shadow keeps white icons readable on mid-tone areas (sky, sea). */
.tr-hero__bar--on-dark .av-svg{filter:drop-shadow(0 0 3px var(--theme-bg-backdrop))}
.tr-hero__bar .av-svg [fill]{transition:fill .2s}
.tr-hero__stars{bottom:48px;left:16px}
.tr-hero__cashback{bottom:48px;right:16px}
.tr-hotel-card{margin:-28px 16px 0;position:relative;z-index:1;padding:16px;border-radius:var(--radius-island);background:var(--theme-bg-island);display:flex;flex-direction:column;gap:12px}
.tr-hotel-card__head{display:flex;justify-content:space-between;gap:12px}
.av-app .tr-hotel-card__head h1{font-weight:600;font-size:17px;line-height:22px}
.tr-hotel-card__head p{font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.tr-hotel-card__meta{text-align:right;flex:none}
.tr-hotel-card__price{display:flex;justify-content:space-between;align-items:center}
.tr-reviews{display:flex;align-items:center;gap:8px;font-size:14px;line-height:18px}
.tr-reviews .tr-link-inline{margin-left:auto}
.tr-amenities{display:flex;flex-wrap:wrap;gap:8px}
.tr-amenities__all{color:var(--theme-text-primary)!important;gap:4px!important}
.av-app .tr-subtitle{font-weight:600;font-size:17px;line-height:22px}
.tr-location-map{width:100%;height:120px;object-fit:cover;border-radius:var(--radius-garden)}
.tr-address{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:18px}
.tr-address a{color:var(--theme-text-accent)}
.tr-info-rows{display:flex;flex-direction:column;gap:8px;padding:0 16px}
.tr-info-row{display:flex;align-items:center;gap:12px;padding:16px;border-radius:var(--radius-cell-button);background:var(--theme-bg-island);font-weight:500;width:100%}
.tr-info-row>span:not(.av-svg){flex:1}
.av-app .tr-section-title{padding:12px 16px 0;font-weight:600;font-size:17px;line-height:22px;scroll-margin-top:24px}
.tr-rooms{display:flex;flex-direction:column;gap:12px;padding:0 16px}
.tr-room{padding:12px;border-radius:var(--radius-island);background:var(--theme-bg-island);display:flex;flex-direction:column;gap:8px}
.tr-room__photos{display:flex;gap:8px;margin:0 -12px;padding:0 12px}
.tr-room__photos img{flex:none;width:136px;height:120px;object-fit:cover;border-radius:var(--radius-garden)}
.tr-room__head{display:flex;justify-content:space-between;align-items:baseline}
.av-app .tr-room__head h3{font-weight:600;font-size:17px;line-height:22px}
.tr-room__head span{font-size:14px;color:var(--theme-text-secondary)}
.tr-taxes{display:flex;align-items:center;gap:6px;font-size:14px;line-height:18px;color:var(--primitive-colors-alert-malachite-green-c500)}
.tr-room__text{font-size:12.5px;line-height:16px;color:var(--theme-text-secondary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tr-room__text.is-open{display:block}
.tr-room__text .tr-link-inline{font-size:12.5px}
.tr-tariffs{display:flex;gap:8px;margin:0 -12px;padding:4px 12px 0}
.tr-tariff{flex:none;width:166px;padding:12px;border-radius:var(--radius-garden);background:var(--theme-bg-ocean);display:flex;flex-direction:column;gap:10px}
.tr-tariff ul{list-style:none;display:flex;flex-direction:column;gap:6px}
.tr-tariff li{display:flex;align-items:center;gap:6px;font-size:12.5px;line-height:16px;white-space:nowrap;overflow:hidden}
.tr-tariff li.is-accent{color:var(--theme-text-accent)}
.av-app .tr-tariff__pick{min-width:0;width:100%;min-height:36px}
.tr-sticky{position:absolute;left:0;right:0;bottom:0;padding:16px 16px 48px;background:var(--theme-bg-island);border-radius:var(--radius-island) var(--radius-island) 0 0;box-shadow:0 -4px 16px rgba(20,20,20,.05);z-index:4}
.tr-info-card{padding:16px;border-radius:var(--radius-island);background:var(--theme-bg-island)}
.av-app .tr-info-card h2{font-weight:600;font-size:17px;line-height:22px;margin-bottom:12px}
.tr-info-list{display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.tr-info-key{color:var(--theme-text-primary)}

/* Trip details */
.tr-tag{color:var(--theme-text-accent)}
.tr-trip-img{height:136px}
.tr-flight-box{padding:12px 0;border-radius:var(--radius-garden);background:var(--theme-bg-ocean);display:flex;flex-direction:column;gap:8px}
.tr-flight-box .av-seg{padding:0 12px}
.tr-extra{display:flex;align-items:center;gap:12px}
.tr-extra p:first-child{font-size:14px;line-height:18px}
.tr-total .av-total{font-size:14px}
.av-total--price{color:var(--av-price-color)}

/* Booking */
.tr-tourist__head{display:flex;justify-content:space-between;align-items:center}
.tr-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:var(--radius-rounding);background:var(--primitive-colors-primary-electric-blue-c500-trans16);color:var(--theme-text-accent);font-weight:500;font-size:14px;line-height:18px}
.tr-badge--small{padding:2px 6px;font-size:12.5px;line-height:16px}
.tr-gender{display:flex;flex-direction:column;gap:2px}
.tr-gender__opt{display:flex;align-items:center;justify-content:space-between;height:44px;padding:0 12px;border-radius:var(--radius-garden);background:var(--theme-bg-ocean);cursor:pointer}
.tr-hold{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:var(--radius-island);background:var(--primitive-colors-alert-malachite-green-c500);color:var(--theme-text-always-white);font-size:12.5px;line-height:16px}
.tr-paybox{position:absolute;left:0;right:0;bottom:0;padding:16px 16px 48px;border-radius:var(--radius-island) var(--radius-island) 0 0;background:var(--theme-bg-island);display:flex;flex-direction:column;gap:16px;box-shadow:0 -4px 16px rgba(20,20,20,.05);z-index:4}
.tr-agree{display:flex;align-items:center;gap:12px;font-size:14px;line-height:18px;cursor:pointer}
.tr-agree a{color:var(--theme-text-accent);text-decoration:underline}
.tr-agree.is-error .cds-checkbox__box{border-color:var(--theme-stroke-error)}

/* Hotel price (Price Container, 8958:56031): «от» and currency 22.5/28, amount 28/36, no tiyin. */
.tr-big-price{display:flex;align-items:baseline;gap:4px;color:var(--av-price-color);font-weight:600;font-size:22.5px;line-height:28px;white-space:nowrap}
.tr-big-price b{font-size:28px;line-height:36px;font-weight:600}
