/*
 * Public search pages. Every color, radius and font comes from the
 * --dt-* variables of the style chosen in the admin (public_site/themes.py).
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--dt-font);
    color: var(--dt-text);
    background-color: var(--dt-bg);
    background-image: var(--dt-bg-image);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.dt-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 16px 80px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dt-panel {
    background: var(--dt-surface);
    border: 1px solid var(--dt-border);
    box-shadow: var(--dt-shadow);
    border-radius: var(--dt-radius);
    -webkit-backdrop-filter: blur(var(--dt-blur)) saturate(160%);
    backdrop-filter: blur(var(--dt-blur)) saturate(160%);
}

.dt-muted {
    color: var(--dt-muted);
}

.dt-display {
    font-family: var(--dt-display-font);
}

/* Header */

.dt-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
}

.dt-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--dt-display-font);
    font-weight: 700;
    font-size: 18px;
}

.dt-brand img {
    display: block;
    max-height: 44px;
    max-width: 220px;
}

.dt-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.dt-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: var(--dt-muted);
}

.dt-nav a[aria-current="page"] {
    color: var(--dt-text);
    background: var(--dt-surface-inner);
}

/* The big photo above the search (the page without a search): white text
   on a dark veil whatever the style; the search panel overlaps its foot. */

.dt-hero {
    position: relative;
    min-height: 460px;
    padding: 76px 56px 170px;
    border-radius: var(--dt-radius);
    overflow: hidden;
    background-color: #10141C;
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}

.dt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 10, 16, 0.72) 0%, rgba(8, 10, 16, 0.35) 60%, rgba(8, 10, 16, 0.15) 100%);
}

.dt-hero .dt-hero-copy {
    position: relative;
    max-width: 640px;
}

.dt-hero h1 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-weight: 700;
    font-size: clamp(36px, 5.2vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.dt-hero .dt-lead,
.dt-hero .dt-preset-price {
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.dt-search-raised {
    position: relative;
    margin: -150px 28px 0;
}

/* The cruises' photo: the liner below the middle, above the panel. */
.dt-hero-cruise {
    background-position: center 30%;
}

@media (max-width: 700px) {
    .dt-hero {
        min-height: 320px;
        padding: 40px 22px 130px;
    }

    .dt-hero .dt-lead {
        font-size: 16px;
    }

    .dt-search-raised {
        margin: -110px 0 0;
    }
}

/* Search */

.dt-search {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dt-search h1 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-weight: 700;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.dt-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    align-items: stretch;
}

.dt-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    border-radius: calc(var(--dt-radius) - 8px);
    background: var(--dt-surface-inner);
    border: 1px solid var(--dt-border);
    min-width: 0;
}

.dt-field span {
    font-size: 12px;
    color: var(--dt-muted);
}

.dt-field input,
.dt-field select {
    width: 100%;
    min-height: 28px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--dt-text);
    font: 700 16px var(--dt-font);
}

.dt-field select option {
    color: #17173A;
}

.dt-field input::placeholder,
.dt-field textarea::placeholder {
    color: var(--dt-muted);
    font-weight: 500;
    opacity: 0.6;
}

.dt-field:focus-within {
    outline: 2px solid var(--dt-accent);
    outline-offset: 1px;
}

.dt-pair {
    display: flex;
    gap: 6px;
    align-items: center;
}

.dt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: calc(var(--dt-radius) - 8px);
    background: var(--dt-accent);
    color: var(--dt-on-accent);
    box-shadow: var(--dt-glow);
    font: 800 16px var(--dt-font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.dt-button:focus-visible,
.dt-ghost:focus-visible {
    outline: 2px solid var(--dt-text);
    outline-offset: 2px;
}

.dt-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: calc(var(--dt-radius) - 10px);
    border: 1px solid var(--dt-muted);
    background: transparent;
    color: var(--dt-text);
    font: 700 14px var(--dt-font);
    text-decoration: none;
    cursor: pointer;
}

.dt-small {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
}

.dt-errors {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(220, 38, 38, 0.14);
    border: 1px solid rgba(220, 38, 38, 0.4);
}

/* Price calendar */

.dt-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 8px;
}

.dt-day {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: calc(var(--dt-radius) - 10px);
    background: var(--dt-surface-inner);
    border: 1px solid var(--dt-border);
    text-decoration: none;
}

.dt-day small {
    color: var(--dt-muted);
}

.dt-day b {
    font-size: 15px;
    white-space: nowrap;
}

.dt-day[aria-current="date"] {
    background: var(--dt-accent);
    color: var(--dt-on-accent);
    border-color: transparent;
    box-shadow: var(--dt-glow);
}

.dt-day[aria-current="date"] small {
    color: inherit;
    opacity: 0.85;
}

.dt-day .dt-best {
    font-size: 11px;
    font-weight: 800;
    color: var(--dt-second);
}

.dt-day[aria-current="date"] .dt-best {
    color: inherit;
}

/* Results */

.dt-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: flex-start;
}

.dt-filters {
    flex: 1 1 240px;
    max-width: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dt-filters h2 {
    margin: 0;
    font-family: var(--dt-display-font);
    font-size: 18px;
}

.dt-filters fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-filters legend {
    font-weight: 700;
    margin-bottom: 8px;
}

.dt-filters label {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 28px;
}

.dt-filters input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dt-accent);
}

.dt-results {
    flex: 999 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dt-results-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.dt-results-head h2 {
    margin: 0;
    font-family: var(--dt-display-font);
    font-size: 22px;
}

.dt-hotel {
    overflow: hidden;
}

.dt-hotel-top {
    display: flex;
    flex-wrap: wrap;
}

.dt-photo {
    flex: 1 1 260px;
    min-height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dt-second), var(--dt-accent));
    color: #FFFFFF;
}

.dt-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dt-photo span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    font-size: 13px;
}

.dt-hotel-info {
    flex: 2 1 360px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-stars {
    color: #F2B01E;
    letter-spacing: 2px;
}

.dt-hotel-info h3 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-size: 22px;
}

.dt-hotel-price {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.dt-hotel-price b {
    font-family: var(--dt-display-font);
    font-size: 26px;
}

.dt-offers {
    border-top: 1px solid var(--dt-border);
    padding: 10px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-offer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 12px 14px;
    border-radius: calc(var(--dt-radius) - 10px);
    background: var(--dt-surface-inner);
    border: 1px solid var(--dt-border);
}

.dt-offer-date {
    flex: 0 0 92px;
    display: flex;
    flex-direction: column;
}

.dt-offer-room {
    flex: 3 1 220px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dt-offer-price {
    flex: 1 1 110px;
    text-align: right;
    font-weight: 800;
    font-size: 19px;
    white-space: nowrap;
}

.dt-offer-actions {
    display: flex;
    gap: 8px;
}

.dt-badge {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.dt-badge-ok {
    background: rgba(34, 197, 94, 0.16);
    color: #15803D;
}

.dt-badge-req {
    background: rgba(245, 158, 11, 0.18);
    color: #92400E;
}

[data-theme="glass"] .dt-badge-ok,
[data-theme="neon"] .dt-badge-ok,
[data-theme="midnight"] .dt-badge-ok {
    color: #86F2B8;
}

[data-theme="glass"] .dt-badge-req,
[data-theme="neon"] .dt-badge-req,
[data-theme="midnight"] .dt-badge-req {
    color: #FFD98A;
}

.dt-more summary {
    cursor: pointer;
    list-style: none;
    padding: 10px 4px 2px;
    font-weight: 700;
    text-decoration: underline;
}

.dt-more summary::-webkit-details-marker {
    display: none;
}

.dt-more[open] summary {
    display: none;
}

.dt-more > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-empty {
    padding: 28px;
    text-align: center;
}

.dt-empty[hidden],
.dt-empty [hidden] {
    display: none;
}

/* Loading skeleton */

.dt-skeleton {
    height: 200px;
    border-radius: var(--dt-radius);
    background: linear-gradient(90deg, var(--dt-surface) 0%, var(--dt-surface-inner) 50%, var(--dt-surface) 100%);
    background-size: 200% 100%;
    animation: dt-shimmer 1.4s ease-in-out infinite;
    border: 1px solid var(--dt-border);
}

@keyframes dt-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .dt-skeleton {
        animation: none;
    }
}

.dt-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    max-width: calc(100vw - 32px);
    padding: 14px 18px;
    border-radius: 14px;
    background: #111827;
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.dt-preview-bar {
    padding: 10px 14px;
    border-radius: 12px;
    background: #FFF6DB;
    color: #5A4300;
    font-size: 14px;
    font-weight: 600;
}

/* Hero, phone */

.dt-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-lead {
    margin: 0;
    max-width: 720px;
    color: var(--dt-muted);
    font-size: 16px;
    line-height: 1.5;
}

.dt-nav .dt-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dt-text);
    font-weight: 800;
}

/* Popular destinations, benefits */

.dt-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dt-section h2 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-size: 22px;
}

.dt-destinations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}

.dt-destination {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    min-height: 116px;
    padding: 16px 18px;
    background-image: linear-gradient(
        135deg,
        color-mix(in srgb, var(--dt-second) 38%, transparent),
        color-mix(in srgb, var(--dt-accent) 30%, transparent)
    );
    color: var(--dt-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.dt-destination b {
    font-family: var(--dt-title-font);
    font-size: 19px;
}

.dt-destination:hover,
.dt-destination:focus-visible {
    transform: translateY(-2px);
    border-color: var(--dt-accent);
}

.dt-destination:focus-visible {
    outline: 2px solid var(--dt-accent);
    outline-offset: 2px;
}

/* Popular destinations with a photo: the text over its lower part. */

.dt-destination-photo {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 18px;
    border: 0;
    background: #10141C;
    color: #FFFFFF;
}

.dt-destination-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dt-destination-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 16, 0) 35%, rgba(8, 10, 16, 0.78) 100%);
}

.dt-destination-photo b,
.dt-destination-photo .dt-destination-note {
    position: relative;
    z-index: 1;
}

.dt-destination-photo b {
    font-size: 24px;
    font-weight: 700;
}

.dt-destination-note {
    color: var(--dt-muted);
    font-size: 14px;
    font-weight: 700;
}

.dt-destination-photo .dt-destination-note {
    color: rgba(255, 255, 255, 0.92);
}

.dt-destination-photo:hover img,
.dt-destination-photo:focus-visible img {
    transform: scale(1.04);
}

.dt-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.dt-benefit {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
}

.dt-benefit b {
    font-size: 16px;
}

/* Footer */

.dt-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 18px 4px 0;
    border-top: 1px solid var(--dt-border);
}

.dt-footer > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dt-footer .dt-footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.dt-footer a {
    font-weight: 700;
}

/* «Заявка»: how to book the tour */

.dt-dialog {
    width: min(480px, calc(100vw - 32px));
    padding: 0;
    color: var(--dt-text);
    background-color: var(--dt-bg);
    background-image: var(--dt-bg-image);
}

.dt-dialog::backdrop {
    background: rgba(5, 8, 20, 0.55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.dt-dialog-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.dt-dialog-body h2 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-size: 22px;
}

.dt-dialog-body p {
    margin: 0;
    line-height: 1.5;
}

.dt-dialog-tour {
    padding: 12px 14px;
    border-radius: calc(var(--dt-radius) - 10px);
    background: var(--dt-surface-inner);
    border: 1px solid var(--dt-border);
    font-weight: 700;
}

.dt-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Prices that open the tour card */

button.dt-offer-price,
.dt-hotel-from {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    text-decoration: underline dotted;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

button.dt-offer-price {
    font: 800 19px var(--dt-font);
}

.dt-hotel-from {
    font: 800 26px var(--dt-display-font);
}

button.dt-offer-price:hover,
.dt-hotel-from:hover {
    color: var(--dt-accent);
}

button.dt-offer-price:focus-visible,
.dt-hotel-from:focus-visible,
.dt-card-close:focus-visible {
    outline: 2px solid var(--dt-text);
    outline-offset: 3px;
}

/* Tour card */

/* Flight sets not chosen stay hidden whatever their display. */
.dt-card [hidden] {
    display: none !important;
}

.dt-card-dialog {
    width: min(980px, calc(100vw - 24px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    border: 0;
    border-radius: var(--dt-radius);
}

.dt-card-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(5, 8, 20, 0.35);
    color: #FFFFFF;
    cursor: pointer;
}

.dt-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 28px 68px 24px 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.16), transparent 45%),
        var(--dt-accent);
    color: var(--dt-on-accent);
}

.dt-card-title {
    min-width: 0;
}

.dt-card-stars {
    color: #FFD166;
    letter-spacing: 2px;
}

.dt-card-head h2 {
    margin: 4px 0 6px;
    font-family: var(--dt-title-font);
    font-size: clamp(22px, 3.2vw, 32px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.dt-card-head p {
    margin: 0;
    opacity: 0.92;
}

.dt-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
}

.dt-card-rating b {
    font-size: 24px;
}

.dt-card-rating span {
    max-width: 64px;
    font-size: 12px;
    line-height: 1.2;
}

.dt-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    padding: 22px;
}

.dt-card-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.dt-card-photo {
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: calc(var(--dt-radius) - 8px);
    background: var(--dt-surface-inner);
}

.dt-card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dt-card-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin: 0;
}

.dt-card-facts div {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--dt-surface-inner);
    border: 1px solid var(--dt-border);
}

.dt-card-facts dt {
    font-weight: 800;
}

.dt-card-facts dd {
    margin: 2px 0 0;
    color: var(--dt-muted);
    font-size: 14px;
}

.dt-card-flights,
.dt-flight-set {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-leg {
    display: grid;
    grid-template-columns: 20px 132px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--dt-surface-inner);
    border: 1px solid var(--dt-border);
}

.dt-leg-icon {
    color: var(--dt-accent);
}

.dt-leg-back {
    transform: scaleX(-1);
}

.dt-leg-time,
.dt-leg-route {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dt-leg-time sup {
    margin-left: 2px;
    font-size: 11px;
    color: var(--dt-accent);
}

.dt-leg small {
    font-size: 13px;
}

.dt-leg-bag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.dt-card-more summary {
    padding: 6px 0;
    color: var(--dt-accent);
    font-weight: 800;
    cursor: pointer;
}

.dt-card-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.dt-card-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--dt-border);
    font-size: 14px;
    cursor: pointer;
}

.dt-card-options label span {
    flex: 1;
}

.dt-card-options input {
    accent-color: var(--dt-accent);
}

.dt-card-note {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed var(--dt-muted);
    line-height: 1.5;
}

.dt-card-about {
    margin: 0;
    color: var(--dt-muted);
    line-height: 1.6;
}

/* The whole column stays in view while the flights scroll: the price, the
   button and the notes under it move together (a sticky price alone slid
   over the notes). */
.dt-card-side {
    position: sticky;
    top: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dt-card-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: calc(var(--dt-radius) - 6px);
    background: var(--dt-surface);
    border: 1px solid var(--dt-border);
    box-shadow: var(--dt-shadow);
}

.dt-card-price > b {
    font: 800 30px var(--dt-display-font);
}

.dt-card-sum {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 4px 0 0;
    padding-top: 10px;
    border-top: 1px dashed var(--dt-border);
    font-size: 14px;
}

.dt-card-sum div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.dt-card-sum dt {
    color: var(--dt-muted);
}

.dt-card-sum dd {
    margin: 0;
    font-weight: 700;
}

.dt-card-extra,
.dt-card-fresh {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.dt-card-price .dt-button {
    width: 100%;
    margin-top: 6px;
}

.dt-card-loading,
.dt-card-message {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
}

.dt-card-message h2 {
    margin: 0;
    font-family: var(--dt-title-font);
}

.dt-card-message p {
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .dt-card-body {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .dt-card-head {
        padding: 22px 64px 20px 18px;
    }

    .dt-leg {
        grid-template-columns: 18px minmax(0, 1fr) auto;
    }

    .dt-leg-route {
        grid-column: 2 / -1;
    }

    /* The price and «Купить» right under the hotel, not after the flights. */
    .dt-card-side {
        position: static;
        order: -1;
    }

    .dt-card-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Order form */

.dt-order {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dt-order-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dt-order-tour {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
}

.dt-order-tour h1 {
    margin: 4px 0;
    font-family: var(--dt-title-font);
    font-size: clamp(22px, 3vw, 30px);
    overflow-wrap: anywhere;
}

.dt-order-tour p {
    margin: 0 0 6px;
}

.dt-order-facts {
    line-height: 1.5;
}

.dt-order-flights {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.dt-order-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.dt-order-price b {
    font: 800 28px var(--dt-display-font);
}

.dt-order-block {
    min-width: 0;
    margin: 0;
    padding: 20px 22px 22px;
}

/* «Взрослый турист 1»: a pill of the panel's colour on its top edge. */
.dt-order-block legend {
    margin-left: -4px;
    padding: 7px 16px;
    border: 1px solid var(--dt-border);
    border-radius: 999px;
    background: var(--dt-surface);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
    -webkit-backdrop-filter: blur(var(--dt-blur, 0px));
    backdrop-filter: blur(var(--dt-blur, 0px));
    font: 800 16px var(--dt-display-font);
    line-height: 1.2;
}

.dt-order-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.dt-order-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.dt-order-col-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 28px;
}

.dt-order-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dt-order-triple {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.dt-order-col .dt-field textarea {
    width: 100%;
    padding: 0;
    border: 0;
    outline: none;
    resize: vertical;
    background: transparent;
    color: var(--dt-text);
    font: 600 15px var(--dt-font);
}

.dt-order-radios {
    display: flex;
    gap: 18px;
    min-height: 28px;
}

.dt-order-radios label,
.dt-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
    cursor: pointer;
}

.dt-order-radios input,
.dt-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--dt-accent);
}

.dt-order-later {
    opacity: 0.45;
}

.dt-order-later-note {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: calc(var(--dt-radius) - 10px);
    border: 1px solid rgba(245, 158, 11, 0.55);
    background: rgba(245, 158, 11, 0.12);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.dt-order-later-note[hidden] {
    display: none;
}

.dt-field-invalid {
    border-color: #DC2626;
}

.dt-field-message {
    color: #DC2626;
    font-size: 12px;
    font-weight: 700;
}

[data-theme="glass"] .dt-field-message,
[data-theme="neon"] .dt-field-message,
[data-theme="midnight"] .dt-field-message {
    color: #FCA5A5;
}

.dt-check-invalid span {
    text-decoration: underline wavy #DC2626;
}

.dt-order-total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 24px;
    padding: 22px;
}

.dt-order-sum {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dt-order-sum > b {
    font: 800 34px var(--dt-display-font);
}

.dt-order-consents {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dt-order-consents a {
    color: var(--dt-accent);
}

.dt-order-consents .dt-button {
    margin-top: 8px;
}

.dt-order-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.dt-order-message,
.dt-order-done {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px;
}

.dt-order-message h1,
.dt-order-done h1 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-size: clamp(22px, 3vw, 30px);
}

.dt-order-message p,
.dt-order-done p {
    margin: 0;
    line-height: 1.55;
}

.dt-done-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    color: #15803D;
}

.dt-done-tour {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0;
}

.dt-done-tour div {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--dt-surface-inner);
    border: 1px solid var(--dt-border);
}

.dt-done-tour dt {
    color: var(--dt-muted);
    font-size: 13px;
}

.dt-done-tour dd {
    margin: 2px 0 0;
    font-weight: 700;
}

.dt-order-pay {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 18px;
    border-radius: 14px;
    border: 1px dashed var(--dt-muted);
}

.dt-order-pay h2 {
    margin: 0;
    font-family: var(--dt-display-font);
    font-size: 20px;
}

@media (max-width: 760px) {
    .dt-order-grid,
    .dt-order-total {
        grid-template-columns: minmax(0, 1fr);
    }

    .dt-order-triple {
        grid-template-columns: minmax(0, 1fr);
    }

    .dt-order-price {
        align-items: flex-start;
    }

    .dt-order-block {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dt-destination {
        transition: none;
    }
}

@media (max-width: 640px) {
    .dt-wrap {
        padding: 12px 12px 60px;
        gap: 16px;
    }

    .dt-search {
        padding: 18px;
    }

    .dt-filters {
        max-width: none;
    }

    .dt-offer-price {
        text-align: left;
    }

    .dt-offer-actions {
        flex: 1 1 100%;
    }

    .dt-offer-actions > * {
        flex: 1;
    }
}

/* Staff signed in on the site: what tourists never see */

.dt-staff-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #E0F2FE;
    color: #0C4A6E;
    font-size: 14px;
    font-weight: 600;
}

.dt-staff-bar form {
    margin: 0;
}

.dt-staff-bar .dt-ghost {
    color: #0C4A6E;
    border-color: rgba(12, 74, 110, 0.4);
}

.dt-staff-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: calc(var(--dt-radius) - 10px);
    border: 1px dashed rgba(14, 165, 233, 0.7);
    background: rgba(14, 165, 233, 0.08);
    font-size: 14px;
}

.dt-staff-box ul {
    margin: 0;
    padding-left: 18px;
}

.dt-staff-box .dt-card-sum dd {
    text-align: right;
}

.dt-staff-op {
    display: block;
    color: #0284C7;
    font-size: 12px;
    font-weight: 700;
}

[data-theme="glass"] .dt-staff-op,
[data-theme="neon"] .dt-staff-op,
[data-theme="midnight"] .dt-staff-op {
    color: #7DD3FC;
}

.dt-staff-sum {
    border-top-color: rgba(14, 165, 233, 0.7);
}

.dt-nav .dt-staff-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border: 1px solid var(--dt-border);
    border-radius: 999px;
    color: var(--dt-text);
    font-weight: 700;
    text-decoration: none;
}

.dt-nav a.dt-staff-login:hover {
    border-color: var(--dt-accent);
    color: var(--dt-accent);
}

.dt-nav .dt-staff-in {
    border-color: rgba(14, 165, 233, 0.7);
    background: rgba(14, 165, 233, 0.12);
}

.dt-login {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: min(440px, 100%);
    margin: 0 auto;
    padding: 28px;
}

.dt-login h1 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-size: 24px;
}

.dt-login p {
    margin: 0;
    line-height: 1.5;
}

.dt-login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dt-pay-ok {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.45);
    font-weight: 700;
    line-height: 1.5;
}

.dt-order-pay form {
    margin: 0;
}

.dt-pay-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Search form: «Откуда» / «Куда» lists, the departure dates calendar */

.dt-field label {
    font-size: 12px;
    color: var(--dt-muted);
}

.dt-combo,
.dt-dates {
    position: relative;
}

.dt-combo.is-open,
.dt-dates.is-open {
    z-index: 30;
}

.dt-combo-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dt-combo-flag {
    display: inline-flex;
    flex: none;
}

.dt-combo-flag[hidden] {
    display: none;
}

.dt-flag {
    width: 24px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    flex: none;
}

.dt-flag-none {
    display: inline-grid;
    place-items: center;
    box-shadow: none;
    font-size: 16px;
}

.dt-combo-list,
.dt-picker {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: 16px;
    border: 1px solid var(--dt-border);
    background-color: var(--dt-bg);
    background-image: var(--dt-bg-image);
    color: var(--dt-text);
    box-shadow: 0 18px 50px rgba(9, 12, 30, 0.35);
}

.dt-combo-list {
    min-width: 100%;
    width: max-content;
    max-width: min(320px, calc(100vw - 32px));
    max-height: 320px;
    overflow-y: auto;
}

.dt-combo-list[hidden],
.dt-picker[hidden] {
    display: none;
}

.dt-combo-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.dt-combo-list li[hidden] {
    display: none;
}

.dt-combo-list li span {
    font-size: 15px;
    color: var(--dt-text);
}

.dt-combo-list li:hover,
.dt-combo-list li.is-active {
    background: var(--dt-surface-inner);
    color: var(--dt-accent);
}

.dt-combo-icon {
    color: var(--dt-muted);
    flex: none;
}

.dt-dates-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--dt-text);
    font: 700 16px var(--dt-font);
    cursor: pointer;
    text-align: left;
}

.dt-dates-button svg {
    flex: none;
    color: var(--dt-muted);
}

.dt-picker {
    width: min(620px, calc(100vw - 32px));
    padding: 14px;
}

.dt-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.dt-cal-hint {
    font-size: 13px;
    color: var(--dt-muted);
    text-align: center;
}

.dt-cal-move {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--dt-border);
    background: var(--dt-surface-inner);
    color: var(--dt-text);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.dt-cal-move:disabled {
    opacity: 0.35;
    cursor: default;
}

.dt-cal-months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.dt-cal-title {
    margin-bottom: 8px;
    font-weight: 800;
    text-transform: capitalize;
    text-align: center;
}

.dt-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.dt-cal-week {
    padding: 4px 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--dt-muted);
    text-align: center;
}

.dt-cal-day {
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--dt-text);
    font: 600 14px var(--dt-font);
    cursor: pointer;
}

.dt-cal-day:hover:not(:disabled) {
    background: var(--dt-surface-inner);
}

.dt-cal-day:disabled {
    opacity: 0.3;
    cursor: default;
}

.dt-cal-day.is-between {
    border-radius: 0;
    background: color-mix(in srgb, var(--dt-accent) 18%, transparent);
}

.dt-cal-day.is-start,
.dt-cal-day.is-end {
    background: var(--dt-accent);
    color: var(--dt-on-accent);
    font-weight: 800;
}

.dt-cal-day.is-far {
    opacity: 0.45;
}

.dt-cal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.dt-offer[hidden],
[data-hotel][hidden] {
    display: none;
}

@media (max-width: 640px) {
    .dt-cal-months {
        grid-template-columns: 1fr;
    }

    .dt-cal-months .dt-cal + .dt-cal {
        display: none;
    }

    .dt-picker {
        position: fixed;
        top: auto;
        bottom: 12px;
        left: 16px;
        right: 16px;
        width: auto;
    }
}

/* The form's lists and calendar open over what follows the form. */
.dt-search {
    position: relative;
    z-index: 20;
}

.dt-dates-button span {
    font-size: 16px;
    color: var(--dt-text);
}

.dt-cal-day.is-start,
.dt-cal-day.is-end,
.dt-cal-day.is-start:hover:not(:disabled),
.dt-cal-day.is-end:hover:not(:disabled) {
    background: var(--dt-accent);
    color: var(--dt-on-accent);
    font-weight: 800;
}

/* «Туры» / «Отели» */

.dt-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--dt-border);
    background: var(--dt-surface-inner);
    align-self: flex-start;
}

.dt-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    color: var(--dt-muted);
    font-weight: 700;
    text-decoration: none;
}

.dt-tab[aria-current="page"] {
    background: var(--dt-accent);
    color: var(--dt-on-accent);
}

.dt-hotel-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.dt-more {
    align-self: flex-start;
    margin-top: 4px;
}

/* Opened, the further variants take the whole width like the first ones. */
.dt-more[open] {
    align-self: stretch;
}

.dt-combo-list li small {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
}

.dt-field[hidden] {
    display: none;
}

/* Tour search form: two rows of five (the dates on one line) */

.dt-form-tours {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dt-dates-button span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 1080px) {
    .dt-form-tours {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dt-form-tours .dt-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .dt-form-tours {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dt-form-tours .dt-button {
        grid-column: auto;
    }
}

@media (max-width: 420px) {
    .dt-form-tours {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Order page: one button per payment method, with its system's mark */

.dt-pay-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dt-pay-button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--dt-border);
    border-radius: calc(var(--dt-radius) - 8px);
    background: var(--dt-surface-inner);
    color: var(--dt-text);
    font: 800 16px var(--dt-font);
    text-align: left;
    cursor: pointer;
}

.dt-pay-button:hover:not(:disabled) {
    border-color: var(--dt-accent);
}

.dt-pay-button:focus-visible {
    outline: 2px solid var(--dt-accent);
    outline-offset: 2px;
}

.dt-pay-button:disabled {
    opacity: 0.6;
    cursor: progress;
}

/* The marks are drawn for a light background: a white plate in every style. */
.dt-pay-logo {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 40px;
    border-radius: 8px;
    background: #FFFFFF;
}

.dt-pay-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 72px;
    max-height: 26px;
}

/* Hotels: the answer of a price check under the room's buttons */

.dt-buy-note {
    flex-basis: 100%;
    color: var(--dt-muted);
    font-size: 13px;
    line-height: 1.4;
}

.dt-hotel-list .dt-offer-actions {
    flex-wrap: wrap;
}

/* Order form, a trip in Russia: the document chosen in the block's head */

.dt-doc-kind select {
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--dt-border);
    border-radius: 10px;
    background: var(--dt-surface-inner);
    color: var(--dt-text);
    font: 700 15px var(--dt-font);
}

.dt-doc-kind.dt-field-invalid select {
    border-color: #DC2626;
}

.dt-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* «Из соседних городов дешевле»: the price cache of the neighbour cities. */
.dt-neighbours {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    padding: 12px 16px;
    border-left: 4px solid var(--dt-accent);
    font-size: 15px;
}

.dt-neighbours ul {
    margin: 0;
    padding-left: 18px;
}

.dt-neighbours a {
    color: var(--dt-accent);
    font-weight: 700;
}

/* Presets («подборки»): the price on their page, the links to the others. */
.dt-preset-price {
    margin: 6px 0 0;
    font-size: 16px;
}

.dt-preset-price b {
    color: var(--dt-accent);
}

.dt-preset-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dt-preset-link {
    padding: 10px 16px;
    font-weight: 700;
    color: var(--dt-text);
    text-decoration: none;
}

.dt-preset-link:hover {
    color: var(--dt-accent);
}

.dt-presets {
    margin-top: 24px;
}

/* The site's own drop-down lists (select.js): as the date picker. */
.dt-select {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

.dt-select-native {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    pointer-events: none;
}

.dt-select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    min-height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--dt-text);
    font: 700 16px var(--dt-font);
    text-align: left;
    cursor: pointer;
}

.dt-select-button:disabled {
    opacity: 0.5;
    cursor: default;
}

.dt-select-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dt-select-button svg {
    flex: none;
    color: var(--dt-muted);
    transition: transform 0.15s ease;
}

.dt-select.is-open .dt-select-button svg {
    transform: rotate(180deg);
    color: var(--dt-accent);
}

.dt-select-button:focus-visible {
    outline: none;
}

.dt-select-list {
    z-index: 40;
    min-width: max(100%, 96px);
    max-height: 300px;
}

.dt-select-list.dt-select-up {
    top: auto;
    bottom: calc(100% + 8px);
}

.dt-select-list li[aria-selected="true"] span {
    color: var(--dt-accent);
}

.dt-select-list li[aria-selected="true"]::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--dt-accent);
}

.dt-select-list li[aria-disabled="true"] {
    opacity: 0.45;
    cursor: default;
}

.dt-field.dt-select-open,
.dt-doc-kind.dt-select-open,
label.dt-select-open {
    position: relative;
    z-index: 30;
}

/* The pair «ночей от – до», the children's ages: narrow buttons. */
.dt-pair .dt-select {
    flex: 1 1 0;
}

/* The sort of the results and the document kind of the order form. */
#dt-sort + .dt-select-button,
.dt-results-head .dt-select-button {
    font-size: 15px;
}

.dt-doc-kind .dt-select-button {
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--dt-border);
    border-radius: 10px;
    background: var(--dt-surface-inner);
    font-size: 15px;
}

.dt-doc-kind.dt-field-invalid .dt-select-button {
    border-color: #DC2626;
}

/* Not the field's caption: the chosen value, as the other fields show it. */
.dt-field .dt-select,
.dt-field .dt-select-text {
    font-size: inherit;
    color: inherit;
}

.dt-field .dt-select-button .dt-select-text {
    font-size: 16px;
    color: var(--dt-text);
}

.dt-results-head .dt-select-button .dt-select-text {
    font-size: 15px;
}

.dt-select-list.dt-select-right {
    left: auto;
    right: 0;
}

/* The lists scroll by the wheel, the touch and the keys: no scrollbar shown. */
.dt-combo-list {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: contain;
}

.dt-combo-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* «Перезвоните мне» in the header. */
.dt-callback-open {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--dt-accent);
    background: transparent;
    color: var(--dt-accent);
    font: 800 14px var(--dt-font);
    cursor: pointer;
}

.dt-callback-open:hover {
    background: var(--dt-accent);
    color: var(--dt-on-accent);
}

#dt-callback .dt-field input {
    font-size: 16px;
}

.dt-dialog-body[hidden] {
    display: none;
}

/* «Покупатель — это турист N» in the order form. */
.dt-buyer-same {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-weight: 700;
}

.dt-chip-button {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--dt-border);
    background: var(--dt-surface-inner);
    color: var(--dt-text);
    font: 700 14px var(--dt-font);
    cursor: pointer;
}

.dt-chip-button:hover,
.dt-chip-button.is-active {
    border-color: var(--dt-accent);
    color: var(--dt-accent);
}

.dt-buyer-same small {
    flex-basis: 100%;
    font-weight: 500;
}


/* Cruises (Infoflot): the search, the list, a cruise. */

.dt-cruise-form {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.dt-cruise-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dt-cruise-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dt-cruise-sort a {
    text-decoration: none;
}

.dt-cruise-sort a[aria-current="true"] {
    border-color: var(--dt-accent);
    color: var(--dt-accent);
}

.dt-cruise-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dt-cruise {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.dt-cruise-photo {
    position: relative;
    flex: 1 1 260px;
    max-width: 320px;
    min-height: 200px;
    background: var(--dt-surface-inner);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dt-muted);
    font-weight: 700;
    text-decoration: none;
}

.dt-cruise-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dt-cruise-info {
    flex: 999 1 320px;
    min-width: 0;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-cruise-info h3 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-size: 20px;
    line-height: 1.25;
}

.dt-cruise-info h3 a {
    text-decoration: none;
}

.dt-cruise-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: var(--dt-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dt-cruise-dates {
    margin: 0;
    font-weight: 700;
}

.dt-cruise-route {
    margin: 0;
    color: var(--dt-muted);
    font-size: 14px;
    line-height: 1.5;
}

.dt-cruise-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dt-cruise-badges .dt-badge {
    background: var(--dt-surface-inner);
    border: 1px solid var(--dt-border);
    color: var(--dt-text);
}

.dt-cruise-price {
    flex: 1 1 200px;
    padding: 18px 20px;
    border-left: 1px solid var(--dt-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.dt-cruise-price b {
    font-family: var(--dt-display-font);
    font-size: 26px;
}

.dt-cruise-price .dt-button {
    margin-top: 10px;
    text-decoration: none;
    text-align: center;
}

.dt-cruise-free {
    color: #15803D;
    font-size: 13px;
    font-weight: 700;
}

[data-theme="glass"] .dt-cruise-free,
[data-theme="neon"] .dt-cruise-free,
[data-theme="midnight"] .dt-cruise-free {
    color: #86F2B8;
}

.dt-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.dt-pages a {
    text-decoration: none;
}

.dt-crumbs {
    font-size: 14px;
    color: var(--dt-muted);
}

.dt-crumbs a {
    color: var(--dt-accent);
    text-decoration: none;
}

.dt-cruise-head {
    overflow: hidden;
}

.dt-cruise-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 6px;
}

.dt-cruise-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dt-cruise-gallery img:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* Fewer photos: no empty cells. */
.dt-cruise-gallery-1 {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 340px;
}

.dt-cruise-gallery-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 340px;
}

.dt-cruise-gallery-1 img:first-child,
.dt-cruise-gallery-2 img:first-child {
    grid-column: auto;
    grid-row: auto;
}

.dt-cruise-gallery-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dt-cruise-gallery-4 img:last-child {
    grid-column: span 2;
}

.dt-cruise-title {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dt-cruise-title h1 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.dt-cruise-body {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-start;
}

.dt-cruise-main {
    flex: 999 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dt-cruise-block {
    padding: 20px 22px;
}

.dt-cruise-block h2,
.dt-cruise-side h2 {
    margin: 0 0 10px;
    font-family: var(--dt-title-font);
    font-size: 22px;
}

.dt-cruise-block p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.dt-cruise-included {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.dt-cruise-included ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.7;
}

.dt-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.dt-timeline li {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--dt-border);
}

.dt-timeline li:first-child {
    border-top: 0;
}

.dt-timeline p {
    margin: 4px 0 0;
    font-size: 14px;
}

.dt-timeline-when {
    font-size: 14px;
    color: var(--dt-muted);
}

.dt-timeline-when b {
    display: block;
    color: var(--dt-text);
}

.dt-cruise-side {
    flex: 1 1 320px;
    max-width: 420px;
    position: sticky;
    top: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dt-cruise-side p {
    margin: 0;
}

.dt-cabins {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-cabins li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: calc(var(--dt-radius) - 10px);
    background: var(--dt-surface-inner);
    border: 1px solid var(--dt-border);
}

.dt-cabins li > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    font-size: 14px;
}

.dt-cabin-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.dt-cabin-price b {
    font-size: 18px;
}

.dt-cabin-price s {
    color: var(--dt-muted);
    font-size: 13px;
}

.dt-cruise-from {
    font-size: 15px;
}

.dt-cruise-from b {
    font-size: 24px;
}

.dt-cruise-side .dt-ghost {
    text-align: center;
    text-decoration: none;
}

@media (max-width: 700px) {
    .dt-cruise-photo {
        max-width: none;
    }

    .dt-cruise-price {
        border-left: 0;
        border-top: 1px solid var(--dt-border);
    }

    .dt-cruise-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 120px;
    }

    .dt-cruise-gallery-1,
    .dt-cruise-gallery-2 {
        grid-auto-rows: 220px;
    }

    .dt-cruise-gallery-1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .dt-cruise-gallery-3 img:first-child,
    .dt-cruise-gallery-5 img:first-child {
        grid-row: auto;
    }

    .dt-cruise-gallery-4 img:last-child {
        grid-column: auto;
    }

    .dt-timeline li {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .dt-cruise-side {
        position: static;
        max-width: none;
    }
}

/* The cruise order: who goes in the cabin. */
.dt-cruise-guests {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
    padding: 18px 20px;
}

.dt-cruise-guests > b {
    flex: 1 0 100%;
}

.dt-cruise-guests .dt-field {
    flex: 0 1 150px;
}

.dt-cruise-guests small {
    flex: 1 0 100%;
}

.dt-cabin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

/* The cruise directions are links: no underline. */
a.dt-destination {
    text-decoration: none;
}

/* Three tabs on a phone: in the width, equal, the icon over the word. */
@media (max-width: 520px) {
    .dt-tabs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        grid-auto-flow: column;
        align-self: stretch;
        width: 100%;
        box-sizing: border-box;
    }

    .dt-tab {
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        padding: 8px 4px;
        font-size: 13px;
        text-align: center;
        line-height: 1.15;
    }

    .dt-tab svg {
        width: 18px;
        height: 18px;
        flex: none;
    }
}

/* A cabin's amenities, its free cabins by deck, the sea's categories and
   fares: under the cabin's name and price. */
.dt-cabins li {
    flex-wrap: wrap;
}

/* The name shrinks: the price stays beside it. */
.dt-cabins li > div:first-child {
    flex: 1 1 0;
}

.dt-cabin-services,
.dt-cabin-more {
    flex: 1 0 100%;
    margin: 0;
}

.dt-cabin-services {
    color: var(--dt-muted);
    font-size: 12px;
    line-height: 1.4;
}

.dt-cabin-more summary {
    cursor: pointer;
    color: var(--dt-accent);
    font-size: 13px;
    font-weight: 700;
}

.dt-cabin-more[open] summary {
    margin-bottom: 8px;
}

.dt-cabin-deck {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.dt-cabin-deck > span {
    font-size: 12px;
    font-weight: 700;
    color: var(--dt-muted);
}

.dt-cabin-rooms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dt-cabin-rooms a {
    min-width: 46px;
    padding: 6px 8px;
    border: 1px solid var(--dt-border);
    border-radius: 10px;
    background: var(--dt-surface);
    color: var(--dt-text);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.dt-cabin-rooms a:hover,
.dt-cabin-rooms a:focus-visible {
    border-color: var(--dt-accent);
    color: var(--dt-accent);
}

.dt-cabin-category {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-top: 1px solid var(--dt-border);
    font-size: 13px;
}

.dt-cabin-category img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.dt-cabin-fares {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dt-cabins .dt-cabin-fares li {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    background: var(--dt-surface);
}

.dt-cabin-fares li > span:first-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dt-cabin-fare-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-weight: 800;
    white-space: nowrap;
}

.dt-cruise-guests .dt-cruise-room {
    flex: 0 1 260px;
}

/* «Круизная компания» hides for the rivers. */
.dt-cruise-form [hidden] {
    display: none;
}

/* A cruise day's program: its text, photos, excursions. */
.dt-cruise-day {
    margin-top: 6px;
}

.dt-cruise-day summary {
    cursor: pointer;
    color: var(--dt-accent);
    font-size: 13px;
    font-weight: 700;
}

.dt-cruise-day[open] summary {
    margin-bottom: 8px;
}

.dt-cruise-day p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
}

.dt-cruise-day-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 6px;
    margin-bottom: 8px;
}

.dt-cruise-day-photos img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

.dt-cruise-excursions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-cruise-excursions li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border: 1px solid var(--dt-border);
    border-radius: 10px;
    font-size: 13px;
}

/* «Для менеджера» on a cruise page: staff only. */
.dt-cruise-staff {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px dashed var(--dt-accent);
    border-radius: 12px;
    font-size: 13px;
}

.dt-cruise-staff-price {
    color: var(--dt-muted);
    font-size: 11px;
    font-weight: 600;
}

/* «О теплоходе»: its facts, photos, the deck plan. */
.dt-ship-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.dt-ship-facts li {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    border: 1px solid var(--dt-border);
    border-radius: 12px;
    font-size: 12px;
    color: var(--dt-muted);
}

.dt-ship-facts b {
    color: var(--dt-text);
    font-size: 18px;
}

.dt-ship-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.dt-ship-photos img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.dt-ship-scheme img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
}

.dt-ship-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.dt-cabins-plan {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
}

.dt-cabins-plan a {
    color: var(--dt-accent);
}

/* «Другие даты этого круиза». */
.dt-cruise-dates-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dt-cruise-dates-list a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid var(--dt-border);
    border-radius: 12px;
    color: var(--dt-text);
    text-decoration: none;
    font-size: 13px;
}

.dt-cruise-dates-list a:hover,
.dt-cruise-dates-list a:focus-visible {
    border-color: var(--dt-accent);
}

.dt-cruise-dates-list span {
    color: var(--dt-muted);
}

/* «Регион плавания»: several regions, a search of the list. */
.dt-multi {
    position: relative;
}

.dt-multi-button {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--dt-text);
    font: inherit;
    font-weight: 700;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.dt-multi-list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    width: max(100%, 280px);
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--dt-border);
    border-radius: 14px;
    background: var(--dt-bg);
    box-shadow: var(--dt-shadow);
}

.dt-multi-list[hidden],
.dt-multi-item[hidden] {
    display: none;
}

.dt-multi-search {
    width: 100%;
    margin-bottom: 6px;
    padding: 8px 10px;
    border: 1px solid var(--dt-border);
    border-radius: 10px;
    background: var(--dt-surface-inner);
    color: var(--dt-text);
    font: inherit;
}

.dt-multi-item {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 6px 4px;
    font-size: 14px;
    cursor: pointer;
}

.dt-cruise-checks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    grid-column: 1 / -1;
}

.dt-multi .dt-multi-search {
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid var(--dt-border);
    background: var(--dt-surface-inner);
    font: 500 14px var(--dt-font);
}

.dt-multi .dt-multi-item input {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    flex: none;
    accent-color: var(--dt-accent);
}

.dt-multi-item span {
    flex: 1;
    font-weight: 600;
    text-align: left;
}

/* «Как оплатить»: the whole or a cruise's prepayment. */
.dt-pay-parts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}

.dt-pay-parts legend {
    margin-bottom: 6px;
    font-weight: 700;
}

/* «Сообщить, если цена снизится». */
.dt-cruise-watch {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--dt-border);
}

.dt-cruise-watch summary {
    cursor: pointer;
    color: var(--dt-accent);
    font-size: 14px;
    font-weight: 700;
}

.dt-cruise-watch-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 6px;
}

.dt-order-excursions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* «Личный кабинет»: sign-up, sign-in, the access restored. */
.dt-account {
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    margin: 24px auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dt-account h1 {
    margin: 0;
}

.dt-account p {
    margin: 0;
}

.dt-account-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dt-accent);
}

.dt-account-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 16px;
    background: var(--dt-surface-inner);
}

.dt-account-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    color: var(--dt-muted);
    font-weight: 700;
    text-decoration: none;
}

.dt-account-tabs a[aria-current="page"] {
    background: var(--dt-surface);
    color: var(--dt-text);
}

.dt-account-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dt-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.dt-account-taken {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--dt-accent);
    border-radius: 16px;
}

.dt-account-forgot {
    align-self: flex-end;
    font-size: 14px;
    font-weight: 700;
}

.dt-field-error {
    color: #E0552F;
    font-size: 12px;
    font-weight: 600;
}

/* The cruise app's bar on the site's pages it opens (order, payment, cabinet). */
.dt-app-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: max(10px, env(safe-area-inset-top)) 4px 10px;
    background: var(--dt-bg);
}

.dt-app-bar b {
    font-family: var(--dt-display-font);
    font-size: 17px;
}

.dt-app-back {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: var(--dt-surface);
    box-shadow: var(--dt-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dt-text);
}

/* «Удалить профиль». */
.dt-button.dt-button-danger {
    background: #C2410C;
    color: #FFFFFF;
}

.dt-delete-trips {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dt-account > .dt-account-forgot {
    align-self: flex-start;
    color: var(--dt-muted, inherit);
    font-weight: 600;
}

/* Трансферы (transfers): the search with the places' hints, the cars, the
   order's sections. */

.dt-transfer-form {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.dt-transfer-form .dt-place {
    grid-column: span 2;
}

@media (max-width: 700px) {
    .dt-transfer-form .dt-place {
        grid-column: auto;
    }
}

.dt-place {
    position: relative;
}

.dt-place-list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid var(--dt-border);
    border-radius: 14px;
    background: var(--dt-surface);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.16);
}

.dt-place-item,
.dt-place-empty {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.dt-place-empty {
    color: var(--dt-muted);
    cursor: default;
}

.dt-place-item span {
    color: var(--dt-muted);
    font-size: 13px;
}

.dt-place-item[aria-selected="true"],
.dt-place-item:hover {
    background: var(--dt-surface-inner);
}

.dt-place-airport b::before {
    content: "✈ ";
}

.dt-place-station b::before {
    content: "🚆 ";
}

.dt-transfer-hint {
    margin: 0;
    font-size: 13px;
}

.dt-transfer-route {
    padding: 18px 22px;
}

.dt-transfer-route h2 {
    margin: 0 0 4px;
    font-family: var(--dt-title-font);
    font-size: 22px;
}

.dt-transfer-route p {
    margin: 0;
}

.dt-transfer-note {
    margin-top: 8px !important;
    font-size: 14px;
    color: var(--dt-muted);
}

.dt-transfer-photo {
    background: #fff;
}

.dt-transfer-photo img {
    object-fit: contain;
    padding: 14px;
}

.dt-transfer-late {
    max-width: 180px;
    text-align: center;
}

.dt-transfer-section {
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dt-transfer-section h2 {
    margin: 0;
    font-family: var(--dt-title-font);
    font-size: 22px;
}

.dt-transfer-section > p {
    margin: 0;
}

.dt-transfer-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.dt-transfer-fields .dt-order-wide {
    grid-column: 1 / -1;
}

.dt-transfer-fields textarea {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    resize: vertical;
    outline: none;
}

.dt-transfer-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
