/* ml-fixes.css: ila Resort Maulakali only, QC Checklist 3.10 fixes, 19 Oct 26 (group A).
   Loaded last on the 15 Maulakali pages (after site.css), so it never touches the parent or the other hotels.
   Mirrors the hand-written rules of comfort-harkapur/hk-fixes.css without its owner decisions (colour shade,
   hidden price, highlight icons). Row IDs in each comment. Remove this file and its <link> to undo the CSS side;
   ml-fixes.js and the HTML edits are listed in docs/QC-FIXES-MAULAKALI-2026-10-19.md. */

/* CNV-02 (group B, owner 19 Oct 26): the booking engine still sends a placeholder rate ('From 500,000 USD/Night'),
   so the price lines stay hidden on Maulakali until the real rate is loaded. Delete this rule to show them again. */
#simp-booking-form #minPriceRoomsWrapper, .ila-rate, .ila-rate-tax { display: none !important; }

/* IMG-07 (owner, 19 Oct 26): the 5 homepage highlight icons are line drawings like the Facilities icons, painted in the
   chain terracotta (as on Harkapur and Baglung). map-pin.svg and cable-car.svg sit next to this file. */
#iusp4 ul.ila-why-row li .fa { width: 36px; height: 36px; background-color: #d56750; font-size: 0 !important;
  -webkit-mask: var(--ml-icon) center / contain no-repeat; mask: var(--ml-icon) center / contain no-repeat; }
#iusp4 ul.ila-why-row li .fa::before { content: none !important; }
#iusp4 ul.ila-why-row li .fa-map-marker { --ml-icon: url("map-pin.svg"); }
#iusp4 ul.ila-why-row li .fa-arrow-up { --ml-icon: url("../../resort-maulakali/cable-car.svg"); }
#iusp4 ul.ila-why-row li .fa-tint { --ml-icon: url("../../icons/swimming.svg"); }
#iusp4 ul.ila-why-row li .fa-bed { --ml-icon: url("../../icons/couch.svg"); }
#iusp4 ul.ila-why-row li .fa-users { --ml-icon: url("../../icons/meeting.svg"); }

/* COL-04: one style for links inside running text and breadcrumbs: brown, underlined, a thicker darker underline on hover */
:is(.v2-desk, .v2-phone) .content_wrapper :is(.text-content-wrapper, .ila-location, .hotel_location_wrap) :is(p, li) a:not(.btn) {
  color: #734538 !important; text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:is(.v2-desk, .v2-phone) .content_wrapper :is(.text-content-wrapper, .ila-location, .hotel_location_wrap) :is(p, li) a:not(.btn):hover {
  color: #4a2c24 !important; text-decoration-thickness: 2px; }

/* TYP-03: small labels up to 14px (the copyright line, the phone MENU label, Manage Booking, Why Book Direct,
   the cookie notice buttons, phone text buttons whose label has no .text span, table cells) */
#footer.ila-footer-v1 .ila-f-bottom :is(li, p, span) { font-size: 14px !important; }
.v2-phone .mobile-menu .dropdown-toggle .TwoFoldMenuName { font-size: 14px !important; }
html .v2-desk .bookingform-wrapper .simp-booking-form form#simp-booking-form :is(#manageBookingWrapper a, #whyBookDirectWrapper p, #chainWhyBookDirectWrapper p),
#manageBookingWrapper a, #whyBookDirectWrapper p { font-size: 14px !important; line-height: 1.4 !important; }
.ila-cookie-notice .ila-cookie-actions :is(button, .text) { font-size: 14px !important; }
.v2-phone .btn.txt-wdgt-btn { font-size: 14px !important; }
.v2-phone .content_wrapper :is(td, th) { font-size: 14px !important; }
.v2-phone .content_wrapper .text-content-wrapper h4 > a.internal-link { font-size: inherit !important; }
/* TYP-03: the room rate notes ('From', '/ night', 'before taxes') never drop below 12px (they were 10-11px) */
.ila-rate :is(.stb-from, .stb-unit), .ila-rate-tax { font-size: 12px !important; }
/* TYP-03: event form labels never drop below 14px on tablets (they fell to 12px at 768) */
.v2-desk .outer-page .phoenixtempshell1-conatct-form-572 .wtformjson fieldset .form-group label { font-size: clamp(14px, 1.56vw, 20px) !important; }

/* TYP-04: content paragraphs and list items at 1.7 line spacing; the theme's clamp(20px, 1.953vw, 30px) on
   '.no-gutter .text-content p' outranked the sitewide 1.7 and gave 1.86 */
:is(.v2-desk, .v2-phone) .content_wrapper :is(.text-content-wrapper, .text-content) :is(p, li) { line-height: 1.7 !important; }

/* TYP-05: on desktop a paragraph line holds about 72 characters (QC band 45-80; 70ch in Inter still allowed ~87).
   Centred paragraphs stay centred. */
.v2-desk .content_wrapper .text-content-wrapper > :is(p, ul, ol):not(:has(form, .ila-why-row, table, iframe)) { max-width: 36em !important; }
.v2-desk .content_wrapper .text-content-wrapper > p[style*="text-align: center"] { margin-left: auto; margin-right: auto; }

/* INT-03: the transitions left outside 300ms on Maulakali pages (theme layer fade, menu arrow, phone logo, language
   picker, scroll reveal) run at 300ms like the rest */
.v2-desk .layer-content, .v2-phone .layer-content, .v2-phone .mobile .navbar-logo,
.v2-desk header .navbar-top .navbar-nav > li.moreOptions,
.v2-desk header .navbar-top .navbar-nav > li > a .fa-angle-down::before,
.gt_container--hich1m .gt_switcher .gt_selected a::after, .gt_container--hich1m .gt_switcher .gt_option,
.mo-rv.mo-in, .mo-rv.mo-rise.mo-in { transition-duration: 300ms !important; }

/* TYP-04: booking bar links and the language picker get readable line spacing */
#manageBookingWrapper a, #showMoreBtnWrapper, .v2-desk .gtranslate_wrapper a { line-height: 1.4 !important; }

/* TYP-08: the footer hotel name wraps into two even lines ('ila Resort' / 'Maulakali') through the shared
   text-wrap: balance (round 6); no Maulakali rule here, so it cannot override that */

/* LAY-04 / TYP-05: Rooms & Suites cards on phones (description + facts list): 8px from the description to the list
   and 16px from the list to the Know More / Book Now buttons, as on desktop (it was ~40px above and 4px below) */
html body .v2-phone .content_wrapper .text-content-wrapper p:has(+ ul.ila-room-facts) { margin-bottom: 8px !important; padding-bottom: 0 !important; }
.v2-phone .content_wrapper ul.ila-room-facts { margin-top: 0 !important; margin-bottom: 16px !important; }

/* LAY-04: at least 8px between a paragraph and the list that follows it */
.content_wrapper .text-content-wrapper p + :is(ul, ol) { margin-top: 8px !important; }

/* NAV-02: the hotel name item shows it is the current page on the Maulakali home page; phone menu and
   footer mark the current page too (ml-fixes.js sets aria-current) */
.v2-desk header .navbar-bottom li.child-hotel-name > a:is(.active, [aria-current="page"]) { font-weight: 700;
  text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.v2-phone .mobile-menu .dropdown-menu-topNav a[aria-current="page"] > div { color: #d56750 !important; font-weight: 700; }
.v2-phone .mobile-menu .dropdown-menu-topNav a[aria-current="page"] > div span { text-decoration: underline; text-underline-offset: 4px; }
#footer.ila-footer-v1 a[aria-current="page"] { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 700; }

/* NAV-05 / BTN-04 / SEO-26: phone tap areas of 44px for the MENU button, menu items, footer links and the cookie buttons */
.v2-phone .mobile-menu .dropdown-toggle { min-height: 44px; }
.v2-phone .mobile-menu .dropdown-menu-topNav li > a { display: block; }
.v2-phone .mobile-menu .dropdown-menu-topNav li > a > div { padding-top: 12px !important; padding-bottom: 12px !important; }
.v2-phone #footer.ila-footer-v1 :is(.ila-f-cols, .ila-f-lines, .ila-f-bottom) li { margin-top: 0 !important; }
.v2-phone #footer.ila-footer-v1 :is(.ila-f-cols ul, .ila-f-lines, .ila-f-bottom) a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.v2-phone .ila-loc-pane p a { display: inline-flex; align-items: center; min-height: 44px; }
/* the breadcrumb links (ml-fixes.js marks the line) take taps across 44px without moving the text */
.v2-phone p.ila-crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; }
/* the cookie notice sits outside the phone wrapper, so it goes by screen width */
@media (max-width: 767px) { .ila-cookie-notice .ila-cookie-actions button { min-height: 44px; min-width: 64px; } }
/* BTN-04: phone slider dots keep their 20px look but take taps across a 44px area */
.v2-phone .slick-dots li button { position: relative; }
.v2-phone .slick-dots li button::after { content: ""; position: absolute; inset: -12px; }

/* BTN-02: the logo, the gallery 'All Photos' button and the location buttons show a change on hover */
.v2-desk header a.navbar-brand-v2 img { transition: opacity .3s; }
.v2-desk header a.navbar-brand-v2:hover img { opacity: .8; }
.v2-desk .btn.all-photos:hover { filter: brightness(.9); text-decoration: underline; text-underline-offset: 3px; }

/* FRM-02: form errors are 14px and dark enough to read; the field gets a red edge */
.js-form-error { font-size: 14px !important; color: #b3261e !important; margin-top: 4px; }
.form-group:has(.js-form-error) :is(input, select, textarea) { border-color: #b3261e !important; }
.ila-loc-status { margin: 8px 0 0; font-size: 14px; color: #734538; }

/* FUN-05 / FUN-04 / RES-06: the 'Continue Your Booking' card starts below the two menu bars instead of covering 'More' */
.v2-desk #continueBooking { top: 128px; }

/* NAV-12 / NAV-11: on phones the back-to-top arrow is a 48px circle in the bottom-right corner (it was a 60x40 tab in
   the bottom centre, over the text), clear of the iPhone home bar; while the cookie notice is open it sits just above
   it (ml-fixes.js sets --ila-bt-lift). The floating Book and Call buttons are switched off, so the corner is free. */
.v2-phone #back-top { left: auto !important; right: 20px; transform: none !important; z-index: 1000;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px) + var(--ila-bt-lift, 0px)); }
.v2-phone #back-top a { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #f5f3e9; border: 1px solid #734538; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.v2-phone #back-top span { font-size: 30px; line-height: 1; }

/* COL-02: the footer credit links (Sitemap, Simplotel) at full white instead of 80% */
#footer.ila-footer-v1 .ila-f-credit { opacity: 1 !important; }
