/* css/tour12.css - «تور» (tour12.php, tourbook12.php, search12.php?tab=tour), 2026-10-18
   Uses the 12 tokens (--b-*, --g-*) only, so «نوین» green/blue and «آوا» both draw it.
   The search bar has NO rules of its own: it is the flight bar's markup
   (.ft-sform / .ft-field / .fl12-pop), styled by ft12.css and ft12-ava.css. */

.tr12{padding-bottom:56px}
.tr12-top{padding:22px 0 4px}
.tr12-top h1{font-size:26px;font-weight:800;color:var(--g-900)}
.tr12-top p{margin-top:6px;color:var(--g-600);font-size:14px}
.tr12-bar0{margin:14px 0 8px}

/* --- the bar's two extra popovers: the length of stay, the date grid */
.tr12-when{position:relative}
.tr12-pop--n{top:calc(100% + 6px);inset-inline-end:0;width:min(420px,calc(100vw - 32px));padding:10px;border-radius:14px}
.tr12-sform .fl12-pop--date{inset-inline-start:0}
.fl12-pop__h small{font-weight:400;color:var(--g-500)}
.tr12-nights{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;max-height:320px;overflow:auto}
.tr12-nights button{display:grid;gap:2px;padding:9px 10px;border:1px solid var(--g-300)!important;border-radius:12px!important;background:#fff!important;text-align:center;cursor:pointer}
.tr12-nights button b{font-size:14px;color:var(--g-900)}
.tr12-nights button small{font-size:11.5px;color:var(--g-500)}
.tr12-nights button:hover,.tr12-nights button.is-on{border-color:var(--b-600)!important;background:var(--b-50)!important}
.tr12-nights button.is-on small{color:var(--b-700)}

/* --- landing: «تورهای پیشنهادی» */
.tr12-h{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin:34px 0 16px}
.tr12-h__e{display:block;font-size:12px;font-weight:700;color:var(--b-700);letter-spacing:.2px;margin-bottom:2px}
.tr12-h h2{font-size:22px;font-weight:800;color:var(--g-900)}
.tr12-h p{font-size:13px;color:var(--g-500);max-width:460px}
.tr12-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}
.tr12-card{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:#fff;border:1px solid var(--g-200);box-shadow:0 1px 2px rgba(15,23,42,.04);transition:box-shadow .25s,transform .25s}
.tr12-card:hover{box-shadow:0 16px 36px rgba(15,23,42,.12);transform:translateY(-3px)}
.tr12-card__img{position:relative;aspect-ratio:16/10;background:var(--g-100);overflow:hidden}
.tr12-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.tr12-card:hover .tr12-card__img img{transform:scale(1.04)}
.tr12-card__img::after{content:"";position:absolute;inset:auto 0 0;height:55%;background:linear-gradient(to top,rgba(2,6,23,.62),transparent);pointer-events:none}
.tr12-card__n{position:absolute;top:12px;inset-inline-start:12px;z-index:1;background:#fff;color:var(--b-700);font-style:normal;font-weight:800;font-size:12px;padding:4px 11px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.tr12-card__route{position:absolute;bottom:12px;inset-inline-start:14px;z-index:1;display:flex;align-items:center;gap:6px;color:#fff;font-weight:700;font-size:13.5px;text-shadow:0 1px 3px rgba(0,0,0,.35)}
.tr12-card__route svg{transform:scaleX(-1)}
.tr12-card__b{display:flex;flex-direction:column;gap:8px;padding:14px 16px 16px;flex:1}
.tr12-card__t{font-size:16.5px;font-weight:800;color:var(--g-900)}
.tr12-card__h{font-size:12.5px;color:var(--g-600)}
.tr12-card__d{display:grid;gap:4px;padding:9px 11px;border-radius:12px;background:var(--g-50);font-size:12.5px;color:var(--g-700)}
.tr12-card__d i{font-style:normal;display:inline-block;min-width:42px;font-size:11.5px;color:var(--g-500)}
.tr12-card__d b{font-weight:700;color:var(--g-900)}
.tr12-card__f{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:4px}
.tr12-card__p{display:flex;flex-direction:column;line-height:1.5}
.tr12-card__p small{font-size:11.5px;color:var(--g-500)}
.tr12-card__p b{font-size:18px;color:var(--b-700)}
.tr12-cap{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--ok-700);background:var(--ok-50);border-radius:999px;padding:3px 10px;white-space:nowrap}
.tr12-star{color:#f5a623;font-size:12px;letter-spacing:1px;font-style:normal}
.tr12-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:30px 18px;color:var(--g-600)}
.tr12-empty b{color:var(--g-900)}
.tr12-how{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}
.tr12-how div{display:flex;gap:12px;align-items:center;padding:16px;border-radius:16px;background:var(--g-50);font-size:13.5px;color:var(--g-700)}
.tr12-how b{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--b-600);color:#fff}

/* --- results: head */
.tr12-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px 18px;flex-wrap:wrap;margin:20px 0 14px}
.tr12-head h1{font-size:22px;font-weight:800;color:var(--g-900);display:flex;align-items:center;gap:8px}
.tr12-head h1 span{font-size:13px;font-weight:700;color:var(--b-700);background:var(--b-50);border-radius:999px;padding:3px 10px}
.tr12-head p{font-size:13px;color:var(--g-600);margin-top:4px}
.tr12-head__chips{display:flex;gap:8px;flex-wrap:wrap}
.tr12-head__chips span{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--g-700);background:#fff;border:1px solid var(--g-200);padding:6px 12px;border-radius:999px}
.tr12-days{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.tr12-days a{display:flex;flex-direction:column;align-items:center;padding:8px 14px;border:1px solid var(--g-200);border-radius:12px;font-size:12px}
.tr12-days a:hover{border-color:var(--b-500);color:var(--b-700)}

/* --- results: side box (flights + sort) and the list */
.tr12-lay{display:block}
.tr12-side{position:sticky;top:12px;display:flex;flex-direction:column;gap:12px}
.tr12-fly{padding:14px}
.tr12-fly__h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.tr12-fly__h b{display:flex;align-items:center;gap:6px;color:var(--g-900);font-size:15px}
.tr12-fly__h small{font-size:12px;color:var(--g-500)}
.tr12-fly__leg+.tr12-fly__leg{margin-top:14px;padding-top:14px;border-top:1px dashed var(--g-300)}
.tr12-fly__lh{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px;color:var(--g-800)}
.tr12-fly__lh small{display:block;font-size:11.5px;color:var(--g-500)}
.tr12-fly__dir{flex:none;font-size:11.5px;font-weight:800;color:#fff;background:var(--b-600);border-radius:8px;padding:3px 9px}
.tr12-fly__more{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:12.5px;color:var(--b-700)!important;font-weight:700}
.tr12-fly__more.is-open svg{transform:rotate(180deg)}
.tr12-opt{position:relative;display:block;cursor:pointer}
.tr12-opt+.tr12-opt{margin-top:8px}
.tr12-opt input{position:absolute;opacity:0;pointer-events:none}
.tr12-opt__b{display:block;border:1.5px solid var(--g-200);border-radius:14px;padding:10px 12px;transition:border-color .15s,background .15s}
.tr12-opt input:checked+.tr12-opt__b{border-color:var(--b-600);background:var(--b-50)}
.tr12-opt input:focus-visible+.tr12-opt__b{outline:2px solid var(--b-400);outline-offset:2px}
.tr12-opt__h{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}
.tr12-opt__h b{font-size:13px;color:var(--g-900)}
.tr12-opt__h em{font-style:normal;font-weight:800;color:var(--b-700);font-size:13.5px;white-space:nowrap}
.tr12-opt__h em.tr12-opt__add{font-weight:600;font-size:12px;color:var(--g-600)}
.tr12-cheap{font-style:normal;font-size:10.5px;font-weight:700;background:var(--y-50);color:var(--y-700);border-radius:999px;padding:1px 7px;margin-inline-start:4px}
.tr12-leg{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 10px;align-items:center;padding:6px 0}
.tr12-leg+.tr12-leg{border-top:1px solid var(--g-100)}
.tr12-leg img{width:30px;height:30px;object-fit:contain}
.tr12-leg__t{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;line-height:1.35}
.tr12-leg__t b{font-size:15px;color:var(--g-900)}
.tr12-leg__t small{font-size:11.5px;color:var(--g-600)}
.tr12-leg__m{grid-column:2;display:flex;align-items:center;gap:6px;flex-wrap:wrap;line-height:1.5}
.tr12-leg__m em{font-style:normal;font-size:11px;font-weight:700;color:var(--b-800);background:#fff;border:1px solid var(--b-200);border-radius:7px;padding:0 7px;white-space:nowrap}
.tr12-leg__m small{font-size:11.5px;color:var(--g-600)}
.tr12-filt{padding:14px;display:flex;flex-direction:column;gap:8px;font-size:13.5px}
.tr12-filt b{font-size:14px;color:var(--g-900)}
.tr12-filt label{display:flex;align-items:center;gap:8px;cursor:pointer}
.tr12-filt input{accent-color:var(--b-600)}
.tr12-filt__cb{padding-top:8px;border-top:1px solid var(--g-200)}
.tr12-bar{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;margin-bottom:12px}
.tr12-bar>div:first-child{display:flex;flex-direction:column}
.tr12-bar b{font-size:16px;color:var(--g-900)}
.tr12-bar small{font-size:12px;color:var(--g-500)}
/* «نمایش بر اساس» - the sort, above the list (اقامت۲۴) */
.tr12-sort{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;font-size:13px;color:var(--g-600)}
.tr12-sort label{cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.tr12-sort input[type=radio]{position:absolute;opacity:0;pointer-events:none}
.tr12-sort i{font-style:normal;color:var(--g-700);padding:4px 2px;border-bottom:2px solid transparent}
.tr12-sort input:checked+i{color:var(--b-700);font-weight:700;border-bottom-color:var(--b-600)}
.tr12-sort input:focus-visible+i{outline:2px solid var(--b-400);outline-offset:2px}
.tr12-sort__cb{padding-inline-start:14px;border-inline-start:1px solid var(--g-200);color:var(--g-700)}
.tr12-sort__cb input{accent-color:var(--b-600)}
.tr12-list{display:flex;flex-direction:column;gap:14px}
.tr12-pk{display:grid;grid-template-columns:230px minmax(0,1fr) 250px;overflow:hidden;padding:0!important;border-radius:20px;transition:box-shadow .2s}
.tr12-pk:hover{box-shadow:0 14px 32px rgba(15,23,42,.10)}
.tr12-pk[hidden]{display:none}
.tr12-pk__img{position:relative;background:var(--g-100);min-height:190px}
.tr12-pk__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tr12-pk__tag{position:absolute;top:10px;inset-inline-start:10px;background:#fff;color:var(--b-700);font-style:normal;font-size:11.5px;font-weight:800;padding:3px 10px;border-radius:999px}
.tr12-pk__b{padding:16px 18px;display:flex;flex-direction:column;gap:10px;min-width:0}
.tr12-stay h3{font-size:17px;font-weight:800;color:var(--g-900)}
.tr12-stay p{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--g-600);margin-top:3px}
.tr12-stay ul{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}
.tr12-stay li{display:inline-flex;align-items:center;gap:5px;font-size:12px;background:var(--g-50);border:1px solid var(--g-200);border-radius:9px;padding:3px 9px;color:var(--g-800)}
.tr12-stay li small{color:var(--b-700)}
.tr12-stay+.tr12-stay{border-top:1px dashed var(--g-300);padding-top:10px}
/* one card per hotel: the meal plans are a choice inside it (pay11/tour12_ui.php tr12_group_packs) */
.tr12-pk__names h3{font-size:17px;font-weight:800;color:var(--g-900)}
.tr12-pk__names h3+h3{margin-top:2px}
.tr12-plus{color:var(--b-600);font-weight:800}
.tr12-meals{display:flex;flex-wrap:wrap;gap:8px}
.tr12-meal{position:relative;cursor:pointer}
.tr12-meal input{position:absolute;opacity:0;pointer-events:none}
.tr12-meals{align-self:stretch}
.tr12-meal{flex:1 1 112px;min-width:0}
.tr12-meal__b{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:6px;padding:6px 10px;border:1.5px solid var(--g-200);border-radius:12px;background:#fff;font-size:13px;color:var(--g-800);transition:border-color .15s,background .15s}
.tr12-meal__b b{font-weight:700;white-space:nowrap}
.tr12-meal__b small{grid-column:1/-1;font-size:11px;color:var(--g-500);font-weight:600}
.tr12-meal:hover .tr12-meal__b{border-color:var(--b-300)}
.tr12-meal input:checked+.tr12-meal__b{border-color:var(--b-600);background:var(--b-50);color:var(--b-800)}
.tr12-meal input:checked+.tr12-meal__b small{color:var(--b-700)}
.tr12-meal input:focus-visible+.tr12-meal__b{outline:2px solid var(--b-400);outline-offset:2px}
.tr12-meals.is-one .tr12-meal{cursor:default;flex:none;max-width:none}
.tr12-meals.is-one .tr12-meal__b,.tr12-meals.is-one .tr12-meal input:checked+.tr12-meal__b{border-color:transparent;background:var(--g-50);color:var(--g-700);padding:4px 10px}
.tr12-var[hidden]{display:none}
.tr12-stay__n{display:block;font-size:13px;color:var(--g-800)}
/* «رفت و برگشت با پرواز» on the card - the اقامت۲۴ way (2026-10-20) */
.tr12-pkfly{margin-top:auto;border-top:1px dashed var(--g-200);padding-top:10px}
.tr12-pkfly__t{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:var(--g-900);margin-bottom:8px}
.tr12-pkfly__g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}
.tr12-pkfly__g>div:first-child{padding-inline-end:14px}
.tr12-pkfly__g>div+div{border-inline-start:1px solid var(--g-200);padding-inline-start:14px}
.tr12-pkfly__more{display:inline-flex;align-items:center;gap:4px;margin-top:8px;font-size:12.5px;font-weight:700;color:var(--b-700)!important;background:none;border:0;padding:0;cursor:pointer}
.tr12-pkfly__more.is-open svg{transform:rotate(180deg)}
/* «اطلاعات پرواز»: the details and the other flights of this card */
.tr12-fpan{margin-top:8px;padding:10px 12px;background:var(--g-20);border:1px solid var(--g-200);border-radius:12px;display:flex;flex-direction:column;gap:10px}
.tr12-fpan[hidden]{display:none}
.tr12-fpan__h{font-size:12px;color:var(--g-600);margin-bottom:6px}
.tr12-fpan__h b{color:var(--g-900)}
.tr12-fo{position:relative;display:block;cursor:pointer}
.tr12-fo+.tr12-fo{margin-top:6px}
.tr12-fo input{position:absolute!important;opacity:0!important;pointer-events:none}
.tr12-fo__b{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;border:1.5px solid var(--g-200);border-radius:10px;background:#fff;transition:border-color .15s,background .15s}
.tr12-fo:hover .tr12-fo__b{border-color:var(--b-300)}
.tr12-fo input:checked+.tr12-fo__b{border-color:var(--b-600);background:var(--b-50)}
.tr12-fo input:focus-visible+.tr12-fo__b{outline:2px solid var(--b-400);outline-offset:2px}
.tr12-fo__ls{display:flex;flex-direction:column;gap:3px;min-width:0}
.tr12-fo__sp{font-size:11px;font-weight:700;color:var(--b-700)}
.tr12-fo__l{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;color:var(--g-600);line-height:1.5}
.tr12-fo__l b{font-size:13px;color:var(--g-900);white-space:nowrap}
.tr12-fo__l img{width:18px;height:18px;object-fit:contain}
.tr12-fo__b em{font-style:normal;font-size:13px;font-weight:800;color:var(--g-900);white-space:nowrap;text-align:end}
.tr12-fo__b em small{display:block;font-size:10.5px;font-weight:500;color:var(--g-500)}
.tr12-fc{display:flex;flex-direction:column;gap:6px;min-width:0}
.tr12-fc__h{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11.5px;color:var(--g-500)}
.tr12-fc__d{font-weight:800;color:var(--g-900);font-size:12px}
.tr12-fc__al{margin-inline-start:auto;display:inline-flex;align-items:center;gap:5px;color:var(--g-700);font-weight:600;white-space:nowrap}
.tr12-fc__al img{width:20px;height:20px;object-fit:contain}
.tr12-fc__r{display:flex;align-items:center;gap:8px}
.tr12-fc__p{display:flex;flex-direction:column;line-height:1.4;min-width:0}
.tr12-fc__p b{font-size:15px;font-weight:800;color:var(--g-900)}
.tr12-fc__p small{font-size:11px;color:var(--g-600);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr12-fc__p:last-child{text-align:end}
.tr12-fc__ln{flex:1;min-width:24px;position:relative;display:flex;justify-content:center;color:var(--g-500)}
.tr12-fc__ln::before{content:"";position:absolute;inset-inline:0;top:50%;border-top:1px dashed var(--g-300)}
.tr12-fc__ln .i{position:relative;background:#fff;padding:0 3px;transform:scaleX(-1)}
.tr12-fc__more{font-size:11px;color:var(--b-700)}
/* the price: per person big, the party small - two numbers, nothing else */
.tr12-pk__p{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:16px 18px;border-inline-start:1px solid var(--g-200);background:var(--g-20)}
.tr12-pk__lbl{font-size:12px;color:var(--g-600)}
.tr12-pk__per{font-size:23px;font-weight:800;color:var(--b-700);line-height:1.35;white-space:nowrap}
.tr12-pk__tot{font-size:12px;color:var(--g-600)}
.tr12-pk__tot b{color:var(--g-800);font-weight:700;white-space:nowrap}
.tr12-pk__p .ft-btn{margin-top:8px}
.tr12-pk__p .tr12-cap{align-self:center;margin-top:8px}
.tr12-note{font-size:11.5px;color:var(--g-500);margin-top:14px!important}

/* --- search12.php: the third tab */
html:not([data-ft-tab="tour"]) [data-fl-pane="tour"]{display:none!important}
html[data-ft-tab="tour"] [data-fl-pane="hotel"],
html[data-ft-tab="tour"] [data-fl-pane="flight"]{display:none!important}
html[data-ft-tab="tour"] [data-ft-media="hotel"]{opacity:1;visibility:visible}

/* --- tourbook12.php */
.tr12-bk{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start;margin-top:12px}
.tr12-bk__side{position:sticky;top:12px}
.tr12-trip{padding:16px 18px;margin-bottom:12px}
.tr12-trip h2{font-size:16px;font-weight:800;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.tr12-trip__g{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tr12-trip__g>div{border:1px solid var(--g-200);border-radius:14px;padding:10px 12px}
.tr12-trip__g>div>b{font-size:13px;color:var(--g-700)}
.tr12-who{font-size:11px;color:var(--b-700);background:var(--b-50);border-radius:6px;padding:1px 6px;margin-inline-start:6px}
.tr12-px__h em{font-style:normal;font-size:12px;color:var(--g-500);margin-inline-start:6px}
.tr12-sum__g{margin:4px 0 2px}
.tr12-sum__g>b{display:block;font-size:12px;color:var(--g-500);margin:8px 0 2px}
.tr12-sumr{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;padding:4px 0;color:var(--g-700)}
.tr12-sumr span small{display:block;font-size:11px;color:var(--g-500)}
.tr12-sumr b{color:var(--g-900);white-space:nowrap}
.tr12-sumr--s{border-top:1px dashed var(--g-300);margin-top:4px;padding-top:7px;font-weight:700}
.tr12-sumr--t{border-top:1px solid var(--g-300);margin-top:8px;padding-top:10px;font-size:15px}
.tr12-sumr--t b{color:var(--b-700);font-size:18px}
.tr12-steps{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:12px;color:var(--g-600)}
.tr12-steps li{display:flex;gap:8px;align-items:center}
.tr12-steps li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--b-400);flex:none}

@media (max-width:1100px){
  .tr12-lay{grid-template-columns:320px minmax(0,1fr)}
  .tr12-pk{grid-template-columns:180px minmax(0,1fr)}
  .tr12-pk__p{grid-column:1/-1;border-inline-start:0;border-top:1px solid var(--g-200);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:2px 16px}
  .tr12-pk__p .ft-btn{grid-column:2;grid-row:1/span 3;margin-top:0}
  .tr12-pk__p .tr12-cap{grid-column:1/-1}
}
@media (max-width:900px){
  .tr12-lay{grid-template-columns:1fr}
  .tr12-side{position:static}
  .tr12-how{grid-template-columns:1fr}
  .tr12-bk{grid-template-columns:1fr}
  .tr12-bk__side{position:static}
  .tr12-trip__g{grid-template-columns:1fr}
}
@media (max-width:640px){
  .tr12-pk{grid-template-columns:1fr}
  .tr12-pk__img{min-height:170px}
  .tr12-pk__p{display:flex}
  .tr12-pkfly__g{grid-template-columns:minmax(0,1fr)}
  .tr12-pkfly__g>div:first-child{padding-inline-end:0}
  .tr12-pkfly__g>div+div{border-inline-start:0;padding-inline-start:0;border-top:1px dashed var(--g-200);margin-top:8px;padding-top:8px}
}
/* the price box lays its direct children out as flex rows; a summary group is a block */
.fl12-price>div.tr12-sum__g{display:block}
.fl12-price .tr12-sum__g>b{display:block;font-size:12px;color:var(--g-500);margin:10px 0 2px}

/* the tour calendar (js/tour12.js) - the hotel's .ft-cal; the day's fare is in one line under it, not in the cell */
.tr12-cal__n{font-size:12px;color:var(--g-600);margin:8px 18px 0!important;min-height:20px;text-align:center}
.tr12-cal__n b{color:var(--g-900);font-weight:700}
.tr12-cal__n .tr12-cal__f{color:var(--b-700)}

/* --- the 11 shell (tour11.php / tourbook11.php) ------------------------
   theme11.css styles every radio (`html[data-ui] input[type=radio]{position:relative}`),
   which out-ranks the hidden radios of the meal chips and the flight options: the
   invisible radio took a line and pushed the chips apart. */
.tr12-meal input[type=radio],.tr12-opt input[type=radio]{position:absolute!important;opacity:0!important;pointer-events:none}

/* «مدرن» / «آسمان» after dark: the 11 theme repaints headings and text with its light
   ink, but the tour's boxes are ft12 white boxes. Page-level tour text follows the
   dark ink; inside a white box the light-mode ink comes back, so the 11 rules that
   colour h1-h4 / p / li with var(--v2-ink) resolve to dark text there. */
html[data-scheme="dark"] .tr12-in11{
    --g-900:var(--v2-ink,var(--v3-ink)); --g-800:var(--v2-ink,var(--v3-ink)); --g-700:var(--v2-ink-2,var(--v3-ink-2));
    --g-600:var(--v2-ink-2,var(--v3-ink-2)); --g-500:var(--v2-muted,var(--v3-muted));
}
html[data-ui="v3"][data-scheme="dark"] .tr12-in11{--g-900:var(--v3-ink); --g-800:var(--v3-ink); --g-700:var(--v3-ink-2); --g-600:var(--v3-ink-2); --g-500:var(--v3-muted)}
html[data-scheme="dark"] .tr12-in11 :is(.ft-box,.ft-pop,.ft-card-search,.ft-alert,.ft-csum,.tr12-card,.tr12-head__chips span,.tr12-how div){
    --g-500:#64748b; --g-600:#475569; --g-700:#334155; --g-800:#1e293b; --g-900:#0f172a;
    --v2-ink:#0f172a; --v2-ink-2:#475569; --v2-muted:#64748b; --v2-price:#0f172a; --v2-brand-ink:#04936a; --v2-chip:#eef2f7; --v2-chip-ink:#334155;
    --v2-surface:#fff; --v2-surface-2:#f5f7fa; --v2-surface-3:#eef2f7; --v2-line:#e2e8f0; --v2-line-2:#cfd8e3; --v2-bg:#f4f6f9;
    --v3-ink:#0f172a; --v3-ink-2:#475569; --v3-muted:#64748b;
    --v3-surface:#fff; --v3-surface-2:#f5f7fa; --v3-surface-3:#eef2f7; --v3-line:#e2e8f0; --v3-line-2:#cfd8e3; --v3-bg:#f4f6f9;
    color:#0f172a; color-scheme:light;
}

/* tr12_moved_html / ?gone=1: the search was moved to the nearest tour on sale - information, not an error */
.tr12-moved{display:flex;align-items:center;gap:10px;margin:10px 0 0;padding:11px 14px;border-radius:14px;background:var(--b-50);border:1px solid var(--b-200);color:var(--b-900);font-size:13px}
.tr12-moved b{font-weight:800}
.tr12-moved svg{flex:none;color:var(--b-700)}
.tr12-sumr--per{padding-top:0;font-size:12.5px}
.tr12-cap[hidden]{display:none}

/* --- «تورهای آماده» (pay11/tourpkg12.php, 2026-11-03): the boss's Admin/tour tours */
.tp12 .tp12-card{cursor:default}
.tp12 .tp12-card:hover{transform:none}
.tp12-it{border:1px solid var(--g-200);border-radius:12px;background:#fff}
.tp12-it summary{display:flex;align-items:center;gap:6px;padding:9px 11px;font-size:13px;font-weight:700;color:var(--b-700);cursor:pointer;list-style:none}
.tp12-it summary::-webkit-details-marker{display:none}
.tp12-it summary span{font-weight:400;color:var(--g-500)}
.tp12-it__chev{margin-inline-start:auto;transition:transform .2s}
.tp12-it[open] .tp12-it__chev{transform:rotate(180deg)}
.tp12-it ol{list-style:none;margin:0;padding:2px 11px 10px;display:grid;gap:0}
.tp12-it__i{display:flex;gap:10px;position:relative;padding:7px 0}
.tp12-it__i:not(:last-child)::before{content:"";position:absolute;inset-inline-start:13px;top:34px;bottom:-4px;border-inline-start:2px dotted var(--g-300)}
.tp12-it__ic{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--b-50);color:var(--b-700)}
.tp12-k1 .tp12-it__ic,.tp12-k2 .tp12-it__ic{background:var(--ok-50);color:var(--ok-700)}
.tp12-it__b{display:flex;flex-direction:column;gap:1px;min-width:0}
.tp12-it__b b{font-size:13px;font-weight:700;color:var(--g-900)}
.tp12-it__b small{font-size:11.5px;color:var(--g-500)}
.tp12-it__b em{font-style:normal;font-size:11.5px;color:var(--g-600)}
.tp12-cta{display:flex;gap:8px;flex-wrap:wrap}
.tp12-cta .ft-btn{flex:1 1 auto;justify-content:center;text-decoration:none}
.tp12-wa{flex:0 0 auto!important;color:#128c4a!important;border:1px solid #9be0b8!important;background:#effbf3!important}
.tp12-note{font-size:11.5px;color:var(--g-500)}
.tp12[lang="en"]{direction:ltr;text-align:left}
.tp12[lang="en"] .tr12-card__route svg{transform:none}
html[data-scheme="dark"] .tr12-in11 .tp12-it{--g-200:#e2e8f0}

/* --- «تورهای آماده» round 2 (2026-11-03): search bar, card link, tour page */
.tp12-card__t{color:var(--g-900)!important;text-decoration:none!important}
.tp12-card__t:hover{color:var(--b-700)!important}
a.tr12-card__img{display:block}
.tp12-see{gap:6px;text-decoration:none!important;max-width:none!important}
.tp12-bar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;padding:12px;margin:0 0 18px;border-radius:18px;background:#fff;border:1px solid var(--g-200);box-shadow:0 6px 22px rgba(15,23,42,.06)}
.tp12-bar__ic{align-self:center;color:var(--b-600);margin-inline:4px}
.tp12-bar__f{position:relative;flex:1 1 200px;display:flex;flex-direction:column;gap:3px;margin:0}
.tp12-bar__f span{font-size:11.5px;font-weight:700;color:var(--g-500);padding-inline:4px}
.tp12-bar__f select{appearance:none;-webkit-appearance:none;height:46px;width:100%;padding:0 12px;padding-inline-end:34px;border:1px solid var(--g-300);border-radius:12px;background:var(--g-50);color:var(--g-900);font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.tp12-bar__f select:focus{outline:none;border-color:var(--b-600);background:#fff;box-shadow:0 0 0 3px var(--b-50)}
.tp12-bar__chev{position:absolute;inset-inline-end:12px;bottom:16px;pointer-events:none;color:var(--g-500)}
.tp12-bar__arr{align-self:center;margin-top:16px;color:var(--g-400)}
.tp12-bar__go{height:46px;max-width:none!important;padding:0 22px;gap:6px;flex:0 0 auto}
.tp12-res{display:flex;align-items:center;gap:10px;margin:-6px 4px 14px;font-size:13.5px;color:var(--g-700)}
.tp12-res a{color:var(--b-700);font-weight:700}
.tp12 .tr12-empty .ft-btn{max-width:none}
@media(max-width:640px){.tp12-bar__arr{display:none}.tp12-bar__go{flex:1 1 100%}}

.tp12-pg{padding:14px 0 40px}
.tp12-pg[lang="en"]{direction:ltr;text-align:left}
.tp12-pg__back{display:inline-flex;align-items:center;gap:6px;margin-bottom:12px;font-size:13.5px;font-weight:700;color:var(--b-700)!important;text-decoration:none!important}
.tp12-hero{position:relative;min-height:300px;border-radius:24px;overflow:hidden;background:linear-gradient(135deg,var(--b-700),var(--b-900,#0b3b6e));display:flex;align-items:flex-end;box-shadow:0 18px 40px rgba(15,23,42,.14)}
.tp12-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tp12-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(2,6,23,.82) 0%,rgba(2,6,23,.35) 50%,rgba(2,6,23,.05) 100%)}
.tp12-hero__b{position:relative;z-index:1;padding:26px 28px;color:#fff;display:grid;gap:8px}
.tp12-hero__route{font-size:13.5px;font-weight:700;opacity:.9}
.tp12-hero h1{font-size:clamp(20px,3.2vw,30px);font-weight:900;line-height:1.5;color:#fff;margin:0}
.tp12-chips{display:flex;gap:8px;flex-wrap:wrap}
.tp12-chips span{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.16);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font-size:13px;font-weight:700;color:#fff}
.tp12-lay{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;margin-top:20px;align-items:start}
.tp12-main{display:grid;gap:16px}
.tp12-main .ft-box{padding:18px;border-radius:18px}
.tp12-main h2{display:flex;align-items:center;gap:6px;font-size:17px;font-weight:800;color:var(--g-900);margin:0 0 12px}
.tp12-notes{display:flex;gap:10px;align-items:flex-start;background:var(--b-50)!important;border-color:transparent!important;color:var(--g-800)}
.tp12-notes p{margin:0;line-height:1.9;font-size:14px}
.tp12-notes svg{flex:none;color:var(--b-700);margin-top:3px}
.tp12-inc__l{display:flex;flex-wrap:wrap;gap:8px}
.tp12-inc__l span{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:12px;background:var(--ok-50);color:var(--ok-700);font-weight:700;font-size:13.5px}
.tp12-inc small{display:block;margin-top:10px;color:var(--g-500);font-size:12.5px}
.tp12-it--big{border:0!important;background:none!important}
.tp12-it--big ol,.tp12-plan ol{list-style:none;margin:0;padding:0}
.tp12-it--big .tp12-it__i{padding:10px 0}
.tp12-it--big .tp12-it__ic{width:36px;height:36px}
.tp12-it--big .tp12-it__i:not(:last-child)::before{inset-inline-start:17px;top:44px}
.tp12-it--big .tp12-it__b b{font-size:14.5px}
.tp12-it--big .tp12-it__b small{font-size:12.5px}
.tp12-it--big .tp12-it__b em{font-size:12.5px}
.tp12-side{position:sticky;top:84px}
.tp12-buy{padding:18px!important;border-radius:20px!important;display:grid;gap:14px;box-shadow:0 12px 30px rgba(15,23,42,.08)}
.tp12-buy__p{display:flex;flex-direction:column}
.tp12-buy__p small{font-size:12px;color:var(--g-500)}
.tp12-buy__p b{font-size:24px;font-weight:900;color:var(--b-700)}
.tp12-buy__f{display:grid;gap:12px;margin:0}
.tp12-step{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13.5px;font-weight:700;color:var(--g-800)}
.tp12-step small{font-weight:400;color:var(--g-500)}
.tp12-step__c{display:flex;align-items:center;border:1px solid var(--g-300);border-radius:12px;overflow:hidden}
.tp12-step__c button{width:38px;height:40px;display:grid;place-items:center;background:var(--g-50);border:0;color:var(--b-700);cursor:pointer}
.tp12-step__c button:hover{background:var(--b-50)}
.tp12-step__c input{width:46px;height:40px;border:0;text-align:center;font:inherit;font-weight:800;font-size:16px;color:var(--g-900);background:#fff;-moz-appearance:textfield}
.tp12-step__c input::-webkit-inner-spin-button,.tp12-step__c input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.tp12-buy__t{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:14px;background:var(--g-50);font-weight:700;color:var(--g-700)}
.tp12-buy__t b{font-size:18px;font-weight:900;color:var(--g-900)}
.tp12-buy .ft-btn{max-width:none!important;gap:6px;text-decoration:none!important}
.tp12-buy__cart{margin-top:-4px}
.tp12-buy__n{margin:0;padding:10px 12px;border-radius:12px;background:var(--g-50);font-size:13px;color:var(--g-700);line-height:1.8}
.tp12-buy .tp12-cta .ft-btn{flex:1 1 auto}
.tp12-buy .tp12-note{line-height:1.8}
@media(max-width:900px){.tp12-lay{grid-template-columns:1fr}.tp12-side{position:static}.tp12-hero{min-height:240px}.tp12-hero__b{padding:20px}}
html[data-scheme="dark"] .tr12-in11 :is(.tp12-bar,.tp12-buy,.tp12-main .ft-box){--g-50:#f5f7fa;--g-200:#e2e8f0;--g-300:#cfd8e3;--g-500:#64748b;--g-700:#334155;--g-800:#1e293b;--g-900:#0f172a}
