/*
 * Marhaba Sahara Buggy — styles for shortcode output only.
 * Colours, fonts, buttons, forms and motion come from the Elementor kit (CSS variables --mh-*).
 */

.mh-icon { flex: 0 0 auto; vertical-align: middle; }
.mh-muted { color: var(--mh-muted, #6B625D); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Price */
.mh-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--mh-ink, #16120F); }
.mh-price__from, .mh-price__unit { font: 500 12px/16px Inter, sans-serif; color: var(--mh-muted, #6B625D); }
.mh-price__amount { font: 700 24px/1.1 "Barlow Condensed", sans-serif; }
.mh-price__old { font: 400 14px/1 Inter, sans-serif; color: var(--mh-muted, #6B625D); }
.mh-price__usd { flex-basis: 100%; font: 400 12px/16px Inter, sans-serif; color: var(--mh-muted, #6B625D); }
.mh-price--ask { font: 600 15px/1.3 Barlow, sans-serif; color: var(--mh-ember, #C9432C); text-decoration: underline; text-underline-offset: 3px; }

/* Badge */
.mh-badge--dark { background: var(--mh-ink, #16120F); color: #fff; }

/* Facts */
.mh-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.mh-facts li { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/18px Inter, sans-serif; color: var(--mh-text, #3A3330); }
.mh-facts li .mh-icon { color: var(--mh-muted, #6B625D); }
.mh-facts--chips li { padding: 8px 12px; background: #fff; border: 1px solid var(--mh-line, #E3DAD0); border-radius: var(--mh-r-md, 8px); }

/* Lists */
.mh-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mh-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--mh-text, #3A3330); }
.mh-list li .mh-icon { margin-top: 3px; }
.mh-list--check .mh-icon { color: #1F8A4C; }
.mh-list--x .mh-icon { color: var(--mh-ember, #C9432C); }
.mh-list--dot .mh-icon { color: var(--mh-coral, #FF6B51); }

/* Itinerary timeline */
.mh-itinerary { position: relative; margin: 0; padding: 0; list-style: none; }
.mh-itinerary li { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 0 0 20px 24px; }
.mh-itinerary li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--mh-coral, #FF6B51); }
.mh-itinerary li::after { content: ""; position: absolute; left: 4.5px; top: 18px; bottom: 0; width: 1px; background: var(--mh-line, #E3DAD0); }
.mh-itinerary li:last-child::after { display: none; }
.mh-itinerary__time { font: 600 14px/22px Barlow, sans-serif; color: var(--mh-copper, #943E2F); }
.mh-itinerary__step { color: var(--mh-ink, #16120F); }

/* FAQ (native <details>, no JS) */
.mh-faq { border-top: 1px solid var(--mh-line, #E3DAD0); }
.mh-faq__item { border-bottom: 1px solid var(--mh-line, #E3DAD0); }
.mh-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.mh-faq__item summary::-webkit-details-marker { display: none; }
.mh-faq__q { margin: 0; font: 600 18px/1.35 Barlow, sans-serif; color: var(--mh-ink, #16120F); text-transform: none; }
.mh-faq__icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; transition: transform .3s var(--mh-ease, ease); }
.mh-faq__icon::before, .mh-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.mh-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.mh-faq__item[open] .mh-faq__icon { transform: rotate(45deg); color: var(--mh-ember, #C9432C); }
.mh-faq__a { padding: 0 0 20px; color: var(--mh-text, #3A3330); }
.mh-faq__a p { margin: 0; }

/* Gallery: 1 large + up to 4 small */
.mh-gallery { display: grid; gap: 12px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; }
.mh-gallery__item { display: block; overflow: hidden; border-radius: var(--mh-r-lg, 12px); background: var(--mh-dune, #F2EAE0); }
.mh-gallery__item:first-child { grid-row: 1 / span 2; }
.mh-gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--mh-ease, ease); }
.mh-gallery__item:hover .mh-gallery__img { transform: scale(1.03); }
.mh-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.mh-gallery--2 { grid-template-columns: 2fr 1fr; }
.mh-gallery--empty { display: flex; align-items: center; justify-content: center; height: 320px; border-radius: var(--mh-r-lg, 12px); background: var(--mh-dune, #F2EAE0); color: var(--mh-muted, #6B625D); }
@media (max-width: 767px) {
	.mh-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; grid-template-rows: none; }
	.mh-gallery__item { flex: 0 0 88%; height: 260px; scroll-snap-align: start; }
}

/* Price table */
.mh-table-wrap { overflow: hidden; border: 1px solid var(--mh-line, #E3DAD0); border-radius: var(--mh-r-lg, 12px); background: #fff; }
.mh-table { width: 100%; border-collapse: collapse; font: 400 15px/1.4 Inter, sans-serif; }
.mh-table th, .mh-table td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--mh-line, #E3DAD0); }
.mh-table thead th { border-top: 0; background: var(--mh-sand, #FAF6F1); font: 600 12px/16px Barlow, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mh-muted, #6B625D); }
.mh-table tbody th a { font: 600 16px/1.3 Barlow, sans-serif; color: var(--mh-ink, #16120F); text-decoration: none; }
.mh-table tbody th a:hover { color: var(--mh-ember, #C9432C); }
.mh-table__book { display: inline-block; padding: 10px 20px; border-radius: var(--mh-r-md, 8px); background: var(--mh-coral, #FF6B51); color: var(--mh-ink, #16120F); font: 600 15px/1 Barlow, sans-serif; text-decoration: none; transition: background-color .2s, color .2s; }
.mh-table__book:hover { background: var(--mh-ember, #C9432C); color: #fff; }
.mh-table td:last-child { text-align: right; }
@media (max-width: 767px) {
	.mh-table thead { display: none; }
	.mh-table, .mh-table tbody, .mh-table tr, .mh-table th, .mh-table td { display: block; width: 100%; }
	.mh-table tr { padding: 12px 16px; border-top: 1px solid var(--mh-line, #E3DAD0); }
	.mh-table th, .mh-table td { border: 0; padding: 4px 0; }
	.mh-table td[data-label]::before { content: attr(data-label) ": "; color: var(--mh-muted, #6B625D); }
	.mh-table td:last-child { text-align: left; padding-top: 8px; }
}

/* Header shrink (add class "mh-header" to the Elementor header container) */
.mh-header { transition: min-height .25s var(--mh-ease, ease), padding .25s var(--mh-ease, ease), box-shadow .25s; }
body.mh-scrolled .mh-header { --min-height: 64px; min-height: 64px; box-shadow: 0 1px 0 var(--mh-line, #E3DAD0); }

/* ---------- Booking: ride-time options on the tour page ---------- */
.mh-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mh-options li > a, .mh-options li > span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--mh-line, #E3DAD0); border-radius: var(--mh-r-md, 8px); background: #fff; color: var(--mh-ink, #16120F); text-decoration: none; transition: border-color .2s, background-color .2s; }
.mh-options li > a:hover { border-color: var(--mh-coral, #FF6B51); background: var(--mh-sand, #FAF6F1); }
.mh-options__label { font: 600 15px/1.3 Barlow, sans-serif; }
.mh-options__price { margin-left: auto; font: 500 14px/1.3 Inter, sans-serif; color: var(--mh-text, #3A3330); }
.mh-options__go { color: var(--mh-ember, #C9432C); font-weight: 600; }

/* ---------- Booking: live summary box on /book/ ---------- */
.mh-summary { display: grid; gap: 8px; }
.mh-summary__media:empty { display: none; }
.mh-summary__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--mh-r-md, 8px); margin-bottom: 8px; }
.mh-summary__eyebrow { margin: 0; font: 600 12px/1.3 Barlow, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mh-ember, #C9432C); }
.mh-summary__title { margin: 0; font: 700 24px/1.15 "Barlow Condensed", sans-serif; text-transform: uppercase; color: var(--mh-ink, #16120F); }
.mh-summary__line { margin: 0; font: 400 14px/1.5 Inter, sans-serif; color: var(--mh-muted, #6B625D); }
.mh-summary__line:empty { display: none; }
.mh-summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--mh-line, #E3DAD0); font: 500 14px/1.4 Inter, sans-serif; color: var(--mh-text, #3A3330); }
.mh-summary__total strong { font: 700 28px/1.1 "Barlow Condensed", sans-serif; color: var(--mh-ink, #16120F); text-align: right; }
.mh-summary__usd { margin: 0; text-align: right; font: 400 13px/1.4 Inter, sans-serif; color: var(--mh-muted, #6B625D); }
.mh-summary__usd:empty { display: none; }
.mh-summary__notes { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--mh-line, #E3DAD0); display: grid; gap: 8px; }
.mh-summary__notes li { position: relative; padding-left: 22px; font: 400 14px/1.45 Inter, sans-serif; color: var(--mh-text, #3A3330); }
.mh-summary__notes li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--mh-ember, #C9432C); border-bottom: 2px solid var(--mh-ember, #C9432C); transform: rotate(-45deg); }

/* ---------- Booking form: phone country picker ---------- */
.mh-book-form .iti { width: 100%; }
.mh-book-form .iti__country-container { z-index: 2; }
.mh-book-form .iti__dropdown-content { border-radius: var(--mh-r-md, 8px); border: 1px solid var(--mh-line, #E3DAD0); box-shadow: 0 12px 28px -8px rgba(22, 18, 15, .18); }
.mh-phone-error { display: block; width: 100%; margin-top: 6px; font: 500 13px/1.4 Inter, sans-serif; color: var(--mh-ember, #C9432C); }
.mh-phone-error[hidden] { display: none; }
