/* dv-tours (2026-10-20): the tours hub and package tools. Kit tokens only; phones first. */

/* "On request: ask us" */
.dvt-ask { color: var(--ink); }
.dvt-ask a { color: var(--link); text-decoration: underline; text-underline-offset: .18em; }

/* Trust strip under the facts */
.dvt-trust { list-style: none; padding: var(--sp-4) 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--sp-5); font-size: var(--fs-meta); line-height: 20px; }
.dvt-trust li { display: inline-flex; align-items: flex-start; gap: var(--sp-2); min-width: 0; }
.dvt-trust .dvh-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--leaf); }
/* 44 px hit area on 20 px lines (tours-layout 2026-10-21), taken back by a negative margin so nothing moves; the
   24 px row gap keeps two stacked links' areas apart on phones; a link no longer breaks over two lines */
.dvt-trust a { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--link); text-underline-offset: .18em; }

/* How booking works: as wide as the row of tour cards under it, so both edges line up with the cards (owner 2026-10-20:
   a 72ch box ended mid-way along the right card); the label before the first colon in bold; no one-word last line */
.dvt-bookline { display: grid; grid-template-columns: 24px 1fr; gap: var(--sp-3); align-items: start; margin: 0 0 var(--sp-5); padding: var(--sp-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-media); font-size: var(--fs-ui); line-height: 1.55; }
.dvt-bookline > span { text-wrap: pretty; }
.dvt-bookline b { font-weight: var(--fw-strong); }
.dvt-bookline .dvh-icon { width: 24px; height: 24px; color: var(--leaf); }
@media (min-width: 600px) { .dvt-bookline { padding-inline: var(--sp-5); } }

/* Badge, rating, EUR / USD, example wines on the cards */
.dvt-badge { display: inline-flex; align-items: center; align-self: flex-start; min-height: 24px; padding: 2px 10px; border-radius: 999px; background: var(--action); color: var(--on-action); font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); font-weight: var(--fw-strong); letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.dvt-rating { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin: 0; font-size: var(--fs-meta); line-height: 20px; }
.dvt-rating__star { color: var(--ink); letter-spacing: 1px; }
.dvt-rating__count { color: var(--muted); }
.dvt-fx { display: block; font-size: var(--fs-meta); line-height: 20px; font-weight: var(--fw-text); color: var(--muted); font-variant-numeric: tabular-nums; }
.dvt-fx__src { white-space: nowrap; }
.dvt-fx-note { margin-top: var(--sp-4); max-width: 72ch; }
.dvt-wines { display: grid; grid-template-columns: 16px 1fr; gap: var(--sp-2); align-items: start; margin: 0; color: var(--ink); }
.dvt-wines .dvh-icon { width: 16px; height: 16px; margin-top: 2px; color: var(--muted); }
.dvt-wines__label { font-weight: var(--fw-ui); }
.dvt-wines__note { color: var(--muted); }
.dvt-wines a { color: var(--link); text-underline-offset: .18em; }
.pg-experience-head .dvt-wines, .pg-experience-head .dvt-diet, .pg-experience-head .dvt-menu { margin-top: var(--sp-3); }
.dvt-diet { display: grid; grid-template-columns: 16px 1fr; gap: var(--sp-2); align-items: start; margin: 0; color: var(--ink); }
.dvt-diet .dvh-icon { width: 16px; height: 16px; margin-top: 2px; color: var(--muted); }
.dvt-menu__list { margin: var(--sp-1) 0 0; padding-left: 1.2em; font-size: var(--fs-meta); line-height: var(--lh-meta); }
.dvh-expcard .dvt-wines { margin-top: var(--sp-1); }
.dvh-expcard__price + .dvt-fx { margin-top: -2px; }

/* Compare table: badge in the column head, one duration per column */
.pg-visits-compare__table th .dvt-badge { margin-top: 4px; }
.pg-visits-compare__table th[scope="col"] { vertical-align: bottom; }
.dvt-colhead { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }

/* Which tour suits you? */
.dvt-choose__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.dvt-choose__item { display: grid; grid-template-rows: 1fr auto; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-media); }
.dvt-choose__why { margin: 0; font-size: var(--fs-body); line-height: 1.55; }
.dvt-choose__pick { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); font-size: var(--fs-ui); }
.dvt-choose__pick a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-family: var(--font-display); font-size: var(--fs-card); font-weight: var(--fw-title); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.dvt-choose__pick .dvh-icon { width: 16px; height: 16px; }
.dvt-choose__price { font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; color: var(--success); }
.dvt-choose__note { margin-top: var(--sp-4); max-width: 72ch; }
@media (min-width: 900px) { .dvt-choose__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Practical questions (in the "Informații practice" column) */
.dvt-qa__list { margin: 0; border-top: 1px solid var(--line); }
.dvt-qa__item { display: grid; gap: var(--sp-1); padding-block: var(--sp-4); border-bottom: 1px solid var(--line); }
.dvt-qa__item dt { font-family: var(--font-display); font-size: var(--fs-card); line-height: var(--lh-card); font-weight: var(--fw-title); }
.dvt-qa__item dd { margin: 0; font-size: var(--fs-ui); line-height: 1.55; max-width: var(--text-measure); }

/* How to get here */
.dvt-go__grid { display: grid; gap: var(--sp-6); }
.dvt-go__map { margin-top: var(--sp-5); }
.dvt-go__map .dvh-btn { gap: var(--sp-2); }
.dvt-go__list { margin: 0; border-top: 1px solid var(--line); }
.dvt-go__item { display: grid; grid-template-columns: 24px 1fr; gap: 2px var(--sp-3); padding-block: var(--sp-4); border-bottom: 1px solid var(--line); }
.dvt-go__item > .dvh-icon { grid-row: span 2; width: 24px; height: 24px; color: var(--ink); stroke-width: 1.4; }
.dvt-go__item dt { font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); font-weight: var(--fw-strong); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted); }
.dvt-go__item dd { margin: 0; font-size: var(--fs-ui); line-height: 1.55; }
.dvt-go__item dd a { color: var(--link); text-underline-offset: .18em; }
@media (min-width: 900px) { .dvt-go__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-7); } }

/* Gallery */
.dvt-gallery__grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.dvt-gallery__item { margin: 0; display: grid; gap: var(--sp-2); }
.dvt-gallery__item img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-media); background: var(--band); }
@media (min-width: 600px) { .dvt-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .dvt-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Group request form */
.dvt-form__grid { display: grid; gap: var(--sp-6); }
.dvt-form__form { display: grid; gap: var(--sp-5); padding: var(--sp-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-media); min-width: 0; }
.dvt-form__foot { display: grid; gap: var(--sp-3); justify-items: start; }
.dvt-form__contact { margin: calc(-1 * var(--sp-2)) 0 0; }
.dvt-form__ok { align-self: start; }
.dvt-form .dvh-notice:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.dvt-check { display: inline-flex; align-items: flex-start; gap: var(--sp-2); min-height: var(--tap); font-size: var(--fs-ui); line-height: 22px; cursor: pointer; }
.dvt-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--action); flex: none; }
.dvt-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dvt-date { max-width: 22rem; }
@media (min-width: 900px) { .dvt-form__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-7); } }

/* The calendar tours.js adds under the date field (kit .dvh-cal look) */
.dvt-cal { display: grid; gap: var(--sp-2); max-width: 22rem; margin-top: var(--sp-2); padding: var(--sp-3); border: 1px solid var(--line); border-radius: var(--radius-media); background: var(--surface); }
.dvt-cal .dvh-day[tabindex="0"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.dvh-day.dvt-off { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); opacity: .7; }

/* Reviews (package page) */
.dvt-reviews__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.dvt-review { display: grid; gap: var(--sp-1); padding-block: var(--sp-4); border-bottom: 1px solid var(--line); }
.dvt-review__head { margin: 0; display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); font-size: var(--fs-meta); color: var(--muted); }
.dvt-review__head b { color: var(--ink); }
.dvt-review__verified { color: var(--success); font-weight: var(--fw-ui); }
.dvt-review__text { font-size: var(--fs-ui); line-height: 1.55; }
.dvt-reviews__form { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); max-width: 36rem; }
.dvt-reviews__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin: 0; }

/* The hub's info grid: the group box's button wraps in long languages (RU) instead of widening the column */
.pg-visits-info__grid > * { min-width: 0; }
.pg-visits-group .dvh-btn { white-space: normal; text-align: left; padding-block: 10px; }
.dvt-form__head { align-self: start; }
/* sticky again on tall desktop screens (tours-once 2026-10-21): without the facts (each said once, elsewhere on the
   page) the side column is shorter than the form, so the title, the direct contacts and the photo stay in view */
@media (min-width: 900px) and (min-height: 820px) { .dvt-form__head { position: sticky; top: calc(var(--header-h) + var(--sp-5)); } }

/* The column beside the group form (owner 2026-10-20: "why so empty on the left side") */
.dvt-aside { display: grid; gap: var(--sp-5); margin-top: var(--sp-5); }
.dvt-aside__label { margin: 0 0 var(--sp-2); font-size: var(--fs-meta); line-height: 20px; font-weight: var(--fw-strong); }
.dvt-aside__links { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; }
.dvt-aside__img { display: none; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-media); background: var(--band); }
@media (min-width: 900px) { .dvt-aside__img { display: block; } }

/* The calendar is the date field once tours.js draws it: the native box (browser-locale "mm/dd/yyyy", also on RO and
   RU pages) stays in the form for the request, out of sight; the chosen day is written under the month */
.dvt-date--cal { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dvt-cal__chosen { display: flex; align-items: center; gap: var(--sp-2); margin: 0; padding-top: var(--sp-2); border-top: 1px solid var(--line); font-size: var(--fs-ui); font-weight: var(--fw-strong); }
.dvt-cal__chosen .dvh-icon { width: 18px; height: 18px; color: var(--success); }
.dvt-cal__chosen:empty { display: none; }

/* Layout audit (tours-layout 2026-10-21), hub and package pages:
   - the numbered steps ("Cum rezervați", "Ce urmează după rezervare") keep their rows at the top: the kit's step is a
     grid stretched to the tallest step, so a shorter step spread the spare height over its rows and its title sat lower
     (16 px apart on the EN hub, 39 px on the RU package page at 1440)
   - 44 px hit areas without moving anything: the contact chips beside the group form, the package page's "Tours" crumb
     and the itinerary's shop link; the booking calendar's 36 px days (compact card, desktop) grow to 44 px on touch screens
   - phones: the package page's long address fact takes the full row, like the hub's */
.dvh-steps > li { align-content: start; }
.dvt-aside .dv-cc-chip { min-height: var(--tap); }
.pg-experience-crumbs a, .dvh-itin__text .dvh-meta a { display: inline-block; padding-block: 13px; margin-block: -13px; }
@media (min-width: 900px) and (pointer: coarse) { .dvh-booking--compact .dvh-cal .dvh-day { height: var(--tap); } }
@media (max-width: 599.98px) { .pg-experience-facts .pg-experience-fact--where { grid-column: 1 / -1; } }
