/* --- Master Header Configuration --- */
.rs-m4-site-header {
  width: 100%;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  z-index: 1000;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.rs-m4-site-header * {
  box-sizing: border-box;
}

.rs-m4-header-inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  
  
}
/* --- Left Logo Box --- */
.rs-m4-header-logo-box {
  display: flex;
  align-items: center;
}
.rs-m4-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.rs-m4-logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.2s ease;
}

/* --- Collapsible Holder Wrapper --- */
.rs-m4-navigation-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 40px;
}

/* --- Center Toolbar Filters --- */
.rs-m4-search-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: transparent;
}

.rs-m4-toolbar-menu-icon {
  font-size: 1.1rem;
  color: #063430;
  cursor: pointer;
}

.rs-m4-toolbar-field {
  position: relative;
}

.rs-m4-toolbar-input {
  border: none;
  border-bottom: 1px solid #b3b3b3;
  padding: 6px 0;
  font-size: 1rem;
   font-family: 'Playfair Display', Georgia, serif;
  background: transparent;
  outline: none;
  color: #063430;
  border-radius: 0;
  width: 120px;
  transition: border-bottom-color 0.25s ease;
}
.rs-m4-toolbar-input:focus {
  border-bottom-color: #063430;
}

.rs-m4-toolbar-search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #063430;
  display: flex;
  align-items: center;
  padding: 4px;
}

/* --- Custom Dropdown Implementation (Header Specs) --- */
.rs-m4-custom-dropdown {
  position: relative;
}

.rs-m4-dropdown-trigger {
  border-bottom: 1px solid #b3b3b3;
  padding: 6px 0;
  font-size: 1rem;
   font-family: 'Playfair Display', Georgia, serif;
  color: #063430;
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 18px;
  min-width: 110px;
  transition: border-bottom-color 0.25s ease;
}

/* Custom Dropdown Arrow */
.rs-m4-dropdown-trigger::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 12px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #063430;
  pointer-events: none;
  transition: transform 0.25s ease;
}

/* --- Open Options List Panel CSS --- */
.rs-m4-dropdown-options-panel {
  position: absolute;
  top: 100%;
  right: 10px;
  width: 100%;
  min-width: 140px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  list-style: none;
  padding: 4px 0;
  margin: 4px 0 0 0;
  z-index: 1011;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  
  /* Smooth Animation Toggle Settings */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 0.2s;
}

.rs-m4-dropdown-options-panel li {
  padding: 10px 14px;
  font-size: 0.95rem;
   font-family: 'Playfair Display', Georgia, serif;
  color: #555555;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rs-m4-profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px;
}

.rs-m4-profile-img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.rs-m4-profile-img:hover {
    transform: scale(1.08);
}
/* List Item Hover Highlight */
.rs-m4-dropdown-options-panel li:hover {
  background-color: #f7f7f7;
  color: #000000;
  font-weight: 500;
}

/* --- Open State Modifiers (Via JS Toggle) --- */
.rs-m4-custom-dropdown.rs-m4-dropdown-open .rs-m4-dropdown-options-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rs-m4-custom-dropdown.rs-m4-dropdown-open .rs-m4-dropdown-trigger {
  border-bottom-color: #063430;
}

.rs-m4-custom-dropdown.rs-m4-dropdown-open .rs-m4-dropdown-trigger::after {
  transform: rotate(180deg); /* Arrow flips clean upside-down */
}

/* --- Right Nav Menus --- */
.rs-m4-main-nav-menu {
  display: flex;
  align-items: center;
  gap: 60px;
}

.rs-m4-menu-item {
  color: #000000;
  text-decoration: none;
  font-size: 1.15rem;
   font-family: 'Playfair Display', Georgia, serif;
  position: relative;
  padding: 5px 0;
}

/* Active Menu Dot Marker */
.rs-m4-menu-item.rs-m4-item-active::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #063430;
  border-radius: 50%;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* Special alignment override for Right Language Dropdown */
.rs-m4-lang-dropdown-wrapper .rs-m4-dropdown-trigger {
  border-bottom: none;
  padding: 0;
  padding-right: 15px;
  min-width: auto;
}
.rs-m4-lang-dropdown-wrapper .rs-m4-dropdown-trigger::after {
  bottom: 8px;
}

/* Far-right Search Circle */
.rs-m4-global-search-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #063430;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #063430;
  transition: all 0.2s ease;
}
.rs-m4-global-search-circle-btn:hover {
  background-color: #063430;
  color: #ffffff;
}

/* --- Hamburger Mobile Button --- */
.rs-m4-hamburger-trigger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}
.rs-m4-hamburger-trigger span {
  width: 100%;
  height: 2px;
  background-color: #063430;
  transition: all 0.3s ease;
}

/* --- Responsive Configurations --- */
@media (max-width: 1024px) {
  .rs-m4-hamburger-trigger {
    display: flex;
  }

  .rs-m4-navigation-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    margin-left: 0;
    padding: 30px;
    gap: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .rs-m4-navigation-container.rs-m4-menu-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .rs-m4-search-toolbar {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 20px;
  }
  
  .rs-m4-dropdown-trigger,
  .rs-m4-toolbar-input {
    width: 100%;
  }

  .rs-m4-main-nav-menu {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 20px;
  }

  .rs-m4-logo-img {
    height: 38px;
  }

  .rs-m4-menu-item.rs-m4-item-active::after {
    bottom: -4px;
  }

  /* Hamburger transformation to X shape */
  .rs-m4-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .rs-m4-hamburger-active span:nth-child(2) {
    opacity: 0;
  }
  .rs-m4-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* --- Optimized Inner Frame Container --- */
.rs-m4-header-inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* --- Navigation Panels Spacing Fix --- */
.rs-m4-navigation-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 40px;
  
  /* Horizontal overflow overflow safety line padding */
  min-width: 0; 
}

/* Search Toolbar gap correction */
.rs-m4-search-toolbar {
  display: flex;
  align-items: center;
  gap: 15px; /* Gap thoda kam kiya taaki container push na ho */
  flex-shrink: 0;
}

/* Main Navigation Menu spacing structure protection */
.rs-m4-main-nav-menu {
  display: flex;
  align-items: center;
  gap: 60px; /* Menu options gap adjust kiya display size k mutabik */
  flex-shrink: 0;
}

/* --- Responsive Media Viewport Breaks Configuration --- */
/* Agar dynamic size overlap crash ho raha ho toh desktop se mobile layout break boundary badha di hai */
@media (max-width: 1200px) {
  .rs-m4-hamburger-trigger {
    display: flex;
  }

  .rs-m4-navigation-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    margin-left: 0;
    padding: 30px;
    gap: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    
    /* State changes transition bounds safety layer */
  }
}


/* --- SEARCH ICON & CONTAINER (LEFT ALIGNED DROPDOWN) --- */
.ms-bt-search-wrapper-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ms-bt-header-search-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    color: currentColor;
    transition: background 0.2s;
    margin-right: 12px;
}

.ms-bt-header-search-icon-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* --- COMPACT DROPDOWN PANEL --- */
.ms-bt-search-dropdown-panel {
    position: absolute;
    top: 50px;
    left: 0;
    width: 1000px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-top: 3px solid #F7A707;
    padding: 50px 30px;
    font-family: "Poppins", sans-serif;
    color: #063430;
    z-index: 99999;
    display: none;
    box-sizing: border-box;
    max-height: 85vh;
    overflow-y: auto;
}

.ms-bt-search-dropdown-panel.ms-bt-open {
    display: block;
}

/* --- TOP ROW --- */
.ms-bt-search-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 8px;
}

.ms-bt-guest-title {
    font-size: 1.6rem;
    font-weight: 500;
}

.ms-bt-date-time-disp {
    font-size: 1.1rem;
    color: #555;
}

/* --- SECTION BLOCKS --- */
.ms-bt-section-block {
    margin-bottom: 110px;
}

.ms-bt-sub-heading {
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

/* --- KEYWORDS ROW --- */
.ms-bt-keyword-input-wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #F7A707;
    padding: 4px 0;
    max-width: 650px;
    margin: 0 auto;
}

.ms-bt-keyword-field {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 1.2rem;
    font-family: sans-serif;
    color: #333;
    background: transparent;
}

.ms-bt-keyword-field::placeholder {
    color: #F7A707;
}

.ms-bt-mic-icon {
    font-size: 1.2rem;
    color: #F7A707;
    margin: 0 10px;
    cursor: pointer;
}

.ms-bt-enter-action {
    color: #F7A707;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- FILTER COMPACT GRID (5 COLUMNS) --- */
.ms-bt-filter-compact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 60px 10px;
}

/* --- CUSTOM DROPDOWN COMPONENT STYLING --- */
.ms-bt-custom-dropdown {
    position: relative;
    border-bottom: 1px solid #d5d5d5;
    background: transparent;
    cursor: pointer;
}

.ms-bt-custom-dropdown:hover {
    border-bottom-color: #F7A707;
}

.ms-bt-custom-dropdown.ms-bt-active .ms-bt-dropdown-options-list {
    display: block;
}

.ms-bt-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 0.95rem;
    color: #F7A707;
    font-family: sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ms-bt-arrow {
    font-size: 0.65rem;
    color: #F7A707;
}

.ms-bt-dropdown-options-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #F7A707;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-height: 140px;
    overflow-y: auto;
}

.ms-bt-dropdown-options-list li {
    padding: 6px 10px;
    font-size: 0.78rem;
    font-family: sans-serif;
    color: #063430;
    border-bottom: 1px solid #f2f2f2;
}

.ms-bt-dropdown-options-list li:hover {
    background-color: #fcf8f0;
    color: #F7A707;
}

/* --- ACTION BUTTONS --- */
.ms-bt-action-buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

/* Link Wrapper ki Width Flex me equal rakhne ke liye */
.ms-bt-action-buttons-row a {
    text-decoration: none;
    display: inline-block;
    width: 200px; /* Saare buttons ki fix width */
}

.ms-bt-action-buttons-row button {
    width: 200px; /* Saare buttons ki fix width */
    height: 80px;  /* Fixed height teeno buttons ke liye */
    padding: 0 16px;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    transition: opacity 0.2s;
    
    /* Center alignment for text */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Link ke andar wale button ki width 100% rahegi */
.ms-bt-action-buttons-row a button {
    width: 100%;
}

.ms-bt-action-buttons-row button:hover {
    opacity: 0.85;
}

.ms-bt-btn-black {
    background-color: #063430;
    color: #fff;
    border: 1px solid #063430;
    outline: 1.5px solid #063430;
    outline-offset: 2px;
}

.ms-bt-btn-gold {
    background-color: #F7A707;
    color: #fff;
    border: 1px solid #F7A707;
    outline: 1.5px solid #F7A707;
    outline-offset: 2px;
}

.ms-bt-btn-grey {
    background-color: #999;
    color: #fff;
    border: 1px solid #999;
    outline: 1.5px solid #999;
    outline-offset: 2px;
}

/* --- RESULT PREVIEW --- */
.ms-bt-result-preview-box {
    display: none;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed #ccc;
    font-family: sans-serif;
}

.ms-bt-result-preview-box.ms-bt-show {
    display: block;
}

.ms-bt-preview-heading {
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
}

.ms-bt-preview-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.ms-bt-card-item {
    border: 1px solid #e5e5e5;
    padding: 8px 10px;
    border-radius: 3px;
    background: #fafafa;
}

.ms-bt-card-title {
    font-weight: bold;
    font-size: 0.82rem;
    color: #1a1a1a;
}

.ms-bt-card-sub {
    font-size: 0.73rem;
    color: #666;
}

.ms-bt-card-cost {
    font-size: 0.78rem;
    font-weight: bold;
    color: #F7A707;
    margin-top: 3px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
    .ms-bt-search-dropdown-panel {
        width: 92vw;
        left: -20px;
    }
    .ms-bt-filter-compact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .ms-bt-search-dropdown-panel {
        width: 90vw;
        left: -170px;
        padding: 15px 12px;
    }
    .ms-bt-filter-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-bt-action-buttons-row {
        flex-direction: column;
        width: 100%;
    }
    .ms-bt-action-buttons-row button {
        width: 100%;
    }
}

.ms-bt-mic-icon {
    width: 16px;          /* SVG ka width */
    height: 16px;         /* SVG ka height */
    margin: 0 10px;
    cursor: pointer;
    vertical-align: middle;
    object-fit: contain;
}



@media (min-width: 425px) {
   .ms-bt-guest-title {
    font-size: 1.1rem;
    font-weight: 500;
}
}