



/* menu-lines-li */
@media (max-width:921px){
  /* line under each top-level item */
  .ast-header-break-point .main-header-menu > li{
    border-bottom:1px solid #0D51AD;
    box-shadow:none; /* override Astra divider style */
  }
  /* opened item: no bottom line */
  .ast-header-break-point .main-header-menu > li.ast-submenu-expanded{
    border-bottom:0;
  }
  /* keep clarity: top line on the next item */
  .ast-header-break-point .main-header-menu > li.ast-submenu-expanded + li{
    border-top:1px solid #0D51AD;
  }
  /* submenus: no lines at all */
  .ast-header-break-point .main-header-menu .sub-menu li{
    border:0 !important;
    box-shadow:none !important;
  }
}

/* mobile: two equal toggle buttons side-by-side */
@media (max-width: 767.98px){
  /* put the two items on one row */
  ul li.list-view,
  ul li.map-view{
    display:inline-block;
    width:48%;
    margin:0 0 12px 0;     /* space below the pair */
    vertical-align:top;
  }

  /* make each link fill its half neatly */
  ul li.list-view a,
  ul li.map-view a{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:12px 0;        /* adjust for taller/shorter */
    text-align:center;
    background:#0D51AD;
    color:#fff;
    border:0;
  }

  /* keep Save Search full-width */
  a.propertyhive-save-search-button,
  a.button.propertyhive-save-search-button{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:15px 0;
    margin:12px 0 0;
    text-align:center;
  }
}

/* btn-24-mobile v2 */
@media (max-width: 767.98px){
  input[type="submit"][value="Search"],
  .button.propertyhive-save-search-button { font-size: 24px !important; }
}

/* save-btn-48-mobile */
@media (max-width: 767.98px){
  .button.propertyhive-save-search-button{
    display:inline-block;
    height:48px !important;
    line-height:48px !important; /* centers the text */
    padding:0 20px !important;   /* keep side padding */
    box-sizing:border-box;
  }
}



/* search-btn-center-48 */
@media (max-width: 767.98px){
  input[type="submit"][value="Search"]{
    display:inline-block;
    height:48px !important;
    line-height:48px !important;  /* vertical center */
    padding:0 20px !important;    /* keep side padding only */
    text-align:center;
    -webkit-appearance:none;      /* iOS consistency */
  }
}

/* sortby-48-mobile */
@media (max-width: 767.98px){
  select.orderby{
    font-size:24px !important;
    height:48px !important;
    line-height:48px !important;
    padding:0 14px !important;
    box-sizing:border-box;
  }
}






