/* CAJ.UZ booking card on tour pages. Scoped to .tc*, nothing else on the page is restyled. */
.tc{position:sticky;top:90px;background:#fff;border:1px solid #E4E2DE;border-radius:16px;padding:20px;margin-bottom:24px;display:flex;flex-direction:column;gap:12px;box-shadow:0 10px 28px rgba(0,0,0,.06);font-size:15px}
.tc *{box-sizing:border-box}
.tc-from{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.tc-from span{color:#5C5C5C;font-size:13px}.tc-from b{font-size:32px;line-height:1}
.tc-f{display:flex;flex-direction:column;gap:6px;margin:0;font-weight:500;font-size:14px}.tc-f select,.tc-f input{width:100%;background:#fff;height:46px;border:1px solid #CFCDC8;border-radius:10px;padding:0 12px;font:inherit;font-size:16px}
.tc-row{display:flex;justify-content:space-between;align-items:center;font-weight:500;font-size:14px}
.tc-step{display:flex;align-items:center;gap:6px}.tc-step b{min-width:28px;text-align:center;font-size:19px}
.tc-step button{width:42px;height:42px;border-radius:50%;border:1.5px solid #C62828;background:#fff;color:#C62828;font-size:20px;line-height:1;cursor:pointer}
.tc-pk{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tc-pk button{text-align:left;padding:9px 11px;border:2px solid #E4E2DE;border-radius:10px;background:#fff;cursor:pointer;font:inherit}
.tc-pk button b{display:block;font-size:15px}.tc-pk button span{font-size:12px;color:#5C5C5C}.tc-pk button.on{border-color:#C62828;background:#FCEEEE}
.tc-x{display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border:2px solid #E4E2DE;border-radius:10px;cursor:pointer;font-weight:400;font-size:14px}.tc-x span{flex:1}.tc-x input{width:18px;height:18px;accent-color:#C62828;margin:0}.tc-x.on{border-color:#C62828;background:#FCEEEE}
.tc-sum{border-top:1px solid #EEECE8;padding-top:10px;display:flex;flex-direction:column;gap:4px;font-size:13px;color:#3A3A3A}.tc-sum div{display:flex;justify-content:space-between;gap:8px}
.tc-tot{margin-top:4px;font-size:15px;color:#1F1F1F}.tc-tot b{font-size:24px}
.tc-btn{display:flex;align-items:center;justify-content:center;height:52px;border-radius:12px;background:#C62828;color:#fff!important;font-weight:700;font-size:17px;text-decoration:none!important}
.tc-ok{list-style:none;margin:0;padding:0;font-size:12.5px;color:#3A3A3A;display:flex;flex-direction:column;gap:4px}.tc-ok li:before{content:"✓ ";color:#C62828}
.tc-bar{display:none}
@media (max-width:991.98px){.tc{position:static}.tc-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1030;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;background:#fff;border-top:1px solid #E4E2DE;box-shadow:0 -6px 18px rgba(0,0,0,.07)}
.tc-bar span{font-size:12px;color:#5C5C5C}.tc-bar b{font-size:22px}.tc-bar .tc-open{display:flex;align-items:center;height:48px;padding:0 20px;border:none;border-radius:12px;background:#C62828;color:#fff;font:inherit;font-weight:700;font-size:16px;cursor:pointer}
html.tc-on #cajChatBtn{bottom:92px!important}html.tc-on .mobile-cta-bar{display:none!important}html.tc-on body{padding-bottom:80px}}

.tc-step button[disabled]{border-color:#E0DED9;color:#9A9893;background:#F4F3F0;cursor:not-allowed}
.tc-note{margin:-4px 0 0;font-size:12.5px;color:#5C5C5C}

/* phone: booking panel from the bottom */
.tc-sheet[hidden]{display:none}
.tc-sheet{position:fixed;inset:0;z-index:1060}
.tc-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.4);opacity:0;transition:opacity .2s}
.tc-panel{position:absolute;left:0;right:0;bottom:0;max-height:90vh;display:flex;flex-direction:column;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -10px 30px rgba(0,0,0,.2);transform:translateY(100%);transition:transform .2s ease-out}
.tc-sheet.is-open .tc-backdrop{opacity:1}.tc-sheet.is-open .tc-panel{transform:translateY(0)}
.tc-grab{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 12px 8px 20px;border-bottom:1px solid #EEECE8;touch-action:none}
.tc-grab b{font-size:17px}
.tc-handle{position:absolute;top:7px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:#D6D4CF}
.tc-close{width:44px;height:44px;border:none;background:none;font-size:30px;line-height:1;color:#3A3A3A;cursor:pointer}
.tc-body{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 4px calc(8px + env(safe-area-inset-bottom))}
.tc-body .tc{position:static;border:none;box-shadow:none;margin:0;padding:16px}
html.tc-sheet-open,html.tc-sheet-open body{overflow:hidden}
@media (max-width:991.98px){
  html.tc-on #cajChatBtn .caj-btn-text{display:none}
  html.tc-on #cajChatBtn{padding:6px!important;border-radius:50%!important}
  html.tc-sheet-open #cajChatBtn{display:none!important}
}
@media (prefers-reduced-motion:reduce){.tc-panel,.tc-backdrop{transition:none}}
/* per-person supplement row (single room, tours 4 and 28) */
.tc-xq{gap:10px}.tc-xq>span{display:flex;flex-direction:column;line-height:1.3}.tc-xq small{font-weight:400;color:#6b7280;font-size:12px}
/* headline: "Tour prices from / $1,200 / per person, two sharing", centred */
.tc-from{flex-direction:column;align-items:center;text-align:center;gap:2px;padding-bottom:12px;border-bottom:1px solid #EEECE8}
.tc-from .tc-head{font-size:14px;color:#3A3A3A;font-weight:500}.tc-from b{font-size:36px}
/* nothing in the card may be wider than the phone */
.tc{min-width:0;max-width:100%;overflow-wrap:anywhere}.tc-f select{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;min-width:0;padding-right:28px}
.tc-sum div span{min-width:0}.tc-sum div b{white-space:nowrap}
@media (max-width:420px){.tc-bar{padding:10px 12px}.tc-bar b{font-size:20px}.tc-bar .tc-open{padding:0 14px;font-size:15px}.tc-from b{font-size:32px}}
.tc-bar>div{min-width:0;line-height:1.25}.tc-bar .tc-open{flex-shrink:0;white-space:nowrap}
