/* Compact menu, same look as the Koh Samui menu (mobile: rows with a right-aligned chevron, pinned Book Now; desktop: compact links).
   Loaded after the page styles on purpose. */

/* ---------- mobile menu ---------- */
.mobile-menu { padding: 0; overflow: hidden; }
.mobile-menu.open { display: flex; }
@media (max-width: 768px) { .mobile-menu { bottom: calc(46px + env(safe-area-inset-bottom, 0px)); } }   /* leave the bottom bar (46px) free */

.mm-top { flex: none; display: flex; align-items: center; justify-content: flex-end; min-height: 56px; padding: 0 12px 0 22px; border-bottom: 1px solid var(--border); }
.mobile-menu .mm-top .mobile-close { position: static; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; font-size: 24px; line-height: 1; color: var(--pink); }

.mm-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 22px 14px; }
.mobile-menu .mm-list .mm-link,
.mobile-menu .mm-list .mm-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0; font-size: 20px; letter-spacing: .04em; text-align: left; cursor: pointer; }
.mm-toggle .mm-arrow { font-size: 13px; opacity: .8; transition: transform .2s; }
.mm-toggle[aria-expanded="true"] .mm-arrow { transform: rotate(180deg); }

.mm-group { border-bottom: 0; }
.mobile-menu .mobile-submenu { padding: 2px 0 8px 18px; border-bottom: 1px solid var(--border); }
.mobile-menu .mobile-submenu a { display: block; padding: 0; min-height: 40px; line-height: 40px; border-bottom: 0; font-size: 16px; letter-spacing: 0; }

.mm-pin { flex: none; padding: 10px 22px 12px; border-top: 1px solid var(--border); }
.mobile-menu .mm-pin a.btn-nav { display: flex; align-items: center; justify-content: center; min-height: 46px; margin: 0 !important; padding: 0 12px; border: 0; background: var(--grad); font-size: 16px; letter-spacing: .1em; color: #fff; text-align: center; }

/* touch / hover feedback as on the Koh Samui menu */
.mobile-menu a:hover, .mobile-menu button:hover { color: var(--pink); }
body.light .mobile-menu a:hover, body.light .mobile-menu button:hover { color: var(--mag); }
.mobile-menu .mm-pin a.btn-nav:hover { color: #fff; }

/* ---------- desktop nav: compact links (same spacing as the Koh Samui nav) ---------- */
@media (min-width: 901px) and (max-width: 1499px) { .nav-links > li > a, .nav-links > li > button { padding: 0 9px !important; letter-spacing: .06em !important; } }
@media (min-width: 901px) and (max-width: 1099px) { .nav-links { display: none !important; } .hamburger { display: flex !important; } }   /* 10 menu items: below ~1100px use the menu button, as the Koh Samui nav does below 1200px */
