/* Africa.Luxury v1.7.518: reference-aligned Room detail — mobile only.
 * Preserve all original quote/availability/checkout handlers in hidden booking DOM.
 */
.al518-mobile,.al518-fixed-book,.al518-booking-drawer-head {display:none}
@media(max-width:699px){
  html:has(body.al-rd518){scroll-behavior:smooth}
  body.al-rd518.al-md469-room-detail{background:#fff!important;overflow-x:hidden!important}
  body.al-rd518.al-md469-room-detail>.al-main-header{display:none!important}
  body.al-rd518.al-md469-room-detail .rd-shell{display:block!important;width:100%!important;max-width:none!important;padding:0 0 126px!important;margin:0!important;background:#fff!important;overflow:visible!important;animation:none!important}
  body.al-rd518 .al518-mobile{display:block!important;max-width:540px;margin:0 auto;padding:0 14px 2px;background:#fff;color:#082540;font-family:var(--al-font-ui,'Poppins',Arial,sans-serif)}
  body.al-rd518 .al518-head{display:flex;align-items:center;gap:12px;margin:0 -14px 12px;padding:14px 14px 12px;min-height:64px;border-bottom:1px solid #f0f1f2;background:#fff}
  body.al-rd518 .al518-brand{display:flex;align-items:center;min-width:0;max-width:58%;height:34px;color:#0b2b43;text-decoration:none;overflow:hidden}
  body.al-rd518 .al518-brand img{display:block;max-height:32px;width:auto;max-width:100%;object-fit:contain}
  body.al-rd518 .al518-brand .al-brand-logo{width:31px;height:27px}
  body.al-rd518 .al518-brand .al-header-brand{font-size:17px}
  body.al-rd518 .al518-head-right{display:flex;align-items:center;gap:8px;margin-left:auto}
  body.al-rd518 .al518-soft-btn{border:0;width:42px;height:42px;flex:0 0 42px;padding:0;background:#fff;border-radius:15px;display:grid;place-items:center;box-shadow:7px 8px 17px rgba(28,45,62,.12),-6px -6px 13px rgba(255,255,255,.98);text-decoration:none;color:#0b2a45}
  body.al-rd518 .al518-soft-btn:active{box-shadow:inset 3px 3px 7px #d6dae0,inset -3px -3px 7px #fff}
  body.al-rd518 .al518-soft-btn svg{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  body.al-rd518 .al518-avatar{border-radius:50%;font-weight:700;font-size:12px}
  body.al-rd518 .al518-gallery{height:auto;aspect-ratio:1.85;position:relative;overflow:hidden;background:#f0f3f5;border-radius:17px}
  body.al-rd518 .al518-main-photo{display:block;width:100%;height:100%;object-fit:cover}
  body.al-rd518 .al518-photo-empty{height:100%;display:grid;place-items:center;font-size:13px;color:#718096}
  body.al-rd518 .al518-photo-arrow{position:absolute;top:50%;transform:translateY(-50%);width:37px;height:37px;background:rgba(255,255,255,.97);color:#082640;border:none;border-radius:50%;font-size:29px;line-height:1;display:grid;place-items:center;box-shadow:0 3px 12px #0d2a3c26;cursor:pointer}
  body.al-rd518 .al518-photo-arrow.is-prev{left:10px}
  body.al-rd518 .al518-photo-arrow.is-next{right:10px}
  body.al-rd518 .al518-photo-count{position:absolute;bottom:10px;left:12px;background:#0c223cd9;border-radius:999px;color:#fff;padding:5px 11px;font-size:11px;font-weight:700}
  body.al-rd518 .al518-photo-actions{position:absolute;top:10px;right:10px;display:flex;gap:8px}
  body.al-rd518 .al518-round{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 4px 12px #0e293238;color:#082742;padding:9px}
  body.al-rd518 .al518-round svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  body.al-rd518 .al518-round.is-saved{color:#bd822e}
  body.al-rd518 .al518-thumbs{display:flex;gap:6px;overflow:auto;scrollbar-width:none;padding:8px 0 7px;scroll-snap-type:x proximity}
  body.al-rd518 .al518-thumbs::-webkit-scrollbar{display:none}
  body.al-rd518 .al518-thumb,body.al-rd518 .al518-more-photos{position:relative;display:block;flex:1 0 0;min-width:54px;max-width:98px;height:53px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#ebedf0;scroll-snap-align:start}
  body.al-rd518 .al518-thumb.is-active{border-color:#c78b32}
  body.al-rd518 .al518-thumb img{width:100%;height:100%;display:block;object-fit:cover}
  body.al-rd518 .al518-more-photos{color:#fff;background:#625f5d;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800;font-size:14px}
  body.al-rd518 .al518-more-photos small{display:block;font-size:10px;font-weight:500}
  body.al-rd518 .al518-identity{padding:9px 1px 2px}
  body.al-rd518 .al518-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}
  body.al-rd518 .al518-title-row>div{min-width:0;flex:1}
  body.al-rd518 .al518-title-row h1{color:#092741;font-size:clamp(19px,5vw,25px);font-weight:750;letter-spacing:-.04em;line-height:1.18;margin:0 0 4px}
  body.al-rd518 .al518-property{font-size:11px;line-height:1.35;text-decoration:none;color:#657b8f;display:block}
  body.al-rd518 .al518-rating{display:flex;flex:0 0 auto;gap:4px;align-items:center;text-decoration:none;color:#092741;font-size:14px;font-weight:750;padding-top:3px}
  body.al-rd518 .al518-rating>span:first-child{color:#c18319;font-size:19px}
  body.al-rd518 .al518-rating .alx-google-rating{display:inline-flex;align-items:center;gap:2px;font-size:14px}
  body.al-rd518 .al518-rating .alx-google-rating-star{display:none}
  body.al-rd518 .al518-location{display:flex;align-items:center;gap:6px;color:#66778d;margin:8px 0 12px;font-size:12px}
  body.al-rd518 .al518-location svg{width:16px;height:16px;fill:none;stroke:#ba7d26;stroke-width:1.9}
  body.al-rd518 .al518-feature-strip{display:flex;gap:0;overflow:auto;scrollbar-width:none;white-space:nowrap;border-radius:999px;box-shadow:0 5px 15px #162e421a,0 0 0 1px #e8ecf0;background:#fff;padding:11px 5px;margin:9px 0 15px}
  body.al-rd518 .al518-feature-strip::-webkit-scrollbar{display:none}
  body.al-rd518 .al518-feature-strip>span{display:flex;flex:0 0 auto;gap:6px;align-items:center;padding:0 11px;font-size:11px;font-weight:600;border-right:1px solid #dce1e8}
  body.al-rd518 .al518-feature-strip>span:last-child{border-right:0}
  body.al-rd518 .al518-feature-strip svg{width:18px;height:18px;fill:none;stroke:#082e48;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  body.al-rd518 .al518-trip-bar{display:flex;align-items:center;gap:0;border:1px solid #efc990;border-radius:19px;padding:12px;background:linear-gradient(105deg,#fff8ee,#fff);box-shadow:0 6px 17px #9d77381c;margin-bottom:13px;min-height:76px}
  body.al-rd518 .al518-from{display:flex;flex-direction:column;flex:0 0 44%;min-width:0;border-right:1px solid #e4ba84;padding-right:8px}
  body.al-rd518 .al518-from small{font-size:10px;color:#52667c}
  body.al-rd518 .al518-from strong{color:#b57613;font-size:clamp(16px,5.1vw,23px);white-space:nowrap;font-weight:800;letter-spacing:-.04em}
  body.al-rd518 .al518-trip-change{flex:1;display:flex;align-items:center;min-width:0;gap:7px;background:none;border:0;text-align:left;padding:0 0 0 10px;color:#082843}
  body.al-rd518 .al518-trip-change>svg:first-child{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8}
  body.al-rd518 .al518-trip-change span{display:flex;flex-direction:column;min-width:0}
  body.al-rd518 .al518-trip-change strong,body.al-rd518 .al518-trip-change small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:1.45}
  body.al-rd518 .al518-trip-change strong{font-size:12px}
  body.al-rd518 .al518-trip-change small{font-size:10px;color:#63788a}
  body.al-rd518 .al518-pencil{width:20px;height:20px;flex:0 0 20px;margin-left:auto;fill:none;stroke:#bf801e;stroke-width:2;stroke-linejoin:round}
  body.al-rd518 .al518-tabs{display:flex;align-items:stretch;gap:3px;overflow-x:auto;scrollbar-width:none;background:#fff;border-radius:999px;padding:5px;box-shadow:0 5px 15px #162e4216,0 0 0 1px #e9ebef;scroll-snap-type:x proximity;position:sticky;top:0;z-index:24;margin:6px 0 18px}
  body.al-rd518 .al518-tabs::-webkit-scrollbar{display:none}
  body.al-rd518 .al518-tabs a{display:grid;place-items:center;flex:1 0 auto;padding:11px 12px;border-radius:999px;white-space:nowrap;scroll-snap-align:start;text-decoration:none;color:#112d46;font-size:11px;font-weight:700;min-height:36px}
  body.al-rd518 .al518-tabs a.is-active{background:linear-gradient(150deg,#e5a039,#b7770f);color:#fff;box-shadow:0 4px 8px #a8751f3b}
  body.al-rd518 .al518-section{scroll-margin-top:80px;padding:4px 3px 20px;margin-bottom:13px;border-bottom:1px solid #eef1f3}
  body.al-rd518 .al518-section h2{font-size:18px;font-weight:800;letter-spacing:-.025em;color:#092741;line-height:1.2;margin:0 0 9px}
  body.al-rd518 .al518-section>p{font-size:13px;line-height:1.6;color:#43566e;margin:0 0 12px}
  body.al-rd518 .al518-benefits{display:grid;grid-template-columns:1fr 1fr;gap:9px 10px}
  body.al-rd518 .al518-benefits span,body.al-rd518 .al518-policy-list p{display:flex;align-items:start;gap:7px;font-size:12px;line-height:1.4;color:#2c465f;margin:0}
  body.al-rd518 .al518-benefits b,body.al-rd518 .al518-policy-list b{display:grid;place-items:center;flex:0 0 17px;border-radius:50%;height:17px;background:#b77c20;color:#fff;font-size:11px}
  body.al-rd518 .al518-section-top{display:flex;justify-content:space-between;align-items:center}
  body.al-rd518 .al518-section-top button{border:0;background:none;color:#b47a22;font-size:12px;font-weight:700}
  body.al-rd518 .al518-amenity-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
  body.al-rd518 .al518-amenity-list>span{display:flex;gap:7px;align-items:center;min-width:0;font-size:12px;color:#243e54}
  body.al-rd518 .al518-amenity-list svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:#b47b23;stroke-width:1.8}
  body.al-rd518 .al518-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body.al-rd518 .al518-detail-grid>div{display:flex;flex-direction:column;gap:2px;background:#f7f8f9;border-radius:12px;padding:10px;min-width:0}
  body.al-rd518 .al518-detail-grid small{color:#708095;font-size:10px}
  body.al-rd518 .al518-detail-grid strong{color:#102f47;font-size:12px;overflow-wrap:anywhere}
  body.al-rd518 .al518-policy-list{display:grid;gap:11px;margin-bottom:14px}
  body.al-rd518 .al518-cancellation{padding:12px;border-radius:12px;background:#fff8ef}
  body.al-rd518 .al518-cancellation strong{font-size:12px;color:#12344b}
  body.al-rd518 .al518-cancellation p{font-size:11px;line-height:1.5;color:#607083;margin:6px 0 0}
  body.al-rd518 .rd322-detail-layout{display:none!important}
  body.al-rd518 .rd326-reviews{display:block!important;margin:14px!important;padding:16px!important;scroll-margin-top:75px!important}
  body.al-rd518 .rd-mobile-book-v222,body.al-rd518 .v231-mobile-book{display:none!important}
  body.al-rd518 footer.ft412-footer,body.al-rd518 .ft412-footer{display:none!important}
  body.al-rd518 .al518-fixed-book{position:fixed!important;z-index:1000!important;bottom:0;left:0;right:0;display:flex!important;align-items:center;gap:12px;padding:11px 14px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;box-shadow:0 -6px 20px #142d4216;border-top:1px solid #e9ebed}
  body.al-rd518 .al518-fixed-price{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
  body.al-rd518 .al518-fixed-price strong{font-size:clamp(15px,4.6vw,21px);font-weight:800;letter-spacing:-.04em;color:#b87714;white-space:nowrap}
  body.al-rd518 .al518-fixed-price small{font-size:10px;color:#66778b;line-height:1.1}
  body.al-rd518 .al518-fixed-price small:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.al-rd518 .al518-select-room{flex:0 0 52%;min-width:0;display:flex;justify-content:center;align-items:center;gap:12px;min-height:51px;border:0;border-radius:999px;background:linear-gradient(145deg,#df941c,#b66c00);color:#fff;font-size:15px;font-weight:750;box-shadow:0 5px 14px #a56a123b}
  body.al-rd518 .al518-select-room span{font-size:20px}
  body.al-rd518.al518-booking-open{overflow:hidden!important}
  body.al-rd518.al518-booking-open .rd322-detail-layout{display:block!important;position:fixed!important;inset:0!important;z-index:12000!important;overflow:auto!important;overscroll-behavior:contain;background:#0c263f98!important;padding:10vh 0 0!important;margin:0!important;border:0!important}
  body.al-rd518.al518-booking-open .rd322-primary-column{display:none!important}
  body.al-rd518.al518-booking-open .rd322-side-column{display:block!important;width:100%!important;max-width:540px!important;min-height:90vh!important;margin:0 auto!important;padding:16px 16px 40px!important;background:#fff!important;border-radius:24px 24px 0 0!important;box-shadow:0 -6px 25px #0e263b44!important;position:relative!important;overflow:visible!important}
  body.al-rd518 .al518-booking-drawer-head{display:none}
  body.al-rd518.al518-booking-open .al518-booking-drawer-head{position:sticky;top:0;z-index:2;display:flex!important;align-items:center;justify-content:space-between;gap:10px;background:#fff;padding:0 0 12px;margin-bottom:7px;font-size:15px;color:#0b2b40}
  body.al-rd518 .al518-booking-drawer-head button{width:36px;height:36px;border:0;border-radius:50%;font-size:23px;background:#f2f4f6;color:#0b2b40}
  body.al-rd518.al518-booking-open .rd320-booking{display:block!important;position:static!important;margin:0!important;padding:0!important;background:#fff!important;box-shadow:none!important;border:0!important}
  body.al-rd518.al518-booking-open .rd320-booking-card{display:block!important;position:static!important;width:100%!important;margin:0!important;padding:10px!important;box-shadow:none!important;border:0!important}
  body.al-rd518.al518-booking-open #rd-rules{display:none!important}
  body.al-rd518.al518-booking-open .al518-fixed-book{display:none!important}
  body.al-rd518 .al518-mobile :is(button,a):focus-visible{outline:3px solid #dc9a37;outline-offset:2px}
}
@media(max-width:360px){body.al-rd518 .al518-head{gap:7px}body.al-rd518 .al518-brand{max-width:54%}body.al-rd518 .al518-feature-strip>span{padding:0 9px}body.al-rd518 .al518-trip-change{gap:4px}body.al-rd518 .al518-trip-bar{padding:9px}body.al-rd518 .al518-tabs a{padding:9px 11px}}
@media(prefers-reduced-motion:reduce){body.al-rd518 *{scroll-behavior:auto!important;transition-duration:.01ms!important}}
