/* Шаблон «Цвет направления»: палитра по стране тура — d-egypt, d-turquoise, d-terracotta, d-forest, d-sea */
body.t-destination { --c1: #1F5FA8; --c2: #7FB2EA; --dbg: #F2F6FC; --soft: #DCE8F7; --deep: #0D2A4D; background: var(--dbg); font-size: 15px; color: #3D4250; }
body.d-egypt      { --c1: #B7832F; --c2: #E9C46A; --dbg: #FBF6EC; --soft: #F5EAD3; --deep: #4A3416; }
body.d-turquoise  { --c1: #0E8C8C; --c2: #5ED3C9; --dbg: #F1FAF9; --soft: #DDF3F1; --deep: #0A3D45; }
body.d-terracotta { --c1: #C0532F; --c2: #F0A07A; --dbg: #FCF4F0; --soft: #F7E1D7; --deep: #4D1F12; }
body.d-forest     { --c1: #2F7A4F; --c2: #8CC9A1; --dbg: #F3F8F4; --soft: #DFEEE4; --deep: #173A26; }
.t-destination h1, .t-destination h2, .t-destination h3 { color: var(--deep); }
.t-destination .top { background: var(--soft); border-bottom: 0; }
.t-destination .top .agency-name, .t-destination .top .phone { color: var(--deep); }
.t-destination .hero { position: relative; overflow: hidden; padding: 34px 0 38px;
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--c1) 9%, transparent) 0 1px, transparent 1px 34px),
              repeating-linear-gradient(-45deg, color-mix(in srgb, var(--c1) 9%, transparent) 0 1px, transparent 1px 34px),
              linear-gradient(170deg, var(--soft), var(--dbg) 70%); }
.ds-word { position: absolute; left: -10px; right: -10px; bottom: -30px; font-family: "Lora", Georgia, serif; font-weight: 700; font-size: clamp(90px, 17vw, 230px); line-height: 1; letter-spacing: -.02em; color: var(--c1); opacity: .09; white-space: nowrap; text-align: center; text-transform: uppercase; pointer-events: none; }
.t-destination .hero .wrap { position: relative; align-items: end; }
.t-destination .hero .eyebrow { color: var(--c1); letter-spacing: .16em; font-size: 12px; }
.t-destination .hero h1 { font-family: "Lora", Georgia, serif; font-weight: 600; font-size: 48px; letter-spacing: -.01em; }
.t-destination .hero .sel-no { color: var(--c1); opacity: .8; }
.t-destination .hero .summary span { border: 0; box-shadow: 0 8px 20px -14px var(--c1); color: var(--deep); }
.t-destination .hero .summary .ic { color: var(--c1); }
.t-destination .manager { border: 0; border-top: 4px solid var(--c1); box-shadow: 0 20px 40px -24px var(--c1); }
.t-destination .manager .ava { background: linear-gradient(135deg, var(--c1), var(--c2)); }
.t-destination .manager .btns a { border-color: var(--soft); color: var(--deep); }
.t-destination .manager .btns a.call { background: var(--c1); border-color: var(--c1); color: #fff; }
.t-destination .items { padding-top: 30px; }

.ds-head { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.ds-head h2 { font-family: "Lora", Georgia, serif; font-weight: 600; font-size: 28px; white-space: nowrap; }
.ds-head::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--c2), transparent); opacity: .6; }
.ds-opt { display: grid; grid-template-columns: 300px 1fr 240px; background: #fff; border-radius: 22px; overflow: hidden; margin-bottom: 18px; box-shadow: 0 16px 34px -26px var(--deep); scroll-margin-top: 16px; }
.ds-opt[hidden] { display: none; }
.ds-opt.rec { box-shadow: 0 0 0 2px var(--c2), 0 16px 34px -22px var(--deep); }
.ds-ph { position: relative; min-height: 230px; }
.ds-ph .gallery { position: absolute; inset: 0; }
.ds-ph .gallery .empty-ph { background: linear-gradient(160deg, var(--soft), var(--c2)); }
.ds-ph .gallery .empty-ph svg { color: #fff; }
.ds-n { position: absolute; left: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 12px; background: var(--c1); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.ds-rec { position: absolute; left: 14px; bottom: 14px; z-index: 3; background: #fff; color: var(--c1); font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 99px; }
.ds-body { padding: 20px 22px; min-width: 0; }
.ds-over { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c1); }
.ds-body h3 { font-family: "Lora", Georgia, serif; font-weight: 600; font-size: 24px; margin: 4px 0 2px; line-height: 1.2; }
.ds-stars { font-family: Inter, sans-serif; color: var(--c1); font-size: 14px; letter-spacing: 2px; vertical-align: 3px; }
.ds-place { font-size: 14px; color: #8A8F9C; }
.ds-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ds-tags span { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--tag, var(--c1)) 13%, #fff); color: var(--tag, var(--c1)); }
.t-destination .vars-box { margin: 12px 0 0; }
.ds-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ds-facts > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--deep); background: var(--soft); padding: 5px 10px; border-radius: 9px; }
.ds-facts .ic { color: var(--c1); }
.ds-flight { display: flex; gap: 8px; margin-top: 10px; font-size: 13px; color: #6A6F7C; white-space: pre-line; }
.ds-flight .ic { color: var(--c1); margin-top: 2px; }
.ds-more { margin-top: 10px; }
.ds-more summary { cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 700; color: var(--deep); display: inline-flex; align-items: center; gap: 6px; }
.ds-more summary::-webkit-details-marker { display: none; }
.ds-more[open] summary .ic { transform: rotate(90deg); }
.ds-more .desc { font-size: 14px; margin-top: 8px; }
.ds-note { margin-top: 12px; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(90deg, var(--soft), transparent); border-left: 3px solid var(--c1); white-space: pre-line; }
.ds-note b { color: var(--deep); }
.t-destination .ds-body .links { margin-top: 10px; font-size: 13.5px; }
.t-destination .ds-body .links a { color: var(--c1); }
.ds-side { padding: 20px; border-left: 1.5px dashed var(--soft); display: flex; flex-direction: column; justify-content: center; }
.ds-old { font-size: 14px; color: #9AA0AC; display: flex; align-items: center; gap: 6px; }
.ds-old b { color: #fff; background: var(--c1); font-size: 12px; padding: 1px 7px; border-radius: 6px; }
.ds-sum { font-size: 30px; font-weight: 800; color: var(--deep); letter-spacing: -.02em; line-height: 1.15; }
.ds-per { font-size: 12.5px; color: #9AA0AC; margin-bottom: 12px; }
.t-destination .opt-box { margin-bottom: 10px; }
.ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 42px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; background: #fff; color: var(--deep); border: 1.5px solid var(--soft); cursor: pointer; }
.ds-btn + .ds-btn { margin-top: 6px; }
.ds-btn.fill { background: var(--c1); border-color: var(--c1); color: #fff; }
.ds-btn:hover { filter: brightness(.96); }
.ds-foot { text-align: center; color: #9AA0AC; font-size: 12.5px; margin: 8px 0 0; }

.t-destination .foot { background: var(--deep); }
.t-destination .foot-phones div:first-child a { color: var(--c2); }
.t-destination .mbar .call { background: var(--c1); }
.t-destination .staff-bar { background: var(--deep); }

@media (max-width: 900px) {
  .ds-opt { grid-template-columns: 240px 1fr; }
  .ds-side { grid-column: 1 / -1; border-left: 0; border-top: 1.5px dashed var(--soft); }
}
@media (max-width: 640px) {
  .t-destination .hero h1 { font-size: 32px; }
  .ds-word { bottom: -12px; }
  .ds-opt { grid-template-columns: 1fr; }
  .ds-ph { min-height: 190px; }
  .ds-head h2 { font-size: 23px; }
}
@media print {
  body.t-destination { background: #fff; }
  .ds-opt { break-inside: avoid; box-shadow: none; border: 1px solid var(--soft); }
  .ds-btn { display: none !important; }
}
