/* Tour pages (Evening, Morning, Overnight; owner content 2026-11-12, tools/tour_page.py). Shares homepage.css components; these are the parts only tour pages use. */
.ptable-wrap{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(32,20,9,.06)}
.ptable{width:100%;border-collapse:collapse;font-size:.98rem}
.ptable th,.ptable td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.ptable thead th{background:var(--ink);color:#fff;font-size:.82rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.ptable tbody tr:last-child td{border-bottom:0}
.ptable tbody tr:nth-child(even) td{background:#FDFAF4}
.ptable td.num{font-family:'Playfair Display',serif;font-weight:700;font-size:1.12rem;white-space:nowrap}
.ptable td a{color:var(--ink);font-weight:600;text-decoration:none;border-bottom:1.5px solid var(--gold)}
.ptable td a:hover{color:var(--orange-dark)}
.pbox{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.pbox h3{font-size:1.2rem;margin-bottom:10px}
.pbox ul{margin:0;padding-left:1.1em;display:flex;flex-direction:column;gap:8px;font-size:.96rem;line-height:1.55}
.pbox-yes{border-top:4px solid var(--wa)}
.pbox-extra{border-top:4px solid var(--gold)}
.how-note{margin:18px 0 0;padding:14px 18px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--wa);border-radius:10px;font-weight:500}
.ev-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:32px;align-items:start}
.ev-steps{list-style:none;margin:0;padding:0;position:relative}
.ev-steps::before{content:"";position:absolute;left:19px;top:10px;bottom:10px;width:2px;background:var(--line)}
.ev-step{display:flex;gap:16px;align-items:flex-start;padding:8px 0;position:relative}
.ev-step .ev-num{flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#fff;border:2px solid var(--gold);color:var(--orange-dark);font-weight:700;display:flex;align-items:center;justify-content:center;position:relative;z-index:1}
.ev-step p{margin:0;color:var(--muted);line-height:1.55}
.ev-note{margin:16px 0 0;padding:12px 16px;background:var(--cream);border-radius:10px;font-size:.95rem}
.ev-photo{margin:0;position:sticky;top:110px}
.ev-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px;border:1px solid var(--line);box-shadow:0 10px 28px rgba(32,20,9,.12)}
.ev-photo figcaption{margin-top:10px;font-size:.9rem;color:var(--muted);text-align:center}
.ptable caption.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Option cards: one photo per option (standing rule) */
.ecards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;align-items:stretch}
.ecard{display:flex;flex-direction:column;background:#fff;border:1px solid #E6D9BE;border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(32,20,9,.07);scroll-margin-top:110px}
.ecard figure{margin:0}
.ecard figure img{width:100%;height:170px;object-fit:cover}
.ecard-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 18px}
.ecard-body h3{font-size:1.3rem;margin-bottom:4px}
.ecard-price{margin:0 0 10px;font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:700;color:var(--orange-dark)}
.ecard-price small{font-family:'Jost',sans-serif;font-size:.85rem;font-weight:500;color:var(--muted)}
.ecard-get{margin:auto 0 0;padding-top:10px;border-top:1px solid var(--line);font-size:.95rem;line-height:1.5}
.ecard-get>span{display:block;font-size:.76rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-bottom:3px}
.ecards-note{margin:16px 0 0;text-align:center;font-weight:500}
/* Included next to costs extra */
.inc-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;align-items:start}
.inc-grid .pbox h2{font-size:clamp(1.5rem,2.6vw,1.9rem);margin-bottom:12px}
.inc-list{display:grid !important;grid-template-columns:1fr 1fr;gap:10px 18px !important;padding:0 !important}
.inc-list li{font-size:1rem}
/* Live shows */
.shows-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:32px;align-items:center}
.show-list{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.show-list li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-weight:500}
.show-list b{color:var(--orange-dark)}
.food-note{margin:14px 0 0;font-size:1rem}
.other-tours{margin-top:14px}
@media (max-width:1020px){
  .ecards{grid-template-columns:1fr 1fr}
  .ev-grid,.shows-grid,.inc-grid{grid-template-columns:1fr}
  .ev-photo{position:static;max-width:520px}
  .ev-photo img{aspect-ratio:16/10}
}
@media (max-width:760px){
  .ecards{grid-template-columns:1fr}
  .inc-list{grid-template-columns:1fr}
  .ptable thead{display:none}
  .ptable,.ptable tbody,.ptable tr,.ptable td{display:block;width:100%}
  .ptable tr{padding:10px 0;border-bottom:1px solid var(--line)}
  .ptable tbody tr:nth-child(even) td{background:transparent}
  .ptable tbody tr:nth-child(even){background:#FDFAF4}
  .ptable tbody tr:last-child{border-bottom:0}
  .ptable td{display:flex;gap:10px;border-bottom:0;padding:4px 16px}
  .ptable td::before{content:attr(data-label);flex:0 0 108px;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding-top:3px}
}
/* Option cards: what you get sits under the price, the button at the bottom */
.ecard-get{margin:0 0 14px;padding-top:10px}
.ecard-btn{margin-top:auto;width:100%;min-height:44px;border-radius:999px;justify-content:center;text-align:center;font-size:.93rem}
/* Tour page form: Option on its own row, Date and Guests side by side */
.plan-section form[data-tour] .w-grid{grid-template-columns:1fr 1fr}
.plan-section form[data-tour] .w-field:first-child{grid-column:1/-1}
.ecard-price small{display:block;margin-top:2px;line-height:1.3}
@media (max-width:760px){.plan-section form[data-tour] .w-field:nth-child(2){grid-column:auto}}
/* What you get as a ticked list (owner, 2026-11-12) */
.ecard-get .opt-list{gap:7px}
.ecard-get .opt-list li{font-size:.94rem}
.ecard-get .opt-list b{font-weight:600}

/* Option cards (tools/tour_page.py): the base option on the left with its full list, the upgrades stacked on the right */
.ocards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.ocards-rest{display:flex;flex-direction:column;gap:18px}
.ocard{display:flex;flex-direction:column;background:#fff;border:1px solid #E6D9BE;border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(32,20,9,.07);scroll-margin-top:110px}
.ocard-base{border:1.5px solid var(--gold)}
.ocard figure{margin:0}
.ocard figure img{width:100%;height:220px;object-fit:cover;display:block}
.ocard-body{display:flex;flex-direction:column;flex:1;padding:16px 20px 20px}
.ocard-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px;margin-bottom:8px}
.ocard-top h3{font-size:1.35rem;margin:0}
.ocard-price{margin:0;font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:700;color:var(--orange-dark)}
.ocard-price small{font-family:'Jost',sans-serif;font-size:.85rem;font-weight:500;color:var(--muted)}
.ocard .opt-lead{margin:0 0 8px}
.ocard .opt-list{margin-bottom:16px}
.ocard-btn{margin-top:auto;align-self:flex-start;min-height:44px;padding:9px 22px;border-radius:999px;font-size:.93rem}
/* upgrades: photo beside the text */
.ocards-rest .ocard{flex-direction:row}
.ocards-rest .ocard figure{flex:0 0 38%}
.ocards-rest .ocard figure img{height:100%;min-height:200px}
/* a tour with one option (Morning): one wide card */
.ocards-1{display:block}
.ocards-1 .ocard{flex-direction:row}
.ocards-1 .ocard figure{flex:0 0 46%}
.ocards-1 .ocard figure img{height:100%;min-height:300px}
.ocards-1 .ocard-body{padding:22px 26px}
.price-after-box{display:flex;gap:12px;align-items:flex-start;margin-top:18px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:12px}
.price-after{margin:0 0 6px;font-size:.98rem;line-height:1.55}
.price-after:last-child{margin-bottom:0}
/* What costs extra, with a photo */
.extras-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:24px;align-items:center}
.extras-grid .pbox h2{font-size:clamp(1.45rem,2.6vw,1.85rem);margin-bottom:10px}
.extras-grid .pbox>p{margin:0 0 10px;color:var(--muted)}
.extras-list li svg{color:var(--orange)}
.extras-photo{margin:0}
.extras-photo img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:14px;border:1px solid var(--line)}
.extras-photo figcaption{margin-top:8px;font-size:.88rem;color:var(--muted);text-align:center}
.steps-note{margin-top:16px}
.pickup-note{margin:14px 0 0;color:var(--muted)}
img[src$="dsdt-falcon-photo-guest.webp"]{object-position:35% 40%}
img[src$="dsdt-falcon-handler.webp"]{object-position:50% 30%}
img[src$="dsdt-camel-ride-guided.webp"]{object-position:55% 55%}
img[src$="dsdt-quad-bike-two-riders.webp"]{object-position:55% 65%}
@media (max-width:1020px){
  .ocards{grid-template-columns:1fr}
  .extras-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .ocards-rest .ocard,.ocards-1 .ocard{flex-direction:column}
  .ocards-rest .ocard figure img,.ocards-1 .ocard figure img{height:200px;min-height:0}
  .ocard figure img{height:200px}
  .ocard-btn{align-self:stretch;text-align:center;justify-content:center}
}
.shows-grid .ev-photo img{aspect-ratio:3/2}
.shows-grid{align-items:center}
