/* ===== TRAVEL2AUS — destination / tour / package pages (built by build/build.mjs) ===== */

/* Hero */
.x-hero{position:relative;overflow:hidden;background:#0B2233;padding:110px 40px 90px;text-align:center}
.x-hero::before{content:'';position:absolute;inset:0;background:var(--hero) center/cover;opacity:.55}
.x-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,rgba(5,20,35,.45),rgba(5,20,35,.78))}
.x-hero-inner{position:relative;z-index:2;max-width:820px;margin:0 auto}
.x-hero-small{padding:80px 40px 64px}
.x-hero h1{font-family:var(--ff-display);font-size:clamp(36px,6vw,72px);color:#fff;line-height:1.05;animation:fadeUp .7s ease both}
.x-hero p{margin:16px auto 0;font-size:18px;color:rgba(255,255,255,.93);line-height:1.65;font-weight:700;max-width:660px}
.x-hero-tag{display:inline-flex;background:var(--pale);color:var(--text);padding:7px 16px;border-radius:40px;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.3px;margin-bottom:18px}
.x-hero .x-btns{margin-top:28px}
.x-crumbs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;font-size:13px;font-weight:800;color:rgba(255,255,255,.8);margin-bottom:16px}
.x-crumbs a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.x-crumbs i{font-style:normal;opacity:.6}

/* Sub-navigation between a destination's pages */
.x-subnav{position:sticky;top:var(--nav-h);z-index:40;background:#fff;border-bottom:2px solid var(--border);box-shadow:0 4px 14px rgba(13,71,161,.06)}
.x-subnav-inner{max-width:1160px;margin:0 auto;display:flex;gap:8px;padding:12px 40px;overflow-x:auto;scrollbar-width:none}
.x-subnav-inner::-webkit-scrollbar{display:none}
.x-subnav a{flex:0 0 auto;padding:9px 18px;border-radius:40px;background:var(--light-bg);border:2px solid var(--border);color:var(--blue-ink);font-size:14px;font-weight:800;white-space:nowrap;transition:all .15s}
.x-subnav a:hover{border-color:var(--blue)}
.x-subnav a[aria-current="page"]{background:var(--blue);border-color:var(--blue);color:var(--on-blue)}

/* Sections */
.x-sec{padding:80px 40px;scroll-margin-top:calc(var(--nav-h) + 60px)}
.x-alt{background:var(--off-white)}
.x-dark{background:linear-gradient(135deg,var(--text) 0%,var(--blue-ink) 100%);color:#fff}
.x-inner{max-width:1160px;margin:0 auto}
.x-narrow{max-width:860px}
.x-center{text-align:center}
.x-center .x-intro{margin-left:auto;margin-right:auto}
.x-h2{font-family:var(--ff-display);font-size:clamp(28px,3.6vw,44px);line-height:1.1;color:var(--text);margin:6px 0 18px}
.x-dark .x-h2{color:#fff}
.x-dark .section-label{color:var(--sky)}
.x-h3{font-family:var(--ff-display);font-size:clamp(21px,2.3vw,27px);line-height:1.2;color:var(--text);margin:34px 0 12px}
.x-intro{max-width:760px;margin-bottom:30px}
.x-sec p{font-size:16px;line-height:1.8;font-weight:600;color:var(--text-muted);margin-bottom:12px}
.x-dark p{color:rgba(255,255,255,.88)}
.x-sec p em{font-style:italic;color:var(--text);font-weight:700}
.x-dark p em{color:#fff}
.x-sec p strong{color:var(--text);font-weight:800}
.x-sec p a,.x-note a,.x-list a{color:var(--blue-ink);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.x-note{font-size:13px!important;color:var(--text-muted)}
.x-list{list-style:none;display:flex;flex-direction:column;gap:9px;margin:10px 0 18px}
.x-list li{position:relative;padding-left:24px;font-size:15px;line-height:1.65;font-weight:600;color:var(--text-muted)}
.x-list li::before{content:'→';position:absolute;left:0;color:var(--blue-ink);font-weight:900}
.x-list li strong{color:var(--text)}
.x-ticks li::before{content:'✓';color:var(--green)}
.x-crosses li::before{content:'✕';color:#C62828}
.x-hl-label{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.8px;color:var(--blue-ink);margin:14px 0 6px}
.x-dark .x-hl-label{color:var(--sky)}

/* Buttons */
.x-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.x-btns.x-center{justify-content:center}
.x-btn-outline{background:#fff;color:var(--blue-ink);border:2px solid var(--blue)}
.x-btn-outline:hover{background:var(--light-bg);transform:translateY(-2px)}
.x-btn-wa{background:#1FAF55;color:#fff}
.x-btn-wa:hover{background:#178f45;transform:translateY(-2px)}
button.btn{border:none;font-size:inherit}
.x-textlink{font-size:14px;font-weight:800;color:var(--blue-ink);text-decoration:underline;text-underline-offset:3px;align-self:center}

/* Route line */
.x-route{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:10px 0 16px;font-weight:800;font-size:14px;color:var(--text)}
.x-route span{background:var(--light-bg);border:1.5px solid var(--border);padding:4px 11px;border-radius:30px}
.x-route i{font-style:normal;color:var(--blue-ink)}
.x-dark .x-route span{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.25);color:#fff}

/* Tip box */
.x-tip{display:flex;gap:14px;align-items:flex-start;background:#FFF8E1;border:2px solid #FFE082;border-radius:var(--radius-sm);padding:16px 18px;margin:18px 0;font-size:15px;line-height:1.7;font-weight:700;color:var(--text)}
.x-tip-label{flex:0 0 auto;background:#FFC107;color:#3E2A00;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.6px;padding:4px 10px;border-radius:20px;margin-top:2px}

/* Photos */
.x-photo{border-radius:var(--radius);overflow:hidden;aspect-ratio:3/2;background:var(--light-bg);box-shadow:var(--shadow-card)}
.x-photo img{width:100%;height:100%;object-fit:cover}
.x-photo-empty,.x-card-img-empty{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0D47A1,#2196F3)!important;color:#fff;text-align:center;padding:16px}
.x-photo-empty span,.x-card-img-empty span{font-family:var(--ff-display);font-size:22px;line-height:1.15}

/* Split text + media */
.x-split{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center;margin:20px 0}
.x-split.x-rev .x-split-media{order:-1}
.x-split + .x-split{margin-top:60px}

/* Card grids */
.x-grid{display:grid;gap:24px;margin:20px 0}
.x-cols-2{grid-template-columns:repeat(2,1fr)}
.x-cols-3{grid-template-columns:repeat(3,1fr)}
.x-cols-4{grid-template-columns:repeat(4,1fr)}
.x-card{display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);overflow:hidden;border:2px solid var(--border);box-shadow:var(--shadow-card);transition:transform .2s,border-color .2s,box-shadow .2s}
a.x-card:hover{transform:translateY(-5px);border-color:var(--blue);box-shadow:var(--shadow-lg)}
.x-card-top{position:relative;height:210px;overflow:hidden}
.x-small .x-card-top{height:150px}
.x-card-img{width:100%;height:100%;background-size:cover;background-position:center;transition:transform .5s}
a.x-card:hover .x-card-img{transform:scale(1.05)}
.x-card-tag{position:absolute;top:12px;left:12px;z-index:2;background:var(--pale);color:var(--text);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;padding:4px 10px;border-radius:20px}
.x-card-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.x-card-meta{font-size:12px;font-weight:800;color:var(--blue-ink);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}
.x-card-title{font-family:var(--ff-display);font-size:21px;line-height:1.15;color:var(--text);margin-bottom:6px}
.x-small .x-card-title{font-size:18px}
.x-card-text p{font-size:14px!important;line-height:1.65!important;margin-bottom:6px!important}
.x-card-cta{margin-top:auto;padding-top:10px;font-size:14px;font-weight:900;color:var(--blue-ink)}

/* Big tour cards */
.x-tours{display:flex;flex-direction:column;gap:28px;margin:24px 0}
.x-tour{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);background:#fff;border:2px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card);scroll-margin-top:calc(var(--nav-h) + 70px)}
.x-tour-media{position:relative;background:var(--light-bg)}
.x-tour-media .x-photo,.x-tour-media .x-video{border-radius:0;box-shadow:none;height:100%;min-height:260px;aspect-ratio:auto}
.x-tour-body{padding:26px 28px}
.x-tour-title{font-family:var(--ff-display);font-size:clamp(22px,2.4vw,28px);line-height:1.15;color:var(--text);margin:0 0 8px}
.x-tour-body p{font-size:15px!important;margin-bottom:8px!important}
.x-best{display:inline-block;background:var(--light-bg);color:var(--blue-ink);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;padding:5px 12px;border-radius:20px;margin-bottom:10px}
.x-book{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}
.x-book .btn{padding:12px 20px;font-size:14px}

/* Compact booking card */
.x-bookcard{display:flex;flex-direction:column;background:#fff;border:2px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card)}
.x-bookcard .x-photo{border-radius:0;box-shadow:none}
.x-bookcard-body,.x-box-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.x-bookcard-body p,.x-box-body p{font-size:15px!important;margin-bottom:8px!important}
.x-bookcard .x-book{margin-top:auto}

/* Boxes / route cards / hostels */
.x-box,.x-routecard,.x-hostel{display:flex;flex-direction:column;background:#fff;border:2px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card)}
.x-box .x-photo,.x-routecard .x-photo,.x-hostel .x-photo{border-radius:0;box-shadow:none}
.x-hostel-big{display:grid;grid-template-columns:1fr 1.2fr;margin:20px 0}
.x-hostel-big .x-photo{aspect-ratio:auto;height:100%;min-height:240px}

/* Packages */
.x-pkg{display:flex;flex-direction:column;background:#fff;border:2px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card);scroll-margin-top:calc(var(--nav-h) + 70px)}
.x-pkg .x-photo{border-radius:0;box-shadow:none}
.x-pkg-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.x-pkg-body .x-book{margin-top:auto}
.x-pkg-featured{border-color:var(--blue);box-shadow:var(--shadow-lg)}
.x-pkg-badge{align-self:flex-start;background:var(--blue);color:#fff;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.6px;padding:5px 11px;border-radius:20px;margin-bottom:10px}
.x-pkg-sub{font-size:15px;font-weight:800;color:var(--blue-ink);margin-bottom:6px}
.x-deal{background:#E8F5E9;border:2px solid #A5D6A7;color:#1B5E20;font-weight:900;font-size:15px;padding:10px 14px;border-radius:var(--radius-sm);margin:12px 0 4px}

/* Ultimate 6 banner */
.x-u6{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:10px 0 6px}
.x-u6-item{position:relative;aspect-ratio:3/4;border-radius:var(--radius-sm);overflow:hidden;background:#0D47A1 center/cover;display:flex;flex-direction:column;justify-content:flex-end;padding:12px;color:#fff;transition:transform .2s}
.x-u6-item::before{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,transparent 30%,rgba(0,0,0,.75))}
.x-u6-item:hover{transform:translateY(-4px)}
.x-u6-n,.x-u6-name{position:relative}
.x-u6-n{font-family:var(--ff-display);font-size:26px;line-height:1;color:var(--sky)}
.x-u6-name{font-weight:900;font-size:14px;line-height:1.25}

/* Video slot */
.x-video{position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#0B2233 center/cover;box-shadow:var(--shadow-card)}
.x-video::before{content:'';position:absolute;inset:0;background:rgba(5,20,35,.45)}
.x-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:3}
.x-video-msg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;background:rgba(255,255,255,.95);color:var(--text);font-weight:900;font-size:14px;padding:9px 16px;border-radius:30px;white-space:nowrap}
.x-video-play{display:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:76px;height:76px;border-radius:50%;border:none;background:#FF0000;color:#fff;font-size:30px;padding-left:6px;box-shadow:0 8px 30px rgba(0,0,0,.4);transition:transform .15s}
.x-video-play:hover{transform:translate(-50%,-50%) scale(1.08)}
.x-video.is-live .x-video-play{display:block}
.x-video.is-live .x-video-msg{display:none}

/* Steps, FAQ, pros/cons, tables */
.x-steps{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:20px 0}
.x-steps li{display:flex;gap:14px;background:#fff;border:2px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-card)}
.x-step-n{flex:0 0 auto;width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;font-family:var(--ff-display);font-size:19px;display:flex;align-items:center;justify-content:center}
.x-step-title{font-family:var(--ff-display);font-size:19px;color:var(--text);margin:4px 0 6px;line-height:1.2}
.x-steps p{font-size:14px!important;margin-bottom:6px!important}
.x-faq{display:flex;flex-direction:column;gap:10px;margin:18px 0}
.x-faq details{background:#fff;border:2px solid var(--border);border-radius:var(--radius-sm);padding:4px 18px}
.x-faq summary{cursor:pointer;font-weight:900;font-size:16px;color:var(--text);padding:12px 0;list-style:none;display:flex;justify-content:space-between;gap:12px}
.x-faq summary::after{content:'+';color:var(--blue-ink);font-size:22px;line-height:1}
.x-faq details[open] summary::after{content:'–'}
.x-faq details p{font-size:15px!important}
.x-pc{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:12px 0}
.x-pros,.x-cons{background:#fff;border:2px solid var(--border);border-radius:var(--radius-sm);padding:14px 18px}
.x-table-wrap{overflow-x:auto;margin:18px 0;border-radius:var(--radius);border:2px solid var(--border);box-shadow:var(--shadow-card)}
.x-table{width:100%;border-collapse:collapse;background:#fff;font-size:15px;min-width:560px}
.x-table th,.x-table td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--border);font-weight:600;color:var(--text-muted)}
.x-table thead th{background:var(--blue);color:#fff;font-weight:900}
.x-table tbody th{color:var(--text);font-weight:900;background:var(--off-white)}
.x-table tr:last-child th,.x-table tr:last-child td{border-bottom:none}

/* Ratings */
.x-rates{margin:12px 0 4px}
.x-rate{display:grid;grid-template-columns:96px 1fr 36px;align-items:center;gap:10px;font-size:13px;font-weight:800;color:var(--text);margin:5px 0}
.x-rate-bar{height:10px;background:var(--light-bg);border-radius:10px;overflow:hidden}
.x-rate-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--bright),var(--blue));border-radius:10px}
.x-rate b{color:var(--blue-ink);font-size:12px}

/* Sticky sidebar layout */
.x-sidebar-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start}
.x-aside-sticky{position:sticky;top:calc(var(--nav-h) + 80px);display:flex;flex-direction:column;gap:18px}
.x-aside .x-pkg-body{padding:20px}
.x-aside .x-tour-title{font-size:22px}

/* Enquiry form */
.x-enquiry-wrap{display:grid;grid-template-columns:1.5fr 1fr;gap:28px;align-items:start}
.x-enquiry{background:#fff;border:2px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:14px}
.x-enquiry label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:900;color:var(--text);text-transform:uppercase;letter-spacing:.4px}
.x-enquiry input,.x-enquiry select,.x-enquiry textarea{font-family:var(--ff-body);font-size:16px;font-weight:600;color:var(--text);padding:12px 14px;border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--off-white);text-transform:none;letter-spacing:0;width:100%}
.x-enquiry input:focus,.x-enquiry select:focus,.x-enquiry textarea:focus{outline:none;border-color:var(--blue);background:#fff}
.x-row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.x-opt{font-weight:600;text-transform:none;color:var(--text-muted)}
.x-hp{position:absolute;left:-9999px}
.x-enquiry button{align-self:flex-start}
.x-form-ok{background:#E8F5E9;border:2px solid #A5D6A7;color:#1B5E20;font-weight:800;padding:12px 14px;border-radius:var(--radius-sm)}
.x-quick{background:var(--light-bg);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:12px}
.x-quick .btn{justify-content:center}
.x-flash{animation:xflash 1.2s ease}
@keyframes xflash{0%,100%{box-shadow:var(--shadow-card)}30%{box-shadow:0 0 0 6px rgba(33,150,243,.45)}}

/* Hero widget pop-up */
.x-modal{position:fixed;inset:0;z-index:100000;background:rgba(5,20,35,.7);display:flex;align-items:center;justify-content:center;padding:20px}
.x-modal[hidden]{display:none}
.x-modal-box{background:#fff;border-radius:var(--radius);width:min(440px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden;box-shadow:var(--shadow-lg)}
.x-modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--blue);color:#fff;padding:14px 18px;font-weight:900}
.x-modal-head button{background:none;border:none;color:#fff;font-size:26px;line-height:1;cursor:pointer}
.x-modal iframe{width:100%;height:min(950px,calc(100vh - 110px));border:0;display:block}

/* Hostel finder */
.x-finder{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#fff;border:2px solid var(--border);border-radius:var(--radius);padding:16px 20px;box-shadow:var(--shadow-card);margin:10px 0 24px}
.x-finder label{font-weight:900;color:var(--text)}
.x-finder select{font-family:var(--ff-body);font-size:16px;font-weight:700;padding:10px 14px;border:2px solid var(--border);border-radius:var(--radius-sm);min-width:240px}
.x-town[hidden]{display:none}

@media(max-width:1000px){
  .x-cols-4{grid-template-columns:repeat(2,1fr)}
  .x-u6{grid-template-columns:repeat(3,1fr)}
  .x-sidebar-layout{grid-template-columns:1fr}
  .x-aside{order:-1}
  .x-aside-sticky{position:static;display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:860px){
  .x-sec{padding:60px 20px}
  .x-hero{padding:80px 20px 64px}
  .x-subnav-inner{padding:10px 16px}
  .x-split,.x-tour,.x-hostel-big,.x-enquiry-wrap,.x-pc{grid-template-columns:1fr}
  .x-split.x-rev .x-split-media{order:0}
  .x-cols-3,.x-cols-2{grid-template-columns:1fr}
  .x-tour-media .x-photo,.x-tour-media .x-video{min-height:0;aspect-ratio:16/10}
  .x-tour-body{padding:20px}
  .x-row2{grid-template-columns:1fr}
}
@media(max-width:560px){
  .x-cols-4{grid-template-columns:1fr 1fr;gap:14px}
  .x-small .x-card-top{height:110px}
  .x-small .x-card-body{padding:12px}
  .x-small .x-card-title{font-size:16px}
  .x-aside-sticky{grid-template-columns:1fr}
  .x-u6{grid-template-columns:repeat(2,1fr)}
  .x-book .btn{flex:1 1 100%;justify-content:center}
  .x-video-msg{font-size:12px}
}

/* Photo credits (free-licence web photos) */
.x-credits{background:var(--off-white);border-top:1px solid var(--border);padding:14px 40px;font-size:11px;line-height:1.6;color:var(--text-muted);font-weight:600}
.x-credits a{color:inherit;text-decoration:underline}
.x-card-links a.x-card-top{display:block}
.x-card-links a.x-card-title:hover{color:var(--blue-ink)}
.x-card-links .x-card-cta{margin-top:10px}

.x-town h3,.x-town h2{scroll-margin-top:calc(var(--nav-h) + 70px)}

/* "From $X pp" price next to the booking buttons (Hero price, checked 30 Nov 2026) */
.x-from{display:inline-flex;align-items:baseline;gap:4px;font-family:var(--ff-display);font-size:24px;color:var(--green);margin-right:6px;white-space:nowrap}
.x-from small{font-family:var(--ff-body);font-size:12px;font-weight:800;color:var(--text-muted);text-transform:uppercase;letter-spacing:.4px}
@media(max-width:560px){.x-from{flex:1 1 100%}}

/* Trip builder (/plan-my-trip) */
.x-builder{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;align-items:start;scroll-margin-top:calc(var(--nav-h) + 20px)}
.x-builder-controls{background:#fff;border:2px solid var(--border);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow-card)}
.x-bl{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.4px;color:var(--text);margin-bottom:12px}
.x-bl input,.x-bl select{font-family:var(--ff-body);font-size:16px;font-weight:600;padding:11px 13px;border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--off-white);text-transform:none;letter-spacing:0}
.x-stops{display:flex;flex-direction:column;gap:8px}
.x-stop{border:2px solid var(--border);border-radius:var(--radius-sm);padding:10px 14px;transition:border-color .15s,background .15s}
.x-stop.is-on{border-color:var(--blue);background:var(--off-white)}
.x-stop-head{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:15px;color:var(--text)}
.x-stop-head input,.x-stop-tours input,.x-stop-hostel input{width:18px;height:18px;accent-color:var(--blue)}
.x-nights{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:var(--text-muted)}
.x-nights button{width:28px;height:28px;border-radius:50%;border:2px solid var(--border);background:#fff;font-weight:900;color:var(--blue-ink);font-size:16px;line-height:1}
.x-stop-tours,.x-stop-hostel{display:none}
.x-stop.is-on .x-stop-tours{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0 4px 28px}
.x-stop.is-on .x-stop-hostel{display:flex;gap:8px;align-items:center;margin:6px 0 2px 28px}
.x-stop-tours label,.x-stop-hostel{font-size:14px;font-weight:700;color:var(--text);display:flex;gap:6px;align-items:center;cursor:pointer}
.x-builder-summary{position:sticky;top:calc(var(--nav-h) + 20px);background:#fff;border:2px solid var(--blue);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow-lg)}
.x-b-total{font-family:var(--ff-display);font-size:22px;color:var(--blue-ink);margin:4px 0 8px}
.x-b-days{list-style:none;display:flex;flex-direction:column;gap:8px;margin:0;max-height:360px;overflow:auto}
.x-b-days li{border-left:3px solid var(--bright);padding:2px 0 2px 10px;font-size:14px;color:var(--text)}
.x-b-days li span{color:var(--text-muted);font-weight:700;font-size:13px}
.x-b-days small{display:block;color:var(--text-muted);font-weight:700}
@media(max-width:860px){.x-builder{grid-template-columns:1fr}.x-builder-summary{position:static}}
.x-stop:not(.is-on) .x-stop-hostel,.x-stop:not(.is-on) .x-stop-tours{display:none}

/* Big 3 / Big 2 builder */
.x-b3{background:#fff;border:2px solid var(--blue);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:24px;margin:24px 0;display:flex;flex-direction:column;gap:18px}
.x-b3-head p{margin:4px 0 0!important}
.x-b3-rows{display:flex;flex-direction:column;gap:12px}
.x-b3-row{display:grid;grid-template-columns:36px minmax(140px,220px) 1fr;align-items:center;gap:12px;background:var(--off-white);border:2px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;cursor:pointer}
.x-b3-n{width:32px;height:32px;border-radius:50%;background:var(--blue);color:#fff;font-family:var(--ff-display);display:flex;align-items:center;justify-content:center}
.x-b3-lab{font-weight:900;color:var(--text);font-size:15px}
.x-b3-sel{font-family:var(--ff-body);font-size:16px;font-weight:700;color:var(--text);padding:10px 12px;border:2px solid var(--border);border-radius:var(--radius-sm);background:#fff;width:100%;min-width:0}
.x-b3-check{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--text)}
.x-b3-check input{width:22px;height:22px;accent-color:var(--blue)}
.x-b3.is-big2 .x-b3-sky{opacity:.65}
.x-b3-foot{display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--border);padding-top:16px}
.x-b3-total{font-family:var(--ff-display);font-size:30px;color:var(--green)}
.x-b3-total small{font-family:var(--ff-body);font-size:13px;font-weight:800;color:var(--text-muted);text-transform:uppercase}
.x-b3-foot .x-btns{margin-top:0}
.x-modal-steps{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--light-bg);padding:10px 16px;font-size:13px;font-weight:800;color:var(--text)}
.x-modal-steps[hidden]{display:none}
.x-step-next{border:none;background:var(--blue);color:#fff;font-weight:900;font-family:var(--ff-body);padding:8px 14px;border-radius:30px;cursor:pointer}
.x-step-next[hidden]{display:none}
@media(max-width:700px){.x-b3-row{grid-template-columns:32px 1fr}.x-b3-row .x-b3-sel,.x-b3-row .x-b3-check{grid-column:1/-1}}

/* Trip planner quiz (/trip-planner/) */
.x-quiz{display:flex;flex-direction:column;gap:18px;background:#fff;border:2px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-card)}
.x-quiz fieldset{border:none;padding:0;margin:0}
.x-quiz legend{display:flex;align-items:center;gap:10px;font-family:var(--ff-display);font-size:20px;color:var(--text);margin-bottom:10px}
.x-quiz legend small{font-family:var(--ff-body);font-size:13px;color:var(--text-muted)}
.x-quiz .x-step-n{width:30px;height:30px;font-size:15px}
.x-chips{display:flex;flex-wrap:wrap;gap:8px}
.x-chips label{cursor:pointer}
.x-chips input{position:absolute;opacity:0;pointer-events:none}
.x-chips span{display:inline-flex;padding:9px 15px;border-radius:30px;border:2px solid var(--border);background:var(--off-white);font-weight:800;font-size:14px;color:var(--text);transition:all .15s}
.x-chips input:checked + span{background:var(--blue);border-color:var(--blue);color:#fff}
.x-chips input:focus-visible + span{outline:3px solid var(--bright);outline-offset:2px}
.x-quiz-go{align-self:flex-start;font-size:17px}
.x-plan{margin-top:28px;background:#fff;border:2px solid var(--blue);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-lg);scroll-margin-top:calc(var(--nav-h) + 20px)}
.x-plan-head{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.x-plan-stops{list-style:none;margin:16px 0;padding:0;display:flex;flex-direction:column;gap:12px}
.x-plan-stop{display:grid;grid-template-columns:96px 1fr;gap:14px;border:2px solid var(--border);border-radius:var(--radius-sm);padding:14px}
.x-plan-days{font-family:var(--ff-display);font-size:18px;color:var(--blue-ink);line-height:1.1}
.x-plan-days small{display:block;font-family:var(--ff-body);font-size:12px;font-weight:800;color:var(--text-muted);margin-top:4px}
.x-plan-body h4{font-family:var(--ff-display);font-size:20px;margin:0 0 4px}
.x-plan-body h4 a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.x-plan-hostel{font-size:14px!important;margin:0 0 6px!important}
.x-plan-tour{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--border);padding-top:10px;margin-top:10px}
.x-plan-tour > div:first-child{display:flex;flex-direction:column;font-size:15px;color:var(--text)}
.x-plan-tour > div:first-child span{font-size:13px;color:var(--text-muted);font-weight:700}
.x-plan-tour .x-book{border:none;margin:0;padding:0}
.x-plan-tour .x-from{font-size:20px}
@media(max-width:560px){.x-plan-stop{grid-template-columns:1fr}.x-plan-tour .x-book{width:100%}}

/* quick chat links on every tour / hostel card (WhatsApp + Instagram, 'I’m enquiring about <tour>') */
.x-chat{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px}
.x-chat-label{color:var(--muted,#5b6b7d);font-weight:700}
.x-chat a{display:inline-flex;align-items:center;gap:4px;padding:5px 11px;border-radius:20px;font-weight:800;text-decoration:none;font-size:13px;line-height:1.3}
.x-chat-wa{background:#E8F8EE;color:#127a3b}
.x-chat-wa:hover{background:#d3f2df}
.x-chat-ig{background:#FCE8F3;color:#b0186f}
.x-chat-ig:hover{background:#f8d5e9}

.x-modal-terms{background:#FFF7E6;color:#5a4300;font-size:13px;font-weight:700;line-height:1.4;padding:8px 14px;border-bottom:1px solid #f3dfb2}
.x-modal-terms a{color:#0D47A1;text-decoration:underline}
/* Hostel prices (Hostelworld style) */
.x-rp{margin:14px 0 6px}
.x-rp-pills{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.x-rp-pill{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:12px;border:2px solid var(--border);background:var(--light-bg)}
.x-rp-d{border-color:#BFD8F7;background:#EEF5FE}
.x-rp-p{border-color:#F7D9BF;background:#FFF4EA}
.x-rp-lbl{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;font-weight:800;color:var(--text-muted)}
.x-rp-val{font-size:14px;font-weight:700;color:var(--text)}
.x-rp-val strong{font-size:20px;font-weight:900}
.x-rp-val em{font-style:normal;color:var(--text-muted);font-weight:700}
.x-rp-all{margin-top:10px;border:2px solid var(--border);border-radius:12px;background:#fff}
.x-rp-all summary{cursor:pointer;padding:10px 14px;font-weight:800;font-size:14px;color:var(--blue-ink,#1E4DB7);list-style:none}
.x-rp-all summary::-webkit-details-marker{display:none}
.x-rp-all summary::after{content:' ▾'}
.x-rp-all[open] summary::after{content:' ▴'}
.x-rp-all ul{list-style:none;margin:0;padding:0 14px}
.x-rp-all li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--border);font-size:14px;font-weight:600}
.x-rp-room{display:flex;align-items:center;gap:8px;min-width:0}
.x-rp-tag{flex:none;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.8px;padding:3px 7px;border-radius:20px}
.x-rp-dorm{background:#EEF5FE;color:#1E4DB7}
.x-rp-private{background:#FFF4EA;color:#B8560F}
.x-rp-other{background:#EEF7EE;color:#2E7D32}
.x-rp-price{flex:none;white-space:nowrap;color:var(--text-muted)}
.x-rp-price strong{color:var(--text);font-size:15px}
.x-rp-note{font-size:12px;color:var(--text-muted);margin:8px 14px 12px;line-height:1.5}
/* Hostel prices: 3 rows (cheapest bed / private / female), Rob 1 Dec */
.x-rp3 ul{list-style:none;margin:0;padding:4px 14px;border:2px solid var(--border);border-radius:12px;background:#fff}
.x-rp3 li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-top:1px solid var(--border);font-size:14px;font-weight:600}
.x-rp3 li:first-child{border-top:0}
.x-rp-female{background:#FDEEF5;color:#B0306E}
.x-rp3 .x-rp-note{margin:8px 2px 0}
/* rating stars (Rob, 1 Dec: out of 5 as stars) */
.x-rate{grid-template-columns:110px auto;justify-content:start;gap:12px;font-size:14px}
.x-stars{display:inline-flex;gap:3px;font-size:20px;line-height:1;letter-spacing:0}
.x-stars i{font-style:normal;color:#D9DEE8}
.x-stars i.on{color:#F5B301}
/* Best for tags (Rob, 1 Dec) */
.x-bestfor{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 6px}
.x-bestfor-label{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--blue-ink)}
.x-bestfor-tag{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:999px;background:var(--light-bg);border:1.5px solid var(--border);font-size:14px;font-weight:700;color:var(--text);white-space:nowrap}
/* Book & pay pop-up: tour photo beside the name (Rob, 1 Dec) */
.x-modal-head{justify-content:flex-start}
.x-modal-head .x-modal-close{margin-left:auto}
.x-modal-thumb{width:56px;height:56px;border-radius:12px;object-fit:cover;flex:none;border:2px solid rgba(255,255,255,.6)}
.x-modal-title{font-size:17px;line-height:1.25}
/* planner: type your own number of days (Rob, 1 Dec) */
.x-days-own{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;font-size:14px;font-weight:700;color:var(--text)}
.x-days-own input{width:96px;padding:10px 12px;border:2px solid var(--border);border-radius:12px;font:inherit;font-size:16px}

/* Hostel review reel played from the site (portrait mp4), Rob 3 Dec 2026 trial on Cool Bananas */
.x-video-reel { width: 100%; max-width: 300px; margin: 14px 0 6px; }
.x-video-reel video { display: block; width: 100%; aspect-ratio: 9 / 16; height: auto; border-radius: 14px; background: #000; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.x-video-reel-cap { font-size: 13px; font-weight: 600; opacity: .75; margin-top: 6px; }
.x-hostel-big .x-video-reel { max-width: 320px; }
