/* ==========================================================================
   HOTEL THILANKA - MASTER RESPONSIVE & MOBILE-FIRST STYLESHEET
   Adheres to modern CSS standards: Defensive Layouts, Touch Isolation,
   Safe-Area Insets, Aspect Ratio Locks, & 5-Tier Breakpoints.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Touch Target Defaults
   -------------------------------------------------------------------------- */
:root {
  --touch-target-min: 44px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

/* Enforce minimum touch target heights for interactive elements */
a, button, select, input[type="submit"], input[type="button"], .btn, .filter-btn {
  min-height: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
}

/* ScrollUp Button Center Alignment & Dynamic Fade Fix */
#scrollUp {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: normal !important;
  padding: 0 !important;
}

#scrollUp i, #scrollUp span {
  display: inline-block !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* Event Info Box Right-Side Overflow Guard */
.event_overlay_container .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

.event_info_box {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Prevent horizontal body overflow */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* Fluid image aspect ratio locking */
img {
  max-width: 100%;
  height: auto;
}

/* Global Instagram / Facebook Gallery Strip Layout (Always 5 images in 1 horizontal row) */
.instragram_area {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.instragram_area .single_instagram {
  width: 20% !important;
  flex: 0 0 20% !important;
  max-width: 20% !important;
  float: left !important;
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 1.25 / 1 !important;
}

/* Global Instagram / Facebook Gallery Strip Overlay Centering */
.instragram_area .single_instagram .ovrelay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.45) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.instragram_area .single_instagram:hover .ovrelay {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.instragram_area .single_instagram .ovrelay a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 32px !important;
  text-align: center !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: scale(0.85) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, opacity 0.3s ease !important;
  text-decoration: none !important;
}

.instragram_area .single_instagram:hover .ovrelay a {
  transform: scale(1.1) !important;
  background: transparent !important;
  border-color: transparent !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

.instragram_area .single_instagram .ovrelay a i {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: inline-block !important;
  font-size: 32px !important;
}

/* --------------------------------------------------------------------------
   2. Touch & Hover Isolation (Prevents sticky hover states on mobile)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .gallery-bezel-outer:hover {
    transform: translateY(-8px);
    border-color: rgba(179, 132, 59, 0.25);
    box-shadow: 0 20px 40px -15px rgba(24, 24, 27, 0.06);
  }
  .gallery-bezel-outer:hover .gallery-img {
    transform: scale(1.06);
  }
  .gallery-bezel-outer:hover .gallery-overlay {
    opacity: 1;
  }
}

@media (hover: none) or (pointer: coarse) {
  /* On touch devices, show subtitled image overlays permanently or on tap */
  .gallery-overlay {
    opacity: 0.95;
    background: linear-gradient(to top, rgba(24, 24, 27, 0.9) 0%, rgba(24, 24, 27, 0.3) 70%, transparent 100%);
  }
}

/* --------------------------------------------------------------------------
   3. Mobile Sticky Bottom Booking Bar (Conversion Optimization)
   -------------------------------------------------------------------------- */
.mobile-sticky-booking-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(18, 18, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 12px 16px;
  padding-bottom: calc(12px + var(--safe-bottom));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
}

.mobile-sticky-booking-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 100%;
}

.mobile-sticky-text {
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.mobile-sticky-text span {
  display: block;
  font-size: 10px;
  color: #d4af37;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mobile-sticky-btn {
  background: linear-gradient(135deg, #d4af37 0%, #b3843b 100%);
  color: #ffffff !important;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: transform 0.2s ease;
}

.mobile-sticky-btn:active {
  transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   4. Tiered Responsive Device Breakpoints
   -------------------------------------------------------------------------- */

/* TIER XS: Tiny Mobile Screens (< 576px) */
@media (max-width: 575.98px) {
  .mobile-sticky-booking-bar {
    display: block;
  }

  /* Full-width container safety */
  .container, .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Section Title Spacing */
  .section_title h3, h1, h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
    line-height: 1.2 !important;
  }

  /* Hero content overlay position fix for tiny phones */
  .hero_content_overlay {
    left: 50% !important;
    transform: translate(-50%, -100%) !important;
  }

  /* Booking bar stack on mobile */
  .booking_bar_premium {
    padding: 16px !important;
    border-radius: 16px !important;
    overflow: visible !important;
    z-index: 100 !important;
  }

  .premium_booking_inner {
    flex-direction: column !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  .booking_input_group {
    width: 100% !important;
  }

  .booking_divider {
    display: none !important;
  }

  .btn_book_premium {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Single Column Bento Grid Override */
  .gallery-bento-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 240px !important;
    grid-gap: 16px !important;
  }

  .gallery-item.col-span-2, .gallery-item.row-span-2 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* Calculator container padding */
  .calculator-container, .calc-input-card, .receipt-card-inner {
    padding: 20px 16px !important;
  }

  .form-control-premium, .form-control-minimal {
    font-size: 14px !important;
  }



  /* Rooms Services & Facilities 2-by-2 Mobile Grid Styling */
  .rooms_services_area .row {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }
  .rooms_services_area [class*="col-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .rooms_services_area .rs_facility_card {
    padding: 20px 10px 16px !important;
    margin-bottom: 14px !important;
    min-height: calc(100% - 14px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .rooms_services_area .rs_facility_icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto 12px !important;
  }
  .rooms_services_area .rs_facility_icon svg {
    width: 30px !important;
    height: 30px !important;
  }
  .rooms_services_area .rs_facility_card h4 {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }
  .rooms_services_area .rs_facility_card p {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  /* Wedding Exclusive Services & Facilities Mobile Grid Styling */
  #wedding-services .row {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }
  #wedding-services [class*="col-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  #wedding-services .bezel-card-inner {
    padding: 20px 14px !important;
    text-align: center !important;
  }
  #wedding-services .icon-wrap {
    font-size: 26px !important;
    margin-bottom: 12px !important;
  }
  #wedding-services h4 {
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }
  #wedding-services p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  /* 360 Virtual Tour Overlay Fixes for Mobile */
  .panorama_ui_right {
    position: absolute !important;
    bottom: 12px !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    width: max-content !important;
    max-width: calc(100% - 70px) !important;
    margin-top: 0 !important;
    padding: 0 !important;
    z-index: 60 !important;
  }
  .tour_selector_premium {
    width: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
  }
  .selector_header {
    display: none !important;
  }
  .tour_list {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
    padding: 0 !important;
    max-height: none !important;
  }
  .single_tour {
    flex: 0 0 auto !important;
    margin-bottom: 0 !important;
    padding: 6px 10px !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
  }
  .single_tour.active {
    background: rgba(212, 175, 55, 0.9) !important;
    border-color: #d4af37 !important;
  }
  .single_tour.active .tour_meta h5 {
    color: #000 !important;
  }
  .single_tour.active .tour_meta span {
    color: rgba(0, 0, 0, 0.8) !important;
  }
  .single_tour img {
    width: 28px !important;
    height: 28px !important;
    margin-right: 6px !important;
    border-radius: 6px !important;
  }
  .tour_meta h5 {
    font-size: 11px !important;
    color: #fff !important;
    margin: 0 !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
  }
  .tour_meta span {
    font-size: 8.5px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    display: block !important;
    white-space: nowrap !important;
  }

  /* Footer column gaps */
  .footer_widget {
    margin-bottom: 30px !important;
  }

  .copy-right_text .row {
    flex-direction: column-reverse !important;
    gap: 15px !important;
    text-align: center !important;
  }

  .socail_links ul {
    justify-content: center !important;
  }
}

/* TIER SM: Phablets / Large Mobile (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .mobile-sticky-booking-bar {
    display: block;
  }

  .gallery-bento-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 220px !important;
    grid-gap: 16px !important;
  }

  .gallery-item.col-span-2 {
    grid-column: span 2 !important;
  }
  .gallery-item.row-span-2 {
    grid-row: span 1 !important;
  }
/* Hide Instagram strip on Mobile Screens (< 768px) */
@media (max-width: 767.98px) {
  .instragram_area {
    display: none !important;
  }
  
  /* Choose a Better Room Mobile Grid - Eliminate White Separating Gaps */
  .features_room .rooms_here {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .features_room .rooms_here .single_rooms {
    margin-bottom: 0 !important;
  }
  .features_room .rooms_here .single_rooms .room_thumb {
    height: 320px !important;
  }
  .features_room .rooms_here .single_rooms .room_thumb .room_heading a {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* Footer & Sticky Booking Bar Clean Separation (Prevents Copyright Overlap) */
  .copy-right_text {
    padding-bottom: 85px !important;
  }
  #scrollUp {
    bottom: 85px !important;
  }
}

/* TIER MD: Tablets & Small Laptops (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-bento-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 260px !important;
    grid-gap: 20px !important;
  }

  .gallery-item.col-span-2 {
    grid-column: span 2 !important;
  }

  .rooms_listing_area .container-fluid {
    width: 94% !important;
  }
  .room_slideshow {
    height: 400px !important;
  }
}

/* Hero Section Layout Fix for Screens < 992px (Prevents Booking Bar Overlap) */
@media (max-width: 991.98px) {
  /* Keep hero as positioning context */
  .hero_video_area {
    position: relative !important;
    min-height: 100dvh !important;
    display: block !important;
  }

  /* Pin the h1/tagline block to the upper portion of the hero */
  .hero_content_overlay {
    position: absolute !important;
    top: 38% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -80%) !important;
    width: 100% !important;
    padding: 0 20px !important;
    z-index: 2 !important;
    text-align: center !important;
  }

  .hero_content_overlay h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem) !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
  }

  /* Pin the booking bar container to the bottom of the hero */
  .hero_video_area > .container {
    position: absolute !important;
    bottom: 24px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 16px !important;
    z-index: 3 !important;
  }

  .booking_bar_premium {
    width: 100% !important;
    margin-bottom: 0 !important;
  }
}

/* Rooms Card Responsive Overrides for Mobile */
@media (max-width: 767.98px) {
  .rooms_listing_area .container-fluid {
    width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .room_slideshow {
    height: 280px !important;
  }
  .room_card_info {
    padding: 24px 18px !important;
  }
  .room_card_title {
    font-size: 1.6rem !important;
  }
  .room_card_desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }
  .room_card_meta {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .room_meta_divider {
    display: none !important;
  }
  .room_book_btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Dining Page Responsive Overrides */
  .menu-tabs {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 10px !important;
  }
  .menu-tab-btn {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    padding: 12px 18px !important;
    font-size: 10px !important;
  }
  .menu-board-inner, .reservation-card {
    padding: 24px 16px !important;
  }
  .destination-content {
    padding: 20px 10px !important;
  }
  .dining-btn-outline {
    margin-left: 0 !important;
    margin-top: 15px !important;
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .dining-btn-primary {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
  }

  /* Wedding Budget Calculator Overrides */
  .receipt-card-outer {
    margin-top: 30px !important;
  }
  .receipt-card-inner, .calc-input-card {
    padding: 24px 16px !important;
  }
  .receipt-row {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .receipt-value {
    align-self: flex-start !important;
  }
}

/* Popup Modal Responsive Styles */
.white-popup-block {
  max-width: 600px;
  margin: 20px auto;
  padding: 0;
}
@media (max-width: 575.98px) {
  .white-popup-block {
    width: 92% !important;
    margin: 15px auto !important;
  }
  .popup_box {
    padding: 20px 15px !important;
  }
  .popup_inner h3 {
    font-size: 1.5rem !important;
  }
}

/* ---------- Desktop & Medium Screen Navbar Alignment & Logo Clearance ---------- */
.header-area .main-header-area .logo-img {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Base Desktop Logo Size */
.header-area .main-header-area .logo-img img {
  max-width: 185px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Ensure Dining on left menu has clearance from center logo */
#navigation-left li:last-child {
  margin-right: 35px !important;
}

/* Ensure Gallery on right menu has clearance from center logo */
#navigation-right li:first-child {
  margin-left: 35px !important;
}

/* TIER LG: Laptops & Desktops (992px - 1399px) */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .gallery-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-area .main-header-area .logo-img img {
    max-width: 155px !important;
  }

  .header-area .main-header-area .main-menu ul li {
    margin-right: 20px !important;
  }

  .header-area .main-header-area .main-menu ul li a {
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  #navigation-left li:last-child {
    margin-right: 28px !important;
  }

  #navigation-right li:first-child {
    margin-left: 28px !important;
  }
}

/* TIER XL: Ultra-Wide Screens (>= 1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1380px !important;
  }

  .header-area .main-header-area .logo-img img {
    max-width: 200px !important;
  }

  .header-area .main-header-area .main-menu ul li {
    margin-right: 32px !important;
  }

  .header-area .main-header-area .main-menu ul li a {
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  #navigation-left li:last-child {
    margin-right: 42px !important;
  }

  #navigation-right li:first-child {
    margin-left: 42px !important;
  }
}

/* Exit 360 Viewer Floating Button */
.exit_360_btn {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 99999 !important;
  background: #e63946 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 30px !important;
  padding: 8px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  display: none;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.25s ease !important;
}

.exit_360_btn:hover, .exit_360_btn:active {
  background: #c1121f !important;
  color: #ffffff !important;
  transform: scale(1.05) !important;
}

@media (max-width: 575.98px) {
  .exit_360_btn {
    top: 12px !important;
    right: 12px !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
  }
}

/* ==========================================================================
   Thilanka Luxury Concierge & WhatsApp Chatbot Widget Styles
   ========================================================================== */

.concierge-root {
  position: fixed;
  bottom: 30px;
  right: 95px;
  z-index: 99990;
  font-family: 'Raleway', system-ui, -apple-system, sans-serif;
}

/* Floating Trigger Button */
.concierge-trigger-btn {
  background: linear-gradient(135deg, #d4af37 0%, #b3843b 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none !important;
}

.concierge-trigger-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.55);
}

.concierge-trigger-btn:active {
  transform: scale(0.96);
}

.concierge-trigger-icon {
  font-size: 20px;
}

.concierge-trigger-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trigger-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: conciergePulse 2s infinite;
}

@keyframes conciergePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.concierge-unread-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e63946;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #18181b;
}

/* Concierge Drawer Window */
.concierge-drawer {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 30px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: rgba(24, 24, 27, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99995;
}

.concierge-drawer.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header */
.concierge-header {
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(39, 39, 42, 0.8) 0%, rgba(24, 24, 27, 0.8) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.concierge-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.concierge-avatar {
  width: 42px;
  height: 42px;
  background: #18181b;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  position: relative;
}

.concierge-avatar img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.online-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #25d366;
  border: 2px solid #18181b;
  border-radius: 50%;
}

.concierge-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.concierge-subtitle {
  color: #d4af37;
  font-size: 11px;
  font-weight: 500;
  display: block;
}

.concierge-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 0;
  transition: color 0.2s ease, transform 0.2s ease;
  box-shadow: none;
  outline: none;
}

.concierge-close-btn:hover,
.concierge-close-btn:focus {
  color: #ff4d4d;
  background: transparent;
  transform: scale(1.15);
}

/* Chat Body */
.concierge-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.concierge-chat-body::-webkit-scrollbar {
  width: 4px;
}

.concierge-chat-body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.2);
  border-radius: 10px;
}

/* Chat Messages */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: chatMsgFadeIn 0.3s ease forwards;
}

@keyframes chatMsgFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bot-msg {
  align-self: flex-start;
}

.user-msg {
  align-self: flex-end;
}

.msg-content {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
}

.bot-msg .msg-content {
  background: rgba(39, 39, 42, 0.9);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 4px;
}

.user-msg .msg-content {
  background: linear-gradient(135deg, #d4af37 0%, #b3843b 100%);
  color: #ffffff;
  border-top-right-radius: 4px;
  font-weight: 500;
}

.msg-content p {
  margin: 0 0 8px 0;
  color: inherit;
}

.msg-content p:last-child {
  margin-bottom: 0;
}

.msg-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.bot-msg .msg-time { align-self: flex-start; }
.user-msg .msg-time { align-self: flex-end; }

/* Typing Indicator */
.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: #d4af37;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Action Buttons inside Chat */
.concierge-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.concierge-action-btn {
  display: block;
  text-align: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.concierge-action-btn.primary {
  background: #d4af37;
  color: #18181b !important;
  border-color: #d4af37;
}

.concierge-action-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.concierge-action-btn.primary:hover {
  background: #f3cf65;
}

/* Options Grid Menu */
.concierge-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.concierge-option-btn {
  background: rgba(39, 39, 42, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-align: left;
}

.concierge-option-btn i {
  color: #d4af37;
  font-size: 13px;
}

.concierge-option-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  transform: translateY(-1px);
}

.concierge-option-btn.whatsapp-highlight {
  grid-column: span 2;
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
  justify-content: center;
}

.concierge-option-btn.whatsapp-highlight i {
  color: #25d366;
}

.concierge-option-btn.whatsapp-highlight:hover {
  background: rgba(37, 211, 102, 0.3);
}

/* Direct WhatsApp Quick Bar */
.concierge-whatsapp-bar {
  padding: 12px 16px;
  background: rgba(18, 18, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.concierge-wa-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #25d366;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.concierge-wa-btn:hover {
  background: #20ba5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Mobile Responsiveness (< 768px) */
@media (max-width: 767.98px) {
  .concierge-root {
    bottom: 75px;
    right: 15px;
  }

  .concierge-trigger-btn {
    padding: 10px 16px;
  }

  .trigger-label {
    font-size: 12px;
  }

  .concierge-drawer {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: 82vh;
    max-height: 82vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }

  .concierge-options-grid {
    grid-template-columns: 1fr;
  }

  .concierge-option-btn.whatsapp-highlight {
    grid-column: span 1;
  }
}

