/* bg-fixes.css: ila Comfort Baglung only, QC Checklist 3.10 fixes, 19 Oct 26 (groups A and B).
   Loaded last on the 14 Baglung pages (after site.css), so it never touches the parent or the other hotels.
   Mirrors assets/resort-maulakali/ml-fixes.css plus the Baglung owner decisions. Row IDs in each comment. Remove this file
   and its <link> to undo the CSS side; bg-fixes.js and the HTML edits are listed in docs/QC-FIXES-BAGLUNG-2026-10-19.md. */

/* CNV-02 (group B, owner 19 Oct 26): the booking engine still sends a placeholder rate ('From 3,500 USD/Night'),
   so the price lines stay hidden on Baglung 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 (group B): the 5 homepage highlight icons use the same line drawings as the Facilities page, in terracotta */
#iusp4 ul.ila-why-row li .fa { width: 36px; height: 36px; background-color: #d56750; font-size: 0 !important;
  -webkit-mask: var(--bg-icon) center / contain no-repeat; mask: var(--bg-icon) center / contain no-repeat; }
#iusp4 ul.ila-why-row li .fa::before { content: none !important; }
#iusp4 ul.ila-why-row li .fa-bed { --bg-icon: url("../icons/couch.svg"); }
#iusp4 ul.ila-why-row li .fa-map-marker { --bg-icon: url("map-pin.svg"); }
#iusp4 ul.ila-why-row li .fa-cutlery { --bg-icon: url("../icons/restaurant.svg"); }
#iusp4 ul.ila-why-row li .fa-users { --bg-icon: url("../icons/meeting.svg"); }
#iusp4 ul.ila-why-row li .fa-heart { --bg-icon: url("../icons/desk-bell.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 Day use / Overnight labels, 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; }
#simp-booking-form #dayUseWrapper .toggle-label { font-size: 14px !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: 14px !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: 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 hotel name in the footer never leaves 'Baglung' alone on the last line (plus &nbsp; in the HTML) */
#footer.ila-footer-v1 :is(h3, .ila-f-name) { text-wrap: pretty; }

/* 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; }

/* LAY-07 / RES-04: in a narrow desktop window the room tabs start at the left edge and scroll sideways
   instead of spilling off both sides at different heights */
@media (max-width: 767px) {
  .v2-desk .header-pills ul.nav-pills { justify-content: flex-start !important; align-items: center !important;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .v2-desk .header-pills ul.nav-pills > li { flex: 0 0 auto; }
}

/* NAV-02: the hotel name item shows it is the current page on the Baglung home page; on FAQs and Location the
   'More' menu that holds the page is marked; phone menu and footer mark the current page too (bg-fixes.js sets
   aria-current and .ila-current-parent) */
.v2-desk header .navbar-bottom li.child-hotel-name > a:is(.active, [aria-current="page"]),
.v2-desk header .navbar-bottom a.ila-current-parent { 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-06: the footer phone numbers are now links; they look like the other footer contact lines, underline on hover */
#footer.ila-footer-v1 a[href^="tel:"] { color: inherit; text-decoration: none; }
#footer.ila-footer-v1 a[href^="tel:"]:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 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 (bg-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; RES-05: 12px between its buttons */
@media (max-width: 767px) {
  .ila-cookie-notice .ila-cookie-actions { gap: 12px; }
  .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 and the gallery 'All Photos' button show a change on hover ('Get Directions' uses the shared
   outline CTA hover from site.css) */
.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; }

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