/* Template group "package": rules from package-classic-egypt-v2, program-4-nights-nile-cruise-luxor-aswan, program-4-nights-dahabiya-esna-aswan that are not in main.css. Verbatim. */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;font-weight:600;margin-bottom:18px}
.crumbs a{text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs span{opacity:.6}
.ph2{position:relative;min-height:600px;max-height:720px;height:calc(100vh - 116px);color:#fff;display:flex;align-items:flex-end;overflow:hidden}
.ph2>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}
.ph2:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,.1) 30%,rgba(0,0,0,.35) 50%,rgba(0,0,0,.8) 100%)}
.ph2-in{text-shadow:0 1px 14px rgba(0,0,0,.35);position:relative;z-index:2;padding-bottom:110px;width:100%}
.ph2-tag{display:inline-block;background:var(--sun);font-size:13.5px;font-weight:700;padding:7px 13px;border-radius:999px}
.ph2 h1{font-size:clamp(34px,4.6vw,52px);line-height:1.06;font-weight:600;letter-spacing:-.03em;margin:16px 0 14px;max-width:900px;text-wrap:balance}
.ph2 p{max-width:620px;font-size:18px;opacity:.95}
.ph2-b{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:26px}
.ph2-r{color:#fff;text-decoration:none;font-weight:700;margin-left:8px}
.kf2{position:relative;z-index:3;margin-top:-62px}
.kf2-in{display:grid;grid-template-columns:repeat(4,auto) 1fr;gap:0;background:#fff;border-radius:16px;box-shadow:0 24px 50px rgba(21,24,27,.14);padding:0}
.kf2-in>div{display:flex;gap:12px;align-items:center;padding:22px 26px;border-right:1px solid var(--line)}
.kf2-in .ico{width:24px;height:24px;color:var(--sun);flex:none}
.kf2-in small{display:block;font-size:12.5px;color:var(--mute);font-weight:600}
.kf2-in b{font-size:15.5px;line-height:1.3}
.kf2-p{flex-direction:column;align-items:flex-end!important;justify-content:center;gap:0!important;border-right:0!important;background:var(--nile);color:#fff;border-radius:0 16px 16px 0}
.kf2-p small{color:rgba(255,255,255,.75)!important}
.kf2-p b{font-size:28px!important;font-weight:800;letter-spacing:-.02em}
.subnav{position:sticky;top:78px;z-index:40;background:#fff;border-bottom:1px solid var(--line);margin-top:34px}
.subnav .wrap{display:flex;gap:28px;align-items:center;overflow-x:auto;scrollbar-width:none}
.subnav a{white-space:nowrap;text-decoration:none;font-size:15px;font-weight:600;color:var(--mute);padding:18px 0;border-bottom:3px solid transparent}
.subnav a.on,.subnav a:hover{color:var(--ink);border-color:var(--sun)}
.subnav .sn-cta{margin-left:auto;padding:0 20px;min-height:42px;border-bottom:0;color:#fff;opacity:0;pointer-events:none;transition:opacity .25s}
.subnav.stuck .sn-cta{opacity:1;pointer-events:auto}
.subnav .sn-cta:hover{color:#fff}
.pd-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:56px;align-items:start;padding-top:52px}
.pd-sec{padding-bottom:56px;margin-bottom:56px;border-bottom:1px solid var(--line);scroll-margin-top:150px}
.pd-sec:last-child{border-bottom:0;margin-bottom:0}
.h3x{font-size:clamp(24px,2.4vw,32px);font-weight:600;letter-spacing:-.025em;line-height:1.2;margin-bottom:12px}
.lead.sm{font-size:16px;margin-bottom:24px}
.sec-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.btnlink{background:none;border:0;cursor:pointer;font-size:15px;color:var(--ink);white-space:nowrap;margin-top:10px}
.ov{display:grid;grid-template-columns:1.15fr 1fr;gap:30px;align-items:start}
.hl{list-style:none;display:grid;gap:11px}
.hl li{display:flex;gap:10px;font-size:15.5px}
.hl .ico{color:var(--ok);margin-top:2px;flex:none}
.ov-g{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ov-g img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.ov-g img:first-child{grid-column:1/3;aspect-ratio:16/9}
.ov-g img:nth-child(4){display:none}
.route{margin-top:28px;border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.legs.big{height:10px}
.stops{list-style:none;display:flex;justify-content:space-between;gap:12px;margin-top:16px;flex-wrap:wrap}
.stops li{font-size:13px;color:var(--mute);font-weight:600;display:flex;flex-direction:column}
.stops li b{font-size:15px;color:var(--ink);display:flex;align-items:center;gap:8px}
.stops li b:before{content:"";width:10px;height:10px;border-radius:3px;background:var(--c)}
.stops li.tr{flex-direction:row;align-items:center;gap:6px;color:var(--sun)}
.stops li.tr .ico{width:16px}
.tl{list-style:none;position:relative;margin-top:14px}
.tl:before{content:"";position:absolute;left:21px;top:20px;bottom:30px;width:2px;background:repeating-linear-gradient(var(--stone) 0 6px,transparent 6px 11px)}
.tl-d{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:18px;margin-bottom:14px;align-items:start}
.tl-c:not([open])>.tl-b{display:none}
.tl-dot{position:relative;z-index:1;width:44px;height:44px;border-radius:999px;display:grid;place-items:center;background:#fff;box-shadow:inset 0 0 0 2px var(--nile);color:var(--nile);font-size:15px;margin-top:10px}
.tl-d.k-cruise .tl-dot{box-shadow:inset 0 0 0 2px #3A9C9F;color:#2C7C7F}
.tl-d.k-end .tl-dot{background:var(--nile);color:#fff;box-shadow:none}
.tl-c{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:box-shadow .25s}
.tl-c[open]{box-shadow:var(--shadow);border-color:transparent}
.tl-c summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 20px}
.tl-c summary::-webkit-details-marker{display:none}
.tl-c small{font-size:13px;font-weight:700;color:var(--sun)}
.tl-c h3{font-size:18px;font-weight:700;letter-spacing:-.01em;line-height:1.3;margin-top:2px}
.tl-ch{width:32px;height:32px;border-radius:999px;background:var(--sand);display:grid;place-items:center;flex:none;transition:transform .25s}
.tl-ch .ico{width:18px}
.tl-c[open] .tl-ch{transform:rotate(180deg)}
.tl-b{display:grid;grid-template-columns:1fr 200px;gap:22px;padding:0 20px 20px}
.tl-b img{width:100%;aspect-ratio:4/3.2;object-fit:cover;border-radius:12px}
.tl-b p{color:var(--ink2);line-height:1.75;margin-bottom:12px}
.dnote{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--nile);background:#E3EFEF;border-radius:999px;padding:6px 12px;margin-bottom:12px}
.dnote.opt{color:var(--sun2);background:#FBEDE6}
.dnote .ico{width:16px}
.dmeta{list-style:none;display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px;font-size:14px;font-weight:600;color:var(--mute)}
.dmeta li{display:flex;align-items:center;gap:7px}
.dmeta .ico{width:17px;color:var(--ink2)}
.lcs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.lc{position:relative;border:1.5px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:border-color .2s,box-shadow .2s}
.lc.on{border-color:var(--nile);box-shadow:0 16px 40px rgba(15,76,79,.14)}
.lc-flag{position:absolute;top:10px;left:10px;background:var(--nile);color:#fff;font-size:11.5px;font-weight:800;padding:5px 10px;border-radius:999px}
.lc img{width:100%;aspect-ratio:16/10;object-fit:cover}
.lc-b{padding:16px 16px 18px;display:flex;flex-direction:column;gap:10px;flex:1}
.lc h3{font-size:20px;font-weight:700}
.lc .tc-lv{align-self:flex-start;margin-top:-4px}
.lc-b small{display:block;font-size:12px;color:var(--mute);font-weight:600}
.lc-b>div b{font-size:14.5px;line-height:1.35}
.lc-p{margin-top:auto;padding-top:10px}
.lc-p b{font-size:26px!important;font-weight:800;letter-spacing:-.02em}
.lc-btn{min-height:44px;width:100%}
.lc.on .lc-btn{background:var(--nile);color:#fff;box-shadow:none}
.season{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:16px}
.season div{background:var(--sand);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column}
.season b{font-size:14.5px}
.season span{font-size:12.5px;color:var(--mute)}
.season em{font-style:normal;font-weight:800;font-size:15px;margin-top:6px;color:var(--nile)}
.ads{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.ad{display:grid;grid-template-columns:130px 1fr;border:1.5px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s,background .2s}
.ad.on{border-color:var(--ok);background:#F4FAF6;box-shadow:0 12px 30px rgba(31,122,85,.12)}
.ad img{width:100%;height:100%;object-fit:cover;min-height:150px}
.ad-b{padding:16px 18px;display:flex;flex-direction:column}
.ad h3{font-size:17px;font-weight:700;letter-spacing:-.01em}
.ad p{font-size:13.5px;color:var(--mute);margin:4px 0 12px;line-height:1.5}
.ad-f{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ad-f span{font-size:13px;color:var(--mute)}
.ad-f b{font-size:17px;color:var(--ink)}
.ad-btn{border:0;cursor:pointer;border-radius:999px;min-height:40px;padding:0 14px;font-weight:700;font-size:14px;background:var(--ink);color:#fff;display:inline-flex;align-items:center}
.ad-btn .ico{width:16px;height:16px}
.ad-btn span{display:inline-flex;align-items:center;gap:6px;color:inherit!important;font-size:14px}
.ad-btn .a2{display:none}
.ad-btn[aria-pressed="true"]{background:var(--ok);color:#fff}
.ad-btn{transition:background .2s}
.ad-btn[aria-pressed="true"] .a1{display:none}
.ad-btn[aria-pressed="true"] .a2{display:inline-flex}
.inc2{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.inc2 div{background:var(--sand);border-radius:14px;padding:18px 16px;display:flex;flex-direction:column;gap:4px}
.inc2 .ico{width:24px;height:24px;color:var(--nile);margin-bottom:8px}
.inc2 b{font-size:15.5px}
.inc2 span{font-size:13.5px;color:var(--mute);line-height:1.5}
.notinc{display:flex;gap:10px;margin-top:16px;font-size:14.5px;color:var(--ink2);background:#FBF1EC;border-radius:12px;padding:14px 16px}
.notinc .ico{color:var(--sun);flex:none;margin-top:1px}
.ii-t{display:flex;align-items:center;gap:12px}
.ii-t .ico{width:30px;height:30px}
.iis{border-top:1px solid var(--line);margin-top:10px}
.ii{border-bottom:1px solid var(--line)}
.ii summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:24px 1fr 24px;gap:14px;align-items:center;padding:20px 6px;font-size:17px;font-weight:600}
.ii summary::-webkit-details-marker{display:none}
.ii summary>.ico{color:var(--mute);width:21px}
.ii summary i .ico{transition:transform .25s}
.ii[open] summary i .ico{transform:rotate(180deg)}
.ii summary:hover{color:var(--nile)}
.ii-b{padding:0 44px 22px 44px;color:var(--ink2);line-height:1.75;font-size:15.5px}
.ii-b ul{padding-left:18px;display:grid;gap:6px}
.bw{position:sticky;top:150px}
.bld{display:flex;flex-direction:column;max-height:calc(100vh - 170px);background:#fff;border-radius:20px;box-shadow:0 26px 60px rgba(21,24,27,.14);overflow:hidden;border:1px solid var(--line);scroll-margin-top:150px}
.bld-h{background:var(--nile);color:#fff;padding:18px 22px}
.bld-h span{display:block;font-size:13px;opacity:.75;font-weight:600}
.bld-h b{font-size:18px}
.bld-s{padding:6px 22px 4px;flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:thin}
.bld-h,.bsum,.bwa{flex:none}
.bld-s[hidden]{display:none}
.bst{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700;margin:16px 0 10px}
.bst i{width:24px;height:24px;border-radius:999px;background:var(--sand);color:var(--nile);font-style:normal;font-size:12.5px;font-weight:800;display:grid;place-items:center}
.bst small{font-weight:600;color:var(--mute);font-size:12.5px}
.blvs{display:grid;gap:8px}
.blv input,.bad input{position:absolute;opacity:0;pointer-events:none}
.blv span{display:grid;grid-template-columns:1fr auto;align-items:center;border:1.5px solid var(--line);border-radius:12px;padding:10px 14px;cursor:pointer;transition:border-color .2s,background .2s}
.blv b{font-size:15px}
.blv small{grid-row:2;font-size:12.5px;color:var(--mute)}
.blv em{grid-row:1/3;grid-column:2;font-style:normal;font-weight:800;font-size:16px}
.blv input:checked+span{border-color:var(--nile);background:#F1F7F7;box-shadow:inset 0 0 0 1px var(--nile)}
.blv input:focus-visible+span,.bad input:focus-visible~.bx{outline:2px solid var(--nile);outline-offset:2px}
.bads{display:grid;gap:6px}
.bad{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:center;padding:8px 2px;cursor:pointer;font-size:14.5px}
.bx{width:22px;height:22px;border-radius:7px;border:1.5px solid var(--stone);display:grid;place-items:center;color:#fff;transition:background .2s,border-color .2s}
.bx .ico{width:14px;height:14px;opacity:0}
.bad input:checked~.bx{background:var(--ok);border-color:var(--ok)}
.bad input:checked~.bx .ico{opacity:1}
.bad b{font-size:14px}
.cnt{display:flex;justify-content:space-between;align-items:center;padding:6px 0}
.cnt b{display:block;font-size:15px}
.cnt small{font-size:12.5px;color:var(--mute)}
.stp{display:flex;align-items:center;gap:4px;background:var(--sand);border-radius:999px;padding:4px}
.stp button{width:34px;height:34px;border-radius:999px;border:0;background:#fff;font-size:18px;font-weight:700;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.stp output{min-width:26px;text-align:center;font-weight:800}
.mos{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px}
.mo{border:1.5px solid var(--line);background:#fff;border-radius:10px;padding:9px 0;font-weight:700;font-size:13.5px;cursor:pointer}
.mo[aria-pressed="true"]{background:var(--nile);color:#fff;border-color:var(--nile)}
.back{display:inline-flex;align-items:center;gap:6px;background:none;border:0;font-weight:700;color:var(--nile);cursor:pointer;margin-top:14px;font-size:14px}
.back .ico{width:16px}
.fl{position:relative;display:block;margin-bottom:12px}
.fl input,.fl textarea{width:100%;font:inherit;font-size:16px;border:1.5px solid var(--line);border-radius:12px;padding:22px 14px 8px;background:#fff;outline:none;resize:vertical;transition:border-color .2s,box-shadow .2s}
.fl input{height:58px}
.fl span{position:absolute;left:15px;top:18px;font-size:15px;color:var(--mute);pointer-events:none;transition:all .15s}
.fl input:focus,.fl textarea:focus{border-color:var(--nile);box-shadow:0 0 0 3px rgba(15,76,79,.12)}
.fl input:focus+span,.fl input:not(:placeholder-shown)+span,.fl textarea:focus+span,.fl textarea:not(:placeholder-shown)+span{top:8px;font-size:12px;font-weight:700;color:var(--nile)}
.bsum{border-top:1px solid var(--line);padding:16px 22px 18px;background:var(--paper)}
.bsum[hidden]{display:none}
.bsum.fl2{animation:fl2 .6s}
@keyframes fl2{0%{background:#E3F3EA}100%{background:var(--paper)}}
.bsum-l{max-height:96px;overflow-y:auto;display:grid;gap:4px;font-size:13.5px;color:var(--ink2);margin-bottom:10px}
.bsum-l div{display:flex;justify-content:space-between}
.bsum-t{display:grid;grid-template-columns:1fr auto;align-items:baseline;border-top:1px dashed var(--stone);padding-top:10px;margin-bottom:12px}
.bsum-t span{font-size:13.5px;font-weight:700}
.bsum-t b{font-size:28px;font-weight:800;letter-spacing:-.02em}
.bsum-t small{grid-column:1/-1;font-size:12.5px;color:var(--mute);text-align:right}
.bsum .btn{width:100%}
.bsum-n{display:flex;gap:8px;align-items:center;justify-content:center;font-size:12.5px;color:var(--mute);margin-top:10px}
.bsum-n .ico{width:15px;color:var(--ok)}
.bld-done{padding:30px 22px;text-align:center}
.bld-done .ico{width:44px;height:44px;color:#fff;background:var(--ok);border-radius:999px;padding:10px}
.bld-done b{display:block;font-size:20px;margin:12px 0 4px}
.bld-done p{color:var(--mute)}
.bwa{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;border-top:1px solid var(--line);font-weight:700;font-size:14.5px;color:var(--ok);text-decoration:none}
.bwa .ico{width:18px}
.rel{background:var(--paper)}
.pd-sbar .wrap{justify-content:space-between}
.pd-sp small{display:block;font-size:12px;color:var(--mute);font-weight:600}
.pd-sp b{font-size:22px;font-weight:800;letter-spacing:-.02em}
.pd-sbar .r{margin:0!important;width:auto!important}
.pd-sbar .r .btn{flex:none!important}
.pd-sbar .btn-wa{width:46px;padding:0}
@media (max-width:1180px){.pd-grid{grid-template-columns:minmax(0,1fr) 360px;gap:36px}.kf2-in{grid-template-columns:1fr 1fr 1fr}.kf2-in>div:nth-child(2){grid-column:span 2}.kf2-p{grid-column:1/-1;border-radius:0 0 16px 16px;align-items:center!important;flex-direction:row!important;justify-content:space-between!important}.inc2{grid-template-columns:1fr 1fr}.season{grid-template-columns:repeat(3,1fr)}}
@media (max-width:980px){
  .pd-grid{grid-template-columns:minmax(0,1fr)}.bw{position:static}.bld{max-height:none}.bsum-l{max-height:none}
  .bld-s{max-height:none}
  .ov{grid-template-columns:1fr}.lcs{grid-template-columns:1fr}.lc{display:grid;grid-template-columns:160px 1fr}.lc img{height:100%;aspect-ratio:auto}
  .subnav{top:66px}.subnav .sn-cta{display:none}
}
@media (max-width:680px){
  .ph2{min-height:560px}.ph2-in{padding-bottom:90px}.ph2 p{font-size:16px}
  .kf2-in{grid-template-columns:1fr 1fr}.kf2-in>div{padding:14px 16px;border-bottom:1px solid var(--line)}.kf2-in>div:nth-child(2){grid-column:1/-1;order:-1;border-radius:16px 16px 0 0}.kf2-in b{font-size:14px}
  .subnav{margin-top:24px}.subnav .wrap{gap:20px}
  .tl:before{left:17px}.tl-d{grid-template-columns:36px 1fr;gap:10px}.tl-dot{width:36px;height:36px;font-size:13.5px}
  .tl-b{grid-template-columns:1fr}.tl-b img{order:-1}.tl-c h3{font-size:16px}.tl-c summary{padding:14px 16px}.tl-b{padding:0 16px 16px}
  .lc{grid-template-columns:1fr}.lc img{aspect-ratio:16/9}
  .season{grid-template-columns:1fr 1fr}
  .ads{grid-template-columns:1fr}.ad{grid-template-columns:110px 1fr}
  .ii-b{padding:0 6px 20px 44px}
  .pd-sbar{display:block}
  .sec-row{flex-direction:column;gap:0}
}
.lcs{grid-template-columns:1fr;gap:14px}
.lc{display:grid;grid-template-columns:210px minmax(0,1fr)}
.lc img{height:100%;aspect-ratio:auto;min-height:200px}
.lc-b{display:grid;grid-template-columns:minmax(0,1fr) 170px;grid-template-areas:"h side" "rows side";gap:12px 24px;padding:20px 22px;align-items:start}
.lc-h{grid-area:h;padding-bottom:4px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lc-h .tc-lv{margin:0}
.lc-rows{grid-area:rows;display:grid;gap:0}
.lc-rows>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px;align-items:baseline;padding:8px 0;border-top:1px solid var(--line)}
.lc-rows>div:first-child{border-top:0;padding-top:2px}
.lc-side{grid-area:side;align-self:stretch;border-left:1px solid var(--line);padding-left:22px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.lc-side .lc-p{margin:0;padding:0}
@media (max-width:980px){.lc{grid-template-columns:180px minmax(0,1fr)}}
@media (max-width:680px){
  .lc{grid-template-columns:1fr}.lc img{aspect-ratio:16/9;min-height:0}
  .lc-b{grid-template-columns:1fr;grid-template-areas:"h" "rows" "side"}
  .lc-rows>div{grid-template-columns:1fr;gap:2px}
  .lc-side{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:14px}
}
.tl-d.k-sail .tl-dot{box-shadow:inset 0 0 0 2px #7B5EA7;color:#5E4785}
/* ---- additions (tools/css/tpl-package-additions.css) ---- */
/* ---- Package page additions (not in the mockup CSS): keep them when the file is regenerated (see handoffs/package-theme.md) ---- */
.pd-col{min-width:0}
.tl-b.no-img{grid-template-columns:1fr}
.tl-d.k-sea .tl-dot{box-shadow:inset 0 0 0 2px #5AA8D6;color:#3C86B5}
.lc img{background:var(--sand)}
.bld .form-note{margin:12px 22px 0}
.bld [data-step="2"]{padding-bottom:10px}
.ov-g img,.tl-b img{height:auto}
/* Photo gallery lightbox (assets/js/lightbox.js): dark overlay like the search overlay, same tokens. */
.ov-g a{display:contents;cursor:zoom-in}
.ov-g a:not(:first-child) img{grid-column:auto;aspect-ratio:1}
.ov-g a:nth-child(4){display:none}
.ov-g a:focus-visible img{outline:3px solid var(--sun);outline-offset:3px}
html.lb-lock{overflow:hidden}
.lb[hidden]{display:none}
.lb{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;color:#fff;touch-action:pan-y}
.lb-bg{position:absolute;inset:0;background:rgba(21,24,27,.96)}
.lb-fig{position:relative;margin:0;max-width:min(1200px,calc(100vw - 150px));max-height:calc(100vh - 40px);display:flex;flex-direction:column;align-items:center;gap:14px}
.lb-fig img{display:block;max-width:100%;max-height:calc(100vh - 110px);width:auto;height:auto;border-radius:12px;background:var(--nile2);object-fit:contain}
.lb-fig.is-loading img{opacity:.35}
.lb-fig figcaption{display:flex;gap:16px;justify-content:space-between;align-items:baseline;width:100%;font-size:14.5px;line-height:1.4;min-height:22px}
.lb-cap{opacity:.92}
.lb-cnt{flex:none;font-weight:700;letter-spacing:.02em}
.lb-b{position:absolute;z-index:2;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;border:0;display:grid;place-items:center;cursor:pointer}
.lb-b:hover{background:rgba(255,255,255,.22)}
.lb-b:focus-visible{outline:3px solid #fff;outline-offset:2px}
.lb-b .ico{width:22px;height:22px}
.lb-x{top:16px;right:16px}
.lb-prev{left:18px;top:50%;margin-top:-24px}
.lb-next{right:18px;top:50%;margin-top:-24px}
.lb-one .lb-prev,.lb-one .lb-next{display:none}
@media (max-width:680px){
  .lb-fig{max-width:100vw;gap:10px;padding:0 12px}
  .lb-fig img{max-height:calc(100vh - 150px);border-radius:8px}
  .lb-prev,.lb-next{top:auto;bottom:14px;margin:0;width:44px;height:44px}
  .lb-prev{left:14px}.lb-next{right:14px}
}
@media (prefers-reduced-motion:no-preference){.lb-fig img{transition:opacity .2s}}
/* Key facts bar: the price box fills the rest of the bar whatever the number of facts (the mockup grid has four fact columns) */
@media (min-width:1181px){.kf2-in .kf2-p{grid-column:5}}

/* Text wraps around the photos (classic float layout). The photo comes first in the markup; at 768px and below nothing floats: the photo sits above the text. */
.ov,.tl-b{display:flow-root}
.hl{display:block}
.hl li{margin-bottom:11px}
.ov-g{float:right;width:min(332px,46%);margin:0 0 22px 30px}
.dmeta{clear:both}
.tl-b img{float:right;width:40%;margin:0 0 16px 20px}
@media (max-width:768px){
  .ov{display:flex;flex-direction:column}
  .ov-g{float:none;width:auto;margin:20px 0 0;order:2}
  .tl-b img{float:none;width:100%;margin:0 0 14px}
}

/* Key facts bar: softer shadow (owner, 2026-11-11). Only the shadow: the grid columns stay responsive in the base rules. */
.kf2-in{box-shadow:0 4px 25px rgba(21,24,27,.14)}

/* Key facts bar: every item, the price box included, gets an equal share of the width; 4 items = 25% each, 5 = 20%, and it redistributes by itself when items are added or hidden (owner, 2026-11-11). Tablet and phone keep their own grids. */
@media (min-width:1181px){.kf2-in{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}.kf2-in .kf2-p{grid-column:auto}.kf2-in>div{min-width:0}}

/* Route card as a vertical timeline (owner, 2026-11-11): one column, one row per stop on a continuous 2px line, length pill on the right, transfers as slim connector rows on the line. */
.route .stops{display:block;margin:0;padding:0;list-style:none}
.route .stops li{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:6px 14px;padding:0 0 20px 40px;line-height:1.35}
.route .stops li:before{content:"";position:absolute;left:6px;top:22px;bottom:0;width:2px;background:var(--c)}
.route .stops li:after{content:"";position:absolute;left:0;top:4px;width:14px;height:14px;border-radius:50%;background:var(--c)}
.route .stops li .rt-t{min-width:0;flex:1 1 120px}
.route .stops li b{display:block;font-size:16px;line-height:22px;color:var(--ink)}
.route .stops li b:before{content:none}
.route .stops li span{display:block;margin-top:2px;font-size:13px;color:var(--mute);font-weight:600}
.route .stops li .rt-p{flex:none;font-style:normal;font-size:12.5px;font-weight:700;line-height:1;padding:7px 12px;border-radius:999px;background:var(--sand);color:var(--ink2);white-space:nowrap}
.route .stops li.tr{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:6px;padding:0 0 14px 40px;font-size:13px;line-height:20px;font-weight:600;color:var(--sun)}
.route .stops li.tr:before{top:0}
.route .stops li.tr:after{content:none}
.route .stops li.tr .ico{width:16px;height:16px;color:var(--sun)}
.route .stops li:last-child{padding-bottom:0}
.route .stops li:last-child:before{display:none}
@media (max-width:768px){.route{padding:20px 18px}.route .stops li,.route .stops li.tr{padding-left:36px}.route .stops li .rt-p{font-size:12px;padding:6px 10px}}

/* Trip hero: max height 650px (owner, 2026-11-11). Only the max height, so the phone min-height still applies. */
.ph2{max-height:650px}

/* Trip sub-navigation: top 25px, margin-top 20px (owner, 2026-11-11). Applies at every width above the mockup's own
   tablet / phone rules, which are restated after it so they still win (same cascade as the built file had; STD-012). */
.subnav{top:25px;margin-top:20px}
@media (max-width:980px){.subnav{top:66px}}
@media (max-width:680px){.subnav{margin-top:24px}}
/* Builder submit button in a translated view (I18N-05): a long label (fr, de) wraps inside the button instead of being
   clipped at 375 px. One line keeps the 50 px height; English is not matched by the selector. */
html:not([lang|="en"]) .bsum .btn{white-space:normal;text-align:center;line-height:1.25;padding-top:8px;padding-bottom:8px}

/* Level cards without a photo (owner, 2026-11-15): one column, so the hotel and ship names get the full width; the
   "Most chosen" flag sits above the level name instead of over the photo. */
.lc{grid-template-columns:minmax(0,1fr)}
.lc-flag{position:static;justify-self:start;align-self:flex-start;margin:16px 0 -6px 22px}
@media (max-width:760px){.lc-flag{margin:14px 0 -4px 16px}}

/* Single supplement line under the level price (owner, 2026-11-15). */
.lc-ss{margin-top:6px;line-height:1.35}
.lc-ss span{color:var(--ink);font-weight:800}

/* Season boxes under the level cards: Summer (20% off), Holidays, Children (owner, 2026-11-15). Three or four boxes share the row;
   the last odd box takes the full row on a phone. */
.season{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.season em{line-height:1.3}
@media (max-width:680px){.season{grid-template-columns:1fr 1fr}.season div:last-child:nth-child(odd){grid-column:1/-1}}

/* One-level category context (owner, 2026-11-15). A trip opened from the Luxury hub (Luxury level) or the Budget hub (Comfort level)
   gets html[data-lv="<level>"] from the script in its <head> (inc/pages/category-context.php), before the first paint. The server HTML
   always holds all three levels; this CSS hides the other ones. Without JavaScript the attribute never exists. */
.lv-all{display:none;margin:14px 0 0}
html[data-lv] .lv-all{display:block}
html[data-lv="comfort"] .lcs .lc:not([data-lc="comfort"]),
html[data-lv="premium"] .lcs .lc:not([data-lc="premium"]),
html[data-lv="luxury"] .lcs .lc:not([data-lc="luxury"]),
html[data-lv="comfort"] .blv[data-lv]:not([data-lv="comfort"]),
html[data-lv="premium"] .blv[data-lv]:not([data-lv="premium"]),
html[data-lv="luxury"] .blv[data-lv]:not([data-lv="luxury"]){display:none}
html[data-lv] .lc-flag{display:none}
/* prices that depend on the level stay invisible (same box, no layout shift) until tpl-package.js has drawn the level's own number */
html[data-lv]:not(.lv-ok) .kf2-p b,html[data-lv]:not(.lv-ok) #sbP{visibility:hidden}

/* Trip builder dropdowns (owner decision 2026-11-15, departs from the mockup): every choice group is one closed row with the step name
   and the current choice; a click opens its options in place (assets/js/bld-acc.js). Collapse rules are keyed on html.pte-js, set in the
   <head>; without JavaScript the rows are hidden and each list shows open as before. */
.bg{margin:6px 0}
html.pte-js .bld-s{padding-top:2px;padding-bottom:0}
html.pte-js .bld .bsum{padding:12px 22px 12px}
html.pte-js .bld .bsum-l{margin-bottom:8px}
html.pte-js .bld .bsum-t{margin-bottom:10px;padding-top:8px}
html.pte-js .bld .bsum-n{margin-top:7px}
.bg-h{display:none}
html.pte-js .bg-t{display:none}
html.pte-js .bg-h{display:grid;grid-template-columns:24px auto minmax(0,1fr) 16px;gap:10px;align-items:center;width:100%;text-align:left;font:inherit;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:9px 14px;cursor:pointer;transition:border-color .2s,background .2s}
html.pte-js .bg-h:hover{border-color:var(--nile)}
html.pte-js .bg-h:focus-visible{outline:2px solid var(--nile);outline-offset:2px}
.bg-h i{width:24px;height:24px;border-radius:999px;background:var(--sand);color:var(--nile);font-style:normal;font-size:12.5px;font-weight:800;display:grid;place-items:center}
.bg-n{font-size:15px;font-weight:700;line-height:1.25}
.bg-n small{display:block;font-weight:600;color:var(--mute);font-size:12px}
.bg-v{min-width:0;text-align:right;font-size:14px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.bg-h .cv{width:16px;height:16px;color:var(--mute);transition:transform .2s}
html.pte-js .bg:not(.is-open) .bg-b{display:none}
html.pte-js .bg.is-open .bg-h{border-color:var(--nile);background:#F1F7F7}
html.pte-js .bg.is-open .bg-h .cv{transform:rotate(180deg)}
html.pte-js .bg-b{padding:12px 2px 2px}
.bg.is-locked .cv{display:none}
.bg.is-locked .bg-h{cursor:default}
.bg.is-locked .bg-h:hover{border-color:var(--line)}
/* trip opened from a one-level category: the level row is a static line and the body keeps only the "see all" link */
html.pte-js[data-lv] .bg[data-bg="level"] .bg-b{display:block;padding-top:0}
html.pte-js[data-lv] .bg[data-bg="level"] .blvs{display:none}
html.pte-js[data-lv] .bg[data-bg="level"] .lv-all{margin:8px 2px 0}
html[data-lv]:not(.lv-ok) .bg[data-bg="level"] .bg-v{visibility:hidden}
@media (prefers-reduced-motion:reduce){.bg-h,.bg-h .cv{transition:none}}

.lv-all .ulink{background:none;border:0;padding:0;font:inherit;font-weight:700;color:var(--nile);cursor:pointer}
.lv-all .ulink:focus-visible{outline:2px solid var(--nile);outline-offset:3px}

/* Builder rows: more air between the closed rows and under the header / above the summary (owner, 2026-11-15). */
.bg{margin:10px 0}
html.pte-js .bld-s{padding-top:8px;padding-bottom:6px}

/* ---- QA 2026-11-15 (docs/qa/QA_LIVE_2026-11-15.md) ---- */
/* QL-001: below 1560 px the floating "Need help?" tab has no free gutter next to the sticky trip builder: it covered the
   row values and took the click of the "+" button. On trip pages the tab is hidden at those widths (the builder carries
   its own WhatsApp link and CTA; the call-back panel still opens from the other "call me back" links). */
@media (min-width:681px) and (max-width:1559px){.help:not(.open) .help-tab{display:none}}
/* QL-005: on narrow phones the value of a closed builder row moves under the row name instead of being squeezed into a
   20 to 50 px column (Italian / French values broke letter by letter). */
@media (max-width:420px){
  html.pte-js .bg-h{grid-template-columns:24px minmax(0,1fr) 16px;row-gap:2px}
  html.pte-js .bg-h .bg-v{grid-column:2;grid-row:2;text-align:left;overflow-wrap:break-word}
  html.pte-js .bg-h .cv{grid-column:3;grid-row:1}
}
/* QL-003: on short desktop screens the closed rows sit closer so the options area needs no inner scroll. */
@media (min-width:981px) and (max-height:840px){.bg{margin:5px 0}html.pte-js .bg-h{padding-top:7px;padding-bottom:7px}html.pte-js .bld-s{padding-top:4px;padding-bottom:2px}}
