/* Tour detail restyle (2026-12), inspired by Viator / GetYourGuide, in Sharm Club navy, blue and yellow.
 * Loaded only by views/demo/tour.php, after minified.css and booking-flow.css. Delete the <link> to switch it off. */
.tour-page{--sc-navy:#1a2b49;--sc-blue:#1159d9;--sc-yellow:#ffda47;--sc-yellow-soft:#fff6d6;--sc-text:#3b4a63;--sc-muted:#6b7a90;--sc-line:#e3e8ef;color:var(--sc-text)}

/* ---------- title ---------- */
.tour-page .tour-title{font-size:clamp(24px,2.3vw,32px);font-weight:700;line-height:1.2;letter-spacing:-.4px;color:var(--sc-navy);margin:18px 0 10px}
.tour-page .tour-head-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;font-size:14px;color:var(--sc-text)}
.tour-page .tour-head-rating{display:inline-flex;align-items:center;gap:6px;color:var(--sc-navy);text-decoration:none}
.tour-page .tour-head-rating:hover .tour-head-count{text-decoration:underline}
.tour-page .tour-head-stars{font-size:17px;letter-spacing:1px}
.tour-page .tour-head-rating strong{font-weight:700}
.tour-page .tour-head-count{color:var(--sc-muted)}
.tour-page .tour-head-fact{display:inline-flex;align-items:center;gap:6px}
.tour-page .tour-head-fact svg{color:var(--sc-blue);flex:none}

/* ---------- photos ---------- */
.tour-page .tour-hero{margin-top:18px!important}
.tour-page .tour-gallery{height:100%}
.tour-page .tour-hero-media .tour-gallery-main{display:block;height:100%;overflow:hidden;border-radius:16px;background:#edf0f4}
.tour-page .tour-gallery-thumb{margin:0;overflow:hidden;background:#edf0f4}
.tour-page .tour-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}
@media (min-width:768px){
  .tour-page .has-gallery .tour-gallery{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:8px;height:460px}
  .tour-page .has-gallery .tour-gallery-main{grid-row:1/span 2;border-radius:16px 0 0 16px}
  .tour-page .has-gallery .tour-gallery-main img{min-height:0;max-height:none;height:100%!important;object-fit:cover}
  .tour-page .has-gallery .tour-gallery-thumb:nth-of-type(1){border-radius:0 16px 0 0}
  .tour-page .has-gallery .tour-gallery-thumb:nth-of-type(2){border-radius:0 0 16px 0}
  .tour-page .gallery-2 .tour-gallery-thumb{grid-row:1/span 2;border-radius:0 16px 16px 0!important}
}
@media (max-width:767px){
  .tour-page .tour-gallery-thumb{display:none}
  .tour-page .tour-hero-media .tour-gallery-main{border-radius:12px}
}

/* ---------- section tabs ---------- */
.tour-page .tour-section-nav{gap:4px;padding:0;margin:28px 0 0;border-top:0;border-bottom:1px solid var(--sc-line)}
.tour-page .tour-section-nav a{padding:14px 14px 12px;border-radius:0;border-bottom:3px solid transparent;color:var(--sc-navy);font-size:15px;font-weight:600}
.tour-page .tour-section-nav a:hover{background:none;border-bottom-color:var(--sc-yellow)}

/* ---------- sections ---------- */
.tour-page .tour-body hr{display:none}
.tour-page .tour-body .highlights,.tour-page .tour-body .tour-content-section{margin-top:0!important;padding:28px 0 8px;border-top:1px solid var(--sc-line)}
.tour-page .tour-body > .tour-section-nav + .tour-content-section,.tour-page .tour-body > .tour-section-nav + .highlights{border-top:0}
.tour-page .highlights > .row > .col-12 > .h6,.tour-page .tour-content-section > .col-12 > .h6,.tour-page .tour-itinerary .tour-itinerary-heading{font-size:22px;font-weight:700;line-height:1.3;color:var(--sc-navy);margin:0 0 16px}
.tour-page .highlights p{font-size:16px;line-height:1.75;color:var(--sc-text);max-width:780px}
.tour-page .highlights h2{font-size:18px;font-weight:700;color:var(--sc-navy)}

/* highlights: check bullets, two columns on wider screens */
.tour-page #tour-highlights ol{display:grid;grid-template-columns:1fr;gap:4px 28px;margin:0;padding:0}
.tour-page #tour-highlights li{position:relative;flex:none;max-width:none;width:auto;margin:0!important;padding:5px 0 5px 32px;border:0;border-radius:0;background:none;line-height:1.5;font-size:16px}
.tour-page #tour-highlights li::before{content:'';position:absolute;left:0;top:7px;width:20px;height:20px;border-radius:50%;background:var(--sc-yellow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2b49' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat}
.tour-page #tour-highlights li a{color:var(--sc-navy)}
@media (min-width:768px){.tour-page #tour-highlights ol{grid-template-columns:1fr 1fr}}

/* itinerary timeline in brand colours */
.tour-page #itinerary .tour-timeline-stop{border-left-color:#d5dce7}
.tour-page #itinerary .tour-timeline-stop::before{border-color:var(--sc-navy)}
.tour-page #itinerary .tour-timeline-stop:first-child::before,.tour-page #itinerary .tour-timeline-stop:last-child::before{background:var(--sc-yellow);border-color:var(--sc-navy);box-shadow:0 0 0 4px var(--sc-yellow-soft)}
.tour-page .tour-timeline-label{color:var(--sc-text)}
.tour-page .tour-timeline-stop:first-child .tour-timeline-label,.tour-page .tour-timeline-stop:last-child .tour-timeline-label{color:var(--sc-navy)}

/* includes / excludes */
.tour-page .tour-inc-list{display:grid;grid-template-columns:1fr;gap:6px 28px}
.tour-page #tour-includes .tour-inc{position:relative;padding:3px 0 3px 30px!important;margin:0!important;line-height:1.5}
.tour-page .tour-inc::before{content:'';position:absolute;left:0;top:4px;width:20px;height:20px;background-position:center;background-repeat:no-repeat;background-size:20px}
.tour-page .tour-inc-yes::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138a52' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.tour-page .tour-inc-no::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0392b' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E")}
@media (min-width:768px){.tour-page .tour-inc-list{grid-template-columns:1fr 1fr}}

/* ---------- booking sidebar ---------- */
.tour-page .tour-booking-card{border:1px solid #dfe4eb;border-radius:16px;box-shadow:0 8px 28px rgba(26,43,73,.10);padding:24px}
.tour-page .scb-price-from,.tour-page .scb-price-from .through{font-size:14px}
/* Price like Viator's: 24px, bold, letter-spacing .2px, in Viator's sale red #bf292c (Khaled's pick). Viator's font (Aeonik) is a paid licence, so we use
 * Albert Sans, a free look-alike, loaded in tour.php for the price characters only. */
.tour-page .scb-price-now strong,.tour-page .tour-booking-card .scb-price-now .through,.scx-bar-price strong{font-family:"Albert Sans",Helvetica,Arial,sans-serif;font-weight:700;letter-spacing:.2px;color:#bf292c}
.tour-page .scb-price-now strong,.tour-page .tour-booking-card .scb-price-now .through{font-size:24px;line-height:1.2}
.tour-page .scb-price-from .through{color:#4d4d4d}
.tour-page .scb-price-now span{font-size:14px}

/* ---------- section text like GetYourGuide (2026-12) ----------
 * GYG body text: 16px / 24px line height, weight 425, colour #1a2b49. GYG Sans is their own font, so we use Inter
 * (free, variable, so weight 425 works). Applies to Itinerary, Full Description and Includes. */
.tour-page #itinerary,.tour-page #meta_description,.tour-page #tour-includes{font-family:Inter,"Helvetica Neue",Arial,sans-serif}
.tour-page #itinerary .tour-timeline-label,.tour-page #meta_description p,.tour-page #tour-includes li{font-size:16px;line-height:24px;font-weight:425;color:#1a2b49}
.tour-page #itinerary .tour-timeline-stop:first-child .tour-timeline-label,.tour-page #itinerary .tour-timeline-stop:last-child .tour-timeline-label{font-weight:575}
.tour-page #meta_description h2{font-weight:575;color:#1a2b49}

/* TripAdvisor badge under the booking box: bigger (was 72px wide; the image is 163x192). */
.tour-page .tour-award{margin-top:18px}
.tour-page .tour-award img{width:130px;height:auto}

/* Same price look for the older booking box markup ("Price £83" with the facts table). */
.tour-page .tour-booking-card .discount .through.h1{font-family:"Albert Sans",Helvetica,Arial,sans-serif;font-weight:700;font-size:24px;letter-spacing:.2px;color:#bf292c;text-decoration:none}
