/* UI-01: our additions to the Santhiya V2 skin (santhiya-v2.css, the design team's file).
   Loaded after it on the Santhiya rooms page (new-hotel-detail.php, HID_STY_HEAD). Same tokens
   (:root in santhiya-v2.css): it styles what the engine gained after the design snapshot and
   keeps the AC-01 contrast and target sizes. */

:root { --sak-text: #8f4a2b; }  /* --sak darkened for text: 5.3:1 on --sak-soft, 5.9:1 on --paper */

/* ---- AC-01: design colours that fall under 4.5:1 for small text --------------------------- */
/* search box: --thong labels are 3.7:1 at the --brand end of the gradient; --gold-line is 4.6:1 */
body .frm-search label, body .bgs label, body .frm-search .sc-inslide-box, body .font-adults, body .font-child { color: var(--gold-line) !important; }
/* non-refundable chip and its "available": --sak was 3.8:1 / 4.2:1 */
body .room-box[data-nrf="1"] .box-item-center > strong, body .room-box[data-nrf="1"] .avail-txt { color: var(--sak-text) !important; }
/* small print in --ink-mute was 3.0:1: "Rate (THB)", "rooms", the tax line */
body .rate-txt span, body .rm-txt span, body .sp-txt, body .tax_p { color: var(--ink-soft) !important; }
/* rate-plan dates the hotel typed in red: the design's dark brown on gold, over the AC-01 red in m_se_css */
#room_box .can-txt span[style*="color:red"], #room_box .can-txt span[style*="color: red"] { color: var(--brand-deep) !important; }

/* ---- What the engine gained after the design snapshot ------------------------------------- */
/* BK-02 step bar */
.booking-steps { color: var(--ink-soft) !important; font-size: 13.5px; }
.booking-steps li.on { color: var(--brand-deep) !important; font-weight: 600; }
.booking-steps li span { border-color: var(--gold-line) !important; }
.booking-steps li.on span { background: var(--brand); border-color: var(--brand) !important; color: var(--cream); }
/* SR-01 nights count and SR-02 code note sit on the dark search box */
.frm-search .search-nights, .bgs .search-nights { color: var(--cream) !important; }
.frm-search .discode-note, .bgs .discode-note { color: var(--cream) !important; font-weight: 600; }
/* BK-01 member invite */
.member-invite { background: var(--gold-soft); border: 1px solid var(--gold-line) !important; border-left: 3px solid var(--thong) !important; border-radius: 2px !important; color: var(--ink) !important; }
.member-invite a { color: var(--brand) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--thong); }
/* RM-02 rooms that cannot be booked: only the photo fades, the reason stays readable */
body .rmt-unavailable { opacity: 1 !important; }  /* the row carries an inline opacity:.6 (phones add it outside #room_box) */
.rmt-unavailable .rmt-img { filter: grayscale(1); opacity: .55; }
.rmt-unavailable label { color: var(--ink-soft) !important; }
.rmt-unavailable p { color: var(--ink-soft); }
.rmt-unavailable .btn { background: transparent !important; border: 1px solid var(--brand) !important; color: var(--brand) !important; border-radius: 2px !important; font-weight: 600; }
.rmt-unavailable .btn:hover { background: var(--brand) !important; color: var(--cream) !important; }
/* SKC "Only 2 rooms left" */
.btn-book .rooms-left { color: var(--sak-text) !important; font-weight: 600; }
/* RM-05 "Select this room" in the room pop-up, like the Select buttons */
.rmt-modal .rmt-modal-select { background: var(--brand) !important; color: var(--cream) !important; border-radius: 2px !important; font-weight: 600; }
.rmt-modal .rmt-modal-select:hover { background: var(--espresso) !important; }
/* "no rooms for these dates" message: its link was Bootstrap blue (4.1:1) and 16px tall */
.no-room h1 a { display: inline-block; padding: 10px 0; color: var(--brand) !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--thong); }

/* ---- One edge for the gallery column (2026-11-12) ---------------------------------------------
   Photo, thumbnails, loyalty banner and the bars under it all end on the column's edges.
   m_se_css insets the photo 1px/3px, sizes thumbnails in px (6px short at 1280; a 5-5-3 grid with
   a ~200px gap at 992-1199), gives the banner's column 1px right padding (14px over the edge), and
   the bars' colour sits on a Bootstrap column inside a -15px row (15px past each side). */
body .slider-img .carousel { padding-left: 0; padding-right: 0; }
body #slider-thumbs ul.thumbnails { display: flex; flex-wrap: wrap; }
/* ponytail: 14.2857% not 100%/7, so rounding can never push the 7th thumb onto the next row */
body #slider-thumbs ul.thumbnails > li { float: none; width: auto; flex: 0 0 14.2857%; }
/* the See All / See Less button takes the rest of its row, so the grid always ends on the edge */
body #slider-thumbs ul.thumbnails > li.toggle-thumbnails { flex: 1 0 28.5714%; }
body #slider-thumbs .thumbnail, body #slider-thumbs .thumbnail > img { width: 100%; }
body #slider-thumbs .thumbnail > img { object-fit: cover; }
@media (max-width: 767px) {
  body #slider-thumbs ul.thumbnails > li { flex-basis: 24.9999%; }
  body #slider-thumbs ul.thumbnails > li.toggle-thumbnails { flex-basis: 49.9999%; }
}
body .banner-santhiya-pc .banner-member, body .banner-santhiya-mobile .banner-member { padding-right: 15px; }
body .hotel-policy-icon > .row, body .facilities-icon > .row { margin-left: 0; margin-right: 0; }
